stringList = new ArrayList<>();
+ MemorySegment stringPtr = stringArray.getAtIndex(ValueLayout.ADDRESS, i);
+
+ if (stringPtr != null && !stringPtr.equals(MemorySegment.NULL)) {
+ // Reinterpret the string pointer with proper scope for reading
+ // Use a large but safe size limit for string reading
+ MemorySegment boundedStringPtr =
+ stringPtr.reinterpret(4096, Arena.global(), null);
+ String str =
+ boundedStringPtr.getString(0, java.nio.charset.StandardCharsets.UTF_8);
+ stringList.add(str);
+ }
+ else {
+ stringList.add(""); // Empty string for null pointers
+ }
+ buf[i] = stringList;
+ }
+ }
+ }
+ else {
+ // For VL datatypes, use hvl_t structures
+ MemorySegment hvlArray = hvl_t.allocateArray(buf.length, arena);
+
+ // Call native H5Dread
+ status = org.hdfgroup.javahdf5.hdf5_h_1.H5Dread(dataset_id, mem_type_id, mem_space_id,
+ file_space_id, xfer_plist_id, hvlArray);
+
+ if (status >= 0) {
+ // Convert hvl_t data back to ArrayList array IMMEDIATELY while memory is valid
+ ArrayList[] result = VLDataConverter.convertFromHVL(hvlArray, buf.length, mem_type_id);
+
+ // Get dataspace for H5Treclaim
+ long space_id = org.hdfgroup.javahdf5.hdf5_h_1.H5Dget_space(dataset_id);
+
+ // Reclaim VL memory allocated by HDF5 only if VL data is detected (JNI pattern)
+ try {
+ if ((status >= 0) && vl_data_class) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Treclaim(
+ mem_type_id, space_id, org.hdfgroup.javahdf5.hdf5_h_1.H5P_DEFAULT(),
+ hvlArray);
+ }
+ }
+ catch (Exception reclaimEx) {
+ // Log but don't fail if reclaim has issues
+ System.err.println("Warning: H5Treclaim failed in H5DreadVL: " +
+ reclaimEx.getMessage());
+ }
+ finally {
+ if (space_id >= 0) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Sclose(space_id);
+ }
+ }
+
+ System.arraycopy(result, 0, buf, 0, buf.length);
+ }
+ else {
+ h5libraryError();
+ }
+ }
+ }
+ catch (HDF5JavaException ex) {
+ throw new HDF5LibraryException("VL data conversion failed: " + ex.getMessage());
+ }
+
+ return status;
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dread reads a (partial) dataset, specified by its identifier dataset_id, from the file into the
+ * application memory buffer of string.
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer of string to store data read from the file.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * data buffer is null.
+ **/
+ public static int H5Dread_string(long dataset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long xfer_plist_id, String[] buf)
+ throws HDF5LibraryException, NullPointerException
+ {
+ throw new HDF5LibraryException("H5Dread_string not implemented yet");
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dread reads a (partial) dataset, specified by its identifier dataset_id, from the file into the
+ * application memory buffer of variable-lenght strings.
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer of variable-lenght strings to store data read from the file.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * data buffer is null.
+ **/
+ public static int H5Dread_VLStrings(long dataset_id, long mem_type_id, long mem_space_id,
+ long file_space_id, long xfer_plist_id, Object[] buf)
+ throws HDF5LibraryException, NullPointerException
+ {
+ throw new HDF5LibraryException("H5Dread_VLStrings not implemented yet");
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dset_extent sets the current dimensions of the chunked dataset dset_id to the sizes specified in
+ * size.
+ *
+ * @param dset_id
+ * IN: Chunked dataset identifier.
+ * @param size
+ * IN: Array containing the new magnitude of each dimension of the dataset.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * size is null.
+ **/
+ public static void H5Dset_extent(long dset_id, long size[])
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (size == null) {
+ throw new NullPointerException("size is null");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment size_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, size);
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Dset_extent(dset_id, size_segment) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dvlen_get_buf_size determines the number of bytes required to store the VL data from the dataset,
+ * using the space_id for the selection in the dataset on disk and the type_id for the memory
+ * representation of the VL data in memory.
+ *
+ * @param dset_id
+ * IN: Identifier of the dataset read from.
+ * @param type_id
+ * IN: Identifier of the datatype.
+ * @param space_id
+ * IN: Identifier of the dataspace.
+ *
+ * @return the size in bytes of the memory buffer required to store the VL data.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Dvlen_get_buf_size(long dset_id, long type_id, long space_id)
+ throws HDF5LibraryException
+ {
+ long size = -1; // Default value for size
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a buffer for the size
+ MemorySegment sizeSegment = arena.allocate(ValueLayout.JAVA_LONG);
+ // Call the native method to get the buffer size for VL data
+ int status =
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Dvlen_get_buf_size(dset_id, type_id, space_id, sizeSegment);
+ if (status < 0) {
+ h5libraryError();
+ }
+ size = sizeSegment.get(ValueLayout.JAVA_LONG, 0);
+ }
+
+ return size;
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dvlen_reclaim reclaims buffer used for VL data.
+ *
+ * @param type_id
+ * Identifier of the datatype.
+ * @param space_id
+ * Identifier of the dataspace.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer with data to be reclaimed.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * buf is null.
+ *
+ * @deprecated As of HDF5 1.12.0 in favor of H5Treclaim
+ **/
+ @Deprecated
+ public static int H5Dvlen_reclaim(long type_id, long space_id, long xfer_plist_id, byte[] buf)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (buf == null) {
+ throw new NullPointerException("buf is null");
+ }
+ throw new HDF5LibraryException("H5Dvlen_reclaim not implemented as it is deprecated");
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dwrite writes a (partial) dataset, specified by its identifier dataset_id, from the application
+ * memory buffer into the file.
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer with data to be written to the file.
+ * @param isCriticalPinning
+ * request lock on data reference.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Dwrite(long dataset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long xfer_plist_id, byte[] buf, boolean isCriticalPinning)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (buf == null) {
+ throw new NullPointerException("buf is null");
+ }
+ int status = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment buf_segment = arena.allocate(ValueLayout.JAVA_BYTE, buf.length);
+ buf_segment.copyFrom(MemorySegment.ofArray(buf));
+ status = org.hdfgroup.javahdf5.hdf5_h_1.H5Dwrite(dataset_id, mem_type_id, mem_space_id,
+ file_space_id, xfer_plist_id, buf_segment);
+ if (status < 0) {
+ h5libraryError();
+ }
+ }
+ return status;
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dwrite writes a (partial) dataset, specified by its identifier dataset_id, from the application
+ * memory buffer into the file.
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer with data to be written to the file.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Dwrite(long dataset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long xfer_plist_id, byte[] buf)
+ throws HDF5LibraryException, NullPointerException
+ {
+ return H5Dwrite(dataset_id, mem_type_id, mem_space_id, file_space_id, xfer_plist_id, buf, true);
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dwrite writes a (partial) dataset, specified by its identifier dataset_id, from the application
+ * memory buffer into the file.
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param obj
+ * Buffer with data to be written to the file.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Dwrite(long dataset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long xfer_plist_id, Object obj)
+ throws HDF5Exception, HDF5LibraryException, NullPointerException
+ {
+ return H5Dwrite(dataset_id, mem_type_id, mem_space_id, file_space_id, xfer_plist_id, obj, true);
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dwrite writes a (partial) dataset, specified by its identifier dataset_id, from the application
+ * memory data object into the file.
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param obj
+ * Object with data to be written to the file.
+ * @param isCriticalPinning
+ * request lock on data reference.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5Exception
+ * Failure in the data conversion.
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * data object is null.
+ **/
+ public static int H5Dwrite(long dataset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long xfer_plist_id, Object obj, boolean isCriticalPinning)
+ throws HDF5Exception, HDF5LibraryException, NullPointerException
+ {
+ int status = -1;
+ boolean is1D = false;
+
+ Class dataClass = obj.getClass();
+ if (!dataClass.isArray()) {
+ throw new HDF5JavaException("data is not an array");
+ }
+
+ String cname = dataClass.getName();
+ is1D = (cname.lastIndexOf('[') == cname.indexOf('['));
+ char dname = cname.charAt(cname.lastIndexOf("[") + 1);
+
+ if (is1D && (dataClass.getComponentType() == String.class)) {
+ log.trace("H5Dwrite_string type - routing to H5Dwrite_VLStrings");
+ status = H5Dwrite_VLStrings(dataset_id, mem_type_id, mem_space_id, file_space_id, xfer_plist_id,
+ (String[])obj);
+ }
+ else if (H5.H5Tget_class(mem_type_id) == HDF5Constants.H5T_VLEN) {
+ log.trace("H5DwriteVL type - using H5DwriteVL directly");
+ status = H5DwriteVL(dataset_id, mem_type_id, mem_space_id, file_space_id, xfer_plist_id,
+ (Object[])obj);
+ }
+ else {
+ HDFArray theArray = new HDFArray(obj);
+ byte[] buf = theArray.byteify();
+
+ // will raise exception on error
+ status = H5Dwrite(dataset_id, mem_type_id, mem_space_id, file_space_id, xfer_plist_id, buf);
+
+ // clean up these: assign 'null' as hint to gc()
+ buf = null;
+ theArray = null;
+ }
+
+ return status;
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dwrite writes a (partial) dataset, specified by its identifier dataset_id, from the application
+ * memory buffer into the file.
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer of double with data to be written to the file.
+ * @param isCriticalPinning
+ * request lock on data reference.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Dwrite_double(long dataset_id, long mem_type_id, long mem_space_id,
+ long file_space_id, long xfer_plist_id, double[] buf,
+ boolean isCriticalPinning)
+ throws HDF5LibraryException, NullPointerException
+ {
+ throw new HDF5LibraryException("H5Dwrite_double not implemented yet");
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dwrite writes a (partial) dataset, specified by its identifier dataset_id, from the application
+ * memory buffer into the file.
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer of double with data to be written to the file.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Dwrite_double(long dataset_id, long mem_type_id, long mem_space_id,
+ long file_space_id, long xfer_plist_id, double[] buf)
+ throws HDF5LibraryException, NullPointerException
+ {
+ return H5Dwrite_double(dataset_id, mem_type_id, mem_space_id, file_space_id, xfer_plist_id, buf,
+ true);
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dwrite writes a (partial) dataset, specified by its identifier dataset_id, from the application
+ * memory buffer into the file.
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer of float with data to be written to the file.
+ * @param isCriticalPinning
+ * request lock on data reference.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Dwrite_float(long dataset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long xfer_plist_id, float[] buf, boolean isCriticalPinning)
+ throws HDF5LibraryException, NullPointerException
+ {
+ throw new HDF5LibraryException("H5Dwrite_float not implemented yet");
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dwrite writes a (partial) dataset, specified by its identifier dataset_id, from the application
+ * memory buffer into the file.
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer of float with data to be written to the file.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Dwrite_float(long dataset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long xfer_plist_id, float[] buf)
+ throws HDF5LibraryException, NullPointerException
+ {
+ return H5Dwrite_float(dataset_id, mem_type_id, mem_space_id, file_space_id, xfer_plist_id, buf, true);
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dwrite writes a (partial) dataset, specified by its identifier dataset_id, from the application
+ * memory buffer into the file.
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer of int with data to be written to the file.
+ * @param isCriticalPinning
+ * request lock on data reference.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Dwrite_int(long dataset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long xfer_plist_id, int[] buf, boolean isCriticalPinning)
+ throws HDF5LibraryException, NullPointerException
+ {
+ throw new HDF5LibraryException("H5Dwrite_int not implemented yet");
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dwrite writes a (partial) dataset, specified by its identifier dataset_id, from the application
+ * memory buffer into the file.
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer of int with data to be written to the file.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Dwrite_int(long dataset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long xfer_plist_id, int[] buf)
+ throws HDF5LibraryException, NullPointerException
+ {
+ return H5Dwrite_int(dataset_id, mem_type_id, mem_space_id, file_space_id, xfer_plist_id, buf, true);
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dwrite writes a (partial) dataset, specified by its identifier dataset_id, from the application
+ * memory buffer into the file.
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer of long with data to be written to the file.
+ * @param isCriticalPinning
+ * request lock on data reference.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Dwrite_long(long dataset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long xfer_plist_id, long[] buf, boolean isCriticalPinning)
+ throws HDF5LibraryException, NullPointerException
+ {
+ throw new HDF5LibraryException("H5Dwrite_long not implemented yet");
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dwrite writes a (partial) dataset, specified by its identifier dataset_id, from the application
+ * memory buffer into the file.
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer of long with data to be written to the file.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Dwrite_long(long dataset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long xfer_plist_id, long[] buf)
+ throws HDF5LibraryException, NullPointerException
+ {
+ return H5Dwrite_long(dataset_id, mem_type_id, mem_space_id, file_space_id, xfer_plist_id, buf, true);
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dwrite writes a (partial) dataset, specified by its identifier dataset_id, from the application
+ * memory buffer into the file.
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer of short with data to be written to the file.
+ * @param isCriticalPinning
+ * request lock on data reference.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Dwrite_short(long dataset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long xfer_plist_id, short[] buf, boolean isCriticalPinning)
+ throws HDF5LibraryException, NullPointerException
+ {
+ throw new HDF5LibraryException("H5Dwrite_short not implemented yet");
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dwrite writes a (partial) dataset, specified by its identifier dataset_id, from the application
+ * memory buffer into the file.
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer of short with data to be written to the file.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Dwrite_short(long dataset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long xfer_plist_id, short[] buf)
+ throws HDF5LibraryException, NullPointerException
+ {
+ return H5Dwrite_short(dataset_id, mem_type_id, mem_space_id, file_space_id, xfer_plist_id, buf, true);
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dwrite writes a (partial) dataset, specified by its identifier dataset_id, from the application
+ * memory buffer into the file.
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer of string with data to be written to the file.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Dwrite_string(long dataset_id, long mem_type_id, long mem_space_id,
+ long file_space_id, long xfer_plist_id, String[] buf)
+ throws HDF5LibraryException, NullPointerException
+ {
+ throw new HDF5LibraryException("H5Dwrite_string not implemented yet");
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dwrite writes a (partial) dataset, specified by its identifier dataset_id, from the application
+ * memory buffer into the file.
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer of variable-length with data to be written to the file.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5DwriteVL(long dataset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long xfer_plist_id, Object[] buf)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (buf == null) {
+ throw new NullPointerException("data buffer is null");
+ }
+
+ int status = -1;
+ boolean vl_data_class = false;
+ // CRITICAL FIX: Use global Arena to prevent automatic cleanup conflicts with HDF5 VL memory
+ Arena arena = Arena.global();
+ MemorySegment hvlArray = null;
+ MemorySegment arrayBuffer = null;
+ MemorySegment stringArray = null;
+
+ try {
+ // Detect VL data to determine if H5Treclaim is needed (JNI pattern)
+ vl_data_class = detectVLData(mem_type_id);
+
+ ArrayList[] arrayData = (ArrayList[])buf;
+
+ // Check the datatype class to determine conversion strategy
+ int typeClass = H5Tget_class(mem_type_id);
+
+ if (typeClass == HDF5Constants.H5T_COMPOUND) {
+ // For compound datatypes, convert ArrayList array to packed compound structures
+ arrayBuffer = VLDataConverter.convertCompoundDatatype(arrayData, mem_type_id, arena);
+ status = org.hdfgroup.javahdf5.hdf5_h_1.H5Dwrite(dataset_id, mem_type_id, mem_space_id,
+ file_space_id, xfer_plist_id, arrayBuffer);
+ }
+ else if (typeClass == HDF5Constants.H5T_ARRAY) {
+ // For array datatypes, convert to packed array elements (not hvl_t)
+ arrayBuffer = VLDataConverter.convertArrayDatatype(arrayData, mem_type_id, arena);
+ status = org.hdfgroup.javahdf5.hdf5_h_1.H5Dwrite(dataset_id, mem_type_id, mem_space_id,
+ file_space_id, xfer_plist_id, arrayBuffer);
+ }
+ else if (typeClass == HDF5Constants.H5T_STRING && H5Tis_variable_str(mem_type_id)) {
+ // For variable-length string datatypes, convert to string pointers
+ stringArray = VLDataConverter.convertVLStrings(arrayData, arena);
+ status = org.hdfgroup.javahdf5.hdf5_h_1.H5Dwrite(dataset_id, mem_type_id, mem_space_id,
+ file_space_id, xfer_plist_id, stringArray);
+ }
+ else {
+ // For VL datatypes, convert to hvl_t structures
+ hvlArray = VLDataConverter.convertToHVL(arrayData, arena);
+ status = org.hdfgroup.javahdf5.hdf5_h_1.H5Dwrite(dataset_id, mem_type_id, mem_space_id,
+ file_space_id, xfer_plist_id, hvlArray);
+ }
+
+ if (status < 0) {
+ h5libraryError();
+ }
+ }
+ catch (HDF5JavaException ex) {
+ throw new HDF5LibraryException("VL data conversion failed: " + ex.getMessage());
+ }
+ catch (ClassCastException ex) {
+ throw new HDF5LibraryException("Input data must be ArrayList array or String array: " +
+ ex.getMessage());
+ }
+ finally {
+ // CRITICAL: Reclaim VL memory after write (JNI pattern)
+ // This allows HDF5 to properly free any VL memory it allocated during the write
+ if ((status >= 0) && vl_data_class && hvlArray != null) {
+ long space_for_reclaim = mem_space_id;
+ try {
+ // If mem_space_id is H5S_ALL, we need to get the actual dataspace
+ if (mem_space_id == HDF5Constants.H5S_ALL) {
+ space_for_reclaim = org.hdfgroup.javahdf5.hdf5_h_1.H5Dget_space(dataset_id);
+ }
+
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Treclaim(mem_type_id, space_for_reclaim,
+ org.hdfgroup.javahdf5.hdf5_h_1.H5P_DEFAULT(),
+ hvlArray);
+ }
+ catch (Exception reclaimEx) {
+ // Log but don't fail if reclaim has issues
+ System.err.println("Warning: H5Treclaim failed in H5DwriteVL: " + reclaimEx.getMessage());
+ }
+ finally {
+ // Close the space if we opened it
+ if (space_for_reclaim != mem_space_id && space_for_reclaim >= 0) {
+ try {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Sclose(space_for_reclaim);
+ }
+ catch (Exception closeEx) {
+ // Ignore close errors
+ }
+ }
+ }
+ }
+ }
+
+ return status;
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dwrite_VLStrings writes a (partial) variable length String dataset, specified by its identifier
+ * dataset_id, from the application memory buffer buf into the file.
+ *
+ * ---- contributed by Rosetta Biosoftware
+ *
+ * @param dataset_id
+ * Identifier of the dataset read from.
+ * @param mem_type_id
+ * Identifier of the memory datatype.
+ * @param mem_space_id
+ * Identifier of the memory dataspace.
+ * @param file_space_id
+ * Identifier of the dataset's dataspace in the file.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer with data to be written to the file.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+
+ public static int H5Dwrite_VLStrings(long dataset_id, long mem_type_id, long mem_space_id,
+ long file_space_id, long xfer_plist_id, Object[] buf)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (buf == null) {
+ throw new NullPointerException("data buffer is null");
+ }
+
+ int status = -1;
+ // CRITICAL FIX: Use global Arena to prevent automatic cleanup conflicts with HDF5 VL memory
+ Arena arena = Arena.global();
+
+ try {
+ // Convert String array to VL format for HDF5
+ String[] stringArray = (String[])buf;
+ ArrayList[] vlStringArray = new ArrayList[stringArray.length];
+ for (int i = 0; i < stringArray.length; i++) {
+ vlStringArray[i] = new ArrayList<>();
+ vlStringArray[i].add(stringArray[i]);
+ }
+
+ // Use VLDataConverter to convert VL strings to hvl_t
+ MemorySegment hvlArray = VLDataConverter.convertToHVL(vlStringArray, arena);
+ status = org.hdfgroup.javahdf5.hdf5_h_1.H5Dwrite(dataset_id, mem_type_id, mem_space_id,
+ file_space_id, xfer_plist_id, hvlArray);
+
+ if (status < 0) {
+ h5libraryError();
+ }
+ }
+ catch (HDF5JavaException ex) {
+ throw new HDF5LibraryException("VL string conversion failed: " + ex.getMessage());
+ }
+
+ return status;
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Dflush causes all buffers associated with a dataset to be immediately flushed to disk without
+ * removing the data from the cache.
+ *
+ * @param dataset_id
+ * IN: Identifier of the dataset to be flushed.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Dflush(long dataset_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Dflush(dataset_id) < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5D
+ *
+ * H5Drefresh causes all buffers associated with a dataset to be cleared and immediately re-loaded with
+ * updated contents from disk. This function essentially closes the dataset, evicts all metadata
+ * associated with it from the cache, and then re-opens the dataset. The reopened dataset is automatically
+ * re-registered with the same ID.
+ *
+ * @param dataset_id
+ * IN: Identifier of the dataset to be refreshed.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Drefresh(long dataset_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Drefresh(dataset_id) < 0) {
+ h5libraryError();
+ }
+ }
+
+ // /////// unimplemented ////////
+ // herr_t H5Ddebug(hid_t dset_id);
+ // herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes);
+ // herr_t H5Dformat_convert(hid_t dset_id);
+ // herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type);
+
+ // herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id,
+ // size_t dst_buf_size, void *dst_buf, H5D_gather_func_t op, void *op_data);
+ // herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ // *dst_buf);
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5E: Error Stack //
+ // //
+ // ////////////////////////////////////////////////////////////
+ /**
+ *
+ * @defgroup JH5E Java Error (H5E) Interface
+ *
+ * @see H5E, C-API
+ *
+ * @see @ref H5E_UG, User Guide
+ */
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Eauto_is_v2 determines whether the error auto reporting function for an error stack conforms to the
+ * H5E_auto2_t typedef or the H5E_auto1_t typedef.
+ *
+ * @param stack_id
+ * IN: Error stack identifier.
+ *
+ * @return boolean true if the error stack conforms to H5E_auto2_t and false if it conforms to
+ * H5E_auto1_t.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5Eauto_is_v2(long stack_id) throws HDF5LibraryException
+ {
+ boolean isV2 = false;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate MemorySegment for the int
+ MemorySegment int_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ // Call the native method to check the error stack type
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Eauto_is_v2(stack_id, int_segment) < 0) {
+ h5libraryError();
+ }
+ // Read the result from the MemorySegment
+ isV2 = int_segment.get(ValueLayout.JAVA_INT, 0) != 0;
+ }
+ return isV2;
+ }
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Eclear clears the error stack for the current thread. H5Eclear can fail if there are problems
+ * initializing the library. This may be used by exception handlers to assure that the error condition
+ * in the HDF5 library has been reset.
+ *
+ * @return Returns a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Eclear() throws HDF5LibraryException
+ {
+ H5Eclear2(HDF5Constants.H5E_DEFAULT);
+ return 0;
+ }
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Eclear clears the error stack specified by estack_id, or, if estack_id is set to H5E_DEFAULT, the
+ * error stack for the current thread.
+ *
+ * @param stack_id
+ * IN: Error stack identifier.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Eclear(long stack_id) throws HDF5LibraryException { H5Eclear2(stack_id); }
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Eclear2 clears the error stack specified by estack_id, or, if estack_id is set to H5E_DEFAULT, the
+ * error stack for the current thread.
+ *
+ * @param stack_id
+ * IN: Error stack identifier.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Eclear2(long stack_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Eclear2(stack_id) < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Eclose_msg closes an error message identifier, which can be either a major or minor message.
+ *
+ * @param err_id
+ * IN: Error message identifier.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Eclose_msg(long err_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Eclose_msg(err_id) < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Eclose_stack closes the object handle for an error stack and releases its resources.
+ *
+ * @param stack_id
+ * IN: Error stack identifier.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Eclose_stack(long stack_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Eclose_stack(stack_id) < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Ecreate_msg adds an error message to an error class defined by client library or application program.
+ *
+ * @param cls_id
+ * IN: Error class identifier.
+ * @param msg_type
+ * IN: The type of the error message.
+ * @param msg
+ * IN: The error message.
+ *
+ * @return a message identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * msg is null.
+ **/
+ public static long H5Ecreate_msg(long cls_id, int msg_type, String msg)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (msg == null) {
+ throw new NullPointerException("msg must not be null");
+ }
+ long msg_id = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate MemorySegment for the msg
+ MemorySegment msg_segment = arena.allocateFrom(msg);
+ msg_id = org.hdfgroup.javahdf5.hdf5_h_1.H5Ecreate_msg(cls_id, msg_type, msg_segment);
+ if (msg_id < 0)
+ h5libraryError();
+ }
+ return msg_id;
+ }
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Ecreate_stack creates a new empty error stack and returns the new stack's identifier.
+ *
+ * @return an error stack identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Ecreate_stack() throws HDF5LibraryException
+ {
+ long stack_id = org.hdfgroup.javahdf5.hdf5_h_1.H5Ecreate_stack();
+ if (stack_id < 0) {
+ h5libraryError();
+ }
+ return stack_id;
+ }
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Eget_class_name retrieves the name of the error class specified by the class identifier.
+ *
+ * @param class_id
+ * IN: Error class identifier.
+ *
+ * @return the name of the error class
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static String H5Eget_class_name(long class_id) throws HDF5LibraryException
+ {
+ String className = null;
+ long buf_size = -1;
+ if ((buf_size = org.hdfgroup.javahdf5.hdf5_h_1.H5Eget_class_name(class_id, MemorySegment.NULL, 0)) <
+ 0)
+ h5libraryError();
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocate(buf_size + 1);
+ // Call the native method to get the error class name
+ if ((buf_size = org.hdfgroup.javahdf5.hdf5_h_1.H5Eget_class_name(class_id, name_segment,
+ buf_size + 1)) < 0)
+ h5libraryError();
+ className = name_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return className;
+ }
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Eget_current_stack copies the current error stack and returns an error stack identifier for the new
+ * copy.
+ *
+ * @return an error stack identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Eget_current_stack() throws HDF5LibraryException
+ {
+ long stack_id = org.hdfgroup.javahdf5.hdf5_h_1.H5Eget_current_stack();
+ if (stack_id < 0) {
+ h5libraryError();
+ }
+ return stack_id;
+ }
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Eset_current_stack replaces the content of the current error stack with a copy of the content of the
+ * error stack specified by estack_id.
+ *
+ * @param stack_id
+ * IN: Error stack identifier.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Eset_current_stack(long stack_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Eset_current_stack(stack_id) < 0)
+ h5libraryError();
+ }
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Eget_msg retrieves the error message including its length and type.
+ *
+ * @param msg_id
+ * IN: Name of the error class.
+ * @param type_list
+ * OUT: The type of the error message. Valid values are H5E_MAJOR and H5E_MINOR.
+ *
+ * @return the error message
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * type_list is null or not of length 1.
+ **/
+ public static String H5Eget_msg(long msg_id, int[] type_list)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (type_list == null || type_list.length != 1) {
+ throw new NullPointerException("type_list must be a non-null array of length 1");
+ }
+ String msg = null;
+ long buf_size = -1;
+ if ((buf_size = org.hdfgroup.javahdf5.hdf5_h_1.H5Eget_msg(msg_id, MemorySegment.NULL,
+ MemorySegment.NULL, 0L)) < 0) {
+ h5libraryError();
+ }
+ else if (buf_size > 0) {
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment msg_segment = arena.allocate(buf_size + 1);
+ MemorySegment type_list_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ // Call the native method to get the error message
+ if ((buf_size = org.hdfgroup.javahdf5.hdf5_h_1.H5Eget_msg(msg_id, type_list_segment,
+ msg_segment, buf_size + 1)) < 0)
+ h5libraryError();
+ msg = msg_segment.getString(0);
+ type_list[0] = type_list_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ }
+
+ return msg;
+ }
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Eget_num retrieves the number of error records in the error stack specified by estack_id (including
+ * major, minor messages and description).
+ *
+ * @param stack_id
+ * IN: Error stack identifier.
+ *
+ * @return the number of error messages
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Eget_num(long stack_id) throws HDF5LibraryException, NullPointerException
+ {
+ long num = org.hdfgroup.javahdf5.hdf5_h_1.H5Eget_num(stack_id);
+ if (num < 0) {
+ h5libraryError();
+ }
+ return num;
+ }
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Eprint2 prints the error stack specified by estack_id on the specified stream, stream.
+ *
+ * @param stack_id
+ * IN: Error stack identifier.If the identifier is H5E_DEFAULT, the current error stack will be
+ * printed.
+ * @param stream
+ * IN: File pointer, or stderr if null.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Eprint2(long stack_id, Object stream) throws HDF5LibraryException
+ {
+ if (stream != null) {
+ throw new HDF5FunctionArgumentException("Print error stack to file not implemented");
+ }
+ if (stack_id < 0)
+ throw new HDF5FunctionArgumentException("Invalid error stack identifier: " + stack_id);
+ // TODO need to add FILE* stream parameter handling
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Eprint2(stack_id, MemorySegment.NULL);
+ }
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Epop deletes the number of error records specified in count from the top of the error stack specified
+ * by estack_id (including major, minor messages and description).
+ *
+ * @param stack_id
+ * IN: Error stack identifier.
+ * @param count
+ * IN: Version of the client library or application to which the error class belongs.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Epop(long stack_id, long count) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Epop(stack_id, count) < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Epush pushes a new error record onto the error stack specified by estack_id.
+ *
+ * @param stack_id
+ * IN: Error stack identifier.
+ * @param file
+ * IN: Name of the file in which the error was detected.
+ * @param func
+ * IN: Name of the function in which the error was detected.
+ * @param line
+ * IN: Line number within the file at which the error was detected.
+ * @param cls_id
+ * IN: Error class identifier.
+ * @param maj_id
+ * IN: Major error identifier.
+ * @param min_id
+ * IN: Minor error identifier.
+ * @param msg
+ * IN: Error description string.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * file, func, or msg is null.
+ **/
+ public static void H5Epush(long stack_id, String file, String func, int line, long cls_id, long maj_id,
+ long min_id, String msg) throws HDF5LibraryException, NullPointerException
+ {
+ H5Epush2(stack_id, file, func, line, cls_id, maj_id, min_id, msg);
+ }
+ /**
+ * @ingroup JH5E
+ *
+ * H5Epush2 pushes a new error record onto the error stack specified by estack_id.
+ *
+ * @param stack_id
+ * IN: Error stack identifier.
+ * @param file
+ * IN: Name of the file in which the error was detected.
+ * @param func
+ * IN: Name of the function in which the error was detected.
+ * @param line
+ * IN: Line number within the file at which the error was detected.
+ * @param cls_id
+ * IN: Error class identifier.
+ * @param maj_id
+ * IN: Major error identifier.
+ * @param min_id
+ * IN: Minor error identifier.
+ * @param msg
+ * IN: Error description string.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * file, func, or msg is null.
+ **/
+ public static void H5Epush2(long stack_id, String file, String func, int line, long cls_id, long maj_id,
+ long min_id, String msg) throws HDF5LibraryException, NullPointerException
+ {
+ if (file == null || func == null || msg == null) {
+ throw new NullPointerException("file, func, or msg is null");
+ }
+ if (stack_id < 0)
+ throw new HDF5FunctionArgumentException("Invalid error stack identifier: " + stack_id);
+ if (cls_id < 0)
+ throw new HDF5FunctionArgumentException("Invalid error class identifier: " + cls_id);
+ if (maj_id < 0)
+ throw new HDF5FunctionArgumentException("Invalid major error identifier: " + maj_id);
+ if (min_id < 0)
+ throw new HDF5FunctionArgumentException("Invalid minor error identifier: " + min_id);
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate MemorySegments to hold the string bytes
+ MemorySegment file_segment = arena.allocateFrom(file);
+ MemorySegment func_segment = arena.allocateFrom(func);
+ MemorySegment msg_segment = arena.allocateFrom(msg);
+
+ // Create a variadic invoker with no additional arguments
+ // The message string is treated as a format string with no format arguments
+ var invoker = org.hdfgroup.javahdf5.hdf5_h_1.H5Epush2.makeInvoker();
+
+ // Call the native method with empty variadic args
+ if ((retVal = invoker.apply(stack_id, file_segment, func_segment, line, cls_id, maj_id, min_id,
+ msg_segment)) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Eregister_class registers a client library or application program to the HDF5 error API so that the
+ * client library or application program can report errors together with HDF5 library.
+ *
+ * @param cls_name
+ * IN: Name of the error class.
+ * @param lib_name
+ * IN: Name of the client library or application to which the error class belongs.
+ * @param version
+ * IN: Version of the client library or application to which the error class belongs.
+ *
+ * @return a class identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static long H5Eregister_class(String cls_name, String lib_name, String version)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (cls_name == null || lib_name == null || version == null) {
+ throw new NullPointerException("cls_name, lib_name, or version is null");
+ }
+
+ long class_id = H5I_INVALID_HID();
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(cls_name);
+ MemorySegment lib_segment = arena.allocateFrom(lib_name);
+ MemorySegment version_segment = arena.allocateFrom(version);
+ // Call the native method to register the error class
+ class_id =
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Eregister_class(name_segment, lib_segment, version_segment);
+ if (class_id < 0) {
+ h5libraryError();
+ }
+ }
+ return class_id;
+ }
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Eunregister_class removes the error class specified by class_id.
+ *
+ * @param class_id
+ * IN: Error class identifier.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Eunregister_class(long class_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Eunregister_class(class_id) < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5E
+ *
+ * H5Ewalk walks the error stack specified by estack_id for the current thread and calls the
+ * function specified in func for each error along the way.
+ *
+ * @param stack_id
+ * IN: Error stack identifier.
+ * @param direction
+ * IN: Direction in which the error stack is to be walked.
+ * @param func
+ * IN: Function to be called for each error encountered.
+ * @param client_data
+ * IN: Data to be passed with func.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * func is null.
+ **/
+ public static void H5Ewalk(long stack_id, long direction, hdf.hdf5lib.callbacks.H5E_walk_cb func,
+ hdf.hdf5lib.callbacks.H5E_walk_t client_data)
+ throws HDF5LibraryException, NullPointerException
+ {
+ H5Ewalk2(stack_id, direction, func, client_data);
+ }
+ /**
+ * @ingroup JH5E
+ *
+ * H5Ewalk2 walks the error stack specified by estack_id for the current thread and calls the
+ * function specified in func for each error along the way.
+ *
+ * @param stack_id
+ * IN: Error stack identifier.
+ * @param direction
+ * IN: Direction in which the error stack is to be walked.
+ * @param func
+ * IN: Function to be called for each error encountered.
+ * @param client_data
+ * IN: Data to be passed with func.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * func is null.
+ **/
+ public static void H5Ewalk2(long stack_id, long direction, hdf.hdf5lib.callbacks.H5E_walk_cb func,
+ hdf.hdf5lib.callbacks.H5E_walk_t client_data)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (func == null) {
+ throw new NullPointerException("func must not be null");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment func_segment = H5E_walk2_t.allocate(func, arena);
+ MemorySegment client_data_segment =
+ Linker.nativeLinker().upcallStub(H5Ewalk2$handle(), H5Ewalk2$descriptor(), arena);
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Ewalk2(stack_id, (int)direction, func_segment,
+ client_data_segment) < 0)
+ h5libraryError();
+ }
+ }
+
+ // /////// unimplemented ////////
+ // public interface H5E_auto2_t extends Callback
+ // {
+ // int callback(int estack, Pointer client_data);
+ // }
+
+ // int H5Eget_auto(long estack_id, H5E_auto2_t func, PointerByReference client_data);
+ // {
+ // return H5Eget_auto2(estack_id, func, client_data);
+ // }
+ // int H5Eget_auto2(long estack_id, H5E_auto2_t func, PointerByReference client_data);
+
+ // int H5Eset_auto(long estack_id, H5E_auto2_t func, Pointer client_data);
+ // {
+ // return H5Eset_auto2(estack_id, func, client_data);
+ // }
+ // int H5Eset_auto2(long estack_id, H5E_auto2_t func, Pointer client_data);
+
+ // public static void H5Epush(long err_stack, String file, String func, int line,
+ // long cls_id, long maj_id, long min_id, String msg, ...)
+ // {
+ // H5Epush2(err_stack, file, func, line, cls_id, maj_id, min_id, msg, ...);
+ // }
+ // public static void H5Epush2(long err_stack, String file, String func, int line,
+ // long cls_id, long maj_id, long min_id, String msg, ...);
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5ES: Event Set Interface Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+ /**
+ *
+ * @defgroup JH5ES Java Event Set (H5ES) Interface
+ *
+ * @see H5ES, C-API
+ *
+ * @see @ref H5ES_UG, User Guide
+ */
+
+ // /////// unimplemented ////////
+ // H5_DLL hid_t H5EScreate(void);
+ // H5_DLL herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, hbool_t *err_occurred);
+ // H5_DLL herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, hbool_t *err_occurred);
+ // H5_DLL herr_t H5ESget_count(hid_t es_id, size_t *count);
+ // H5_DLL herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter);
+ // H5_DLL herr_t H5ESget_err_status(hid_t es_id, hbool_t *err_occurred);
+ // H5_DLL herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs);
+ // H5_DLL herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[],
+ // size_t *err_cleared);
+ // H5_DLL herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[]);
+ // H5_DLL herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx);
+ // H5_DLL herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx);
+ // H5_DLL herr_t H5ESclose(hid_t es_id);
+ //
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5F: File Interface Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+ /**
+ *
+ * @defgroup JH5F Java File (H5F) Interface
+ *
+ * @see H5F, C-API
+ *
+ * @see @ref H5F_UG, User Guide
+ */
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fclose terminates access to an HDF5 file.
+ *
+ * @param file_id
+ * Identifier of a file to terminate access to.
+ *
+ * @return a non-negative value if successful
+ **/
+ public static int H5Fclose(long file_id)
+ {
+ log.trace("OPEN_IDS: H5Fclose remove {}", file_id);
+ OPEN_IDS.remove(file_id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Fclose(file_id);
+ if (retVal < 0)
+ retVal = 0;
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fopen opens an existing file and is the primary function for accessing existing HDF5 files.
+ *
+ * @param name
+ * Name of the file to access.
+ * @param flags
+ * File access flags.
+ * @param access_id
+ * Identifier for the file access properties list.
+ *
+ * @return a file identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static long H5Fopen(String name, int flags, long access_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+
+ long id = H5I_INVALID_HID();
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(name);
+ id = org.hdfgroup.javahdf5.hdf5_h_1.H5Fopen(name_segment, flags, access_id);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Fopen add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Freopen reopens an HDF5 file.
+ *
+ * @param file_id
+ * Identifier of a file to terminate and reopen access to.
+ *
+ * @return a new file identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Freopen(long file_id) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h_1.H5Freopen(file_id);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Freopen add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fcreate is the primary function for creating HDF5 files.
+ *
+ * @param name
+ * Name of the file to access.
+ * @param flags
+ * File access flags. Possible values include:
+ *
+ *
+ * @ref H5F_ACC_RDWR Allow read and write access to file.
+ *
+ * @ref H5F_ACC_RDONLY Allow read-only access to file.
+ *
+ * @ref H5F_ACC_TRUNC Truncate file, if it already exists, erasing all data previously stored
+ * in the file.
+ *
+ * @ref H5F_ACC_EXCL Fail if file already exists.
+ *
+ * @ref H5P_DEFAULT Apply default file access and creation properties.
+ *
+ *
+ * @param create_id
+ * File creation property list identifier, used when modifying default file meta-data. Use
+ * H5P_DEFAULT for default access properties.
+ * @param access_id
+ * File access property list identifier. If parallel file access is desired, this is a
+ * collective call according to the communicator stored in the access_id (not supported
+ * in Java). Use H5P_DEFAULT for default access properties.
+ *
+ * @return a file identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static long H5Fcreate(String name, int flags, long create_id, long access_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+
+ long id = H5I_INVALID_HID();
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(name);
+ id = org.hdfgroup.javahdf5.hdf5_h_1.H5Fcreate(name_segment, flags, create_id, access_id);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Fcreate add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fflush causes all buffers associated with a file or object to be immediately flushed (written) to
+ * disk without removing the data from the (memory) cache. After this call completes, the file (or
+ * object) is in a consistent state and all data written to date is assured to be permanent.
+ *
+ * @param object_id
+ * Identifier of object used to identify the file. object_id can be any object
+ * associated with the file, including the file itself, a dataset, a group, an attribute,
+ * or a named data type.
+ * @param scope
+ * specifies the scope of the flushing action, in the case that the HDF5 file is not a single
+ * physical file.
+ *
Valid values are:
+ *
+ * H5F_SCOPE_GLOBAL Flushes the entire virtual file.
+ * H5F_SCOPE_LOCAL Flushes only the specified file.
+ *
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Fflush(long object_id, int scope) throws HDF5LibraryException
+ {
+ int ret = org.hdfgroup.javahdf5.hdf5_h_1.H5Fflush(object_id, scope);
+ if (ret < 0) {
+ h5libraryError();
+ }
+ return ret;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fget_access_plist returns the file access property list identifier of the specified file.
+ *
+ * @param file_id
+ * Identifier of file to get access property list of
+ *
+ * @return a file access property list identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Fget_access_plist(long file_id) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h_1.H5Fget_access_plist(file_id);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Fget_access_plist add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fget_create_plist returns a file creation property list identifier identifying the creation
+ * properties used to create this file.
+ *
+ * @param file_id
+ * Identifier of the file to get creation property list
+ *
+ * @return a file creation property list identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Fget_create_plist(long file_id) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h_1.H5Fget_create_plist(file_id);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Fget_create_plist add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fget_filesize retrieves the file size of the HDF5 file. This function
+ * is called after an existing file is opened in order
+ * to learn the true size of the underlying file.
+ *
+ * @param file_id
+ * IN: File identifier for a currently-open HDF5 file
+ *
+ * @return the file size of the HDF5 file
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Fget_filesize(long file_id) throws HDF5LibraryException
+ {
+ long filesize = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a buffer for the size
+ MemorySegment sizeSegment = arena.allocate(ValueLayout.JAVA_LONG);
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Fget_filesize(file_id, sizeSegment) < 0) {
+ h5libraryError();
+ }
+ filesize = sizeSegment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return filesize;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fget_freespace returns the amount of space that is unused by any objects in the file.
+ *
+ * @param file_id
+ * IN: File identifier for a currently-open HDF5 file
+ *
+ * @return the amount of free space in the file
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Fget_freespace(long file_id) throws HDF5LibraryException
+ {
+ long freespace = org.hdfgroup.javahdf5.hdf5_h_1.H5Fget_freespace(file_id);
+ if (freespace < 0) {
+ h5libraryError();
+ }
+ return freespace;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fget_intent retrieves the intended access mode flag passed with H5Fopen when the file was opened.
+ *
+ * @param file_id
+ * IN: File identifier for a currently-open HDF5 file
+ *
+ * @return the intended access mode flag, as originally passed with H5Fopen.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Fget_intent(long file_id) throws HDF5LibraryException
+ {
+ int intent = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the intent value
+ MemorySegment intentSegment = arena.allocate(ValueLayout.JAVA_INT);
+ // Call the native method to get the intent
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Fget_intent(file_id, intentSegment) < 0) {
+ h5libraryError();
+ }
+ intent = intentSegment.get(ValueLayout.JAVA_INT, 0);
+ }
+
+ return intent;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fget_fileno retrieves the "file number" for an open file.
+ *
+ * @param file_id
+ * IN: File identifier for a currently-open HDF5 file
+ *
+ * @return the unique file number for the file.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Fget_fileno(long file_id) throws HDF5LibraryException
+ {
+ long fileno = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a buffer for the size
+ MemorySegment filenoSegment = arena.allocate(ValueLayout.JAVA_LONG);
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Fget_fileno(file_id, filenoSegment) < 0) {
+ h5libraryError();
+ }
+ fileno = filenoSegment.get(ValueLayout.JAVA_LONG, 0);
+ }
+
+ return fileno;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fget_mdc_hit_rate queries the metadata cache of the target file to obtain its hit rate (cache hits /
+ * (cache hits + cache misses)) since the last time hit rate statistics were reset.
+ *
+ * @param file_id
+ * IN: Identifier of the target file.
+ *
+ * @return the double in which the hit rate is returned.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static double H5Fget_mdc_hit_rate(long file_id) throws HDF5LibraryException
+ {
+ double hit_rate;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a buffer for the size
+ MemorySegment hit_rateSegment = arena.allocate(ValueLayout.JAVA_DOUBLE);
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Fget_mdc_hit_rate(file_id, hit_rateSegment) < 0) {
+ h5libraryError();
+ }
+ hit_rate = hit_rateSegment.get(ValueLayout.JAVA_DOUBLE, 0);
+ }
+
+ return hit_rate;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fget_mdc_size queries the metadata cache of the target file for the desired size information.
+ *
+ * @param file_id
+ * IN: Identifier of the target file.
+ * @param metadata_cache
+ * OUT: Current metadata cache information
+ *
+ * metadata_cache[0] = max_size_ptr // current cache maximum size
+ * metadata_cache[1] = min_clean_size_ptr // current cache minimum clean size
+ * metadata_cache[2] = cur_size_ptr // current cache size
+ *
+ *
+ * @return current number of entries in the cache
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * metadata_cache is null.
+ **/
+ public static int H5Fget_mdc_size(long file_id, long[] metadata_cache)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (metadata_cache == null) {
+ throw new NullPointerException("metadata_cache is null");
+ }
+ if (metadata_cache.length < 3) {
+ throw new HDF5FunctionArgumentException("metadata_cache must have at least 3 elements");
+ }
+ int retVal = -1;
+
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the array bytes
+ MemorySegment max_size_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, metadata_cache[0]);
+ MemorySegment min_clean_size_segment =
+ arena.allocateFrom(ValueLayout.JAVA_LONG, metadata_cache[1]);
+ MemorySegment cur_size_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, metadata_cache[2]);
+ MemorySegment cur_num_entries_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Fget_mdc_size(file_id, max_size_segment,
+ min_clean_size_segment, cur_size_segment,
+ cur_num_entries_segment) < 0)
+ h5libraryError();
+
+ // Set the version numbers
+ metadata_cache[0] = max_size_segment.get(ValueLayout.JAVA_LONG, 0);
+ metadata_cache[1] = min_clean_size_segment.get(ValueLayout.JAVA_LONG, 0);
+ metadata_cache[2] = cur_size_segment.get(ValueLayout.JAVA_LONG, 0);
+ retVal = cur_num_entries_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fget_name retrieves the name of the file to which the object obj_id belongs.
+ *
+ * @param obj_id
+ * IN: Identifier of the object for which the associated filename is sought.
+ *
+ * @return the filename.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static String H5Fget_name(long obj_id) throws HDF5LibraryException
+ {
+ long name_size = -1;
+ if ((name_size = org.hdfgroup.javahdf5.hdf5_h_1.H5Fget_name(obj_id, MemorySegment.NULL, 0)) < 0)
+ h5libraryError();
+
+ String ret_name = null;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocate(name_size + 1);
+ /* Get the attribute name */
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Fget_name(obj_id, name_segment, name_size + 1) < 0)
+ h5libraryError();
+
+ ret_name = name_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return ret_name;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fget_obj_count returns the number of open object identifiers for the file.
+ *
+ * @param file_id
+ * IN: File identifier for a currently-open HDF5 file
+ * @param types
+ * IN: Type of object for which identifiers are to be returned.
+ *
+ * H5F_OBJ_FILE Files only
+ * H5F_OBJ_DATASET Datasets only
+ * H5F_OBJ_GROUP Groups only
+ * H5F_OBJ_DATATYPE Named datatypes only
+ * H5F_OBJ_ATTR Attributes only
+ * H5F_OBJ_ALL All of the above
+ * H5F_OBJ_LOCAL Restrict search to objects opened through current file identifier.
+ *
+ *
+ * @return the number of open objects.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Fget_obj_count(long file_id, int types) throws HDF5LibraryException
+ {
+ long count_size = -1;
+ if ((count_size = org.hdfgroup.javahdf5.hdf5_h_1.H5Fget_obj_count(file_id, types)) < 0)
+ h5libraryError();
+
+ return count_size;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fget_obj_ids returns the list of identifiers for all open HDF5 objects fitting the specified
+ * criteria.
+ *
+ * @param file_id
+ * IN: File identifier for a currently-open HDF5 file
+ * @param types
+ * IN: Type of object for which identifiers are to be returned.
+ * @param max_objs
+ * IN: Maximum number of object identifiers to place into obj_id_list.
+ * @param obj_id_list
+ * OUT: Pointer to the returned list of open object identifiers.
+ *
+ * @return the number of objects placed into obj_id_list.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * obj_id_list is null.
+ **/
+ public static long H5Fget_obj_ids(long file_id, int types, long max_objs, long[] obj_id_list)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (obj_id_list == null) {
+ throw new NullPointerException("obj_id_list is null");
+ }
+ long retCount = -1;
+
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the array bytes
+ MemorySegment obj_id_list_segment = arena.allocate(ValueLayout.JAVA_LONG, max_objs);
+ if ((retCount = org.hdfgroup.javahdf5.hdf5_h_1.H5Fget_obj_ids(file_id, types, max_objs,
+ obj_id_list_segment)) < 0)
+ h5libraryError();
+ // Read the data from the memory segment
+ MemorySegment.copy(obj_id_list_segment, ValueLayout.JAVA_LONG, 0L, obj_id_list, 0, (int)retCount);
+ }
+
+ return retCount;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fis_hdf5 determines whether a file is in the HDF5 format.
+ *
+ * @param name
+ * File name to check format.
+ *
+ * @return true if is HDF5, false if not.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ *
+ * @deprecated As of HDF5 1.10.5 in favor of H5Fis_accessible.
+ **/
+ @Deprecated
+ public static boolean H5Fis_hdf5(String name) throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ boolean isHDF5 = false;
+ try (Arena arena = Arena.ofConfined()) {
+ int retVal = -1;
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(name);
+ // Call the native method to check the file type
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Fis_hdf5(name_segment)) < 0) {
+ h5libraryError();
+ }
+ if (retVal > 0)
+ isHDF5 = true;
+ else
+ isHDF5 = false;
+ }
+ return isHDF5;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fis_accessible determines if the file can be opened with the given fapl.
+ *
+ * @param name
+ * IN: File name to check.
+ * @param fapl_id
+ * IN: File access property list identifier
+ *
+ * @return true if file is accessible, false if not.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static boolean H5Fis_accessible(String name, long fapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ boolean isAccessible = false;
+ try (Arena arena = Arena.ofConfined()) {
+ int retVal = -1;
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(name);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Fis_accessible(name_segment, fapl_id)) < 0)
+ h5libraryError();
+ if (retVal > 0)
+ isAccessible = true;
+ else
+ isAccessible = false;
+ }
+
+ return isAccessible;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fmount mounts the file specified by child_id onto the group specified by loc_id and name using the
+ * mount properties plist_id.
+ *
+ * @param loc_id
+ * The identifier for the group onto which the file specified by child_id is to be mounted.
+ * @param name
+ * The name of the group onto which the file specified by child_id is to be mounted.
+ * @param child_id
+ * The identifier of the file to be mounted.
+ * @param plist_id
+ * The identifier of the property list to be used.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Fmount(long loc_id, String name, long child_id, long plist_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(name);
+
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Fmount(loc_id, name_segment, child_id, plist_id)) <
+ 0)
+ h5libraryError();
+ }
+
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * Given a mount point, H5Funmount disassociates the mount point's file from the file mounted there.
+ *
+ * @param loc_id
+ * The identifier for the location at which the specified file is to be unmounted.
+ * @param name
+ * The name of the file to be unmounted.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Funmount(long loc_id, String name) throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(name);
+
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Funmount(loc_id, name_segment)) < 0)
+ h5libraryError();
+ }
+
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Freset_mdc_hit_rate_stats resets the hit rate statistics counters in the metadata cache associated
+ * with the specified file.
+ *
+ * @param file_id
+ * IN: Identifier of the target file.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Freset_mdc_hit_rate_stats(long file_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Freset_mdc_hit_rate_stats(file_id) < 0)
+ h5libraryError();
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fget_info returns global information for the file associated with the
+ * object identifier obj_id.
+ *
+ * @param obj_id IN: Object identifier for any object in the file.
+ *
+ * @return A buffer(H5F_info2_t) for current "global" information about file
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static hdf.hdf5lib.structs.H5F_info2_t H5Fget_info(long obj_id) throws HDF5LibraryException
+ {
+ hdf.hdf5lib.structs.H5F_info2_t info = null;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment finfo_segment = arena.allocate(org.hdfgroup.javahdf5.H5F_info2_t.sizeof());
+ if (H5Fget_info2(obj_id, finfo_segment) < 0) {
+ h5libraryError();
+ }
+ // Unpack the H5F_info2_t from the MemorySegment
+ info = new hdf.hdf5lib.structs.H5F_info2_t(finfo_segment);
+ }
+ return info;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fclear_elink_file_cache evicts all the cached child files in the specified file's external file
+ * cache, causing them to be closed if there is nothing else holding them open.
+ *
+ * @param file_id
+ * IN: Identifier of the target file.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Fclear_elink_file_cache(long file_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Fclear_elink_file_cache(file_id) < 0)
+ h5libraryError();
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fstart_swmr_write will activate SWMR writing mode for a file associated with file_id. This routine
+ * will prepare and ensure the file is safe for SWMR writing.
+ *
+ * @param file_id
+ * IN: Identifier of the target file.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Fstart_swmr_write(long file_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Fstart_swmr_write(file_id) < 0)
+ h5libraryError();
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fstart_mdc_logging starts logging metadata cache events if logging was previously enabled.
+ *
+ * @param file_id
+ * IN: Identifier of the target file.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Fstart_mdc_logging(long file_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Fstart_mdc_logging(file_id) < 0)
+ h5libraryError();
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fstop_mdc_logging stops logging metadata cache events if logging was previously enabled and is
+ * currently ongoing.
+ *
+ * @param file_id
+ * IN: Identifier of the target file.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Fstop_mdc_logging(long file_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Fstop_mdc_logging(file_id) < 0)
+ h5libraryError();
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fget_mdc_logging_status gets the current metadata cache logging status.
+ *
+ * @param file_id
+ * IN: Identifier of the target file.
+ *
+ * @param mdc_logging_status
+ * the status
+ * mdc_logging_status[0] = is_enabled, whether logging is enabled
+ * mdc_logging_status[1] = is_currently_logging, whether events are currently being logged
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * mdc_logging_status is null.
+ **/
+ public static void H5Fget_mdc_logging_status(long file_id, boolean[] mdc_logging_status)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (mdc_logging_status == null || mdc_logging_status.length < 2) {
+ throw new NullPointerException("mdc_logging_status is null or has insufficient length");
+ }
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment is_enabled_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN.byteSize());
+ MemorySegment is_currently_logging_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN.byteSize());
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Fget_mdc_logging_status(file_id, is_enabled_segment,
+ is_currently_logging_segment) < 0)
+ h5libraryError();
+ mdc_logging_status[0] = is_enabled_segment.get(ValueLayout.JAVA_BOOLEAN, 0);
+ mdc_logging_status[1] = is_currently_logging_segment.get(ValueLayout.JAVA_BOOLEAN, 0);
+ }
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fget_dset_no_attrs_hint gets the file-level setting to create minimized dataset object headers.
+ *
+ * @param file_id
+ * IN: Identifier of the target file.
+ *
+ * @return true if the file-level is set to create minimized dataset object headers, false if not.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5Fget_dset_no_attrs_hint(long file_id) throws HDF5LibraryException
+ {
+ boolean minimize = false;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate MemorySegment for the int
+ MemorySegment minimize_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ // Call the native method to check the error stack type
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Fget_dset_no_attrs_hint(file_id, minimize_segment) < 0) {
+ h5libraryError();
+ }
+ // Read the result from the MemorySegment
+ minimize = minimize_segment.get(ValueLayout.JAVA_INT, 0) != 0;
+ }
+ return minimize;
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fset_dset_no_attrs_hint sets the file-level setting to create minimized dataset object headers.
+ *
+ * @param file_id
+ * IN: Identifier of the target file.
+ * @param minimize
+ * the minimize hint setting
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Fset_dset_no_attrs_hint(long file_id, boolean minimize) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Fset_dset_no_attrs_hint(file_id, minimize) < 0)
+ h5libraryError();
+ }
+
+ /**
+ * @ingroup JH5F
+ *
+ * H5Fset_libver_bounds sets a different low and high bounds while a file is open.
+ *
+ * @param file_id
+ * IN: Identifier of the target file.
+ * @param low
+ * IN: The earliest version of the library that will be used for writing objects
+ * @param high
+ * IN: The latest version of the library that will be used for writing objects.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Fset_libver_bounds(long file_id, int low, int high) throws HDF5LibraryException
+ {
+ if (low < 0 || high < 0) {
+ throw new HDF5FunctionArgumentException("low and high must be non-negative");
+ }
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Fset_libver_bounds(file_id, low, high) < 0)
+ h5libraryError();
+ }
+
+ // /////// unimplemented ////////
+ // herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa);
+ // herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment);
+ // ssize_t H5Fget_file_image(hid_t file_id, void * buf_ptr, size_t buf_len);
+ // herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info);
+ // ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t
+ // *sect_info/*out*/);
+ // herr_t H5Fformat_convert(hid_t fid);
+ // herr_t H5Freset_page_buffering_stats(hid_t file_id);
+ // herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned accesses[2],
+ // unsigned hits[2], unsigned misses[2], unsigned evictions[2], unsigned bypasses[2]);
+ // herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size);
+ // #ifdef H5_HAVE_PARALLEL
+ // herr_t H5Fset_mpi_atomicity(hid_t file_id, hbool_t flag);
+ // herr_t H5Fget_mpi_atomicity(hid_t file_id, hbool_t *flag);
+ // #endif /* H5_HAVE_PARALLEL */
+
+ // /*
+ // * H5Fget_vfd_handle returns a pointer to the file handle from the
+ // low-level file driver
+ // * currently being used by the HDF5 library for file I/O.
+ // *
+ // * @param file_id IN: Identifier of the file to be queried.
+ // * @param fapl IN: File access property list identifier.
+ // *
+ // * @return a pointer to the file handle being used by the low-level
+ // virtual file driver.
+ // *
+ // * @exception HDF5LibraryException - Error from the HDF5 Library.
+ // **/
+ // public static Pointer file_handle
+ // H5Fget_vfd_handle(int file_id, int fapl)
+ // throws HDF5LibraryException {}
+
+ // /*
+ // * H5Fget_mdc_config loads the current metadata cache configuration into
+ // * the instance of H5AC_cache_config_t pointed to by the config_ptr
+ // parameter.
+ // *
+ // * @param file_id IN: Identifier of the target file
+ // * @param config_ptr IN/OUT: Pointer to the instance of
+ // H5AC_cache_config_t in which the current metadata cache configuration is to be reported.
+ // *
+ // * @return none
+ // *
+ // * @exception HDF5LibraryException - Error from the HDF5 Library.
+ // * @exception NullPointerException - config_ptr is null.
+ // **/
+ // public static void H5Fget_mdc_config(int file_id, H5AC_cache_config_t config_ptr)
+ // throws HDF5LibraryException, NullPointerException {}
+
+ // /*
+ // * H5Fset_mdc_config attempts to configure the file's metadata cache
+ // according to the configuration supplied.
+ // *
+ // * @param file_id IN: Identifier of the target file
+ // * @param config_ptr IN: Pointer to the instance of H5AC_cache_config_t
+ // containing the desired configuration.
+ // *
+ // * @return none
+ // *
+ // * @exception HDF5LibraryException - Error from the HDF5 Library.
+ // * @exception NullPointerException - config_ptr is null.
+ // **/
+ // public static int H5Fset_mdc_config(int file_id, H5AC_cache_config_t config_ptr)
+ // throws HDF5LibraryException, NullPointerException {}
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5FD: File Driver Interface Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+
+ // /////// unimplemented ////////
+ // hid_t H5FDregister(const H5FD_class_t *cls);
+ // herr_t H5FDunregister(hid_t driver_id);
+ // H5FD_t *H5FDopen(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr);
+ // herr_t H5FDclose(H5FD_t *file);
+ // int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2);
+ // int H5FDquery(const H5FD_t *f, unsigned long *flags);
+ // haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size);
+ // herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size);
+ // haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type);
+ // herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa);
+ // haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type);
+ // herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void**file_handle);
+ // herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void
+ // *buf/*out*/); herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t
+ // size, const void *buf); herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, hbool_t closing); herr_t
+ // H5FDtruncate(H5FD_t *file, hid_t dxpl_id, hbool_t closing); herr_t H5FDlock(H5FD_t *file, hbool_t rw);
+ // herr_t H5FDunlock(H5FD_t *file);
+ // herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags/*out*/);
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5FS: File Free Space Interface Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+
+ // No public Functions
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5G: Group Interface Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+ /**
+ * @defgroup JH5G Java Group (H5G) Interface
+ *
+ * @see H5G, C-API
+ *
+ * @see @ref H5G_UG, User Guide
+ **/
+
+ /**
+ * @ingroup JH5G
+ *
+ * H5Gclose releases resources used by a group which was opened by a call to H5Gcreate() or H5Gopen().
+ *
+ * @param group_id
+ * Group identifier to release.
+ *
+ * @return a non-negative value if successful
+ **/
+ public static int H5Gclose(long group_id)
+ {
+ log.trace("OPEN_IDS: H5Gclose remove {}", group_id);
+ OPEN_IDS.remove(group_id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Gclose(group_id);
+ if (retVal < 0)
+ retVal = 0;
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5G
+ *
+ * H5Gcreate creates a new group with the specified name at the specified location, loc_id.
+ *
+ * @param loc_id
+ * IN: The file or group identifier.
+ * @param name
+ * IN: The absolute or relative name of the new group.
+ * @param lcpl_id
+ * IN: Identifier of link creation property list.
+ * @param gcpl_id
+ * IN: Identifier of group creation property list.
+ * @param gapl_id
+ * IN: Identifier of group access property list. (No group access properties have been
+ *implemented at this time; use H5P_DEFAULT.)
+ *
+ * @return a valid group identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static long H5Gcreate(long loc_id, String name, long lcpl_id, long gcpl_id, long gapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ long id = H5I_INVALID_HID();
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(name);
+ id = org.hdfgroup.javahdf5.hdf5_h_1.H5Gcreate2(loc_id, name_segment, lcpl_id, gcpl_id, gapl_id);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Gcreate add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5G
+ *
+ * H5Gcreate_anon creates a new empty group in the file specified by loc_id.
+ *
+ * @param loc_id
+ * IN: File or group identifier specifying the file in which the new group is to be created.
+ * @param gcpl_id
+ * IN: Identifier of group creation property list.
+ * @param gapl_id
+ * IN: Identifier of group access property list. (No group access properties have been
+ * implemented at this time; use H5P_DEFAULT.)
+ *
+ * @return a valid group identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Gcreate_anon(long loc_id, long gcpl_id, long gapl_id) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h_1.H5Gcreate_anon(loc_id, gcpl_id, gapl_id);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Gcreate_anon add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5G
+ *
+ * H5Gget_create_plist returns an identifier for the group creation property list associated with the
+ * group specified by group_id.
+ *
+ * @param group_id
+ * IN: Identifier of the group.
+ *
+ * @return an identifier for the group's creation property list
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Gget_create_plist(long group_id) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h_1.H5Gget_create_plist(group_id);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Dget_create_plist add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5G
+ *
+ * H5Gget_info retrieves information about the group specified by group_id. The information is returned in
+ * the group_info struct.
+ *
+ * @param group_id
+ * IN: Identifier of the group.
+ *
+ * @return a structure in which group information is returned
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static hdf.hdf5lib.structs.H5G_info_t H5Gget_info(long group_id) throws HDF5LibraryException
+ {
+ hdf.hdf5lib.structs.H5G_info_t info = null;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ginfo_segment = arena.allocate(org.hdfgroup.javahdf5.H5G_info_t.sizeof());
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Gget_info(group_id, ginfo_segment) < 0) {
+ h5libraryError();
+ }
+ // Unpack the H5G_info_t from the MemorySegment
+ info = new hdf.hdf5lib.structs.H5G_info_t(
+ org.hdfgroup.javahdf5.H5G_info_t.storage_type(ginfo_segment),
+ org.hdfgroup.javahdf5.H5G_info_t.nlinks(ginfo_segment),
+ org.hdfgroup.javahdf5.H5G_info_t.max_corder(ginfo_segment),
+ org.hdfgroup.javahdf5.H5G_info_t.mounted(ginfo_segment));
+ }
+ return info;
+ }
+
+ /**
+ * @ingroup JH5G
+ *
+ * H5Gget_info_by_idx retrieves information about a group, according to the group's position within an
+ * index.
+ *
+ * @param group_id
+ * IN: File or group identifier.
+ * @param group_name
+ * IN: Name of group for which information is to be retrieved.
+ * @param idx_type
+ * IN: Type of index by which objects are ordered
+ * @param order
+ * IN: Order of iteration within index
+ * @param n
+ * IN: Attribute's position in index
+ * @param lapl_id
+ * IN: Link access property list.
+ *
+ * @return a structure in which group information is returned
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static hdf.hdf5lib.structs.H5G_info_t
+ H5Gget_info_by_idx(long group_id, String group_name, int idx_type, int order, long n, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (group_name == null) {
+ throw new NullPointerException("name is null");
+ }
+
+ hdf.hdf5lib.structs.H5G_info_t info = null;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(group_name);
+ MemorySegment ginfo_segment = arena.allocate(org.hdfgroup.javahdf5.H5G_info_t.sizeof());
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Gget_info_by_idx(group_id, name_segment, idx_type, order, n,
+ ginfo_segment, lapl_id) < 0) {
+ h5libraryError();
+ }
+ // Unpack the H5G_info_t from the MemorySegment
+ info = new hdf.hdf5lib.structs.H5G_info_t(
+ org.hdfgroup.javahdf5.H5G_info_t.storage_type(ginfo_segment),
+ org.hdfgroup.javahdf5.H5G_info_t.nlinks(ginfo_segment),
+ org.hdfgroup.javahdf5.H5G_info_t.max_corder(ginfo_segment),
+ org.hdfgroup.javahdf5.H5G_info_t.mounted(ginfo_segment));
+ log.trace("H5Gget_info_by_idx: type={}", info.storage_type);
+ }
+ return info;
+ }
+
+ /**
+ * @ingroup JH5G
+ *
+ * H5Gget_info_by_name retrieves information about the group group_name located in the file or group
+ * specified by loc_id.
+ *
+ * @param group_id
+ * IN: File or group identifier.
+ * @param name
+ * IN: Name of group for which information is to be retrieved.
+ * @param lapl_id
+ * IN: Link access property list.
+ *
+ * @return a structure in which group information is returned
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static hdf.hdf5lib.structs.H5G_info_t H5Gget_info_by_name(long group_id, String name, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+
+ hdf.hdf5lib.structs.H5G_info_t info = null;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(name);
+ MemorySegment ginfo_segment = arena.allocate(org.hdfgroup.javahdf5.H5G_info_t.sizeof());
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Gget_info_by_name(group_id, name_segment, ginfo_segment,
+ lapl_id) < 0) {
+ h5libraryError();
+ }
+ // Unpack the H5G_info_t from the MemorySegment
+ info = new hdf.hdf5lib.structs.H5G_info_t(
+ org.hdfgroup.javahdf5.H5G_info_t.storage_type(ginfo_segment),
+ org.hdfgroup.javahdf5.H5G_info_t.nlinks(ginfo_segment),
+ org.hdfgroup.javahdf5.H5G_info_t.max_corder(ginfo_segment),
+ org.hdfgroup.javahdf5.H5G_info_t.mounted(ginfo_segment));
+ log.trace("H5Gget_info_by_name: type={}", info.storage_type);
+ }
+ return info;
+ }
+
+ /**
+ * @ingroup JH5G
+ *
+ * retrieves information of all objects under the group (name) located in the file or group specified by
+ * loc_id.
+ *
+ * @param loc_id
+ * IN: File or group identifier
+ * @param name
+ * IN: Name of group for which information is to be retrieved
+ * @param objNames
+ * OUT: Names of all objects under the group, name.
+ * @param objTypes
+ * OUT: Types of all objects under the group, name.
+ * @param tokens
+ * OUT: Object token of all objects under the group, name.
+ *
+ * @return the number of items found
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ */
+ public static int H5Gget_obj_info_all(long loc_id, String name, String[] objNames, int[] objTypes,
+ H5O_token_t[] tokens)
+ throws HDF5LibraryException, NullPointerException
+ {
+ return H5Gget_obj_info_all(loc_id, name, objNames, objTypes, null, null, tokens,
+ HDF5Constants.H5_INDEX_NAME);
+ }
+
+ /**
+ * @ingroup JH5G
+ *
+ * retrieves information of all objects under the group (name) located in the file or group specified by
+ * loc_id.
+ *
+ * @param loc_id
+ * IN: File or group identifier
+ * @param name
+ * IN: Name of group for which information is to be retrieved
+ * @param objNames
+ * OUT: Names of all objects under the group, name.
+ * @param objTypes
+ * OUT: Types of all objects under the group, name.
+ * @param ltype
+ * OUT: Link type
+ * @param tokens
+ * OUT: Object token of all objects under the group, name.
+ * @param indx_type
+ * IN: Index type for iterate
+ *
+ * @return the number of items found
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ */
+ public static int H5Gget_obj_info_all(long loc_id, String name, String[] objNames, int[] objTypes,
+ int[] ltype, H5O_token_t[] tokens, int indx_type)
+ throws HDF5LibraryException, NullPointerException
+ {
+ return H5Gget_obj_info_full(loc_id, name, objNames, objTypes, ltype, null, tokens, indx_type, -1);
+ }
+
+ /**
+ * @ingroup JH5G
+ *
+ * retrieves information of all objects under the group (name) located in the file or group specified by
+ * loc_id.
+ *
+ * @param loc_id
+ * IN: File or group identifier
+ * @param name
+ * IN: Name of group for which information is to be retrieved
+ * @param objNames
+ * OUT: Names of all objects under the group, name.
+ * @param objTypes
+ * OUT: Types of all objects under the group, name.
+ * @param ltype
+ * OUT: Link type
+ * @param fno
+ * OUT: File number
+ * @param tokens
+ * OUT: Object token of all objects under the group, name.
+ * @param indx_type
+ * IN: Index type for iterate
+ *
+ * @return the number of items found
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ */
+ public static int H5Gget_obj_info_all(long loc_id, String name, String[] objNames, int[] objTypes,
+ int[] ltype, long[] fno, H5O_token_t[] tokens, int indx_type)
+ throws HDF5LibraryException, NullPointerException
+ {
+ return H5Gget_obj_info_full(loc_id, name, objNames, objTypes, ltype, fno, tokens, indx_type, -1);
+ }
+
+ /**
+ * @ingroup JH5G
+ *
+ * retrieves information of all objects under the group (name) located in the file or group specified by
+ * loc_id.
+ *
+ * @param loc_id
+ * IN: File or group identifier
+ * @param name
+ * IN: Name of group for which information is to be retrieved
+ * @param objNames
+ * OUT: Names of all objects under the group, name.
+ * @param objTypes
+ * OUT: Types of all objects under the group, name.
+ * @param ltype
+ * OUT: Link type
+ * @param fno
+ * OUT: File number
+ * @param tokens
+ * OUT: Object token of all objects under the group, name.
+ * @param indx_type
+ * IN: Index type for iterate
+ * @param indx_order
+ * IN: Index order for iterate
+ *
+ * @return the number of items found
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ */
+ public static int H5Gget_obj_info_full(long loc_id, String name, String[] objNames, int[] objTypes,
+ int[] ltype, long[] fno, H5O_token_t[] tokens, int indx_type,
+ int indx_order) throws HDF5LibraryException, NullPointerException
+ {
+ if (objNames == null) {
+ throw new NullPointerException("name array is null");
+ }
+ if (objTypes == null) {
+ throw new NullPointerException("object type array is null");
+ }
+ if (objNames.length == 0) {
+ throw new HDF5LibraryException("H5Gget_obj_info_full(): array size is zero");
+ }
+ if (objNames.length != objTypes.length) {
+ throw new HDF5LibraryException("H5Gget_obj_info_full(): name and type array sizes are different");
+ }
+ if (ltype == null)
+ ltype = new int[objTypes.length];
+ if (fno == null)
+ fno = new long[tokens.length];
+ if (indx_type < 0)
+ indx_type = HDF5Constants.H5_INDEX_NAME;
+ if (indx_order < 0)
+ indx_order = HDF5Constants.H5_ITER_INC;
+
+ log.trace("H5Gget_obj_info_full: objNames_len={}", objNames.length);
+ int status = H5Gget_obj_info_full(loc_id, name, objNames, objTypes, ltype, fno, tokens,
+ objNames.length, indx_type, indx_order);
+ for (int indx = 0; indx < objNames.length; indx++)
+ log.trace("H5Gget_obj_info_full: objNames={}", objNames[indx]);
+ return status;
+ }
+
+ /*
+ * NOTE: This is a dangerous call! The caller can supply any value they'd like
+ * for 'n' and if it exceeds the number of links in the group, we will most likely
+ * end up overwriting memory heap-tracking info.
+ */
+ private static int H5Gget_obj_info_full(long loc_id, String group_name, String[] objNames, int[] objTypes,
+ int[] ltype, long[] fno, H5O_token_t[] tokens, int n,
+ int indx_type, int indx_order)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (objNames == null) {
+ throw new NullPointerException("objNames is null");
+ }
+ if (objTypes == null) {
+ throw new NullPointerException("objTypes is null");
+ }
+ if (ltype == null) {
+ throw new NullPointerException("ltype ais null");
+ }
+ if (fno == null) {
+ throw new NullPointerException("fno is null");
+ }
+ if (tokens == null) {
+ throw new NullPointerException("tokens is null");
+ }
+ if (n < 0) {
+ throw new HDF5FunctionArgumentException("n is negative");
+ }
+ long gid = HDF5Constants.H5I_INVALID_HID;
+ if (group_name != null) {
+ gid = hdf.hdf5lib.H5.H5Gopen(loc_id, group_name, HDF5Constants.H5P_DEFAULT);
+ }
+ else {
+ gid = loc_id;
+ }
+
+ StructLayout info_ptr_t = MemoryLayout.structLayout(
+ ValueLayout.ADDRESS.withName("objname"), ValueLayout.ADDRESS.withName("obj_token"),
+ ValueLayout.JAVA_LONG.withName("fno"), ValueLayout.JAVA_INT.withName("otype"),
+ ValueLayout.JAVA_INT.withName("ltype"));
+
+ StructLayout info_all_t = MemoryLayout.structLayout(
+ MemoryLayout.sequenceLayout(n, MemoryLayout
+ .structLayout(ValueLayout.ADDRESS.withName("objname"),
+ ValueLayout.ADDRESS.withName("obj_token"),
+ ValueLayout.JAVA_LONG.withName("fno"),
+ ValueLayout.JAVA_INT.withName("otype"),
+ ValueLayout.JAVA_INT.withName("ltype"))
+ .withName("data")),
+ ValueLayout.JAVA_LONG.withName("idxnum"), ValueLayout.JAVA_INT.withName("count"));
+
+ long DATA_OFFSET = 0L; // info_all_t.byteOffset(PathElement.groupElement("data"));
+ VarHandle objnameHandle = info_ptr_t.arrayElementVarHandle(PathElement.groupElement("objname"));
+ VarHandle otypeHandle = info_ptr_t.arrayElementVarHandle(PathElement.groupElement("otype"));
+ VarHandle ltypeHandle = info_ptr_t.arrayElementVarHandle(PathElement.groupElement("ltype"));
+ VarHandle obj_tokenHandle = info_ptr_t.arrayElementVarHandle(PathElement.groupElement("obj_token"));
+ VarHandle fnoHandle = info_ptr_t.arrayElementVarHandle(PathElement.groupElement("fno"));
+ VarHandle idxnumHandle = info_all_t.varHandle(PathElement.groupElement("idxnum"));
+ VarHandle countHandle = info_all_t.varHandle(PathElement.groupElement("count"));
+
+ int ret = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ class H5L_iter_callback implements H5L_iterate_t {
+ public int apply(long group, MemorySegment name, MemorySegment info, MemorySegment op_data)
+ {
+ int count = (int)countHandle.get(op_data, 0);
+ MemorySegment name_seg = arena.allocateFrom(name.getString(0));
+ objnameHandle.set(op_data, DATA_OFFSET, (long)count, name_seg);
+ int ltype = (int)H5L_info2_t.type(info);
+ ltypeHandle.set(op_data, DATA_OFFSET, (long)count, ltype);
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_2.H5Oexists_by_name(loc_id, name,
+ HDF5Constants.H5P_DEFAULT);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ else if (retVal > 0) {
+ MemorySegment info_segment = arena.allocate(H5O_info2_t.sizeof());
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Oget_info_by_name3(
+ loc_id, name, info_segment, HDF5Constants.H5O_INFO_ALL,
+ HDF5Constants.H5P_DEFAULT) < 0)
+ h5libraryError();
+ int otype = (int)H5O_info2_t.type(info_segment);
+ otypeHandle.set(op_data, DATA_OFFSET, (long)count, otype);
+ obj_tokenHandle.set(op_data, DATA_OFFSET, (long)count,
+ H5O_info2_t.token(info_segment));
+ long fno = (long)H5O_info2_t.fileno(info_segment);
+ fnoHandle.set(op_data, DATA_OFFSET, (long)count, fno);
+ }
+ else {
+ otypeHandle.set(op_data, DATA_OFFSET, (long)count, HDF5Constants.H5O_TYPE_UNKNOWN);
+ obj_tokenHandle.set(op_data, DATA_OFFSET, (long)count, MemorySegment.NULL);
+ fnoHandle.set(op_data, DATA_OFFSET, (long)count, -1L);
+ }
+
+ count++;
+ countHandle.set(op_data, 0, count); // count
+ return 0;
+ }
+ }
+ H5L_iterate_t obj_info_all = new H5L_iter_callback();
+ MemorySegment info = arena.allocate(info_all_t);
+
+ // Set up the info struct
+ idxnumHandle.set(info, 0L, 0); // idxnum
+ countHandle.set(info, 0L, 0); // count
+
+ MemorySegment op_segment = H5L_iterate2_t.allocate(obj_info_all, arena);
+ // Call H5Literate2
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Literate2(gid, indx_type, indx_order, MemorySegment.NULL,
+ op_segment, info) < 0) {
+ /*
+ * Reset info stats; most importantly, reset the count.
+ */
+ idxnumHandle.set(info, 0, 0); // idxnum
+ countHandle.set(info, 0, 0); // count
+
+ /* Iteration failed, try normal alphabetical order */
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Literate2(gid, HDF5Constants.H5_INDEX_NAME,
+ HDF5Constants.H5_ITER_INC, MemorySegment.NULL,
+ op_segment, info) < 0) {
+ h5libraryError();
+ }
+ }
+
+ int count = (int)countHandle.get(info, 0);
+ log.trace("H5Gget_obj_info_full: count={}", count);
+
+ // Read the results from the MemorySegments
+ for (int i = 0; i < count; i++) {
+ // Read object name
+ MemorySegment objname_ptr = (MemorySegment)objnameHandle.get(info, DATA_OFFSET, (long)i);
+ if (objname_ptr != null) {
+ MemorySegment cStringSegment = objname_ptr.reinterpret(256); // or a more precise length
+ objNames[i] = cStringSegment.getString(0);
+ log.trace("H5Gget_obj_info_full: objNames[{}]={}", i, objNames[i]);
+ }
+ else {
+ objNames[i] = null;
+ }
+ // Read object type
+ int otype = (int)otypeHandle.get(info, DATA_OFFSET, (long)i);
+ objTypes[i] = otype;
+ log.trace("H5Gget_obj_info_full: objTypes[{}]={}", i, objTypes[i]);
+ // Read link type
+ int ltype_val = (int)ltypeHandle.get(info, DATA_OFFSET, (long)i);
+ ltype[i] = ltype_val;
+ log.trace("H5Gget_obj_info_full: ltype[{}]={}", i, ltype[i]);
+ // Read file number
+ long fno_val = (long)fnoHandle.get(info, DATA_OFFSET, (long)i);
+ fno[i] = fno_val;
+ log.trace("H5Gget_obj_info_full: fno[{}]={}", i, fno[i]);
+ // Read object token
+ MemorySegment token_ptr = (MemorySegment)obj_tokenHandle.get(info, DATA_OFFSET, (long)i);
+ tokens[i] = new hdf.hdf5lib.structs.H5O_token_t(token_ptr);
+ log.trace("H5Gget_obj_info_full: tokens[{}]={}", i, tokens[i]);
+ }
+ ret = count;
+ }
+ finally {
+ if (group_name != null) {
+ hdf.hdf5lib.H5.H5Gclose(gid);
+ }
+ }
+ return ret;
+ }
+
+ /**
+ * @ingroup JH5G
+ *
+ * H5Gget_obj_info_idx report the name and type of object with index 'idx' in a Group. The 'idx'
+ * corresponds to the index maintained by H5Giterate. Each link is returned, so objects with multiple
+ * links will be counted once for each link.
+ *
+ * @param loc_id
+ * IN: file or group ID.
+ * @param name
+ * IN: name of the group to iterate, relative to the loc_id
+ * @param idx
+ * IN: the index of the object to iterate.
+ * @param oname
+ * OUT: the name of the object
+ * @param type
+ * OUT: the type of the object
+ *
+ * @return non-negative if successful, -1 if not.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ */
+ public static int H5Gget_obj_info_idx(long loc_id, String name, int idx, String[] oname, int[] type)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+
+ oname[0] = H5Lget_name_by_idx(loc_id, name, HDF5Constants.H5_INDEX_NAME, HDF5Constants.H5_ITER_INC,
+ idx, HDF5Constants.H5P_DEFAULT);
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(name);
+ MemorySegment linfo_segment = arena.allocate(org.hdfgroup.javahdf5.H5L_info2_t.sizeof());
+ if (H5Lget_info_by_idx2(loc_id, name_segment, HDF5Constants.H5_INDEX_NAME,
+ HDF5Constants.H5_ITER_INC, idx, linfo_segment,
+ HDF5Constants.H5P_DEFAULT) < 0) {
+ h5libraryError();
+ }
+ type[0] = org.hdfgroup.javahdf5.H5L_info2_t.type(linfo_segment);
+ }
+
+ return 0;
+ }
+
+ /*
+ * Add these methods so that we don't need to call
+ * in a loop to get information for all the object in a group, which takes
+ * a lot of time to finish if the number of objects is more than 10,000
+ */
+ /**
+ * @ingroup JH5G
+ *
+ * retrieves information of all objects (recurvisely) under the group (name) located in the file or group
+ * specified by loc_id up to maximum specified by objMax.
+ *
+ * @param loc_id
+ * IN: File or group identifier
+ * @param objNames
+ * OUT: Names of all objects under the group, name.
+ * @param objTypes
+ * OUT: Types of all objects under the group, name.
+ * @param lnkTypes
+ * OUT: Types of all links under the group, name.
+ * @param objToken
+ * OUT: Object token of all objects under the group, name.
+ * @param objMax
+ * IN: Maximum number of all objects under the group, name.
+ *
+ * @return the number of items found
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ */
+ public static int H5Gget_obj_info_max(long loc_id, String[] objNames, int[] objTypes, int[] lnkTypes,
+ H5O_token_t[] objToken, long objMax)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (objNames == null) {
+ throw new NullPointerException("name array is null");
+ }
+ if (objTypes == null) {
+ throw new NullPointerException("object type array is null");
+ }
+ if (lnkTypes == null) {
+ throw new NullPointerException("link type array is null");
+ }
+ if (objToken == null) {
+ throw new NullPointerException("object token array is null");
+ }
+ if (objMax <= 0) {
+ throw new HDF5FunctionArgumentException("maximum array size is zero");
+ }
+ if (objNames.length <= 0) {
+ throw new HDF5LibraryException("H5Gget_obj_info_max(): array size is zero");
+ }
+ if (objNames.length != objTypes.length) {
+ throw new HDF5LibraryException("H5Gget_obj_info_max(): name and type array sizes are different");
+ }
+ return H5Gget_obj_info_max(loc_id, objNames, objTypes, lnkTypes, objToken, objMax, objNames.length);
+ }
+
+ /*
+ * NOTE: This is a dangerous call! The caller can supply any value they'd like
+ * for 'n' and if it exceeds the number of links reachable from the group, we
+ * will most likely end up overwriting memory heap-tracking info.
+ */
+ private static int H5Gget_obj_info_max(long loc_id, String[] objNames, int[] objTypes, int[] ltype,
+ H5O_token_t[] tokens, long amax, int n)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (objNames == null) {
+ throw new NullPointerException("objNames is null");
+ }
+ if (objTypes == null) {
+ throw new NullPointerException("objTypes is null");
+ }
+ if (ltype == null) {
+ throw new NullPointerException("ltype ais null");
+ }
+ if (tokens == null) {
+ throw new NullPointerException("tokens is null");
+ }
+ if (n < 0) {
+ throw new HDF5FunctionArgumentException("n is negative");
+ }
+
+ StructLayout info_ptr_t =
+ MemoryLayout.structLayout(ValueLayout.ADDRESS.withName("objname"), // char **objname
+ ValueLayout.ADDRESS.withName("obj_token"), // H5O_token_t *obj_token
+ ValueLayout.JAVA_INT.withName("otype"), // int *otype
+ ValueLayout.JAVA_INT.withName("ltype") // int *ltype
+ );
+
+ StructLayout info_all_t = MemoryLayout.structLayout(
+ MemoryLayout.sequenceLayout(n, MemoryLayout
+ .structLayout(ValueLayout.ADDRESS.withName("objname"),
+ ValueLayout.ADDRESS.withName("obj_token"),
+ ValueLayout.JAVA_INT.withName("otype"),
+ ValueLayout.JAVA_INT.withName("ltype"))
+ .withName("data")),
+ ValueLayout.JAVA_LONG.withName("idxnum"), // unsigned long idxnum
+ ValueLayout.JAVA_INT.withName("count") // int count
+ );
+
+ long DATA_OFFSET = 0L; // info_all_t.byteOffset(PathElement.groupElement("data"));
+ VarHandle objnameHandle = info_ptr_t.arrayElementVarHandle(PathElement.groupElement("objname"));
+ VarHandle otypeHandle = info_ptr_t.arrayElementVarHandle(PathElement.groupElement("otype"));
+ VarHandle ltypeHandle = info_ptr_t.arrayElementVarHandle(PathElement.groupElement("ltype"));
+ VarHandle obj_tokenHandle = info_ptr_t.arrayElementVarHandle(PathElement.groupElement("obj_token"));
+ VarHandle idxnumHandle = info_all_t.varHandle(PathElement.groupElement("idxnum"));
+ VarHandle countHandle = info_all_t.varHandle(PathElement.groupElement("count"));
+
+ int ret = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ class H5L_iter_callback implements H5L_iterate_t {
+ public int apply(long loc_id, MemorySegment name, MemorySegment info, MemorySegment op_data)
+ {
+ int ret = -1;
+ long idxnum = (long)idxnumHandle.get(op_data, 0);
+ int count = (int)countHandle.get(op_data, 0);
+ MemorySegment name_seg = arena.allocateFrom(name.getString(0));
+ objnameHandle.set(op_data, DATA_OFFSET, (long)count, name_seg);
+ int ltype = (int)H5L_info2_t.type(info);
+ ltypeHandle.set(op_data, DATA_OFFSET, (long)count, ltype);
+
+ MemorySegment info_segment = arena.allocate(H5O_info2_t.sizeof());
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Oget_info3(loc_id, info_segment,
+ HDF5Constants.H5O_INFO_ALL) < 0)
+ h5libraryError();
+ int otype = (int)H5O_info2_t.type(info_segment);
+ otypeHandle.set(op_data, DATA_OFFSET, (long)count, otype);
+ obj_tokenHandle.set(op_data, DATA_OFFSET, (long)count, H5O_info2_t.token(info_segment));
+
+ count++;
+ countHandle.set(op_data, 0, count); // count
+ if (count >= (int)idxnum)
+ ret = 1;
+ else
+ ret = 0;
+
+ return ret;
+ }
+ }
+ H5L_iterate_t obj_info_all = new H5L_iter_callback();
+ MemorySegment info = arena.allocate(info_all_t);
+
+ // Set up the info struct
+ idxnumHandle.set(info, 0L, amax); // idxnum
+ countHandle.set(info, 0L, 0); // count
+
+ MemorySegment op_segment = H5L_iterate2_t.allocate(obj_info_all, arena);
+ // Call H5Literate2
+ if ((ret = org.hdfgroup.javahdf5.hdf5_h_1.H5Lvisit2(
+ loc_id, HDF5Constants.H5_INDEX_NAME, HDF5Constants.H5_ITER_INC, op_segment, info)) < 0) {
+ h5libraryError();
+ }
+
+ int count = (int)countHandle.get(info, 0);
+ log.trace("H5Gget_obj_info_max: count={}", count);
+
+ // Read the results from the MemorySegments
+ for (int i = 0; i < count; i++) {
+ // Read object name
+ MemorySegment objname_ptr = (MemorySegment)objnameHandle.get(info, DATA_OFFSET, (long)i);
+ if (objname_ptr != null) {
+ MemorySegment cStringSegment = objname_ptr.reinterpret(256); // or a more precise length
+ objNames[i] = cStringSegment.getString(0);
+ log.trace("H5Gget_obj_info_max: objNames[{}]={}", i, objNames[i]);
+ }
+ else {
+ objNames[i] = null;
+ }
+ // Read object type
+ int otype = (int)otypeHandle.get(info, DATA_OFFSET, (long)i);
+ objTypes[i] = otype;
+ log.trace("H5Gget_obj_info_max: objTypes[{}]={}", i, objTypes[i]);
+ // Read link type
+ int ltype_val = (int)ltypeHandle.get(info, DATA_OFFSET, (long)i);
+ ltype[i] = ltype_val;
+ log.trace("H5Gget_obj_info_max: ltype[{}]={}", i, ltype[i]);
+ // Read object token
+ MemorySegment token_ptr = (MemorySegment)obj_tokenHandle.get(info, DATA_OFFSET, (long)i);
+ tokens[i] = new hdf.hdf5lib.structs.H5O_token_t(token_ptr);
+ log.trace("H5Gget_obj_info_full: tokens[{}]={}", i, tokens[i]);
+ }
+ ret = count;
+ }
+ return ret;
+ }
+
+ /**
+ * @ingroup JH5G
+ *
+ * H5Gn_members report the number of objects in a Group. The 'objects' include everything that will be
+ * visited by H5Giterate. Each link is returned, so objects with multiple links will be counted once for
+ * each link.
+ *
+ * @param loc_id
+ * file or group ID.
+ * @param name
+ * name of the group to iterate, relative to the loc_id
+ *
+ * @return the number of members in the group or -1 if error.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ */
+ public static long H5Gn_members(long loc_id, String name)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+
+ long n = -1; // Default to -1 for error case
+ long grp_id = H5Gopen(loc_id, name, H5P_DEFAULT());
+ try {
+ // Get the group information
+ // Note: H5Gget_info returns the number of links in the group, not the number of objects.
+ // To get the number of objects, we need to iterate through the group.
+ hdf.hdf5lib.structs.H5G_info_t info = H5Gget_info(grp_id);
+
+ n = info.nlinks;
+ }
+ finally {
+ H5Gclose(grp_id);
+ }
+
+ return n;
+ }
+
+ /**
+ * @ingroup JH5G
+ *
+ * H5Gopen opens an existing group, name, at the location specified by loc_id.
+ *
+ * @param loc_id
+ * IN: File or group identifier specifying the location of the group to be opened.
+ * @param name
+ * IN: Name of group to open.
+ * @param gapl_id
+ * IN: Identifier of group access property list.
+ *
+ * @return a valid group identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static long H5Gopen(long loc_id, String name, long gapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name array is null");
+ }
+
+ long id = H5I_INVALID_HID();
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(name);
+
+ id = H5Gopen2(loc_id, name_segment, gapl_id);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Gopen add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5G
+ *
+ * H5Gflush causes all buffers associated with a group to be immediately flushed to disk without
+ * removing the data from the cache.
+ *
+ * @param group_id
+ * IN: Identifier of the group to be flushed.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Gflush(long group_id) throws HDF5LibraryException
+ {
+ log.trace("H5Gflush: group_id={}", group_id);
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Gflush(group_id) < 0)
+ h5libraryError();
+ }
+
+ /**
+ * @ingroup JH5G
+ *
+ * H5Grefresh causes all buffers associated with a group to be cleared and immediately re-loaded
+ * with updated contents from disk. This function essentially closes the group, evicts all metadata
+ * associated with it from the cache, and then re-opens the group. The reopened group is automatically
+ * re-registered with the same ID.
+ *
+ * @param group_id
+ * IN: Identifier of the group to be refreshed.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Grefresh(long group_id) throws HDF5LibraryException
+ {
+ log.trace("H5Grefresh: group_id={}", group_id);
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Grefresh(group_id) < 0)
+ h5libraryError();
+ }
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5HF: Fractal Heap Interface Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+
+ // No public Functions
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5HG: Global Heap Interface Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+
+ // No public Functions
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5HL: Local Heap Interface Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+
+ // No public Functions
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5I: HDF5 Identifier Interface API Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+ /**
+ * @defgroup JH5I Java Identifier (H5I) Interface
+ *
+ * @see H5I, C-API
+ *
+ * @see @ref H5I_UG, User Guide
+ **/
+
+ /**
+ * @ingroup JH5I
+ *
+ * H5Iget_file_id obtains the file ID specified by the identifier, obj_id.
+ *
+ * @param obj_id
+ * IN: Identifier of the object.
+ *
+ * @return the file ID.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Iget_file_id(long obj_id) throws HDF5LibraryException
+ {
+ long file_id = org.hdfgroup.javahdf5.hdf5_h_2.H5Iget_file_id(obj_id);
+ log.trace("H5Iget_file_id: obj_id={}, file_id={}", obj_id, file_id);
+ return file_id;
+ }
+
+ /**
+ * @ingroup JH5I
+ *
+ * H5Iget_name_long retrieves the name of an object specified by the identifier, obj_id.
+ * @deprecated
+ *
+ * @param obj_id
+ * IN: Identifier of the object.
+ * @param name
+ * OUT: Attribute name buffer.
+ * @param size
+ * IN: Maximum length of the name to retrieve.
+ *
+ * @return the length of the name retrieved.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ @Deprecated
+ public static long H5Iget_name_long(long obj_id, String[] name, long size)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ throw new HDF5LibraryException("H5Dvlen_reclaim not implemented as it is deprecated");
+ }
+
+ /**
+ * @ingroup JH5I
+ *
+ * H5Iget_name retrieves the name of an object specified by the identifier, obj_id.
+ *
+ * @param obj_id
+ * IN: Identifier of the object.
+ *
+ * @return String for Attribute name.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static String H5Iget_name(long obj_id) throws HDF5LibraryException
+ {
+ long name_size = -1;
+ if ((name_size = org.hdfgroup.javahdf5.hdf5_h_2.H5Iget_name(obj_id, MemorySegment.NULL, 0)) < 0)
+ h5libraryError();
+
+ String ret_name = null;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocate(name_size + 1);
+ /* Get the attribute name */
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Iget_name(obj_id, name_segment, name_size + 1) < 0)
+ h5libraryError();
+
+ ret_name = name_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return ret_name;
+ }
+
+ /**
+ * @ingroup JH5I
+ *
+ * H5Iget_ref obtains the number of references outstanding specified by the identifier, obj_id.
+ *
+ * @param obj_id
+ * IN: Identifier of the object.
+ *
+ * @return the reference count.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Iget_ref(long obj_id) throws HDF5LibraryException
+ {
+ int ref_count = org.hdfgroup.javahdf5.hdf5_h_2.H5Iget_ref(obj_id);
+ if (ref_count < 0) {
+ h5libraryError();
+ }
+
+ return ref_count;
+ }
+
+ /**
+ * @ingroup JH5I
+ *
+ * H5Idec_ref decrements the reference count specified by the identifier, obj_id.
+ * If the reference count for an ID reaches zero, the object will be closed.
+ *
+ * @param obj_id
+ * IN: Identifier of the object.
+ *
+ * @return the reference count.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Idec_ref(long obj_id) throws HDF5LibraryException
+ {
+ int ref_count = org.hdfgroup.javahdf5.hdf5_h_2.H5Idec_ref(obj_id);
+ if (ref_count < 0) {
+ h5libraryError();
+ }
+
+ return ref_count;
+ }
+
+ /**
+ * @ingroup JH5I
+ *
+ * H5Iinc_ref increments the reference count specified by the identifier, obj_id.
+ *
+ * @param obj_id
+ * IN: Identifier of the object.
+ *
+ * @return the reference count.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Iinc_ref(long obj_id) throws HDF5LibraryException
+ {
+ int ref_count = org.hdfgroup.javahdf5.hdf5_h_2.H5Iinc_ref(obj_id);
+ if (ref_count < 0) {
+ h5libraryError();
+ }
+
+ return ref_count;
+ }
+
+ /**
+ * @ingroup JH5I
+ *
+ * H5Iget_type retrieves the type of the object identified by obj_id.
+ *
+ * @param obj_id
+ * IN: Object identifier whose type is to be determined.
+ *
+ * @return the object type if successful; otherwise H5I_BADID.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Iget_type(long obj_id) throws HDF5LibraryException
+ {
+ int type = org.hdfgroup.javahdf5.hdf5_h_2.H5Iget_type(obj_id);
+ if (type < 0) {
+ h5libraryError();
+ }
+
+ return type;
+ }
+
+ /**
+ * @ingroup JH5I
+ *
+ * H5Iget_type_ref retrieves the reference count on an ID type. The reference count is used by the library
+ * to indicate when an ID type can be destroyed.
+ *
+ * @param type_id
+ * IN: The identifier of the type whose reference count is to be retrieved
+ *
+ * @return The current reference count on success, negative on failure.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Iget_type_ref(int type_id) throws HDF5LibraryException
+ {
+ int ref_count = org.hdfgroup.javahdf5.hdf5_h_2.H5Iget_type_ref(type_id);
+ if (ref_count < 0) {
+ h5libraryError();
+ }
+
+ return ref_count;
+ }
+
+ /**
+ * @ingroup JH5I
+ *
+ * H5Idec_type_ref decrements the reference count on an identifier type. The reference count is used by
+ * the library to indicate when an identifier type can be destroyed. If the reference count reaches zero,
+ * this function will destroy it.
+ *
+ * @param type_id
+ * IN: The identifier of the type whose reference count is to be decremented
+ *
+ * @return The current reference count on success, negative on failure.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Idec_type_ref(int type_id) throws HDF5LibraryException
+ {
+ int ref_count = org.hdfgroup.javahdf5.hdf5_h_2.H5Idec_type_ref(type_id);
+ if (ref_count < 0) {
+ h5libraryError();
+ }
+
+ return ref_count;
+ }
+
+ /**
+ * @ingroup JH5I
+ *
+ * H5Iinc_type_ref increments the reference count on an ID type. The reference count is used by the
+ * library to indicate when an ID type can be destroyed.
+ *
+ * @param type_id
+ * IN: The identifier of the type whose reference count is to be incremented
+ *
+ * @return The current reference count on success, negative on failure.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Iinc_type_ref(int type_id) throws HDF5LibraryException
+ {
+ int ref_count = org.hdfgroup.javahdf5.hdf5_h_2.H5Iinc_type_ref(type_id);
+ if (ref_count < 0) {
+ h5libraryError();
+ }
+
+ return ref_count;
+ }
+
+ /**
+ * @ingroup JH5I
+ *
+ * H5Inmembers returns the number of identifiers of the identifier type specified in type.
+ *
+ * @param type_id
+ * IN: Identifier for the identifier type whose member count will be retrieved
+ *
+ * @return Number of identifiers of the specified identifier type
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Inmembers(int type_id) throws HDF5LibraryException
+ {
+ int n_members = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment int_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Inmembers(type_id, int_segment) < 0)
+ h5libraryError();
+ n_members = int_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+
+ return n_members;
+ }
+
+ /**
+ * @ingroup JH5I
+ *
+ * H5Iis_valid indicates if the identifier type specified in obj_id is valid.
+ *
+ * @param obj_id
+ * IN: Identifier to be checked
+ *
+ * @return a boolean, true if the specified identifier id is valid
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5Iis_valid(long obj_id) throws HDF5LibraryException
+ {
+ boolean is_valid = false;
+ int retVal = -1;
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h_2.H5Iis_valid(obj_id)) < 0) {
+ h5libraryError();
+ }
+ if (retVal == 0) {
+ is_valid = false; // ID is not valid
+ }
+ else {
+ is_valid = true; // ID is valid
+ }
+
+ return is_valid;
+ }
+
+ /**
+ * @ingroup JH5I
+ *
+ * H5Itype_exists indicates if the identifier type specified in type exists.
+ *
+ * @param type_id
+ * IN: the identifier type to be checked
+ *
+ * @return a boolean, true if the specified identifier type exists
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5Itype_exists(int type_id) throws HDF5LibraryException
+ {
+ boolean exists = false;
+ int retVal = -1;
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h_2.H5Itype_exists(type_id)) < 0) {
+ h5libraryError();
+ }
+ if (retVal == 0) {
+ exists = false; // Type does not exist
+ }
+ else {
+ exists = true; // Type exists
+ }
+
+ return exists;
+ }
+
+ /**
+ * @ingroup JH5I
+ *
+ * H5Iclear_type deletes all identifiers of the type identified by the argument type.
+ *
+ * @param type_id
+ * IN: Identifier of identifier type which is to be cleared of identifiers
+ * @param force
+ * IN: Whether or not to force deletion of all identifiers
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Iclear_type(int type_id, boolean force) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Iclear_type(type_id, force) < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5I
+ *
+ * H5Idestroy_type deletes an entire identifier type. All identifiers of this type are destroyed
+ * and no new identifiers of this type can be registered.
+ *
+ * @param type_id
+ * IN: Identifier of identifier type which is to be destroyed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Idestroy_type(int type_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Idestroy_type(type_id) < 0) {
+ h5libraryError();
+ }
+ }
+
+ // /////// unimplemented ////////
+
+ // void *H5Iobject_verify(hid_t id, H5I_type_t id_type);
+
+ // hid_t H5Iregister(H5I_type_t type, const void *object);
+
+ // typedef herr_t (*H5I_free_t)(void *);
+ // H5I_type_t H5Iregister_type2(unsigned reserved, H5I_free_t free_func);
+
+ // void *H5Iremove_verify(hid_t id, H5I_type_t id_type);
+
+ // Type of the function to compare objects & keys
+ // typedef int (*H5I_search_func_t)(void *obj, hid_t id, void *key);
+ // void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key);
+
+ // Type of the H5Iiterate callback function
+ // typedef herr_t (*H5I_iterate_func_t)(hid_t id, void *udata);
+ // herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data);
+
+ // //////////////////////////////////////////////////////////////////
+ // H5L: Link Interface Functions //
+ // //////////////////////////////////////////////////////////////////
+ /**
+ * @defgroup JH5L Java Link (H5L) Interface
+ *
+ * @see H5L, C-API
+ *
+ * @see @ref H5L_UG, User Guide
+ **/
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Lcopy copies a link from one location to another.
+ *
+ * @param src_loc
+ * IN: Location identifier of the source link
+ * @param src_name
+ * IN: Name of the link to be copied
+ * @param dst_loc
+ * IN: Location identifier specifying the destination of the copy
+ * @param dst_name
+ * IN: Name to be assigned to the new copy
+ * @param lcpl_id
+ * IN: Link creation property list identifier
+ * @param lapl_id
+ * IN: Link access property list identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static void H5Lcopy(long src_loc, String src_name, long dst_loc, String dst_name, long lcpl_id,
+ long lapl_id) throws HDF5LibraryException, NullPointerException
+ {
+ if (src_name == null || dst_name == null) {
+ throw new NullPointerException("src_name or dst_name is null");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment src_name_segment = arena.allocateFrom(src_name);
+ MemorySegment dst_name_segment = arena.allocateFrom(dst_name);
+
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Lcopy(src_loc, src_name_segment, dst_loc, dst_name_segment,
+ lcpl_id, lapl_id) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Lcreate_external creates a new soft link to an external object, which is an object in a different
+ * HDF5 file from the location of the link.
+ *
+ * @param file_name
+ * IN: Name of the target file containing the target object.
+ * @param obj_name
+ * IN: Path within the target file to the target object.
+ * @param link_loc_id
+ * IN: The file or group identifier for the new link.
+ * @param link_name
+ * IN: The name of the new link.
+ * @param lcpl_id
+ * IN: Link creation property list identifier
+ * @param lapl_id
+ * IN: Link access property list identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static void H5Lcreate_external(String file_name, String obj_name, long link_loc_id,
+ String link_name, long lcpl_id, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (file_name == null || obj_name == null || link_name == null) {
+ throw new NullPointerException("file_name, obj_name or link_name is null");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment file_name_segment = arena.allocateFrom(file_name);
+ MemorySegment obj_name_segment = arena.allocateFrom(obj_name);
+ MemorySegment link_name_segment = arena.allocateFrom(link_name);
+ // Call the native method to create the external link
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Lcreate_external(file_name_segment, obj_name_segment,
+ link_loc_id, link_name_segment, lcpl_id,
+ lapl_id) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Lcreate_hard creates a new hard link to a pre-existing object in an HDF5 file.
+ *
+ * @param cur_loc
+ * IN: The file or group identifier for the target object.
+ * @param cur_name
+ * IN: Name of the target object, which must already exist.
+ * @param dst_loc
+ * IN: The file or group identifier for the new link.
+ * @param dst_name
+ * IN: The name of the new link.
+ * @param lcpl_id
+ * IN: Link creation property list identifier
+ * @param lapl_id
+ * IN: Link access property list identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * cur_name or dst_name is null.
+ **/
+ public static void H5Lcreate_hard(long cur_loc, String cur_name, long dst_loc, String dst_name,
+ long lcpl_id, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (cur_name == null || dst_name == null) {
+ throw new NullPointerException("cur_name or dst_name is null");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment cur_name_segment = arena.allocateFrom(cur_name);
+ MemorySegment dst_name_segment = arena.allocateFrom(dst_name);
+ // Call the native method to create the hard link
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Lcreate_hard(cur_loc, cur_name_segment, dst_loc,
+ dst_name_segment, lcpl_id, lapl_id) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Lcreate_soft creates a new soft link to an object in an HDF5 file.
+ *
+ * @param link_target
+ * IN: Path to the target object, which is not required to exist.
+ * @param link_loc_id
+ * IN: The file or group identifier for the new link.
+ * @param link_name
+ * IN: The name of the new link.
+ * @param lcpl_id
+ * IN: Link creation property list identifier
+ * @param lapl_id
+ * IN: Link access property list identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * link_name is null.
+ **/
+ public static void H5Lcreate_soft(String link_target, long link_loc_id, String link_name, long lcpl_id,
+ long lapl_id) throws HDF5LibraryException, NullPointerException
+ {
+ if (link_name == null) {
+ throw new NullPointerException("link_name is null");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment link_target_segment = arena.allocateFrom(link_target);
+ MemorySegment link_name_segment = arena.allocateFrom(link_name);
+ // Call the native method to create the soft link
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Lcreate_soft(link_target_segment, link_loc_id,
+ link_name_segment, lcpl_id, lapl_id) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Ldelete removes the link specified from a group.
+ *
+ * @param loc_id
+ * IN: Identifier of the file or group containing the object.
+ * @param name
+ * IN: Name of the link to delete.
+ * @param lapl_id
+ * IN: Link access property list identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static void H5Ldelete(long loc_id, String name, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(name);
+ // Call the native method to delete the link
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Ldelete(loc_id, name_segment, lapl_id) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Ldelete_by_idx removes the nth link in a group according to the specified order and in the specified
+ * index.
+ *
+ * @param loc_id
+ * IN: File or group identifier specifying location of subject group
+ * @param group_name
+ * IN: Name of subject group
+ * @param idx_type
+ * IN: Index or field which determines the order
+ * @param order
+ * IN: Order within field or index
+ * @param n
+ * IN: Link for which to retrieve information
+ * @param lapl_id
+ * IN: Link access property list identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * group_name is null.
+ **/
+ public static void H5Ldelete_by_idx(long loc_id, String group_name, int idx_type, int order, long n,
+ long lapl_id) throws HDF5LibraryException, NullPointerException
+ {
+ if (group_name == null) {
+ throw new NullPointerException("group_name is null");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(group_name);
+ // Call the native method to delete the link by index
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Ldelete_by_idx(loc_id, name_segment, idx_type, order, n,
+ lapl_id) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Lexists checks if a link with a particular name exists in a group.
+ *
+ * @param loc_id
+ * IN: Identifier of the file or group to query.
+ * @param name
+ * IN: The name of the link to check.
+ * @param lapl_id
+ * IN: Link access property list identifier
+ *
+ * @return a boolean, true if the name exists, otherwise false.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static boolean H5Lexists(long loc_id, String name, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+
+ boolean exists = false;
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(name);
+ // Call the native method to check if the link exists
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Lexists(loc_id, name_segment, lapl_id)) < 0) {
+ h5libraryError();
+ }
+ if (retVal == 0)
+ exists = false; // Name does not exist
+ else
+ exists = true; // Name exists
+ }
+ return exists;
+ }
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Lget_info returns information about the specified link.
+ *
+ * @param loc_id
+ * IN: Identifier of the file or group.
+ * @param name
+ * IN: Name of the link for which information is being sought.
+ * @param lapl_id
+ * IN: Link access property list identifier
+ *
+ * @return a buffer(H5L_info_t) for the link information.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static hdf.hdf5lib.structs.H5L_info_t H5Lget_info(long loc_id, String name, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+
+ hdf.hdf5lib.structs.H5L_info_t info = null;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(name);
+ MemorySegment linfo_segment = arena.allocate(org.hdfgroup.javahdf5.H5L_info2_t.sizeof());
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Lget_info2(loc_id, name_segment, linfo_segment, lapl_id) <
+ 0) {
+ h5libraryError();
+ }
+ info = new hdf.hdf5lib.structs.H5L_info_t(linfo_segment);
+ log.trace("H5Lget_info2: type={}", info.type);
+ if (info.type == H5L_TYPE_ERROR()) {
+ throw new HDF5LibraryException("Invalid link type");
+ }
+ }
+ return info;
+ }
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Lget_info_by_idx opens a named datatype at the location specified by loc_id and return an identifier
+ * for the datatype.
+ *
+ * @param loc_id
+ * IN: File or group identifier specifying location of subject group
+ * @param group_name
+ * IN: Name of subject group
+ * @param idx_type
+ * IN: Type of index
+ * @param order
+ * IN: Order within field or index
+ * @param n
+ * IN: Link for which to retrieve information
+ * @param lapl_id
+ * IN: Link access property list identifier
+ *
+ * @return a buffer(H5L_info_t) for the link information.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * group_name is null.
+ **/
+ public static hdf.hdf5lib.structs.H5L_info_t
+ H5Lget_info_by_idx(long loc_id, String group_name, int idx_type, int order, long n, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (group_name == null) {
+ throw new NullPointerException("group_name is null");
+ }
+
+ hdf.hdf5lib.structs.H5L_info_t info = null;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(group_name);
+ MemorySegment linfo_segment = arena.allocate(org.hdfgroup.javahdf5.H5L_info2_t.sizeof());
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Lget_info_by_idx2(loc_id, name_segment, idx_type, order, n,
+ linfo_segment, lapl_id) < 0) {
+ h5libraryError();
+ }
+ info = new hdf.hdf5lib.structs.H5L_info_t(linfo_segment);
+ log.trace("H5Lget_info_by_idx2: type={}", info.type);
+ if (info.type == H5L_TYPE_ERROR()) {
+ throw new HDF5LibraryException("Invalid link type");
+ }
+ }
+ return info;
+ }
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Lget_name_by_idx retrieves name of the nth link in a group, according to the order within a specified
+ * field or index.
+ *
+ * @param loc_id
+ * IN: File or group identifier specifying location of subject group
+ * @param group_name
+ * IN: Name of subject group
+ * @param idx_type
+ * IN: Type of index
+ * @param order
+ * IN: Order within field or index
+ * @param n
+ * IN: Link for which to retrieve information
+ * @param lapl_id
+ * IN: Link access property list identifier
+ *
+ * @return a String for the link name.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * group_name is null.
+ **/
+ public static String H5Lget_name_by_idx(long loc_id, String group_name, int idx_type, int order, long n,
+ long lapl_id) throws HDF5LibraryException, NullPointerException
+ {
+ if (group_name == null) {
+ throw new NullPointerException("group_name is null");
+ }
+
+ String ret_name = null;
+ try (Arena arena = Arena.ofConfined()) {
+ long buf_size = -1;
+
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(group_name);
+ /* Get the length of the link name */
+ if ((buf_size = org.hdfgroup.javahdf5.hdf5_h_1.H5Lget_name_by_idx(
+ loc_id, name_segment, idx_type, order, n, MemorySegment.NULL, 0, lapl_id)) < 0)
+ h5libraryError();
+ MemorySegment link_segment = arena.allocate(buf_size + 1); // Allocate space for the link name
+ /* Get the link name */
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Lget_name_by_idx(loc_id, name_segment, idx_type, order, n,
+ link_segment, buf_size + 1, lapl_id) < 0) {
+ h5libraryError();
+ }
+ ret_name = link_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return ret_name;
+ }
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Lget_value returns the link value of a symbolic link. Note that this function is a combination
+ * of H5Lget_info(), H5Lget_val() and for external links, H5Lunpack_elink_val.
+ *
+ * @param loc_id
+ * IN: Identifier of the file or group containing the object.
+ * @param name
+ * IN: Name of the symbolic link.
+ * @param link_value
+ * OUT: Path of the symbolic link, or the file_name and path of an external file.
+ * @param lapl_id
+ * IN: Link access property list identifier
+ *
+ * @return the link type
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Lget_value(long loc_id, String name, String[] link_value, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ if (link_value == null || link_value.length < 2) {
+ throw new HDF5FunctionArgumentException("link_value is null or not of length 2");
+ }
+
+ int link_type = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(name);
+ MemorySegment linfo_segment = arena.allocate(org.hdfgroup.javahdf5.H5L_info2_t.sizeof());
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Lget_info2(loc_id, name_segment, linfo_segment, lapl_id) <
+ 0) {
+ h5libraryError();
+ }
+ // Unpack the H5L_info2_t from the MemorySegment
+ MemorySegment u_segment = org.hdfgroup.javahdf5.H5L_info2_t.u(linfo_segment);
+ long val_size = org.hdfgroup.javahdf5.H5L_info2_t.u.val_size(u_segment);
+ link_type = org.hdfgroup.javahdf5.H5L_info2_t.type(linfo_segment);
+ if (link_type == H5L_TYPE_ERROR()) {
+ throw new HDF5LibraryException("Invalid link type");
+ }
+ if (link_type == H5L_TYPE_HARD()) {
+ throw new HDF5FunctionArgumentException("hard links are unsupported");
+ }
+ MemorySegment link_value_segment =
+ arena.allocate(val_size + 1); // Allocate space for the link path
+
+ // Call the native method to get the link value
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Lget_val(loc_id, name_segment, link_value_segment,
+ val_size + 1, lapl_id) < 0) {
+ h5libraryError();
+ }
+ if (link_type == H5L_TYPE_EXTERNAL()) {
+ MemorySegment file_name_segment = arena.allocate(val_size + 1);
+ MemorySegment obj_name_segment = arena.allocate(val_size + 1);
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Lunpack_elink_val(link_value_segment, val_size + 1,
+ MemorySegment.NULL, file_name_segment,
+ obj_name_segment) < 0)
+ h5libraryError();
+ // Convert the MemorySegment to a String
+ MemorySegment obj_name_segment_Address = obj_name_segment.getAtIndex(ValueLayout.ADDRESS, 0);
+ MemorySegment retrieved_obj_name_segment =
+ obj_name_segment_Address.reinterpret(val_size, arena, null);
+ MemorySegment file_name_segment_Address =
+ file_name_segment.getAtIndex(ValueLayout.ADDRESS, 0);
+ MemorySegment retrieved_file_name_segment =
+ file_name_segment_Address.reinterpret(val_size, arena, null);
+
+ link_value[0] = retrieved_obj_name_segment.getString(0, StandardCharsets.UTF_8);
+ link_value[1] = retrieved_file_name_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ else if (link_type == H5L_TYPE_SOFT()) {
+ // Convert the MemorySegment to a String
+ link_value[0] = link_value_segment.getString(0, StandardCharsets.UTF_8);
+ link_value[1] = null;
+ }
+ else
+ throw new HDF5LibraryException("H5Lget_val: invalid link type");
+ }
+ return link_type;
+ }
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Lget_value_by_idx retrieves value of the nth link in a group, according to the order within an index.
+ * Note that this function is a combination of H5Lget_info(), H5Lget_val() and for external links,
+ * H5Lunpack_elink_val.
+ *
+ * @param loc_id
+ * IN: File or group identifier specifying location of subject group
+ * @param group_name
+ * IN: Name of subject group
+ * @param idx_type
+ * IN: Type of index
+ * @param order
+ * IN: Order within field or index
+ * @param n
+ * IN: Link for which to retrieve information
+ * @param link_value
+ * OUT: Path of the symbolic link, or the file_name and path of an external file.
+ * @param lapl_id
+ * IN: Link access property list identifier
+ *
+ * @return the link type
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * group_name is null.
+ **/
+ public static int H5Lget_value_by_idx(long loc_id, String group_name, int idx_type, int order, long n,
+ String[] link_value, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (group_name == null) {
+ throw new NullPointerException("group_name is null");
+ }
+
+ int link_type = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(group_name);
+ MemorySegment linfo_segment = arena.allocate(org.hdfgroup.javahdf5.H5L_info2_t.sizeof());
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Lget_info_by_idx2(loc_id, name_segment, idx_type, order, n,
+ linfo_segment, lapl_id) < 0) {
+ h5libraryError();
+ }
+ // Unpack the H5L_info2_t from the MemorySegment
+ MemorySegment u_segment = org.hdfgroup.javahdf5.H5L_info2_t.u(linfo_segment);
+ long val_size = org.hdfgroup.javahdf5.H5L_info2_t.u.val_size(u_segment);
+ link_type = org.hdfgroup.javahdf5.H5L_info2_t.type(linfo_segment);
+ if (link_type == H5L_TYPE_ERROR()) {
+ throw new HDF5LibraryException("Invalid link type");
+ }
+ if (link_type == H5L_TYPE_HARD()) {
+ throw new HDF5FunctionArgumentException("hard links are unsupported");
+ }
+ MemorySegment link_value_segment =
+ arena.allocate(val_size + 1); // Allocate space for the link path
+
+ // Call the native method to get the link value
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Lget_val_by_idx(loc_id, name_segment, idx_type, order, n,
+ link_value_segment, val_size + 1,
+ lapl_id) < 0) {
+ h5libraryError();
+ }
+ if (link_type == H5L_TYPE_EXTERNAL()) {
+ MemorySegment file_name_segment = arena.allocate(val_size + 1);
+ MemorySegment obj_name_segment = arena.allocate(val_size + 1);
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Lunpack_elink_val(link_value_segment, val_size + 1,
+ MemorySegment.NULL, file_name_segment,
+ obj_name_segment) < 0)
+ h5libraryError();
+ // Convert the MemorySegment to a String
+ MemorySegment obj_name_segment_Address = obj_name_segment.getAtIndex(ValueLayout.ADDRESS, 0);
+ MemorySegment retrieved_obj_name_segment =
+ obj_name_segment_Address.reinterpret(val_size, arena, null);
+ MemorySegment file_name_segment_Address =
+ file_name_segment.getAtIndex(ValueLayout.ADDRESS, 0);
+ MemorySegment retrieved_file_name_segment =
+ file_name_segment_Address.reinterpret(val_size, arena, null);
+
+ link_value[0] = retrieved_obj_name_segment.getString(0, StandardCharsets.UTF_8);
+ link_value[1] = retrieved_file_name_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ else {
+ // Convert the MemorySegment to a String
+ link_value[0] = link_value_segment.getString(0, StandardCharsets.UTF_8);
+ link_value[1] = null;
+ }
+ }
+ return link_type;
+ }
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Literate iterates through links in a group.
+ *
+ * @param grp_id
+ * IN: Identifier specifying subject group
+ * @param idx_type
+ * IN: Type of index
+ * @param order
+ * IN: Order of iteration within index
+ * @param idx
+ * IN: Iteration position at which to start
+ * @param op
+ * IN: Callback function passing data regarding the link to the calling application
+ * @param op_data
+ * IN: User-defined pointer to data required by the application for its processing of the link
+ *
+ * @return returns the return value of the first operator that returns a positive value, or zero if all
+ * members were processed with no operator returning non-zero.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Literate(long grp_id, int idx_type, int order, long idx,
+ hdf.hdf5lib.callbacks.H5L_iterate_t op,
+ hdf.hdf5lib.callbacks.H5L_iterate_opdata_t op_data)
+ throws HDF5LibraryException
+ {
+ if (op == null) {
+ throw new NullPointerException("op is null");
+ }
+ if (op_data == null) {
+ throw new NullPointerException("op_data is null");
+ }
+ int status = -1;
+ long start_idx = idx;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment start_idx_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ start_idx_segment.set(ValueLayout.JAVA_LONG, 0, start_idx);
+ MemorySegment op_segment = H5L_iterate2_t.allocate(op, arena);
+ MemorySegment op_data_segment =
+ Linker.nativeLinker().upcallStub(H5Literate2$handle(), H5Literate2$descriptor(), arena);
+
+ if ((status = org.hdfgroup.javahdf5.hdf5_h_1.H5Literate2(
+ grp_id, idx_type, order, start_idx_segment, op_segment, op_data_segment)) < 0)
+ h5libraryError();
+ }
+ return status;
+ }
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Literate_by_name iterates through links in a group.
+ *
+ * @param loc_id
+ * IN: Identifier specifying subject group
+ * @param group_name
+ * IN: Name of subject group
+ * @param idx_type
+ * IN: Type of index
+ * @param order
+ * IN: Order of iteration within index
+ * @param idx
+ * IN: Iteration position at which to start
+ * @param op
+ * IN: Callback function passing data regarding the link to the calling application
+ * @param op_data
+ * IN: User-defined pointer to data required by the application for its processing of the link
+ * @param lapl_id
+ * IN: Link access property list identifier
+ *
+ * @return returns the return value of the first operator that returns a positive value, or zero if all
+ * members were processed with no operator returning non-zero.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * group_name is null.
+ **/
+ public static int H5Literate_by_name(long loc_id, String group_name, int idx_type, int order, long idx,
+ hdf.hdf5lib.callbacks.H5L_iterate_t op,
+ hdf.hdf5lib.callbacks.H5L_iterate_opdata_t op_data, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (group_name == null) {
+ throw new NullPointerException("group_name is null");
+ }
+ if (op == null) {
+ throw new NullPointerException("op is null");
+ }
+ if (op_data == null) {
+ throw new NullPointerException("op_data is null");
+ }
+
+ int status = -1;
+ long start_idx = idx;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(group_name);
+ MemorySegment start_idx_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ start_idx_segment.set(ValueLayout.JAVA_LONG, 0, start_idx);
+ MemorySegment op_segment = H5L_iterate2_t.allocate(op, arena);
+ MemorySegment op_data_segment = Linker.nativeLinker().upcallStub(
+ H5Literate_by_name2$handle(), H5Literate_by_name2$descriptor(), arena);
+ // Call the native method to visit the links
+ if ((status = org.hdfgroup.javahdf5.hdf5_h_1.H5Literate_by_name2(
+ loc_id, name_segment, idx_type, order, start_idx_segment, op_segment, op_data_segment,
+ lapl_id)) < 0)
+ h5libraryError();
+ }
+ return status;
+ }
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Lmove renames a link within an HDF5 file.
+ *
+ * @param src_loc
+ * IN: Original file or group identifier.
+ * @param src_name
+ * IN: Original link name.
+ * @param dst_loc
+ * IN: Destination file or group identifier.
+ * @param dst_name
+ * IN: New link name.
+ * @param lcpl_id
+ * IN: Link creation property list identifier to be associated with the new link.
+ * @param lapl_id
+ * IN: Link access property list identifier to be associated with the new link.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static void H5Lmove(long src_loc, String src_name, long dst_loc, String dst_name, long lcpl_id,
+ long lapl_id) throws HDF5LibraryException, NullPointerException
+ {
+ if (src_name == null || dst_name == null) {
+ throw new NullPointerException("src_name or dst_name is null");
+ }
+ if (src_loc < 0) {
+ throw new HDF5FunctionArgumentException("Negative src_loc");
+ }
+ if (dst_loc < 0) {
+ throw new HDF5FunctionArgumentException("Negative dst_loc");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment src_name_segment = arena.allocateFrom(src_name);
+ MemorySegment dst_name_segment = arena.allocateFrom(dst_name);
+ // Call the native method to move the link
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Lmove(src_loc, src_name_segment, dst_loc, dst_name_segment,
+ lcpl_id, lapl_id) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Lvisit recursively visits all links starting from a specified group.
+ *
+ * @param grp_id
+ * IN: Identifier specifying subject group
+ * @param idx_type
+ * IN: Type of index
+ * @param order
+ * IN: Order of iteration within index
+ * @param op
+ * IN: Callback function passing data regarding the link to the calling application
+ * @param op_data
+ * IN: User-defined pointer to data required by the application for its processing of the link
+ *
+ * @return returns the return value of the first operator that returns a positive value, or zero if all
+ * members were processed with no operator returning non-zero.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Lvisit(long grp_id, int idx_type, int order, hdf.hdf5lib.callbacks.H5L_iterate_t op,
+ hdf.hdf5lib.callbacks.H5L_iterate_opdata_t op_data) throws HDF5LibraryException
+ {
+ if (op == null) {
+ throw new NullPointerException("op is null");
+ }
+ if (op_data == null) {
+ throw new NullPointerException("op_data is null");
+ }
+
+ int status = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ // Call the native method to visit the links
+ MemorySegment op_segment = H5L_iterate2_t.allocate(op, arena);
+ MemorySegment op_data_segment =
+ Linker.nativeLinker().upcallStub(H5Lvisit2$handle(), H5Lvisit2$descriptor(), arena);
+ if ((status = org.hdfgroup.javahdf5.hdf5_h_1.H5Lvisit2(grp_id, idx_type, order, op_segment,
+ op_data_segment)) < 0)
+ h5libraryError();
+ }
+ return status;
+ }
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Lvisit_by_name recursively visits all links starting from a specified group.
+ *
+ * @param loc_id
+ * IN: Identifier specifying subject group
+ * @param group_name
+ * IN: Name of subject group
+ * @param idx_type
+ * IN: Type of index
+ * @param order
+ * IN: Order of iteration within index
+ * @param op
+ * IN: Callback function passing data regarding the link to the calling application
+ * @param op_data
+ * IN: User-defined pointer to data required by the application for its processing of the link
+ * @param lapl_id
+ * IN: link access property
+ *
+ * @return returns the return value of the first operator that returns a positive value, or zero if all
+ * members were processed with no operator returning non-zero.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * group_name is null.
+ **/
+ public static int H5Lvisit_by_name(long loc_id, String group_name, int idx_type, int order,
+ hdf.hdf5lib.callbacks.H5L_iterate_t op,
+ hdf.hdf5lib.callbacks.H5L_iterate_opdata_t op_data, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (group_name == null) {
+ throw new NullPointerException("group_name is null");
+ }
+ if (op == null) {
+ throw new NullPointerException("op is null");
+ }
+ if (op_data == null) {
+ throw new NullPointerException("op_data is null");
+ }
+
+ int status = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(group_name);
+ MemorySegment op_segment = H5L_iterate2_t.allocate(op, arena);
+ MemorySegment op_data_segment =
+ Linker.nativeLinker().upcallStub(H5Lvisit2$handle(), H5Lvisit2$descriptor(), arena);
+ // Call the native method to visit the links
+ if ((status = org.hdfgroup.javahdf5.hdf5_h_1.H5Lvisit_by_name2(
+ loc_id, name_segment, idx_type, order, op_segment, op_data_segment, lapl_id)) < 0)
+ h5libraryError();
+ }
+ return status;
+ }
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Lis_registered tests whether a user-defined link class is currently registered,
+ * either by the HDF5 Library or by the user through the use of H5Lregister.
+ *
+ * @param link_cls_id
+ * IN: User-defined link class identifier
+ *
+ * @return Returns a positive value if the link class has been registered and zero if it is unregistered.
+ * Otherwise returns a negative value; this may mean that the identifier is not a valid
+ * user-defined class identifier.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Lis_registered(int link_cls_id) throws HDF5LibraryException
+ {
+ int status = -1;
+ if ((status = org.hdfgroup.javahdf5.hdf5_h_1.H5Lis_registered(link_cls_id)) < 0) {
+ h5libraryError();
+ }
+ return status;
+ }
+
+ /**
+ * @ingroup JH5L
+ *
+ * H5Lunregister unregisters a class of user-defined links, preventing them from being traversed, queried,
+ * moved, etc.
+ *
+ * @param link_cls_id
+ * IN: User-defined link class identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Lunregister(int link_cls_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Lunregister(link_cls_id) < 0) {
+ h5libraryError();
+ }
+ }
+
+ // /////// unimplemented ////////
+ // herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name,
+ // H5L_type_t link_type, const void *udata, size_t udata_size, hid_t lcpl_id,
+ // hid_t lapl_id);
+
+ // herr_t H5Lregister(const H5L_class_t *cls);
+
+ // herr_t H5Lunpack_elink_val(const void *ext_linkval/*in*/, size_t link_size,
+ // unsigned *flags, const char **filename/*out*/, const char **obj_path /*out*/);
+ // herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf/*out*/,
+ // size_t size, hid_t lapl_id);
+ // herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name,
+ // H5_index_t idx_type, H5_iter_order_t order, hsize_t n,
+ // void *buf/*out*/, size_t size, hid_t lapl_id);
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5MM: Memory Management Interface API Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+
+ // /////// unimplemented ////////
+ // typedef void *(*H5MM_allocate_t)(size_t size, void *alloc_info);
+ // typedef void (*H5MM_free_t)(void *mem, void *free_info);
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5O: HDF5 1.8 Object Interface API Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+ /**
+ * @defgroup JH5O Java Object (H5O) Interface
+ *
+ * @see H5O, C-API
+ *
+ * @see @ref H5O_UG, User Guide
+ **/
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oclose closes the group, dataset, or named datatype specified.
+ *
+ * @param object_id
+ * IN: Object identifier
+ *
+ * @return non-negative on success
+ **/
+ public static int H5Oclose(long object_id)
+ {
+ log.trace("OPEN_IDS: H5Oclose remove {}", object_id);
+ OPEN_IDS.remove(object_id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Oclose(object_id);
+ if (retVal < 0)
+ retVal = 0;
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Ocopy copies the group, dataset or named datatype specified from the file or group specified by
+ * source location to the destination location.
+ *
+ * @param src_loc_id
+ * IN: Object identifier indicating the location of the source object to be copied
+ * @param src_name
+ * IN: Name of the source object to be copied
+ * @param dst_loc_id
+ * IN: Location identifier specifying the destination
+ * @param dst_name
+ * IN: Name to be assigned to the new copy
+ * @param ocpypl_id
+ * IN: Object copy property list
+ * @param lcpl_id
+ * IN: Link creation property list for the new hard link
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static void H5Ocopy(long src_loc_id, String src_name, long dst_loc_id, String dst_name,
+ long ocpypl_id, long lcpl_id) throws HDF5LibraryException, NullPointerException
+ {
+ if (src_name == null || dst_name == null) {
+ throw new NullPointerException("src_name or dst_name is null");
+ }
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment src_name_segment = arena.allocateFrom(src_name);
+ MemorySegment dst_name_segment = arena.allocateFrom(dst_name);
+ // Call the native method to copy the object
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Ocopy(src_loc_id, src_name_segment, dst_loc_id,
+ dst_name_segment, ocpypl_id, lcpl_id) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oget_comment retrieves the comment for the specified object.
+ *
+ * @param obj_id
+ * IN: File or group identifier
+ *
+ * @return the comment
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static String H5Oget_comment(long obj_id)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ long buf_size = -1;
+
+ if ((buf_size = org.hdfgroup.javahdf5.hdf5_h_2.H5Oget_comment(obj_id, MemorySegment.NULL, 0)) < 0)
+ h5libraryError();
+
+ String comment = null;
+ if (buf_size > 0) {
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment comment_segment = arena.allocate(buf_size + 1);
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Oget_comment(obj_id, comment_segment, buf_size + 1) < 0)
+ h5libraryError();
+ if (comment_segment != MemorySegment.NULL)
+ comment = comment_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ }
+ return comment;
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oset_comment sets the comment for the specified object.
+ *
+ * @param obj_id
+ * IN: Identifier of the target object
+ * @param comment
+ * IN: The new comment.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * comment is null.
+ *
+ * @deprecated As of HDF5 1.8 in favor of object attributes.
+ **/
+ @Deprecated
+ public static void H5Oset_comment(long obj_id, String comment)
+ throws HDF5LibraryException, NullPointerException
+ {
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment comment_segment = MemorySegment.NULL;
+ if (comment != null)
+ comment_segment = arena.allocateFrom(comment);
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Oset_comment(obj_id, comment_segment) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oget_comment_by_name retrieves the comment for an object.
+ *
+ * @param loc_id
+ * IN: Identifier of a file, group, dataset, or named datatype.
+ * @param name
+ * IN: Relative name of the object whose comment is to be set or reset.
+ * @param lapl_id
+ * IN: Link access property list identifier.
+ *
+ * @return the comment
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static String H5Oget_comment_by_name(long loc_id, String name, long lapl_id)
+ throws HDF5LibraryException, HDF5FunctionArgumentException, NullPointerException
+ {
+ long buf_size = -1;
+
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ if ((buf_size = org.hdfgroup.javahdf5.hdf5_h_2.H5Oget_comment_by_name(
+ loc_id, name_segment, MemorySegment.NULL, 0, lapl_id)) < 0)
+ h5libraryError();
+ }
+
+ String comment = null;
+ if (buf_size > 0) {
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ MemorySegment comment_segment = arena.allocate(buf_size + 1);
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Oget_comment_by_name(
+ loc_id, name_segment, comment_segment, buf_size + 1, lapl_id) < 0)
+ h5libraryError();
+ if (comment_segment != MemorySegment.NULL)
+ comment = comment_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ }
+ return comment;
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oset_comment_by_name sets the comment for the specified object.
+ *
+ * @param loc_id
+ * IN: Identifier of a file, group, dataset, or named datatype.
+ * @param name
+ * IN: Relative name of the object whose comment is to be set or reset.
+ * @param comment
+ * IN: The new comment.
+ * @param lapl_id
+ * IN: Link access property list identifier.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ *
+ * @deprecated As of HDF5 1.8 in favor of object attributes.
+ **/
+ @Deprecated
+ public static void H5Oset_comment_by_name(long loc_id, String name, String comment, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ MemorySegment comment_segment = MemorySegment.NULL;
+ if (comment != null)
+ comment_segment = arena.allocateFrom(comment);
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Oset_comment_by_name(loc_id, name_segment, comment_segment,
+ lapl_id) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oget_info retrieves the metadata for an object specified by an identifier.
+ *
+ * @param loc_id
+ * IN: Identifier for target object
+ *
+ * @return object information
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static hdf.hdf5lib.structs.H5O_info_t H5Oget_info(long loc_id) throws HDF5LibraryException
+ {
+ return H5Oget_info(loc_id, HDF5Constants.H5O_INFO_ALL);
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oget_info retrieves the metadata for an object specified by an identifier.
+ *
+ * @param loc_id
+ * IN: Identifier for target object
+ * @param fields
+ * IN: Object fields to select
+ *
+ * @return object information
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static hdf.hdf5lib.structs.H5O_info_t H5Oget_info(long loc_id, int fields)
+ throws HDF5LibraryException
+ {
+ hdf.hdf5lib.structs.H5O_info_t info = null;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment info_segment = arena.allocate(H5O_info2_t.sizeof());
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Oget_info3(loc_id, info_segment, fields) < 0)
+ h5libraryError();
+ // Unpack the H5O_info_t from the MemorySegment
+ hdf.hdf5lib.structs.H5O_token_t token = new hdf.hdf5lib.structs.H5O_token_t(
+ H5O_info2_t.token(info_segment).toArray(ValueLayout.JAVA_BYTE));
+ info = new hdf.hdf5lib.structs.H5O_info_t(
+ H5O_info2_t.fileno(info_segment), token, H5O_info2_t.type(info_segment),
+ H5O_info2_t.rc(info_segment), H5O_info2_t.atime(info_segment),
+ H5O_info2_t.mtime(info_segment), H5O_info2_t.ctime(info_segment),
+ H5O_info2_t.btime(info_segment), H5O_info2_t.num_attrs(info_segment));
+ }
+ return info;
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oget_info_by_idx retrieves the metadata for an object, identifying the object by an index position.
+ *
+ * @param loc_id
+ * IN: File or group identifier
+ * @param group_name
+ * IN: Name of group, relative to loc_id, in which object is located
+ * @param idx_type
+ * IN: Type of index by which objects are ordered
+ * @param order
+ * IN: Order of iteration within index
+ * @param n
+ * IN: Object to open
+ * @param lapl_id
+ * IN: Access property list identifier for the link pointing to the object (Not currently used;
+ * pass as H5P_DEFAULT.)
+ *
+ * @return object information
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static hdf.hdf5lib.structs.H5O_info_t
+ H5Oget_info_by_idx(long loc_id, String group_name, int idx_type, int order, long n, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ return H5Oget_info_by_idx(loc_id, group_name, idx_type, order, n, HDF5Constants.H5O_INFO_ALL,
+ lapl_id);
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oget_info_by_idx retrieves the metadata for an object, identifying the object by an index position.
+ *
+ * @param loc_id
+ * IN: File or group identifier
+ * @param group_name
+ * IN: Name of group, relative to loc_id, in which object is located
+ * @param idx_type
+ * IN: Type of index by which objects are ordered
+ * @param order
+ * IN: Order of iteration within index
+ * @param n
+ * IN: Object to open
+ * @param fields
+ * IN: Object fields to select
+ * @param lapl_id
+ * IN: Access property list identifier for the link pointing to the object (Not currently used;
+ * pass as H5P_DEFAULT.)
+ *
+ * @return object information
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static hdf.hdf5lib.structs.H5O_info_t H5Oget_info_by_idx(long loc_id, String group_name,
+ int idx_type, int order, long n,
+ int fields, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (group_name == null) {
+ throw new NullPointerException("group_name is null");
+ }
+
+ hdf.hdf5lib.structs.H5O_info_t info = null;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(group_name);
+ MemorySegment info_segment = arena.allocate(H5O_info2_t.sizeof());
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Oget_info_by_idx3(loc_id, name_segment, idx_type, order, n,
+ info_segment, fields, lapl_id) < 0)
+ h5libraryError();
+ // Unpack the H5O_info_t from the MemorySegment
+ hdf.hdf5lib.structs.H5O_token_t token = new hdf.hdf5lib.structs.H5O_token_t(
+ H5O_info2_t.token(info_segment).toArray(ValueLayout.JAVA_BYTE));
+ info = new hdf.hdf5lib.structs.H5O_info_t(
+ H5O_info2_t.fileno(info_segment), token, H5O_info2_t.type(info_segment),
+ H5O_info2_t.rc(info_segment), H5O_info2_t.atime(info_segment),
+ H5O_info2_t.mtime(info_segment), H5O_info2_t.ctime(info_segment),
+ H5O_info2_t.btime(info_segment), H5O_info2_t.num_attrs(info_segment));
+ }
+ return info;
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oget_info_by_name retrieves the metadata for an object, identifying the object by location and
+ * relative name.
+ *
+ * @param loc_id
+ * IN: File or group identifier specifying location of group in which object is located
+ * @param name
+ * IN: Relative name of group
+ * @param lapl_id
+ * IN: Access property list identifier for the link pointing to the object (Not currently used;
+ * pass as H5P_DEFAULT.)
+ *
+ * @return object information
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static hdf.hdf5lib.structs.H5O_info_t H5Oget_info_by_name(long loc_id, String name, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ return H5Oget_info_by_name(loc_id, name, HDF5Constants.H5O_INFO_ALL, lapl_id);
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oget_info_by_name retrieves the metadata for an object, identifying the object by location and
+ * relative name.
+ *
+ * @param loc_id
+ * IN: File or group identifier specifying location of group in which object is located
+ * @param name
+ * IN: Relative name of group
+ * @param fields
+ * IN: Object fields to select
+ * @param lapl_id
+ * IN: Access property list identifier for the link pointing to the object (Not currently used;
+ * pass as H5P_DEFAULT.)
+ *
+ * @return object information
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static hdf.hdf5lib.structs.H5O_info_t H5Oget_info_by_name(long loc_id, String name, int fields,
+ long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+
+ hdf.hdf5lib.structs.H5O_info_t info = null;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ MemorySegment info_segment = arena.allocate(H5O_info2_t.sizeof());
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Oget_info_by_name3(loc_id, name_segment, info_segment,
+ fields, lapl_id) < 0)
+ h5libraryError();
+ // Unpack the H5O_info_t from the MemorySegment
+ hdf.hdf5lib.structs.H5O_token_t token = new hdf.hdf5lib.structs.H5O_token_t(
+ H5O_info2_t.token(info_segment).toArray(ValueLayout.JAVA_BYTE));
+ info = new hdf.hdf5lib.structs.H5O_info_t(
+ H5O_info2_t.fileno(info_segment), token, H5O_info2_t.type(info_segment),
+ H5O_info2_t.rc(info_segment), H5O_info2_t.atime(info_segment),
+ H5O_info2_t.mtime(info_segment), H5O_info2_t.ctime(info_segment),
+ H5O_info2_t.btime(info_segment), H5O_info2_t.num_attrs(info_segment));
+ }
+ return info;
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Olink creates a new hard link to an object in an HDF5 file.
+ *
+ * @param obj_id
+ * IN: Object to be linked.
+ * @param new_loc_id
+ * IN: File or group identifier specifying location at which object is to be linked.
+ * @param new_name
+ * IN: Relative name of link to be created.
+ * @param lcpl_id
+ * IN: Link creation property list identifier.
+ * @param lapl_id
+ * IN: Access property list identifier.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static void H5Olink(long obj_id, long new_loc_id, String new_name, long lcpl_id, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (new_name == null) {
+ throw new NullPointerException("new_name is null");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(new_name);
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Olink(obj_id, new_loc_id, name_segment, lcpl_id, lapl_id) <
+ 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oopen opens a group, dataset, or named datatype specified by a location and a path name.
+ *
+ * @param loc_id
+ * IN: File or group identifier
+ * @param name
+ * IN: Relative path to the object
+ * @param lapl_id
+ * IN: Access property list identifier for the link pointing to the object
+ *
+ * @return an object identifier for the opened object
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static long H5Oopen(long loc_id, String name, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ long id = H5I_INVALID_HID();
+ if (name == null) {
+ throw new NullPointerException("Object name cannot be null");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(name);
+ id = org.hdfgroup.javahdf5.hdf5_h_2.H5Oopen(loc_id, name_segment, lapl_id);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Oopen add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Ovisit recursively visits all objects accessible from a specified object.
+ *
+ * @param obj_id
+ * IN: Identifier of the object at which the recursive iteration begins.
+ * @param idx_type
+ * IN: Type of index
+ * @param order
+ * IN: Order of iteration within index
+ * @param op
+ * IN: Callback function passing data regarding the object to the calling application
+ * @param op_data
+ * IN: User-defined pointer to data required by the application for its processing of the
+ * object
+ *
+ * @return returns the return value of the first operator that returns a positive value, or zero if all
+ * members were processed with no operator returning non-zero.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Ovisit(long obj_id, int idx_type, int order, hdf.hdf5lib.callbacks.H5O_iterate_t op,
+ hdf.hdf5lib.callbacks.H5O_iterate_opdata_t op_data)
+ throws HDF5LibraryException, NullPointerException
+ {
+ return H5Ovisit(obj_id, idx_type, order, op, op_data, HDF5Constants.H5O_INFO_ALL);
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Ovisit recursively visits all objects accessible from a specified object.
+ *
+ * @param obj_id
+ * IN: Identifier of the object at which the recursive iteration begins.
+ * @param idx_type
+ * IN: Type of index
+ * @param order
+ * IN: Order of iteration within index
+ * @param op
+ * IN: Callback function passing data regarding the object to the calling application
+ * @param op_data
+ * IN: User-defined pointer to data required by the application for its processing of the
+ * object
+ * @param fields
+ * IN: Object fields to select
+ *
+ * @return returns the return value of the first operator that returns a positive value, or zero if all
+ * members were processed with no operator returning non-zero.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Ovisit(long obj_id, int idx_type, int order, hdf.hdf5lib.callbacks.H5O_iterate_t op,
+ hdf.hdf5lib.callbacks.H5O_iterate_opdata_t op_data, int fields)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (op == null) {
+ throw new NullPointerException("op is null");
+ }
+ if (op_data == null) {
+ throw new NullPointerException("op_data is null");
+ }
+
+ int status = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ // Call the native method to visit the objects
+ MemorySegment op_segment = H5O_iterate2_t.allocate(op, arena);
+ MemorySegment op_data_segment =
+ Linker.nativeLinker().upcallStub(H5Ovisit3$handle(), H5Ovisit3$descriptor(), arena);
+ if ((status = org.hdfgroup.javahdf5.hdf5_h_1.H5Ovisit3(obj_id, idx_type, order, op_segment,
+ op_data_segment, fields)) < 0)
+ h5libraryError();
+ }
+ return status;
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Ovisit_by_name recursively visits all objects starting from a specified object.
+ *
+ * @param loc_id
+ * IN: File or group identifier
+ * @param obj_name
+ * IN: Relative path to the object
+ * @param idx_type
+ * IN: Type of index
+ * @param order
+ * IN: Order of iteration within index
+ * @param op
+ * IN: Callback function passing data regarding the object to the calling application
+ * @param op_data
+ * IN: User-defined pointer to data required by the application for its processing of the
+ * object
+ * @param lapl_id
+ * IN: Link access property list identifier
+ *
+ * @return returns the return value of the first operator that returns a positive value, or zero if all
+ * members were processed with no operator returning non-zero.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Ovisit_by_name(long loc_id, String obj_name, int idx_type, int order,
+ hdf.hdf5lib.callbacks.H5O_iterate_t op,
+ hdf.hdf5lib.callbacks.H5O_iterate_opdata_t op_data, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ return H5Ovisit_by_name(loc_id, obj_name, idx_type, order, op, op_data, HDF5Constants.H5O_INFO_ALL,
+ lapl_id);
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Ovisit_by_name recursively visits all objects starting from a specified object.
+ *
+ * @param loc_id
+ * IN: File or group identifier
+ * @param obj_name
+ * IN: Relative path to the object
+ * @param idx_type
+ * IN: Type of index
+ * @param order
+ * IN: Order of iteration within index
+ * @param op
+ * IN: Callback function passing data regarding the object to the calling application
+ * @param op_data
+ * IN: User-defined pointer to data required by the application for its processing of the
+ * object
+ * @param fields
+ * IN: Object fields to select
+ * @param lapl_id
+ * IN: Link access property list identifier
+ *
+ * @return returns the return value of the first operator that returns a positive value, or zero if all
+ * members were processed with no operator returning non-zero.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Ovisit_by_name(long loc_id, String obj_name, int idx_type, int order,
+ hdf.hdf5lib.callbacks.H5O_iterate_t op,
+ hdf.hdf5lib.callbacks.H5O_iterate_opdata_t op_data, int fields,
+ long lapl_id) throws HDF5LibraryException, NullPointerException
+ {
+ if (obj_name == null) {
+ throw new NullPointerException("obj_name is null");
+ }
+ if (op == null) {
+ throw new NullPointerException("op is null");
+ }
+ if (op_data == null) {
+ throw new NullPointerException("op_data is null");
+ }
+
+ int status = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(obj_name);
+ MemorySegment op_segment = H5O_iterate2_t.allocate(op, arena);
+ MemorySegment op_data_segment = Linker.nativeLinker().upcallStub(
+ H5Ovisit_by_name3$handle(), H5Ovisit_by_name3$descriptor(), arena);
+ if ((status = org.hdfgroup.javahdf5.hdf5_h_2.H5Ovisit_by_name3(loc_id, name_segment, idx_type,
+ order, op_segment, op_data_segment,
+ fields, lapl_id)) < 0)
+ h5libraryError();
+ }
+ return status;
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oexists_by_name is used by an application to check that an existing link resolves to an object.
+ * Primarily, it is designed to check for dangling soft, external, or user-defined links.
+ *
+ * @param loc_id
+ * IN: File or group identifier
+ * @param obj_name
+ * IN: Relative path to the object
+ * @param lapl_id
+ * IN: Link access property list identifier
+ *
+ * @return Returns TRUE or FALSE if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static boolean H5Oexists_by_name(long loc_id, String obj_name, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ int retVal = -1;
+
+ if (obj_name == null) {
+ throw new NullPointerException("obj_name is null");
+ }
+
+ boolean exists = false;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(obj_name);
+ retVal = org.hdfgroup.javahdf5.hdf5_h_2.H5Oexists_by_name(loc_id, name_segment, lapl_id);
+ }
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ else if (retVal > 0) {
+ exists = true;
+ }
+ else {
+ exists = false;
+ }
+ return exists;
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Odecr_refcount decrements the hard link reference count for an object.
+ *
+ * @param object_id
+ * IN: Object identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Odecr_refcount(long object_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Odecr_refcount(object_id) < 0)
+ h5libraryError();
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oincr_refcount increments the hard link reference count for an object.
+ *
+ * @param object_id
+ * IN: Object identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Oincr_refcount(long object_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Oincr_refcount(object_id) < 0)
+ h5libraryError();
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oopen_by_token opens a group, dataset, or named datatype using its object token within an HDF5 file.
+ *
+ * @param loc_id
+ * IN: File or group identifier
+ * @param token
+ * IN: Object's token in the file
+ *
+ * @return an object identifier for the opened object
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * token is null
+ **/
+ public static long H5Oopen_by_token(long loc_id, hdf.hdf5lib.structs.H5O_token_t token)
+ throws HDF5LibraryException, NullPointerException
+ {
+ long id = H5I_INVALID_HID();
+ if (token == null) {
+ throw new NullPointerException("Token cannot be null");
+ }
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment token_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, token.data);
+ id = org.hdfgroup.javahdf5.hdf5_h_2.H5Oopen_by_token(loc_id, token_segment);
+ }
+
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Oopen_by_token add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oopen_by_idx opens the nth object in the group specified.
+ *
+ * @param loc_id
+ * IN: File or group identifier
+ * @param group_name
+ * IN: Name of group, relative to loc_id, in which object is located
+ * @param idx_type
+ * IN: Type of index by which objects are ordered
+ * @param order
+ * IN: Order of iteration within index
+ * @param n
+ * IN: Object to open
+ * @param lapl_id
+ * IN: Access property list identifier for the link pointing to the object
+ *
+ * @return an object identifier for the opened object
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * group_name is null.
+ **/
+ public static long H5Oopen_by_idx(long loc_id, String group_name, int idx_type, int order, long n,
+ long lapl_id) throws HDF5LibraryException, NullPointerException
+ {
+ long id = H5I_INVALID_HID();
+ if (group_name == null) {
+ throw new NullPointerException("Group name cannot be null");
+ }
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(group_name);
+ id = org.hdfgroup.javahdf5.hdf5_h_2.H5Oopen_by_idx(loc_id, name_segment, idx_type, order, n,
+ lapl_id);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Oopen_by_idx add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oflush causes all buffers associated with an object to be immediately flushed to disk without
+ * removing the data from the cache. object_id can be any named object associated with an HDF5 file
+ * including a dataset, a group, or a committed datatype.
+ *
+ * @param object_id
+ * IN: Identifier of the object to be flushed.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Oflush(long object_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Oflush(object_id) < 0)
+ h5libraryError();
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Orefresh causes all buffers associated with an object to be cleared and immediately re-loaded with
+ * updated contents from disk. This function essentially closes the object, evicts all metadata associated
+ * with it from the cache, and then re-opens the object. The reopened object is automatically
+ * re-registered with the same ID. object_id can be any named object associated with an HDF5 file
+ * including a dataset, a group, or a committed datatype.
+ *
+ * @param object_id
+ * IN: Identifier of the object to be refreshed.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Orefresh(long object_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Orefresh(object_id) < 0)
+ h5libraryError();
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Odisable_mdc_flushes corks an object, keeping dirty entries associated with the object in the
+ * metadata cache.
+ *
+ * @param object_id
+ * IN: Identifier of the object to be corked.
+ **/
+ public static void H5Odisable_mdc_flushes(long object_id)
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Odisable_mdc_flushes(object_id) < 0)
+ h5libraryError();
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oenable_mdc_flushes uncorks an object, keeping dirty entries associated with the object in the
+ * metadata cache.
+ *
+ * @param object_id
+ * IN: Identifier of the object to be uncorked.
+ **/
+ public static void H5Oenable_mdc_flushes(long object_id)
+ {
+ // Call the native function to enable metadata cache flushes
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Oenable_mdc_flushes(object_id) < 0)
+ h5libraryError();
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oare_mdc_flushes_disabled retrieve the object's "cork" status.
+ *
+ * @param object_id
+ * IN: Identifier of the object to be flushed.
+ *
+ * @return the cork status
+ * TRUE if mdc flushes for the object is disabled
+ * FALSE if mdc flushes for the object is not disabled
+ **/
+ public static boolean H5Oare_mdc_flushes_disabled(long object_id)
+ {
+ boolean are_mdc_flushes_disabled = false;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the boolean value
+ MemorySegment are_mdc_flushes_disabled_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN, 1);
+ // Call the native function to check if the library is thread-safe
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Oare_mdc_flushes_disabled(
+ object_id, are_mdc_flushes_disabled_segment) < 0)
+ h5libraryError();
+
+ // Read the boolean value from the segment
+ are_mdc_flushes_disabled = are_mdc_flushes_disabled_segment.get(ValueLayout.JAVA_BOOLEAN, 0);
+ }
+
+ return are_mdc_flushes_disabled;
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oget_native_info retrieves the native HDF5-specific metadata for an HDF5 object specified by an
+ * identifier. Native HDF5-specific metadata includes things like object header information and object
+ * storage layout information.
+ *
+ * @param loc_id
+ * IN: Identifier for target object
+ *
+ * @return object information
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static hdf.hdf5lib.structs.H5O_native_info_t H5Oget_native_info(long loc_id)
+ throws HDF5LibraryException
+ {
+ hdf.hdf5lib.structs.H5O_native_info_t info = null;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment info_segment = arena.allocate(org.hdfgroup.javahdf5.H5O_native_info_t.sizeof());
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Oget_native_info(loc_id, info_segment,
+ HDF5Constants.H5O_NATIVE_INFO_ALL) < 0)
+ h5libraryError();
+ // Unpack the H5O_native_info_t from the MemorySegment
+ MemorySegment hdr_segment = org.hdfgroup.javahdf5.H5O_native_info_t.hdr(info_segment);
+ MemorySegment space_segment = org.hdfgroup.javahdf5.H5O_hdr_info_t.space(hdr_segment);
+ MemorySegment mesg_segment = org.hdfgroup.javahdf5.H5O_hdr_info_t.mesg(hdr_segment);
+ MemorySegment meta_size_segment = org.hdfgroup.javahdf5.H5O_native_info_t.meta_size(info_segment);
+ MemorySegment obj_ih_segment =
+ org.hdfgroup.javahdf5.H5O_native_info_t.meta_size.obj(meta_size_segment);
+ MemorySegment attr_ih_segment =
+ org.hdfgroup.javahdf5.H5O_native_info_t.meta_size.attr(meta_size_segment);
+ hdf.hdf5lib.structs.H5O_hdr_info_t hdr = new hdf.hdf5lib.structs.H5O_hdr_info_t(
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.version(hdr_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.nmesgs(hdr_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.nchunks(hdr_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.flags(hdr_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.space.total(space_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.space.meta(space_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.space.mesg(space_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.space.free(space_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.mesg.present(mesg_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.mesg.shared(mesg_segment));
+ hdf.hdf5lib.structs.H5_ih_info_t obj = new hdf.hdf5lib.structs.H5_ih_info_t(
+ org.hdfgroup.javahdf5.H5_ih_info_t.index_size(obj_ih_segment),
+ org.hdfgroup.javahdf5.H5_ih_info_t.heap_size(obj_ih_segment));
+ hdf.hdf5lib.structs.H5_ih_info_t attr = new hdf.hdf5lib.structs.H5_ih_info_t(
+ org.hdfgroup.javahdf5.H5_ih_info_t.index_size(attr_ih_segment),
+ org.hdfgroup.javahdf5.H5_ih_info_t.heap_size(attr_ih_segment));
+ info = new hdf.hdf5lib.structs.H5O_native_info_t(hdr, obj, attr);
+ }
+ return info;
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oget_native_info retrieves the native HDF5-specific metadata for an HDF5 object specified by an
+ * identifier. Native HDF5-specific metadata includes things like object header information and object
+ * storage layout information.
+ *
+ * @param loc_id
+ * IN: Identifier for target object
+ * @param fields
+ * IN: Object fields to select
+ *
+ * @return object information
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static hdf.hdf5lib.structs.H5O_native_info_t H5Oget_native_info(long loc_id, int fields)
+ throws HDF5LibraryException
+ {
+ hdf.hdf5lib.structs.H5O_native_info_t info = null;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment info_segment = arena.allocate(org.hdfgroup.javahdf5.H5O_native_info_t.sizeof());
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Oget_native_info(loc_id, info_segment, fields) < 0)
+ h5libraryError();
+ // Unpack the H5O_native_info_t from the MemorySegment
+ MemorySegment hdr_segment = org.hdfgroup.javahdf5.H5O_native_info_t.hdr(info_segment);
+ MemorySegment space_segment = org.hdfgroup.javahdf5.H5O_hdr_info_t.space(hdr_segment);
+ MemorySegment mesg_segment = org.hdfgroup.javahdf5.H5O_hdr_info_t.mesg(hdr_segment);
+ MemorySegment meta_size_segment = org.hdfgroup.javahdf5.H5O_native_info_t.meta_size(info_segment);
+ MemorySegment obj_ih_segment =
+ org.hdfgroup.javahdf5.H5O_native_info_t.meta_size.obj(meta_size_segment);
+ MemorySegment attr_ih_segment =
+ org.hdfgroup.javahdf5.H5O_native_info_t.meta_size.attr(meta_size_segment);
+ hdf.hdf5lib.structs.H5O_hdr_info_t hdr = new hdf.hdf5lib.structs.H5O_hdr_info_t(
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.version(hdr_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.nmesgs(hdr_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.nchunks(hdr_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.flags(hdr_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.space.total(space_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.space.meta(space_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.space.mesg(space_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.space.free(space_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.mesg.present(mesg_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.mesg.shared(mesg_segment));
+ hdf.hdf5lib.structs.H5_ih_info_t obj = new hdf.hdf5lib.structs.H5_ih_info_t(
+ org.hdfgroup.javahdf5.H5_ih_info_t.index_size(obj_ih_segment),
+ org.hdfgroup.javahdf5.H5_ih_info_t.heap_size(obj_ih_segment));
+ hdf.hdf5lib.structs.H5_ih_info_t attr = new hdf.hdf5lib.structs.H5_ih_info_t(
+ org.hdfgroup.javahdf5.H5_ih_info_t.index_size(attr_ih_segment),
+ org.hdfgroup.javahdf5.H5_ih_info_t.heap_size(attr_ih_segment));
+ info = new hdf.hdf5lib.structs.H5O_native_info_t(hdr, obj, attr);
+ }
+ return info;
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oget_native_info_by_idx retrieves the native HDF5-specific metadata for an HDF5 object, identifying
+ * the object by an index position. Native HDF5-specific metadata includes things like object header
+ * information and object storage layout information.
+ *
+ * @param loc_id
+ * IN: File or group identifier
+ * @param group_name
+ * IN: Name of group, relative to loc_id, in which object is located
+ * @param idx_type
+ * IN: Type of index by which objects are ordered
+ * @param order
+ * IN: Order of iteration within index
+ * @param n
+ * IN: Object to open
+ * @param lapl_id
+ * IN: Access property list identifier for the link pointing to the object (Not currently used;
+ * pass as H5P_DEFAULT.)
+ *
+ * @return object information
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static hdf.hdf5lib.structs.H5O_native_info_t
+ H5Oget_native_info_by_idx(long loc_id, String group_name, int idx_type, int order, long n, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ return H5Oget_native_info_by_idx(loc_id, group_name, idx_type, order, n,
+ HDF5Constants.H5O_NATIVE_INFO_ALL, lapl_id);
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oget_native_info_by_idx retrieves the native HDF5-specific metadata for an HDF5 object, identifying
+ * the object by an index position. Native HDF5-specific metadata includes things like object header
+ * information and object storage layout information.
+ *
+ * @param loc_id
+ * IN: File or group identifier
+ * @param group_name
+ * IN: Name of group, relative to loc_id, in which object is located
+ * @param idx_type
+ * IN: Type of index by which objects are ordered
+ * @param order
+ * IN: Order of iteration within index
+ * @param n
+ * IN: Object to open
+ * @param fields
+ * IN: Object fields to select
+ * @param lapl_id
+ * IN: Access property list identifier for the link pointing to the object (Not currently used;
+ * pass as H5P_DEFAULT.)
+ *
+ * @return object information
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static hdf.hdf5lib.structs.H5O_native_info_t
+ H5Oget_native_info_by_idx(long loc_id, String group_name, int idx_type, int order, long n, int fields,
+ long lapl_id) throws HDF5LibraryException, NullPointerException
+ {
+ if (group_name == null) {
+ throw new NullPointerException("group_name is null");
+ }
+
+ hdf.hdf5lib.structs.H5O_native_info_t info = null;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(group_name);
+ MemorySegment info_segment = arena.allocate(org.hdfgroup.javahdf5.H5O_native_info_t.sizeof());
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Oget_native_info_by_idx(
+ loc_id, name_segment, idx_type, order, n, info_segment, fields, lapl_id) < 0)
+ h5libraryError();
+ // Unpack the H5O_native_info_t from the MemorySegment
+ MemorySegment hdr_segment = org.hdfgroup.javahdf5.H5O_native_info_t.hdr(info_segment);
+ MemorySegment space_segment = org.hdfgroup.javahdf5.H5O_hdr_info_t.space(hdr_segment);
+ MemorySegment mesg_segment = org.hdfgroup.javahdf5.H5O_hdr_info_t.mesg(hdr_segment);
+ MemorySegment meta_size_segment = org.hdfgroup.javahdf5.H5O_native_info_t.meta_size(info_segment);
+ MemorySegment obj_ih_segment =
+ org.hdfgroup.javahdf5.H5O_native_info_t.meta_size.obj(meta_size_segment);
+ MemorySegment attr_ih_segment =
+ org.hdfgroup.javahdf5.H5O_native_info_t.meta_size.attr(meta_size_segment);
+ hdf.hdf5lib.structs.H5O_hdr_info_t hdr = new hdf.hdf5lib.structs.H5O_hdr_info_t(
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.version(hdr_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.nmesgs(hdr_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.nchunks(hdr_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.flags(hdr_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.space.total(space_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.space.meta(space_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.space.mesg(space_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.space.free(space_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.mesg.present(mesg_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.mesg.shared(mesg_segment));
+ hdf.hdf5lib.structs.H5_ih_info_t obj = new hdf.hdf5lib.structs.H5_ih_info_t(
+ org.hdfgroup.javahdf5.H5_ih_info_t.index_size(obj_ih_segment),
+ org.hdfgroup.javahdf5.H5_ih_info_t.heap_size(obj_ih_segment));
+ hdf.hdf5lib.structs.H5_ih_info_t attr = new hdf.hdf5lib.structs.H5_ih_info_t(
+ org.hdfgroup.javahdf5.H5_ih_info_t.index_size(attr_ih_segment),
+ org.hdfgroup.javahdf5.H5_ih_info_t.heap_size(attr_ih_segment));
+ info = new hdf.hdf5lib.structs.H5O_native_info_t(hdr, obj, attr);
+ }
+ return info;
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oget_native_info_by_name retrieves the native HDF5-specific metadata for an HDF5 object, identifying
+ * the object by location and relative name. Native HDF5-specific metadata includes things like object
+ * header information and object storage layout information.
+ *
+ * @param loc_id
+ * IN: File or group identifier specifying location of group in which object is located
+ * @param name
+ * IN: Relative name of group
+ * @param lapl_id
+ * IN: Access property list identifier for the link pointing to the object (Not currently used;
+ * pass as H5P_DEFAULT.)
+ *
+ * @return object information
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static hdf.hdf5lib.structs.H5O_native_info_t H5Oget_native_info_by_name(long loc_id, String name,
+ long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ return H5Oget_native_info_by_name(loc_id, name, HDF5Constants.H5O_NATIVE_INFO_ALL, lapl_id);
+ }
+
+ /**
+ * @ingroup JH5O
+ *
+ * H5Oget_native_info_by_name retrieves the native HDF5-specific metadata for an HDF5 object, identifying
+ * the object by location and relative name. Native HDF5-specific metadata includes things like object
+ * header information and object storage layout information.
+ *
+ * @param loc_id
+ * IN: File or group identifier specifying location of group in which object is located
+ * @param name
+ * IN: Relative name of group
+ * @param fields
+ * IN: Object fields to select
+ * @param lapl_id
+ * IN: Access property list identifier for the link pointing to the object (Not currently used;
+ * pass as H5P_DEFAULT.)
+ *
+ * @return object information
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static hdf.hdf5lib.structs.H5O_native_info_t H5Oget_native_info_by_name(long loc_id, String name,
+ int fields, long lapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+
+ hdf.hdf5lib.structs.H5O_native_info_t info = null;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ MemorySegment info_segment = arena.allocate(org.hdfgroup.javahdf5.H5O_native_info_t.sizeof());
+ if (org.hdfgroup.javahdf5.hdf5_h_2.H5Oget_native_info_by_name(loc_id, name_segment, info_segment,
+ fields, lapl_id) < 0)
+ h5libraryError();
+ // Unpack the H5O_native_info_t from the MemorySegment
+ MemorySegment hdr_segment = org.hdfgroup.javahdf5.H5O_native_info_t.hdr(info_segment);
+ MemorySegment space_segment = org.hdfgroup.javahdf5.H5O_hdr_info_t.space(hdr_segment);
+ MemorySegment mesg_segment = org.hdfgroup.javahdf5.H5O_hdr_info_t.mesg(hdr_segment);
+ MemorySegment meta_size_segment = org.hdfgroup.javahdf5.H5O_native_info_t.meta_size(info_segment);
+ MemorySegment obj_ih_segment =
+ org.hdfgroup.javahdf5.H5O_native_info_t.meta_size.obj(meta_size_segment);
+ MemorySegment attr_ih_segment =
+ org.hdfgroup.javahdf5.H5O_native_info_t.meta_size.attr(meta_size_segment);
+ hdf.hdf5lib.structs.H5O_hdr_info_t hdr = new hdf.hdf5lib.structs.H5O_hdr_info_t(
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.version(hdr_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.nmesgs(hdr_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.nchunks(hdr_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.flags(hdr_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.space.total(space_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.space.meta(space_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.space.mesg(space_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.space.free(space_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.mesg.present(mesg_segment),
+ org.hdfgroup.javahdf5.H5O_hdr_info_t.mesg.shared(mesg_segment));
+ hdf.hdf5lib.structs.H5_ih_info_t obj = new hdf.hdf5lib.structs.H5_ih_info_t(
+ org.hdfgroup.javahdf5.H5_ih_info_t.index_size(obj_ih_segment),
+ org.hdfgroup.javahdf5.H5_ih_info_t.heap_size(obj_ih_segment));
+ hdf.hdf5lib.structs.H5_ih_info_t attr = new hdf.hdf5lib.structs.H5_ih_info_t(
+ org.hdfgroup.javahdf5.H5_ih_info_t.index_size(attr_ih_segment),
+ org.hdfgroup.javahdf5.H5_ih_info_t.heap_size(attr_ih_segment));
+ info = new hdf.hdf5lib.structs.H5O_native_info_t(hdr, obj, attr);
+ }
+ return info;
+ }
+
+ // /////// unimplemented ////////
+ // herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2,
+ // int *cmp_value);
+ // herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str);
+ // herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token);
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5P: Property List Interface Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+
+ // /////// Generic property list routines ///////
+ /**
+ * @defgroup JH5P Java Property List (H5P) Interface
+ *
+ * @see H5P, C-API
+ *
+ * @see @ref H5P_UG, User Guide
+ **/
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_class_name retrieves the name of a generic property list class
+ *
+ * @param plid
+ * IN: Identifier of property object to query
+ * @return name of a property list if successful; null if failed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ */
+ public static String H5Pget_class_name(long plid) throws HDF5LibraryException
+ {
+ if (plid < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ String ret_name = null;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment class_segment = org.hdfgroup.javahdf5.hdf5_h.H5Pget_class_name(plid);
+ if (class_segment == null)
+ h5libraryError();
+ ret_name = class_segment.reinterpret(Long.MAX_VALUE).getString(0L);
+ org.hdfgroup.javahdf5.hdf5_h_2.H5free_memory(class_segment);
+ }
+ return ret_name;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pcreate creates a new property as an instance of some property list class.
+ *
+ * @param type
+ * IN: The type of property list to create.
+ *
+ * @return a property list identifier (plist) if successful; otherwise Fail (-1).
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Pcreate(long type) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h.H5Pcreate(type);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Pcreate add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget retrieves a copy of the value for a property in a property list (support integer only)
+ *
+ * @param plid
+ * IN: Identifier of property object to query
+ * @param name
+ * IN: Name of property to query
+ * @return value for a property if successful; a negative value if failed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ */
+ public static int H5Pget(long plid, String name) throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ if (plid < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int value = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ MemorySegment value_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget(plid, name_segment, value_segment) < 0)
+ h5libraryError();
+ value = value_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return value;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * Sets a property list value (support integer only)
+ *
+ * @param plid
+ * IN: Property list identifier to modify
+ * @param name
+ * IN: Name of property to modify
+ * @param value
+ * IN: value to set the property to
+ * @return a non-negative value if successful; a negative value if failed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ */
+ public static int H5Pset(long plid, String name, int value)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ if (plid < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int ret = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ MemorySegment value_segment = arena.allocate(ValueLayout.JAVA_INT);
+ value_segment.set(ValueLayout.JAVA_INT, 0, value);
+ ret = org.hdfgroup.javahdf5.hdf5_h.H5Pset(plid, name_segment, value_segment);
+ if (ret < 0)
+ h5libraryError();
+ }
+ return ret;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pexist determines whether a property exists within a property list or class
+ *
+ * @param plid
+ * IN: Identifier for the property to query
+ * @param name
+ * IN: Name of property to check for
+ * @return a true value if the property exists in the property object; false if the property does not
+ * exist;
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ */
+ public static boolean H5Pexist(long plid, String name) throws HDF5LibraryException, NullPointerException
+ {
+ int retVal = -1;
+
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ if (plid < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ boolean exists = false;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pexist(plid, name_segment);
+ }
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ else if (retVal > 0) {
+ exists = true;
+ }
+ else {
+ exists = false;
+ }
+ return exists;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_size retrieves the size of a property's value in bytes
+ *
+ * @param plid
+ * IN: Identifier of property object to query
+ * @param name
+ * IN: Name of property to query
+ * @return size of a property's value if successful; a negative value if failed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ */
+ public static long H5Pget_size(long plid, String name) throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ if (plid < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ long size = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ MemorySegment size_segment = arena.allocate(ValueLayout.JAVA_LONG);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_size(plid, name_segment, size_segment) < 0)
+ h5libraryError();
+ size = size_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return size;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_nprops retrieves the number of properties in a property list or class
+ *
+ * @param plid
+ * IN: Identifier of property object to query
+ * @return number of properties if successful; a negative value if failed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ */
+ public static long H5Pget_nprops(long plid) throws HDF5LibraryException
+ {
+ if (plid < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ long nprops = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment nprops_segment = arena.allocate(ValueLayout.JAVA_LONG);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_nprops(plid, nprops_segment) < 0)
+ h5libraryError();
+ nprops = nprops_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return nprops;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_class returns the property list class for the property list identified by the plist parameter.
+ *
+ * @param plist
+ * IN: Identifier of property list to query.
+ * @return a property list class if successful. Otherwise returns H5P_ROOT (-1).
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Pget_class(long plist) throws HDF5LibraryException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ long classId = org.hdfgroup.javahdf5.hdf5_h.H5Pget_class(plist);
+ if (classId < 0) {
+ h5libraryError();
+ }
+ log.trace("OPEN_IDS: H5Pget_class add {}", classId);
+ OPEN_IDS.add(classId);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ return classId;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_class_parent retrieves an identifier for the parent class of a property class
+ *
+ * @param plid
+ * IN: Identifier of the property class to query
+ * @return a valid parent class object identifier if successful; a negative value if failed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ */
+ public static long H5Pget_class_parent(long plid) throws HDF5LibraryException
+ {
+ if (plid < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ long parentId = org.hdfgroup.javahdf5.hdf5_h.H5Pget_class_parent(plid);
+ if (parentId < 0) {
+ h5libraryError();
+ }
+ log.trace("OPEN_IDS: H5Pget_class_parent add {}", parentId);
+ OPEN_IDS.add(parentId);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ return parentId;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pequal determines if two property lists or classes are equal
+ *
+ * @param plid1
+ * IN: First property object to be compared
+ * @param plid2
+ * IN: Second property object to be compared
+ *
+ * @return positive value if equal; zero if unequal, a negative value if failed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ */
+ public static int H5Pequal(long plid1, long plid2) throws HDF5LibraryException
+ {
+ if (plid1 < 0 || plid2 < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int ret = org.hdfgroup.javahdf5.hdf5_h.H5Pequal(plid1, plid2);
+ if (ret < 0) {
+ h5libraryError();
+ }
+ return ret;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pequal determines if two property lists or classes are equal
+ *
+ * @param plid1
+ * IN: First property object to be compared
+ * @param plid2
+ * IN: Second property object to be compared
+ *
+ * @return TRUE if equal, FALSE if unequal
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ */
+ public static boolean H5P_equal(long plid1, long plid2) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pequal(plid1, plid2) == 1)
+ return true;
+ return false;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pisa_class checks to determine whether a property list is a member of the specified class
+ *
+ * @param plist
+ * IN: Identifier of the property list
+ * @param pclass
+ * IN: Identifier of the property class
+ * @return a positive value if equal; zero if unequal; a negative value if failed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ */
+ public static int H5Pisa_class(long plist, long pclass) throws HDF5LibraryException
+ {
+ if (plist < 0 || pclass < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int ret = org.hdfgroup.javahdf5.hdf5_h.H5Pisa_class(plist, pclass);
+ if (ret < 0) {
+ h5libraryError();
+ }
+ return ret;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pcopy_prop copies a property from one property list or class to another
+ *
+ * @param dst_id
+ * IN: Identifier of the destination property list or class
+ * @param src_id
+ * IN: Identifier of the source property list or class
+ * @param name
+ * IN: Name of the property to copy
+ * @return a non-negative value if successful; a negative value if failed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ */
+ public static int H5Pcopy_prop(long dst_id, long src_id, String name)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+
+ int ret = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ ret = org.hdfgroup.javahdf5.hdf5_h.H5Pcopy_prop(dst_id, src_id, name_segment);
+ if (ret < 0)
+ h5libraryError();
+ }
+ return ret;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Premove removes a property from a property list
+ *
+ * @param plid
+ * IN: Identifier of the property list to modify
+ * @param name
+ * IN: Name of property to remove
+ * @return a non-negative value if successful; a negative value if failed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ */
+ public static int H5Premove(long plid, String name) throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ if (plid < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int ret = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ ret = org.hdfgroup.javahdf5.hdf5_h.H5Premove(plid, name_segment);
+ if (ret < 0)
+ h5libraryError();
+ }
+ return ret;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Punregister removes a property from a property list class
+ *
+ * @param plid
+ * IN: Property list class from which to remove permanent property
+ * @param name
+ * IN: Name of property to remove
+ * @return a non-negative value if successful; a negative value if failed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ */
+ public static int H5Punregister(long plid, String name) throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ if (plid < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int ret = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ ret = org.hdfgroup.javahdf5.hdf5_h.H5Punregister(plid, name_segment);
+ if (ret < 0)
+ h5libraryError();
+ }
+ return ret;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * Closes an existing property list class
+ *
+ * @param plid
+ * IN: Property list class to close
+ * @return a non-negative value if successful; a negative value if failed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ */
+ public static int H5Pclose_class(long plid) throws HDF5LibraryException
+ {
+ if (plid < 0)
+ return 0; // throw new HDF5LibraryException("Negative ID");;
+
+ log.trace("OPEN_IDS: H5Pclose_class remove {}", plid);
+ OPEN_IDS.remove(plid);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ return org.hdfgroup.javahdf5.hdf5_h.H5Pclose_class(plid);
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pclose terminates access to a property list.
+ *
+ * @param plist
+ * IN: Identifier of the property list to terminate access to.
+ * @return a non-negative value if successful
+ **/
+ public static int H5Pclose(long plist)
+ {
+ log.trace("OPEN_IDS: H5Pclose remove {}", plist);
+ OPEN_IDS.remove(plist);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pclose(plist);
+ if (retVal < 0)
+ retVal = 0;
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pcopy copies an existing property list to create a new property list.
+ *
+ * @param plist
+ * IN: Identifier of property list to duplicate.
+ *
+ * @return a property list identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Pcopy(long plist) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h.H5Pcopy(plist);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Pcopy add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ // Define property list class callback function pointer types
+ // typedef herr_t (*H5P_cls_create_func_t)(hid_t prop_id, void *create_data);
+ // typedef herr_t (*H5P_cls_copy_func_t)(hid_t new_prop_id, hid_t old_prop_id, void *copy_data);
+ // typedef herr_t (*H5P_cls_close_func_t)(hid_t prop_id, void *close_data);
+
+ // Define property list callback function pointer types
+ // typedef herr_t (*H5P_prp_cb1_t)(const char *name, size_t size, void *value);
+ // typedef herr_t (*H5P_prp_cb2_t)(hid_t prop_id, const char *name, size_t size, void *value);
+ // typedef H5P_prp_cb1_t H5P_prp_create_func_t;
+ // typedef H5P_prp_cb2_t H5P_prp_set_func_t;
+ // typedef H5P_prp_cb2_t H5P_prp_get_func_t;
+ // typedef herr_t (*H5P_prp_encode_func_t)(const void *value, void **buf, size_t *size);
+ // typedef herr_t (*H5P_prp_decode_func_t)(const void **buf, void *value);
+ // typedef H5P_prp_cb2_t H5P_prp_delete_func_t;
+ // typedef H5P_prp_cb1_t H5P_prp_copy_func_t;
+ // typedef int (*H5P_prp_compare_func_t)(const void *value1, const void *value2, size_t size);
+ // typedef H5P_prp_cb1_t H5P_prp_close_func_t;
+
+ // Define property list iteration function type
+ // typedef herr_t (*H5P_iterate_t)(hid_t id, const char *name, void *iter_data);
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pcreate_class_nocb creates an new property class with no callback functions.
+ *
+ * @param parent_class
+ * IN: Identifier of the parent property class.
+ * @param name
+ * IN: Name of the property class.
+ *
+ * @return a property list identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static long H5Pcreate_class_nocb(long parent_class, String name)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ if (parent_class < 0) {
+ throw new HDF5FunctionArgumentException("Negative parent class identifier");
+ }
+ long id = H5I_INVALID_HID();
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(name);
+ id = org.hdfgroup.javahdf5.hdf5_h.H5Pcreate_class(
+ parent_class, name_segment, MemorySegment.NULL, MemorySegment.NULL, MemorySegment.NULL,
+ MemorySegment.NULL, MemorySegment.NULL, MemorySegment.NULL);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Pcreate_class_nocb add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+ return id;
+ }
+
+ // public static long H5Pcreate_class(long parent_class, String name, H5P_cls_create_func_cb create_op,
+ // H5P_cls_create_func_t create_data,
+ // H5P_cls_copy_func_cb copy_op, H5P_cls_copy_func_t copy_data, H5P_cls_close_func_cb
+ // close_op, H5P_cls_close_func_t close_data) throws HDF5LibraryException {
+ // long id = _H5Pcreate_class(parent_class, name, create_op, create_data, copy_op, copy_data,
+ // close_op, close_data);
+ // if (id > 0) {
+ // log.trace("OPEN_IDS: H5Pcreate_class add {}", id);
+ // OPEN_IDS.add(id);
+ // log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ // }
+ // return id;
+ // }
+ //
+ // private static long _H5Pcreate_class(long parent_class, String name,
+ // H5P_cls_create_func_cb create_op, H5P_cls_create_func_t create_data,
+ // H5P_cls_copy_func_cb copy_op, H5P_cls_copy_func_t copy_data, H5P_cls_close_func_cb close_op,
+ // H5P_cls_close_func_t close_data) throws HDF5LibraryException {}
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pregister2_nocb registers a property list with no callback functions.
+ *
+ * @param plist_class
+ * IN: Identifier of the property list.
+ * @param name
+ * IN: Name of the property.
+ * @param size
+ * IN: Size the property value.
+ * @param def_value
+ * IN: Default value of the property
+ *
+ * @exception HDF5LibraryException
+ * - Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static void H5Pregister2_nocb(long plist_class, String name, long size, byte[] def_value)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ if (def_value == null) {
+ throw new NullPointerException("def_value is null");
+ }
+ if (plist_class < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list class identifier");
+ }
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(name);
+ // Allocate a MemorySegment for the default value
+ MemorySegment def_value_segment = arena.allocate(size);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pregister2(
+ plist_class, name_segment, size, def_value_segment, MemorySegment.NULL,
+ MemorySegment.NULL, MemorySegment.NULL, MemorySegment.NULL, MemorySegment.NULL,
+ MemorySegment.NULL, MemorySegment.NULL) < 0)
+ h5libraryError();
+ }
+ }
+
+ // public static void H5Pregister2(long plist_class, String name, long size, byte[]
+ // def_value, H5P_prp_create_func_cb prp_create, H5P_prp_set_func_cb prp_set,
+ // H5P_prp_get_func_cb prp_get, H5P_prp_delete_func_cb prp_delete, H5P_prp_copy_func_cb prp_copy,
+ // H5P_prp_compare_func_cb prp_cmp, H5P_prp_close_func_cb prp_close) throws HDF5LibraryException
+ // {}
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pinsert2_nocb inserts a property list with no callback functions.
+ *
+ * @param plist
+ * IN: Identifier of the property list.
+ * @param name
+ * IN: Name of the property.
+ * @param size
+ * IN: Size the property value.
+ * @param value
+ * IN: Default value of the property
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static void H5Pinsert2_nocb(long plist, String name, long size, byte[] value)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ if (value == null) {
+ throw new NullPointerException("value is null");
+ }
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment name_segment = arena.allocateFrom(name);
+ // Allocate a MemorySegment for the default value
+ MemorySegment value_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, size);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pinsert2(
+ plist, name_segment, size, value_segment, MemorySegment.NULL, MemorySegment.NULL,
+ MemorySegment.NULL, MemorySegment.NULL, MemorySegment.NULL, MemorySegment.NULL) < 0)
+ h5libraryError();
+ }
+ }
+
+ // public static void H5Pinsert2(long plist, String name, long size, byte[] value,
+ // H5P_prp_set_func_cb prp_set, H5P_prp_get_func_cb prp_get,
+ // H5P_prp_delete_func_cb prp_delete, H5P_prp_copy_func_cb prp_copy, H5P_prp_compare_func_cb prp_cmp,
+ // H5P_prp_close_func_cb prp_close) throws HDF5LibraryException {}
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Piterate iterates over the properties in a property list or class
+ *
+ * @param plist
+ * IN: ID of property object to iterate over
+ * @param idx
+ * IN/OUT: index of the property to begin with
+ * @param op
+ * IN: function to be called with each property iterated over.
+ * @param op_data
+ * IN: iteration data from user
+ *
+ * @return the return value of the last call to op if it was non-zero,
+ * zero if all properties have been processed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * size is null.
+ *
+ **/
+ public static int H5Piterate(long plist, int[] idx, hdf.hdf5lib.callbacks.H5P_iterate_cb op,
+ hdf.hdf5lib.callbacks.H5P_iterate_t op_data)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int status = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment idx_segment = MemorySegment.NULL;
+ if (idx != null)
+ idx_segment = arena.allocateFrom(ValueLayout.JAVA_INT, idx);
+ MemorySegment op_segment = H5P_iterate_t.allocate(op, arena);
+ MemorySegment op_data_segment =
+ Linker.nativeLinker().upcallStub(H5Piterate$handle(), H5Piterate$descriptor(), arena);
+
+ if ((status = org.hdfgroup.javahdf5.hdf5_h.H5Piterate(plist, idx_segment, op_segment,
+ op_data_segment)) < 0)
+ h5libraryError();
+ if (idx != null)
+ idx[0] = idx_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return status;
+ }
+
+ // /////// Object creation property list (OCPL) routines ///////
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_attr_phase_change retrieves attribute storage phase change thresholds.
+ *
+ * @param ocpl_id
+ * IN: Object (dataset or group) creation property list identifier
+ * @param attributes
+ * The maximum and minimum no. of attributes to be stored.
+ *
+ *
+ * attributes[0] = The maximum number of attributes to be stored in compact storage
+ * attributes[1] = The minimum number of attributes to be stored in dense storage
+ *
+ *
+ * @return Returns a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * size is null.
+ *
+ **/
+ public static int H5Pget_attr_phase_change(long ocpl_id, int[] attributes)
+ throws HDF5LibraryException, NullPointerException
+ {
+ int retVal = -1;
+ if (attributes == null || attributes.length < 2) {
+ throw new NullPointerException("attributes is null or has less than 2 elements");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment max_compact_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ MemorySegment min_dense_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_attr_phase_change(ocpl_id, max_compact_segment,
+ min_dense_segment)) < 0)
+ h5libraryError();
+ attributes[0] = max_compact_segment.get(ValueLayout.JAVA_INT, 0);
+ attributes[1] = min_dense_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_attr_phase_change sets threshold values for attribute storage on an object. These
+ * thresholds determine the point at which attribute storage changes
+ * from compact storage (i.e., storage in the object header)
+ * to dense storage (i.e., storage in a heap and indexed with a B-tree).
+ *
+ * @param ocpl_id
+ * IN: : Object (dataset or group) creation property list identifier
+ * @param max_compact
+ * IN: Maximum number of attributes to be stored in compact storage (Default: 8)
+ * @param min_dense
+ * IN: Minimum number of attributes to be stored in dense storage (Default: 6)
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static void H5Pset_attr_phase_change(long ocpl_id, int max_compact, int min_dense)
+ throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pset_attr_phase_change(ocpl_id, max_compact, min_dense) < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_attr_creation_order retrieves the settings for tracking and indexing attribute creation order on
+ * an object.
+ *
+ * @param ocpl_id
+ * IN: Object (group or dataset) creation property list identifier
+ *
+ * @return Flags specifying whether to track and index attribute creation order
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pget_attr_creation_order(long ocpl_id) throws HDF5LibraryException
+ {
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment int_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_attr_creation_order(ocpl_id, int_segment)) < 0)
+ h5libraryError();
+ retVal = int_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_attr_creation_order sets flags specifying whether to track and index attribute creation order on
+ * an object.
+ *
+ * @param ocpl_id
+ * IN: Object creation property list identifier
+ * @param crt_order_flags
+ * IN: Flags specifying whether to track and index attribute creation order
+ *
+ * @return Returns a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_attr_creation_order(long ocpl_id, int crt_order_flags)
+ throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_attr_creation_order(ocpl_id, crt_order_flags);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_obj_track_times queries the object creation property list, ocpl_id, to determine whether object
+ * times are being recorded.
+ *
+ * @param ocpl_id
+ * IN: Object creation property list identifier
+ *
+ * @return TRUE or FALSE, specifying whether object times are being recorded
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static boolean H5Pget_obj_track_times(long ocpl_id) throws HDF5LibraryException
+ {
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment int_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_obj_track_times(ocpl_id, int_segment)) < 0)
+ h5libraryError();
+ retVal = int_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return retVal == 1;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_obj_track_times sets a property in the object creation property list, ocpl_id, that governs the
+ * recording of times associated with an object.
+ *
+ * @param ocpl_id
+ * IN: Object creation property list identifier
+ *
+ * @param track_times
+ * IN: TRUE or FALSE, specifying whether object times are to be tracked
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static void H5Pset_obj_track_times(long ocpl_id, boolean track_times) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_obj_track_times(ocpl_id, track_times);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pmodify_filter modifies the specified FILTER in the transient or permanent output filter pipeline
+ * depending on whether PLIST is a dataset creation or dataset
+ * transfer property list. The FLAGS argument specifies certain
+ * general properties of the filter and is documented below.
+ * The CD_VALUES is an array of CD_NELMTS integers which are
+ * auxiliary data for the filter. The integer values will be
+ * stored in the dataset object header as part of the filter
+ * information.
+ *
+ * The FLAGS argument is a bit vector of the following fields:
+ *
+ * H5Z_FLAG_OPTIONAL(0x0001)
+ * If this bit is set then the filter is optional. If the
+ * filter fails during an H5Dwrite() operation then the filter
+ * is just excluded from the pipeline for the chunk for which it
+ * failed; the filter will not participate in the pipeline
+ * during an H5Dread() of the chunk. If this bit is clear and
+ * the filter fails then the entire I/O operation fails.
+ * If this bit is set but encoding is disabled for a filter,
+ * attempting to write will generate an error.
+ *
+ * Note: This function currently supports only the permanent filter
+ * pipeline. That is, PLIST_ID must be a dataset creation
+ * property list.
+ *
+ * @param plist
+ * IN: Property list identifier.
+ * @param filter
+ * IN: Filter to be modified to the pipeline.
+ * @param flags
+ * IN: Bit vector specifying certain general properties of the filter.
+ * @param cd_nelmts
+ * IN: Number of elements in cd_values
+ * @param cd_values
+ * IN: Auxiliary data for the filter.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name or an array is null.
+ *
+ **/
+ public static int H5Pmodify_filter(long plist, int filter, int flags, long cd_nelmts, int[] cd_values)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (cd_values == null) {
+ throw new NullPointerException("cd_values is null");
+ }
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment cd_values_segment = arena.allocateFrom(ValueLayout.JAVA_INT, cd_values);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pmodify_filter(plist, filter, flags, cd_nelmts,
+ cd_values_segment)) < 0) {
+ h5libraryError();
+ }
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_filter adds the specified filter and corresponding properties to the end of an output filter
+ * pipeline.
+ *
+ * @param plist
+ * IN: Property list identifier.
+ * @param filter
+ * IN: Filter to be added to the pipeline.
+ * @param flags
+ * IN: Bit vector specifying certain general properties of the filter.
+ * @param cd_nelmts
+ * IN: Number of elements in cd_values
+ * @param cd_values
+ * IN: Auxiliary data for the filter.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * cd_values array is null.
+ **/
+ public static int H5Pset_filter(long plist, int filter, int flags, long cd_nelmts, int[] cd_values)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (cd_values == null) {
+ throw new NullPointerException("cd_values is null");
+ }
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment cd_values_segment = arena.allocateFrom(ValueLayout.JAVA_INT, cd_values);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_filter(plist, filter, flags, cd_nelmts,
+ cd_values_segment)) < 0) {
+ h5libraryError();
+ }
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_nfilters returns the number of filters defined in the filter pipeline associated with the
+ * property list plist.
+ *
+ * @param plist
+ * IN: Property list identifier.
+ *
+ * @return the number of filters in the pipeline if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pget_nfilters(long plist) throws HDF5LibraryException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_nfilters(plist);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_filter returns information about a filter, specified by its filter number, in a filter pipeline,
+ * specified by the property list with which it is associated.
+ *
+ * @param plist
+ * IN: Property list identifier.
+ * @param filter_number
+ * IN: Sequence number within the filter pipeline of the filter for which information is
+ * sought.
+ * @param flags
+ * OUT: Bit vector specifying certain general properties of the filter.
+ * @param cd_nelmts
+ * IN/OUT: Number of elements in cd_values
+ * @param cd_values
+ * OUT: Auxiliary data for the filter.
+ * @param namelen
+ * IN: Anticipated number of characters in name.
+ * @param name
+ * OUT: Name of the filter.
+ * @param filter_config
+ * OUT:A bit field encoding the returned filter information
+ *
+ * @return the filter identification number if successful. Otherwise returns H5Z_FILTER_ERROR (-1).
+ *
+ * @exception ArrayIndexOutOfBoundsException
+ * Fatal error on Copyback
+ * @exception ArrayStoreException
+ * Fatal error on Copyback
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name or an array is null.
+ *
+ **/
+ public static int H5Pget_filter(long plist, int filter_number, int[] flags, long[] cd_nelmts,
+ int[] cd_values, long namelen, String[] name, int[] filter_config)
+ throws ArrayIndexOutOfBoundsException, ArrayStoreException, HDF5LibraryException, NullPointerException
+ {
+ return hdf.hdf5lib.H5.H5Pget_filter2(plist, filter_number, flags, cd_nelmts, cd_values, namelen, name,
+ filter_config);
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_filter2 returns information about a filter, specified by its filter number, in a filter
+ * pipeline, specified by the property list with which it is associated.
+ *
+ * @see public static int H5Pget_filter(int plist, int filter_number, int[] flags, int[] cd_nelmts, int[]
+ * cd_values, int namelen, String[] name, int[] filter_config)
+ *
+ **/
+ private static int H5Pget_filter2(long plist, int filter_number, int[] flags, long[] cd_nelmts,
+ int[] cd_values, long namelen, String[] name, int[] filter_config)
+ throws ArrayIndexOutOfBoundsException, ArrayStoreException, HDF5LibraryException, NullPointerException
+ {
+ if (flags == null || cd_nelmts == null || cd_values == null || name == null ||
+ filter_config == null) {
+ throw new NullPointerException("One or more arrays are null");
+ }
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment flags_segment = arena.allocateFrom(ValueLayout.JAVA_INT, flags);
+ MemorySegment cd_nelmts_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ MemorySegment cd_values_segment = arena.allocateFrom(ValueLayout.JAVA_INT, cd_values);
+ MemorySegment name_segment = arena.allocate(namelen + 1);
+ MemorySegment filter_config_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_filter2(
+ plist, filter_number, flags_segment, cd_nelmts_segment, cd_values_segment, namelen,
+ name_segment, filter_config_segment)) < 0) {
+ h5libraryError();
+ }
+ cd_nelmts[0] = cd_values_segment.get(ValueLayout.JAVA_INT, 0);
+ filter_config[0] = filter_config_segment.get(ValueLayout.JAVA_INT, 0);
+ name[0] = name_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_filter_by_id returns information about the filter specified in filter_id, a filter identifier.
+ * plist_id must be a dataset or group creation property list and filter_id must be in the associated
+ * filter pipeline. The filter_id and flags parameters are used in the same manner as described in the
+ * discussion of H5Pset_filter. Aside from the fact that they are used for output, the parameters
+ * cd_nelmts and cd_values[] are used in the same manner as described in the discussion of H5Pset_filter.
+ * On input, the cd_nelmts parameter indicates the number of entries in the cd_values[] array allocated by
+ * the calling program; on exit it contains the number of values defined by the filter. On input, the
+ * namelen parameter indicates the number of characters allocated for the filter name by the calling
+ * program in the array name[]. On exit name[] contains the name of the filter with one character of the
+ * name in each element of the array. If the filter specified in filter_id is not set for the property
+ * list, an error will be returned and H5Pget_filter_by_id1 will fail.
+ *
+ * @param plist_id
+ * IN: Property list identifier.
+ * @param filter_id
+ * IN: Filter identifier.
+ * @param flags
+ * OUT: Bit vector specifying certain general properties of the filter.
+ * @param cd_nelmts
+ * N/OUT: Number of elements in cd_values
+ * @param cd_values
+ * OUT: Auxiliary data for the filter.
+ * @param namelen
+ * IN: Anticipated number of characters in name.
+ * @param name
+ * OUT: Name of the filter.
+ * @param filter_config
+ * OUT: A bit field encoding the returned filter information
+ *
+ * @return the filter identification number if successful. Otherwise returns H5Z_FILTER_ERROR (-1).
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception ArrayIndexOutOfBoundsException
+ * Fatal error on Copyback
+ * @exception ArrayStoreException
+ * Fatal error on Copyback
+ * @exception NullPointerException
+ * name or an array is null.
+ *
+ **/
+ public static int H5Pget_filter_by_id(long plist_id, int filter_id, int[] flags, long[] cd_nelmts,
+ int[] cd_values, long namelen, String[] name, int[] filter_config)
+ throws ArrayIndexOutOfBoundsException, ArrayStoreException, HDF5LibraryException, NullPointerException
+ {
+ return hdf.hdf5lib.H5.H5Pget_filter_by_id2(plist_id, filter_id, flags, cd_nelmts, cd_values, namelen,
+ name, filter_config);
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_filter_by_id2 returns information about a filter, specified by its filter id, in a filter
+ * pipeline, specified by the property list with which it is associated.
+ *
+ * @param plist_id
+ * IN: Property list identifier.
+ * @param filter_id
+ * IN: Filter identifier.
+ * @param flags
+ * OUT: Bit vector specifying certain general properties of the filter.
+ * @param cd_nelmts
+ * N/OUT: Number of elements in cd_values
+ * @param cd_values
+ * OUT: Auxiliary data for the filter.
+ * @param namelen
+ * IN: Anticipated number of characters in name.
+ * @param name
+ * OUT: Name of the filter.
+ * @param filter_config
+ * OUT: A bit field encoding the returned filter information
+ *
+ * @return the filter identification number if successful. Otherwise returns H5Z_FILTER_ERROR (-1).
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name or an array is null.
+ *
+ **/
+ public static int H5Pget_filter_by_id2(long plist_id, int filter_id, int[] flags, long[] cd_nelmts,
+ int[] cd_values, long namelen, String[] name, int[] filter_config)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (flags == null || cd_nelmts == null || cd_values == null || name == null ||
+ filter_config == null) {
+ throw new NullPointerException("One or more arrays are null");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment flags_segment = arena.allocateFrom(ValueLayout.JAVA_INT, flags);
+ MemorySegment cd_nelmts_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ MemorySegment cd_values_segment = arena.allocateFrom(ValueLayout.JAVA_INT, cd_values);
+ MemorySegment name_segment = arena.allocate(namelen + 1);
+ MemorySegment filter_config_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_filter_by_id2(
+ plist_id, filter_id, flags_segment, cd_nelmts_segment, cd_values_segment, namelen,
+ name_segment, filter_config_segment)) < 0) {
+ h5libraryError();
+ }
+ cd_nelmts[0] = cd_nelmts_segment.get(ValueLayout.JAVA_INT, 0);
+ filter_config[0] = filter_config_segment.get(ValueLayout.JAVA_INT, 0);
+ name[0] = name_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pall_filters_avail query to verify that all the filters set
+ * in the dataset creation property list are available currently.
+ *
+ * @param dcpl_id
+ * IN: Property list identifier.
+ *
+ * @return
+ * TRUE if all filters available
+ * FALSE if one or more filters not currently available.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5Pall_filters_avail(long dcpl_id) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pall_filters_avail(dcpl_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal == 1;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Premove_filter deletes a filter from the dataset creation property list;
+ * deletes all filters if filter is H5Z_FILTER_ALL
+ *
+ * @param obj_id
+ * IN: Property list identifier.
+ * @param filter
+ * IN: Filter identifier.
+ *
+ * @return a non-negative value and the size of the user block; if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Premove_filter(long obj_id, int filter) throws HDF5LibraryException
+ {
+ if (filter < 0) {
+ throw new HDF5FunctionArgumentException("Negative filter identifier");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Premove_filter(obj_id, filter);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_deflate sets the compression method for a dataset.
+ *
+ * @param plist
+ * IN: Identifier for the dataset creation property list.
+ * @param level
+ * IN: Compression level.
+ *
+ * @return non-negative if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pset_deflate(long plist, int level) throws HDF5LibraryException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+ if (level < 0 || level > 9) {
+ throw new HDF5FunctionArgumentException("Compression level must be between 0 and 9");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_deflate(plist, level);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_fletcher32 sets Fletcher32 checksum of EDC for a dataset creation
+ * property list or group creation property list.
+ *
+ * @param plist
+ * IN: Property list identifier.
+ *
+ * @return a non-negative value and the size of the user block; if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pset_fletcher32(long plist) throws HDF5LibraryException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_fletcher32(plist);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ // /////// File creation property list (FCPL) routines ///////
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_userblock retrieves the size of a user block in a file creation property list.
+ *
+ * @param plist
+ * IN: Identifier for property list to query.
+ * @param size
+ * OUT: Pointer to location to return user-block size.
+ *
+ * @return a non-negative value and the size of the user block; if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * size is null.
+ **/
+ public static int H5Pget_userblock(long plist, long[] size)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (size == null || size.length < 1) {
+ throw new NullPointerException("size is null or has less than 1 element");
+ }
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment size_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_userblock(plist, size_segment)) < 0)
+ h5libraryError();
+ size[0] = size_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_userblock sets the user block size of a file creation property list.
+ *
+ * @param plist
+ * IN: Identifier of property list to modify.
+ * @param size
+ * IN: Size of the user-block in bytes.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pset_userblock(long plist, long size) throws HDF5LibraryException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+ if (size < 0) {
+ throw new HDF5FunctionArgumentException("User block size must be non-negative");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_userblock(plist, size);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_sizes retrieves the size of the offsets and lengths used in an HDF5 file. This function is only
+ * valid for file creation property lists.
+ *
+ * @param plist
+ * IN: Identifier of property list to query.
+ * @param size
+ * OUT: the size of the offsets and length.
+ *
+ *
+ * size[0] = sizeof_addr // offset size in bytes
+ * size[1] = sizeof_size // length size in bytes
+ *
+ * @return a non-negative value with the sizes initialized; if successful;
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * size is null.
+ * @exception HDF5FunctionArgumentException
+ * size is invalid.
+ **/
+ public static int H5Pget_sizes(long plist, long[] size)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (size == null || size.length < 2) {
+ throw new NullPointerException("size is null or has less than 2 elements");
+ }
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment addr_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ MemorySegment size_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_sizes(plist, addr_segment, size_segment)) < 0)
+ h5libraryError();
+ size[0] = addr_segment.get(ValueLayout.JAVA_LONG, 0);
+ size[1] = size_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_sizes sets the byte size of the offsets and lengths used to address objects in an HDF5 file.
+ *
+ * @param plist
+ * IN: Identifier of property list to modify.
+ * @param sizeof_addr
+ * IN: Size of an object offset in bytes.
+ * @param sizeof_size
+ * IN: Size of an object length in bytes.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pset_sizes(long plist, int sizeof_addr, int sizeof_size) throws HDF5LibraryException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+ if (sizeof_addr <= 0 || sizeof_size <= 0) {
+ throw new HDF5FunctionArgumentException("Sizes must be positive integers");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_sizes(plist, sizeof_addr, sizeof_size);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_sym_k retrieves the size of the symbol table B-tree 1/2 rank and the symbol table leaf node 1/2
+ * size.
+ *
+ * @param plist
+ * IN: Property list to query.
+ * @param size
+ * OUT: the symbol table's B-tree 1/2 rank and leaf node 1/2size.
+ *
+ *
+ * size[0] = ik // the symbol table's B-tree 1/2 rank
+ * size[1] = lk // leaf node 1/2 size
+ *
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * size is null.
+ * @exception HDF5FunctionArgumentException
+ * size is invalid.
+ **/
+ public static int H5Pget_sym_k(long plist, int[] size)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (size == null || size.length < 2) {
+ throw new NullPointerException("size is null or has less than 2 elements");
+ }
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ik_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ MemorySegment lk_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_sym_k(plist, ik_segment, lk_segment)) < 0)
+ h5libraryError();
+ size[0] = ik_segment.get(ValueLayout.JAVA_INT, 0);
+ size[1] = lk_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_sym_k sets the size of parameters used to control the symbol table nodes.
+ *
+ * @param plist
+ * IN: Identifier for property list to query.
+ * @param ik
+ * IN: Symbol table tree rank.
+ * @param lk
+ * IN: Symbol table node size.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pset_sym_k(long plist, int ik, int lk) throws HDF5LibraryException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+ if (ik <= 0 || lk <= 0) {
+ throw new HDF5FunctionArgumentException("ik and lk must be positive integers");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_sym_k(plist, ik, lk);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_istore_k queries the 1/2 rank of an indexed storage B-tree.
+ *
+ * @param plist
+ * IN: Identifier of property list to query.
+ * @param ik
+ * OUT: Pointer to location to return the chunked storage B-tree 1/2 rank.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * ik array is null.
+ **/
+ public static int H5Pget_istore_k(long plist, int[] ik) throws HDF5LibraryException, NullPointerException
+ {
+ if (ik == null || ik.length < 1) {
+ throw new NullPointerException("ik is null or has less than 1 element");
+ }
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ik_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_istore_k(plist, ik_segment)) < 0)
+ h5libraryError();
+ ik[0] = ik_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_istore_k sets the size of the parameter used to control the B-trees for indexing chunked
+ * datasets.
+ *
+ * @param plist
+ * IN: Identifier of property list to query.
+ * @param ik
+ * IN: 1/2 rank of chunked storage B-tree.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pset_istore_k(long plist, int ik) throws HDF5LibraryException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+ if (ik <= 0) {
+ throw new HDF5FunctionArgumentException("ik must be a positive integer");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_istore_k(plist, ik);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_shared_mesg_nindexes retrieves number of shared object header message indexes in file creation
+ * property list.
+ *
+ * @param fcpl_id
+ * IN: : File creation property list identifier
+ *
+ * @return nindexes, the number of shared object header message indexes available in files created with
+ * this property list
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pget_shared_mesg_nindexes(long fcpl_id) throws HDF5LibraryException
+ {
+ int retVal = -1;
+ int nindexes = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment nindexes_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if ((retVal =
+ org.hdfgroup.javahdf5.hdf5_h.H5Pget_shared_mesg_nindexes(fcpl_id, nindexes_segment)) < 0)
+ h5libraryError();
+ nindexes = nindexes_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return nindexes;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_shared_mesg_nindexes sets the number of shared object header message indexes in the specified
+ * file creation property list.
+ *
+ * @param plist_id
+ * IN: File creation property list
+ * @param nindexes
+ * IN: Number of shared object header message indexes to be available in files created with
+ * this property list
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * Invalid value of nindexes
+ *
+ **/
+ public static int H5Pset_shared_mesg_nindexes(long plist_id, int nindexes)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ if (nindexes < 0 || nindexes > 64) {
+ throw new HDF5FunctionArgumentException("nindexes must be between 0 and 64");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_shared_mesg_nindexes(plist_id, nindexes);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_shared_mesg_index Retrieves the configuration settings for a shared message index.
+ *
+ * @param fcpl_id
+ * IN: File creation property list identifier
+ * @param index_num
+ * IN: Index being configured.
+ * @param mesg_info
+ * The message type and minimum message size
+ *
+ *
+ * mesg_info[0] = Types of messages that may be stored in this index.
+ * mesg_info[1] = Minimum message size.
+ *
+ *
+ * @return Returns a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * mesg_info is null.
+ * @exception HDF5FunctionArgumentException
+ * Invalid value of nindexes
+ *
+ **/
+ public static int H5Pget_shared_mesg_index(long fcpl_id, int index_num, int[] mesg_info)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (mesg_info == null || mesg_info.length < 2) {
+ throw new NullPointerException("mesg_info is null or has less than 2 elements");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment mesg_type_flags_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ MemorySegment min_mesg_size_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_shared_mesg_index(
+ fcpl_id, index_num, mesg_type_flags_segment, min_mesg_size_segment)) < 0) {
+ h5libraryError();
+ }
+ mesg_info[0] = mesg_type_flags_segment.get(ValueLayout.JAVA_INT, 0);
+ mesg_info[1] = min_mesg_size_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_shared_mesg_index Configures the specified shared object header message index
+ *
+ * @param fcpl_id
+ * IN: File creation property list identifier.
+ * @param index_num
+ * IN: Index being configured.
+ * @param mesg_type_flags
+ * IN: Types of messages that should be stored in this index.
+ * @param min_mesg_size
+ * IN: Minimum message size.
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * Invalid value of nindexes
+ *
+ **/
+ public static int H5Pset_shared_mesg_index(long fcpl_id, int index_num, int mesg_type_flags,
+ int min_mesg_size)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ if (index_num < 0 || index_num > 63) {
+ throw new HDF5FunctionArgumentException("index_num must be between 0 and 63");
+ }
+ if (mesg_type_flags < 0) {
+ throw new HDF5FunctionArgumentException("mesg_type_flags must be non-negative");
+ }
+ if (min_mesg_size < 0) {
+ throw new HDF5FunctionArgumentException("min_mesg_size must be non-negative");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_shared_mesg_index(fcpl_id, index_num,
+ mesg_type_flags, min_mesg_size);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_shared_mesg_phase_change retrieves shared object header message phase change information.
+ *
+ * @param fcpl_id
+ * IN: : File creation property list identifier
+ * @param size
+ * The threshold values for storage of shared object header message indexes in a file.
+ *
+ *
+ * size[0] = Threshold above which storage of a shared object header message index shifts from list
+ * to B-tree size[1] = Threshold below which storage of a shared object header message index reverts
+ * to list format
+ *
+ *
+ * @return Returns a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * size is null.
+ *
+ **/
+ public static int H5Pget_shared_mesg_phase_change(long fcpl_id, int[] size)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (size == null || size.length < 2) {
+ throw new NullPointerException("size is null or has less than 2 elements");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment max_list_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ MemorySegment min_btree_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_shared_mesg_phase_change(
+ fcpl_id, max_list_segment, min_btree_segment)) < 0) {
+ h5libraryError();
+ }
+ size[0] = max_list_segment.get(ValueLayout.JAVA_INT, 0);
+ size[1] = min_btree_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_shared_mesg_phase_change sets shared object header message storage phase change thresholds.
+ *
+ * @param fcpl_id
+ * IN: File creation property list identifier
+ * @param max_list
+ * IN: Threshold above which storage of a shared object header message index shifts from list
+ * to B-tree
+ * @param min_btree
+ * IN: Threshold below which storage of a shared object header message index reverts to list
+ * format
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * Invalid values of max_list and min_btree.
+ *
+ **/
+ public static int H5Pset_shared_mesg_phase_change(long fcpl_id, int max_list, int min_btree)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ if (max_list < 0 || min_btree < 0) {
+ throw new HDF5FunctionArgumentException("max_list and min_btree must be non-negative");
+ }
+ if (max_list < min_btree) {
+ throw new HDF5FunctionArgumentException("max_list must be greater than or equal to min_btree");
+ }
+
+ int retVal =
+ org.hdfgroup.javahdf5.hdf5_h.H5Pset_shared_mesg_phase_change(fcpl_id, max_list, min_btree);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_file_space_strategy sets the file space management strategy for the file associated with fcpl_id
+ * to strategy. There are four strategies that applications can select and they are described in the
+ * Parameters section.
+ *
+ * @param fcpl_id
+ * IN: File creation property list identifier
+ * @param strategy
+ * IN: The strategy for file space management.
+ * H5F_FSPACE_STRATEGY_FSM_AGGR
+ * Mechanisms: free-space managers, aggregators, and virtual file drivers
+ * This is the library default when not set.
+ * H5F_FSPACE_STRATEGY_PAGE
+ * Mechanisms: free-space managers with embedded paged aggregation and virtual file
+ * drivers
+ * H5F_FSPACE_STRATEGY_AGGR
+ * Mechanisms: aggregators and virtual file drivers
+ * H5F_FSPACE_STRATEGY_NONE
+ * Mechanisms: virtual file drivers
+ * @param persist
+ * IN: True to persist free-space.
+ * @param threshold
+ * IN: The free-space section threshold. The library default is 1, which is to track all
+ * free-space sections. Passing a value of zero (0) indicates that the value of threshold
+ * is not to be modified.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * Invalid values of max_list and min_btree.
+ *
+ **/
+ public static void H5Pset_file_space_strategy(long fcpl_id, int strategy, boolean persist, long threshold)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ if (strategy < 0 || strategy > 3) {
+ throw new HDF5FunctionArgumentException("Invalid strategy value");
+ }
+
+ int retVal =
+ org.hdfgroup.javahdf5.hdf5_h.H5Pset_file_space_strategy(fcpl_id, strategy, persist, threshold);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_file_space_strategy provides the means for applications to manage the HDF5 file's file space
+ * strategy for their specific needs.
+ *
+ * @param fcpl_id
+ * IN: File creation property list identifier
+ * @param persist
+ * IN/OUT: The current free-space persistence. NULL, persist not queried.
+ * @param threshold
+ * IN/OUT: The current free-space section threshold. NULL, threshold not queried.
+ *
+ * @return the current free-space strategy.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * Invalid values of max_list and min_btree.
+ *
+ **/
+ public static int H5Pget_file_space_strategy(long fcpl_id, boolean[] persist, long[] threshold)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment strategy_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ MemorySegment persist_segment = MemorySegment.NULL;
+ if (persist != null && persist.length > 0)
+ persist_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN, 1);
+ MemorySegment threshold_segment = MemorySegment.NULL;
+ if (threshold != null && threshold.length > 0)
+ threshold_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_file_space_strategy(
+ fcpl_id, strategy_segment, persist_segment, threshold_segment)) < 0) {
+ h5libraryError();
+ }
+ retVal = strategy_segment.get(ValueLayout.JAVA_INT, 0);
+ if (persist != null && persist.length > 0)
+ persist[0] = persist_segment.get(ValueLayout.JAVA_BOOLEAN, 0);
+ if (threshold != null && threshold.length > 0)
+ threshold[0] = threshold_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_file_space_strategy_persist provides the means for applications to manage the HDF5 file's file
+ * space strategy for their specific needs.
+ *
+ * @param fcpl_id
+ * IN: File creation property list identifier
+ *
+ * @return the current free-space persistence.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * Invalid values of max_list and min_btree.
+ *
+ **/
+ public static boolean H5Pget_file_space_strategy_persist(long fcpl_id)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ boolean persist[] = {false};
+ if (hdf.hdf5lib.H5.H5Pget_file_space_strategy(fcpl_id, persist, null) < 0) {
+ h5libraryError();
+ }
+ return persist[0];
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_file_space_strategy_threshold provides the means for applications to manage the HDF5 file's file
+ * space strategy for their specific needs.
+ *
+ * @param fcpl_id
+ * IN: File creation property list identifier
+ *
+ * @return the current free-space section threshold.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * Invalid values of max_list and min_btree.
+ *
+ **/
+ public static long H5Pget_file_space_strategy_threshold(long fcpl_id)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ long threshold[] = {-1};
+ if (hdf.hdf5lib.H5.H5Pget_file_space_strategy(fcpl_id, null, threshold) < 0) {
+ h5libraryError();
+ }
+ return threshold[0];
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_file_space_page_size retrieves the file space page size for aggregating small metadata or raw
+ * data.
+ *
+ * @param fcpl_id
+ * IN: File creation property list identifier
+ * @param page_size
+ * IN: the file space page size.
+ *
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * Invalid values of max_list and min_btree.
+ *
+ **/
+ public static void H5Pset_file_space_page_size(long fcpl_id, long page_size)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_file_space_page_size(fcpl_id, page_size);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_file_space_page_size Sets the file space page size for paged aggregation.
+ *
+ * @param fcpl_id
+ * IN: File creation property list identifier
+ *
+ * @return the current file space page size.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * Invalid values of max_list and min_btree.
+ *
+ **/
+ public static long H5Pget_file_space_page_size(long fcpl_id)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ long page_size = -1;
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment page_size_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_file_space_page_size(fcpl_id, page_size_segment) < 0)
+ h5libraryError();
+ page_size = page_size_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return page_size;
+ }
+
+ // /////// File access property list (FAPL) routines ///////
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_alignment retrieves the current settings for alignment properties from a file access property
+ * list.
+ *
+ * @param plist
+ * IN: Identifier of a file access property list.
+ * @param alignment
+ * OUT: threshold value and alignment value.
+ *
+ *
+ * alignment[0] = threshold // threshold value
+ * alignment[1] = alignment // alignment value
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * alignment array is null.
+ * @exception HDF5FunctionArgumentException
+ * alignment array is invalid.
+ **/
+ public static int H5Pget_alignment(long plist, long[] alignment)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (alignment == null || alignment.length < 2) {
+ throw new NullPointerException("alignment is null or has less than 2 elements");
+ }
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment threshold_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ MemorySegment alignment_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_alignment(plist, threshold_segment,
+ alignment_segment)) < 0)
+ h5libraryError();
+ alignment[0] = threshold_segment.get(ValueLayout.JAVA_LONG, 0);
+ alignment[1] = alignment_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_alignment sets the alignment properties of a file access property list so that any file object
+ * >= THRESHOLD bytes will be aligned on an address which is a multiple of ALIGNMENT.
+ *
+ * @param plist
+ * IN: Identifier for a file access property list.
+ * @param threshold
+ * IN: Threshold value.
+ * @param alignment
+ * IN: Alignment value.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pset_alignment(long plist, long threshold, long alignment) throws HDF5LibraryException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+ if (threshold < 0 || alignment <= 0)
+ throw new HDF5FunctionArgumentException(
+ "threshold must be non-negative and alignment must be positive");
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_alignment(plist, threshold, alignment);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_driver returns the identifier of the low-level file driver associated with the file access
+ * property list or data transfer property list plid.
+ *
+ * @param plid
+ * IN: File access or data transfer property list identifier.
+ * @return a valid low-level driver identifier if successful; a negative value if failed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ */
+ public static long H5Pget_driver(long plid) throws HDF5LibraryException
+ {
+ long driver_id = org.hdfgroup.javahdf5.hdf5_h.H5Pget_driver(plid);
+ if (driver_id < 0) {
+ h5libraryError();
+ }
+ return driver_id;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_family_offset gets offset for family driver.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ *
+ * @return the offset.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static long H5Pget_family_offset(long fapl_id) throws HDF5LibraryException
+ {
+ long offset = -1;
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment offset_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_family_offset(fapl_id, offset_segment)) < 0)
+ h5libraryError();
+ offset = offset_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return offset;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_family_offset sets the offset for family driver.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param offset
+ * IN: the offset value
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_family_offset(long fapl_id, long offset) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_family_offset(fapl_id, offset);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * Retrieves the maximum possible number of elements in the meta data cache and the maximum possible
+ * number of bytes and the RDCC_W0 value in the raw data chunk cache.
+ *
+ * @param plist
+ * IN: Identifier of the file access property list.
+ * @param mdc_nelmts
+ * IN/OUT: No longer used, will be ignored.
+ * @param rdcc_nelmts
+ * IN/OUT: Number of elements (objects) in the raw data chunk cache.
+ * @param rdcc_nbytes
+ * IN/OUT: Total size of the raw data chunk cache, in bytes.
+ * @param rdcc_w0
+ * IN/OUT: Preemption policy.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an array is null.
+ **/
+ public static int H5Pget_cache(long plist, int[] mdc_nelmts, long[] rdcc_nelmts, long[] rdcc_nbytes,
+ double[] rdcc_w0) throws HDF5LibraryException, NullPointerException
+ {
+ if (rdcc_nelmts == null || rdcc_nbytes == null || rdcc_w0 == null || rdcc_nelmts.length < 1 ||
+ rdcc_nbytes.length < 1 || rdcc_w0.length < 1) {
+ throw new NullPointerException("One or more arrays are null or have insufficient length");
+ }
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment mdc_nelmts_segment = MemorySegment.NULL;
+ MemorySegment rdcc_nelmts_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ MemorySegment rdcc_nbytes_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ MemorySegment rdcc_w0_segment = arena.allocate(ValueLayout.JAVA_DOUBLE, 1);
+
+ if ((retVal =
+ org.hdfgroup.javahdf5.hdf5_h.H5Pget_cache(plist, mdc_nelmts_segment, rdcc_nelmts_segment,
+ rdcc_nbytes_segment, rdcc_w0_segment)) < 0) {
+ h5libraryError();
+ }
+
+ rdcc_nelmts[0] = rdcc_nelmts_segment.get(ValueLayout.JAVA_LONG, 0);
+ rdcc_nbytes[0] = rdcc_nbytes_segment.get(ValueLayout.JAVA_LONG, 0);
+ rdcc_w0[0] = rdcc_w0_segment.get(ValueLayout.JAVA_DOUBLE, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_cache sets the number of elements (objects) in the meta data cache and the total number of bytes
+ * in the raw data chunk cache.
+ *
+ * @param plist
+ * IN: Identifier of the file access property list.
+ * @param mdc_nelmts
+ * IN: No longer used, will be ignored.
+ * @param rdcc_nelmts
+ * IN: Number of elements (objects) in the raw data chunk cache.
+ * @param rdcc_nbytes
+ * IN: Total size of the raw data chunk cache, in bytes.
+ * @param rdcc_w0
+ * IN: Preemption policy.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pset_cache(long plist, int mdc_nelmts, long rdcc_nelmts, long rdcc_nbytes,
+ double rdcc_w0) throws HDF5LibraryException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+ if (rdcc_nelmts < 0 || rdcc_nbytes < 0 || rdcc_w0 < 0.0) {
+ throw new HDF5FunctionArgumentException(
+ "rdcc_nelmts, rdcc_nbytes must be non-negative and rdcc_w0 must be non-negative");
+ }
+
+ int retVal =
+ org.hdfgroup.javahdf5.hdf5_h.H5Pset_cache(plist, mdc_nelmts, rdcc_nelmts, rdcc_nbytes, rdcc_w0);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_mdc_config gets the initial metadata cache configuration contained in a file access property
+ * list. This configuration is used when the file is opened.
+ *
+ * @param plist_id
+ * IN: Identifier of the file access property list.
+ *
+ * @return A buffer(H5AC_cache_config_t) for the current metadata cache configuration information
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static hdf.hdf5lib.structs.H5AC_cache_config_t H5Pget_mdc_config(long plist_id)
+ throws HDF5LibraryException
+ {
+ hdf.hdf5lib.structs.H5AC_cache_config_t config = null;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment config_segment = arena.allocate(org.hdfgroup.javahdf5.H5AC_cache_config_t.sizeof());
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.version(config_segment,
+ HDF5Constants.H5AC_CURR_CACHE_CONFIG_VERSION);
+
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_mdc_config(plist_id, config_segment) < 0)
+ h5libraryError();
+
+ // Unpack the H5AC_cache_config_t from the MemorySegment
+ config = new hdf.hdf5lib.structs.H5AC_cache_config_t(
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.version(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.rpt_fcn_enabled(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.open_trace_file(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.close_trace_file(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.trace_file_name(config_segment)
+ .getString(0, StandardCharsets.UTF_8),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.evictions_enabled(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.set_initial_size(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.initial_size(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.min_clean_fraction(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.max_size(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.min_size(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.epoch_length(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.incr_mode(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.lower_hr_threshold(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.increment(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.apply_max_increment(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.max_increment(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.flash_incr_mode(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.flash_multiple(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.flash_threshold(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.decr_mode(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.upper_hr_threshold(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.decrement(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.apply_max_decrement(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.max_decrement(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.epochs_before_eviction(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.apply_empty_reserve(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.empty_reserve(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.dirty_bytes_threshold(config_segment),
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.metadata_write_strategy(config_segment));
+ }
+ return config;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_mdc_config sets the initial metadata cache configuration contained in a file access property
+ * list and loads it into the instance of H5AC_cache_config_t pointed to by the config_ptr parameter. This
+ * configuration is used when the file is opened.
+ *
+ * @param plist_id
+ * IN: Identifier of the file access property list.
+ * @param config_ptr
+ * IN: H5AC_cache_config_t, the initial metadata cache configuration.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * config_ptr is null.
+ **/
+ public static void H5Pset_mdc_config(long plist_id, hdf.hdf5lib.structs.H5AC_cache_config_t config_ptr)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (config_ptr == null) {
+ throw new NullPointerException("config_ptr is null");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment config_segment = arena.allocate(org.hdfgroup.javahdf5.H5AC_cache_config_t.sizeof());
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.version(config_segment, config_ptr.version);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.rpt_fcn_enabled(config_segment,
+ config_ptr.rpt_fcn_enabled);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.open_trace_file(config_segment,
+ config_ptr.open_trace_file);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.close_trace_file(config_segment,
+ config_ptr.close_trace_file);
+ MemorySegment trace_file_name_segment = arena.allocate(1025);
+ trace_file_name_segment.fill((byte)0);
+ MemorySegment.copy(config_ptr.trace_file_name.getBytes(), 0, trace_file_name_segment,
+ ValueLayout.JAVA_BYTE, 0L, config_ptr.trace_file_name.length());
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.trace_file_name(config_segment,
+ trace_file_name_segment);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.evictions_enabled(config_segment,
+ config_ptr.evictions_enabled);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.set_initial_size(config_segment,
+ config_ptr.set_initial_size);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.initial_size(config_segment, config_ptr.initial_size);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.min_clean_fraction(config_segment,
+ config_ptr.min_clean_fraction);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.max_size(config_segment, config_ptr.max_size);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.min_size(config_segment, config_ptr.min_size);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.epoch_length(config_segment,
+ (int)config_ptr.epoch_length);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.incr_mode(config_segment, config_ptr.incr_mode);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.lower_hr_threshold(config_segment,
+ config_ptr.lower_hr_threshold);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.increment(config_segment, config_ptr.increment);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.apply_max_increment(config_segment,
+ config_ptr.apply_max_increment);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.max_increment(config_segment, config_ptr.max_increment);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.flash_incr_mode(config_segment,
+ config_ptr.flash_incr_mode);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.flash_multiple(config_segment,
+ config_ptr.flash_multiple);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.flash_threshold(config_segment,
+ config_ptr.flash_threshold);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.decr_mode(config_segment, config_ptr.decr_mode);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.upper_hr_threshold(config_segment,
+ config_ptr.upper_hr_threshold);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.decrement(config_segment, config_ptr.decrement);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.apply_max_decrement(config_segment,
+ config_ptr.apply_max_decrement);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.max_decrement(config_segment, config_ptr.max_decrement);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.epochs_before_eviction(
+ config_segment, config_ptr.epochs_before_eviction);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.apply_empty_reserve(config_segment,
+ config_ptr.apply_empty_reserve);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.empty_reserve(config_segment, config_ptr.empty_reserve);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.dirty_bytes_threshold(config_segment,
+ config_ptr.dirty_bytes_threshold);
+ org.hdfgroup.javahdf5.H5AC_cache_config_t.metadata_write_strategy(
+ config_segment, config_ptr.metadata_write_strategy);
+
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pset_mdc_config(plist_id, config_segment) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_gc_references Returns the current setting for the garbage collection references property from a
+ * file access property list.
+ *
+ * @param fapl_id
+ * IN File access property list
+ *
+ * @return GC is on (true) or off (false)
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5Pget_gc_references(long fapl_id) throws HDF5LibraryException
+ {
+ boolean gc_ref = false;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment gc_ref_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_gc_references(fapl_id, gc_ref_segment) < 0)
+ h5libraryError();
+ gc_ref = gc_ref_segment.get(ValueLayout.JAVA_BOOLEAN, 0);
+ }
+ return gc_ref;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_gc_references Sets the flag for garbage collecting references for the file. Default value for
+ * garbage collecting references is off.
+ *
+ * @param fapl_id
+ * IN File access property list
+ * @param gc_ref
+ * IN set GC on (true) or off (false)
+ *
+ * @return non-negative if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pset_gc_references(long fapl_id, boolean gc_ref) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_gc_references(fapl_id, gc_ref ? 1 : 0);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_fclose_degree returns the degree for the file close behavior for a file access
+ * property list.
+ *
+ * @param fapl_id
+ * IN File access property list
+ *
+ * @return the degree for the file close behavior
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pget_fclose_degree(long fapl_id) throws HDF5LibraryException
+ {
+ int degree = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment degree_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_fclose_degree(fapl_id, degree_segment) < 0)
+ h5libraryError();
+ degree = degree_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return degree;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_fclose_degree sets the degree for the file close behavior.
+ *
+ * @param fapl_id
+ * IN File access property list
+ * @param degree
+ * IN the degree for the file close behavior
+ *
+ * @return non-negative if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pset_fclose_degree(long fapl_id, int degree) throws HDF5LibraryException
+ {
+ if (degree < 0 || degree > HDF5Constants.H5F_CLOSE_STRONG) {
+ throw new HDF5FunctionArgumentException(
+ "degree must be from H5F_CLOSE_DEFAULT to H5F_CLOSE_STRONG");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_fclose_degree(fapl_id, degree);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_meta_block_size the current metadata block size setting.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ *
+ * @return the minimum size, in bytes, of metadata block allocations.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static long H5Pget_meta_block_size(long fapl_id) throws HDF5LibraryException
+ {
+ long size = -1;
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment size_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_meta_block_size(fapl_id, size_segment)) < 0)
+ h5libraryError();
+ size = size_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return size;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_meta_block_size sets the minimum metadata block size.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param size
+ * IN: Minimum size, in bytes, of metadata block allocations.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static void H5Pset_meta_block_size(long fapl_id, long size) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_meta_block_size(fapl_id, size);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_sieve_buf_size retrieves the current settings for the data sieve buffer size
+ * property from a file access property list.
+ *
+ * @param fapl_id
+ * IN: Identifier for property list to query.
+ *
+ * @return a non-negative value and the size of the user block; if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Pget_sieve_buf_size(long fapl_id) throws HDF5LibraryException
+ {
+ long size = -1;
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment size_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_sieve_buf_size(fapl_id, size_segment)) < 0)
+ h5libraryError();
+ size = size_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return size;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_sieve_buf_size Sets the maximum size of the data sieve buffer used for file
+ * drivers which are capable of using data sieving. The data sieve
+ * buffer is used when performing I/O on datasets in the file. Using a
+ * buffer which is large enough to hold several pieces of the dataset
+ * being read in for hyperslab selections boosts performance by quite a
+ * bit.
+ *
+ * The default value is set to 64KB, indicating that file I/O for raw data
+ * reads and writes will occur in at least 64KB blocks. Setting the value to 0
+ * with this function will turn off the data sieving
+ *
+ * @param fapl_id
+ * IN: Identifier of property list to modify.
+ * @param size
+ * IN: maximum size of the data sieve buffer.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Pset_sieve_buf_size(long fapl_id, long size) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_sieve_buf_size(fapl_id, size);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_small_data_block_size retrieves the size of a block of small data in a file creation property
+ * list.
+ *
+ * @param plist
+ * IN: Identifier for property list to query.
+ *
+ * @return a non-negative value and the size of the user block; if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Pget_small_data_block_size(long plist) throws HDF5LibraryException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ long size = -1;
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment size_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_small_data_block_size(plist, size_segment)) < 0)
+ h5libraryError();
+ size = size_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return size;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_small_data_block_size reserves blocks of size bytes for the contiguous storage of the raw data
+ * portion of small datasets.
+ *
+ * @param plist
+ * IN: Identifier of property list to modify.
+ * @param size
+ * IN: Size of the blocks in bytes.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pset_small_data_block_size(long plist, long size) throws HDF5LibraryException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+ if (size < 0) {
+ throw new HDF5FunctionArgumentException("size must be non-negative");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_small_data_block_size(plist, size);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_libver_bounds retrieves the lower and upper bounds on the HDF5 Library versions that indirectly
+ * determine the object formats versions used when creating objects in the file.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param libver
+ * The earliest/latest version of the library that will be used for writing objects.
+ *
+ *
+ * libver[0] = The earliest version of the library that will be used for writing objects
+ * libver[1] = The latest version of the library that will be used for writing objects.
+ *
+ *
+ * @return Returns a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * size is null.
+ *
+ **/
+ public static int H5Pget_libver_bounds(long fapl_id, int[] libver)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (libver == null || libver.length < 2) {
+ throw new NullPointerException("libver is null or has insufficient length");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment low_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ MemorySegment high_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_libver_bounds(fapl_id, low_segment,
+ high_segment)) < 0)
+ h5libraryError();
+ libver[0] = low_segment.get(ValueLayout.JAVA_INT, 0);
+ libver[1] = high_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_libver_bounds Sets bounds on library versions, and indirectly format versions, to be used when
+ * creating objects
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param low
+ * IN: The earliest version of the library that will be used for writing objects
+ * @param high
+ * IN: The latest version of the library that will be used for writing objects.
+ *
+ *
+ * @return Returns a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * Argument is Illegal
+ *
+ **/
+ public static int H5Pset_libver_bounds(long fapl_id, int low, int high)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ if (low < 0 || high < 0 || low > high) {
+ throw new HDF5FunctionArgumentException("low and high must be non-negative and low <= high");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_libver_bounds(fapl_id, low, high);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_elink_file_cache_size retrieves the size of the external link open file cache.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ *
+ * @return External link open file cache size in number of files.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pget_elink_file_cache_size(long fapl_id) throws HDF5LibraryException
+ {
+ int efc_size = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment efc_size_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_elink_file_cache_size(fapl_id, efc_size_segment) < 0)
+ h5libraryError();
+ efc_size = efc_size_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return efc_size;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_elink_file_cache_size sets the number of files that can be held open in an external link open
+ * file cache.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param efc_size
+ * IN: External link open file cache size in number of files.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static void H5Pset_elink_file_cache_size(long fapl_id, int efc_size) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_elink_file_cache_size(fapl_id, efc_size);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_mdc_log_options sets metadata cache logging options.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param is_enabled
+ * IN: Whether logging is enabled.
+ * @param location
+ * IN: Location of log in UTF-8/ASCII (file path/name) (On Windows, this must be ASCII).
+ * @param start_on_access
+ * IN: Whether the logging begins as soon as the file is opened or created.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * location is null.
+ *
+ **/
+ public static void H5Pset_mdc_log_options(long fapl_id, boolean is_enabled, String location,
+ boolean start_on_access)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (location == null) {
+ throw new NullPointerException("location is null");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment location_segment = arena.allocateFrom(location);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pset_mdc_log_options(fapl_id, is_enabled, location_segment,
+ start_on_access) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_mdc_log_options gets metadata cache logging options.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param mdc_log_options
+ * the options
+ * mdc_logging_options[0] = is_enabled, whether logging is enabled
+ * mdc_logging_options[1] = start_on_access, whether the logging begins as soon as the file is
+ * opened or created
+ *
+ * @return the location of log in UTF-8/ASCII (file path/name) (On Windows, this must be ASCII).
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static String H5Pget_mdc_log_options(long fapl_id, boolean[] mdc_log_options)
+ throws HDF5LibraryException
+ {
+ long buf_size = -1;
+ if (mdc_log_options == null || mdc_log_options.length < 2) {
+ throw new NullPointerException("mdc_log_options is null or has insufficient length");
+ }
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment buf_size_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ MemorySegment is_enabled_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN, 1);
+ MemorySegment start_on_access_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_mdc_log_options(fapl_id, is_enabled_segment,
+ MemorySegment.NULL, buf_size_segment,
+ start_on_access_segment) < 0)
+ h5libraryError();
+ buf_size = buf_size_segment.get(ValueLayout.JAVA_LONG, 0) + 1; // +1 for null terminator;
+ }
+
+ String location = null;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment buf_size_segment = arena.allocate(ValueLayout.JAVA_LONG, buf_size);
+ MemorySegment location_segment = arena.allocate(buf_size);
+ MemorySegment is_enabled_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN, 1);
+ MemorySegment start_on_access_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN, 1);
+
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_mdc_log_options(fapl_id, is_enabled_segment,
+ location_segment, buf_size_segment,
+ start_on_access_segment) < 0)
+ h5libraryError();
+
+ mdc_log_options[0] = is_enabled_segment.get(ValueLayout.JAVA_BOOLEAN, 0);
+ mdc_log_options[1] = start_on_access_segment.get(ValueLayout.JAVA_BOOLEAN, 0);
+
+ location = location_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return location;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_metadata_read_attempts retrieves the number of read attempts that is set in the file access
+ * property list plist_id.
+ *
+ * @param plist_id
+ * IN: File access property list identifier
+ *
+ * @return The number of read attempts.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pget_metadata_read_attempts(long plist_id) throws HDF5LibraryException
+ {
+ int attempts = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment attempts_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_metadata_read_attempts(plist_id, attempts_segment) < 0)
+ h5libraryError();
+ attempts = attempts_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return attempts;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_metadata_read_attempts sets the number of reads that the library will try when reading
+ * checksummed metadata in an HDF5 file opened with SWMR access. When reading such metadata, the library
+ * will compare the checksum computed for the metadata just read with the checksum stored within the piece
+ * of checksum. When performing SWMR operations on a file, the checksum check might fail when the library
+ * reads data on a system that is not atomic. To remedy such situations, the library will repeatedly read
+ * the piece of metadata until the check passes or finally fails the read when the allowed number of
+ * attempts is reached.
+ *
+ * @param plist_id
+ * IN: File access property list identifier
+ * @param attempts
+ * IN: The number of read attempts which is a value greater than 0.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static void H5Pset_metadata_read_attempts(long plist_id, int attempts) throws HDF5LibraryException
+ {
+ if (attempts <= 0) {
+ throw new HDF5FunctionArgumentException("attempts must be greater than 0");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_metadata_read_attempts(plist_id, attempts);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_evict_on_close retrieves the file access property list setting that determines whether an HDF5
+ * object will be evicted from the library's metadata cache when it is closed.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ *
+ * @return indication if the object will be evicted on close.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static boolean H5Pget_evict_on_close(long fapl_id) throws HDF5LibraryException
+ {
+ boolean evict_on_close = false;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment evict_on_close_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_evict_on_close(fapl_id, evict_on_close_segment) < 0)
+ h5libraryError();
+ evict_on_close = evict_on_close_segment.get(ValueLayout.JAVA_BOOLEAN, 0);
+ }
+ return evict_on_close;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_evict_on_close controls the library's behavior of evicting metadata associated with a closed
+ * object.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param evict_on_close
+ * IN: Whether the HDF5 object should be evicted on close.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static void H5Pset_evict_on_close(long fapl_id, boolean evict_on_close) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_evict_on_close(fapl_id, evict_on_close);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_use_file_locking retrieves whether we are using file locking.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ *
+ * @return indication if file locking is used.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static boolean H5Pget_use_file_locking(long fapl_id) throws HDF5LibraryException
+ {
+ boolean use_file_locking = false;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment use_file_locking_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN, 1);
+ MemorySegment unused_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_file_locking(fapl_id, use_file_locking_segment,
+ unused_segment) < 0)
+ h5libraryError();
+ use_file_locking = use_file_locking_segment.get(ValueLayout.JAVA_BOOLEAN, 0);
+ }
+ return use_file_locking;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_use_file_locking retrieves whether we ignore file locks when they are disabled.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ *
+ * @return indication if file locking is ignored.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static boolean H5Pget_ignore_disabled_file_locking(long fapl_id) throws HDF5LibraryException
+ {
+ boolean ignore_when_disabled = false;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ignore_when_disabled_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN, 1);
+ MemorySegment unused_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_file_locking(fapl_id, unused_segment,
+ ignore_when_disabled_segment) < 0)
+ h5libraryError();
+ ignore_when_disabled = ignore_when_disabled_segment.get(ValueLayout.JAVA_BOOLEAN, 0);
+ }
+ return ignore_when_disabled;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_file_locking sets parameters related to file locking.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ *
+ * @param use_file_locking
+ * IN: Whether the library will use file locking when opening files (mainly for SWMR
+ *semantics).
+ *
+ * @param ignore_when_disabled
+ * IN: Whether file locking will be ignored when disabled on a file system (useful for Lustre).
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static void H5Pset_file_locking(long fapl_id, boolean use_file_locking,
+ boolean ignore_when_disabled) throws HDF5LibraryException
+ {
+ int retVal =
+ org.hdfgroup.javahdf5.hdf5_h.H5Pset_file_locking(fapl_id, use_file_locking, ignore_when_disabled);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ // ///// unimplemented /////
+ // herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info);
+ // herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id);
+ // herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info);
+
+ // Dataset creation property list (DCPL) routines //
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_layout returns the layout of the raw data for a dataset.
+ *
+ * @param plist
+ * IN: Identifier for property list to query.
+ *
+ * @return the layout type of a dataset creation property list if successful. Otherwise returns
+ * H5D_LAYOUT_ERROR (-1).
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pget_layout(long plist) throws HDF5LibraryException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int layout = org.hdfgroup.javahdf5.hdf5_h.H5Pget_layout(plist);
+ if (layout < 0) {
+ h5libraryError();
+ }
+ return layout;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_layout sets the type of storage used store the raw data for a dataset.
+ *
+ * @param plist
+ * IN: Identifier of property list to query.
+ * @param layout
+ * IN: Type of storage layout for raw data.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pset_layout(long plist, int layout) throws HDF5LibraryException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+ if (layout < 0) {
+ throw new HDF5FunctionArgumentException("Invalid layout type specified");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_layout(plist, layout);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_chunk retrieves the size of chunks for the raw data of a chunked layout dataset.
+ *
+ * @param plist
+ * IN: Identifier of property list to query.
+ * @param max_ndims
+ * IN: Size of the dims array.
+ * @param dims
+ * OUT: Array to store the chunk dimensions.
+ *
+ * @return chunk dimensionality successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * dims array is null.
+ * @exception HDF5FunctionArgumentException
+ * max_ndims <=0
+ **/
+ public static int H5Pget_chunk(long plist, int max_ndims, long[] dims)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (dims == null || dims.length < max_ndims) {
+ throw new NullPointerException("dims is null or has insufficient length");
+ }
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+ if (max_ndims <= 0) {
+ throw new HDF5FunctionArgumentException("max_ndims must be greater than 0");
+ }
+ int ndims = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment dims_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, dims);
+ ndims = org.hdfgroup.javahdf5.hdf5_h.H5Pget_chunk(plist, max_ndims, dims_segment);
+ if (ndims < 0) {
+ h5libraryError();
+ }
+ for (int i = 0; i < ndims; i++) {
+ dims[i] = dims_segment.get(ValueLayout.JAVA_LONG, i * Long.BYTES);
+ }
+ }
+ return ndims;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_chunk sets the size of the chunks used to store a chunked layout dataset.
+ *
+ * @param plist
+ * IN: Identifier for property list to query.
+ * @param ndims
+ * IN: The number of dimensions of each chunk.
+ * @param dim
+ * IN: An array containing the size of each chunk.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * dims array is null.
+ * @exception HDF5FunctionArgumentException
+ * dims <=0
+ **/
+ public static int H5Pset_chunk(long plist, int ndims, byte[] dim)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (dim == null || dim.length < ndims * Long.BYTES) {
+ throw new NullPointerException("dim is null or has insufficient length");
+ }
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+ if (ndims <= 0) {
+ throw new HDF5FunctionArgumentException("ndims must be greater than 0");
+ }
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment dim_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, dim);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_chunk(plist, ndims, dim_segment)) < 0)
+ h5libraryError();
+ }
+
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_chunk sets the size of the chunks used to store a chunked layout dataset.
+ *
+ * @param plist
+ * IN: Identifier for property list to query.
+ * @param ndims
+ * IN: The number of dimensions of each chunk.
+ * @param dim
+ * IN: An array containing the size of each chunk.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5Exception
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * dims array is null.
+ * @exception HDF5FunctionArgumentException
+ * dims <=0
+ **/
+ public static int H5Pset_chunk(long plist, int ndims, long[] dim)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (dim == null) {
+ throw new NullPointerException("dim is null");
+ }
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment dim_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, dim);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_chunk(plist, ndims, dim_segment)) < 0)
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_virtual maps elements of the virtual dataset (VDS) described by the
+ * virtual dataspace identifier vspace_id to the elements of the source dataset
+ * described by the source dataset dataspace identifier src_space_id. The source
+ * dataset is identified by the name of the file where it is located, src_file_name,
+ * and the name of the dataset, src_dset_name.
+ *
+ * @param dcpl_id
+ * IN: The identifier of the dataset creation property list that will be used when creating the
+ * virtual dataset.
+ * @param vspace_id
+ * IN: The dataspace identifier with the selection within the virtual dataset applied, possibly
+ * an unlimited selection.
+ * @param src_file_name
+ * IN: The name of the HDF5 file where the source dataset is located. The file might not exist
+ * yet. The name can be specified using a C-style printf statement.
+ * @param src_dset_name
+ * IN: The path to the HDF5 dataset in the file specified by src_file_name. The dataset might
+ * not exist yet. The dataset name can be specified using a C-style printf statement.
+ * @param src_space_id
+ * IN: The source dataset dataspace identifier with a selection applied, possibly an unlimited
+ * selection.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an name string is null.
+ * @exception HDF5FunctionArgumentException
+ * an id is <=0
+ **/
+ public static void H5Pset_virtual(long dcpl_id, long vspace_id, String src_file_name,
+ String src_dset_name, long src_space_id)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (src_file_name == null || src_dset_name == null) {
+ throw new NullPointerException("src_file_name or src_dset_name is null");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment src_file_name_segment = arena.allocateFrom(src_file_name);
+ MemorySegment src_dset_name_segment = arena.allocateFrom(src_dset_name);
+
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pset_virtual(dcpl_id, vspace_id, src_file_name_segment,
+ src_dset_name_segment, src_space_id) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_virtual_count gets the number of mappings for a virtual dataset that has the creation property
+ * list specified by dcpl_id.
+ *
+ * @param dcpl_id
+ * IN: The identifier of the virtual dataset creation property list.
+ *
+ * @return a non-negative number of mappings if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * An id is <=0
+ **/
+ public static long H5Pget_virtual_count(long dcpl_id)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ long count = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment count_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_virtual_count(dcpl_id, count_segment) < 0)
+ h5libraryError();
+ count = count_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return count;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_virtual_vspace takes the dataset creation property list for the virtual dataset, dcpl_id, and
+ * the mapping index, index, and returns a dataspace identifier for the selection within the virtual
+ * dataset used in the mapping.
+ *
+ * @param dcpl_id
+ * IN: The identifier of the virtual dataset creation property list.
+ * @param index
+ * IN: Mapping index.
+ *
+ * @return a valid dataspace identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * An id is <=0
+ **/
+ public static long H5Pget_virtual_vspace(long dcpl_id, long index)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ if (index < 0) {
+ throw new HDF5FunctionArgumentException("index must be non-negative");
+ }
+
+ long vspace_id = org.hdfgroup.javahdf5.hdf5_h.H5Pget_virtual_vspace(dcpl_id, index);
+ if (vspace_id < 0)
+ h5libraryError();
+
+ return vspace_id;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_virtual_srcspace takes the dataset creation property list for the virtual dataset, dcpl_id, and
+ * the mapping index, index, and returns a dataspace identifier for the selection within the source
+ * dataset used in the mapping.
+ *
+ * @param dcpl_id
+ * IN: The identifier of the virtual dataset creation property list.
+ * @param index
+ * IN: Mapping index.
+ *
+ * @return a valid dataspace identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * An id is <=0
+ **/
+ public static long H5Pget_virtual_srcspace(long dcpl_id, long index)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ if (index < 0) {
+ throw new HDF5FunctionArgumentException("index must be non-negative");
+ }
+
+ long src_space_id = org.hdfgroup.javahdf5.hdf5_h.H5Pget_virtual_srcspace(dcpl_id, index);
+ if (src_space_id < 0)
+ h5libraryError();
+
+ return src_space_id;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_virtual_filename takes the dataset creation property list for the virtual dataset, dcpl_id, the
+ * mapping index, index, the size of the filename for a source dataset, size, and retrieves the name of
+ * the file for a source dataset used in the mapping.
+ *
+ * @param dcpl_id
+ * IN: The identifier of the virtual dataset creation property list.
+ * @param index
+ * IN: Mapping index.
+ *
+ * @return the name of the file containing the source dataset if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * An id is <=0
+ **/
+ public static String H5Pget_virtual_filename(long dcpl_id, long index)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ if (index < 0) {
+ throw new HDF5FunctionArgumentException("index must be non-negative");
+ }
+
+ long buf_size = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment size_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if ((buf_size = org.hdfgroup.javahdf5.hdf5_h.H5Pget_virtual_filename(dcpl_id, index,
+ MemorySegment.NULL, 0)) < 0)
+ h5libraryError();
+ }
+
+ String filename = null;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment filename_segment = arena.allocate(buf_size + 1); // +1 for null terminator
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_virtual_filename(dcpl_id, index, filename_segment,
+ buf_size + 1) < 0)
+ h5libraryError();
+ filename = filename_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return filename;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_virtual_dsetname takes the dataset creation property list for the virtual dataset, dcpl_id, the
+ * mapping index, index, the size of the dataset name for a source dataset, size, and retrieves the name
+ * of the source dataset used in the mapping.
+ *
+ * @param dcpl_id
+ * IN: The identifier of the virtual dataset creation property list.
+ * @param index
+ * IN: Mapping index.
+ *
+ * @return the name of the source dataset if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * An id is <=0
+ **/
+ public static String H5Pget_virtual_dsetname(long dcpl_id, long index)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ if (index < 0) {
+ throw new HDF5FunctionArgumentException("index must be non-negative");
+ }
+
+ long buf_size = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment size_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if ((buf_size = org.hdfgroup.javahdf5.hdf5_h.H5Pget_virtual_dsetname(dcpl_id, index,
+ MemorySegment.NULL, 0)) < 0)
+ h5libraryError();
+ }
+
+ String dset_name = null;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment dset_name_segment = arena.allocate(buf_size + 1); // +1 for null terminator
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_virtual_dsetname(dcpl_id, index, dset_name_segment,
+ buf_size + 1) < 0)
+ h5libraryError();
+ dset_name = dset_name_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return dset_name;
+ }
+
+ // ///// unimplemented /////
+ // /*
+ // * H5Pget_vds_file_cache_size retrieves the size of the vds link open file cache.
+ // *
+ // * @param fapl_id
+ // * IN: File access property list identifier
+ // *
+ // * @return VDS link open file cache size in number of files.
+ // *
+ // * @exception HDF5LibraryException
+ // * Error from the HDF5 Library.
+ // *
+ // **/
+ // public static int H5Pget_vds_file_cache_size(long fapl_id) throws
+ // HDF5LibraryException {}
+ //
+ // /*
+ // * H5Pset_vds_file_cache_size sets the number of files that can be held open in an vds link open
+ // * file cache.
+ // *
+ // * @param fapl_id
+ // * IN: File access property list identifier
+ // * @param efc_size
+ // * IN: VDS link open file cache size in number of files.
+ // *
+ // * @exception HDF5LibraryException
+ // * Error from the HDF5 Library.
+ // *
+ // **/
+ // public static void H5Pset_vds_file_cache_size(long fapl_id, int efc_size)
+ // throws HDF5LibraryException {}
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_external returns information about an external file.
+ *
+ * @param plist
+ * IN: Identifier of a dataset creation property list.
+ * @param idx
+ * IN: External file index.
+ * @param name_size
+ * IN: Maximum length of name array.
+ * @param name
+ * OUT: Name of the external file.
+ * @param size
+ * OUT: the offset value and the size of the external file data.
+ *
+ *
+ * size[0] = offset // a location to return an offset value
+ * size[1] = size // a location to return the size of the external file data.
+ *
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception ArrayIndexOutOfBoundsException
+ * Fatal error on Copyback
+ * @exception ArrayStoreException
+ * Fatal error on Copyback
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name or size is null.
+ * @exception HDF5FunctionArgumentException
+ * name_size <= 0 .
+ *
+ **/
+ public static int H5Pget_external(long plist, int idx, long name_size, String[] name, long[] size)
+ throws ArrayIndexOutOfBoundsException, ArrayStoreException, HDF5LibraryException,
+ NullPointerException, HDF5FunctionArgumentException
+ {
+ if (size == null || size.length < 2) {
+ throw new NullPointerException("name or size is null or has insufficient length");
+ }
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+ if (idx < 0) {
+ throw new HDF5FunctionArgumentException("idx must be non-negative");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment;
+ if (name == null || name.length < 1 || name_size <= 0) {
+ name_segment = null;
+ }
+ else
+ name_segment = arena.allocate(ValueLayout.JAVA_CHAR, name_size);
+ MemorySegment offset_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ MemorySegment size_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+
+ retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_external(plist, idx, name_size, name_segment,
+ offset_segment, size_segment);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+
+ // Copy the external file name to the provided array
+ if (name != null && name.length > 0 && name_size > 0)
+ name[0] = name_segment.getString(0, StandardCharsets.UTF_8);
+
+ // Copy the offset and size values to the provided array
+ size[0] = offset_segment.get(ValueLayout.JAVA_LONG, 0);
+ size[1] = size_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_external adds an external file to the list of external files.
+ *
+ * @param plist
+ * IN: Identifier of a dataset creation property list.
+ * @param name
+ * IN: Name of an external file.
+ * @param offset
+ * IN: Offset, in bytes, from the beginning of the file to the location in the file where the
+ * data starts.
+ * @param size
+ * IN: Number of bytes reserved in the file for the data.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Pset_external(long plist, String name, long offset, long size)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_external(plist, name_segment, offset, size);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_external_count returns the number of external files for the specified dataset.
+ *
+ * @param plist
+ * IN: Identifier of a dataset creation property list.
+ *
+ * @return the number of external files if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pget_external_count(long plist) throws HDF5LibraryException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int count = org.hdfgroup.javahdf5.hdf5_h.H5Pget_external_count(plist);
+ if (count < 0) {
+ h5libraryError();
+ }
+ return count;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_szip Sets up the use of the szip filter.
+ *
+ * @param plist
+ * IN: Dataset creation property list identifier.
+ * @param options_mask
+ * IN: Bit vector specifying certain general properties of the filter.
+ * @param pixels_per_block
+ * IN: Number of pixels in blocks
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_szip(long plist, int options_mask, int pixels_per_block)
+ throws HDF5LibraryException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+ if (options_mask < 0 || pixels_per_block < 0) {
+ throw new HDF5FunctionArgumentException("options_mask or pixels_per_block must be non-negative");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_szip(plist, options_mask, pixels_per_block);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_shuffle Sets up the use of the shuffle filter.
+ *
+ * @param plist_id
+ * IN: Dataset creation property list identifier.
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_shuffle(long plist_id) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_shuffle(plist_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_nbit Sets up the use of the N-Bit filter.
+ *
+ * @param plist_id
+ * IN: Dataset creation property list identifier.
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_nbit(long plist_id) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_nbit(plist_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_scaleoffset sets the Scale-Offset filter for a dataset.
+ *
+ * @param plist_id
+ * IN: Dataset creation property list identifier.
+ * @param scale_type
+ * IN: Flag indicating compression method.
+ * @param scale_factor
+ * IN: Parameter related to scale.
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * Invalid arguments
+ *
+ **/
+ public static int H5Pset_scaleoffset(long plist_id, int scale_type, int scale_factor)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ if (scale_type < 0 || scale_factor < 0) {
+ throw new HDF5FunctionArgumentException("scale_type or scale_factor must be non-negative");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_scaleoffset(plist_id, scale_type, scale_factor);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_fill_value queries the fill value property of a dataset creation property list.
+ *
+ * @param plist_id
+ * IN: Property list identifier.
+ * @param type_id
+ * IN: The datatype identifier of value.
+ * @param value
+ * IN: The fill value.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5Exception
+ * Error converting data array.
+ * @exception NullPointerException
+ * value is null.
+ **/
+ public static int H5Pget_fill_value(long plist_id, long type_id, byte[] value)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (value == null) {
+ throw new NullPointerException("value is null");
+ }
+
+ int status = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment value_segment = arena.allocate(ValueLayout.JAVA_BYTE, value.length);
+ if ((status = org.hdfgroup.javahdf5.hdf5_h.H5Pget_fill_value(plist_id, type_id, value_segment)) <
+ 0)
+ h5libraryError();
+ MemorySegment.copy(value_segment, ValueLayout.JAVA_BYTE, 0L, value, 0, value.length);
+ }
+
+ return status;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_fill_value queries the fill value property of a dataset creation property list.
+ *
+ * @param plist_id
+ * IN: Property list identifier.
+ * @param type_id
+ * IN: The datatype identifier of value.
+ * @param obj
+ * IN: The fill value.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5Exception
+ * Error converting data array.
+ **/
+ public static int H5Pget_fill_value(long plist_id, long type_id, Object obj) throws HDF5Exception
+ {
+ HDFArray theArray = new HDFArray(obj);
+ byte[] buf = theArray.emptyBytes();
+
+ int status = hdf.hdf5lib.H5.H5Pget_fill_value(plist_id, type_id, buf);
+ if (status >= 0)
+ obj = theArray.arrayify(buf);
+
+ return status;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_fill_value sets the fill value for a dataset creation property list.
+ *
+ * @param plist_id
+ * IN: Property list identifier.
+ * @param type_id
+ * IN: The datatype identifier of value.
+ * @param value
+ * IN: The fill value.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error converting data array
+ * @exception NullPointerException
+ * value is null.
+ **/
+ public static int H5Pset_fill_value(long plist_id, long type_id, byte[] value)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (value == null) {
+ throw new NullPointerException("value is null");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment value_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, value);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_fill_value(plist_id, type_id, value_segment)) <
+ 0)
+ h5libraryError();
+ }
+
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_fill_value sets the fill value for a dataset creation property list.
+ *
+ * @param plist_id
+ * IN: Property list identifier.
+ * @param type_id
+ * IN: The datatype identifier of value.
+ * @param obj
+ * IN: The fill value.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5Exception
+ * Error converting data array
+ **/
+ public static int H5Pset_fill_value(long plist_id, long type_id, Object obj) throws HDF5Exception
+ {
+ HDFArray theArray = new HDFArray(obj);
+ byte[] buf = theArray.byteify();
+
+ // TODO: Add Arena support for buf
+ int retVal = hdf.hdf5lib.H5.H5Pset_fill_value(plist_id, type_id, buf);
+
+ buf = null;
+ theArray = null;
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_fill_value checks if the fill value is defined for a dataset creation property list.
+ *
+ * @param plist_id
+ * IN: Property list identifier.
+ * @param status
+ * IN: The fill value setting:
+ * H5D_FILL_VALUE_UNDEFINED
+ * H5D_FILL_VALUE_DEFAULT
+ * H5D_FILL_VALUE_USER_DEFINED
+ * H5D_FILL_VALUE_ERROR
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5Exception
+ * Error converting data array
+ * @exception NullPointerException
+ * status is null.
+ **/
+ public static int H5Pfill_value_defined(long plist_id, int[] status)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (status == null || status.length < 1) {
+ throw new NullPointerException("status is null or has insufficient length");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment status_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pfill_value_defined(plist_id, status_segment)) < 0)
+ h5libraryError();
+ status[0] = status_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_alloc_time Gets space allocation time for dataset during creation.
+ *
+ * @param plist_id
+ * IN: Dataset creation property list identifier.
+ * @param alloc_time
+ * OUT: allocation time.
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * alloc_time is null.
+ *
+ **/
+ public static int H5Pget_alloc_time(long plist_id, int[] alloc_time)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (alloc_time == null || alloc_time.length < 1) {
+ throw new NullPointerException("alloc_time is null or has insufficient length");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment alloc_time_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_alloc_time(plist_id, alloc_time_segment)) < 0)
+ h5libraryError();
+ alloc_time[0] = alloc_time_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_alloc_time Sets space allocation time for dataset during creation.
+ *
+ * @param plist_id
+ * IN: Dataset creation property list identifier.
+ * @param alloc_time
+ * IN: allocation time.
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_alloc_time(long plist_id, int alloc_time) throws HDF5LibraryException
+ {
+ if (alloc_time < 0) {
+ throw new HDF5FunctionArgumentException("alloc_time must be non-negative");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_alloc_time(plist_id, alloc_time);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_fill_time Gets fill value writing time.
+ *
+ * @param plist_id
+ * IN: Dataset creation property list identifier.
+ * @param fill_time
+ * OUT: fill time.
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * fill_time is null.
+ *
+ **/
+ public static int H5Pget_fill_time(long plist_id, int[] fill_time)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (fill_time == null || fill_time.length < 1) {
+ throw new NullPointerException("fill_time is null or has insufficient length");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment fill_time_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_fill_time(plist_id, fill_time_segment)) < 0)
+ h5libraryError();
+ fill_time[0] = fill_time_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_fill_time Sets the fill value writing time.
+ *
+ * @param plist_id
+ * IN: Dataset creation property list identifier.
+ * @param fill_time
+ * IN: fill time.
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_fill_time(long plist_id, int fill_time) throws HDF5LibraryException
+ {
+ if (fill_time < 0) {
+ throw new HDF5FunctionArgumentException("fill_time must be non-negative");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_fill_time(plist_id, fill_time);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_chunk_opts Sets the edge chunk option in a dataset creation property list.
+ *
+ * @param dcpl_id
+ * IN: Dataset creation property list identifier
+ * @param opts
+ * IN: Edge chunk option flag. Valid values are:
+ * H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS - filters are not applied to partial edge chunks.
+ * 0 - Disables option; partial edge chunks will be compressed.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library
+ **/
+ public static void H5Pset_chunk_opts(long dcpl_id, int opts) throws HDF5LibraryException
+ {
+ if (opts < 0) {
+ throw new HDF5FunctionArgumentException("opts must be non-negative");
+ }
+
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pset_chunk_opts(dcpl_id, opts) < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_chunk_opts retrieves the edge chunk option setting stored in the dataset creation property list
+ *
+ * @param dcpl_id
+ * IN: Dataset creation property list
+
+ * @return The edge chunk option setting.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library
+ *
+ */
+ public static int H5Pget_chunk_opts(long dcpl_id) throws HDF5LibraryException
+ {
+ int opts = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment opts_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_chunk_opts(dcpl_id, opts_segment) < 0)
+ h5libraryError();
+ opts = opts_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return opts;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_dset_no_attrs_hint accesses the flag for whether or not datasets created by the given dcpl
+ * will be created with a "minimized" object header.
+ *
+ * @param dcpl_id
+ * IN: Dataset creation property list
+ *
+ * @return true if the given dcpl is set to create minimized dataset object headers, false if not.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5Pget_dset_no_attrs_hint(long dcpl_id) throws HDF5LibraryException
+ {
+ boolean minimize = false;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment minimize_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_dset_no_attrs_hint(dcpl_id, minimize_segment) < 0)
+ h5libraryError();
+ minimize = minimize_segment.get(ValueLayout.JAVA_BOOLEAN, 0);
+ }
+ return minimize;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_dset_no_attrs_hint sets the dcpl to minimize (or explicitly to not minimized) dataset object
+ * headers upon creation.
+ *
+ * @param dcpl_id
+ * IN: Dataset creation property list
+ *
+ * @param minimize
+ * IN: the minimize hint setting
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Pset_dset_no_attrs_hint(long dcpl_id, boolean minimize) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pset_dset_no_attrs_hint(dcpl_id, minimize) < 0) {
+ h5libraryError();
+ }
+ }
+
+ // /////// Dataset access property list (DAPL) routines ///////
+
+ /**
+ * @ingroup JH5P
+ *
+ * Retrieves the maximum possible number of elements in the meta data cache and the maximum possible
+ * number of bytes and the RDCC_W0 value in the raw data chunk cache on a per-datset basis.
+ *
+ * @param dapl_id
+ * IN: Identifier of the dataset access property list.
+ * @param rdcc_nslots
+ * IN/OUT: Number of elements (objects) in the raw data chunk cache.
+ * @param rdcc_nbytes
+ * IN/OUT: Total size of the raw data chunk cache, in bytes.
+ * @param rdcc_w0
+ * IN/OUT: Preemption policy.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an array is null.
+ **/
+ public static void H5Pget_chunk_cache(long dapl_id, long[] rdcc_nslots, long[] rdcc_nbytes,
+ double[] rdcc_w0) throws HDF5LibraryException, NullPointerException
+ {
+ if (rdcc_nslots == null || rdcc_nbytes == null || rdcc_w0 == null || rdcc_nslots.length < 1 ||
+ rdcc_nbytes.length < 1 || rdcc_w0.length < 1) {
+ throw new NullPointerException("one or more arrays are null or have insufficient length");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment nslots_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ MemorySegment nbytes_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ MemorySegment w0_segment = arena.allocate(ValueLayout.JAVA_DOUBLE, 1);
+
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_chunk_cache(dapl_id, nslots_segment, nbytes_segment,
+ w0_segment) < 0)
+ h5libraryError();
+
+ rdcc_nslots[0] = nslots_segment.get(ValueLayout.JAVA_LONG, 0);
+ rdcc_nbytes[0] = nbytes_segment.get(ValueLayout.JAVA_LONG, 0);
+ rdcc_w0[0] = w0_segment.get(ValueLayout.JAVA_DOUBLE, 0);
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_chunk_cache sets the number of elements (objects) in the meta data cache and the total number of
+ * bytes in the raw data chunk cache on a per-datset basis.
+ *
+ * @param dapl_id
+ * IN: Identifier of the dataset access property list.
+ * @param rdcc_nslots
+ * IN: Number of elements (objects) in the raw data chunk cache.
+ * @param rdcc_nbytes
+ * IN: Total size of the raw data chunk cache, in bytes.
+ * @param rdcc_w0
+ * IN: Preemption policy.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Pset_chunk_cache(long dapl_id, long rdcc_nslots, long rdcc_nbytes, double rdcc_w0)
+ throws HDF5LibraryException
+ {
+ if (rdcc_nslots < 0 || rdcc_nbytes < 0 || rdcc_w0 < 0.0) {
+ throw new HDF5FunctionArgumentException(
+ "rdcc_nslots, rdcc_nbytes or rdcc_w0 must be non-negative");
+ }
+
+ int retVal =
+ org.hdfgroup.javahdf5.hdf5_h.H5Pset_chunk_cache(dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_virtual_view takes the access property list for the virtual dataset, dapl_id, and the flag,
+ * view, and sets the VDS view according to the flag value.
+ *
+ * @param dapl_id
+ * IN: Dataset access property list identifier for the virtual dataset
+ * @param view
+ * IN: Flag specifying the extent of the data to be included in the view.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library
+ **/
+ public static void H5Pset_virtual_view(long dapl_id, int view) throws HDF5LibraryException
+ {
+ if (view < 0) {
+ throw new HDF5FunctionArgumentException("view must be non-negative");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_virtual_view(dapl_id, view);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_virtual_view takes the virtual dataset access property list, dapl_id, and retrieves the flag,
+ * view, set by the H5Pset_virtual_view call.
+ *
+ * @param dapl_id
+ * IN: Dataset access property list identifier for the virtual dataset
+
+ * @return The flag specifying the view of the virtual dataset.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library
+ *
+ */
+ public static int H5Pget_virtual_view(long dapl_id) throws HDF5LibraryException
+ {
+ int view = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment view_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_virtual_view(dapl_id, view_segment) < 0)
+ h5libraryError();
+ view = view_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return view;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_virtual_printf_gap sets the access property list for the virtual dataset, dapl_id, to instruct
+ * the library to stop looking for the mapped data stored in the files and/or datasets with the
+ * printf-style names after not finding gap_size files and/or datasets. The found source files and
+ * datasets will determine the extent of the unlimited virtual dataset with the printf-style mappings.
+ *
+ * @param dapl_id
+ * IN: Dataset access property list identifier for the virtual dataset
+ * @param gap_size
+ * IN: Maximum number of files and/or datasets allowed to be missing for determining
+ * the extent of an unlimited virtual dataset with printf-style mappings.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library
+ **/
+ public static void H5Pset_virtual_printf_gap(long dapl_id, long gap_size) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pset_virtual_printf_gap(dapl_id, gap_size) < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_virtual_printf_gap returns the maximum number of missing printf-style files and/or datasets for
+ * determining the extent of an unlimited virtual dataaset, gap_size, using the access property list for
+ * the virtual dataset, dapl_id.
+ *
+ * @param dapl_id
+ * IN: Dataset access property list identifier for the virtual dataset
+
+ * @return Maximum number of files and/or datasets allowed to be missing for determining
+ * the extent of an unlimited virtual dataset with printf-style mappings.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library
+ *
+ */
+ public static long H5Pget_virtual_printf_gap(long dapl_id) throws HDF5LibraryException
+ {
+ long gap_size = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment gap_size_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_virtual_printf_gap(dapl_id, gap_size_segment) < 0)
+ h5libraryError();
+ gap_size = gap_size_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return gap_size;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_virtual_prefix Retrieves prefix applied to virtual file paths.
+ *
+ * @param dapl_id
+ * IN: Link access property list identifier
+ *
+ * @return the prefix to be applied to virtual file paths.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static String H5Pget_virtual_prefix(long dapl_id) throws HDF5LibraryException
+ {
+ long buf_size = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment size_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if ((buf_size =
+ org.hdfgroup.javahdf5.hdf5_h.H5Pget_virtual_prefix(dapl_id, MemorySegment.NULL, 0)) < 0)
+ h5libraryError();
+ }
+
+ String prefix = null;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment prefix_segment = arena.allocate(buf_size + 1); // +1 for null terminator
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_virtual_prefix(dapl_id, prefix_segment, buf_size + 1) < 0)
+ h5libraryError();
+ prefix = prefix_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return prefix;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_virtual_prefix Sets prefix to be applied to virtual file paths.
+ *
+ * @param dapl_id
+ * IN: Dataset access property list identifier
+ * @param prefix
+ * IN: Prefix to be applied to virtual file paths
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * prefix is null.
+ *
+ **/
+ public static void H5Pset_virtual_prefix(long dapl_id, String prefix)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (prefix == null) {
+ throw new NullPointerException("prefix is null");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment prefix_segment = arena.allocateFrom(prefix);
+
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pset_virtual_prefix(dapl_id, prefix_segment) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_efile_prefix Retrieves prefix applied to external file paths.
+ *
+ * @param dapl_id
+ * IN: Link access property list identifier
+ *
+ * @return the prefix to be applied to external file paths.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static String H5Pget_efile_prefix(long dapl_id) throws HDF5LibraryException
+ {
+ long buf_size = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment size_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if ((buf_size =
+ org.hdfgroup.javahdf5.hdf5_h.H5Pget_efile_prefix(dapl_id, MemorySegment.NULL, 0)) < 0)
+ h5libraryError();
+ }
+
+ String prefix = null;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment prefix_segment = arena.allocate(buf_size + 1); // +1 for null terminator
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_efile_prefix(dapl_id, prefix_segment, buf_size + 1) < 0)
+ h5libraryError();
+ prefix = prefix_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return prefix;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_efile_prefix Sets prefix to be applied to external file paths.
+ *
+ * @param dapl_id
+ * IN: Dataset access property list identifier
+ * @param prefix
+ * IN: Prefix to be applied to external file paths
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * prefix is null.
+ *
+ **/
+ public static void H5Pset_efile_prefix(long dapl_id, String prefix)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (prefix == null) {
+ throw new NullPointerException("prefix is null");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment prefix_segment = arena.allocateFrom(prefix);
+
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pset_efile_prefix(dapl_id, prefix_segment) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_virtual_spatial_tree accesses the flag for whether to use/not use a spatial tree
+ * during mapping operations on a Virtual Dataset. The default value is true.
+ *
+ * Use of a spatial tree will accelerate the process of searching through mappings
+ * to determine which contain intersections with the user's selection region.
+ * With the tree disabled, all mappings will simply be iterated through and
+ * checked directly.
+ *
+ * Certain workflows may find that tree creation overhead outweighs the time saved
+ * on reads. In this case, disabling this property will lead to a performance improvement,
+ * though it is expected that almost all cases will benefit from the tree on net.
+ *
+ * @param dapl_id
+ * IN: Dataset access property list
+ *
+ * @return true if the given dapl is set to use a spatial tree, false if not.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5Pget_virtual_spatial_tree(long dapl_id) throws HDF5LibraryException
+ {
+ boolean use_tree = false;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the boolean value
+ MemorySegment use_tree_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_virtual_spatial_tree(dapl_id, use_tree_segment) < 0)
+ h5libraryError();
+ // Read the boolean value from the segment
+ use_tree = use_tree_segment.get(ValueLayout.JAVA_BOOLEAN, 0);
+ }
+ return use_tree;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_virtual_spatial_tree sets the dapl to use/not use a spatial tree
+ * during mapping operations on a Virtual Dataset. The default value is true.
+ *
+ * Use of a spatial tree will accelerate the process of searching through mappings
+ * to determine which contain intersections with the user's selection region.
+ * With the tree disabled, all mappings will simply be iterated through and
+ * checked directly.
+ *
+ * Certain workflows may find that tree creation overhead outweighs the time saved
+ * on reads. In this case, disabling this property will lead to a performance improvement,
+ * though it is expected that almost all cases will benefit from the tree on net.
+ *
+ * @param dapl_id
+ * IN: Dataset access property list
+ *
+ * @param use_tree
+ * IN: the use_tree flag setting
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Pset_virtual_spatial_tree(long dapl_id, boolean use_tree) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pset_virtual_spatial_tree(dapl_id, use_tree) < 0) {
+ h5libraryError();
+ }
+ }
+
+ // public static void H5Pset_append_flush(long plist_id, int ndims, long[] boundary,
+ // H5D_append_cb func, H5D_append_t udata) throws HDF5LibraryException {}
+
+ // public static void H5Pget_append_flush(long plist_id, int dims, long[] boundary,
+ // H5D_append_cb func, H5D_append_t udata) throws HDF5LibraryException {}
+
+ // /////// Dataset xfer property list (DXPL) routines ///////
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_data_transform retrieves the data transform expression previously set in the dataset transfer
+ * property list plist_id by H5Pset_data_transform.
+ *
+ * @param plist_id
+ * IN: Identifier of the property list or class
+ * @param size
+ * IN: Number of bytes of the transform expression to copy to
+ * @param expression
+ * OUT: A data transform expression
+ *
+ * @return The size of the transform expression if successful; 0(zero) if no transform expression exists.
+ * Otherwise returns a negative value.
+ *
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * Size is <= 0.
+ * @exception NullPointerException
+ * expression is null.
+ *
+ **/
+ public static long H5Pget_data_transform(long plist_id, String[] expression, long size)
+ throws HDF5LibraryException, HDF5FunctionArgumentException, NullPointerException
+ {
+ if (expression == null || expression.length < 1) {
+ throw new NullPointerException("expression is null or has insufficient length");
+ }
+ if (size <= 0) {
+ throw new HDF5FunctionArgumentException("Size is <= 0");
+ }
+
+ long buf_size = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ if ((buf_size = org.hdfgroup.javahdf5.hdf5_h.H5Pget_data_transform(plist_id, MemorySegment.NULL,
+ size)) < 0)
+ h5libraryError();
+ }
+ String xpression = null;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment xpression_segment = arena.allocate(buf_size + 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_data_transform(plist_id, xpression_segment,
+ buf_size + 1) < 0)
+ h5libraryError();
+ xpression = xpression_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ if (xpression == null) {
+ throw new HDF5LibraryException("Failed to retrieve data transform expression");
+ }
+ expression[0] = xpression;
+
+ return buf_size;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_data_transform sets a data transform expression
+ *
+ * @param plist_id
+ * IN: Identifier of the property list or class
+ * @param expression
+ * IN: Pointer to the null-terminated data transform expression
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * expression is null.
+ *
+ **/
+ public static int H5Pset_data_transform(long plist_id, String expression)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (expression == null) {
+ throw new NullPointerException("expression is null");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment expression_segment = arena.allocateFrom(expression);
+
+ retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_data_transform(plist_id, expression_segment);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_buffer gets type conversion and background buffers. Returns buffer size, in bytes, if
+ * successful; otherwise 0 on failure.
+ *
+ * @param plist
+ * Identifier for the dataset transfer property list.
+ * @param tconv
+ * byte array of application-allocated type conversion buffer.
+ * @param bkg
+ * byte array of application-allocated background buffer.
+ *
+ * @return buffer size, in bytes, if successful; otherwise 0 on failure
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * plist is invalid.
+ * @exception NullPointerException
+ * tconv or bkg is null.
+ **/
+ public static int H5Pget_buffer(long plist, byte[] tconv, byte[] bkg)
+ throws HDF5LibraryException, HDF5FunctionArgumentException, NullPointerException
+ {
+ if (tconv == null || bkg == null || tconv.length < 1 || bkg.length < 1) {
+ throw new NullPointerException("tconv or bkg is null or has insufficient length");
+ }
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ long buf_size = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment tconv_segment = arena.allocate(tconv.length);
+ MemorySegment bkg_segment = arena.allocate(bkg.length);
+
+ if ((buf_size = org.hdfgroup.javahdf5.hdf5_h.H5Pget_buffer(plist, tconv_segment, bkg_segment)) <
+ 0)
+ h5libraryError();
+
+ tconv = tconv_segment.toArray(ValueLayout.JAVA_BYTE);
+ bkg = bkg_segment.toArray(ValueLayout.JAVA_BYTE);
+ }
+ return (int)buf_size;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_buffer_size gets type conversion and background buffer size, in bytes, if successful;
+ * otherwise 0 on failure.
+ *
+ * @param plist
+ * Identifier for the dataset transfer property list.
+ *
+ * @return buffer size, in bytes, if successful; otherwise 0 on failure
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * plist is invalid.
+ **/
+ public static long H5Pget_buffer_size(long plist)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ long buf_size = -1;
+ if ((buf_size = org.hdfgroup.javahdf5.hdf5_h.H5Pget_buffer(plist, MemorySegment.NULL,
+ MemorySegment.NULL)) < 0)
+ h5libraryError();
+
+ return buf_size;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_buffer sets type conversion and background buffers. status to TRUE or FALSE.
+ *
+ * Given a dataset transfer property list, H5Pset_buffer sets the maximum size for the type conversion
+ * buffer and background buffer and optionally supplies pointers to application-allocated buffers. If the
+ * buffer size is smaller than the entire amount of data being transferred between the application and the
+ * file, and a type conversion buffer or background buffer is required, then strip mining will be used.
+ *
+ * Note that there are minimum size requirements for the buffer. Strip mining can only break the data up
+ * along the first dimension, so the buffer must be large enough to accommodate a complete slice that
+ * encompasses all of the remaining dimensions. For example, when strip mining a 100x200x300 hyperslab of
+ * a simple data space, the buffer must be large enough to hold 1x200x300 data elements. When strip mining
+ * a 100x200x300x150 hyperslab of a simple data space, the buffer must be large enough to hold
+ * 1x200x300x150 data elements.
+ *
+ * @param plist
+ * Identifier for the dataset transfer property list.
+ * @param size
+ * Size, in bytes, of the type conversion and background buffers.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * plist is invalid.
+ **/
+ public static void H5Pset_buffer_size(long plist, long size)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+ if (size < 0) {
+ throw new HDF5FunctionArgumentException("size must be non-negative");
+ }
+
+ int retVal =
+ org.hdfgroup.javahdf5.hdf5_h.H5Pset_buffer(plist, size, MemorySegment.NULL, MemorySegment.NULL);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_edc_check gets the error-detecting algorithm in use.
+ *
+ * @param plist
+ * Identifier for the dataset transfer property list.
+ *
+ * @return the error-detecting algorithm
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pget_edc_check(long plist) throws HDF5LibraryException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+
+ int check = org.hdfgroup.javahdf5.hdf5_h.H5Pget_edc_check(plist);
+ if (check < 0)
+ h5libraryError();
+ return check;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_edc_check sets the error-detecting algorithm.
+ *
+ * @param plist
+ * Identifier for the dataset transfer property list.
+ * @param check
+ * the error-detecting algorithm to use.
+ *
+ * @return non-negative if succeed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pset_edc_check(long plist, int check) throws HDF5LibraryException
+ {
+ if (plist < 0) {
+ throw new HDF5FunctionArgumentException("Negative property list identifier");
+ }
+ if (check < 0) {
+ throw new HDF5FunctionArgumentException("check must be non-negative");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_edc_check(plist, check);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_btree_ratio Get the B-tree split ratios for a dataset transfer property list.
+ *
+ * @param plist_id
+ * IN Dataset transfer property list
+ * @param left
+ * OUT split ratio for leftmost nodes
+ * @param right
+ * OUT split ratio for righttmost nodes
+ * @param middle
+ * OUT split ratio for all other nodes
+ *
+ * @return non-negative if succeed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an input array is null.
+ **/
+ public static int H5Pget_btree_ratios(long plist_id, double[] left, double[] middle, double[] right)
+ throws HDF5LibraryException, NullPointerException
+ {
+ int retVal = -1;
+ if (left == null || middle == null || right == null || left.length < 1 || middle.length < 1 ||
+ right.length < 1) {
+ throw new NullPointerException("one or more arrays are null or have insufficient length");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment left_segment = arena.allocate(ValueLayout.JAVA_DOUBLE, 1);
+ MemorySegment middle_segment = arena.allocate(ValueLayout.JAVA_DOUBLE, 1);
+ MemorySegment right_segment = arena.allocate(ValueLayout.JAVA_DOUBLE, 1);
+
+ retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_btree_ratios(plist_id, left_segment, middle_segment,
+ right_segment);
+ if (retVal < 0)
+ h5libraryError();
+
+ left[0] = left_segment.get(ValueLayout.JAVA_DOUBLE, 0);
+ middle[0] = middle_segment.get(ValueLayout.JAVA_DOUBLE, 0);
+ right[0] = right_segment.get(ValueLayout.JAVA_DOUBLE, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_btree_ratio Sets B-tree split ratios for a dataset transfer property list. The split ratios
+ * determine what percent of children go in the first node when a node splits.
+ *
+ * @param plist_id
+ * IN Dataset transfer property list
+ * @param left
+ * IN split ratio for leftmost nodes
+ * @param right
+ * IN split ratio for righttmost nodes
+ * @param middle
+ * IN split ratio for all other nodes
+ *
+ * @return non-negative if succeed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Pset_btree_ratios(long plist_id, double left, double middle, double right)
+ throws HDF5LibraryException
+ {
+ if (left < 0.0 || middle < 0.0 || right < 0.0) {
+ throw new HDF5FunctionArgumentException("left, middle or right must be non-negative");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_btree_ratios(plist_id, left, middle, right);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_hyper_vector_size reads values previously set with H5Pset_hyper_vector_size.
+ *
+ * @param dxpl_id
+ * IN: Dataset transfer property list identifier.
+ * @param vector_size
+ * OUT: hyper vector size.
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * vector_size is null.
+ *
+ **/
+ public static int H5Pget_hyper_vector_size(long dxpl_id, long[] vector_size)
+ throws HDF5LibraryException, NullPointerException
+ {
+ int retVal = -1;
+ if (vector_size == null || vector_size.length < 1) {
+ throw new NullPointerException("vector_size is null or has insufficient length");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment vector_size_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_hyper_vector_size(dxpl_id, vector_size_segment);
+ if (retVal < 0)
+ h5libraryError();
+ vector_size[0] = vector_size_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_hyper_vector_size sets the number of
+ * "I/O vectors" (offset and length pairs) which are to be
+ * accumulated in memory before being issued to the lower levels
+ * of the library for reading or writing the actual data.
+ * Increasing the number should give better performance, but use
+ * more memory during hyperslab I/O. The vector size must be
+ * greater than 1.
+ *
+ * The default is to use 1024 vectors for I/O during hyperslab
+ * reading/writing.
+ *
+ * @param dxpl_id
+ * IN: Dataset transfer property list identifier.
+ * @param vector_size
+ * IN: hyper vestor size.
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_hyper_vector_size(long dxpl_id, long vector_size) throws HDF5LibraryException
+ {
+ if (vector_size <= 1) {
+ throw new HDF5FunctionArgumentException("vector_size must be greater than 1");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_hyper_vector_size(dxpl_id, vector_size);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ // /////// Link creation property list (LCPL) routines ///////
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_create_intermediate_group determines whether property is set to enable creating missing
+ * intermediate groups.
+ *
+ * @param lcpl_id
+ * IN: Link creation property list identifier
+ *
+ * @return Boolean true or false
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static boolean H5Pget_create_intermediate_group(long lcpl_id) throws HDF5LibraryException
+ {
+
+ boolean crt_intermed_group = false;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment crt_intermed_group_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_create_intermediate_group(lcpl_id,
+ crt_intermed_group_segment) < 0)
+ h5libraryError();
+ crt_intermed_group = crt_intermed_group_segment.get(ValueLayout.JAVA_BOOLEAN, 0);
+ }
+ return crt_intermed_group;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_create_intermediate_group specifies in property list whether to create missing intermediate
+ * groups
+ *
+ * @param lcpl_id
+ * IN: Link creation property list identifier
+ * @param crt_intermed_group
+ * IN: Flag specifying whether to create intermediate groups upon the creation of an object
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_create_intermediate_group(long lcpl_id, boolean crt_intermed_group)
+ throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_create_intermediate_group(
+ lcpl_id, crt_intermed_group ? 1 : 0);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ // /////// Group creation property list (GCPL) routines ///////
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_local_heap_size_hint Retrieves the anticipated size of the local heap for original-style groups.
+ *
+ * @param gcpl_id
+ * IN: Group creation property list identifier
+ *
+ * @return size_hint, the anticipated size of local heap
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static long H5Pget_local_heap_size_hint(long gcpl_id) throws HDF5LibraryException
+ {
+ long size_hint = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment size_hint_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_local_heap_size_hint(gcpl_id, size_hint_segment) < 0)
+ h5libraryError();
+ size_hint = size_hint_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return size_hint;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_local_heap_size_hint Specifies the anticipated maximum size of a local heap.
+ *
+ * @param gcpl_id
+ * IN: Group creation property list identifier
+ * @param size_hint
+ * IN: Anticipated maximum size in bytes of local heap
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_local_heap_size_hint(long gcpl_id, long size_hint) throws HDF5LibraryException
+ {
+ if (size_hint < 0) {
+ throw new HDF5FunctionArgumentException("size_hint must be non-negative");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_local_heap_size_hint(gcpl_id, size_hint);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_link_phase_change Queries the settings for conversion between compact and dense groups.
+ *
+ * @param gcpl_id
+ * IN: Group creation property list identifier
+ * @param links
+ * The max. no. of compact links & the min. no. of dense links, which are used for storing
+ * groups
+ *
+ *
+ * links[0] = The maximum number of links for compact storage
+ * links[1] = The minimum number of links for dense storage
+ *
+ *
+ * @return Returns a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * size is null.
+ *
+ **/
+ public static int H5Pget_link_phase_change(long gcpl_id, int[] links)
+ throws HDF5LibraryException, NullPointerException
+ {
+ int retVal = -1;
+ if (links == null || links.length < 2) {
+ throw new NullPointerException("links is null or has insufficient length");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment compact_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ MemorySegment dense_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_link_phase_change(gcpl_id, compact_segment,
+ dense_segment);
+ if (retVal < 0)
+ h5libraryError();
+ links[0] = compact_segment.get(ValueLayout.JAVA_INT, 0);
+ links[1] = dense_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_link_phase_change Sets the parameters for conversion between compact and dense groups.
+ *
+ * @param gcpl_id
+ * IN: Group creation property list identifier
+ * @param max_compact
+ * IN: Maximum number of links for compact storage(Default: 8)
+ * @param min_dense
+ * IN: Minimum number of links for dense storage(Default: 6)
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * Invalid values of max_compact and min_dense.
+ *
+ **/
+ public static int H5Pset_link_phase_change(long gcpl_id, int max_compact, int min_dense)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ if (max_compact < 0 || min_dense < 0) {
+ throw new HDF5FunctionArgumentException("max_compact and min_dense must be non-negative");
+ }
+ if (max_compact < min_dense) {
+ throw new HDF5FunctionArgumentException("max_compact must be greater than or equal to min_dense");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_link_phase_change(gcpl_id, max_compact, min_dense);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_est_link_info Queries data required to estimate required local heap or object header size.
+ *
+ * @param gcpl_id
+ * IN: Group creation property list identifier
+ * @param link_info
+ * Estimated number of links to be inserted into group And the estimated average length of link
+ * names
+ *
+ *
+ * link_info[0] = Estimated number of links to be inserted into group
+ * link_info[1] = Estimated average length of link names
+ *
+ *
+ * @return Returns a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * link_info is null.
+ *
+ **/
+ public static int H5Pget_est_link_info(long gcpl_id, int[] link_info)
+ throws HDF5LibraryException, NullPointerException
+ {
+ int retVal = -1;
+ if (link_info == null || link_info.length < 2) {
+ throw new NullPointerException("link_info is null or has insufficient length");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment est_num_entries_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ MemorySegment est_name_len_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_est_link_info(gcpl_id, est_num_entries_segment,
+ est_name_len_segment);
+ if (retVal < 0)
+ h5libraryError();
+ link_info[0] = est_num_entries_segment.get(ValueLayout.JAVA_INT, 0);
+ link_info[1] = est_name_len_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_est_link_info Sets estimated number of links and length of link names in a group.
+ *
+ * @param gcpl_id
+ * IN: Group creation property list identifier
+ * @param est_num_entries
+ * IN: Estimated number of links to be inserted into group
+ * @param est_name_len
+ * IN: Estimated average length of link names
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * Invalid values to est_num_entries and est_name_len.
+ *
+ **/
+ public static int H5Pset_est_link_info(long gcpl_id, int est_num_entries, int est_name_len)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ if (est_num_entries < 0 || est_name_len < 0) {
+ throw new HDF5FunctionArgumentException("est_num_entries and est_name_len must be non-negative");
+ }
+
+ int retVal =
+ org.hdfgroup.javahdf5.hdf5_h.H5Pset_est_link_info(gcpl_id, est_num_entries, est_name_len);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_link_creation_order queries the group creation property list, gcpl_id, and returns a flag
+ * indicating whether link creation order is tracked and/or indexed in a group.
+ *
+ * @param gcpl_id
+ * IN: Group creation property list identifier
+ *
+ * @return crt_order_flags -Creation order flag(s)
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pget_link_creation_order(long gcpl_id) throws HDF5LibraryException
+ {
+ int crt_order_flags = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment crt_order_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_link_creation_order(gcpl_id, crt_order_segment) < 0)
+ h5libraryError();
+ crt_order_flags = crt_order_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ if (crt_order_flags < 0)
+ h5libraryError();
+ return crt_order_flags;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_link_creation_order Sets flags in a group creation property list, gcpl_id, for tracking and/or
+ * indexing links on creation order.
+ *
+ * @param gcpl_id
+ * IN: Group creation property list identifier
+ * @param crt_order_flags
+ * IN: Creation order flag(s)
+ *
+ *
+ * @return Returns a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_link_creation_order(long gcpl_id, int crt_order_flags)
+ throws HDF5LibraryException
+ {
+ if (crt_order_flags < 0) {
+ throw new HDF5FunctionArgumentException("crt_order_flags must be non-negative");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_link_creation_order(gcpl_id, crt_order_flags);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ // /////// String creation property list (STRCPL) routines ///////
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_char_encoding gets the character encoding of the string.
+ *
+ * @param plist_id
+ * IN: the property list identifier
+ *
+ * @return Returns the character encoding of the string.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pget_char_encoding(long plist_id) throws HDF5LibraryException
+ {
+ int encoding = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment encoding_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_char_encoding(plist_id, encoding_segment) < 0)
+ h5libraryError();
+ encoding = encoding_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ if (encoding < 0)
+ h5libraryError();
+ return encoding;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_char_encoding sets the character encoding of the string.
+ *
+ * @param plist_id
+ * IN: the property list identifier
+ * @param encoding
+ * IN: the character encoding of the string
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static void H5Pset_char_encoding(long plist_id, int encoding) throws HDF5LibraryException
+ {
+ if (encoding < 0) {
+ throw new HDF5FunctionArgumentException("encoding must be non-negative");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_char_encoding(plist_id, encoding);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ // /////// Link access property list (LAPL) routines ///////
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_nlinks retrieves the maximum number of soft or user-defined link traversals allowed, nlinks,
+ * before the library assumes it has found a cycle and aborts the traversal. This value is retrieved from
+ * the link access property list lapl_id.
+ *
+ * @param lapl_id
+ * IN: File access property list identifier
+ *
+ * @return Returns a Maximum number of links to traverse.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static long H5Pget_nlinks(long lapl_id) throws HDF5LibraryException
+ {
+ long nlinks = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment nlinks_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_nlinks(lapl_id, nlinks_segment) < 0)
+ h5libraryError();
+ nlinks = nlinks_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ if (nlinks < 0)
+ h5libraryError();
+ return nlinks;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_nlinks sets the maximum number of soft or user-defined link traversals allowed, nlinks, before
+ * the library assumes it has found a cycle and aborts the traversal. This value is set in the link access
+ * property list lapl_id.
+ *
+ * @param lapl_id
+ * IN: File access property list identifier
+ * @param nlinks
+ * IN: Maximum number of links to traverse
+ *
+ * @return Returns a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * Argument is Illegal
+ *
+ **/
+ public static int H5Pset_nlinks(long lapl_id, long nlinks)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ if (nlinks < 0) {
+ throw new HDF5FunctionArgumentException("nlinks must be non-negative");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_nlinks(lapl_id, nlinks);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_elink_prefix Retrieves prefix applied to external link paths.
+ *
+ * @param lapl_id
+ * IN: Link access property list identifier
+ * @param prefix
+ * OUT: Prefix applied to external link paths
+ *
+ * @return If successful, returns a non-negative value specifying the size in bytes of the prefix without
+ * the NULL terminator; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * prefix is null.
+ *
+ **/
+ public static long H5Pget_elink_prefix(long lapl_id, String[] prefix)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (prefix == null || prefix.length < 1) {
+ throw new NullPointerException("prefix is null or has insufficient length");
+ }
+
+ long buf_size = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ buf_size = org.hdfgroup.javahdf5.hdf5_h.H5Pget_elink_prefix(lapl_id, MemorySegment.NULL, 0);
+ if (buf_size < 0)
+ h5libraryError();
+ MemorySegment prefix_segment = arena.allocate(buf_size + 1);
+ buf_size =
+ org.hdfgroup.javahdf5.hdf5_h.H5Pget_elink_prefix(lapl_id, prefix_segment, buf_size + 1);
+ if (buf_size < 0)
+ h5libraryError();
+ prefix[0] = prefix_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return buf_size;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_elink_prefix Sets prefix to be applied to external link paths.
+ *
+ * @param lapl_id
+ * IN: Link access property list identifier
+ * @param prefix
+ * IN: Prefix to be applied to external link paths
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * prefix is null.
+ *
+ **/
+ public static int H5Pset_elink_prefix(long lapl_id, String prefix)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (prefix == null) {
+ throw new NullPointerException("prefix is null");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment prefix_segment = arena.allocateFrom(prefix);
+ retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_elink_prefix(lapl_id, prefix_segment);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_elink_fapl Retrieves the file access property list identifier associated with the link access
+ * property list.
+ *
+ * @param lapl_id
+ * IN: Link access property list identifier
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static long H5Pget_elink_fapl(long lapl_id) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h.H5Pget_elink_fapl(lapl_id);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Pget_elink_fapl add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_elink_fapl sets a file access property list for use in accessing a file pointed to by an
+ * external link.
+ *
+ * @param lapl_id
+ * IN: Link access property list identifier
+ * @param fapl_id
+ * IN: File access property list identifier
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_elink_fapl(long lapl_id, long fapl_id) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_elink_fapl(lapl_id, fapl_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_elink_acc_flags retrieves the external link traversal file access flag from the specified link
+ * access property list.
+ *
+ * @param lapl_id
+ * IN: Link access property list identifier
+ *
+ * @return File access flag for link traversal.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pget_elink_acc_flags(long lapl_id) throws HDF5LibraryException
+ {
+ int flags = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment flags_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_elink_acc_flags(lapl_id, flags_segment) < 0)
+ h5libraryError();
+ flags = flags_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ if (flags < 0)
+ h5libraryError();
+ return flags;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_elink_acc_flags Sets the external link traversal file access flag in a link access property
+ * list.
+ *
+ * @param lapl_id
+ * IN: Link access property list identifier
+ * @param flags
+ * IN: The access flag for external link traversal.
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception HDF5FunctionArgumentException
+ * Invalid Flag values.
+ *
+ **/
+ public static int H5Pset_elink_acc_flags(long lapl_id, int flags)
+ throws HDF5LibraryException, HDF5FunctionArgumentException
+ {
+ if (flags < 0) {
+ throw new HDF5FunctionArgumentException("flags must be non-negative");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_elink_acc_flags(lapl_id, flags);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ // /////// Object copy property list (OCPYPL) routines ///////
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_copy_object retrieves the properties to be used when an object is copied.
+ *
+ * @param ocp_plist_id
+ * IN: Object copy property list identifier
+ *
+ * @return Copy option(s) set in the object copy property list
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pget_copy_object(long ocp_plist_id) throws HDF5LibraryException
+ {
+ int copy_options = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment copy_options_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_copy_object(ocp_plist_id, copy_options_segment) < 0)
+ h5libraryError();
+ copy_options = copy_options_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ if (copy_options < 0)
+ h5libraryError();
+ return copy_options;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_copy_object Sets properties to be used when an object is copied.
+ *
+ * @param ocp_plist_id
+ * IN: Object copy property list identifier
+ * @param copy_options
+ * IN: Copy option(s) to be set
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static void H5Pset_copy_object(long ocp_plist_id, int copy_options) throws HDF5LibraryException
+ {
+ if (copy_options < 0) {
+ throw new HDF5FunctionArgumentException("copy_options must be non-negative");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_copy_object(ocp_plist_id, copy_options);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ // /////// file drivers property list routines ///////
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_fapl_core retrieve H5FD_CORE I/O settings.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param increment
+ * OUT: how much to grow the memory each time
+ * @param backing_store
+ * OUT: write to file name on flush setting
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * increment or backing_store is null.
+ *
+ **/
+ public static void H5Pget_fapl_core(long fapl_id, long[] increment, boolean[] backing_store)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (increment == null || increment.length < 1 || backing_store == null || backing_store.length < 1) {
+ throw new NullPointerException("increment or backing_store is null or has insufficient length");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment increment_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ MemorySegment backing_store_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN, 1);
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_fapl_core(fapl_id, increment_segment,
+ backing_store_segment);
+ if (retVal < 0)
+ h5libraryError();
+ increment[0] = increment_segment.get(ValueLayout.JAVA_LONG, 0);
+ backing_store[0] = backing_store_segment.get(ValueLayout.JAVA_BOOLEAN, 0);
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_fapl_core modifies the file access property list to use the H5FD_CORE driver.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param increment
+ * IN: how much to grow the memory each time
+ * @param backing_store
+ * IN: write to file name on flush setting
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_fapl_core(long fapl_id, long increment, boolean backing_store)
+ throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_fapl_core(fapl_id, increment, backing_store);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_fapl_direct queries properties set by the H5Pset_fapl_direct.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param info
+ * OUT: Returned property list information
+ * info[0] = increment -how much to grow the memory each time
+ * info[1] = backing_store - write to file name on flush setting
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pget_fapl_direct(long fapl_id, long[] info) throws HDF5LibraryException
+ {
+ throw new HDF5LibraryException("H5Pget_fapl_direct not implemented yet");
+ // if (info == null || info.length < 2) {
+ // throw new NullPointerException("info is null or has insufficient length");
+ // }
+ //
+ // int retVal = -1;
+ // try (Arena arena = Arena.ofConfined()) {
+ // MemorySegment alignment_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ // MemorySegment block_size_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ // MemorySegment cbuf_size_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ // if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pget_fapl_direct(fapl_id,
+ // alignment_segment,
+ // block_size_segment,
+ // cbuf_size_segment)) < 0)
+ // h5libraryError();
+ // info[0] = alignment_segment.get(ValueLayout.JAVA_LONG, 0);
+ // info[1] = block_size_segment.get(ValueLayout.JAVA_LONG, 0);
+ // info[2] = cbuf_size_segment.get(ValueLayout.JAVA_LONG, 0);
+ // }
+ // return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_fapl_direct Sets up use of the direct I/O driver.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param alignment
+ * IN: Required memory alignment boundary
+ * @param block_size
+ * IN: File system block size
+ * @param cbuf_size
+ * IN: Copy buffer size
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_fapl_direct(long fapl_id, long alignment, long block_size, long cbuf_size)
+ throws HDF5LibraryException
+ {
+ throw new HDF5LibraryException("H5Pset_fapl_direct not implemented yet");
+ // if (alignment < 0 || block_size < 0 || cbuf_size < 0) {
+ // throw new HDF5FunctionArgumentException("alignment, block_size, and cbuf_size must be
+ // non-negative");
+ // }
+ //
+ // int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_fapl_direct(fapl_id, alignment, block_size,
+ // cbuf_size); if (retVal < 0) {
+ // h5libraryError();
+ // }
+ // return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_fapl_family Returns information about the family file access property list.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param memb_size
+ * OUT: the size in bytes of each file member (used only when creating a new file)
+ * @param memb_fapl_id
+ * OUT: the file access property list to be used for each family member
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * memb_size or memb_fapl_id is null.
+ *
+ **/
+ public static int H5Pget_fapl_family(long fapl_id, long[] memb_size, long[] memb_fapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (memb_size == null || memb_size.length < 1 || memb_fapl_id == null || memb_fapl_id.length < 1) {
+ throw new NullPointerException("memb_size or memb_fapl_id is null or has insufficient length");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment memb_size_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ MemorySegment memb_fapl_id_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if ((org.hdfgroup.javahdf5.hdf5_h.H5Pget_fapl_family(fapl_id, memb_size_segment,
+ memb_fapl_id_segment)) < 0)
+ h5libraryError();
+ memb_size[0] = memb_size_segment.get(ValueLayout.JAVA_LONG, 0);
+ memb_fapl_id[0] = memb_fapl_id_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_fapl_family Sets up use of the direct I/O driver.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param memb_size
+ * IN: the size in bytes of each file member (used only when creating a new file)
+ * @param memb_fapl_id
+ * IN: the file access property list to be used for each family member
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_fapl_family(long fapl_id, long memb_size, long memb_fapl_id)
+ throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_fapl_family(fapl_id, memb_size, memb_fapl_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_fapl_hdfs Modify the file access property list to use the H5FD_HDFS driver.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param fapl_conf
+ * IN: the properties of the hdfs driver
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_fapl_hdfs(long fapl_id, Object fapl_conf)
+ throws HDF5LibraryException, NullPointerException
+ {
+ throw new HDF5LibraryException("H5Pset_fapl_hdfs not implemented yet");
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_fapl_hdfs gets the properties hdfs I/O driver.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ *
+ * @return the properties of the hdfs driver.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static Object H5Pget_fapl_hdfs(long fapl_id) throws HDF5LibraryException
+ {
+ throw new HDF5LibraryException("H5Pget_fapl_hdfs not implemented yet");
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_fapl_multi Sets up use of the multi I/O driver.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param memb_map
+ * IN: Maps memory usage types to other memory usage types.
+ * @param memb_fapl
+ * IN: Property list for each memory usage type.
+ * @param memb_name
+ * IN: Name generator for names of member files.
+ * @param memb_addr
+ * IN: The offsets within the virtual address space, from 0 (zero) to HADDR_MAX, at which each
+ * type of data storage begins.
+ *
+ * @return a boolean value; Allows read-only access to incomplete file sets when TRUE.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an array is null.
+ *
+ **/
+ public static boolean H5Pget_fapl_multi(long fapl_id, int[] memb_map, long[] memb_fapl,
+ String[] memb_name, long[] memb_addr)
+ throws HDF5LibraryException, NullPointerException
+ {
+ boolean relax = false; // Default to false
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment map_segment = MemorySegment.NULL;
+ if (memb_map != null)
+ map_segment = arena.allocate(ValueLayout.JAVA_INT, HDF5Constants.H5FD_MEM_NTYPES);
+ MemorySegment fapl_segment = MemorySegment.NULL;
+ if (memb_fapl != null)
+ fapl_segment = arena.allocate(ValueLayout.JAVA_LONG, HDF5Constants.H5FD_MEM_NTYPES);
+ MemorySegment name_segment = MemorySegment.NULL;
+ if (memb_name != null) {
+ SequenceLayout stringArrayLayout =
+ MemoryLayout.sequenceLayout(HDF5Constants.H5FD_MEM_NTYPES, ValueLayout.ADDRESS);
+ name_segment = arena.allocate(stringArrayLayout, HDF5Constants.H5FD_MEM_NTYPES);
+ for (int i = 0; i < memb_name.length; i++) {
+ // allocateFrom converts the Java string to a null-terminated C string in off-heap memory
+ MemorySegment cString = MemorySegment.NULL;
+ if (memb_name[i] != null)
+ cString = arena.allocateFrom(memb_name[i], StandardCharsets.UTF_8);
+ // Store the address of the C string in the 'pointers' segment
+ name_segment.setAtIndex(ValueLayout.ADDRESS, i, cString);
+ }
+ }
+ MemorySegment addr_segment = MemorySegment.NULL;
+ if (memb_addr != null)
+ addr_segment = arena.allocate(ValueLayout.JAVA_LONG, HDF5Constants.H5FD_MEM_NTYPES);
+ MemorySegment relax_segment = arena.allocate(ValueLayout.JAVA_BOOLEAN, 1);
+ relax_segment.set(ValueLayout.JAVA_BOOLEAN, 0, relax); // Default to false
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pget_fapl_multi(fapl_id, map_segment, fapl_segment,
+ name_segment, addr_segment, relax_segment) < 0)
+ h5libraryError();
+ if (memb_map != null)
+ MemorySegment.copy(map_segment, ValueLayout.JAVA_INT, 0L, memb_map, 0,
+ HDF5Constants.H5FD_MEM_NTYPES);
+ if (memb_fapl != null)
+ MemorySegment.copy(fapl_segment, ValueLayout.JAVA_LONG, 0L, memb_fapl, 0,
+ HDF5Constants.H5FD_MEM_NTYPES);
+ if (memb_addr != null)
+ MemorySegment.copy(addr_segment, ValueLayout.JAVA_LONG, 0L, memb_addr, 0,
+ HDF5Constants.H5FD_MEM_NTYPES);
+ if (memb_name != null) {
+ for (int i = 0; i < HDF5Constants.H5FD_MEM_NTYPES; i++) {
+ MemorySegment cStringSegment = name_segment.getAtIndex(ValueLayout.ADDRESS, i);
+ memb_name[i] = null;
+ if (cStringSegment.address() != 0)
+ memb_name[i] = cStringSegment.reinterpret(Integer.MAX_VALUE)
+ .getString(0, StandardCharsets.UTF_8);
+ }
+ }
+ relax = relax_segment.get(ValueLayout.JAVA_BOOLEAN, 0); // Default to false
+ }
+ return relax;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_fapl_multi Sets up use of the multi I/O driver.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param memb_map
+ * IN: Maps memory usage types to other memory usage types.
+ * @param memb_fapl
+ * IN: Property list for each memory usage type.
+ * @param memb_name
+ * IN: Name generator for names of member files.
+ * @param memb_addr
+ * IN: The offsets within the virtual address space, from 0 (zero) to HADDR_MAX, at which each
+ * type of data storage begins.
+ * @param relax
+ * IN: Allows read-only access to incomplete file sets when TRUE.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an array is null.
+ *
+ **/
+ public static void H5Pset_fapl_multi(long fapl_id, int[] memb_map, long[] memb_fapl, String[] memb_name,
+ long[] memb_addr, boolean relax)
+ throws HDF5LibraryException, NullPointerException
+ {
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment memb_map_segment = MemorySegment.NULL;
+ if (memb_map != null)
+ memb_map_segment = arena.allocateFrom(ValueLayout.JAVA_INT, memb_map);
+ MemorySegment memb_fapl_segment = MemorySegment.NULL;
+ if (memb_fapl != null)
+ memb_fapl_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, memb_fapl);
+ MemorySegment memb_name_segment = MemorySegment.NULL;
+ if (memb_name != null) {
+ memb_name_segment = arena.allocate(ValueLayout.ADDRESS, memb_name.length);
+ for (int i = 0; i < memb_name.length; i++) {
+ // allocateFrom converts the Java string to a null-terminated C string in off-heap memory
+ MemorySegment cString = MemorySegment.NULL;
+ if (memb_name[i] != null)
+ cString = arena.allocateFrom(memb_name[i], StandardCharsets.UTF_8);
+ // Store the address of the C string in the 'pointers' segment
+ memb_name_segment.setAtIndex(ValueLayout.ADDRESS, i, cString);
+ }
+ }
+ MemorySegment memb_addr_segment = MemorySegment.NULL;
+ if (memb_addr != null)
+ memb_addr_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, memb_addr);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pset_fapl_multi(fapl_id, memb_map_segment, memb_fapl_segment,
+ memb_name_segment, memb_addr_segment,
+ relax) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_fapl_log Sets up the logging virtual file driver (H5FD_LOG) for use. H5Pset_fapl_log modifies
+ * the file access property list to use the logging driver, H5FD_LOG. The logging virtual file driver
+ * (VFD) is a clone of the standard SEC2 (H5FD_SEC2) driver with additional facilities for logging VFD
+ * metrics and activity to a file.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier.
+ * @param logfile
+ * IN: logfile is the name of the file in which the logging entries are to be recorded.
+ * @param flags
+ * IN: Flags specifying the types of logging activity.
+ * @param buf_size
+ * IN: The size of the logging buffers, in bytes.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * logfile is null.
+ **/
+ public static void H5Pset_fapl_log(long fapl_id, String logfile, long flags, long buf_size)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (logfile == null) {
+ throw new NullPointerException("logfile is null");
+ }
+ if (buf_size < 0) {
+ throw new HDF5FunctionArgumentException("buf_size must be non-negative");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment logfile_segment = arena.allocateFrom(logfile);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pset_fapl_log(fapl_id, logfile_segment, flags, buf_size) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_fapl_sec2 Sets up use of the sec2 I/O driver.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_fapl_sec2(long fapl_id) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_fapl_sec2(fapl_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_fapl_split Sets up use of the split I/O driver. Makes the multi driver act like the
+ * old split driver which stored meta data in one file and raw
+ * data in another file
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param meta_ext
+ * IN: meta filename extension
+ * @param meta_plist_id
+ * IN: File access property list identifier for metadata
+ * @param raw_ext
+ * IN: raw data filename extension
+ * @param raw_plist_id
+ * IN: File access property list identifier raw data
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * meta_ext or raw_ext is null.
+ *
+ **/
+ public static void H5Pset_fapl_split(long fapl_id, String meta_ext, long meta_plist_id, String raw_ext,
+ long raw_plist_id) throws HDF5LibraryException, NullPointerException
+ {
+ if (meta_ext == null || raw_ext == null) {
+ throw new NullPointerException("meta_ext or raw_ext is null");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment meta_ext_segment = arena.allocateFrom(meta_ext);
+ MemorySegment raw_ext_segment = arena.allocateFrom(raw_ext);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Pset_fapl_split(fapl_id, meta_ext_segment, meta_plist_id,
+ raw_ext_segment, raw_plist_id) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_fapl_stdio Sets up use of the stdio I/O driver.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_fapl_stdio(long fapl_id) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Pset_fapl_stdio(fapl_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_fapl_windows Sets up use of the windows I/O driver.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_fapl_windows(long fapl_id) throws HDF5LibraryException
+ {
+ throw new HDF5LibraryException("H5Pset_fapl_windows not implemented yet");
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pset_fapl_ros3 Modify the file access property list to use the H5FD_ROS3 driver.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ * @param config_ptr
+ * IN: the properties of the ros3 driver
+ *
+ * @return a non-negative value if successful; otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static int H5Pset_fapl_ros3(long fapl_id, hdf.hdf5lib.structs.H5FD_ros3_fapl_t config_ptr)
+ throws HDF5LibraryException, NullPointerException
+ {
+ int retVal = -1;
+ if (config_ptr == null) {
+ throw new NullPointerException("config_ptr is null");
+ }
+ throw new HDF5LibraryException("H5Pset_fapl_ros3 not implemented");
+ }
+
+ /**
+ * @ingroup JH5P
+ *
+ * H5Pget_fapl_ros3 gets the properties of the ros3 I/O driver.
+ *
+ * @param fapl_id
+ * IN: File access property list identifier
+ *
+ * @return the properties of the ros3 driver.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ *
+ **/
+ public static hdf.hdf5lib.structs.H5FD_ros3_fapl_t H5Pget_fapl_ros3(long fapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ throw new HDF5LibraryException("H5Pget_fapl_ros3 not implemented");
+ }
+
+ // /////// unimplemented ////////
+
+ // Generic property list routines //
+ // herr_t H5Pencode(hid_t plist_id, void *buf, size_t *nalloc);
+ // hid_t H5Pdecode(const void *buf);
+
+ // Object creation property list (OCPL) routines //
+
+ // File creation property list (FCPL) routines //
+
+ // File access property list (FAPL) routines //
+ // herr_t H5Pset_driver(hid_t plist_id, hid_t new_driver_id, const void *new_driver_info)
+ // const void *H5Pget_driver_info(hid_t plist_id)
+ // herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ // herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ // herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr);
+ // herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len);
+ // herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr);
+ // herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr);
+ // herr_t H5Pset_core_write_tracking(hid_t fapl_id, hbool_t is_enabled, size_t page_size);
+ // herr_t H5Pget_core_write_tracking(hid_t fapl_id, hbool_t *is_enabled, size_t *page_size);
+ // #ifdef H5_HAVE_PARALLEL
+ // herr_t H5Pset_all_coll_metadata_ops(hid_t accpl_id, hbool_t is_collective);
+ // herr_t H5Pget_all_coll_metadata_ops(hid_t plist_id, hbool_t *is_collective);
+ // herr_t H5Pset_coll_metadata_write(hid_t fapl_id, hbool_t is_collective);
+ // herr_t H5Pget_coll_metadata_write(hid_t fapl_id, hbool_t *is_collective);
+ // #endif /* H5_HAVE_PARALLEL */
+ // herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr);
+ // herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr /*out*/);
+ // herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned min_meta_per, unsigned
+ // min_raw_per);
+ // herr_t H5Pget_page_buffer_size(hid_t fapl_id, size_t *buf_size, unsigned *min_meta_perc, unsigned
+ // *min_raw_perc); herr_t H5Pset_object_flush_cb (hid_t fapl_id, H5F_flush_cb_t func, void *user_data);
+ // herr_t H5Pget_object_flush_cb (hid_t fapl_id, H5F_flush_cb_t *func, void **user_data);
+
+ // Dataset creation property list (DCPL) routines //
+
+ // Dataset access property list (DAPL) routines //
+ // herr_t H5Pset_append_flush (hid_t dapl_id, int ndims, const hsize_t boundary[], H5D_append_cb_t func,
+ // void *user_data); herr_t H5Pget_append_flush(hid_t dapl_id, int ndims, hsize_t boundary[],
+ // H5D_append_cb_t *func, void **user_data)
+
+ // Dataset xfer property list (DXPL) routines //
+ // herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg);
+ // herr_t H5Pset_preserve(hid_t plist_id, hbool_t status);
+ // int H5Pget_preserve(hid_t plist_id);
+ // herr_t H5Pset_filter_callback(hid_t plist, H5Z_filter_func_t func, void *op_data)
+ // herr_t H5Pget_vlen_mem_manager(hid_t plist, H5MM_allocate_t *alloc, void **alloc_info, H5MM_free_t
+ // *free, void
+ // **free_info )
+ // herr_t H5Pset_vlen_mem_manager(hid_t plist, H5MM_allocate_t alloc, void *alloc_info, H5MM_free_t free,
+ // void *free_info ) herr_t H5Pget_type_conv_cb(hid_t plist, H5T_conv_except_func_t *func, void **op_data)
+ // herr_t H5Pset_type_conv_cb( hid_t plist, H5T_conv_except_func_t func, void *op_data)
+ // #ifdef H5_HAVE_PARALLEL
+ // herr_t H5Pget_mpio_actual_chunk_opt_mode(hid_t plist_id, H5D_mpio_actual_chunk_opt_mode_t
+ // *actual_chunk_opt_mode); herr_t H5Pget_mpio_actual_io_mode(hid_t plist_id, H5D_mpio_actual_io_mode_t
+ // *actual_io_mode); herr_t H5Pget_mpio_no_collective_cause(hid_t plist_id, uint32_t
+ // *local_no_collective_cause, uint32_t *global_no_collective_cause);
+ // #endif /* H5_HAVE_PARALLEL */
+
+ // Link creation property list (LCPL) routines //
+
+ // Group creation property list (GCPL) routines //
+
+ // String creation property list (STRCPL) routines //
+
+ // Link access property list (LAPL) routines //
+ // herr_t H5Pget_elink_cb( hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data )
+ // herr_t H5Pset_elink_cb( hid_t lapl_id, H5L_elink_traverse_t func, void *op_data )
+
+ // Object copy property list (OCPYPL) routines //
+ // herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path);
+ // herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id);
+ // herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data);
+ // herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data);
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5PL: HDF5 1.8 Plugin API Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+ /**
+ * @defgroup JH5PL Java Plugin (H5PL) Interface
+ *
+ * @see H5PL, C-API
+ *
+ * @see @ref H5PL_UG, User Guide
+ **/
+
+ /**
+ * @ingroup JH5PL
+ *
+ * H5PLset_loading_state uses one argument to enable or disable individual plugins.
+ * The plugin_flags parameter is an encoded integer in which each bit controls a specific
+ * plugin or class of plugins.
+ * A plugin bit set to 0 (zero) prevents the use of the dynamic plugin corresponding
+ * to that bit position. A plugin bit set to 1 (one) allows the use of that dynamic plugin.
+ * All dynamic plugins can be enabled by setting plugin_flags to a negative value.
+ * A value of 0 (zero) will disable all dynamic plugins.
+ *
+ * H5PLset_loading_state inspects the HDF5_PLUGIN_PRELOAD environment variable every
+ * time it is called. If the environment variable is set to the special :: string,
+ * all dynamic plugins will be disabled.
+ *
+ * @param plugin_flags
+ * IN: The list of dynamic plugin types to enable or disable.
+ * A plugin bit set to 0 (zero) prevents use of that dynamic plugin.
+ * A plugin bit set to 1 (one) enables use of that dynamic plugin.
+ * Setting plugin_flags to a negative value enables all dynamic plugins.
+ * Setting plugin_flags to 0 (zero) disables all dynamic plugins.
+ *
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5PLset_loading_state(int plugin_flags) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5PLset_loading_state(plugin_flags);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5PL
+ *
+ * H5PLget_loading_state retrieves the state of the dynamic plugins flag, plugin_flags..
+ *
+ * @return the list of dynamic plugin types that are enabled or disabled.
+ * A plugin bit set to 0 (zero) indicates that that dynamic plugin is disabled.
+ * A plugin bit set to 1 (one) indicates that that dynamic plugin is enabled.
+ * If the value of plugin_flags is negative, all dynamic plugins are enabled.
+ * If the value of plugin_flags is 0 (zero), all dynamic plugins are disabled.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5PLget_loading_state() throws HDF5LibraryException
+ {
+ int plugin_flags = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment flags_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5PLget_loading_state(flags_segment) < 0)
+ h5libraryError();
+ plugin_flags = flags_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ if (plugin_flags < 0) {
+ h5libraryError();
+ }
+ return plugin_flags;
+ }
+
+ /**
+ * @ingroup JH5PL
+ *
+ * H5PLappend inserts the plugin path at the end of the table.
+ *
+ * @param plugin_path
+ * IN: Path for location of filter plugin libraries.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * plugin_path is null.
+ **/
+ public static void H5PLappend(String plugin_path) throws HDF5LibraryException, NullPointerException
+ {
+ if (plugin_path == null) {
+ throw new NullPointerException("plugin_path cannot be null");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment path_segment = arena.allocateFrom(plugin_path);
+ retVal = org.hdfgroup.javahdf5.hdf5_h.H5PLappend(path_segment);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+ }
+
+ /**
+ * @ingroup JH5PL
+ *
+ * H5PLprepend inserts the plugin path at the beginning of the table.
+ *
+ * @param plugin_path
+ * IN: Path for location of filter plugin libraries.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * plugin_path is null.
+ **/
+ public static void H5PLprepend(String plugin_path) throws HDF5LibraryException, NullPointerException
+ {
+ if (plugin_path == null) {
+ throw new NullPointerException("plugin_path cannot be null");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment path_segment = arena.allocateFrom(plugin_path);
+ retVal = org.hdfgroup.javahdf5.hdf5_h.H5PLprepend(path_segment);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+ }
+
+ /**
+ * @ingroup JH5PL
+ *
+ * H5PLreplace replaces the plugin path at the specified index.
+ *
+ * @param plugin_path
+ * IN: Path for location of filter plugin libraries.
+ * @param index
+ * IN: The table index (0-based).
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * plugin_path is null.
+ **/
+ public static void H5PLreplace(String plugin_path, int index)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (plugin_path == null) {
+ throw new NullPointerException("plugin_path cannot be null");
+ }
+ if (index < 0) {
+ throw new HDF5FunctionArgumentException("index must be non-negative");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment path_segment = arena.allocateFrom(plugin_path);
+ retVal = org.hdfgroup.javahdf5.hdf5_h.H5PLreplace(path_segment, index);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+ }
+
+ /**
+ * @ingroup JH5PL
+ *
+ * H5PLinsert inserts the plugin path at the specified index.
+ *
+ * @param plugin_path
+ * IN: Path for location of filter plugin libraries.
+ * @param index
+ * IN: The table index (0-based).
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * plugin_path is null.
+ **/
+ public static void H5PLinsert(String plugin_path, int index)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (plugin_path == null) {
+ throw new NullPointerException("plugin_path cannot be null");
+ }
+ if (index < 0) {
+ throw new HDF5FunctionArgumentException("index must be non-negative");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment path_segment = arena.allocateFrom(plugin_path);
+ retVal = org.hdfgroup.javahdf5.hdf5_h.H5PLinsert(path_segment, index);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+ }
+
+ /**
+ * @ingroup JH5PL
+ *
+ * H5PLremove removes the plugin path at the specified index.
+ *
+ * @param index
+ * IN: The table index (0-based).
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5PLremove(int index) throws HDF5LibraryException
+ {
+ if (index < 0) {
+ throw new HDF5FunctionArgumentException("index must be non-negative");
+ }
+
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5PLremove(index);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5PL
+ *
+ * H5PLget retrieves the plugin path at the specified index.
+ *
+ * @param index
+ * IN: The table index (0-based).
+ *
+ * @return the current path at the index in plugin path table
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static String H5PLget(int index) throws HDF5LibraryException
+ {
+ long buf_size = -1;
+
+ if (index < 0) {
+ throw new HDF5FunctionArgumentException("index must be non-negative");
+ }
+
+ if ((buf_size = org.hdfgroup.javahdf5.hdf5_h.H5PLget(index, MemorySegment.NULL, 0)) < 0)
+ h5libraryError();
+
+ String plugin_path = null;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment path_segment = arena.allocate(buf_size + 1);
+ /* Get the attribute name */
+ if (org.hdfgroup.javahdf5.hdf5_h.H5PLget(index, path_segment, buf_size + 1) < 0)
+ h5libraryError();
+
+ plugin_path = path_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return plugin_path;
+ }
+
+ /**
+ * @ingroup JH5PL
+ *
+ * H5PLsize retrieves the size of the current list of plugin paths.
+ *
+ * @return the current number of paths in the plugin path table
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5PLsize() throws HDF5LibraryException
+ {
+ int size = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment size_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5PLsize(size_segment) < 0)
+ h5libraryError();
+ size = size_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ if (size < 0) {
+ h5libraryError();
+ }
+ return size;
+ }
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5R: HDF5 1.8 Reference API Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+
+ /**
+ * @defgroup JH5R Java Reference (H5R) Interface
+ *
+ * @see H5R, C-API
+ *
+ * @see @ref H5R_UG, User Guide
+ * @deprecated As of HDF5 1.12.0 in favor of H5Rcreate_object(), H5Rcreate_region() and H5Rcreate_attr()
+ **/
+ @Deprecated
+ private static int H5Rcreate(byte[] ref, long loc_id, String name, int ref_type, long space_id)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ if (ref == null) {
+ throw new NullPointerException("ref is null");
+ }
+ if ((ref_type == org.hdfgroup.javahdf5.hdf5_h.H5R_OBJECT() &&
+ ref.length != org.hdfgroup.javahdf5.hdf5_h.H5R_OBJ_REF_BUF_SIZE()) ||
+ (ref_type == org.hdfgroup.javahdf5.hdf5_h.H5R_DATASET_REGION() &&
+ ref.length != org.hdfgroup.javahdf5.hdf5_h.H5R_DSET_REG_REF_BUF_SIZE())) {
+ throw new HDF5FunctionArgumentException("ref length is invalid");
+ }
+
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ MemorySegment ref_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, ref);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Rcreate(ref_segment, loc_id, name_segment, ref_type,
+ space_id)) < 0)
+ h5libraryError();
+ // Read the data from the memory segment
+ for (int i = 0; i < ref.length; i++) {
+ ref[i] = ref_segment.get(ValueLayout.JAVA_BYTE, i);
+ }
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Rcreate creates the reference, ref, of the type specified in ref_type, pointing to the object name
+ * located at loc_id.
+ *
+ * @param loc_id
+ * IN: Location identifier used to locate the object being pointed to.
+ * @param name
+ * IN: Name of object at location loc_id.
+ * @param ref_type
+ * IN: Type of reference.
+ * @param space_id
+ * IN: Dataspace identifier with selection.
+ *
+ * @return the reference (byte[]) if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an input array is null.
+ * @exception HDF5FunctionArgumentException
+ * an input array is invalid.
+ *
+ * @deprecated As of HDF5 1.12.0 in favor of H5Rcreate_object(), H5Rcreate_region() and H5Rcreate_attr()
+ **/
+ @Deprecated
+ public static byte[] H5Rcreate(long loc_id, String name, int ref_type, long space_id)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ byte rbuf[] = null;
+ if (ref_type == org.hdfgroup.javahdf5.hdf5_h.H5R_DATASET_REGION())
+ rbuf = new byte[(int)org.hdfgroup.javahdf5.hdf5_h.H5R_DSET_REG_REF_BUF_SIZE()];
+ else if (ref_type == org.hdfgroup.javahdf5.hdf5_h.H5R_OBJECT())
+ rbuf = new byte[(int)org.hdfgroup.javahdf5.hdf5_h.H5R_OBJ_REF_BUF_SIZE()];
+ else
+ throw new HDF5FunctionArgumentException("Invalid ref_type");
+
+ /* will raise an exception if fails */
+ hdf.hdf5lib.H5.H5Rcreate(rbuf, loc_id, name, ref_type, space_id);
+
+ return rbuf;
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * Given a reference to some object, H5Rdereference opens that object and return an identifier.
+ *
+ * @param dataset
+ * IN: Dataset containing reference object.
+ * @param access_list
+ * IN: Property list of the object being referenced.
+ * @param ref_type
+ * IN: The reference type of ref.
+ * @param ref
+ * IN: reference to an object
+ *
+ * @return valid identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * output array is null.
+ * @exception HDF5FunctionArgumentException
+ * output array is invalid.
+ *
+ * @deprecated As of HDF5 1.12.0 in favor of H5Rcreate_object(), H5Rcreate_region() and H5Rcreate_attr()
+ **/
+ @Deprecated
+ public static long H5Rdereference(long dataset, long access_list, int ref_type, byte[] ref)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (ref == null) {
+ throw new NullPointerException("ref is null");
+ }
+ long id = H5I_INVALID_HID();
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ref_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, ref);
+ id = org.hdfgroup.javahdf5.hdf5_h.H5Rdereference2(dataset, access_list, ref_type, ref_segment);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Rdereference add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Rget_name retrieves a name for the object identified by ref.
+ *
+ * @param loc_id
+ * IN: Identifier for the dataset containing the reference or for the group that dataset is in.
+ * @param ref_type
+ * IN: Type of reference.
+ * @param ref
+ * IN: An object or dataset region reference.
+ * @param name
+ * OUT: A name associated with the referenced object or dataset region.
+ * @param size
+ * IN: The size of the name buffer.
+ *
+ * @return Returns the length of the name if successful, returning 0 (zero) if no name is associated with
+ * the identifier. Otherwise returns a negative value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * size is null.
+ * @exception HDF5FunctionArgumentException
+ * Argument is illegal.
+ **/
+ public static long H5Rget_name(long loc_id, int ref_type, byte[] ref, String[] name, long size)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (name == null || size <= 0) {
+ throw new NullPointerException("name is null or size is invalid");
+ }
+ if (ref == null) {
+ throw new NullPointerException("ref is null");
+ }
+ if (ref.length != org.hdfgroup.javahdf5.hdf5_h.H5R_OBJ_REF_BUF_SIZE() &&
+ ref.length != org.hdfgroup.javahdf5.hdf5_h.H5R_DSET_REG_REF_BUF_SIZE()) {
+ throw new HDF5FunctionArgumentException("ref length is invalid");
+ }
+
+ long retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ref_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, ref);
+ MemorySegment name_segment = arena.allocateFrom(name[0]);
+ retVal =
+ org.hdfgroup.javahdf5.hdf5_h.H5Rget_name(loc_id, ref_type, ref_segment, name_segment, size);
+ if (retVal < 0)
+ h5libraryError();
+ // Read the data from the memory segment
+ name[0] = name_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Rget_name_string retrieves a name for the object identified by ref.
+ *
+ * @param loc_id
+ * IN: Identifier for the dataset containing the reference or for the group that dataset is in.
+ * @param ref_type
+ * IN: Type of reference.
+ * @param ref
+ * IN: An object or dataset region reference.
+ *
+ * @return Returns the name if successful, returning null if no name is associated with
+ * the identifier.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * size is null.
+ * @exception HDF5FunctionArgumentException
+ * Argument is illegal.
+ **/
+ public static String H5Rget_name_string(long loc_id, int ref_type, byte[] ref)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (ref == null) {
+ throw new NullPointerException("ref is null");
+ }
+ if (ref.length != org.hdfgroup.javahdf5.hdf5_h.H5R_OBJ_REF_BUF_SIZE() &&
+ ref.length != org.hdfgroup.javahdf5.hdf5_h.H5R_DSET_REG_REF_BUF_SIZE()) {
+ throw new HDF5FunctionArgumentException("ref length is invalid");
+ }
+
+ String name = null;
+ long buf_size = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ref_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, ref);
+ MemorySegment size_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ if ((buf_size = org.hdfgroup.javahdf5.hdf5_h.H5Rget_name(loc_id, ref_type, ref_segment,
+ MemorySegment.NULL, 0)) < 0)
+ h5libraryError();
+
+ MemorySegment name_segment = arena.allocate(buf_size + 1); // +1 for null terminator
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Rget_name(loc_id, ref_type, ref_segment, name_segment,
+ buf_size + 1) < 0)
+ h5libraryError();
+ // Read the data from the memory segment
+ name = name_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return name;
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Rget_obj_type Given a reference to an object ref, H5Rget_obj_type returns the type of the object
+ * pointed to.
+ *
+ * @param loc_id
+ * IN: loc_id of the reference object.
+ * @param ref_type
+ * IN: Type of reference to query.
+ * @param ref
+ * IN: the reference
+ *
+ * @return Returns the object type
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an input array is null.
+ * @exception HDF5FunctionArgumentException
+ * an input array is invalid.
+ **/
+ public static int H5Rget_obj_type(long loc_id, int ref_type, byte ref[])
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (ref == null) {
+ throw new NullPointerException("ref is null");
+ }
+
+ int obj_type = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ref_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, ref);
+ MemorySegment obj_type_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Rget_obj_type2(loc_id, ref_type, ref_segment,
+ obj_type_segment) < 0)
+ h5libraryError();
+ obj_type = obj_type_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return obj_type;
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Rget_obj_type2 Retrieves the type of object that an object reference points to.
+ *
+ * @see public static int H5Rget_obj_type(int loc_id, int ref_type, byte ref[])
+ **/
+ private static int H5Rget_obj_type2(long loc_id, int ref_type, byte ref[], int[] obj_type)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (ref == null) {
+ throw new NullPointerException("ref is null");
+ }
+ throw new HDF5LibraryException("H5Rget_obj_type2 not implemented");
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * Given a reference to an object ref, H5Rget_region creates a copy of the dataspace of the dataset
+ * pointed to and defines a selection in the copy which is the region pointed to.
+ *
+ * @param loc_id
+ * IN: loc_id of the reference object.
+ * @param ref_type
+ * IN: The reference type of ref.
+ * @param ref
+ * OUT: the reference to the object and region
+ *
+ * @return a valid identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an input array is null.
+ * @exception HDF5FunctionArgumentException
+ * an input array is invalid.
+ **/
+ public static long H5Rget_region(long loc_id, int ref_type, byte[] ref)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (ref == null) {
+ throw new NullPointerException("ref is null");
+ }
+ long id = H5I_INVALID_HID();
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ref_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, ref);
+ id = org.hdfgroup.javahdf5.hdf5_h.H5Rget_region(loc_id, ref_type, ref_segment);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Rget_region add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5R: HDF5 1.12 Reference API Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Rcreate_object creates a reference pointing to the object named name located at loc id.
+ *
+ * @param loc_id
+ * IN: Location identifier used to locate the object being pointed to.
+ * @param name
+ * IN: Name of object at location loc_id.
+ * @param access_id
+ * IN: Object access identifier to the object being pointed to.
+ *
+ * @return the reference (byte[]) if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an input array is null.
+ * @exception HDF5FunctionArgumentException
+ * an input array is invalid.
+ **/
+ public static byte[] H5Rcreate_object(long loc_id, String name, long access_id)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+
+ byte rbuf[] = new byte[org.hdfgroup.javahdf5.hdf5_h.H5R_REF_BUF_SIZE()];
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment rbuf_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, rbuf);
+ MemorySegment name_segment = arena.allocateFrom(name);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Rcreate_object(loc_id, name_segment, access_id, rbuf_segment) <
+ 0)
+ h5libraryError();
+ // Read the data from the memory segment
+ for (int i = 0; i < rbuf.length; i++) {
+ rbuf[i] = rbuf_segment.get(ValueLayout.JAVA_BYTE, i);
+ }
+ }
+ return rbuf;
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Rcreate_region creates the reference, pointing to the region represented by
+ * space id within the object named name located at loc id.
+ *
+ * @param loc_id
+ * IN: Location identifier used to locate the object being pointed to.
+ * @param name
+ * IN: Name of object at location loc_id.
+ * @param space_id
+ * IN: Identifies the dataset region that a dataset region reference points to.
+ * @param access_id
+ * IN: Object access identifier to the object being pointed to.
+ *
+ * @return the reference (byte[]) if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an input array is null.
+ * @exception HDF5FunctionArgumentException
+ * an input array is invalid.
+ **/
+ public static byte[] H5Rcreate_region(long loc_id, String name, long space_id, long access_id)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+
+ byte rbuf[] = new byte[org.hdfgroup.javahdf5.hdf5_h.H5R_REF_BUF_SIZE()];
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment rbuf_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, rbuf);
+ MemorySegment name_segment = arena.allocateFrom(name);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Rcreate_region(loc_id, name_segment, space_id, access_id,
+ rbuf_segment) < 0)
+ h5libraryError();
+ // Read the data from the memory segment
+ for (int i = 0; i < rbuf.length; i++) {
+ rbuf[i] = rbuf_segment.get(ValueLayout.JAVA_BYTE, i);
+ }
+ }
+ return rbuf;
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Rcreate_attr creates the reference, pointing to the attribute named attr name
+ * and attached to the object named name located at loc id.
+ *
+ * @param loc_id
+ * IN: Location identifier used to locate the object being pointed to.
+ * @param name
+ * IN: Name of object at location loc_id.
+ * @param attr_name
+ * IN: Name of the attribute within the object.
+ * @param access_id
+ * IN: Object access identifier to the object being pointed to.
+ *
+ * @return the reference (byte[]) if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an input array is null.
+ * @exception HDF5FunctionArgumentException
+ * an input array is invalid.
+ **/
+ public static byte[] H5Rcreate_attr(long loc_id, String name, String attr_name, long access_id)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (name == null || attr_name == null) {
+ throw new NullPointerException("name or attr_name is null");
+ }
+
+ byte rbuf[] = new byte[org.hdfgroup.javahdf5.hdf5_h.H5R_REF_BUF_SIZE()];
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment rbuf_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, rbuf);
+ MemorySegment name_segment = arena.allocateFrom(name);
+ MemorySegment attr_name_segment = arena.allocateFrom(attr_name);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Rcreate_attr(loc_id, name_segment, attr_name_segment,
+ access_id, rbuf_segment) < 0)
+ h5libraryError();
+ // Read the data from the memory segment
+ for (int i = 0; i < rbuf.length; i++) {
+ rbuf[i] = rbuf_segment.get(ValueLayout.JAVA_BYTE, i);
+ }
+ }
+ return rbuf;
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Rdestroy destroys a reference and releases resources.
+ *
+ * @param ref_ptr
+ * IN: Reference to an object, region or attribute attached to an object.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an input array is null.
+ * @exception HDF5FunctionArgumentException
+ * an input array is invalid.
+ **/
+ public static void H5Rdestroy(byte[] ref_ptr)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (ref_ptr == null) {
+ throw new NullPointerException("ref_ptr is null");
+ }
+ if (ref_ptr.length != org.hdfgroup.javahdf5.hdf5_h.H5R_REF_BUF_SIZE()) {
+ throw new HDF5FunctionArgumentException("ref_ptr length is invalid");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ref_ptr_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, ref_ptr);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Rdestroy(ref_ptr_segment) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Rget_type retrieves the type of a reference.
+ *
+ * @param ref_ptr
+ * IN: Reference to an object, region or attribute attached to an object.
+ *
+ * @return a valid reference type if successful; otherwise returns H5R UNKNOWN.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an input array is null.
+ * @exception HDF5FunctionArgumentException
+ * an input array is invalid.
+ **/
+ public static int H5Rget_type(byte[] ref_ptr)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (ref_ptr == null) {
+ throw new NullPointerException("ref_ptr is null");
+ }
+
+ int ref_type = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ref_ptr_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, ref_ptr);
+ if ((ref_type = org.hdfgroup.javahdf5.hdf5_h.H5Rget_type(ref_ptr_segment)) < 0)
+ h5libraryError();
+ }
+ return ref_type;
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Requal determines whether two references point to the same object, region or attribute.
+ *
+ * @param ref1_ptr
+ * IN: Reference to an object, region or attribute attached to an object.
+ * @param ref2_ptr
+ * IN: Reference to an object, region or attribute attached to an object.
+ *
+ * @return true if equal, else false
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an input array is null.
+ * @exception HDF5FunctionArgumentException
+ * an input array is invalid.
+ **/
+ public static boolean H5Requal(byte[] ref1_ptr, byte[] ref2_ptr)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (ref1_ptr == null || ref2_ptr == null) {
+ throw new NullPointerException("ref1_ptr or ref2_ptr is null");
+ }
+
+ boolean equal = false;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ref1_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, ref1_ptr);
+ MemorySegment ref2_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, ref2_ptr);
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Requal(ref1_segment, ref2_segment);
+ if (retVal < 0)
+ h5libraryError();
+ if (retVal > 0)
+ equal = true;
+ else
+ equal = false;
+ }
+ return equal;
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Rcopy creates a copy of an existing reference.
+ *
+ * @param src_ref_ptr
+ * IN: Reference to an object, region or attribute attached to an object.
+ *
+ * @return a valid copy of the reference (byte[]) if successful.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an input array is null.
+ * @exception HDF5FunctionArgumentException
+ * an input array is invalid.
+ **/
+ public static byte[] H5Rcopy(byte[] src_ref_ptr)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (src_ref_ptr == null) {
+ throw new NullPointerException("src_ref_ptr is null");
+ }
+ if (src_ref_ptr.length != org.hdfgroup.javahdf5.hdf5_h.H5R_REF_BUF_SIZE()) {
+ throw new HDF5FunctionArgumentException("src_ref_ptr length is invalid");
+ }
+
+ byte[] dest_ref_ptr = new byte[org.hdfgroup.javahdf5.hdf5_h.H5R_REF_BUF_SIZE()];
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment src_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, src_ref_ptr);
+ MemorySegment dest_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, dest_ref_ptr);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Rcopy(src_segment, dest_segment) < 0)
+ h5libraryError();
+ }
+ return dest_ref_ptr;
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Ropen_object opens that object and returns an identifier.
+ * The object opened with this function should be closed when it is no longer needed
+ * so that resource leaks will not develop. Use the appropriate close function such
+ * as H5Oclose or H5Dclose for datasets.
+ *
+ * @param ref_ptr
+ * IN: Reference to an object, region or attribute attached to an object.
+ * @param rapl_id
+ * IN: A reference access property list identifier for the reference. The access property
+ * list can be used to access external files that the reference points
+ * to (through a file access property list).
+ * @param oapl_id
+ * IN: An object access property list identifier for the reference. The access property
+ * property list must be of the same type as the object being referenced,
+ * that is a group or dataset property list.
+ *
+ * @return a valid identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an input array is null.
+ * @exception HDF5FunctionArgumentException
+ * an input array is invalid.
+ **/
+ public static long H5Ropen_object(byte[] ref_ptr, long rapl_id, long oapl_id)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (ref_ptr == null) {
+ throw new NullPointerException("ref_ptr is null");
+ }
+ long id = H5I_INVALID_HID();
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ref_ptr_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, ref_ptr);
+ id = org.hdfgroup.javahdf5.hdf5_h_1.H5Ropen_object(ref_ptr_segment, rapl_id, oapl_id);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Ropen_object add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Ropen region creates a copy of the dataspace of the dataset pointed to by a region reference,
+ * ref ptr, and defines a selection matching the selection pointed to by ref ptr within the dataspace
+ * copy. Use H5Sclose to release the dataspace identifier returned by this function when the identifier is
+ * no longer needed.
+ *
+ * @param ref_ptr
+ * IN: Reference to an object, region or attribute attached to an object.
+ * @param rapl_id
+ * IN: A reference access property list identifier for the reference. The access property
+ * list can be used to access external files that the reference points
+ * to (through a file access property list).
+ * @param oapl_id
+ * IN: An object access property list identifier for the reference. The access property
+ * property list must be of the same type as the object being referenced,
+ * that is a group or dataset property list.
+ *
+ * @return a valid dataspace identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an input array is null.
+ * @exception HDF5FunctionArgumentException
+ * an input array is invalid.
+ **/
+ public static long H5Ropen_region(byte[] ref_ptr, long rapl_id, long oapl_id)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (ref_ptr == null) {
+ throw new NullPointerException("ref_ptr is null");
+ }
+ long id = H5I_INVALID_HID();
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ref_ptr_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, ref_ptr);
+ id = org.hdfgroup.javahdf5.hdf5_h_1.H5Ropen_region(ref_ptr_segment, rapl_id, oapl_id);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Ropen_region add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Ropen_attr opens the attribute attached to the object and returns an identifier.
+ * The attribute opened with this function should be closed with H5Aclose when it is no longer needed
+ * so that resource leaks will not develop.
+ *
+ * @param ref_ptr
+ * IN: Reference to an object, region or attribute attached to an object.
+ * @param rapl_id
+ * IN: A reference access property list identifier for the reference. The access property
+ * list can be used to access external files that the reference points
+ * to (through a file access property list).
+ * @param aapl_id
+ * IN: An attribute access property list identifier for the reference. The access property
+ * property list must be of the same type as the object being referenced,
+ * that is a group or dataset property list.
+ *
+ * @return a valid attribute identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an input array is null.
+ * @exception HDF5FunctionArgumentException
+ * an input array is invalid.
+ **/
+ public static long H5Ropen_attr(byte[] ref_ptr, long rapl_id, long aapl_id)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (ref_ptr == null) {
+ throw new NullPointerException("ref_ptr is null");
+ }
+ long id = H5I_INVALID_HID();
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ref_ptr_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, ref_ptr);
+ id = org.hdfgroup.javahdf5.hdf5_h_1.H5Ropen_attr(ref_ptr_segment, rapl_id, aapl_id);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Ropen_attr add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Rget obj type3 retrieves the type of the referenced object pointed to.
+ *
+ * @param ref_ptr
+ * IN: Reference to an object, region or attribute attached to an object.
+ * @param rapl_id
+ * IN: A reference access property list identifier for the reference. The access property
+ * list can be used to access external files that the reference points
+ * to (through a file access property list).
+ *
+ * @return Returns the object type
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * array is null.
+ * @exception HDF5FunctionArgumentException
+ * array is invalid.
+ **/
+ public static int H5Rget_obj_type3(byte[] ref_ptr, long rapl_id)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (ref_ptr == null) {
+ throw new NullPointerException("ref_ptr is null");
+ }
+ int obj_type = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ref_ptr_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, ref_ptr);
+ MemorySegment obj_type_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Rget_obj_type3(ref_ptr_segment, rapl_id, obj_type_segment) <
+ 0)
+ h5libraryError();
+ obj_type = obj_type_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return obj_type;
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Rget_file_name retrieves the file name for the object, region or attribute reference pointed to.
+ *
+ * @param ref_ptr
+ * IN: Reference to an object, region or attribute attached to an object.
+ *
+ * @return Returns the file name of the reference
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * array is null.
+ * @exception HDF5FunctionArgumentException
+ * array is invalid.
+ **/
+ public static String H5Rget_file_name(byte[] ref_ptr)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (ref_ptr == null) {
+ throw new NullPointerException("ref_ptr is null");
+ }
+ String fileName = null;
+ long buf_size = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ref_ptr_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, ref_ptr);
+ if ((buf_size = org.hdfgroup.javahdf5.hdf5_h_1.H5Rget_file_name(ref_ptr_segment,
+ MemorySegment.NULL, 0)) < 0)
+ h5libraryError();
+
+ MemorySegment name_segment = arena.allocate(buf_size + 1); // +1 for null terminator
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Rget_file_name(ref_ptr_segment, name_segment, buf_size + 1) <
+ 0)
+ h5libraryError();
+ // Read the data from the memory segment
+ fileName = name_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return fileName;
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Rget_obj_name retrieves the object name for the object, region or attribute reference pointed to.
+ *
+ * @param ref_ptr
+ * IN: Reference to an object, region or attribute attached to an object.
+ * @param rapl_id
+ * IN: A reference access property list identifier for the reference. The access property
+ * list can be used to access external files that the reference points
+ * to (through a file access property list).
+ *
+ * @return Returns the object name of the reference
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * array is null.
+ * @exception HDF5FunctionArgumentException
+ * array is invalid.
+ **/
+ public static String H5Rget_obj_name(byte[] ref_ptr, long rapl_id)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (ref_ptr == null) {
+ throw new NullPointerException("ref_ptr is null");
+ }
+ String objName = null;
+ long buf_size = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ref_ptr_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, ref_ptr);
+ if ((buf_size = org.hdfgroup.javahdf5.hdf5_h_1.H5Rget_obj_name(ref_ptr_segment, rapl_id,
+ MemorySegment.NULL, 0)) < 0)
+ h5libraryError();
+
+ MemorySegment name_segment = arena.allocate(buf_size + 1); // +1 for null terminator
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Rget_obj_name(ref_ptr_segment, rapl_id, name_segment,
+ buf_size + 1) < 0)
+ h5libraryError();
+ // Read the data from the memory segment
+ objName = name_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return objName;
+ }
+
+ /**
+ * @ingroup JH5R
+ *
+ * H5Rget_attr_name retrieves the attribute name for the object, region or attribute reference pointed to.
+ *
+ * @param ref_ptr
+ * IN: Reference to an object, region or attribute attached to an object.
+ *
+ * @return Returns the attribute name of the reference
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * array is null.
+ * @exception HDF5FunctionArgumentException
+ * array is invalid.
+ **/
+ public static String H5Rget_attr_name(byte[] ref_ptr)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (ref_ptr == null) {
+ throw new NullPointerException("ref_ptr is null");
+ }
+ String attrName = null;
+ long buf_size = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment ref_ptr_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, ref_ptr);
+ if ((buf_size = org.hdfgroup.javahdf5.hdf5_h_1.H5Rget_attr_name(ref_ptr_segment,
+ MemorySegment.NULL, 0)) < 0)
+ h5libraryError();
+
+ MemorySegment name_segment = arena.allocate(buf_size + 1); // +1 for null terminator
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Rget_attr_name(ref_ptr_segment, name_segment, buf_size + 1) <
+ 0)
+ h5libraryError();
+ // Read the data from the memory segment
+ attrName = name_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return attrName;
+ }
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5S: Dataspace Interface Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+ /**
+ * @defgroup JH5S Java Dataspace (H5S) Interface
+ *
+ * @see H5S, C-API
+ *
+ * @see @ref H5S_UG, User Guide
+ **/
+
+ /**
+ * @defgroup JH5S Java Dataspace (H5S) Interface
+ **/
+
+ /**************** Operations on dataspaces ********************/
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Screate creates a new dataspace of a particular type.
+ *
+ * @param type
+ * IN: The type of dataspace to be created.
+ *
+ * @return a dataspace identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Screate(int type) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h_1.H5Screate(type);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Screate add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Screate_simple creates a new simple data space and opens it for access.
+ *
+ * @param rank
+ * IN: Number of dimensions of dataspace.
+ * @param dims
+ * IN: An array of the size of each dimension.
+ * @param maxdims
+ * IN: An array of the maximum size of each dimension.
+ *
+ * @return a dataspace identifier
+ *
+ * @exception HDF5Exception
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * dims or maxdims is null.
+ **/
+ public static long H5Screate_simple(int rank, long[] dims, long[] maxdims)
+ throws HDF5Exception, NullPointerException
+ {
+ long id = H5I_INVALID_HID();
+ if (dims == null) {
+ throw new NullPointerException("Null dims array");
+ }
+ if (rank < 0) {
+ throw new HDF5FunctionArgumentException("Negative rank");
+ }
+ if (dims.length != rank) {
+ throw new HDF5FunctionArgumentException("Invalid dims array");
+ }
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment dims_segment = arena.allocate(ValueLayout.JAVA_LONG, rank);
+ MemorySegment.copy((Object)dims, 0, dims_segment, ValueLayout.JAVA_LONG, 0, rank);
+ MemorySegment maxdims_segment = MemorySegment.NULL;
+ if (maxdims != null) {
+ maxdims_segment = arena.allocate(ValueLayout.JAVA_LONG, rank);
+ MemorySegment.copy((Object)maxdims, 0, maxdims_segment, ValueLayout.JAVA_LONG, 0, rank);
+ }
+ id = org.hdfgroup.javahdf5.hdf5_h_1.H5Screate_simple(rank, dims_segment, maxdims_segment);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Screate_simple add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sset_extent_simple sets or resets the size of an existing dataspace.
+ *
+ * @param space_id
+ * Dataspace identifier.
+ * @param rank
+ * Rank, or dimensionality, of the dataspace.
+ * @param current_size
+ * Array containing current size of dataspace.
+ * @param maximum_size
+ * Array containing maximum size of dataspace.
+ *
+ * @return a dataspace identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Sset_extent_simple(long space_id, int rank, long[] current_size, long[] maximum_size)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (current_size == null || maximum_size == null) {
+ throw new NullPointerException("current_size or maximum_size is null");
+ }
+ if (current_size.length != rank || maximum_size.length != rank) {
+ throw new HDF5FunctionArgumentException("current_size or maximum_size length is invalid");
+ }
+
+ long id = H5I_INVALID_HID();
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment cs_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, current_size);
+ MemorySegment maxs_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, maximum_size);
+ if ((id = org.hdfgroup.javahdf5.hdf5_h.H5Sset_extent_simple(space_id, rank, cs_segment,
+ maxs_segment)) < 0)
+ h5libraryError();
+ }
+ return id;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sset_extent_simple sets or resets the size of an existing dataspace.
+ *
+ * @param space_id
+ * Dataspace identifier.
+ * @param rank
+ * Rank, or dimensionality, of the dataspace.
+ * @param current_size
+ * Array containing current size of dataspace.
+ * @param maximum_size
+ * Array containing maximum size of dataspace.
+ *
+ * @return a dataspace identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Sset_extent_simple(long space_id, int rank, byte[] current_size, byte[] maximum_size)
+ throws HDF5LibraryException, NullPointerException
+ {
+ ByteBuffer csbb = ByteBuffer.wrap(current_size);
+ long[] lacs = (csbb.asLongBuffer()).array();
+ ByteBuffer maxsbb = ByteBuffer.wrap(maximum_size);
+ long[] lamaxs = (maxsbb.asLongBuffer()).array();
+
+ return hdf.hdf5lib.H5.H5Sset_extent_simple(space_id, rank, lacs, lamaxs);
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Scopy creates a new dataspace which is an exact copy of the dataspace identified by space_id.
+ *
+ * @param space_id
+ * Identifier of dataspace to copy.
+ * @return a dataspace identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Scopy(long space_id) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h_1.H5Scopy(space_id);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Scopy add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sclose releases a dataspace.
+ *
+ * @param space_id
+ * Identifier of dataspace to release.
+ *
+ * @return a non-negative value if successful
+ **/
+ public static int H5Sclose(long space_id)
+ {
+ log.trace("OPEN_IDS: H5Sclose remove {}", space_id);
+ OPEN_IDS.remove(space_id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Sclose(space_id);
+ if (retVal < 0)
+ retVal = 0;
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sencode converts a data space description into binary form in a buffer.
+ *
+ * @param obj_id
+ * IN: Identifier of the object to be encoded.
+ *
+ * @return the buffer for the object to be encoded into.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static byte[] H5Sencode(long obj_id) throws HDF5LibraryException
+ {
+ byte[] buf = null;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a buffer for the size
+ MemorySegment nalloc_segment = arena.allocate(ValueLayout.JAVA_LONG);
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Sencode2(obj_id, MemorySegment.NULL, nalloc_segment,
+ H5P_DEFAULT());
+ long buf_size = nalloc_segment.get(ValueLayout.JAVA_LONG, 0);
+
+ MemorySegment buf_segment = arena.allocate(buf_size);
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Sencode2(obj_id, buf_segment, nalloc_segment,
+ H5P_DEFAULT()) < 0)
+ h5libraryError();
+ buf = buf_segment.toArray(ValueLayout.JAVA_BYTE);
+ }
+ if (buf == null || buf.length == 0) {
+ throw new HDF5LibraryException("Failed to encode dataspace");
+ }
+ return buf;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sdecode reconstructs the HDF5 data space object and returns a new object handle for it.
+ *
+ * @param buf
+ * IN: Buffer for the data space object to be decoded.
+ *
+ * @return a new object handle
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * buf is null.
+ **/
+ public static long H5Sdecode(byte[] buf) throws HDF5LibraryException, NullPointerException
+ {
+ if (buf == null) {
+ throw new NullPointerException("buf is null");
+ }
+ long id = H5I_INVALID_HID();
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment buf_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, buf);
+ id = org.hdfgroup.javahdf5.hdf5_h_1.H5Sdecode(buf_segment);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Sdecode add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sget_simple_extent_npoints determines the number of elements in a dataspace.
+ *
+ * @param space_id
+ * ID of the dataspace object to query
+ *
+ * @return the number of elements in the dataspace if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Sget_simple_extent_npoints(long space_id) throws HDF5LibraryException
+ {
+ long npoints = org.hdfgroup.javahdf5.hdf5_h_1.H5Sget_simple_extent_npoints(space_id);
+ if (npoints < 0) {
+ h5libraryError();
+ }
+ return npoints;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sget_simple_extent_ndims determines the dimensionality (or rank) of a dataspace.
+ *
+ * @param space_id
+ * IN: Identifier of the dataspace
+ *
+ * @return the number of dimensions in the dataspace if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Sget_simple_extent_ndims(long space_id) throws HDF5LibraryException
+ {
+ int ndims = org.hdfgroup.javahdf5.hdf5_h_1.H5Sget_simple_extent_ndims(space_id);
+ if (ndims < 0) {
+ h5libraryError();
+ }
+ return ndims;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sget_simple_extent_dims returns the size and maximum sizes of each dimension of a dataspace through
+ * the dims and maxdims parameters.
+ *
+ * @param space_id
+ * IN: Identifier of the dataspace object to query
+ * @param dims
+ * OUT: Pointer to array to store the size of each dimension.
+ * @param maxdims
+ * OUT: Pointer to array to store the maximum size of each dimension.
+ *
+ * @return the number of dimensions in the dataspace if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * dims or maxdims is null.
+ **/
+ public static int H5Sget_simple_extent_dims(long space_id, long[] dims, long[] maxdims)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (dims != null && dims.length < 0) {
+ throw new NullPointerException("dims length is invalid");
+ }
+ if (maxdims != null && maxdims.length < 0) {
+ throw new NullPointerException("maxdims length is invalid");
+ }
+ int ndims = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment dims_segment = MemorySegment.NULL;
+ if (dims != null)
+ dims_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, dims);
+ MemorySegment maxdims_segment = MemorySegment.NULL;
+ if (maxdims != null)
+ maxdims_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, maxdims);
+ if ((ndims = org.hdfgroup.javahdf5.hdf5_h_1.H5Sget_simple_extent_dims(space_id, dims_segment,
+ maxdims_segment)) < 0)
+ h5libraryError();
+ }
+
+ return ndims;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sis_simple determines whether a dataspace is a simple dataspace.
+ *
+ * @param space_id
+ * Identifier of the dataspace to query
+ *
+ * @return true if is a simple dataspace
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5Sis_simple(long space_id) throws HDF5LibraryException
+ {
+ boolean isSimple = false;
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Sis_simple(space_id);
+ if (status < 0) {
+ h5libraryError();
+ }
+ isSimple = (status > 0);
+ return isSimple;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sget_simple_extent_type queries a dataspace to determine the current class of a dataspace.
+ *
+ * @param space_id
+ * Dataspace identifier.
+ *
+ * @return a dataspace class name if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Sget_simple_extent_type(long space_id) throws HDF5LibraryException
+ {
+ int type = org.hdfgroup.javahdf5.hdf5_h_1.H5Sget_simple_extent_type(space_id);
+ if (type < 0) {
+ h5libraryError();
+ }
+ return type;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sset_extent_none removes the extent from a dataspace and sets the type to H5S_NONE.
+ *
+ * @param space_id
+ * The identifier for the dataspace from which the extent is to be removed.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Sset_extent_none(long space_id) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5Sset_extent_none(space_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sextent_copy copies the extent from source_space_id to dest_space_id. This action may change the type
+ * of the dataspace.
+ *
+ * @param dest_space_id
+ * IN: The identifier for the dataspace from which the extent is copied.
+ * @param source_space_id
+ * IN: The identifier for the dataspace to which the extent is copied.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Sextent_copy(long dest_space_id, long source_space_id) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Sextent_copy(dest_space_id, source_space_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sextent_equal determines whether the dataspace extents of two dataspaces, space1_id and space2_id,
+ * are equal.
+ *
+ * @param first_space_id
+ * IN: The identifier for the first dataspace.
+ * @param second_space_id
+ * IN: The identifier for the seconddataspace.
+ *
+ * @return true if successful, else false
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5Sextent_equal(long first_space_id, long second_space_id)
+ throws HDF5LibraryException
+ {
+ boolean isEqual = false;
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Sextent_equal(first_space_id, second_space_id);
+ if (status < 0) {
+ h5libraryError();
+ }
+ isEqual = (status > 0);
+ return isEqual;
+ }
+
+ /***************** Operations on dataspace selections *****************/
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sget_select_type retrieves the type of selection currently defined for the dataspace space_id.
+ *
+ * @param space_id
+ * IN: Identifier of the dataspace object to query
+ *
+ * @return the dataspace selection type if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Sget_select_type(long space_id) throws HDF5LibraryException
+ {
+ int type = org.hdfgroup.javahdf5.hdf5_h_1.H5Sget_select_type(space_id);
+ if (type < 0) {
+ h5libraryError();
+ }
+ return type;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sget_select_npoints determines the number of elements in the current selection of a dataspace.
+ *
+ * @param space_id
+ * IN: Identifier of the dataspace object to query
+ *
+ * @return the number of elements in the selection if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Sget_select_npoints(long space_id) throws HDF5LibraryException
+ {
+ long npoints = org.hdfgroup.javahdf5.hdf5_h_1.H5Sget_select_npoints(space_id);
+ if (npoints < 0) {
+ h5libraryError();
+ }
+ return npoints;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sselect_copy copies all the selection information (including offset) from the source
+ * dataspace to the destination dataspace.
+ *
+ * @param dst_id
+ * ID of the destination dataspace
+ * @param src_id
+ * ID of the source dataspace
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Sselect_copy(long dst_id, long src_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Sselect_copy(dst_id, src_id) < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sselect_valid verifies that the selection for the dataspace.
+ *
+ * @param space_id
+ * The identifier for the dataspace in which the selection is being reset.
+ *
+ * @return true if the selection is contained within the extent and FALSE if it is not or is an error.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5Sselect_valid(long space_id) throws HDF5LibraryException
+ {
+ boolean isValid = false;
+ int status = org.hdfgroup.javahdf5.hdf5_h.H5Sselect_valid(space_id);
+ if (status < 0) {
+ h5libraryError();
+ }
+ isValid = (status > 0);
+ return isValid;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sselect_adjust moves a selection by subtracting an offset from it.
+ *
+ * @param space_id
+ * ID of dataspace to adjust
+ * @param offset
+ * Offset to subtract
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * offset is null.
+ **/
+ public static void H5Sselect_adjust(long space_id, long[][] offset)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (offset == null) {
+ throw new NullPointerException("offset is null");
+ }
+ if (offset.length == 0 || offset[0].length == 0) {
+ throw new HDF5FunctionArgumentException("offset array is empty");
+ }
+ int rank = -1;
+ if ((rank = H5Sget_simple_extent_ndims(space_id)) < 0)
+ h5libraryError();
+ if (offset.length != rank)
+ throw new HDF5FunctionArgumentException("offset array rank does not match rank");
+
+ try (Arena arena = Arena.ofConfined()) {
+ SequenceLayout offset_layout = MemoryLayout.sequenceLayout(
+ offset.length, MemoryLayout.sequenceLayout(offset[0].length, ValueLayout.JAVA_LONG));
+ MemorySegment offset_segment = arena.allocate(offset_layout);
+ for (int i = 0; i < offset.length; i++) {
+ MemorySegment row_segment =
+ offset_segment.asSlice(i * offset[0].length * Long.BYTES, offset[0].length * Long.BYTES);
+ for (int j = 0; j < offset[i].length; j++) {
+ row_segment.set(ValueLayout.JAVA_LONG, j * Long.BYTES, offset[i][j]);
+ }
+ }
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Sselect_adjust(space_id, offset_segment) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sget_select_bounds retrieves the coordinates of the bounding box containing the current selection and
+ * places them into user-supplied buffers. The start and end buffers must be large enough to hold the
+ * dataspace rank number of coordinates.
+ *
+ * @param space_id
+ * Identifier of dataspace to release.
+ * @param start
+ * coordinates of lowest corner of bounding box.
+ * @param end
+ * coordinates of highest corner of bounding box.
+ *
+ * @return a non-negative value if successful,with start and end initialized.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * start or end is null.
+ **/
+ public static int H5Sget_select_bounds(long space_id, long[] start, long[] end)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (start == null || end == null) {
+ throw new NullPointerException("Negative ID or null array");
+ }
+ if (start.length != end.length) {
+ throw new HDF5FunctionArgumentException("start and end length is invalid");
+ }
+
+ int status = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment start_segment = arena.allocate(ValueLayout.JAVA_LONG, start.length);
+ MemorySegment end_segment = arena.allocate(ValueLayout.JAVA_LONG, end.length);
+ if ((status = org.hdfgroup.javahdf5.hdf5_h_1.H5Sget_select_bounds(space_id, start_segment,
+ end_segment)) < 0)
+ h5libraryError();
+ MemorySegment.copy(start_segment, ValueLayout.JAVA_LONG, 0L, start, 0, start.length);
+ MemorySegment.copy(end_segment, ValueLayout.JAVA_LONG, 0L, end, 0, end.length);
+ }
+ return status;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sselect_shape_same checks to see if the current selection in the dataspaces are the same
+ * dimensionality and shape.
+ * This is primarily used for reading the entire selection in one swoop.
+ *
+ * @param space1_id
+ * ID of 1st Dataspace pointer to compare
+ * @param space2_id
+ * ID of 2nd Dataspace pointer to compare
+ *
+ * @return true if the selection is the same dimensionality and shape;
+ * false otherwise
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5Sselect_shape_same(long space1_id, long space2_id) throws HDF5LibraryException
+ {
+ boolean isSame = false;
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Sselect_shape_same(space1_id, space2_id);
+ if (status < 0) {
+ h5libraryError();
+ }
+ isSame = (status > 0);
+ return isSame;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sselect_intersect_block checks to see if the current selection in the
+ * dataspace intersects with the block given.
+ *
+ * @param space_id
+ * ID of dataspace pointer to compare
+ * @param start
+ * Starting coordinate of block
+ * @param end
+ * Opposite ("ending") coordinate of block
+ *
+ * @return a TRUE if the current selection in the dataspace intersects with the block given
+ * FALSE otherwise
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * offset is null.
+ **/
+ public static boolean H5Sselect_intersect_block(long space_id, long[] start, long[] end)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (start == null || end == null) {
+ throw new NullPointerException("start or end is null");
+ }
+ if (start.length != end.length) {
+ throw new HDF5FunctionArgumentException("start and end length is invalid");
+ }
+
+ boolean isIntersect = false;
+ int status = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment start_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, start);
+ MemorySegment end_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, end);
+ if ((status = org.hdfgroup.javahdf5.hdf5_h_1.H5Sselect_intersect_block(space_id, start_segment,
+ end_segment)) < 0)
+ h5libraryError();
+ }
+ isIntersect = (status > 0);
+ return isIntersect;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Soffset_simple sets the offset of a simple dataspace space_id.
+ *
+ * @param space_id
+ * IN: The identifier for the dataspace object to reset.
+ * @param offset
+ * IN: The offset at which to position the selection.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * offset array is null.
+ **/
+ public static int H5Soffset_simple(long space_id, byte[] offset)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (offset == null) {
+ throw new NullPointerException("offset array is null");
+ }
+ if (offset.length == 0) {
+ throw new HDF5FunctionArgumentException("offset array is empty");
+ }
+ int status = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment offset_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, offset);
+ if ((status = org.hdfgroup.javahdf5.hdf5_h_1.H5Soffset_simple(space_id, offset_segment)) < 0)
+ h5libraryError();
+ }
+
+ return status;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Soffset_simple sets the offset of a simple dataspace space_id.
+ *
+ * @param space_id
+ * IN: The identifier for the dataspace object to reset.
+ * @param offset
+ * IN: The offset at which to position the selection.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * offset array is null.
+ **/
+ public static int H5Soffset_simple(long space_id, long[] offset)
+ throws HDF5Exception, NullPointerException
+ {
+ if (offset == null)
+ throw new NullPointerException("offset array is null");
+
+ HDFArray theArray = new HDFArray(offset);
+ byte[] theArr = theArray.byteify();
+
+ int retVal = H5Soffset_simple(space_id, theArr);
+
+ theArr = null;
+ theArray = null;
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sselect_all selects the entire extent of the dataspace space_id.
+ *
+ * @param space_id
+ * IN: The identifier of the dataspace to be selected.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Sselect_all(long space_id) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Sselect_all(space_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sselect_none resets the selection region for the dataspace space_id to include no elements.
+ *
+ * @param space_id
+ * IN: The identifier of the dataspace to be reset.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Sselect_none(long space_id) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Sselect_none(space_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sselect_elements selects array elements to be included in the selection for the space_id dataspace.
+ *
+ * @param space_id
+ * Identifier of the dataspace.
+ * @param op
+ * operator specifying how the new selection is combined.
+ * @param num_elements
+ * Number of elements to be selected.
+ * @param coord
+ * A 2-dimensional array specifying the coordinates of the elements.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ private static int H5Sselect_elements(long space_id, int op, int num_elements, byte[] coord)
+ throws HDF5LibraryException, NullPointerException
+ {
+ int retVal = -1;
+
+ if (coord == null) {
+ throw new NullPointerException("coord array is null");
+ }
+ if (coord.length == 0) {
+ throw new HDF5FunctionArgumentException("coord array is empty");
+ }
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment coord_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, coord);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Sselect_elements(space_id, op, (long)num_elements,
+ coord_segment)) < 0)
+ h5libraryError();
+ }
+
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sselect_elements selects array elements to be included in the selection for the space_id dataspace.
+ *
+ * @param space_id
+ * Identifier of the dataspace.
+ * @param op
+ * operator specifying how the new selection is combined.
+ * @param num_elements
+ * Number of elements to be selected.
+ * @param coord2D
+ * A 2-dimensional array specifying the coordinates of the elements.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5Exception
+ * Error in the data conversion
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * cord array is
+ **/
+ public static int H5Sselect_elements(long space_id, int op, int num_elements, long[][] coord2D)
+ throws HDF5Exception, HDF5LibraryException, NullPointerException
+ {
+ if (coord2D == null)
+ throw new NullPointerException("coord2D array is null");
+ if (coord2D.length != num_elements)
+ throw new HDF5FunctionArgumentException("coord2D length does not match num_elements");
+ int rows = coord2D.length;
+ int cols = coord2D[0].length;
+ int totalLongs = rows * cols;
+ // Create a 1D long array to hold the flattened data.
+ long[] flattenedArray = new long[totalLongs];
+ int index = 0;
+ for (int i = 0; i < rows; i++) {
+ System.arraycopy(coord2D[i], 0, flattenedArray, index, cols);
+ index += cols;
+ }
+ ByteBuffer byteBuffer = ByteBuffer.allocate(flattenedArray.length * Long.BYTES);
+ byteBuffer.order(ByteOrder.nativeOrder());
+
+ LongBuffer longBuffer = byteBuffer.asLongBuffer();
+ longBuffer.put(flattenedArray);
+
+ byte[] coord = byteBuffer.array();
+
+ int retVal = H5Sselect_elements(space_id, op, num_elements, coord);
+ coord = null;
+
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sget_select_elem_npoints returns the number of element points in the current dataspace selection.
+ *
+ * @param spaceid
+ * Identifier of dataspace to release.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Sget_select_elem_npoints(long spaceid) throws HDF5LibraryException
+ {
+ if (spaceid < 0) {
+ throw new HDF5FunctionArgumentException("Negative ID");
+ }
+ long npoints = org.hdfgroup.javahdf5.hdf5_h_1.H5Sget_select_elem_npoints(spaceid);
+ if (npoints < 0) {
+ h5libraryError();
+ }
+ return npoints;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sget_select_elem_pointlist returns an array of of element points in the current dataspace selection.
+ * The point coordinates have the same dimensionality (rank) as the dataspace they are located within, one
+ * coordinate per point.
+ *
+ * @param spaceid
+ * Identifier of dataspace to release.
+ * @param startpoint
+ * first point to retrieve
+ * @param numpoints
+ * number of points to retrieve
+ * @param buf
+ * returns points startblock to startblock+num-1, each points is rank longs.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * buf is null.
+ **/
+ public static int H5Sget_select_elem_pointlist(long spaceid, long startpoint, long numpoints, long[] buf)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (buf == null) {
+ throw new NullPointerException("buf is null");
+ }
+ if (spaceid < 0) {
+ throw new HDF5FunctionArgumentException("Negative ID");
+ }
+ if (buf.length == 0) {
+ throw new HDF5FunctionArgumentException("buf array is empty");
+ }
+ int rank = -1;
+ if ((rank = H5Sget_simple_extent_ndims(spaceid)) < 0)
+ h5libraryError();
+
+ if (rank == 0)
+ rank = 1;
+ if (buf.length < (numpoints * rank))
+ throw new HDF5FunctionArgumentException("buffer input array too small");
+ int status = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment buf_segment = arena.allocate(ValueLayout.JAVA_LONG, numpoints * rank);
+ if ((status = org.hdfgroup.javahdf5.hdf5_h_1.H5Sget_select_elem_pointlist(
+ spaceid, startpoint, numpoints, buf_segment)) < 0)
+ h5libraryError();
+ MemorySegment.copy(buf_segment, ValueLayout.JAVA_LONG, 0L, buf, 0, (int)numpoints * rank);
+ }
+ return status;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sselect_hyperslab selects a hyperslab region to add to the current selected region for the dataspace
+ * specified by space_id. The start, stride, count, and block arrays must be the same size as the rank of
+ * the dataspace.
+ *
+ * @param space_id
+ * IN: Identifier of dataspace selection to modify
+ * @param op
+ * IN: Operation to perform on current selection.
+ * @param start
+ * IN: Offset of start of hyperslab
+ * @param stride
+ * IN: Hyperslab stride.
+ * @param count
+ * IN: Number of blocks included in hyperslab.
+ * @param block
+ * IN: Size of block in hyperslab.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an input array is null.
+ * @exception HDF5FunctionArgumentException
+ * an input array is invalid.
+ **/
+ public static int H5Sselect_hyperslab(long space_id, int op, byte[] start, byte[] stride, byte[] count,
+ byte[] block)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ ByteBuffer startbb = ByteBuffer.wrap(start);
+ long[] lastart = (startbb.asLongBuffer()).array();
+ ByteBuffer stridebb = ByteBuffer.wrap(stride);
+ long[] lastride = (stridebb.asLongBuffer()).array();
+ ByteBuffer countbb = ByteBuffer.wrap(count);
+ long[] lacount = (countbb.asLongBuffer()).array();
+ ByteBuffer blockbb = ByteBuffer.wrap(block);
+ long[] lablock = (blockbb.asLongBuffer()).array();
+
+ return H5Sselect_hyperslab(space_id, op, lastart, lastride, lacount, lablock);
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sselect_hyperslab selects a hyperslab region to add to the current selected region for the dataspace
+ * specified by space_id. The start, stride, count, and block arrays must be the same size as the rank of
+ * the dataspace.
+ *
+ * @param space_id
+ * IN: Identifier of dataspace selection to modify
+ * @param op
+ * IN: Operation to perform on current selection.
+ * @param start
+ * IN: Offset of start of hyperslab
+ * @param stride
+ * IN: Hyperslab stride.
+ * @param count
+ * IN: Number of blocks included in hyperslab.
+ * @param block
+ * IN: Size of block in hyperslab.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an input array is null.
+ * @exception HDF5FunctionArgumentException
+ * an input array is invalid.
+ **/
+ public static int H5Sselect_hyperslab(long space_id, int op, long[] start, long[] stride, long[] count,
+ long[] block)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (start == null || count == null) {
+ throw new NullPointerException("start, stride, count, or block is null");
+ }
+ if (start.length != count.length) {
+ throw new HDF5FunctionArgumentException("start, stride, count, and block length is invalid");
+ }
+
+ int status = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment start_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, start);
+ MemorySegment count_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, count);
+ MemorySegment stride_segment = MemorySegment.NULL;
+ if (stride != null) {
+ stride_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, stride);
+ }
+ MemorySegment block_segment = MemorySegment.NULL;
+ if (block != null) {
+ block_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, block);
+ }
+ if ((status = org.hdfgroup.javahdf5.hdf5_h_1.H5Sselect_hyperslab(
+ space_id, op, start_segment, stride_segment, count_segment, block_segment)) < 0)
+ h5libraryError();
+ }
+ return status;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Scombine_hyperslab combines a hyperslab selection with the current selection for a dataspace,
+ * creating a new dataspace to return the generated selection.
+ * If the current selection is not a hyperslab, it is freed and the hyperslab
+ * parameters passed in are combined with the H5S_SEL_ALL hyperslab (ie. a
+ * selection composing the entire current extent). If STRIDE or BLOCK is
+ * NULL, they are assumed to be set to all '1'.
+ *
+ * @param space_id
+ * IN: Dataspace ID of selection to use
+ * @param op
+ * IN: Operation to perform on current selection.
+ * @param start
+ * IN: Offset of start of hyperslab
+ * @param stride
+ * IN: Hyperslab stride.
+ * @param count
+ * IN: Number of blocks included in hyperslab.
+ * @param block
+ * IN: Size of block in hyperslab.
+ *
+ * @return a dataspace ID on success / H5I_INVALID_HID on failure
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an input array is null.
+ * @exception HDF5FunctionArgumentException
+ * an input array is invalid.
+ **/
+ public static long H5Scombine_hyperslab(long space_id, int op, long[] start, long[] stride, long[] count,
+ long[] block)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (start == null || count == null) {
+ throw new NullPointerException("start or count is null");
+ }
+ if (start.length != count.length) {
+ throw new HDF5FunctionArgumentException("startand count length is invalid");
+ }
+ if (stride != null && start.length != stride.length)
+ throw new HDF5FunctionArgumentException("start and stride length is invalid");
+ if (block != null && start.length != block.length)
+ throw new HDF5FunctionArgumentException("start and block length is invalid");
+
+ long retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment start_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, start);
+ MemorySegment count_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, count);
+ MemorySegment stride_segment = MemorySegment.NULL;
+ if (stride != null) {
+ stride_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, stride);
+ }
+ MemorySegment block_segment = MemorySegment.NULL;
+ if (block != null) {
+ block_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, block);
+ }
+ retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Scombine_hyperslab(
+ space_id, op, start_segment, stride_segment, count_segment, block_segment);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Smodify_select refine an existing hyperslab selection with an operation, using a second
+ * hyperslab. The first selection is modified to contain the result of
+ * space1 operated on by space2.
+ *
+ * @param space1_id
+ * ID of the destination dataspace
+ * @param op
+ * Operation to perform on current selection.
+ * @param space2_id
+ * ID of the source dataspace
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Smodify_select(long space1_id, int op, long space2_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Smodify_select(space1_id, op, space2_id) < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Scombine_select combines two existing hyperslab selections with an operation, returning
+ * a new dataspace with the resulting selection. The dataspace extent from
+ * space1 is copied for the dataspace extent of the newly created dataspace.
+ *
+ * @param space1_id
+ * ID of the first dataspace
+ * @param op
+ * Operation to perform on current selection.
+ * @param space2_id
+ * ID of the second dataspace
+ *
+ * @return a dataspace ID on success / H5I_INVALID_HID on failure
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Scombine_select(long space1_id, int op, long space2_id) throws HDF5LibraryException
+ {
+ long retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Scombine_select(space1_id, op, space2_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sis_regular_hyperslab retrieves a regular hyperslab selection for the dataspace specified
+ * by space_id.
+ *
+ * @param space_id
+ * IN: Identifier of dataspace selection to query
+ *
+ * @return a TRUE/FALSE for hyperslab selection if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5Sis_regular_hyperslab(long space_id) throws HDF5LibraryException
+ {
+ boolean isRegular = false;
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Sis_regular_hyperslab(space_id);
+ if (status < 0) {
+ h5libraryError();
+ }
+ isRegular = (status > 0);
+ return isRegular;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sget_regular_hyperslab determines if a hyperslab selection is regular for the dataspace specified
+ * by space_id. The start, stride, count, and block arrays must be the same size as the rank of the
+ * dataspace.
+ *
+ * @param space_id
+ * IN: Identifier of dataspace selection to modify
+ * @param start
+ * OUT: Offset of start of hyperslab
+ * @param stride
+ * OUT: Hyperslab stride.
+ * @param count
+ * OUT: Number of blocks included in hyperslab.
+ * @param block
+ * OUT: Size of block in hyperslab.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * an output array is null.
+ * @exception HDF5FunctionArgumentException
+ * an output array is invalid.
+ **/
+ public static void H5Sget_regular_hyperslab(long space_id, long[] start, long[] stride, long[] count,
+ long[] block)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ int rank = -1;
+ if ((rank = H5Sget_simple_extent_ndims(space_id)) < 0)
+ h5libraryError();
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment start_segment = MemorySegment.NULL;
+ if (start != null)
+ start_segment = arena.allocate(ValueLayout.JAVA_LONG, rank);
+ MemorySegment count_segment = MemorySegment.NULL;
+ if (count != null)
+ count_segment = arena.allocate(ValueLayout.JAVA_LONG, rank);
+ MemorySegment stride_segment = MemorySegment.NULL;
+ if (stride != null)
+ stride_segment = arena.allocate(ValueLayout.JAVA_LONG, rank);
+ MemorySegment block_segment = MemorySegment.NULL;
+ if (block != null)
+ block_segment = arena.allocate(ValueLayout.JAVA_LONG, rank);
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Sget_regular_hyperslab(
+ space_id, start_segment, stride_segment, count_segment, block_segment) < 0)
+ h5libraryError();
+ MemorySegment.copy(start_segment, ValueLayout.JAVA_LONG, 0L, start, 0, start.length);
+ MemorySegment.copy(count_segment, ValueLayout.JAVA_LONG, 0L, count, 0, count.length);
+ MemorySegment.copy(stride_segment, ValueLayout.JAVA_LONG, 0L, stride, 0, stride.length);
+ MemorySegment.copy(block_segment, ValueLayout.JAVA_LONG, 0L, block, 0, block.length);
+ }
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sget_select_hyper_nblocks returns the number of hyperslab blocks in the current dataspace selection.
+ *
+ * @param spaceid
+ * Identifier of dataspace to release.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Sget_select_hyper_nblocks(long spaceid) throws HDF5LibraryException
+ {
+ if (spaceid < 0) {
+ throw new HDF5FunctionArgumentException("Negative ID");
+ }
+ long nblocks = org.hdfgroup.javahdf5.hdf5_h_1.H5Sget_select_hyper_nblocks(spaceid);
+ if (nblocks < 0) {
+ h5libraryError();
+ }
+ return nblocks;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sget_select_hyper_blocklist returns an array of hyperslab blocks. The block coordinates have the same
+ * dimensionality (rank) as the dataspace they are located within. The list of blocks is formatted as
+ * follows:
+ *
+ *
+ * <"start" coordinate>, immediately followed by
+ * <"opposite" corner coordinate>, followed by
+ * the next "start" and "opposite" coordinates,
+ * etc.
+ * until all of the selected blocks have been listed.
+ *
+ *
+ * @param spaceid
+ * Identifier of dataspace to release.
+ * @param startblock
+ * first block to retrieve
+ * @param numblocks
+ * number of blocks to retrieve
+ * @param buf
+ * returns blocks startblock to startblock+num-1, each block is rank * 2 (corners)
+ * longs.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * buf is null.
+ **/
+ public static int H5Sget_select_hyper_blocklist(long spaceid, long startblock, long numblocks, long[] buf)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (buf == null) {
+ throw new NullPointerException("buf is null");
+ }
+ if (spaceid < 0) {
+ throw new HDF5FunctionArgumentException("Negative ID or null buf");
+ }
+ if (buf.length == 0) {
+ throw new HDF5FunctionArgumentException("buf array is empty");
+ }
+ int rank = -1;
+ if ((rank = H5Sget_simple_extent_ndims(spaceid)) < 0)
+ h5libraryError();
+ if (rank == 0)
+ rank = 1;
+ if (buf.length < (numblocks * rank))
+ throw new HDF5FunctionArgumentException("buffer input array too small");
+
+ int status = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment buf_segment = arena.allocate(ValueLayout.JAVA_LONG, numblocks * rank * 2);
+ if ((status = org.hdfgroup.javahdf5.hdf5_h_1.H5Sget_select_hyper_blocklist(
+ spaceid, startblock, numblocks, buf_segment)) < 0)
+ h5libraryError();
+ MemorySegment.copy(buf_segment, ValueLayout.JAVA_LONG, 0L, buf, 0, (int)numblocks * rank * 2);
+ }
+ return status;
+ }
+
+ /**
+ * @ingroup JH5S
+ *
+ * H5Sselect_project_intersection projects the intersection of the selections of src_space_id and
+ * src_intersect_space_id within the selection of src_space_id as a
+ * selection within the selection of dst_space_id.
+ *
+ * @param src_space_id
+ * Selection that is mapped to dst_space_id, and intersected with src_intersect_space_id
+ * @param dst_space_id
+ * Selection that is mapped to src_space_id
+ * @param src_intersect_space_id
+ * Selection whose intersection with src_space_id is projected to dst_space_id to obtain the
+ * result
+ *
+ * @return a dataspace with a selection equal to the intersection of
+ * src_intersect_space_id and src_space_id projected from src_space to dst_space on success
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Sselect_project_intersection(long src_space_id, long dst_space_id,
+ long src_intersect_space_id) throws HDF5LibraryException
+ {
+ long retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Sselect_project_intersection(
+ src_space_id, dst_space_id, src_intersect_space_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ // /////// unimplemented ////////
+ ///// Operations on dataspace selections /////
+
+ //
+ ///// Operations on dataspace selection iterators /////
+ // public static H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned
+ // flags); public static H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq,
+ // size_t maxbytes, size_t *nseq,
+ // size_t *nbytes, hsize_t *off, size_t *len);
+ // public static H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id);
+ // public static H5Ssel_iter_close(hid_t sel_iter_id);
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5T: Datatype Interface Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+ /**
+ * @defgroup JH5T Java Datatype (H5T) Interface
+ *
+ * @see H5T, C-API
+ *
+ * @see @ref H5T_UG, User Guide
+ **/
+
+ /**
+ * @defgroup JH5T Java Datatype (H5T) Interface
+ **/
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tarray_create creates a new array datatype object.
+ *
+ * @param base_id
+ * IN: Datatype identifier for the array base datatype.
+ * @param ndims
+ * IN: Rank of the array.
+ * @param dim
+ * IN: Size of each array dimension.
+ *
+ * @return a valid datatype identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * dim is null.
+ **/
+ public static long H5Tarray_create(long base_id, int ndims, long[] dim)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (dim == null)
+ throw new NullPointerException("dim is null");
+ long id = HDF5Constants.H5I_INVALID_HID;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment dim_segment = arena.allocateFrom(ValueLayout.JAVA_LONG, dim);
+ id = org.hdfgroup.javahdf5.hdf5_h_1.H5Tarray_create2(base_id, ndims, dim_segment);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Tarray_create add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tclose releases a datatype.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to release.
+ *
+ * @return a non-negative value if successful
+ **/
+ public static int H5Tclose(long type_id)
+ {
+ log.trace("OPEN_IDS: H5Tclose remove {}", type_id);
+ OPEN_IDS.remove(type_id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(type_id);
+ if (retVal < 0)
+ retVal = 0;
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tcommit saves a transient datatype as an immutable named datatype in a file.
+ *
+ * @param loc_id
+ * IN: Location identifier.
+ * @param name
+ * IN: Name given to committed datatype.
+ * @param type_id
+ * IN: Identifier of datatype to be committed.
+ * @param lcpl_id
+ * IN: Link creation property list.
+ * @param tcpl_id
+ * IN: Datatype creation property list.
+ * @param tapl_id
+ * IN: Datatype access property list.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static void H5Tcommit(long loc_id, String name, long type_id, long lcpl_id, long tcpl_id,
+ long tapl_id) throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Tcommit2(loc_id, name_segment, type_id, lcpl_id, tcpl_id,
+ tapl_id) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tcommit_anon commits a transient datatype (not immutable) to a file, turning it into a named datatype
+ * with the specified creation and property lists.
+ *
+ * @param loc_id
+ * IN: Location identifier.
+ * @param type_id
+ * IN: Identifier of datatype to be committed.
+ * @param tcpl_id
+ * IN: Datatype creation property list.
+ * @param tapl_id
+ * IN: Datatype access property list.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Tcommit_anon(long loc_id, long type_id, long tcpl_id, long tapl_id)
+ throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Tcommit_anon(loc_id, type_id, tcpl_id, tapl_id) < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tcommitted queries a type to determine whether the type specified by the type identifier is a named
+ * type or a transient type.
+ *
+ * @param type_id
+ * IN: Identifier of datatype.
+ *
+ * @return true the datatype has been committed
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5Tcommitted(long type_id) throws HDF5LibraryException
+ {
+ boolean isCommitted = false;
+ int result = org.hdfgroup.javahdf5.hdf5_h_1.H5Tcommitted(type_id);
+ if (result < 0) {
+ h5libraryError();
+ }
+ else if (result > 0) {
+ isCommitted = true;
+ }
+ else {
+ isCommitted = false;
+ }
+ return isCommitted;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tcompiler_conv finds out whether the library's conversion function from type src_id to type dst_id is
+ * a compiler (hard) conversion.
+ *
+ * @param src_id
+ * IN: Identifier of source datatype.
+ * @param dst_id
+ * IN: Identifier of destination datatype.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5Tcompiler_conv(long src_id, long dst_id) throws HDF5LibraryException
+ {
+ boolean hardconvert = false;
+ int result = org.hdfgroup.javahdf5.hdf5_h.H5Tcompiler_conv(src_id, dst_id);
+ if (result < 0) {
+ h5libraryError();
+ }
+ else if (result > 0) {
+ hardconvert = true;
+ }
+ else {
+ hardconvert = false;
+ }
+ return hardconvert;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tcomplex_create creates a new complex number datatype object.
+ *
+ * @param base_id
+ * IN: Datatype identifier for the complex number base datatype.
+ * Must be a floating-point datatype.
+ *
+ * @return a valid datatype identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Tcomplex_create(long base_id) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h_1.H5Tcomplex_create(base_id);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Tcomplex_create add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tconvert converts nelmts elements from the type specified by the src_id identifier to type dst_id.
+ *
+ * @param src_id
+ * IN: Identifier of source datatype.
+ * @param dst_id
+ * IN: Identifier of destination datatype.
+ * @param nelmts
+ * IN: Size of array buf.
+ * @param buf
+ * IN: Array containing pre- and post-conversion values.
+ * @param background
+ * IN: Optional background buffer.
+ * @param plist_id
+ * IN: Dataset transfer property list identifier.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * buf is null.
+ **/
+ public static void H5Tconvert(long src_id, long dst_id, long nelmts, byte[] buf, byte[] background,
+ long plist_id) throws HDF5LibraryException, NullPointerException
+ {
+ if (buf == null) {
+ throw new NullPointerException("buf is null");
+ }
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment buf_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, buf);
+ MemorySegment background_segment = MemorySegment.NULL;
+ if (background != null)
+ background_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, background);
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Tconvert(src_id, dst_id, nelmts, buf_segment,
+ background_segment, plist_id) < 0)
+ h5libraryError();
+ for (int i = 0; i < buf.length; i++) {
+ buf[i] = buf_segment.get(ValueLayout.JAVA_BYTE, i);
+ }
+ }
+ }
+
+ // int H5Tconvert(int src_id, int dst_id, long nelmts, Pointer buf, Pointer background, int plist_id);
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tcopy copies an existing datatype. The returned type is always transient and unlocked.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to copy. Can be a datatype identifier, a predefined datatype
+ * (defined in H5Tpublic.h), or a dataset Identifier.
+ *
+ * @return a datatype identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Tcopy(long type_id) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h_1.H5Tcopy(type_id);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Tcopy add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tcreate creates a new datatype of the specified class with the specified number of bytes.
+ *
+ * @param tclass
+ * IN: Class of datatype to create.
+ * @param size
+ * IN: The number of bytes in the datatype to create.
+ *
+ * @return datatype identifier
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Tcreate(int tclass, long size) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h_1.H5Tcreate(tclass, size);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Tcreate add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tdecode reconstructs the HDF5 data type object and returns a new object handle for it.
+ *
+ * @param buf
+ * IN: Buffer for the data type object to be decoded.
+ *
+ * @param buf_size
+ * IN: Size of the buffer.
+ *
+ * @return a new object handle
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * buf is null.
+ **/
+ public static long H5Tdecode(byte[] buf, long buf_size) throws HDF5LibraryException, NullPointerException
+ {
+ long id = H5I_INVALID_HID();
+ if (buf == null) {
+ throw new NullPointerException("buf is null");
+ }
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment buf_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, buf);
+ id = org.hdfgroup.javahdf5.hdf5_h_1.H5Tdecode2(buf_segment, buf_size);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Tdecode add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tdetect_class determines whether the datatype specified in dtype_id contains any datatypes of the
+ * datatype class specified in dtype_class.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ * @param cls
+ * IN: Identifier of datatype cls.
+ *
+ * @return true if the datatype specified in dtype_id contains any datatypes of the datatype class
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5Tdetect_class(long type_id, int cls) throws HDF5LibraryException
+ {
+ boolean isClass = false;
+ int result = org.hdfgroup.javahdf5.hdf5_h_1.H5Tdetect_class(type_id, cls);
+ if (result < 0) {
+ h5libraryError();
+ }
+ else if (result > 0) {
+ isClass = true;
+ }
+ else {
+ isClass = false;
+ }
+ return isClass;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tencode converts a data type description into binary form in a buffer.
+ *
+ * @param obj_id
+ * IN: Identifier of the object to be encoded.
+ * @param buf
+ * OUT: Buffer for the object to be encoded into. If the provided buffer is NULL, only the size
+ * of buffer needed is returned.
+ * @param nalloc
+ * IN: The size of the allocated buffer.
+ *
+ * @return the size needed for the allocated buffer.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * buf is null.
+ **/
+ public static int H5Tencode(long obj_id, byte[] buf, long nalloc)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (buf == null) {
+ throw new NullPointerException("buf is null");
+ }
+ int status = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a buffer for the size
+ MemorySegment nalloc_segment = arena.allocate(ValueLayout.JAVA_LONG);
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tencode(obj_id, MemorySegment.NULL, nalloc_segment);
+
+ MemorySegment buf_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, buf);
+ if ((status = org.hdfgroup.javahdf5.hdf5_h_1.H5Tencode(obj_id, buf_segment, nalloc_segment)) < 0)
+ h5libraryError();
+ nalloc = nalloc_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ return status;
+ }
+
+ // /*
+ // * @ingroup JH5T
+ // *
+ // * H5Tencode converts a data type description into binary form in a buffer.
+ // *
+ // * @param obj_id
+ // * IN: Identifier of the object to be encoded.
+ // *
+ // * @return the buffer for the object to be encoded into.
+ // *
+ // * @exception HDF5LibraryException
+ // * Error from the HDF5 Library.
+ // **/
+ // public static byte[] H5Tencode(int obj_id)
+ // throws HDF5LibraryException {}
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tenum_create creates a new enumeration datatype based on the specified base datatype, parent_id,
+ * which must be an integer type.
+ *
+ * @param base_id
+ * IN: Identifier of the parent datatype to release.
+ *
+ * @return the datatype identifier for the new enumeration datatype
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Tenum_create(long base_id) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h_1.H5Tenum_create(base_id);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Tenum_create add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tenum_insert inserts a new enumeration datatype member into an enumeration datatype.
+ *
+ * @param type
+ * IN: Identifier of datatype.
+ * @param name
+ * IN: The name of the member
+ * @param value
+ * IN: The value of the member, data of the correct type
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static void H5Tenum_insert(long type, String name, byte[] value)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ if (value == null) {
+ throw new NullPointerException("value is null");
+ }
+ if (type < 0) {
+ throw new HDF5FunctionArgumentException("Negative type id value");
+ }
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ MemorySegment value_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, value);
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Tenum_insert(type, name_segment, value_segment) < 0)
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tenum_insert inserts a new enumeration datatype member into an enumeration datatype.
+ *
+ * @param type
+ * IN: Identifier of datatype.
+ * @param name
+ * IN: The name of the member
+ * @param value
+ * IN: The value of the member, data of the correct type
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Tenum_insert(long type, String name, int[] value)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (value == null) {
+ throw new NullPointerException("value is null");
+ }
+ return hdf.hdf5lib.H5.H5Tenum_insert_int(type, name, value);
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tenum_insert inserts a new enumeration datatype member into an enumeration datatype.
+ *
+ * @param type
+ * IN: Identifier of datatype.
+ * @param name
+ * IN: The name of the member
+ * @param value
+ * IN: The value of the member, data of the correct type
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Tenum_insert(long type, String name, int value)
+ throws HDF5LibraryException, NullPointerException
+ {
+ int[] val = {value};
+ return hdf.hdf5lib.H5.H5Tenum_insert_int(type, name, val);
+ }
+
+ private static int H5Tenum_insert_int(long type, String name, int[] intvalue)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ if (intvalue == null) {
+ throw new NullPointerException("intvalue is null");
+ }
+ if (type < 0) {
+ throw new HDF5FunctionArgumentException("Negative type id value");
+ }
+ byte[] byteArray = new byte[intvalue.length * 4]; // Each int is 4 bytes
+
+ for (int i = 0; i < intvalue.length; i++) {
+ int value = intvalue[i];
+ // Extract bytes using bit shifts and store them in the byte array
+ byteArray[i * 4] = (byte)((value >> 24) & 0xFF);
+ byteArray[i * 4 + 1] = (byte)((value >> 16) & 0xFF);
+ byteArray[i * 4 + 2] = (byte)((value >> 8) & 0xFF);
+ byteArray[i * 4 + 3] = (byte)(value & 0xFF);
+ }
+ hdf.hdf5lib.H5.H5Tenum_insert(type, name, byteArray);
+ return 0;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tenum_nameof finds the symbol name that corresponds to the specified value of the enumeration
+ * datatype type.
+ *
+ * @param type
+ * IN: Identifier of datatype.
+ * @param value
+ * IN: The value of the member, data of the correct
+ * @param size
+ * IN: The probable length of the name
+ *
+ * @return the symbol name.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * value is null.
+ **/
+ public static String H5Tenum_nameof(long type, byte[] value, long size)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (value == null) {
+ throw new NullPointerException("value is null");
+ }
+ if (type < 0) {
+ throw new HDF5FunctionArgumentException("Negative type id value");
+ }
+ String name = new String();
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocate(size + 1);
+ MemorySegment value_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, value);
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Tenum_nameof(type, value_segment, name_segment, size) < 0)
+ h5libraryError();
+ name = name_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return name;
+ }
+
+ // int H5Tenum_nameof(int type, Pointer value, Buffer name/* out */, long size);
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tenum_nameof finds the symbol name that corresponds to the specified value of the enumeration
+ * datatype type.
+ *
+ * @param type
+ * IN: Identifier of datatype.
+ * @param value
+ * IN: The value of the member, data of the correct
+ * @param name
+ * OUT: The name of the member
+ * @param size
+ * IN: The max length of the name
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Tenum_nameof(long type, int[] value, String[] name, int size)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (value == null) {
+ throw new NullPointerException("value is null");
+ }
+ if (type < 0) {
+ throw new HDF5FunctionArgumentException("Negative type id value");
+ }
+
+ int status = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocate(size + 1);
+ MemorySegment value_segment = arena.allocateFrom(ValueLayout.JAVA_INT, value);
+ if ((status = org.hdfgroup.javahdf5.hdf5_h_1.H5Tenum_nameof(type, value_segment, name_segment,
+ size)) < 0)
+ h5libraryError();
+ name[0] = name_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return status;
+ }
+
+ private static int H5Tenum_nameof_int(long type, int[] value, String[] name, int size)
+ throws HDF5LibraryException, NullPointerException
+ {
+ return hdf.hdf5lib.H5.H5Tenum_nameof(type, value, name, size);
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tenum_valueof finds the value that corresponds to the specified name of the enumeration datatype
+ * type.
+ *
+ * @param type
+ * IN: Identifier of datatype.
+ * @param name
+ * IN: The name of the member
+ * @param value
+ * OUT: The value of the member
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Tenum_valueof(long type, String name, byte[] value)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ if (value == null) {
+ throw new NullPointerException("value is null");
+ }
+ if (type < 0) {
+ throw new HDF5FunctionArgumentException("Negative type id value");
+ }
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ MemorySegment value_segment = arena.allocate(ValueLayout.JAVA_BYTE, value.length);
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Tenum_valueof(type, name_segment, value_segment) < 0)
+ h5libraryError();
+ MemorySegment.copy(value_segment, ValueLayout.JAVA_BYTE, 0L, value, 0, value.length);
+ }
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tenum_valueof finds the value that corresponds to the specified name of the enumeration datatype
+ * type.
+ *
+ * @param type
+ * IN: Identifier of datatype.
+ * @param name
+ * IN: The name of the member
+ * @param value
+ * OUT: The value of the member
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Tenum_valueof(long type, String name, int[] value)
+ throws HDF5LibraryException, NullPointerException
+ {
+ hdf.hdf5lib.H5.H5Tenum_valueof_int(type, name, value);
+ return 0;
+ }
+
+ private static int H5Tenum_valueof_int(long type, String name, int[] value)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ if (value == null) {
+ throw new NullPointerException("value is null");
+ }
+ if (type < 0) {
+ throw new HDF5FunctionArgumentException("Negative type id value");
+ }
+ byte[] byteArray = new byte[value.length * 4]; // Each int is 4 bytes
+
+ hdf.hdf5lib.H5.H5Tenum_valueof(type, name, byteArray);
+ ByteBuffer buffer = ByteBuffer.wrap(byteArray);
+
+ for (int i = 0; i < value.length; i++) {
+ value[i] = buffer.getInt();
+ }
+ return 0;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tequal determines whether two datatype identifiers refer to the same datatype.
+ *
+ * @param type_id1
+ * IN: Identifier of datatype to compare.
+ * @param type_id2
+ * IN: Identifier of datatype to compare.
+ *
+ * @return true if the datatype identifiers refer to the same datatype, else false.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5Tequal(long type_id1, long type_id2) throws HDF5LibraryException
+ {
+ if (type_id1 < 0 || type_id2 < 0) {
+ throw new HDF5FunctionArgumentException("Negative type id value");
+ }
+ boolean isEqual = false;
+ int result = org.hdfgroup.javahdf5.hdf5_h_1.H5Tequal(type_id1, type_id2);
+ if (result < 0) {
+ h5libraryError();
+ }
+ else if (result > 0) {
+ isEqual = true;
+ }
+ else {
+ isEqual = false;
+ }
+ return isEqual;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_array_dims returns the sizes of the dimensions of the specified array datatype object.
+ *
+ * @param type_id
+ * IN: Datatype identifier of array object.
+ * @param dims
+ * OUT: Sizes of array dimensions.
+ *
+ * @return the non-negative number of dimensions of the array type
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * dims is null.
+ **/
+ public static int H5Tget_array_dims(long type_id, long[] dims)
+ throws HDF5LibraryException, NullPointerException
+ {
+ return hdf.hdf5lib.H5.H5Tget_array_dims2(type_id, dims);
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_array_dims2 returns the sizes of the dimensions of the specified array datatype object.
+ *
+ * @param type_id
+ * IN: Datatype identifier of array object.
+ * @param dims
+ * OUT: Sizes of array dimensions.
+ *
+ * @return the non-negative number of dimensions of the array type
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * dims is null.
+ **/
+ public static int H5Tget_array_dims2(long type_id, long[] dims)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (dims == null) {
+ throw new NullPointerException("dims is null");
+ }
+ int ndims = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment dims_segment = arena.allocate(ValueLayout.JAVA_LONG, dims.length);
+ ndims = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_array_dims2(type_id, dims_segment);
+ if (ndims < 0)
+ h5libraryError();
+ for (int i = 0; i < ndims; i++)
+ dims[i] = dims_segment.get(ValueLayout.JAVA_LONG, i * Long.BYTES);
+ }
+ return ndims;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_array_ndims returns the rank, the number of dimensions, of an array datatype object.
+ *
+ * @param type_id
+ * IN: Datatype identifier of array object.
+ *
+ * @return the rank of the array
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tget_array_ndims(long type_id) throws HDF5LibraryException
+ {
+ int ndims = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_array_ndims(type_id);
+ if (ndims < 0) {
+ h5libraryError();
+ }
+ return ndims;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_class returns the datatype class identifier.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ *
+ * @return datatype class identifier if successful; otherwise H5T_NO_CLASS(-1).
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tget_class(long type_id) throws HDF5LibraryException
+ {
+ int class_id = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_class(type_id);
+ if (class_id < 0) {
+ h5libraryError();
+ }
+ return class_id;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_class_name returns the datatype class identifier.
+ *
+ * @param class_id
+ * IN: Identifier of class from H5Tget_class.
+ *
+ * @return class name if successful; otherwise H5T_NO_CLASS.
+ *
+ **/
+ public static String H5Tget_class_name(long class_id)
+ {
+ String retValue = null;
+ if (HDF5Constants.H5T_INTEGER == class_id) /* integer types */
+ retValue = "H5T_INTEGER";
+ else if (HDF5Constants.H5T_FLOAT == class_id) /* floating-point types */
+ retValue = "H5T_FLOAT";
+ else if (HDF5Constants.H5T_TIME == class_id) /* date and time types */
+ retValue = "H5T_TIME";
+ else if (HDF5Constants.H5T_STRING == class_id) /* character string types */
+ retValue = "H5T_STRING";
+ else if (HDF5Constants.H5T_BITFIELD == class_id) /* bit field types */
+ retValue = "H5T_BITFIELD";
+ else if (HDF5Constants.H5T_OPAQUE == class_id) /* opaque types */
+ retValue = "H5T_OPAQUE";
+ else if (HDF5Constants.H5T_COMPOUND == class_id) /* compound types */
+ retValue = "H5T_COMPOUND";
+ else if (HDF5Constants.H5T_REFERENCE == class_id) /* reference types */
+ retValue = "H5T_REFERENCE";
+ else if (HDF5Constants.H5T_ENUM == class_id) /* enumeration types */
+ retValue = "H5T_ENUM";
+ else if (HDF5Constants.H5T_VLEN == class_id) /* Variable-Length types */
+ retValue = "H5T_VLEN";
+ else if (HDF5Constants.H5T_ARRAY == class_id) /* Array types */
+ retValue = "H5T_ARRAY";
+ else if (HDF5Constants.H5T_COMPLEX == class_id) /* Complex number types */
+ retValue = "H5T_COMPLEX";
+ else
+ retValue = "H5T_NO_CLASS";
+
+ return retValue;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_create_plist returns a property list identifier for the datatype creation property list
+ * associated with the datatype specified by type_id.
+ *
+ * @param type_id
+ * IN: Identifier of datatype.
+ *
+ * @return a datatype property list identifier.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Tget_create_plist(long type_id) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_create_plist(type_id);
+ if (id > 0) {
+ log.trace("OPEN_IDS: _H5Tget_create_plist add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_cset retrieves the character set type of a string datatype.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ *
+ * @return a valid character set type if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tget_cset(long type_id) throws HDF5LibraryException
+ {
+ int cset = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_cset(type_id);
+ if (cset < 0) {
+ h5libraryError();
+ }
+ return cset;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tset_cset the character set to be used.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to modify.
+ * @param cset
+ * IN: Character set type.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tset_cset(long type_id, int cset) throws HDF5LibraryException
+ {
+ if (cset < 0) {
+ throw new HDF5FunctionArgumentException("Negative character set value");
+ }
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Tset_cset(type_id, cset);
+ if (status < 0) {
+ h5libraryError();
+ }
+ return status;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_ebias retrieves the exponent bias of a floating-point type.
+ *
+ * @param type_id
+ * Identifier of datatype to query.
+ *
+ * @return the bias if successful; otherwise 0.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tget_ebias(long type_id) throws HDF5LibraryException
+ {
+ int ebias = (int)hdf.hdf5lib.H5.H5Tget_ebias_long(type_id);
+ return ebias;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tset_ebias sets the exponent bias of a floating-point type.
+ *
+ * @param type_id
+ * Identifier of datatype to set.
+ * @param ebias
+ * Exponent bias value.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tset_ebias(long type_id, int ebias) throws HDF5LibraryException
+ {
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Tset_ebias(type_id, (long)ebias);
+ if (status < 0) {
+ h5libraryError();
+ }
+ return status;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_ebias retrieves the exponent bias of a floating-point type.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ *
+ * @return the bias
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Tget_ebias_long(long type_id) throws HDF5LibraryException
+ {
+ long ebias = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_ebias(type_id);
+ if (ebias == 0) {
+ h5libraryError();
+ }
+ return ebias;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tset_ebias sets the exponent bias of a floating-point type.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to set.
+ * @param ebias
+ * IN: Exponent bias value.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Tset_ebias(long type_id, long ebias) throws HDF5LibraryException
+ {
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Tset_ebias(type_id, ebias);
+ if (status < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_fields retrieves information about the locations of the various bit fields of a floating point
+ * datatype.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ * @param fields
+ * OUT: location of size and bit-position.
+ *
+ * fields[0] = spos OUT: location to return size of in bits.
+ * fields[1] = epos OUT: location to return exponent bit-position.
+ * fields[2] = esize OUT: location to return size of exponent in bits.
+ * fields[3] = mpos OUT: location to return mantissa bit-position.
+ * fields[4] = msize OUT: location to return size of mantissa in bits.
+ *
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * fields is null.
+ * @exception HDF5FunctionArgumentException
+ * fields array is invalid.
+ **/
+ public static void H5Tget_fields(long type_id, long[] fields)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (fields == null) {
+ throw new NullPointerException("fields is null");
+ }
+ if (fields.length < 5) {
+ throw new HDF5FunctionArgumentException("fields array is invalid");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment spos_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ MemorySegment epos_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ MemorySegment esize_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ MemorySegment mpos_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ MemorySegment msize_segment = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_fields(
+ type_id, spos_segment, epos_segment, esize_segment, mpos_segment, msize_segment);
+ if (status < 0)
+ h5libraryError();
+ fields[0] = spos_segment.get(ValueLayout.JAVA_LONG, 0);
+ fields[1] = epos_segment.get(ValueLayout.JAVA_LONG, 0);
+ fields[2] = esize_segment.get(ValueLayout.JAVA_LONG, 0);
+ fields[3] = mpos_segment.get(ValueLayout.JAVA_LONG, 0);
+ fields[4] = msize_segment.get(ValueLayout.JAVA_LONG, 0);
+ }
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_fields retrieves information about the locations of the various bit fields of a floating point
+ * datatype.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ * @param fields
+ * OUT: location of size and bit-position.
+ *
+ *
+ * fields[0] = spos OUT: location to return size of in bits.
+ * fields[1] = epos OUT: location to return exponent bit-position.
+ * fields[2] = esize OUT: location to return size of exponent in bits.
+ * fields[3] = mpos OUT: location to return mantissa bit-position.
+ * fields[4] = msize OUT: location to return size of mantissa in bits.
+ *
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * fields is null.
+ * @exception HDF5FunctionArgumentException
+ * fields array is invalid.
+ **/
+ public static int H5Tget_fields(long type_id, int[] fields)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ return H5Tget_fields_int(type_id, fields);
+ }
+
+ private static int H5Tget_fields_int(long type_id, int[] fields)
+ throws HDF5LibraryException, NullPointerException, HDF5FunctionArgumentException
+ {
+ if (fields == null) {
+ throw new NullPointerException("fields is null");
+ }
+ if (fields.length < 5) {
+ throw new HDF5FunctionArgumentException("fields array is invalid");
+ }
+
+ int status = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment spos_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ MemorySegment epos_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ MemorySegment esize_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ MemorySegment mpos_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ MemorySegment msize_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ status = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_fields(type_id, spos_segment, epos_segment,
+ esize_segment, mpos_segment, msize_segment);
+ if (status < 0)
+ h5libraryError();
+ fields[0] = spos_segment.get(ValueLayout.JAVA_INT, 0);
+ fields[1] = epos_segment.get(ValueLayout.JAVA_INT, 0);
+ fields[2] = esize_segment.get(ValueLayout.JAVA_INT, 0);
+ fields[3] = mpos_segment.get(ValueLayout.JAVA_INT, 0);
+ fields[4] = msize_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return status;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tset_fields sets the locations and sizes of the various floating point bit fields.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to set.
+ * @param spos
+ * IN: Size position.
+ * @param epos
+ * IN: Exponent bit position.
+ * @param esize
+ * IN: Size of exponent in bits.
+ * @param mpos
+ * IN: Mantissa bit position.
+ * @param msize
+ * IN: Size of mantissa in bits.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Tset_fields(long type_id, long spos, long epos, long esize, long mpos, long msize)
+ throws HDF5LibraryException
+ {
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Tset_fields(type_id, spos, epos, esize, mpos, msize);
+ if (status < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tset_fields sets the locations and sizes of the various floating point bit fields.
+ *
+ * @param type_id
+ * Identifier of datatype to set.
+ * @param spos
+ * Size position.
+ * @param epos
+ * Exponent bit position.
+ * @param esize
+ * Size of exponent in bits.
+ * @param mpos
+ * Mantissa bit position.
+ * @param msize
+ * Size of mantissa in bits.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tset_fields(long type_id, int spos, int epos, int esize, int mpos, int msize)
+ throws HDF5LibraryException
+ {
+ hdf.hdf5lib.H5.H5Tset_fields(type_id, (long)spos, (long)epos, (long)esize, (long)mpos, (long)msize);
+ return 0;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_inpad retrieves the internal padding type for unused bits in floating-point datatypes.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ *
+ * @return a valid padding type if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tget_inpad(long type_id) throws HDF5LibraryException
+ {
+ int inpad = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_inpad(type_id);
+ if (inpad < 0) {
+ h5libraryError();
+ }
+ return inpad;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * If any internal bits of a floating point type are unused (that is, those significant bits which are not
+ * part of the sign, exponent, or mantissa), then H5Tset_inpad will be filled according to the value of
+ * the padding value property inpad.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to modify.
+ * @param inpad
+ * IN: Padding type.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tset_inpad(long type_id, int inpad) throws HDF5LibraryException
+ {
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Tset_inpad(type_id, inpad);
+ if (status < 0) {
+ h5libraryError();
+ }
+ return status;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_member_class returns the class of datatype of the specified member.
+ *
+ * @param type_id
+ * IN: Datatype identifier of compound object.
+ * @param membno
+ * IN: Compound object member number.
+ *
+ * @return the class of the datatype of the field if successful;
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tget_member_class(long type_id, int membno) throws HDF5LibraryException
+ {
+ int classId = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_member_class(type_id, membno);
+ if (classId < 0) {
+ h5libraryError();
+ }
+ return classId;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_member_index retrieves the index of a field of a compound datatype.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ * @param field_name
+ * IN: Field name of the field index to retrieve.
+ *
+ * @return if field is defined, the index; else negative.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tget_member_index(long type_id, String field_name) throws HDF5LibraryException
+ {
+ if (field_name == null) {
+ throw new NullPointerException("field_name is null");
+ }
+ int index = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment field_name_segment = arena.allocateFrom(field_name);
+ index = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_member_index(type_id, field_name_segment);
+ }
+ if (index < 0) {
+ h5libraryError();
+ }
+ return index;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_member_name retrieves the name of a field of a compound datatype or an element of an enumeration
+ * datatype.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ * @param field_idx
+ * IN: Field index (0-based) of the field name to retrieve.
+ *
+ * @return a valid pointer to the name if successful; otherwise null.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static String H5Tget_member_name(long type_id, int field_idx) throws HDF5LibraryException
+ {
+ String name = null;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment =
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_member_name(type_id, field_idx);
+ if (name_segment == null)
+ h5libraryError();
+ name = name_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return name;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_member_offset returns the byte offset of the specified member of the compound datatype. This is
+ * the byte offset in the HDF5 file/library, NOT the offset of any Java object which might be mapped to
+ * this data item.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ * @param membno
+ * IN: Field index (0-based) of the field type to retrieve.
+ *
+ * @return the offset of the member.
+ **/
+ public static long H5Tget_member_offset(long type_id, int membno)
+ {
+ long offset = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_member_offset(type_id, membno);
+ if (offset < 0) {
+ h5libraryError();
+ }
+ return offset;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_member_type returns the datatype of the specified member.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ * @param field_idx
+ * IN: Field index (0-based) of the field type to retrieve.
+ *
+ * @return the identifier of a copy of the datatype of the field if successful;
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Tget_member_type(long type_id, int field_idx) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_member_type(type_id, field_idx);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Tget_member_type add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_member_value returns the value of the enumeration datatype member memb_no.
+ *
+ * @param type_id
+ * IN: Datatype identifier for the enumeration datatype.
+ * @param membno
+ * IN: Number of the enumeration datatype member.
+ * @param value
+ * OUT: The value of the member
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * value is null.
+ **/
+ public static void H5Tget_member_value(long type_id, int membno, byte[] value)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (value == null) {
+ throw new NullPointerException("value is null");
+ }
+ if (value.length != 4) {
+ throw new HDF5FunctionArgumentException("value array must have length 4");
+ }
+
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment value_segment = arena.allocate(value.length * ValueLayout.JAVA_BYTE.byteSize());
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_member_value(type_id, membno, value_segment) < 0)
+ h5libraryError();
+ for (int i = 0; i < value.length; i++) {
+ value[i] = value_segment.get(ValueLayout.JAVA_BYTE, i);
+ }
+ }
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_member_value returns the value of the enumeration datatype member memb_no.
+ *
+ * @param type_id
+ * IN: Identifier of datatype.
+ * @param membno
+ * IN: The name of the member
+ * @param value
+ * OUT: The value of the member
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * value is null.
+ **/
+ public static int H5Tget_member_value(long type_id, int membno, int[] value)
+ throws HDF5LibraryException, NullPointerException
+ {
+ return hdf.hdf5lib.H5.H5Tget_member_value_int(type_id, membno, value);
+ }
+
+ private static int H5Tget_member_value_int(long type_id, int membno, int[] value)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (value == null) {
+ throw new NullPointerException("value is null");
+ }
+ if (value.length != 1) {
+ throw new HDF5FunctionArgumentException("value array must have length 1");
+ }
+
+ int status = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment value_segment = arena.allocate(ValueLayout.JAVA_INT, value.length);
+ status = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_member_value(type_id, membno, value_segment);
+ if (status < 0)
+ h5libraryError();
+ for (int i = 0; i < value.length; i++) {
+ value[i] = value_segment.get(ValueLayout.JAVA_INT, i * Integer.BYTES);
+ }
+ }
+ return status;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_native_type returns the equivalent native datatype for the datatype specified in type_id.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query. Direction of search is assumed to be in ascending
+ * order.
+ *
+ * @return the native datatype identifier for the specified dataset datatype.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Tget_native_type(long type_id) throws HDF5LibraryException
+ {
+ return hdf.hdf5lib.H5.H5Tget_native_type(type_id, HDF5Constants.H5T_DIR_ASCEND);
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_native_type returns the equivalent native datatype for the datatype specified in type_id.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ * @param direction
+ * IN: Direction of search.
+ *
+ * @return the native datatype identifier for the specified dataset datatype.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Tget_native_type(long type_id, int direction) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_native_type(type_id, direction);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Tget_native_type add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_nmembers retrieves the number of fields a compound datatype has.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ *
+ * @return number of members datatype has if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tget_nmembers(long type_id) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_nmembers(type_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_norm retrieves the mantissa normalization of a floating-point datatype.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ *
+ * @return a valid normalization type if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tget_norm(long type_id) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_norm(type_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tset_norm sets the mantissa normalization of a floating-point datatype.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to set.
+ * @param norm
+ * IN: Mantissa normalization type.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tset_norm(long type_id, int norm) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tset_norm(type_id, norm);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_offset retrieves the bit offset of the first significant bit.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ *
+ * @return a positive offset value if successful; otherwise 0.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tget_offset(long type_id) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_offset(type_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tset_offset sets the bit offset of the first significant bit.
+ *
+ * @param type_id
+ * Identifier of datatype to set.
+ * @param offset
+ * Offset of first significant bit.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tset_offset(long type_id, int offset) throws HDF5LibraryException
+ {
+ hdf.hdf5lib.H5.H5Tset_offset(type_id, (long)offset);
+ return 0;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tset_offset sets the bit offset of the first significant bit.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to set.
+ * @param offset
+ * IN: Offset of first significant bit.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Tset_offset(long type_id, long offset) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tset_offset(type_id, offset);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_order returns the byte order of an atomic datatype.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ *
+ * @return a byte order constant if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tget_order(long type_id) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_order(type_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tset_order sets the byte ordering of an atomic datatype.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to set.
+ * @param order
+ * IN: Byte ordering constant.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tset_order(long type_id, int order) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tset_order(type_id, order);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_pad retrieves the padding type of the least and most-significant bit padding.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ * @param pad
+ * OUT: locations to return least-significant and most-significant bit padding type.
+ *
+ *
+ * pad[0] = lsb // least-significant bit padding type
+ * pad[1] = msb // most-significant bit padding type
+ *
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * pad is null.
+ **/
+ public static int H5Tget_pad(long type_id, int[] pad) throws HDF5LibraryException, NullPointerException
+ {
+ if (pad == null || pad.length < 2) {
+ throw new NullPointerException("pad is null or has less than 2 elements");
+ }
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ // Allocate a MemorySegment to hold the string bytes
+ MemorySegment lsb_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ MemorySegment msb_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_pad(type_id, lsb_segment, msb_segment)) < 0)
+ h5libraryError();
+ pad[0] = lsb_segment.get(ValueLayout.JAVA_INT, 0);
+ pad[1] = msb_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tset_pad sets the least and most-significant bits padding types.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to set.
+ * @param lsb
+ * IN: Padding type for least-significant bits.
+ * @param msb
+ * IN: Padding type for most-significant bits.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tset_pad(long type_id, int lsb, int msb) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tset_pad(type_id, lsb, msb);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_precision returns the precision of an atomic datatype.
+ *
+ * @param type_id
+ * Identifier of datatype to query.
+ *
+ * @return the number of significant bits if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tget_precision(long type_id) throws HDF5LibraryException
+ {
+ int retVal = (int)hdf.hdf5lib.H5.H5Tget_precision_long(type_id);
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tset_precision sets the precision of an atomic datatype.
+ *
+ * @param type_id
+ * Identifier of datatype to set.
+ * @param precision
+ * Number of bits of precision for datatype.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tset_precision(long type_id, int precision) throws HDF5LibraryException
+ {
+ hdf.hdf5lib.H5.H5Tset_precision(type_id, (long)precision);
+ return 0;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_precision returns the precision of an atomic datatype.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ *
+ * @return the number of significant bits if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Tget_precision_long(long type_id) throws HDF5LibraryException
+ {
+ long retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_precision(type_id);
+ if (retVal == 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tset_precision sets the precision of an atomic datatype.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to set.
+ * @param precision
+ * IN: Number of bits of precision for datatype.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Tset_precision(long type_id, long precision) throws HDF5LibraryException
+ {
+ if (precision < 0) {
+ throw new HDF5FunctionArgumentException("Negative precision value");
+ }
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tset_precision(type_id, precision);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_sign retrieves the sign type for an integer type.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ *
+ * @return a valid sign type if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tget_sign(long type_id) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_sign(type_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tset_sign sets the sign property for an integer type.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to set.
+ * @param sign
+ * IN: Sign type.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tset_sign(long type_id, int sign) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tset_sign(type_id, sign);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_size returns the size of a datatype in bytes.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ *
+ * @return the size of the datatype in bytes
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Tget_size(long type_id) throws HDF5FunctionArgumentException
+ {
+ long retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_size(type_id);
+ if (retVal == 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tset_size sets the total size in bytes, size, for an atomic datatype (this operation is not permitted
+ * on compound datatypes).
+ *
+ * @param type_id
+ * IN: Identifier of datatype to change size.
+ * @param size
+ * IN: Size in bytes to modify datatype.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tset_size(long type_id, long size) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tset_size(type_id, size);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_strpad retrieves the string padding method for a string datatype.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ *
+ * @return a valid string padding type if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tget_strpad(long type_id) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_strpad(type_id);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tset_strpad defines the storage mechanism for the string.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to modify.
+ * @param strpad
+ * IN: String padding type.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tset_strpad(long type_id, int strpad) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tset_strpad(type_id, strpad);
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_super returns the type from which TYPE is derived.
+ *
+ * @param type
+ * IN: Identifier of datatype.
+ *
+ * @return the parent type
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Tget_super(long type) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_super(type);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Tget_super add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tget_tag returns the tag associated with datatype type_id.
+ *
+ * @param type
+ * IN: Identifier of datatype.
+ *
+ * @return the tag
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static String H5Tget_tag(long type) throws HDF5LibraryException
+ {
+ if (type < 0) {
+ throw new HDF5FunctionArgumentException("Negative type id value");
+ }
+ String tag = null;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment tag_segment = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_tag(type);
+ if (tag_segment != null) {
+ tag = tag_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ }
+ if (tag == null) {
+ h5libraryError();
+ }
+ return tag;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tset_tag tags an opaque datatype type_id with a unique ASCII identifier tag.
+ *
+ * @param type
+ * IN: Datatype identifier for the opaque datatype to be tagged.
+ * @param tag
+ * IN: Descriptive ASCII string with which the opaque datatype is to be tagged.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tset_tag(long type, String tag) throws HDF5LibraryException
+ {
+ if (tag == null) {
+ throw new NullPointerException("tag is null");
+ }
+ if (type < 0) {
+ throw new HDF5FunctionArgumentException("Negative type id value");
+ }
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment tag_segment = arena.allocateFrom(tag);
+ retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tset_tag(type, tag_segment);
+ }
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tinsert adds another member to the compound datatype type_id.
+ *
+ * @param type_id
+ * IN: Identifier of compound datatype to modify.
+ * @param name
+ * IN: Name of the field to insert.
+ * @param offset
+ * IN: Offset in memory structure of the field to insert.
+ * @param field_id
+ * IN: Datatype identifier of the field to insert.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static int H5Tinsert(long type_id, String name, long offset, long field_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Tinsert(type_id, name_segment, offset, field_id);
+ }
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ return retVal;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tis_variable_str determines whether the datatype identified in type_id is a variable-length string.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to query.
+ *
+ * @return true if type_id is a variable-length string.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5Tis_variable_str(long type_id) throws HDF5LibraryException
+ {
+ boolean is_vstr = false;
+ int retVal = -1;
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5Tis_variable_str(type_id)) < 0)
+ h5libraryError();
+ if (retVal > 0) {
+ is_vstr = true;
+ }
+ return is_vstr;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tlock locks the datatype specified by the type_id identifier, making it read-only and
+ * non-destrucible.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to lock.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tlock(long type_id) throws HDF5LibraryException
+ {
+ int ret = org.hdfgroup.javahdf5.hdf5_h_1.H5Tlock(type_id);
+ if (ret < 0) {
+ h5libraryError();
+ }
+ return ret;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Topen opens a named datatype at the location specified by loc_id and return an identifier for the
+ * datatype.
+ *
+ * @param loc_id
+ * IN: A file, group, or datatype identifier.
+ * @param name
+ * IN: A datatype name, defined within the file or group identified by loc_id.
+ * @param tapl_id
+ * IN: Datatype access property list.
+ *
+ * @return a named datatype identifier if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * name is null.
+ **/
+ public static long H5Topen(long loc_id, String name, long tapl_id)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (name == null) {
+ throw new NullPointerException("name is null");
+ }
+ long id = H5I_INVALID_HID();
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ id = org.hdfgroup.javahdf5.hdf5_h_1.H5Topen2(loc_id, name_segment, tapl_id);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Topen add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tpack recursively removes padding from within a compound datatype to make it more efficient
+ * (space-wise) to store that data. WARNING: This call only affects the C-data, even if it
+ * succeeds, there may be no visible effect on Java objects.
+ *
+ * @param type_id
+ * IN: Identifier of datatype to modify.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Tpack(long type_id) throws HDF5LibraryException
+ {
+ int ret = org.hdfgroup.javahdf5.hdf5_h_1.H5Tpack(type_id);
+ if (ret < 0) {
+ h5libraryError();
+ }
+ return ret;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Treclaim reclaims buffer used for VL data.
+ *
+ * @param type_id
+ * Identifier of the datatype.
+ * @param space_id
+ * Identifier of the dataspace.
+ * @param xfer_plist_id
+ * Identifier of a transfer property list for this I/O operation.
+ * @param buf
+ * Buffer with data to be reclaimed.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ * @exception NullPointerException
+ * buf is null.
+ **/
+ public static void H5Treclaim(long type_id, long space_id, long xfer_plist_id, byte[] buf)
+ throws HDF5LibraryException, NullPointerException
+ {
+ if (buf == null) {
+ throw new NullPointerException("buf is null");
+ }
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment buf_segment = arena.allocateFrom(ValueLayout.JAVA_BYTE, buf);
+ retVal = org.hdfgroup.javahdf5.hdf5_h_1.H5Treclaim(type_id, space_id, xfer_plist_id, buf_segment);
+ }
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tvlen_create creates a new variable-length (VL) datatype.
+ *
+ * @param base_id
+ * IN: Identifier of parent datatype.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5Tvlen_create(long base_id) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h_1.H5Tvlen_create(base_id);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5Tvlen_create add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Tflush causes all buffers associated with a committed datatype to be immediately flushed to disk
+ * without removing the data from the cache.
+ *
+ * @param dtype_id
+ * IN: Identifier of the committed datatype to be flushed.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Tflush(long dtype_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Tflush(dtype_id) < 0) {
+ h5libraryError();
+ }
+ }
+
+ /**
+ * @ingroup JH5T
+ *
+ * H5Trefresh causes all buffers associated with a committed datatype to be cleared and immediately
+ * re-loaded with updated contents from disk. This function essentially closes the datatype, evicts
+ * all metadata associated with it from the cache, and then re-opens the datatype. The reopened datatype
+ * is automatically re-registered with the same ID.
+ *
+ * @param dtype_id
+ * IN: Identifier of the committed datatype to be refreshed.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5Trefresh(long dtype_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h_1.H5Trefresh(dtype_id) < 0) {
+ h5libraryError();
+ }
+ }
+
+ // /////// unimplemented ////////
+
+ // H5T_conv_t H5Tfind(int src_id, int dst_id, H5T_cdata_t *pcdata);
+
+ // public static int H5Tregister(H5T_pers_t pers, String name, int src_id, int dst_id,
+ // H5T_conv_t func)
+ // throws HDF5LibraryException, NullPointerException {}
+
+ // public static int H5Tunregister(H5T_pers_t pers, String name, int src_id, int
+ // dst_id, H5T_conv_t func) throws HDF5LibraryException, NullPointerException {}
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5VL: VOL Interface Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+
+ /**
+ * @defgroup JH5VL Java VOL Connector (H5VL) Interface
+ *
+ * @see H5VL, C-API
+ *
+ * @see @ref H5VL_UG, User Guide
+ **/
+
+ /**
+ * @defgroup JH5VL Java VOL Connector (H5VL) Interface
+ **/
+
+ /**
+ * @ingroup JH5VL
+ *
+ * H5VLregister_connector_by_name registers a new VOL connector as a member of the virtual object layer
+ * class.
+ *
+ * @param connector_name
+ * IN: name of the connector.
+ * @param vipl_id
+ * IN: VOL initialization property list which must be
+ * created with H5Pcreate(H5P_VOL_INITIALIZE) (or H5P_DEFAULT).
+ *
+ * @return a VOL connector ID
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5VLregister_connector_by_name(String connector_name, long vipl_id)
+ throws HDF5LibraryException
+ {
+ long id = H5I_INVALID_HID();
+ if (connector_name == null) {
+ throw new NullPointerException("Connector name cannot be null");
+ }
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment connector_name_segment = arena.allocateFrom(connector_name);
+ id = org.hdfgroup.javahdf5.hdf5_h.H5VLregister_connector_by_name(connector_name_segment, vipl_id);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5VLregister_connector_by_name add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+ /**
+ * @ingroup JH5VL
+ *
+ * H5VLregister_connector_by_value registers a new VOL connector as a member of the virtual object layer
+ * class.
+ *
+ * @param connector_value
+ * IN: value of the connector.
+ * @param vipl_id
+ * IN: VOL initialization property list which must be
+ * created with H5Pcreate(H5P_VOL_INITIALIZE) (or H5P_DEFAULT).
+ *
+ * @return a VOL connector ID
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5VLregister_connector_by_value(int connector_value, long vipl_id)
+ throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h.H5VLregister_connector_by_value(connector_value, vipl_id);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5VLregister_connector_by_value add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+ /**
+ * @ingroup JH5VL
+ *
+ * H5VLis_connector_registered_by_name tests whether a VOL class has been registered.
+ *
+ * @param name
+ * IN: name of the connector.
+ *
+ * @return true if a VOL connector with that name has been registered
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5VLis_connector_registered_by_name(String name) throws HDF5LibraryException
+ {
+ if (name == null) {
+ throw new NullPointerException("Connector name cannot be null");
+ }
+ boolean is_registered = false;
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5VLis_connector_registered_by_name(name_segment)) < 0)
+ h5libraryError();
+ }
+ if (retVal > 0) {
+ is_registered = true;
+ }
+ return is_registered;
+ }
+ /**
+ * @ingroup JH5VL
+ *
+ * H5VLis_connector_registered_by_value tests whether a VOL class has been registered.
+ *
+ * @param connector_value
+ * IN: value of the connector.
+ *
+ * @return true if a VOL connector with that value has been registered
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5VLis_connector_registered_by_value(int connector_value)
+ throws HDF5LibraryException
+ {
+ int retVal = -1;
+
+ if (connector_value < 0) {
+ throw new HDF5LibraryException("Invalid connector value: " + connector_value);
+ }
+ boolean is_registered = false;
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5VLis_connector_registered_by_value(connector_value)) < 0)
+ h5libraryError();
+ if (retVal > 0) {
+ is_registered = true;
+ }
+ return is_registered;
+ }
+ /**
+ * @ingroup JH5VL
+ *
+ * H5VLget_connector_id retrieves the ID for a registered VOL connector for a given object.
+ *
+ * @param object_id
+ * IN: Identifier of the object.
+ *
+ * @return a VOL connector ID
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5VLget_connector_id(long object_id) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h.H5VLget_connector_id(object_id);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5VLget_connector_id add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+ /**
+ * @ingroup JH5VL
+ *
+ * H5VLget_connector_id_by_name retrieves the ID for a registered VOL connector.
+ *
+ * @param name
+ * IN: name of the connector.
+ *
+ * @return a VOL connector ID
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5VLget_connector_id_by_name(String name) throws HDF5LibraryException
+ {
+ if (name == null) {
+ throw new NullPointerException("Connector name cannot be null");
+ }
+ long id = H5I_INVALID_HID();
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocateFrom(name);
+ id = org.hdfgroup.javahdf5.hdf5_h.H5VLget_connector_id_by_name(name_segment);
+ }
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5VLget_connector_id_by_name add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+ /**
+ * @ingroup JH5VL
+ *
+ * H5VLget_connector_id_by_value retrieves the ID for a registered VOL connector.
+ *
+ * @param connector_value
+ * IN: value of the connector.
+ *
+ * @return a VOL connector ID
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static long H5VLget_connector_id_by_value(int connector_value) throws HDF5LibraryException
+ {
+ long id = org.hdfgroup.javahdf5.hdf5_h.H5VLget_connector_id_by_value(connector_value);
+ if (id > 0) {
+ log.trace("OPEN_IDS: H5VLget_connector_id_by_value add {}", id);
+ OPEN_IDS.add(id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+ else
+ h5libraryError();
+
+ return id;
+ }
+ /**
+ * @ingroup JH5VL
+ *
+ * H5VLget_connector_name returns the connector name for the VOL associated with the
+ * object or file ID.
+ *
+ * @param object_id
+ * IN: Identifier of the object.
+ *
+ * @return the connector name
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static String H5VLget_connector_name(long object_id) throws HDF5LibraryException
+ {
+ long buf_size = -1;
+ buf_size = org.hdfgroup.javahdf5.hdf5_h.H5VLget_connector_name(object_id, MemorySegment.NULL, 0);
+ String ret_name = null;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment name_segment = arena.allocate(buf_size + 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5VLget_connector_name(object_id, name_segment, buf_size + 1) <
+ 0)
+ h5libraryError();
+ ret_name = name_segment.getString(0, StandardCharsets.UTF_8);
+ }
+ return ret_name;
+ }
+ /**
+ * @ingroup JH5VL
+ *
+ * H5VLclose closes a VOL connector ID.
+ *
+ * @param connector_id
+ * IN: Identifier of the connector.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5VLclose(long connector_id) throws HDF5LibraryException
+ {
+ int retVal = org.hdfgroup.javahdf5.hdf5_h.H5VLclose(connector_id);
+ log.trace("OPEN_IDS: H5VLclose remove {}", connector_id);
+ OPEN_IDS.remove(connector_id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ if (retVal < 0) {
+ h5libraryError();
+ }
+ }
+ /**
+ * @ingroup JH5VL
+ *
+ * H5VLunregister_connector removes a VOL connector ID from the library.
+ *
+ * @param connector_id
+ * IN: Identifier of the connector.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static void H5VLunregister_connector(long connector_id) throws HDF5LibraryException
+ {
+ if (org.hdfgroup.javahdf5.hdf5_h.H5VLunregister_connector(connector_id) < 0) {
+ h5libraryError();
+ }
+ log.trace("OPEN_IDS: H5VLunregister_connector remove {}", connector_id);
+ OPEN_IDS.remove(connector_id);
+ log.trace("OPEN_IDS: {}", OPEN_IDS.size());
+ }
+
+ /**
+ * @ingroup JH5VL
+ *
+ * H5VLcmp_connector_cls Determines whether two connector identifiers refer to the same connector.
+ *
+ * @param conn_id1
+ * IN: Identifier of connector to compare.
+ * @param conn_id2
+ * IN: Identifier of connector to compare.
+ *
+ * @return true if the connector identifiers refer to the same connector, else false.
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static boolean H5VLcmp_connector_cls(long conn_id1, long conn_id2) throws HDF5LibraryException
+ {
+ if (conn_id1 < 0 || conn_id2 < 0) {
+ throw new HDF5LibraryException("Invalid connector ID: " + conn_id1 + ", " + conn_id2);
+ }
+ boolean is_equal = false;
+ int cmp_value = 0;
+ int retVal = -1;
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment cmp_value_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if ((retVal = org.hdfgroup.javahdf5.hdf5_h.H5VLcmp_connector_cls(cmp_value_segment, conn_id1,
+ conn_id2)) < 0)
+ h5libraryError();
+ cmp_value = cmp_value_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ if (cmp_value == 0) {
+ is_equal = true;
+ }
+ return is_equal;
+ }
+
+ // /////// unimplemented ////////
+ // hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id);
+
+ // ////////////////////////////////////////////////////////////
+ // //
+ // H5Z: Filter Interface Functions //
+ // //
+ // ////////////////////////////////////////////////////////////
+ /**
+ * @defgroup JH5Z Java Filter (H5Z) Interface
+ *
+ * @see H5Z, C-API
+ *
+ * @see @ref H5Z_UG, User Guide
+ **/
+
+ /**
+ * @ingroup JH5Z
+ *
+ * H5Zfilter_avail checks if a filter is available.
+ *
+ * @param filter
+ * IN: filter number.
+ *
+ * @return a non-negative(TRUE/FALSE) value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Zfilter_avail(int filter) throws HDF5LibraryException
+ {
+ int status = -1;
+ if (filter < 0) {
+ throw new HDF5LibraryException("Invalid filter number: " + filter);
+ }
+ if ((status = org.hdfgroup.javahdf5.hdf5_h.H5Zfilter_avail(filter)) < 0) {
+ h5libraryError();
+ }
+ return status;
+ }
+
+ /**
+ * @ingroup JH5Z
+ *
+ * H5Zget_filter_info gets information about a pipeline data filter.
+ *
+ * @param filter
+ * IN: filter number.
+ *
+ * @return the filter information flags
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Zget_filter_info(int filter) throws HDF5LibraryException
+ {
+ int flags = -1;
+ if (filter < 0) {
+ throw new HDF5LibraryException("Invalid filter number: " + filter);
+ }
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment flags_segment = arena.allocate(ValueLayout.JAVA_INT, 1);
+ if (org.hdfgroup.javahdf5.hdf5_h.H5Zget_filter_info(filter, flags_segment) < 0)
+ h5libraryError();
+ flags = flags_segment.get(ValueLayout.JAVA_INT, 0);
+ }
+ return flags;
+ }
+
+ /**
+ * @ingroup JH5Z
+ *
+ * H5Zunregister unregisters a filter.
+ *
+ * @param filter
+ * IN: filter number.
+ *
+ * @return a non-negative value if successful
+ *
+ * @exception HDF5LibraryException
+ * Error from the HDF5 Library.
+ **/
+ public static int H5Zunregister(int filter) throws HDF5LibraryException
+ {
+ int status = -1;
+ if (filter < 0) {
+ throw new HDF5LibraryException("Invalid filter number: " + filter);
+ }
+ if ((status = org.hdfgroup.javahdf5.hdf5_h.H5Zunregister(filter)) < 0) {
+ h5libraryError();
+ }
+ return status;
+ }
+
+ // /////// unimplemented ////////
+
+ // herr_t H5Zregister(const void *cls);
+}
diff --git a/java/hdf/hdf5lib/HDF5Constants.java b/java/hdf/hdf5lib/HDF5Constants.java
new file mode 100644
index 00000000000..1b45afce277
--- /dev/null
+++ b/java/hdf/hdf5lib/HDF5Constants.java
@@ -0,0 +1,1611 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import java.lang.foreign.MemorySegment;
+import java.math.BigInteger;
+import java.nio.ByteBuffer;
+import java.nio.charset.StandardCharsets;
+
+import hdf.hdf5lib.H5;
+import hdf.hdf5lib.structs.H5O_token_t;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * \page HDF5CONST Constants and Enumerated Types
+ * This class contains C constants and enumerated types of HDF5 library. The
+ * values of these constants are obtained from the library by calling
+ * the JNI function jconstant, where jconstant is used for any of the private constants
+ * which start their name with "H5" need to be converted.
+ *
+ * Do not edit this file!
+ *
+ * @see @ref HDF5LIB
+ */
+public class HDF5Constants {
+
+ static { System.err.println("OpenIDs = " + H5.getOpenIDCount()); }
+
+ /** Special parameters for szip compression */
+ public static final int H5_SZIP_MAX_PIXELS_PER_BLOCK = H5_SZIP_MAX_PIXELS_PER_BLOCK();
+ /** Special parameters for szip compression */
+ public static final int H5_SZIP_NN_OPTION_MASK = H5_SZIP_NN_OPTION_MASK();
+ /** Special parameters for szip compression */
+ public static final int H5_SZIP_EC_OPTION_MASK = H5_SZIP_EC_OPTION_MASK();
+ /** Special parameters for szip compression */
+ public static final int H5_SZIP_ALLOW_K13_OPTION_MASK = H5_SZIP_ALLOW_K13_OPTION_MASK();
+ /** Special parameters for szip compression */
+ public static final int H5_SZIP_CHIP_OPTION_MASK = H5_SZIP_CHIP_OPTION_MASK();
+ /** indices on links, unknown index type */
+ public static final int H5_INDEX_UNKNOWN = H5_INDEX_UNKNOWN();
+ /** indices on links, index on names */
+ public static final int H5_INDEX_NAME = H5_INDEX_NAME();
+ /** indices on links, index on creation order */
+ public static final int H5_INDEX_CRT_ORDER = H5_INDEX_CRT_ORDER();
+ /** indices on links, number of indices defined */
+ public static final int H5_INDEX_N = H5_INDEX_N();
+ /** Common iteration orders, Unknown order */
+ public static final int H5_ITER_UNKNOWN = H5_ITER_UNKNOWN();
+ /** Common iteration orders, Increasing order */
+ public static final int H5_ITER_INC = H5_ITER_INC();
+ /** Common iteration orders, Decreasing order */
+ public static final int H5_ITER_DEC = H5_ITER_DEC();
+ /** Common iteration orders, No particular order, whatever is fastest */
+ public static final int H5_ITER_NATIVE = H5_ITER_NATIVE();
+ /** Common iteration orders, Number of iteration orders */
+ public static final int H5_ITER_N = H5_ITER_N();
+ /** The version of the H5AC_cache_config_t in use */
+ public static final int H5AC_CURR_CACHE_CONFIG_VERSION = H5AC__CURR_CACHE_CONFIG_VERSION();
+ /** The maximum length of the trace file path */
+ public static final int H5AC_MAX_TRACE_FILE_NAME_LEN = H5AC__MAX_TRACE_FILE_NAME_LEN();
+ /**
+ * When metadata_write_strategy is set to this value, only process
+ * zero is allowed to write dirty metadata to disk. All other
+ * processes must retain dirty metadata until they are informed at
+ * a sync point that the dirty metadata in question has been written
+ * to disk.
+ */
+ public static final int H5AC_METADATA_WRITE_STRATEGY_PROCESS_0_ONLY =
+ H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY();
+ /**
+ * In the distributed metadata write strategy, process zero still makes
+ * the decisions as to what entries should be flushed, but the actual
+ * flushes are distributed across the processes in the computation to
+ * the extent possible.
+ */
+ public static final int H5AC_METADATA_WRITE_STRATEGY_DISTRIBUTED =
+ H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED();
+ /** Don't attempt to increase the size of the cache automatically */
+ public static final int H5C_incr_off = H5C_incr__off();
+ /**
+ * Attempt to increase the size of the cache
+ * whenever the average hit rate over the last epoch drops
+ * below the value supplied in the lower_hr_threshold
+ * field
+ */
+ public static final int H5C_incr_threshold = H5C_incr__threshold();
+ /** Don't perform flash increases in the size of the cache */
+ public static final int H5C_flash_incr_off = H5C_flash_incr__off();
+ /** increase the current maximum cache size by x * flash_multiple less any free space in the cache */
+ public static final int H5C_flash_incr_add_space = H5C_flash_incr__add_space();
+ /** Don't attempt to decrease the size of the cache automatically */
+ public static final int H5C_decr_off = H5C_decr__off();
+ /**
+ * Attempt to decrease the size of the cache
+ * whenever the average hit rate over the last epoch rises
+ * above the value supplied in the upper_hr_threshold
+ * field
+ */
+ public static final int H5C_decr_threshold = H5C_decr__threshold();
+ /**
+ * At the end of each epoch, search the cache for
+ * entries that have not been accessed for at least the number
+ * of epochs specified in the epochs_before_eviction field, and
+ * evict these entries
+ */
+ public static final int H5C_decr_age_out = H5C_decr__age_out();
+ /**
+ * Same as age_out, but we only
+ * attempt to reduce the cache size when the hit rate observed
+ * over the last epoch exceeds the value provided in the
+ * upper_hr_threshold field
+ */
+ public static final int H5C_decr_age_out_with_threshold = H5C_decr__age_out_with_threshold();
+ /** */
+ public static final int H5D_CHUNK_IDX_BTREE = H5D_CHUNK_IDX_BTREE();
+ /** */
+ public static final int H5D_ALLOC_TIME_DEFAULT = H5D_ALLOC_TIME_DEFAULT();
+ /** */
+ public static final int H5D_ALLOC_TIME_EARLY = H5D_ALLOC_TIME_EARLY();
+ /** */
+ public static final int H5D_ALLOC_TIME_ERROR = H5D_ALLOC_TIME_ERROR();
+ /** */
+ public static final int H5D_ALLOC_TIME_INCR = H5D_ALLOC_TIME_INCR();
+ /** */
+ public static final int H5D_ALLOC_TIME_LATE = H5D_ALLOC_TIME_LATE();
+ /** */
+ public static final int H5D_FILL_TIME_ERROR = H5D_FILL_TIME_ERROR();
+ /** */
+ public static final int H5D_FILL_TIME_ALLOC = H5D_FILL_TIME_ALLOC();
+ /** */
+ public static final int H5D_FILL_TIME_NEVER = H5D_FILL_TIME_NEVER();
+ /** */
+ public static final int H5D_FILL_TIME_IFSET = H5D_FILL_TIME_IFSET();
+ /** */
+ public static final int H5D_FILL_VALUE_DEFAULT = H5D_FILL_VALUE_DEFAULT();
+ /** */
+ public static final int H5D_FILL_VALUE_ERROR = H5D_FILL_VALUE_ERROR();
+ /** */
+ public static final int H5D_FILL_VALUE_UNDEFINED = H5D_FILL_VALUE_UNDEFINED();
+ /** */
+ public static final int H5D_FILL_VALUE_USER_DEFINED = H5D_FILL_VALUE_USER_DEFINED();
+ /** */
+ public static final int H5D_LAYOUT_ERROR = H5D_LAYOUT_ERROR();
+ /** */
+ public static final int H5D_CHUNKED = H5D_CHUNKED();
+ /** */
+ public static final int H5D_COMPACT = H5D_COMPACT();
+ /** */
+ public static final int H5D_CONTIGUOUS = H5D_CONTIGUOUS();
+ /** */
+ public static final int H5D_VIRTUAL = H5D_VIRTUAL();
+ /** */
+ public static final int H5D_NLAYOUTS = H5D_NLAYOUTS();
+ /** */
+ public static final int H5D_SPACE_STATUS_ALLOCATED = H5D_SPACE_STATUS_ALLOCATED();
+ /** */
+ public static final int H5D_SPACE_STATUS_ERROR = H5D_SPACE_STATUS_ERROR();
+ /** */
+ public static final int H5D_SPACE_STATUS_NOT_ALLOCATED = H5D_SPACE_STATUS_NOT_ALLOCATED();
+ /** */
+ public static final int H5D_SPACE_STATUS_PART_ALLOCATED = H5D_SPACE_STATUS_PART_ALLOCATED();
+ /** */
+ public static final int H5D_VDS_ERROR = H5D_VDS_ERROR();
+ /** */
+ public static final int H5D_VDS_FIRST_MISSING = H5D_VDS_FIRST_MISSING();
+ /** */
+ public static final int H5D_VDS_LAST_AVAILABLE = H5D_VDS_LAST_AVAILABLE();
+ /** */
+ public static final int H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS = H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS();
+
+ /** Different kinds of error information - H5E_type_t */
+ public static final int H5E_MAJOR = H5E_MAJOR();
+ /** Different kinds of error information - H5E_type_t */
+ public static final int H5E_MINOR = H5E_MINOR();
+ /** Minor error codes - Object header related errors - Alignment error */
+ public static final long H5E_ALIGNMENT = H5E_ALIGNMENT_g();
+ /** Minor error codes - Resource errors - Object already exists */
+ public static final long H5E_ALREADYEXISTS = H5E_ALREADYEXISTS_g();
+ /** Minor error codes - Function entry/exit interface - Object already initialized */
+ public static final long H5E_ALREADYINIT = H5E_ALREADYINIT_g();
+ /** Major error codes - Invalid arguments to routine */
+ public static final long H5E_ARGS = H5E_ARGS_g();
+ /** Major error codes - Object ID */
+ public static final long H5E_ID = H5E_ID_g();
+ /** Major error codes - Attribute */
+ public static final long H5E_ATTR = H5E_ATTR_g();
+ /** Minor error codes - Object ID related errors - Unable to find ID information (already closed?) */
+ public static final long H5E_BADID = H5E_BADID_g();
+ /** Minor error codes - File accessibility errors - Bad file ID accessed */
+ public static final long H5E_BADFILE = H5E_BADFILE_g();
+ /** Minor error codes - Object ID related errors - Unable to find ID group information */
+ public static final long H5E_BADGROUP = H5E_BADGROUP_g();
+ /** Minor error codes - Object header related errors - Iteration failed */
+ public static final long H5E_BADITER = H5E_BADITER_g();
+ /** Minor error codes - Object header related errors - Unrecognized message */
+ public static final long H5E_BADMESG = H5E_BADMESG_g();
+ /** Minor error codes - Argument errors - Out of range */
+ public static final long H5E_BADRANGE = H5E_BADRANGE_g();
+ /** Minor error codes - Dataspace errors - Invalid selection */
+ public static final long H5E_BADSELECT = H5E_BADSELECT_g();
+ /** Datatype conversion errors - Bad size for object */
+ public static final long H5E_BADSIZE = H5E_BADSIZE_g();
+ /** Minor error codes - Argument errors - Inappropriate type */
+ public static final long H5E_BADTYPE = H5E_BADTYPE_g();
+ /** Minor error codes - Argument errors - Bad value */
+ public static final long H5E_BADVALUE = H5E_BADVALUE_g();
+ /** Major error codes - B-Tree node */
+ public static final long H5E_BTREE = H5E_BTREE_g();
+ /** Major error codes - Object cache */
+ public static final long H5E_CACHE = H5E_CACHE_g();
+ /** I/O pipeline errors - Callback failed */
+ public static final long H5E_CALLBACK = H5E_CALLBACK_g();
+ /** I/O pipeline errors - Error from filter 'can apply' callback */
+ public static final long H5E_CANAPPLY = H5E_CANAPPLY_g();
+ /** Minor error codes - Resource errors - Can't allocate space */
+ public static final long H5E_CANTALLOC = H5E_CANTALLOC_g();
+ /** Minor error codes - Dataspace errors - Can't append object */
+ public static final long H5E_CANTAPPEND = H5E_CANTAPPEND_g();
+ /** Minor error codes - Heap errors - Can't attach object */
+ public static final long H5E_CANTATTACH = H5E_CANTATTACH_g();
+ /** Minor error codes - Cache related errors - Unable to mark metadata as clean */
+ public static final long H5E_CANTCLEAN = H5E_CANTCLEAN_g();
+ /** Minor error codes - Dataspace errors - Can't clip hyperslab region */
+ public static final long H5E_CANTCLIP = H5E_CANTCLIP_g();
+ /** Minor error codes - File accessibility errors - Unable to close file */
+ public static final long H5E_CANTCLOSEFILE = H5E_CANTCLOSEFILE_g();
+ /** Minor error codes - Group related errors - Can't close object */
+ public static final long H5E_CANTCLOSEOBJ = H5E_CANTCLOSEOBJ_g();
+ /** Minor error codes - Dataspace errors - Can't compare objects */
+ public static final long H5E_CANTCOMPARE = H5E_CANTCOMPARE_g();
+ /** Minor error codes - Heap errors - Can't compute value */
+ public static final long H5E_CANTCOMPUTE = H5E_CANTCOMPUTE_g();
+ /** Datatype conversion errors - Can't convert datatypes */
+ public static final long H5E_CANTCONVERT = H5E_CANTCONVERT_g();
+ /** Minor error codes - Resource errors - Unable to copy object */
+ public static final long H5E_CANTCOPY = H5E_CANTCOPY_g();
+ /** Minor error codes - Cache related errors - Unable to cork an object */
+ public static final long H5E_CANTCORK = H5E_CANTCORK_g();
+ /** Minor error codes - Dataspace errors - Can't count elements */
+ public static final long H5E_CANTCOUNT = H5E_CANTCOUNT_g();
+ /** Minor error codes - File accessibility errors - Unable to create file */
+ public static final long H5E_CANTCREATE = H5E_CANTCREATE_g();
+ /** Minor error codes - Object ID related errors - Unable to decrement reference count */
+ public static final long H5E_CANTDEC = H5E_CANTDEC_g();
+ /** Minor error codes - B-tree related errors - Unable to decode value */
+ public static final long H5E_CANTDECODE = H5E_CANTDECODE_g();
+ /** Minor error codes - Object header related errors - Can't delete message */
+ public static final long H5E_CANTDELETE = H5E_CANTDELETE_g();
+ /** Minor error codes - File accessibility errors - Unable to delete file */
+ public static final long H5E_CANTDELETEFILE = H5E_CANTDELETEFILE_g();
+ /** Minor error codes - Cache related errors - Unable to create a flush dependency */
+ public static final long H5E_CANTDEPEND = H5E_CANTDEPEND_g();
+ /** Minor error codes - Cache related errors - Unable to mark metadata as dirty */
+ public static final long H5E_CANTDIRTY = H5E_CANTDIRTY_g();
+ /** Minor error codes - B-tree related errors - Unable to encode value */
+ public static final long H5E_CANTENCODE = H5E_CANTENCODE_g();
+ /** Minor error codes - Cache related errors - Unable to expunge a metadata cache entry */
+ public static final long H5E_CANTEXPUNGE = H5E_CANTEXPUNGE_g();
+ /** Minor error codes - Heap errors - Can't extend heap's space */
+ public static final long H5E_CANTEXTEND = H5E_CANTEXTEND_g();
+ /** I/O pipeline errors - Filter operation failed */
+ public static final long H5E_CANTFILTER = H5E_CANTFILTER_g();
+ /** Minor error codes - Cache related errors - Unable to flush data from cache */
+ public static final long H5E_CANTFLUSH = H5E_CANTFLUSH_g();
+ /** Minor error codes - Resource errors - Unable to free object */
+ public static final long H5E_CANTFREE = H5E_CANTFREE_g();
+ /** Minor error codes - Parallel MPI - Can't gather data */
+ public static final long H5E_CANTGATHER = H5E_CANTGATHER_g();
+ /** Minor error codes - Resource errors - Unable to garbage collect */
+ public static final long H5E_CANTGC = H5E_CANTGC_g();
+ /** Minor error codes - Property list errors - Can't get value */
+ public static final long H5E_CANTGET = H5E_CANTGET_g();
+ /** Minor error codes - Resource errors - Unable to compute size */
+ public static final long H5E_CANTGETSIZE = H5E_CANTGETSIZE_g();
+ /** Minor error codes - Object ID related errors - Unable to increment reference count */
+ public static final long H5E_CANTINC = H5E_CANTINC_g();
+ /** Minor error codes - Function entry/exit interface - Unable to initialize object */
+ public static final long H5E_CANTINIT = H5E_CANTINIT_g();
+ /** Minor error codes - Cache related errors - Unable to insert metadata into cache */
+ public static final long H5E_CANTINS = H5E_CANTINS_g();
+ /** Minor error codes - B-tree related errors - Unable to insert object */
+ public static final long H5E_CANTINSERT = H5E_CANTINSERT_g();
+ /** Minor error codes - B-tree related errors - Unable to list node */
+ public static final long H5E_CANTLIST = H5E_CANTLIST_g();
+ /** Minor error codes - Cache related errors - Unable to load metadata into cache */
+ public static final long H5E_CANTLOAD = H5E_CANTLOAD_g();
+ /** Minor error codes - Resource errors - Unable to lock object */
+ public static final long H5E_CANTLOCK = H5E_CANTLOCK_g();
+ /** Minor error codes - File accessibility errors Unable to lock file */
+ public static final long H5E_CANTLOCKFILE = H5E_CANTLOCKFILE_g();
+ /** Minor error codes - Cache related errors - Unable to mark a pinned entry as clean */
+ public static final long H5E_CANTMARKCLEAN = H5E_CANTMARKCLEAN_g();
+ /** Minor error codes - Cache related errors - Unable to mark a pinned entry as dirty */
+ public static final long H5E_CANTMARKDIRTY = H5E_CANTMARKDIRTY_g();
+ /** Minor error codes - Cache related errors - Unable to mark an entry as unserialized */
+ public static final long H5E_CANTMARKSERIALIZED = H5E_CANTMARKSERIALIZED_g();
+ /** Minor error codes - Cache related errors - Unable to mark an entry as serialized */
+ public static final long H5E_CANTMARKUNSERIALIZED = H5E_CANTMARKUNSERIALIZED_g();
+ /** Minor error codes - Free space errors - Can't merge objects */
+ public static final long H5E_CANTMERGE = H5E_CANTMERGE_g();
+ /** Minor error codes - B-tree related errors - Unable to modify record */
+ public static final long H5E_CANTMODIFY = H5E_CANTMODIFY_g();
+ /** Minor error codes - Link related errors - Can't move object */
+ public static final long H5E_CANTMOVE = H5E_CANTMOVE_g();
+ /** Minor error codes - Dataspace errors - Can't move to next iterator location */
+ public static final long H5E_CANTNEXT = H5E_CANTNEXT_g();
+ /** Minor error codes - Cache related errors - Unable to notify object about action */
+ public static final long H5E_CANTNOTIFY = H5E_CANTNOTIFY_g();
+ /** Minor error codes - File accessibility errors - Unable to open file */
+ public static final long H5E_CANTOPENFILE = H5E_CANTOPENFILE_g();
+ /** Minor error codes - Group related errors - Can't open object */
+ public static final long H5E_CANTOPENOBJ = H5E_CANTOPENOBJ_g();
+ /** Minor error codes - Heap errors - Can't operate on object */
+ public static final long H5E_CANTOPERATE = H5E_CANTOPERATE_g();
+ /** Minor error codes - Object header related errors - Can't pack messages */
+ public static final long H5E_CANTPACK = H5E_CANTPACK_g();
+ /** Minor error codes - Cache related errors - Unable to pin cache entry */
+ public static final long H5E_CANTPIN = H5E_CANTPIN_g();
+ /** Minor error codes - Cache related errors - Unable to protect metadata */
+ public static final long H5E_CANTPROTECT = H5E_CANTPROTECT_g();
+ /** Minor error codes - Parallel MPI - Can't receive data */
+ public static final long H5E_CANTRECV = H5E_CANTRECV_g();
+ /** Minor error codes - B-tree related errors - Unable to redistribute records */
+ public static final long H5E_CANTREDISTRIBUTE = H5E_CANTREDISTRIBUTE_g();
+ /** Minor error codes - Object ID related errors - Unable to register new ID */
+ public static final long H5E_CANTREGISTER = H5E_CANTREGISTER_g();
+ /** Minor error codes - Function entry/exit interface - Unable to release object */
+ public static final long H5E_CANTRELEASE = H5E_CANTRELEASE_g();
+ /** Minor error codes - B-tree related errors - Unable to remove object */
+ public static final long H5E_CANTREMOVE = H5E_CANTREMOVE_g();
+ /** Minor error codes - Object header related errors - Unable to rename object */
+ public static final long H5E_CANTRENAME = H5E_CANTRENAME_g();
+ /** Minor error codes - Object header related errors - Can't reset object */
+ public static final long H5E_CANTRESET = H5E_CANTRESET_g();
+ /** Minor error codes - Cache related errors - Unable to resize a metadata cache entry */
+ public static final long H5E_CANTRESIZE = H5E_CANTRESIZE_g();
+ /** Minor error codes - Heap errors - Can't restore condition */
+ public static final long H5E_CANTRESTORE = H5E_CANTRESTORE_g();
+ /** Minor error codes - Free space errors - Can't revive object */
+ public static final long H5E_CANTREVIVE = H5E_CANTREVIVE_g();
+ /** Minor error codes - Free space errors - Can't shrink container */
+ public static final long H5E_CANTSHRINK = H5E_CANTSHRINK_g();
+ /** Minor error codes - Dataspace errors - Can't select hyperslab */
+ public static final long H5E_CANTSELECT = H5E_CANTSELECT_g();
+ /** Minor error codes - Cache related errors - Unable to serialize data from cache */
+ public static final long H5E_CANTSERIALIZE = H5E_CANTSERIALIZE_g();
+ /** Minor error codes - Property list errors - Can't set value */
+ public static final long H5E_CANTSET = H5E_CANTSET_g();
+ /** Minor error codes - Link related errors - Can't sort objects */
+ public static final long H5E_CANTSORT = H5E_CANTSORT_g();
+ /** Minor error codes - B-tree related errors - Unable to split node */
+ public static final long H5E_CANTSPLIT = H5E_CANTSPLIT_g();
+ /** Minor error codes - B-tree related errors - Unable to swap records */
+ public static final long H5E_CANTSWAP = H5E_CANTSWAP_g();
+ /** Minor error codes - Cache related errors - Unable to tag metadata in the cache */
+ public static final long H5E_CANTTAG = H5E_CANTTAG_g();
+ /** Minor error codes - Cache related errors - Unable to uncork an object */
+ public static final long H5E_CANTUNCORK = H5E_CANTUNCORK_g();
+ /** Minor error codes - Cache related errors - Unable to destroy a flush dependency */
+ public static final long H5E_CANTUNDEPEND = H5E_CANTUNDEPEND_g();
+ /** Minor error codes - Resource errors - Unable to unlock object */
+ public static final long H5E_CANTUNLOCK = H5E_CANTUNLOCK_g();
+ /** Minor error codes - File accessibility errors Unable to unlock file */
+ public static final long H5E_CANTUNLOCKFILE = H5E_CANTUNLOCKFILE_g();
+ /** Minor error codes - Cache related errors - Unable to un-pin cache entry */
+ public static final long H5E_CANTUNPIN = H5E_CANTUNPIN_g();
+ /** Minor error codes - Cache related errors - Unable to unprotect metadata */
+ public static final long H5E_CANTUNPROTECT = H5E_CANTUNPROTECT_g();
+ /** Minor error codes - Cache related errors - Unable to mark metadata as unserialized */
+ public static final long H5E_CANTUNSERIALIZE = H5E_CANTUNSERIALIZE_g();
+ /** Minor error codes - Heap errors - Can't update object */
+ public static final long H5E_CANTUPDATE = H5E_CANTUPDATE_g();
+ /** Generic low-level file I/O errors - Close failed */
+ public static final long H5E_CLOSEERROR = H5E_CLOSEERROR_g();
+ /** Minor error codes - Group related errors - Name component is too long */
+ public static final long H5E_COMPLEN = H5E_COMPLEN_g();
+ /** Major error codes - API Context */
+ public static final long H5E_CONTEXT = H5E_CONTEXT_g();
+ /** Major error codes - Dataset */
+ public static final long H5E_DATASET = H5E_DATASET_g();
+ /** Major error codes - Dataspace */
+ public static final long H5E_DATASPACE = H5E_DATASPACE_g();
+ /** Major error codes - Datatype */
+ public static final long H5E_DATATYPE = H5E_DATATYPE_g();
+ /** Value for the default error stack */
+ public static final long H5E_DEFAULT = H5E_DEFAULT();
+ /** Minor error codes - Property list errors - Duplicate class name in parent class */
+ public static final long H5E_DUPCLASS = H5E_DUPCLASS_g();
+ /** Major error codes - Extensible Array */
+ public static final long H5E_EARRAY = H5E_EARRAY_g();
+ /** Major error codes - External file list */
+ public static final long H5E_EFL = H5E_EFL_g();
+ /** Major error codes - Error API */
+ public static final long H5E_ERROR = H5E_ERROR_g();
+ /** Minor error codes - B-tree related errors - Object already exists */
+ public static final long H5E_EXISTS = H5E_EXISTS_g();
+ /** Major error codes - Fixed Array */
+ public static final long H5E_FARRAY = H5E_FARRAY_g();
+ /** Generic low-level file I/O errors - File control (fcntl) failed */
+ public static final long H5E_FCNTL = H5E_FCNTL_g();
+ /** Major error codes - File accessibility */
+ public static final long H5E_FILE = H5E_FILE_g();
+ /** Minor error codes - File accessibility errors - File already exists */
+ public static final long H5E_FILEEXISTS = H5E_FILEEXISTS_g();
+ /** Minor error codes - File accessibility errors - File already open */
+ public static final long H5E_FILEOPEN = H5E_FILEOPEN_g();
+ /** Major error codes - Free Space Manager */
+ public static final long H5E_FSPACE = H5E_FSPACE_g();
+ /** Major error codes - Function entry/exit */
+ public static final long H5E_FUNC = H5E_FUNC_g();
+ /** Major error codes - Heap */
+ public static final long H5E_HEAP = H5E_HEAP_g();
+ /** Minor error codes - Dataspace errors - Internal states are inconsistent */
+ public static final long H5E_INCONSISTENTSTATE = H5E_INCONSISTENTSTATE_g();
+ /** Major error codes - Internal error (too specific to document in detail) */
+ public static final long H5E_INTERNAL = H5E_INTERNAL_g();
+ /** Major error codes - Low-level I/O */
+ public static final long H5E_IO = H5E_IO_g();
+ /** Major error codes - Links */
+ public static final long H5E_LINK = H5E_LINK_g();
+ /** Minor error codes - Object header related errors - Bad object header link count */
+ public static final long H5E_LINKCOUNT = H5E_LINKCOUNT_g();
+ /** Minor error codes - Cache related errors - Failure in the cache logging framework */
+ public static final long H5E_LOGGING = H5E_LOGGING_g();
+ /** Major error codes - Map */
+ public static final long H5E_MAP = H5E_MAP_g();
+ /** Minor error codes - File accessibility errors - File mount error */
+ public static final long H5E_MOUNT = H5E_MOUNT_g();
+ /** Minor error codes - Parallel MPI - Some MPI function failed */
+ public static final long H5E_MPI = H5E_MPI_g();
+ /** Minor error codes - Parallel MPI - MPI Error String */
+ public static final long H5E_MPIERRSTR = H5E_MPIERRSTR_g();
+ /** Minor error codes - Link related errors - Too many soft links in path */
+ public static final long H5E_NLINKS = H5E_NLINKS_g();
+ /** Minor error codes - Parallel MPI - Can't perform independent IO */
+ public static final long H5E_NO_INDEPENDENT = H5E_NO_INDEPENDENT_g();
+ /** I/O pipeline errors - Filter present but encoding disabled */
+ public static final long H5E_NOENCODER = H5E_NOENCODER_g();
+ /** I/O pipeline errors - Requested filter is not available */
+ public static final long H5E_NOFILTER = H5E_NOFILTER_g();
+ /** Minor error codes - Object ID related errors - Out of IDs for group */
+ public static final long H5E_NOIDS = H5E_NOIDS_g();
+ /** Major error codes - No error */
+ public static final long H5E_NONE_MAJOR = H5E_NONE_MAJOR_g();
+ /** No error */
+ public static final long H5E_NONE_MINOR = H5E_NONE_MINOR_g();
+ /** Minor error codes - Resource errors - No space available for allocation */
+ public static final long H5E_NOSPACE = H5E_NOSPACE_g();
+ /** Minor error codes - Cache related errors - Metadata not currently cached */
+ public static final long H5E_NOTCACHED = H5E_NOTCACHED_g();
+ /** Minor error codes - B-tree related errors - Object not found */
+ public static final long H5E_NOTFOUND = H5E_NOTFOUND_g();
+ /** Minor error codes - File accessibility errors - Not an HDF5 file */
+ public static final long H5E_NOTHDF5 = H5E_NOTHDF5_g();
+ /** Minor error codes - Link related errors - Link class not registered */
+ public static final long H5E_NOTREGISTERED = H5E_NOTREGISTERED_g();
+ /** Minor error codes - Resource errors - Object is already open */
+ public static final long H5E_OBJOPEN = H5E_OBJOPEN_g();
+ /** Major error codes - Object header */
+ public static final long H5E_OHDR = H5E_OHDR_g();
+ /** Minor error codes - Plugin errors - Can't open directory or file */
+ public static final long H5E_OPENERROR = H5E_OPENERROR_g();
+ /** Generic low-level file I/O errors - Address overflowed */
+ public static final long H5E_OVERFLOW = H5E_OVERFLOW_g();
+ /** Major error codes - Page Buffering */
+ public static final long H5E_PAGEBUF = H5E_PAGEBUF_g();
+ /** Minor error codes - Group related errors - Problem with path to object */
+ public static final long H5E_PATH = H5E_PATH_g();
+ /** Major error codes - Data filters */
+ public static final long H5E_PLINE = H5E_PLINE_g();
+ /** Major error codes - Property lists */
+ public static final long H5E_PLIST = H5E_PLIST_g();
+ /** Major error codes - Plugin for dynamically loaded library */
+ public static final long H5E_PLUGIN = H5E_PLUGIN_g();
+ /** Minor error codes - Cache related errors - Protected metadata error */
+ public static final long H5E_PROTECT = H5E_PROTECT_g();
+ /** Generic low-level file I/O errors - Read failed */
+ public static final long H5E_READERROR = H5E_READERROR_g();
+ /** Major error codes - References */
+ public static final long H5E_REFERENCE = H5E_REFERENCE_g();
+ /** Major error codes - Resource unavailable */
+ public static final long H5E_RESOURCE = H5E_RESOURCE_g();
+ /** Major error codes - Reference Counted Strings */
+ public static final long H5E_RS = H5E_RS_g();
+ /** Generic low-level file I/O errors - Seek failed */
+ public static final long H5E_SEEKERROR = H5E_SEEKERROR_g();
+ /** Minor error codes - Property list errors - Disallowed operation */
+ public static final long H5E_SETDISALLOWED = H5E_SETDISALLOWED_g();
+ /** I/O pipeline errors - Error from filter 'set local' callback */
+ public static final long H5E_SETLOCAL = H5E_SETLOCAL_g();
+ /** Major error codes - Skip Lists */
+ public static final long H5E_SLIST = H5E_SLIST_g();
+ /** Major error codes - Shared Object Header Messages */
+ public static final long H5E_SOHM = H5E_SOHM_g();
+ /** Major error codes - Data storage */
+ public static final long H5E_STORAGE = H5E_STORAGE_g();
+ /** Major error codes - Symbol table */
+ public static final long H5E_SYM = H5E_SYM_g();
+ /** Minor error codes - System level errors - System error message */
+ public static final long H5E_SYSERRSTR = H5E_SYSERRSTR_g();
+ /** Minor error codes - Cache related errors - Internal error detected */
+ public static final long H5E_SYSTEM = H5E_SYSTEM_g();
+ /** Minor error codes - Link related errors - Link traversal failure */
+ public static final long H5E_TRAVERSE = H5E_TRAVERSE_g();
+ /** Minor error codes - File accessibility errors - File has been truncated */
+ public static final long H5E_TRUNCATED = H5E_TRUNCATED_g();
+ /** Major error codes - Ternary Search Trees */
+ public static final long H5E_TST = H5E_TST_g();
+ /** Minor error codes - Argument errors - Information is uinitialized */
+ public static final long H5E_UNINITIALIZED = H5E_UNINITIALIZED_g();
+ /** Minor error codes - Argument errors - Feature is unsupported */
+ public static final long H5E_UNSUPPORTED = H5E_UNSUPPORTED_g();
+ /** Minor error codes - Object header related errors - Wrong version number */
+ public static final long H5E_VERSION = H5E_VERSION_g();
+ /** Major error codes - Virtual File Layer */
+ public static final long H5E_VFL = H5E_VFL_g();
+ /** Major error codes - Virtual Object Layer */
+ public static final long H5E_VOL = H5E_VOL_g();
+ /** Error stack traversal direction - begin at API function, end deep */
+ public static final long H5E_WALK_DOWNWARD = H5E_WALK_DOWNWARD();
+ /** Error stack traversal direction - begin deep, end at API function */
+ public static final long H5E_WALK_UPWARD = H5E_WALK_UPWARD();
+ /** Generic low-level file I/O errors - Write failed */
+ public static final long H5E_WRITEERROR = H5E_WRITEERROR_g();
+
+ /** */
+ private static final int H5ES_STATUS_IN_PROGRESS = H5ES_STATUS_IN_PROGRESS();
+ /** */
+ private static final int H5ES_STATUS_SUCCEED = H5ES_STATUS_SUCCEED();
+ /** */
+ private static final int H5ES_STATUS_FAIL = H5ES_STATUS_FAIL();
+
+ /** */
+ public static final int H5F_ACC_CREAT = H5F_ACC_CREAT();
+ /** */
+ public static final int H5F_ACC_EXCL = H5F_ACC_EXCL();
+ /** */
+ public static final int H5F_ACC_RDONLY = H5F_ACC_RDONLY();
+ /** */
+ public static final int H5F_ACC_RDWR = H5F_ACC_RDWR();
+ /** */
+ public static final int H5F_ACC_TRUNC = H5F_ACC_TRUNC();
+ /** */
+ public static final int H5F_ACC_DEFAULT = H5F_ACC_DEFAULT();
+ /** */
+ public static final int H5F_ACC_SWMR_READ = H5F_ACC_SWMR_READ();
+ /** */
+ public static final int H5F_ACC_SWMR_WRITE = H5F_ACC_SWMR_WRITE();
+ /** */
+ public static final int H5F_CLOSE_DEFAULT = H5F_CLOSE_DEFAULT();
+ /** */
+ public static final int H5F_CLOSE_SEMI = H5F_CLOSE_SEMI();
+ /** */
+ public static final int H5F_CLOSE_STRONG = H5F_CLOSE_STRONG();
+ /** */
+ public static final int H5F_CLOSE_WEAK = H5F_CLOSE_WEAK();
+ /** */
+ public static final int H5F_LIBVER_ERROR = H5F_LIBVER_ERROR();
+ /** */
+ public static final int H5F_LIBVER_EARLIEST = H5F_LIBVER_EARLIEST();
+ /** */
+ public static final int H5F_LIBVER_V18 = H5F_LIBVER_V18();
+ /** */
+ public static final int H5F_LIBVER_V110 = H5F_LIBVER_V110();
+ /** */
+ public static final int H5F_LIBVER_V112 = H5F_LIBVER_V112();
+ /** */
+ public static final int H5F_LIBVER_V114 = H5F_LIBVER_V114();
+ /** */
+ public static final int H5F_LIBVER_V200 = H5F_LIBVER_V200();
+ /** */
+ public static final int H5F_LIBVER_LATEST = H5F_LIBVER_LATEST();
+ /** */
+ public static final int H5F_LIBVER_NBOUNDS = H5F_LIBVER_NBOUNDS();
+ /** */
+ public static final int H5F_OBJ_ALL = H5F_OBJ_ALL();
+ /** */
+ public static final int H5F_OBJ_ATTR = H5F_OBJ_ATTR();
+ /** */
+ public static final int H5F_OBJ_DATASET = H5F_OBJ_DATASET();
+ /** */
+ public static final int H5F_OBJ_DATATYPE = H5F_OBJ_DATATYPE();
+ /** */
+ public static final int H5F_OBJ_FILE = H5F_OBJ_FILE();
+ /** */
+ public static final int H5F_OBJ_GROUP = H5F_OBJ_GROUP();
+ /** */
+ public static final int H5F_OBJ_LOCAL = H5F_OBJ_LOCAL();
+ /** */
+ public static final int H5F_SCOPE_GLOBAL = H5F_SCOPE_GLOBAL();
+ /** */
+ public static final int H5F_SCOPE_LOCAL = H5F_SCOPE_LOCAL();
+ /** */
+ public static final long H5F_UNLIMITED = H5F_UNLIMITED();
+
+ /** */
+ public static final int H5F_FSPACE_STRATEGY_FSM_AGGR = H5F_FSPACE_STRATEGY_FSM_AGGR();
+ /** */
+ public static final int H5F_FSPACE_STRATEGY_AGGR = H5F_FSPACE_STRATEGY_AGGR();
+ /** */
+ public static final int H5F_FSPACE_STRATEGY_PAGE = H5F_FSPACE_STRATEGY_PAGE();
+ /** */
+ public static final int H5F_FSPACE_STRATEGY_NONE = H5F_FSPACE_STRATEGY_NONE();
+ /** */
+ public static final int H5F_FSPACE_STRATEGY_NTYPES = H5F_FSPACE_STRATEGY_NTYPES();
+
+ /** */
+ public static final long H5FD_CORE = H5FD_CORE_id_g();
+ /** */
+ public static final long H5FD_DIRECT = H5FD_DIRECT();
+ /** */
+ public static final long H5FD_FAMILY = H5FD_FAMILY_id_g();
+ /** */
+ public static final long H5FD_LOG = H5FD_LOG_id_g();
+ /** */
+ public static final long H5FD_MPIO = H5FD_MPIO();
+ /** */
+ public static final long H5FD_MULTI = H5FD_MULTI_id_g();
+ /** */
+ public static final long H5FD_ONION = H5FD_ONION_id_g();
+ /** */
+ public static final long H5FD_SEC2 = H5FD_SEC2_id_g();
+ /** */
+ public static final long H5FD_SPLITTER = H5FD_SPLITTER_id_g();
+ /** */
+ public static final long H5FD_STDIO = H5FD_STDIO_id_g();
+ /** */
+ public static final long H5FD_WINDOWS = H5FD_SEC2_id_g();
+ /** */
+ public static final long H5FD_ROS3 = H5I_INVALID_HID();
+ /** */
+ public static final long H5FD_HDFS = H5I_INVALID_HID();
+ /** */
+ public static final int H5FD_LOG_LOC_READ = H5FD_LOG_LOC_READ();
+ /** */
+ public static final int H5FD_LOG_LOC_WRITE = H5FD_LOG_LOC_WRITE();
+ /** */
+ public static final int H5FD_LOG_LOC_SEEK = H5FD_LOG_LOC_SEEK();
+ /** */
+ public static final int H5FD_LOG_LOC_IO = H5FD_LOG_LOC_IO();
+ /** */
+ public static final int H5FD_LOG_FILE_READ = H5FD_LOG_FILE_READ();
+ /** */
+ public static final int H5FD_LOG_FILE_WRITE = H5FD_LOG_FILE_WRITE();
+ /** */
+ public static final int H5FD_LOG_FILE_IO = H5FD_LOG_FILE_IO();
+ /** */
+ public static final int H5FD_LOG_FLAVOR = H5FD_LOG_FLAVOR();
+ /** */
+ public static final int H5FD_LOG_NUM_READ = H5FD_LOG_NUM_READ();
+ /** */
+ public static final int H5FD_LOG_NUM_WRITE = H5FD_LOG_NUM_WRITE();
+ /** */
+ public static final int H5FD_LOG_NUM_SEEK = H5FD_LOG_NUM_SEEK();
+ /** */
+ public static final int H5FD_LOG_NUM_TRUNCATE = H5FD_LOG_NUM_TRUNCATE();
+ /** */
+ public static final int H5FD_LOG_NUM_IO = H5FD_LOG_NUM_IO();
+ /** */
+ public static final int H5FD_LOG_TIME_OPEN = H5FD_LOG_TIME_OPEN();
+ /** */
+ public static final int H5FD_LOG_TIME_STAT = H5FD_LOG_TIME_STAT();
+ /** */
+ public static final int H5FD_LOG_TIME_READ = H5FD_LOG_TIME_READ();
+ /** */
+ public static final int H5FD_LOG_TIME_WRITE = H5FD_LOG_TIME_WRITE();
+ /** */
+ public static final int H5FD_LOG_TIME_SEEK = H5FD_LOG_TIME_SEEK();
+ /** */
+ public static final int H5FD_LOG_TIME_CLOSE = H5FD_LOG_TIME_CLOSE();
+ /** */
+ public static final int H5FD_LOG_TIME_IO = H5FD_LOG_TIME_IO();
+ /** */
+ public static final int H5FD_LOG_ALLOC = H5FD_LOG_ALLOC();
+ /** */
+ public static final int H5FD_LOG_ALL = H5FD_LOG_ALL();
+ /** */
+ public static final int H5FD_MEM_NOLIST = H5FD_MEM_NOLIST();
+ /** */
+ public static final int H5FD_MEM_DEFAULT = H5FD_MEM_DEFAULT();
+ /** */
+ public static final int H5FD_MEM_SUPER = H5FD_MEM_SUPER();
+ /** */
+ public static final int H5FD_MEM_BTREE = H5FD_MEM_BTREE();
+ /** */
+ public static final int H5FD_MEM_DRAW = H5FD_MEM_DRAW();
+ /** */
+ public static final int H5FD_MEM_GHEAP = H5FD_MEM_GHEAP();
+ /** */
+ public static final int H5FD_MEM_LHEAP = H5FD_MEM_LHEAP();
+ /** */
+ public static final int H5FD_MEM_OHDR = H5FD_MEM_OHDR();
+ /** */
+ public static final int H5FD_MEM_NTYPES = H5FD_MEM_NTYPES();
+ /** */
+ public static final BigInteger H5FD_BIG_MEM_NTYPES =
+ new BigInteger(1, ByteBuffer.allocate(Long.SIZE / Byte.SIZE).putLong(H5FD_MEM_NTYPES()).array());
+ /** */
+ public static final BigInteger H5FD_BIG_MEM_NTYPES_MINUS =
+ new BigInteger(1, ByteBuffer.allocate(Long.SIZE / Byte.SIZE).putLong(H5FD_MEM_NTYPES() - 1L).array());
+ /** */
+ public static final BigInteger H5FD_BIG_HADDR_MAX =
+ new BigInteger(1, ByteBuffer.allocate(Long.SIZE / Byte.SIZE).putLong(HADDR_MAX()).array());
+ /** */
+ public static final long H5FD_DEFAULT_HADDR_SIZE =
+ H5FD_BIG_HADDR_MAX.divide(H5FD_BIG_MEM_NTYPES).longValue();
+ /** */
+ public static final long H5FD_MEM_DEFAULT_SIZE = 0L;
+ /** */
+ public static final long H5FD_MEM_DEFAULT_SUPER_SIZE = 0L;
+ /** */
+ public static final long H5FD_MEM_DEFAULT_BTREE_SIZE =
+ H5FD_BIG_HADDR_MAX.divide(H5FD_BIG_MEM_NTYPES_MINUS)
+ .multiply(new BigInteger(1, ByteBuffer.allocate(Long.SIZE / Byte.SIZE).putLong(1).array()))
+ .longValue();
+ /** */
+ public static final long H5FD_MEM_DEFAULT_DRAW_SIZE =
+ H5FD_BIG_HADDR_MAX.divide(H5FD_BIG_MEM_NTYPES_MINUS)
+ .multiply(new BigInteger(1, ByteBuffer.allocate(Long.SIZE / Byte.SIZE).putLong(2).array()))
+ .longValue();
+ /** */
+ public static final long H5FD_MEM_DEFAULT_GHEAP_SIZE =
+ H5FD_BIG_HADDR_MAX.divide(H5FD_BIG_MEM_NTYPES_MINUS)
+ .multiply(new BigInteger(1, ByteBuffer.allocate(Long.SIZE / Byte.SIZE).putLong(3).array()))
+ .longValue();
+ /** */
+ public static final long H5FD_MEM_DEFAULT_LHEAP_SIZE =
+ H5FD_BIG_HADDR_MAX.divide(H5FD_BIG_MEM_NTYPES_MINUS)
+ .multiply(new BigInteger(1, ByteBuffer.allocate(Long.SIZE / Byte.SIZE).putLong(4).array()))
+ .longValue();
+ /** */
+ public static final long H5FD_MEM_DEFAULT_OHDR_SIZE =
+ H5FD_BIG_HADDR_MAX.divide(H5FD_BIG_MEM_NTYPES_MINUS)
+ .multiply(new BigInteger(1, ByteBuffer.allocate(Long.SIZE / Byte.SIZE).putLong(5).array()))
+ .longValue();
+
+ // public static final int H5G_DATASET = H5G_DATASET();
+ // public static final int H5G_GROUP = H5G_GROUP();
+ // public static final int H5G_LINK = H5G_LINK();
+ // public static final int H5G_UDLINK = H5G_UDLINK();
+ // public static final int H5G_LINK_ERROR = H5G_LINK_ERROR();
+ // public static final int H5G_LINK_HARD = H5G_LINK_HARD();
+ // public static final int H5G_LINK_SOFT = H5G_LINK_SOFT();
+ // public static final int H5G_NLIBTYPES = H5G_NLIBTYPES();
+ // public static final int H5G_NTYPES = H5G_NTYPES();
+ // public static final int H5G_NUSERTYPES = H5G_NUSERTYPES();
+ // public static final int H5G_RESERVED_5 = H5G_RESERVED_5();
+ // public static final int H5G_RESERVED_6 = H5G_RESERVED_6();
+ // public static final int H5G_RESERVED_7 = H5G_RESERVED_7();
+ // public static final int H5G_SAME_LOC = H5G_SAME_LOC();
+ // public static final int H5G_TYPE = H5G_TYPE();
+ // public static final int H5G_UNKNOWN = H5G_UNKNOWN();
+
+ /** */
+ public static final int H5G_STORAGE_TYPE_UNKNOWN = H5G_STORAGE_TYPE_UNKNOWN();
+ /** */
+ public static final int H5G_STORAGE_TYPE_SYMBOL_TABLE = H5G_STORAGE_TYPE_SYMBOL_TABLE();
+ /** */
+ public static final int H5G_STORAGE_TYPE_COMPACT = H5G_STORAGE_TYPE_COMPACT();
+ /** */
+ public static final int H5G_STORAGE_TYPE_DENSE = H5G_STORAGE_TYPE_DENSE();
+
+ /** */
+ public static final int H5I_ATTR = H5I_ATTR();
+ /** */
+ public static final int H5I_BADID = H5I_BADID();
+ /** */
+ public static final int H5I_DATASET = H5I_DATASET();
+ /** */
+ public static final int H5I_DATASPACE = H5I_DATASPACE();
+ /** */
+ public static final int H5I_DATATYPE = H5I_DATATYPE();
+ /** */
+ public static final int H5I_ERROR_CLASS = H5I_ERROR_CLASS();
+ /** */
+ public static final int H5I_ERROR_MSG = H5I_ERROR_MSG();
+ /** */
+ public static final int H5I_ERROR_STACK = H5I_ERROR_STACK();
+ /** */
+ public static final int H5I_FILE = H5I_FILE();
+ /** */
+ public static final int H5I_GENPROP_CLS = H5I_GENPROP_CLS();
+ /** */
+ public static final int H5I_GENPROP_LST = H5I_GENPROP_LST();
+ /** */
+ public static final int H5I_GROUP = H5I_GROUP();
+ /** */
+ public static final int H5I_INVALID_HID = H5I_INVALID_HID();
+ /** */
+ public static final int H5I_NTYPES = H5I_NTYPES();
+ /** */
+ public static final int H5I_UNINIT = H5I_UNINIT();
+ /** */
+ public static final int H5I_VFL = H5I_VFL();
+ /** */
+ public static final int H5I_VOL = H5I_VOL();
+
+ /** */
+ public static final int H5L_TYPE_ERROR = H5L_TYPE_ERROR();
+ /** */
+ public static final int H5L_TYPE_HARD = H5L_TYPE_HARD();
+ /** */
+ public static final int H5L_TYPE_SOFT = H5L_TYPE_SOFT();
+ /** */
+ public static final int H5L_TYPE_EXTERNAL = H5L_TYPE_EXTERNAL();
+ /** */
+ public static final int H5L_TYPE_MAX = H5L_TYPE_MAX();
+
+ /** */
+ public static final int H5O_COPY_SHALLOW_HIERARCHY_FLAG = H5O_COPY_SHALLOW_HIERARCHY_FLAG();
+ /** */
+ public static final int H5O_COPY_EXPAND_SOFT_LINK_FLAG = H5O_COPY_EXPAND_SOFT_LINK_FLAG();
+ /** */
+ public static final int H5O_COPY_EXPAND_EXT_LINK_FLAG = H5O_COPY_EXPAND_EXT_LINK_FLAG();
+ /** */
+ public static final int H5O_COPY_EXPAND_REFERENCE_FLAG = H5O_COPY_EXPAND_REFERENCE_FLAG();
+ /** */
+ public static final int H5O_COPY_WITHOUT_ATTR_FLAG = H5O_COPY_WITHOUT_ATTR_FLAG();
+ /** */
+ public static final int H5O_COPY_PRESERVE_NULL_FLAG = H5O_COPY_PRESERVE_NULL_FLAG();
+ /** */
+ public static final int H5O_INFO_BASIC = H5O_INFO_BASIC();
+ /** */
+ public static final int H5O_INFO_TIME = H5O_INFO_TIME();
+ /** */
+ public static final int H5O_INFO_NUM_ATTRS = H5O_INFO_NUM_ATTRS();
+ /** */
+ public static final int H5O_INFO_ALL = H5O_INFO_ALL();
+ /** */
+ public static final int H5O_NATIVE_INFO_HDR = H5O_NATIVE_INFO_HDR();
+ /** */
+ public static final int H5O_NATIVE_INFO_META_SIZE = H5O_NATIVE_INFO_META_SIZE();
+ /** */
+ public static final int H5O_NATIVE_INFO_ALL = H5O_NATIVE_INFO_ALL();
+ /** */
+ public static final int H5O_SHMESG_NONE_FLAG = H5O_SHMESG_NONE_FLAG();
+ /** */
+ public static final int H5O_SHMESG_SDSPACE_FLAG = H5O_SHMESG_SDSPACE_FLAG();
+ /** */
+ public static final int H5O_SHMESG_DTYPE_FLAG = H5O_SHMESG_DTYPE_FLAG();
+ /** */
+ public static final int H5O_SHMESG_FILL_FLAG = H5O_SHMESG_FILL_FLAG();
+ /** */
+ public static final int H5O_SHMESG_PLINE_FLAG = H5O_SHMESG_PLINE_FLAG();
+ /** */
+ public static final int H5O_SHMESG_ATTR_FLAG = H5O_SHMESG_ATTR_FLAG();
+ /** */
+ public static final int H5O_SHMESG_ALL_FLAG = H5O_SHMESG_ALL_FLAG();
+ /** */
+ public static final int H5O_TYPE_UNKNOWN = H5O_TYPE_UNKNOWN();
+ /** */
+ public static final int H5O_TYPE_GROUP = H5O_TYPE_GROUP();
+ /** */
+ public static final int H5O_TYPE_DATASET = H5O_TYPE_DATASET();
+ /** */
+ public static final int H5O_TYPE_NAMED_DATATYPE = H5O_TYPE_NAMED_DATATYPE();
+ /** */
+ public static final int H5O_TYPE_NTYPES = H5O_TYPE_NTYPES();
+ /** */
+ public static final int H5O_MAX_TOKEN_SIZE = H5O_MAX_TOKEN_SIZE();
+ /** H5O_token_t is derived from the MemorySegment */
+ public static final H5O_token_t H5O_TOKEN_UNDEF = new H5O_token_t(H5O_TOKEN_UNDEF_g());
+
+ /** */
+ public static final long H5P_ROOT = H5P_CLS_ROOT_ID_g();
+ /** */
+ public static final long H5P_OBJECT_CREATE = H5P_CLS_OBJECT_CREATE_ID_g();
+ /** */
+ public static final long H5P_FILE_CREATE = H5P_CLS_FILE_CREATE_ID_g();
+ /** */
+ public static final long H5P_FILE_ACCESS = H5P_CLS_FILE_ACCESS_ID_g();
+ /** */
+ public static final long H5P_DATASET_CREATE = H5P_CLS_DATASET_CREATE_ID_g();
+ /** */
+ public static final long H5P_DATASET_ACCESS = H5P_CLS_DATASET_ACCESS_ID_g();
+ /** */
+ public static final long H5P_DATASET_XFER = H5P_CLS_DATASET_XFER_ID_g();
+ /** */
+ public static final long H5P_FILE_MOUNT = H5P_CLS_FILE_MOUNT_ID_g();
+ /** */
+ public static final long H5P_GROUP_CREATE = H5P_CLS_GROUP_CREATE_ID_g();
+ /** */
+ public static final long H5P_GROUP_ACCESS = H5P_CLS_GROUP_ACCESS_ID_g();
+ /** */
+ public static final long H5P_DATATYPE_CREATE = H5P_CLS_DATATYPE_CREATE_ID_g();
+ /** */
+ public static final long H5P_DATATYPE_ACCESS = H5P_CLS_DATATYPE_ACCESS_ID_g();
+ /** */
+ public static final long H5P_MAP_CREATE = H5P_CLS_MAP_CREATE_ID_g();
+ /** */
+ public static final long H5P_MAP_ACCESS = H5P_CLS_MAP_ACCESS_ID_g();
+ /** */
+ public static final long H5P_STRING_CREATE = H5P_CLS_STRING_CREATE_ID_g();
+ /** */
+ public static final long H5P_ATTRIBUTE_CREATE = H5P_CLS_ATTRIBUTE_CREATE_ID_g();
+ /** */
+ public static final long H5P_ATTRIBUTE_ACCESS = H5P_CLS_ATTRIBUTE_ACCESS_ID_g();
+ /** */
+ public static final long H5P_OBJECT_COPY = H5P_CLS_OBJECT_COPY_ID_g();
+ /** */
+ public static final long H5P_LINK_CREATE = H5P_CLS_LINK_CREATE_ID_g();
+ /** */
+ public static final long H5P_LINK_ACCESS = H5P_CLS_LINK_ACCESS_ID_g();
+ /** */
+ public static final long H5P_VOL_INITIALIZE = H5P_CLS_VOL_INITIALIZE_ID_g();
+ /** */
+ public static final long H5P_REFERENCE_ACCESS = H5P_CLS_REFERENCE_ACCESS_ID_g();
+ /** */
+ public static final long H5P_FILE_CREATE_DEFAULT = H5P_LST_FILE_CREATE_ID_g();
+ /** */
+ public static final long H5P_FILE_ACCESS_DEFAULT = H5P_LST_FILE_ACCESS_ID_g();
+ /** */
+ public static final long H5P_DATASET_CREATE_DEFAULT = H5P_LST_DATASET_CREATE_ID_g();
+ /** */
+ public static final long H5P_DATASET_ACCESS_DEFAULT = H5P_LST_DATASET_ACCESS_ID_g();
+ /** */
+ public static final long H5P_DATASET_XFER_DEFAULT = H5P_LST_DATASET_XFER_ID_g();
+ /** */
+ public static final long H5P_FILE_MOUNT_DEFAULT = H5P_LST_FILE_MOUNT_ID_g();
+ /** */
+ public static final long H5P_GROUP_CREATE_DEFAULT = H5P_LST_GROUP_CREATE_ID_g();
+ /** */
+ public static final long H5P_GROUP_ACCESS_DEFAULT = H5P_LST_GROUP_ACCESS_ID_g();
+ /** */
+ public static final long H5P_DATATYPE_CREATE_DEFAULT = H5P_LST_DATATYPE_CREATE_ID_g();
+ /** */
+ public static final long H5P_DATATYPE_ACCESS_DEFAULT = H5P_LST_DATATYPE_ACCESS_ID_g();
+ /** */
+ public static final long H5P_MAP_CREATE_DEFAULT = H5P_LST_MAP_CREATE_ID_g();
+ /** */
+ public static final long H5P_MAP_ACCESS_DEFAULT = H5P_LST_MAP_ACCESS_ID_g();
+ /** */
+ public static final long H5P_ATTRIBUTE_CREATE_DEFAULT = H5P_LST_ATTRIBUTE_CREATE_ID_g();
+ /** */
+ public static final long H5P_ATTRIBUTE_ACCESS_DEFAULT = H5P_LST_ATTRIBUTE_ACCESS_ID_g();
+ /** */
+ public static final long H5P_OBJECT_COPY_DEFAULT = H5P_LST_OBJECT_COPY_ID_g();
+ /** */
+ public static final long H5P_LINK_CREATE_DEFAULT = H5P_LST_LINK_CREATE_ID_g();
+ /** */
+ public static final long H5P_LINK_ACCESS_DEFAULT = H5P_LST_LINK_ACCESS_ID_g();
+ /** */
+ public static final long H5P_VOL_INITIALIZE_DEFAULT = H5P_LST_VOL_INITIALIZE_ID_g();
+ /** */
+ public static final int H5P_CRT_ORDER_TRACKED = H5P_CRT_ORDER_TRACKED();
+ /** */
+ public static final int H5P_CRT_ORDER_INDEXED = H5P_CRT_ORDER_INDEXED();
+ /** */
+ public static final long H5P_DEFAULT = H5P_DEFAULT();
+
+ /** */
+ public static final int H5PL_TYPE_ERROR = H5PL_TYPE_ERROR();
+ /** */
+ public static final int H5PL_TYPE_FILTER = H5PL_TYPE_FILTER();
+ /** */
+ public static final int H5PL_TYPE_VOL = H5PL_TYPE_VOL();
+ /** */
+ public static final int H5PL_TYPE_NONE = H5PL_TYPE_NONE();
+ /** */
+ public static final int H5PL_FILTER_PLUGIN = H5PL_FILTER_PLUGIN();
+ /** */
+ public static final int H5PL_VOL_PLUGIN = H5PL_VOL_PLUGIN();
+ /** */
+ public static final int H5PL_ALL_PLUGIN = H5PL_ALL_PLUGIN();
+
+ /** */
+ public static final int H5R_ATTR = H5R_ATTR();
+ /** */
+ public static final int H5R_BADTYPE = H5R_BADTYPE();
+ /** */
+ public static final int H5R_DATASET_REGION = H5R_DATASET_REGION();
+ /** */
+ public static final int H5R_DATASET_REGION1 = H5R_DATASET_REGION1();
+ /** */
+ public static final int H5R_DATASET_REGION2 = H5R_DATASET_REGION2();
+ /** */
+ public static final int H5R_MAXTYPE = H5R_MAXTYPE();
+ /** */
+ public static final long H5R_DSET_REG_REF_BUF_SIZE = H5R_DSET_REG_REF_BUF_SIZE();
+ /** */
+ public static final long H5R_OBJ_REF_BUF_SIZE = H5R_OBJ_REF_BUF_SIZE();
+ /** */
+ public static final int H5R_REF_BUF_SIZE = H5R_REF_BUF_SIZE();
+ /** */
+ public static final int H5R_OBJECT = H5R_OBJECT();
+ /** */
+ public static final int H5R_OBJECT1 = H5R_OBJECT1();
+ /** */
+ public static final int H5R_OBJECT2 = H5R_OBJECT2();
+
+ /** Define atomic datatypes */
+ public static final int H5S_ALL = H5S_ALL();
+ /** Define user-level maximum number of dimensions */
+ public static final int H5S_MAX_RANK = H5S_MAX_RANK();
+ /** Different types of dataspaces - error */
+ public static final int H5S_NO_CLASS = H5S_NO_CLASS();
+ /** Different types of dataspaces - null dataspace */
+ public static final int H5S_NULL = H5S_NULL();
+ /** Different types of dataspaces - scalar variable */
+ public static final int H5S_SCALAR = H5S_SCALAR();
+ /** Enumerated type for the type of selection - Entire extent selected */
+ public static final int H5S_SEL_ALL = H5S_SEL_ALL();
+ /** Enumerated type for the type of selection - Error */
+ public static final int H5S_SEL_ERROR = H5S_SEL_ERROR();
+ /** Enumerated type for the type of selection - Hyperslab selected */
+ public static final int H5S_SEL_HYPERSLABS = H5S_SEL_HYPERSLABS();
+ /** Enumerated type for the type of selection - LAST */
+ public static final int H5S_SEL_N = H5S_SEL_N();
+ /** Enumerated type for the type of selection - Nothing selected */
+ public static final int H5S_SEL_NONE = H5S_SEL_NONE();
+ /** Enumerated type for the type of selection - Points / elements selected */
+ public static final int H5S_SEL_POINTS = H5S_SEL_POINTS();
+ /** Different ways of combining selections - Binary "and" operation for hyperslabs */
+ public static final int H5S_SELECT_AND = H5S_SELECT_AND();
+ /** Different ways of combining selections - Append elements to end of point selection */
+ public static final int H5S_SELECT_APPEND = H5S_SELECT_APPEND();
+ /** Different ways of combining selections - Invalid upper bound on selection operations */
+ public static final int H5S_SELECT_INVALID = H5S_SELECT_INVALID();
+ /** Different ways of combining selections - error */
+ public static final int H5S_SELECT_NOOP = H5S_SELECT_NOOP();
+ /** Different ways of combining selections - Binary "not" operation for hyperslabs */
+ public static final int H5S_SELECT_NOTA = H5S_SELECT_NOTA();
+ /** Different ways of combining selections - Binary "not" operation for hyperslabs */
+ public static final int H5S_SELECT_NOTB = H5S_SELECT_NOTB();
+ /** Different ways of combining selections - Binary "or" operation for hyperslabs */
+ public static final int H5S_SELECT_OR = H5S_SELECT_OR();
+ /** Different ways of combining selections - Prepend elements to beginning of point selection */
+ public static final int H5S_SELECT_PREPEND = H5S_SELECT_PREPEND();
+ /** Different ways of combining selections - Select "set" operation */
+ public static final int H5S_SELECT_SET = H5S_SELECT_SET();
+ /** Different ways of combining selections - Binary "xor" operation for hyperslabs */
+ public static final int H5S_SELECT_XOR = H5S_SELECT_XOR();
+ /** Different types of dataspaces - simple dataspace */
+ public static final int H5S_SIMPLE = H5S_SIMPLE();
+ /** Define atomic datatypes */
+ public static final long H5S_UNLIMITED = H5S_UNLIMITED();
+
+ /** */
+ // public static final long H5T_ALPHA_B16 = H5T_ALPHA_B16;
+ /** */
+ // public static final long H5T_ALPHA_B32 = H5T_ALPHA_B32;
+ /** */
+ // public static final long H5T_ALPHA_B64 = H5T_ALPHA_B64;
+ /** */
+ // public static final long H5T_ALPHA_B8 = H5T_ALPHA_B8;
+ /** */
+ // public static final long H5T_ALPHA_F32 = H5T_ALPHA_F32;
+ /** */
+ // public static final long H5T_ALPHA_F64 = H5T_ALPHA_F64;
+ /** */
+ // public static final long H5T_ALPHA_I16 = H5T_ALPHA_I16;
+ /** */
+ // public static final long H5T_ALPHA_I32 = H5T_ALPHA_I32;
+ /** */
+ // public static final long H5T_ALPHA_I64 = H5T_ALPHA_I64;
+ /** */
+ // public static final long H5T_ALPHA_I8 = H5T_ALPHA_I8;
+ /** */
+ // public static final long H5T_ALPHA_U16 = H5T_ALPHA_U16;
+ /** */
+ // public static final long H5T_ALPHA_U32 = H5T_ALPHA_U32;
+ /** */
+ // public static final long H5T_ALPHA_U64 = H5T_ALPHA_U64;
+ /** */
+ // public static final long H5T_ALPHA_U8 = H5T_ALPHA_U8;
+ /** */
+ public static final int H5T_ARRAY = H5T_ARRAY();
+ /** */
+ public static final int H5T_BITFIELD = H5T_BITFIELD();
+ /** */
+ public static final int H5T_BKG_NO = H5T_BKG_NO();
+ /** */
+ public static final int H5T_BKG_YES = H5T_BKG_YES();
+ /** */
+ public static final long H5T_C_S1 = H5T_C_S1_g();
+ /** */
+ public static final int H5T_COMPLEX = H5T_COMPLEX();
+ /** */
+ public static final int H5T_COMPOUND = H5T_COMPOUND();
+ /** */
+ public static final int H5T_CONV_CONV = H5T_CONV_CONV();
+ /** */
+ public static final int H5T_CONV_FREE = H5T_CONV_FREE();
+ /** */
+ public static final int H5T_CONV_INIT = H5T_CONV_INIT();
+ /** */
+ public static final long H5T_COMPLEX_IEEE_F16BE = H5T_COMPLEX_IEEE_F16BE_g();
+ /** */
+ public static final long H5T_COMPLEX_IEEE_F16LE = H5T_COMPLEX_IEEE_F16LE_g();
+ /** */
+ public static final long H5T_COMPLEX_IEEE_F32BE = H5T_COMPLEX_IEEE_F32BE_g();
+ /** */
+ public static final long H5T_COMPLEX_IEEE_F32LE = H5T_COMPLEX_IEEE_F32LE_g();
+ /** */
+ public static final long H5T_COMPLEX_IEEE_F64BE = H5T_COMPLEX_IEEE_F64BE_g();
+ /** */
+ public static final long H5T_COMPLEX_IEEE_F64LE = H5T_COMPLEX_IEEE_F64LE_g();
+ /** */
+ public static final int H5T_CSET_ERROR = H5T_CSET_ERROR();
+ /** */
+ public static final int H5T_CSET_ASCII = H5T_CSET_ASCII();
+ /** */
+ public static final int H5T_CSET_UTF8 = H5T_CSET_UTF8();
+ /** */
+ public static final int H5T_CSET_RESERVED_10 = H5T_CSET_RESERVED_10();
+ /** */
+ public static final int H5T_CSET_RESERVED_11 = H5T_CSET_RESERVED_11();
+ /** */
+ public static final int H5T_CSET_RESERVED_12 = H5T_CSET_RESERVED_12();
+ /** */
+ public static final int H5T_CSET_RESERVED_13 = H5T_CSET_RESERVED_13();
+ /** */
+ public static final int H5T_CSET_RESERVED_14 = H5T_CSET_RESERVED_14();
+ /** */
+ public static final int H5T_CSET_RESERVED_15 = H5T_CSET_RESERVED_15();
+ /** */
+ public static final int H5T_CSET_RESERVED_2 = H5T_CSET_RESERVED_2();
+ /** */
+ public static final int H5T_CSET_RESERVED_3 = H5T_CSET_RESERVED_3();
+ /** */
+ public static final int H5T_CSET_RESERVED_4 = H5T_CSET_RESERVED_4();
+ /** */
+ public static final int H5T_CSET_RESERVED_5 = H5T_CSET_RESERVED_5();
+ /** */
+ public static final int H5T_CSET_RESERVED_6 = H5T_CSET_RESERVED_6();
+ /** */
+ public static final int H5T_CSET_RESERVED_7 = H5T_CSET_RESERVED_7();
+ /** */
+ public static final int H5T_CSET_RESERVED_8 = H5T_CSET_RESERVED_8();
+ /** */
+ public static final int H5T_CSET_RESERVED_9 = H5T_CSET_RESERVED_9();
+ /** */
+ public static final int H5T_DIR_ASCEND = H5T_DIR_ASCEND();
+ /** */
+ public static final int H5T_DIR_DEFAULT = H5T_DIR_DEFAULT();
+ /** */
+ public static final int H5T_DIR_DESCEND = H5T_DIR_DESCEND();
+ /** */
+ public static final int H5T_ENUM = H5T_ENUM();
+ /** */
+ public static final int H5T_FLOAT = H5T_FLOAT();
+ /** */
+ public static final long H5T_FORTRAN_S1 = H5T_FORTRAN_S1_g();
+ /** */
+ public static final long H5T_IEEE_F16BE = H5T_IEEE_F16BE_g();
+ /** */
+ public static final long H5T_IEEE_F16LE = H5T_IEEE_F16LE_g();
+ /** */
+ public static final long H5T_IEEE_F32BE = H5T_IEEE_F32BE_g();
+ /** */
+ public static final long H5T_IEEE_F32LE = H5T_IEEE_F32LE_g();
+ /** */
+ public static final long H5T_IEEE_F64BE = H5T_IEEE_F64BE_g();
+ /** */
+ public static final long H5T_IEEE_F64LE = H5T_IEEE_F64LE_g();
+ /** */
+ public static final int H5T_INTEGER = H5T_INTEGER();
+ /** */
+ // public static final long H5T_INTEL_B16 = H5T_INTEL_B16;
+ /** */
+ // public static final long H5T_INTEL_B32 = H5T_INTEL_B32;
+ /** */
+ // public static final long H5T_INTEL_B64 = H5T_INTEL_B64;
+ /** */
+ // public static final long H5T_INTEL_B8 = H5T_INTEL_B8;
+ /** */
+ // public static final long H5T_INTEL_F32 = H5T_INTEL_F32;
+ /** */
+ // public static final long H5T_INTEL_F64 = H5T_INTEL_F64;
+ /** */
+ // public static final long H5T_INTEL_I16 = H5T_INTEL_I16;
+ /** */
+ // public static final long H5T_INTEL_I32 = H5T_INTEL_I32;
+ /** */
+ // public static final long H5T_INTEL_I64 = H5T_INTEL_I64;
+ /** */
+ // public static final long H5T_INTEL_I8 = H5T_INTEL_I8;
+ /** */
+ // public static final long H5T_INTEL_U16 = H5T_INTEL_U16;
+ /** */
+ // public static final long H5T_INTEL_U32 = H5T_INTEL_U32;
+ /** */
+ // public static final long H5T_INTEL_U64 = H5T_INTEL_U64;
+ /** */
+ // public static final long H5T_INTEL_U8 = H5T_INTEL_U8;
+ /** */
+ // public static final long H5T_MIPS_B16 = H5T_MIPS_B16;
+ /** */
+ // public static final long H5T_MIPS_B32 = H5T_MIPS_B32;
+ /** */
+ // public static final long H5T_MIPS_B64 = H5T_MIPS_B64;
+ /** */
+ // public static final long H5T_MIPS_B8 = H5T_MIPS_B8;
+ /** */
+ // public static final long H5T_MIPS_F32 = H5T_MIPS_F32;
+ /** */
+ // public static final long H5T_MIPS_F64 = H5T_MIPS_F64;
+ /** */
+ // public static final long H5T_MIPS_I16 = H5T_MIPS_I16;
+ /** */
+ // public static final long H5T_MIPS_I32 = H5T_MIPS_I32;
+ /** */
+ // public static final long H5T_MIPS_I64 = H5T_MIPS_I64;
+ /** */
+ // public static final long H5T_MIPS_I8 = H5T_MIPS_I8;
+ /** */
+ // public static final long H5T_MIPS_U16 = H5T_MIPS_U16;
+ /** */
+ // public static final long H5T_MIPS_U32 = H5T_MIPS_U32;
+ /** */
+ // public static final long H5T_MIPS_U64 = H5T_MIPS_U64;
+ /** */
+ // public static final long H5T_MIPS_U8 = H5T_MIPS_U8;
+ /** */
+ public static final long H5T_NATIVE_B16 = H5T_NATIVE_B16_g();
+ /** */
+ public static final long H5T_NATIVE_B32 = H5T_NATIVE_B32_g();
+ /** */
+ public static final long H5T_NATIVE_B64 = H5T_NATIVE_B64_g();
+ /** */
+ public static final long H5T_NATIVE_B8 = H5T_NATIVE_B8_g();
+ /** */
+ public static final long H5T_NATIVE_CHAR = (CHAR_MIN() < 0 ? H5T_NATIVE_SCHAR_g() : H5T_NATIVE_UCHAR_g());
+ /** */
+ public static final long H5T_NATIVE_DOUBLE = H5T_NATIVE_DOUBLE_g();
+ /** */
+ public static final long H5T_NATIVE_DOUBLE_COMPLEX = H5T_NATIVE_DOUBLE_COMPLEX_g();
+ /** */
+ public static final long H5T_NATIVE_FLOAT = H5T_NATIVE_FLOAT_g();
+ /** */
+ public static final long H5T_NATIVE_FLOAT16 = H5T_NATIVE_FLOAT16_g();
+ /** */
+ public static final long H5T_NATIVE_FLOAT_COMPLEX = H5T_NATIVE_FLOAT_COMPLEX_g();
+ /** */
+ public static final long H5T_NATIVE_HADDR = H5T_NATIVE_HADDR_g();
+ /** */
+ public static final long H5T_NATIVE_HBOOL = H5T_NATIVE_HBOOL_g();
+ /** */
+ public static final long H5T_NATIVE_HERR = H5T_NATIVE_HERR_g();
+ /** */
+ public static final long H5T_NATIVE_HSIZE = H5T_NATIVE_HSIZE_g();
+ /** */
+ public static final long H5T_NATIVE_HSSIZE = H5T_NATIVE_HSSIZE_g();
+ /** */
+ public static final long H5T_NATIVE_INT = H5T_NATIVE_INT_g();
+ /** */
+ public static final long H5T_NATIVE_INT_FAST16 = H5T_NATIVE_INT_FAST16_g();
+ /** */
+ public static final long H5T_NATIVE_INT_FAST32 = H5T_NATIVE_INT_FAST32_g();
+ /** */
+ public static final long H5T_NATIVE_INT_FAST64 = H5T_NATIVE_INT_FAST64_g();
+ /** */
+ public static final long H5T_NATIVE_INT_FAST8 = H5T_NATIVE_INT_FAST8_g();
+ /** */
+ public static final long H5T_NATIVE_INT_LEAST16 = H5T_NATIVE_INT_LEAST16_g();
+ /** */
+ public static final long H5T_NATIVE_INT_LEAST32 = H5T_NATIVE_INT_LEAST32_g();
+ /** */
+ public static final long H5T_NATIVE_INT_LEAST64 = H5T_NATIVE_INT_LEAST64_g();
+ /** */
+ public static final long H5T_NATIVE_INT_LEAST8 = H5T_NATIVE_INT_LEAST8_g();
+ /** */
+ public static final long H5T_NATIVE_INT16 = H5T_NATIVE_INT16_g();
+ /** */
+ public static final long H5T_NATIVE_INT32 = H5T_NATIVE_INT32_g();
+ /** */
+ public static final long H5T_NATIVE_INT64 = H5T_NATIVE_INT64_g();
+ /** */
+ public static final long H5T_NATIVE_INT8 = H5T_NATIVE_INT8_g();
+ /** */
+ public static final long H5T_NATIVE_LDOUBLE = H5T_NATIVE_LDOUBLE_g();
+ /** */
+ public static final long H5T_NATIVE_LLONG = H5T_NATIVE_LLONG_g();
+ /** */
+ public static final long H5T_NATIVE_LONG = H5T_NATIVE_LONG_g();
+ /** */
+ public static final long H5T_NATIVE_LDOUBLE_COMPLEX = H5T_NATIVE_LDOUBLE_COMPLEX_g();
+ /** */
+ public static final long H5T_NATIVE_OPAQUE = H5T_NATIVE_OPAQUE_g();
+ /** */
+ public static final long H5T_NATIVE_SCHAR = H5T_NATIVE_SCHAR_g();
+ /** */
+ public static final long H5T_NATIVE_SHORT = H5T_NATIVE_SHORT_g();
+ /** */
+ public static final long H5T_NATIVE_UCHAR = H5T_NATIVE_UCHAR_g();
+ /** */
+ public static final long H5T_NATIVE_UINT = H5T_NATIVE_UINT_g();
+ /** */
+ public static final long H5T_NATIVE_UINT_FAST16 = H5T_NATIVE_UINT_FAST16_g();
+ /** */
+ public static final long H5T_NATIVE_UINT_FAST32 = H5T_NATIVE_UINT_FAST32_g();
+ /** */
+ public static final long H5T_NATIVE_UINT_FAST64 = H5T_NATIVE_UINT_FAST64_g();
+ /** */
+ public static final long H5T_NATIVE_UINT_FAST8 = H5T_NATIVE_UINT_FAST8_g();
+ /** */
+ public static final long H5T_NATIVE_UINT_LEAST16 = H5T_NATIVE_UINT_LEAST16_g();
+ /** */
+ public static final long H5T_NATIVE_UINT_LEAST32 = H5T_NATIVE_UINT_LEAST32_g();
+ /** */
+ public static final long H5T_NATIVE_UINT_LEAST64 = H5T_NATIVE_UINT_LEAST64_g();
+ /** */
+ public static final long H5T_NATIVE_UINT_LEAST8 = H5T_NATIVE_UINT_LEAST8_g();
+ /** */
+ public static final long H5T_NATIVE_UINT16 = H5T_NATIVE_UINT16_g();
+ /** */
+ public static final long H5T_NATIVE_UINT32 = H5T_NATIVE_UINT32_g();
+ /** */
+ public static final long H5T_NATIVE_UINT64 = H5T_NATIVE_UINT64_g();
+ /** */
+ public static final long H5T_NATIVE_UINT8 = H5T_NATIVE_UINT8_g();
+ /** */
+ public static final long H5T_NATIVE_ULLONG = H5T_NATIVE_ULLONG_g();
+ /** */
+ public static final long H5T_NATIVE_ULONG = H5T_NATIVE_ULONG_g();
+ /** */
+ public static final long H5T_NATIVE_USHORT = H5T_NATIVE_USHORT_g();
+ /** */
+ public static final int H5T_NCLASSES = H5T_NCLASSES();
+ /** */
+ public static final int H5T_NO_CLASS = H5T_NO_CLASS();
+ /** */
+ public static final int H5T_NORM_ERROR = H5T_NORM_ERROR();
+ /** */
+ public static final int H5T_NORM_IMPLIED = H5T_NORM_IMPLIED();
+ /** */
+ public static final int H5T_NORM_MSBSET = H5T_NORM_MSBSET();
+ /** */
+ public static final int H5T_NORM_NONE = H5T_NORM_NONE();
+ /** */
+ public static final int H5T_NPAD = H5T_NPAD();
+ /** */
+ public static final int H5T_NSGN = H5T_NSGN();
+ /** */
+ public static final int H5T_OPAQUE = H5T_OPAQUE();
+ /** */
+ public static final int H5T_OPAQUE_TAG_MAX = H5T_OPAQUE_TAG_MAX(); /* 1.6.5 */
+ /** */
+ public static final int H5T_ORDER_BE = H5T_ORDER_BE();
+ /** */
+ public static final int H5T_ORDER_ERROR = H5T_ORDER_ERROR();
+ /** */
+ public static final int H5T_ORDER_LE = H5T_ORDER_LE();
+ /** */
+ public static final int H5T_ORDER_NONE = H5T_ORDER_NONE();
+ /** */
+ public static final int H5T_ORDER_VAX = H5T_ORDER_VAX();
+ /** */
+ public static final int H5T_PAD_BACKGROUND = H5T_PAD_BACKGROUND();
+ /** */
+ public static final int H5T_PAD_ERROR = H5T_PAD_ERROR();
+ /** */
+ public static final int H5T_PAD_ONE = H5T_PAD_ONE();
+ /** */
+ public static final int H5T_PAD_ZERO = H5T_PAD_ZERO();
+ /** */
+ public static final int H5T_PERS_DONTCARE = H5T_PERS_DONTCARE();
+ /** */
+ public static final int H5T_PERS_HARD = H5T_PERS_HARD();
+ /** */
+ public static final int H5T_PERS_SOFT = H5T_PERS_SOFT();
+ /** */
+ public static final int H5T_REFERENCE = H5T_REFERENCE();
+ /** */
+ public static final int H5T_SGN_2 = H5T_SGN_2();
+ /** */
+ public static final int H5T_SGN_ERROR = H5T_SGN_ERROR();
+ /** */
+ public static final int H5T_SGN_NONE = H5T_SGN_NONE();
+ /** */
+ public static final long H5T_STD_B16BE = H5T_STD_B16BE_g();
+ /** */
+ public static final long H5T_STD_B16LE = H5T_STD_B16LE_g();
+ /** */
+ public static final long H5T_STD_B32BE = H5T_STD_B32BE_g();
+ /** */
+ public static final long H5T_STD_B32LE = H5T_STD_B32LE_g();
+ /** */
+ public static final long H5T_STD_B64BE = H5T_STD_B64BE_g();
+ /** */
+ public static final long H5T_STD_B64LE = H5T_STD_B64LE_g();
+ /** */
+ public static final long H5T_STD_B8BE = H5T_STD_B8BE_g();
+ /** */
+ public static final long H5T_STD_B8LE = H5T_STD_B8LE_g();
+ /** */
+ public static final long H5T_STD_I16BE = H5T_STD_I16BE_g();
+ /** */
+ public static final long H5T_STD_I16LE = H5T_STD_I16LE_g();
+ /** */
+ public static final long H5T_STD_I32BE = H5T_STD_I32BE_g();
+ /** */
+ public static final long H5T_STD_I32LE = H5T_STD_I32LE_g();
+ /** */
+ public static final long H5T_STD_I64BE = H5T_STD_I64BE_g();
+ /** */
+ public static final long H5T_STD_I64LE = H5T_STD_I64LE_g();
+ /** */
+ public static final long H5T_STD_I8BE = H5T_STD_I8BE_g();
+ /** */
+ public static final long H5T_STD_I8LE = H5T_STD_I8LE_g();
+ /** */
+ public static final long H5T_STD_REF_DSETREG = H5T_STD_REF_DSETREG_g();
+ /** */
+ public static final long H5T_STD_REF_OBJ = H5T_STD_REF_OBJ_g();
+ /** */
+ public static final long H5T_STD_REF = H5T_STD_REF_g();
+ /** */
+ public static final long H5T_STD_U16BE = H5T_STD_U16BE_g();
+ /** */
+ public static final long H5T_STD_U16LE = H5T_STD_U16LE_g();
+ /** */
+ public static final long H5T_STD_U32BE = H5T_STD_U32BE_g();
+ /** */
+ public static final long H5T_STD_U32LE = H5T_STD_U32LE_g();
+ /** */
+ public static final long H5T_STD_U64BE = H5T_STD_U64BE_g();
+ /** */
+ public static final long H5T_STD_U64LE = H5T_STD_U64LE_g();
+ /** */
+ public static final long H5T_STD_U8BE = H5T_STD_U8BE_g();
+ /** */
+ public static final long H5T_STD_U8LE = H5T_STD_U8LE_g();
+ /** */
+ public static final int H5T_STR_ERROR = H5T_STR_ERROR();
+ /** */
+ public static final int H5T_STR_NULLPAD = H5T_STR_NULLPAD();
+ /** */
+ public static final int H5T_STR_NULLTERM = H5T_STR_NULLTERM();
+ /** */
+ public static final int H5T_STR_RESERVED_10 = H5T_STR_RESERVED_10();
+ /** */
+ public static final int H5T_STR_RESERVED_11 = H5T_STR_RESERVED_11();
+ /** */
+ public static final int H5T_STR_RESERVED_12 = H5T_STR_RESERVED_12();
+ /** */
+ public static final int H5T_STR_RESERVED_13 = H5T_STR_RESERVED_13();
+ /** */
+ public static final int H5T_STR_RESERVED_14 = H5T_STR_RESERVED_14();
+ /** */
+ public static final int H5T_STR_RESERVED_15 = H5T_STR_RESERVED_15();
+ /** */
+ public static final int H5T_STR_RESERVED_3 = H5T_STR_RESERVED_3();
+ /** */
+ public static final int H5T_STR_RESERVED_4 = H5T_STR_RESERVED_4();
+ /** */
+ public static final int H5T_STR_RESERVED_5 = H5T_STR_RESERVED_5();
+ /** */
+ public static final int H5T_STR_RESERVED_6 = H5T_STR_RESERVED_6();
+ /** */
+ public static final int H5T_STR_RESERVED_7 = H5T_STR_RESERVED_7();
+ /** */
+ public static final int H5T_STR_RESERVED_8 = H5T_STR_RESERVED_8();
+ /** */
+ public static final int H5T_STR_RESERVED_9 = H5T_STR_RESERVED_9();
+ /** */
+ public static final int H5T_STR_SPACEPAD = H5T_STR_SPACEPAD();
+ /** */
+ public static final int H5T_STRING = H5T_STRING();
+ /** */
+ public static final int H5T_TIME = H5T_TIME();
+ /** */
+ public static final long H5T_UNIX_D32BE = H5T_UNIX_D32BE_g();
+ /** */
+ public static final long H5T_UNIX_D32LE = H5T_UNIX_D32LE_g();
+ /** */
+ public static final long H5T_UNIX_D64BE = H5T_UNIX_D64BE_g();
+ /** */
+ public static final long H5T_UNIX_D64LE = H5T_UNIX_D64LE_g();
+ /** */
+ public static final long H5T_VARIABLE = H5T_VARIABLE();
+ /** */
+ public static final int H5T_VLEN = H5T_VLEN();
+
+ /** */
+ public static final int H5VL_CAP_FLAG_NONE = H5VL_CAP_FLAG_NONE();
+ /** */
+ public static final int H5VL_CAP_FLAG_THREADSAFE = H5VL_CAP_FLAG_THREADSAFE();
+ /** */
+ public static final long H5VL_NATIVE = H5VL_NATIVE_g();
+ /** */
+ public static final String H5VL_NATIVE_NAME = H5VL_NATIVE_NAME().getString(0);
+ /** */
+ public static final int H5VL_NATIVE_VALUE = H5VL_NATIVE_VALUE();
+ /** */
+ public static final int H5VL_NATIVE_VERSION = H5VL_NATIVE_VERSION();
+ /** */
+ public static final int H5_VOL_INVALID = H5_VOL_INVALID();
+ /** */
+ public static final int H5_VOL_NATIVE = H5_VOL_NATIVE();
+ /** */
+ public static final int H5_VOL_RESERVED = H5_VOL_RESERVED();
+ /** */
+ public static final int H5_VOL_MAX = H5_VOL_MAX();
+
+ /** Return values for filter callback function */
+ public static final int H5Z_CB_CONT = H5Z_CB_CONT();
+ /** Return values for filter callback function */
+ public static final int H5Z_CB_ERROR = H5Z_CB_ERROR();
+ /** Return values for filter callback function */
+ public static final int H5Z_CB_FAIL = H5Z_CB_FAIL();
+ /** Return values for filter callback function */
+ public static final int H5Z_CB_NO = H5Z_CB_NO();
+ /** Values to decide if EDC is enabled for reading data */
+ public static final int H5Z_DISABLE_EDC = H5Z_DISABLE_EDC();
+ /** Values to decide if EDC is enabled for reading data */
+ public static final int H5Z_ENABLE_EDC = H5Z_ENABLE_EDC();
+ /** Values to decide if EDC is enabled for reading data */
+ public static final int H5Z_ERROR_EDC = H5Z_ERROR_EDC();
+ /** Filter IDs - deflation like gzip */
+ public static final int H5Z_FILTER_DEFLATE = H5Z_FILTER_DEFLATE();
+ /** Filter IDs - no filter */
+ public static final int H5Z_FILTER_ERROR = H5Z_FILTER_ERROR();
+ /** Filter IDs - fletcher32 checksum of EDC */
+ public static final int H5Z_FILTER_FLETCHER32 = H5Z_FILTER_FLETCHER32();
+ /** Filter IDs - maximum filter id */
+ public static final int H5Z_FILTER_MAX = H5Z_FILTER_MAX();
+ /** Filter IDs - nbit compression */
+ public static final int H5Z_FILTER_NBIT = H5Z_FILTER_NBIT();
+ /** Filter IDs - reserved indefinitely */
+ public static final int H5Z_FILTER_NONE = H5Z_FILTER_NONE();
+ /** Filter IDs - filter ids below this value are reserved for library use */
+ public static final int H5Z_FILTER_RESERVED = H5Z_FILTER_RESERVED();
+ /** Filter IDs - scale+offset compression */
+ public static final int H5Z_FILTER_SCALEOFFSET = H5Z_FILTER_SCALEOFFSET();
+ /** Filter IDs - shuffle the data */
+ public static final int H5Z_FILTER_SHUFFLE = H5Z_FILTER_SHUFFLE();
+ /** Filter IDs - szip compression */
+ public static final int H5Z_FILTER_SZIP = H5Z_FILTER_SZIP();
+ /**
+ * Flags for filter definition (stored)
+ * definition flag mask
+ */
+ public static final int H5Z_FLAG_DEFMASK = H5Z_FLAG_DEFMASK();
+ /**
+ * Additional flags for filter invocation (not stored)
+ * invocation flag mask
+ */
+ public static final int H5Z_FLAG_INVMASK = H5Z_FLAG_INVMASK();
+ /**
+ * Flags for filter definition (stored)
+ * filter is mandatory
+ */
+ public static final int H5Z_FLAG_MANDATORY = H5Z_FLAG_MANDATORY();
+ /**
+ * Flags for filter definition (stored)
+ * filter is optional
+ */
+ public static final int H5Z_FLAG_OPTIONAL = H5Z_FLAG_OPTIONAL();
+ /**
+ * Additional flags for filter invocation (not stored)
+ * reverse direction; read
+ */
+ public static final int H5Z_FLAG_REVERSE = H5Z_FLAG_REVERSE();
+ /**
+ * Additional flags for filter invocation (not stored)
+ * skip EDC filters for read
+ */
+ public static final int H5Z_FLAG_SKIP_EDC = H5Z_FLAG_SKIP_EDC();
+ /** Symbol to remove all filters in H5Premove_filter */
+ public static final int H5Z_FILTER_ALL = H5Z_FILTER_ALL();
+ /** Maximum number of filters allowed in a pipeline */
+ public static final int H5Z_MAX_NFILTERS = H5Z_MAX_NFILTERS();
+ /** Values to decide if EDC is enabled for reading data */
+ public static final int H5Z_NO_EDC = H5Z_NO_EDC();
+ /** Bit flags for H5Zget_filter_info */
+ public static final int H5Z_FILTER_CONFIG_ENCODE_ENABLED = H5Z_FILTER_CONFIG_ENCODE_ENABLED();
+ /** Bit flags for H5Zget_filter_info */
+ public static final int H5Z_FILTER_CONFIG_DECODE_ENABLED = H5Z_FILTER_CONFIG_DECODE_ENABLED();
+ /** Special parameters for ScaleOffset filter*/
+ public static final int H5Z_SO_INT_MINBITS_DEFAULT = H5Z_SO_INT_MINBITS_DEFAULT();
+ /** Special parameters for ScaleOffset filter*/
+ public static final int H5Z_SO_FLOAT_DSCALE = H5Z_SO_FLOAT_DSCALE();
+ /** Special parameters for ScaleOffset filter*/
+ public static final int H5Z_SO_FLOAT_ESCALE = H5Z_SO_FLOAT_ESCALE();
+ /** Special parameters for ScaleOffset filter*/
+ public static final int H5Z_SO_INT = H5Z_SO_INT();
+ /** shuffle filter - Number of parameters that users can set */
+ public static final int H5Z_SHUFFLE_USER_NPARMS = H5Z_SHUFFLE_USER_NPARMS();
+ /** shuffle filter - Total number of parameters for filter */
+ public static final int H5Z_SHUFFLE_TOTAL_NPARMS = H5Z_SHUFFLE_TOTAL_NPARMS();
+ /** szip filter - Number of parameters that users can set */
+ public static final int H5Z_SZIP_USER_NPARMS = H5Z_SZIP_USER_NPARMS();
+ /** szip filter - Total number of parameters for filter */
+ public static final int H5Z_SZIP_TOTAL_NPARMS = H5Z_SZIP_TOTAL_NPARMS();
+ /** szip filter - "User" parameter for option mask */
+ public static final int H5Z_SZIP_PARM_MASK = H5Z_SZIP_PARM_MASK();
+ /** szip filter - "User" parameter for pixels-per-block */
+ public static final int H5Z_SZIP_PARM_PPB = H5Z_SZIP_PARM_PPB();
+ /** szip filter - "Local" parameter for bits-per-pixel */
+ public static final int H5Z_SZIP_PARM_BPP = H5Z_SZIP_PARM_BPP();
+ /** szip filter - "Local" parameter for pixels-per-scanline */
+ public static final int H5Z_SZIP_PARM_PPS = H5Z_SZIP_PARM_PPS();
+ /** nbit filter - Number of parameters that users can set */
+ public static final int H5Z_NBIT_USER_NPARMS = H5Z_NBIT_USER_NPARMS();
+ /** scale offset filter - Number of parameters that users can set */
+ public static final int H5Z_SCALEOFFSET_USER_NPARMS = H5Z_SCALEOFFSET_USER_NPARMS();
+}
diff --git a/java/hdf/hdf5lib/HDFArray.java b/java/hdf/hdf5lib/HDFArray.java
new file mode 100644
index 00000000000..e339e5852b9
--- /dev/null
+++ b/java/hdf/hdf5lib/HDFArray.java
@@ -0,0 +1,1056 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib;
+
+import java.nio.ByteBuffer;
+import java.nio.ByteOrder;
+import java.nio.DoubleBuffer;
+import java.nio.FloatBuffer;
+import java.nio.IntBuffer;
+import java.nio.LongBuffer;
+import java.nio.ShortBuffer;
+import java.util.Arrays;
+
+import hdf.hdf5lib.exceptions.HDF5Exception;
+import hdf.hdf5lib.exceptions.HDF5JavaException;
+
+/**
+ * \page HDFARRAY Java Array Conversion This is a class for handling multidimensional arrays for HDF.
+ *
+ * The purpose is to allow the storage and retrieval of arbitrary array types containing scientific data.
+ *
+ * The methods support the conversion of an array to and from Java to a one-dimensional array of bytes
+ * suitable for I/O by the C library.
This class heavily uses the
+ *
+ * @ref HDFNATIVE class to convert between Java and C representations.
+ */
+
+public class HDFArray {
+ private Object _theArray = null;
+ private ArrayDescriptor _desc = null;
+ private byte[] _barray = null;
+
+ // public HDFArray() {}
+
+ /**
+ * The input must be a Java Array (possibly multidimensional) of primitive numbers or sub-classes of
+ * Number.
The input is analysed to determine the number of dimensions and size of each dimension, as
+ * well as the type of the elements.
The description is saved in private variables, and used to
+ * convert data.
+ *
+ * @param anArray The array object.
+ * @exception hdf.hdf5lib.exceptions.HDF5JavaException object is not an array.
+ */
+ public HDFArray(Object anArray) throws HDF5JavaException
+ {
+ if (anArray == null) {
+ HDF5JavaException ex = new HDF5JavaException("HDFArray: array is null?: ");
+ }
+ Class tc = anArray.getClass();
+ if (tc.isArray() == false) {
+ /* exception: not an array */
+ HDF5JavaException ex = new HDF5JavaException("HDFArray: not an array?: ");
+ throw(ex);
+ }
+ _theArray = anArray;
+ _desc = new ArrayDescriptor(_theArray);
+
+ /* extra error checking -- probably not needed */
+ if (_desc == null) {
+ HDF5JavaException ex =
+ new HDF5JavaException("HDFArray: internal error: array description failed?: ");
+ throw(ex);
+ }
+ }
+
+ /**
+ * Allocate a one-dimensional array of bytes sufficient to store the array.
+ *
+ * @return A one-D array of bytes, filled with zeroes. The bytes are sufficient to hold the data of the
+ * Array passed
+ * to the constructor.
+ * @exception hdf.hdf5lib.exceptions.HDF5JavaException Allocation failed.
+ */
+
+ public byte[] emptyBytes() throws HDF5JavaException
+ {
+ byte[] b = null;
+
+ if ((ArrayDescriptor.dims == 1) && (ArrayDescriptor.NT == 'B')) {
+ b = (byte[])_theArray;
+ }
+ else {
+ b = new byte[ArrayDescriptor.totalSize];
+ }
+ if (b == null) {
+ HDF5JavaException ex = new HDF5JavaException("HDFArray: emptyBytes: allocation failed");
+ throw(ex);
+ }
+ return (b);
+ }
+
+ /**
+ * Given a Java array of numbers, convert it to a one-dimensional array of bytes in correct native order.
+ *
+ * @return A one-D array of bytes, constructed from the Array passed to the constructor.
+ * @exception hdf.hdf5lib.exceptions.HDF5JavaException the object not an array or other internal error.
+ */
+ public byte[] byteify() throws HDF5JavaException
+ {
+ if (_barray != null) {
+ return _barray;
+ }
+
+ if (_theArray == null) {
+ /* exception: not an array */
+ HDF5JavaException ex = new HDF5JavaException("HDFArray: byteify not an array?: ");
+ throw(ex);
+ }
+
+ if (ArrayDescriptor.dims == 1) {
+ /* special case */
+ if (ArrayDescriptor.NT == 'B') {
+ /* really special case! */
+ _barray = (byte[])_theArray;
+ return _barray;
+ }
+ else {
+ try {
+ _barray = new byte[ArrayDescriptor.totalSize];
+
+ byte[] therow;
+ if (ArrayDescriptor.NT == 'I') {
+ ByteBuffer byteBuffer = ByteBuffer.allocate(ArrayDescriptor.dimlen[1] * Integer.SIZE);
+ byteBuffer.order(ByteOrder.nativeOrder());
+ IntBuffer intBuffer = byteBuffer.asIntBuffer();
+ intBuffer.put((int[])_theArray);
+ therow = byteBuffer.array();
+ }
+ else if (ArrayDescriptor.NT == 'S') {
+ ByteBuffer byteBuffer = ByteBuffer.allocate(ArrayDescriptor.dimlen[1] * Short.SIZE);
+ byteBuffer.order(ByteOrder.nativeOrder());
+ ShortBuffer shortBuffer = byteBuffer.asShortBuffer();
+ shortBuffer.put((short[])_theArray);
+ therow = byteBuffer.array();
+ }
+ else if (ArrayDescriptor.NT == 'F') {
+ ByteBuffer byteBuffer = ByteBuffer.allocate(ArrayDescriptor.dimlen[1] * Float.SIZE);
+ byteBuffer.order(ByteOrder.nativeOrder());
+ FloatBuffer floatBuffer = byteBuffer.asFloatBuffer();
+ floatBuffer.put((float[])_theArray);
+ therow = byteBuffer.array();
+ }
+ else if (ArrayDescriptor.NT == 'J') {
+ ByteBuffer byteBuffer = ByteBuffer.allocate(ArrayDescriptor.dimlen[1] * Long.SIZE);
+ byteBuffer.order(ByteOrder.nativeOrder());
+ LongBuffer longBuffer = byteBuffer.asLongBuffer();
+ longBuffer.put((long[])_theArray);
+ therow = byteBuffer.array();
+ }
+ else if (ArrayDescriptor.NT == 'D') {
+ ByteBuffer byteBuffer = ByteBuffer.allocate(ArrayDescriptor.dimlen[1] * Double.SIZE);
+ byteBuffer.order(ByteOrder.nativeOrder());
+ DoubleBuffer doubleBuffer = byteBuffer.asDoubleBuffer();
+ doubleBuffer.put((double[])_theArray);
+ therow = byteBuffer.array();
+ }
+ else if (ArrayDescriptor.NT == 'L') {
+ if (ArrayDescriptor.className.equals("java.lang.Byte")) {
+ therow = ByteObjToByte((Byte[])_theArray);
+ }
+ else if (ArrayDescriptor.className.equals("java.lang.Integer")) {
+ therow = IntegerToByte((Integer[])_theArray);
+ }
+ else if (ArrayDescriptor.className.equals("java.lang.Short")) {
+ therow = ShortToByte((Short[])_theArray);
+ }
+ else if (ArrayDescriptor.className.equals("java.lang.Float")) {
+ therow = FloatObjToByte((Float[])_theArray);
+ }
+ else if (ArrayDescriptor.className.equals("java.lang.Double")) {
+ therow = DoubleObjToByte((Double[])_theArray);
+ }
+ else if (ArrayDescriptor.className.equals("java.lang.Long")) {
+ therow = LongObjToByte((Long[])_theArray);
+ }
+ else {
+ HDF5JavaException ex = new HDF5JavaException("HDFArray: unknown type of Object?");
+ throw(ex);
+ }
+ }
+ else {
+ HDF5JavaException ex = new HDF5JavaException("HDFArray: unknown type of data?");
+ throw(ex);
+ }
+ System.arraycopy(therow, 0, _barray, 0,
+ (ArrayDescriptor.dimlen[1] * ArrayDescriptor.NTsize));
+ return _barray;
+ }
+ catch (OutOfMemoryError err) {
+ HDF5JavaException ex = new HDF5JavaException("HDFArray: byteify array too big?");
+ throw(ex);
+ }
+ }
+ }
+
+ try {
+ _barray = new byte[ArrayDescriptor.totalSize];
+ }
+ catch (OutOfMemoryError err) {
+ HDF5JavaException ex = new HDF5JavaException("HDFArray: byteify array too big?");
+ throw(ex);
+ }
+
+ Object oo = _theArray;
+ int n = 0; /* the current byte */
+ int index = 0;
+ int i;
+ while (n < ArrayDescriptor.totalSize) {
+ oo = ArrayDescriptor.objs[0];
+ index = n / ArrayDescriptor.bytetoindex[0];
+ index %= ArrayDescriptor.dimlen[0];
+ for (i = 0; i < (ArrayDescriptor.dims); i++) {
+ index = n / ArrayDescriptor.bytetoindex[i];
+ index %= ArrayDescriptor.dimlen[i];
+
+ if (index == ArrayDescriptor.currentindex[i]) {
+ /* then use cached copy */
+ oo = ArrayDescriptor.objs[i];
+ }
+ else {
+ /* check range of index */
+ if (index > (ArrayDescriptor.dimlen[i] - 1)) {
+ throw new java.lang.IndexOutOfBoundsException("HDFArray: byteify index OOB?");
+ }
+ oo = java.lang.reflect.Array.get(oo, index);
+ ArrayDescriptor.currentindex[i] = index;
+ ArrayDescriptor.objs[i] = oo;
+ }
+ }
+
+ /* byte-ify */
+ byte arow[];
+ try {
+ if (ArrayDescriptor.NT == 'J') {
+ ByteBuffer byteBuffer =
+ ByteBuffer.allocate(ArrayDescriptor.dimlen[ArrayDescriptor.dims] * Long.BYTES);
+ byteBuffer.order(ByteOrder.nativeOrder());
+ LongBuffer longBuffer = byteBuffer.asLongBuffer();
+ longBuffer.put((long[])ArrayDescriptor.objs[ArrayDescriptor.dims - 1]);
+ arow = byteBuffer.array();
+ }
+ else if (ArrayDescriptor.NT == 'I') {
+ ByteBuffer byteBuffer =
+ ByteBuffer.allocate(ArrayDescriptor.dimlen[ArrayDescriptor.dims] * Integer.BYTES);
+ byteBuffer.order(ByteOrder.nativeOrder());
+ IntBuffer intBuffer = byteBuffer.asIntBuffer();
+ intBuffer.put((int[])ArrayDescriptor.objs[ArrayDescriptor.dims - 1]);
+ arow = byteBuffer.array();
+ }
+ else if (ArrayDescriptor.NT == 'S') {
+ ByteBuffer byteBuffer =
+ ByteBuffer.allocate(ArrayDescriptor.dimlen[ArrayDescriptor.dims] * Short.BYTES);
+ byteBuffer.order(ByteOrder.nativeOrder());
+ ShortBuffer shortBuffer = byteBuffer.asShortBuffer();
+ shortBuffer.put((short[])ArrayDescriptor.objs[ArrayDescriptor.dims - 1]);
+ arow = byteBuffer.array();
+ }
+ else if (ArrayDescriptor.NT == 'B') {
+ arow = (byte[])ArrayDescriptor.objs[ArrayDescriptor.dims - 1];
+ }
+ else if (ArrayDescriptor.NT == 'F') {
+ /* 32 bit float */
+ ByteBuffer byteBuffer =
+ ByteBuffer.allocate(ArrayDescriptor.dimlen[ArrayDescriptor.dims] * Float.BYTES);
+ byteBuffer.order(ByteOrder.nativeOrder());
+ FloatBuffer floatBuffer = byteBuffer.asFloatBuffer();
+ floatBuffer.put((float[])ArrayDescriptor.objs[ArrayDescriptor.dims - 1]);
+ arow = byteBuffer.array();
+ }
+ else if (ArrayDescriptor.NT == 'D') {
+ /* 64 bit float */
+ ByteBuffer byteBuffer =
+ ByteBuffer.allocate(ArrayDescriptor.dimlen[ArrayDescriptor.dims] * Double.BYTES);
+ byteBuffer.order(ByteOrder.nativeOrder());
+ DoubleBuffer doubleBuffer = byteBuffer.asDoubleBuffer();
+ doubleBuffer.put((double[])ArrayDescriptor.objs[ArrayDescriptor.dims - 1]);
+ arow = byteBuffer.array();
+ }
+ else if (ArrayDescriptor.NT == 'L') {
+ if (ArrayDescriptor.className.equals("java.lang.Byte")) {
+ arow = ByteObjToByte((Byte[])ArrayDescriptor.objs[ArrayDescriptor.dims - 1]);
+ }
+ else if (ArrayDescriptor.className.equals("java.lang.Integer")) {
+ arow = IntegerToByte((Integer[])ArrayDescriptor.objs[ArrayDescriptor.dims - 1]);
+ }
+ else if (ArrayDescriptor.className.equals("java.lang.Short")) {
+ arow = ShortToByte((Short[])ArrayDescriptor.objs[ArrayDescriptor.dims - 1]);
+ }
+ else if (ArrayDescriptor.className.equals("java.lang.Float")) {
+ arow = FloatObjToByte((Float[])ArrayDescriptor.objs[ArrayDescriptor.dims - 1]);
+ }
+ else if (ArrayDescriptor.className.equals("java.lang.Double")) {
+ arow = DoubleObjToByte((Double[])ArrayDescriptor.objs[ArrayDescriptor.dims - 1]);
+ }
+ else if (ArrayDescriptor.className.equals("java.lang.Long")) {
+ arow = LongObjToByte((Long[])ArrayDescriptor.objs[ArrayDescriptor.dims - 1]);
+ }
+ else {
+ HDF5JavaException ex =
+ new HDF5JavaException("HDFArray: byteify Object type not implemented?");
+ throw(ex);
+ }
+ }
+ else {
+ HDF5JavaException ex =
+ new HDF5JavaException("HDFArray: byteify unknown type not implemented?");
+ throw(ex);
+ }
+ System.arraycopy(arow, 0, _barray, n,
+ (ArrayDescriptor.dimlen[ArrayDescriptor.dims] * ArrayDescriptor.NTsize));
+ n += ArrayDescriptor.bytetoindex[ArrayDescriptor.dims - 1];
+ }
+ catch (OutOfMemoryError err) {
+ HDF5JavaException ex = new HDF5JavaException("HDFArray: byteify array too big?");
+ throw(ex);
+ }
+ }
+ /* assert: the whole array is completed--currentindex should == len - 1 */
+ /* error checks */
+ if (n < ArrayDescriptor.totalSize) {
+ throw new java.lang.InternalError(
+ new String("HDFArray::byteify: Panic didn't complete all input data: n= " + n +
+ " size = " + ArrayDescriptor.totalSize));
+ }
+ for (i = 0; i < ArrayDescriptor.dims; i++) {
+ if (ArrayDescriptor.currentindex[i] != ArrayDescriptor.dimlen[i] - 1) {
+ throw new java.lang.InternalError(new String("Panic didn't complete all data: currentindex[" +
+ i + "] = " + ArrayDescriptor.currentindex[i] +
+ " (should be " +
+ (ArrayDescriptor.dimlen[i] - 1) + " ?)"));
+ }
+ }
+ return _barray;
+ }
+
+ /**
+ * Given a one-dimensional array of bytes representing numbers, convert it to a java array of the shape
+ * and size passed to the constructor.
+ *
+ * @param bytes The bytes to construct the Array.
+ * @return An Array (possibly multidimensional) of primitive or number objects.
+ * @exception hdf.hdf5lib.exceptions.HDF5JavaException the object not an array or other internal error.
+ */
+ public Object arrayify(byte[] bytes) throws HDF5JavaException
+ {
+ if (_theArray == null) {
+ /* exception: not an array */
+ HDF5JavaException ex = new HDF5JavaException("arrayify: not an array?: ");
+ throw(ex);
+ }
+
+ if (java.lang.reflect.Array.getLength(bytes) != ArrayDescriptor.totalSize) {
+ /* exception: array not right size */
+ HDF5JavaException ex = new HDF5JavaException("arrayify: array is wrong size?: ");
+ throw(ex);
+ }
+ _barray = bytes; /* hope that the bytes are correct.... */
+ Object oo = _theArray;
+ int n = 0; /* the current byte */
+ int m = 0; /* the current array index */
+ int index = 0;
+ int i;
+ Object flattenedArray = null;
+
+ // Wrap the byte array in a ByteBuffer
+ ByteBuffer byteBuffer = ByteBuffer.wrap(_barray);
+ byteBuffer.order(ByteOrder.LITTLE_ENDIAN); // Set byte order to little-endian
+
+ switch (ArrayDescriptor.NT) {
+ case 'J': {
+ // Calculate the size of the new long array
+ int longArraySize = _barray.length / Long.BYTES;
+ long[] flatArray = new long[longArraySize];
+
+ // Populate the long array
+ for (i = 0; i < longArraySize; i++) {
+ flatArray[i] = byteBuffer.getLong();
+ }
+ flattenedArray = (Object)flatArray;
+ } break;
+ case 'S': {
+ // Calculate the size of the new short array
+ int shortArraySize = _barray.length / Short.BYTES;
+ short[] flatArray = new short[shortArraySize];
+
+ // Populate the short array
+ for (i = 0; i < shortArraySize; i++) {
+ flatArray[i] = byteBuffer.getShort();
+ }
+ flattenedArray = (Object)flatArray;
+ } break;
+ case 'I': {
+ // Calculate the size of the new int array
+ int intArraySize = _barray.length / Integer.BYTES;
+ int[] flatArray = new int[intArraySize];
+
+ // Populate the int array
+ for (i = 0; i < intArraySize; i++) {
+ flatArray[i] = byteBuffer.getInt();
+ }
+ flattenedArray = (Object)flatArray;
+ } break;
+ case 'F': {
+ // Calculate the size of the new float array
+ int floatArraySize = _barray.length / Float.BYTES;
+ float[] flatArray = new float[floatArraySize];
+
+ // Populate the float array
+ for (i = 0; i < floatArraySize; i++) {
+ flatArray[i] = byteBuffer.getFloat();
+ }
+ flattenedArray = (Object)flatArray;
+ } break;
+ case 'D': {
+ // Calculate the size of the new double array
+ int doubleArraySize = _barray.length / Double.BYTES;
+ double[] flatArray = new double[doubleArraySize];
+
+ // Populate the double array
+ for (i = 0; i < doubleArraySize; i++) {
+ flatArray[i] = byteBuffer.getDouble();
+ }
+ flattenedArray = (Object)flatArray;
+ } break;
+ case 'B':
+ flattenedArray = (Object)_barray;
+ break;
+ case 'L': {
+ if (ArrayDescriptor.className.equals("java.lang.Byte"))
+ flattenedArray = (Object)ByteToByteObj(_barray);
+ else if (ArrayDescriptor.className.equals("java.lang.Short"))
+ flattenedArray = (Object)ByteToShort(_barray);
+ else if (ArrayDescriptor.className.equals("java.lang.Integer"))
+ flattenedArray = (Object)ByteToInteger(_barray);
+ else if (ArrayDescriptor.className.equals("java.lang.Long"))
+ flattenedArray = (Object)ByteToLongObj(_barray);
+ else if (ArrayDescriptor.className.equals("java.lang.Float"))
+ flattenedArray = (Object)ByteToFloatObj(_barray);
+ else if (ArrayDescriptor.className.equals("java.lang.Double"))
+ flattenedArray = (Object)ByteToDoubleObj(_barray);
+ else {
+ HDF5JavaException ex =
+ new HDF5JavaException("HDFArray: unsupported Object type: " + ArrayDescriptor.NT);
+ throw(ex);
+ }
+ break;
+ } // end of statement for arrays of boxed objects
+ default:
+ HDF5JavaException ex =
+ new HDF5JavaException("HDFArray: unknown or unsupported type: " + ArrayDescriptor.NT);
+ throw(ex);
+ } // end of switch statement for arrays of primitives
+
+ while (n < ArrayDescriptor.totalSize) {
+ oo = ArrayDescriptor.objs[0];
+ index = n / ArrayDescriptor.bytetoindex[0];
+ index %= ArrayDescriptor.dimlen[0];
+ for (i = 0; i < (ArrayDescriptor.dims); i++) {
+ index = n / ArrayDescriptor.bytetoindex[i];
+ index %= ArrayDescriptor.dimlen[i];
+
+ if (index == ArrayDescriptor.currentindex[i]) {
+ /* then use cached copy */
+ oo = ArrayDescriptor.objs[i];
+ }
+ else {
+ /* check range of index */
+ if (index > (ArrayDescriptor.dimlen[i] - 1)) {
+ System.out.println("out of bounds?");
+ return null;
+ }
+ oo = java.lang.reflect.Array.get(oo, index);
+ ArrayDescriptor.currentindex[i] = index;
+ ArrayDescriptor.objs[i] = oo;
+ }
+ }
+
+ /* array-ify */
+ try {
+ Object arow = null;
+ int mm = m + ArrayDescriptor.dimlen[ArrayDescriptor.dims];
+ switch (ArrayDescriptor.NT) {
+ case 'B':
+ arow = (Object)Arrays.copyOfRange((byte[])flattenedArray, m, mm);
+ break;
+ case 'S':
+ arow = (Object)Arrays.copyOfRange((short[])flattenedArray, m, mm);
+ break;
+ case 'I':
+ arow = (Object)Arrays.copyOfRange((int[])flattenedArray, m, mm);
+ break;
+ case 'J':
+ arow = (Object)Arrays.copyOfRange((long[])flattenedArray, m, mm);
+ break;
+ case 'F':
+ arow = (Object)Arrays.copyOfRange((float[])flattenedArray, m, mm);
+ break;
+ case 'D':
+ arow = (Object)Arrays.copyOfRange((double[])flattenedArray, m, mm);
+ break;
+ case 'L': {
+ if (ArrayDescriptor.className.equals("java.lang.Byte"))
+ arow = (Object)Arrays.copyOfRange((Byte[])flattenedArray, m, mm);
+ else if (ArrayDescriptor.className.equals("java.lang.Short"))
+ arow = (Object)Arrays.copyOfRange((Short[])flattenedArray, m, mm);
+ else if (ArrayDescriptor.className.equals("java.lang.Integer"))
+ arow = (Object)Arrays.copyOfRange((Integer[])flattenedArray, m, mm);
+ else if (ArrayDescriptor.className.equals("java.lang.Long"))
+ arow = (Object)Arrays.copyOfRange((Long[])flattenedArray, m, mm);
+ else if (ArrayDescriptor.className.equals("java.lang.Float"))
+ arow = (Object)Arrays.copyOfRange((Float[])flattenedArray, m, mm);
+ else if (ArrayDescriptor.className.equals("java.lang.Double"))
+ arow = (Object)Arrays.copyOfRange((Double[])flattenedArray, m, mm);
+ else {
+ HDF5JavaException ex =
+ new HDF5JavaException("HDFArray: unsupported Object type: " + ArrayDescriptor.NT);
+ throw(ex);
+ }
+ break;
+ } // end of statement for arrays of boxed numerics
+ } // end of switch statement for arrays of primitives
+
+ if (ArrayDescriptor.dims > 1) {
+ java.lang.reflect.Array.set(ArrayDescriptor.objs[ArrayDescriptor.dims - 2],
+ (ArrayDescriptor.currentindex[ArrayDescriptor.dims - 1]),
+ arow);
+ }
+ n += ArrayDescriptor.bytetoindex[ArrayDescriptor.dims - 1];
+ ArrayDescriptor.currentindex[ArrayDescriptor.dims - 1]++;
+ m = mm;
+ }
+ catch (OutOfMemoryError err) {
+ HDF5JavaException ex = new HDF5JavaException("HDFArray: arrayify array too big?");
+ throw(ex);
+ }
+ }
+
+ /* assert: the whole array is completed--currentindex should == len - 1 */
+ /* error checks */
+ if (n < ArrayDescriptor.totalSize) {
+ throw new java.lang.InternalError(
+ new String("HDFArray::arrayify Panic didn't complete all input data: n= " + n +
+ " size = " + ArrayDescriptor.totalSize));
+ }
+ for (i = 0; i <= ArrayDescriptor.dims - 2; i++) {
+ if (ArrayDescriptor.currentindex[i] != ArrayDescriptor.dimlen[i] - 1) {
+ throw new java.lang.InternalError(
+ new String("HDFArray::arrayify Panic didn't complete all data: currentindex[" + i +
+ "] = " + ArrayDescriptor.currentindex[i] + " (should be " +
+ (ArrayDescriptor.dimlen[i] - 1) + "?"));
+ }
+ }
+ if (ArrayDescriptor.currentindex[ArrayDescriptor.dims - 1] !=
+ ArrayDescriptor.dimlen[ArrayDescriptor.dims - 1]) {
+ throw new java.lang.InternalError(new String(
+ "HDFArray::arrayify Panic didn't complete all data: currentindex[" + i + "] = " +
+ ArrayDescriptor.currentindex[i] + " (should be " + (ArrayDescriptor.dimlen[i]) + "?"));
+ }
+
+ return _theArray;
+ }
+
+ public static byte[] intToBytes(int value)
+ {
+ ByteBuffer byteBuffer = ByteBuffer.allocate(Integer.BYTES);
+ byteBuffer.order(ByteOrder.nativeOrder());
+
+ // Put the integer value into the buffer
+ byteBuffer.putInt(value);
+ // System.out.println("intToBytes: int= " + value + " bytes= " + Arrays.toString(byteBuffer.array()));
+
+ // Return the backing byte array
+ return byteBuffer.array();
+ }
+
+ public static int bytesToInt(byte[] bytes) throws HDF5Exception
+ {
+ if (bytes.length != Integer.BYTES) {
+ throw new HDF5Exception("Invalid byte array length for an integer: " + bytes.length);
+ }
+
+ // Wrap the byte array in a ByteBuffer
+ ByteBuffer byteBuffer = ByteBuffer.wrap(bytes);
+ byteBuffer.order(ByteOrder.nativeOrder());
+
+ // Read and return the integer value from the buffer
+ return byteBuffer.getInt();
+ }
+
+ public static byte[] IntegerToByte(Integer in[])
+ {
+ int nelems = java.lang.reflect.Array.getLength(in);
+ byte[] byteArray = new byte[nelems * Integer.BYTES];
+
+ for (int i = 0; i < nelems; i++) {
+ int out = in[i].intValue();
+ byte[] tmp = intToBytes(out);
+ // System.out.println("IntegerToByte: " + i + " of " + nelems + " int= " + out + " bytes= " +
+ // Arrays.toString(tmp));
+ System.arraycopy(tmp, 0, byteArray, i * Integer.BYTES, Integer.BYTES);
+ }
+ return byteArray;
+ }
+
+ public static Integer[] ByteToInteger(byte[] bin)
+ {
+ int nelems = bin.length / Integer.BYTES;
+ byte in[] = new byte[Integer.BYTES];
+ Integer[] out = new Integer[nelems];
+
+ for (int i = 0; i < nelems; i++) {
+ System.arraycopy(bin, i * Integer.BYTES, in, 0, Integer.BYTES);
+ out[i] = Integer.valueOf(bytesToInt(in));
+ }
+ return out;
+ }
+
+ public static byte[] shortToBytes(short value)
+ {
+ ByteBuffer byteBuffer = ByteBuffer.allocate(Short.BYTES);
+ byteBuffer.order(ByteOrder.nativeOrder());
+
+ // Put the short value into the buffer
+ byteBuffer.putShort(value);
+
+ // Return the backing byte array
+ return byteBuffer.array();
+ }
+
+ public static short bytesToShort(byte[] bytes) throws HDF5Exception
+ {
+ if (bytes.length != Short.BYTES) {
+ throw new HDF5Exception("Invalid byte array length for an short: " + bytes.length);
+ }
+
+ // Wrap the byte array in a ByteBuffer
+ ByteBuffer byteBuffer = ByteBuffer.wrap(bytes);
+ byteBuffer.order(ByteOrder.nativeOrder());
+
+ // Read and return the short value from the buffer
+ return byteBuffer.getShort();
+ }
+
+ public static byte[] ShortToByte(Short in[])
+ {
+ int nelems = java.lang.reflect.Array.getLength(in);
+ byte[] byteArray = new byte[nelems * Short.BYTES];
+
+ for (int i = 0; i < nelems; i++) {
+ short out = in[i].shortValue();
+ System.arraycopy(shortToBytes(out), 0, byteArray, i * Short.BYTES, Short.BYTES);
+ }
+ return byteArray;
+ }
+
+ public static Short[] ByteToShort(byte[] bin)
+ {
+ int nelems = bin.length / Short.BYTES;
+ byte in[] = new byte[Short.BYTES];
+ Short[] out = new Short[nelems];
+
+ for (int i = 0; i < nelems; i++) {
+ System.arraycopy(bin, i * Short.BYTES, in, 0, Short.BYTES);
+ out[i] = Short.valueOf(bytesToShort(in));
+ }
+ return out;
+ }
+
+ public static byte[] ByteObjToByte(Byte in[])
+ {
+ int nelems = java.lang.reflect.Array.getLength((Object)in);
+ byte[] out = new byte[nelems];
+
+ for (int i = 0; i < nelems; i++) {
+ out[i] = in[i].byteValue();
+ }
+ return out;
+ }
+
+ public static Byte[] ByteToByteObj(byte[] bin)
+ {
+ int nelems = java.lang.reflect.Array.getLength((Object)bin);
+ Byte[] out = new Byte[nelems];
+
+ for (int i = 0; i < nelems; i++) {
+ out[i] = Byte.valueOf(bin[0]);
+ }
+ return out;
+ }
+
+ public static Byte[] ByteToByteObj(int start, int len, byte[] bin)
+ {
+ Byte[] out = new Byte[len];
+
+ for (int i = 0; i < len; i++) {
+ out[i] = Byte.valueOf(bin[0]);
+ }
+ return out;
+ }
+
+ public static byte[] floatToBytes(float value)
+ {
+ ByteBuffer byteBuffer = ByteBuffer.allocate(Float.BYTES);
+ byteBuffer.order(ByteOrder.nativeOrder());
+
+ // Put the float value into the buffer
+ byteBuffer.putFloat(value);
+
+ // Return the backing byte array
+ return byteBuffer.array();
+ }
+
+ public static float bytesToFloat(byte[] bytes) throws HDF5Exception
+ {
+ if (bytes.length != Float.BYTES) {
+ throw new HDF5Exception("Invalid byte array length for an float: " + bytes.length);
+ }
+
+ // Wrap the byte array in a ByteBuffer
+ ByteBuffer byteBuffer = ByteBuffer.wrap(bytes);
+ byteBuffer.order(ByteOrder.nativeOrder());
+
+ // Read and return the float value from the buffer
+ return byteBuffer.getFloat();
+ }
+
+ public static byte[] FloatObjToByte(Float in[])
+ {
+ int nelems = java.lang.reflect.Array.getLength((Object)in);
+ byte[] byteArray = new byte[nelems * Float.BYTES];
+
+ for (int i = 0; i < nelems; i++) {
+ float out = in[i].floatValue();
+ System.arraycopy(floatToBytes(out), 0, byteArray, i * Float.BYTES, Float.BYTES);
+ }
+ return byteArray;
+ }
+
+ public static Float[] ByteToFloatObj(byte[] bin)
+ {
+ int nelems = bin.length / Float.BYTES;
+ byte in[] = new byte[Float.BYTES];
+ Float[] out = new Float[nelems];
+
+ for (int i = 0; i < nelems; i++) {
+ System.arraycopy(bin, i * Float.BYTES, in, 0, Float.BYTES);
+ out[i] = Float.valueOf(bytesToFloat(in));
+ }
+ return out;
+ }
+
+ public static byte[] doubleToBytes(double value)
+ {
+ // Allocate a ByteBuffer with a capacity of 8 bytes (for a double)
+ ByteBuffer byteBuffer = ByteBuffer.allocate(Double.BYTES);
+ byteBuffer.order(ByteOrder.nativeOrder());
+
+ // Put the double value into the buffer
+ byteBuffer.putDouble(value);
+
+ // Return the backing byte array
+ return byteBuffer.array();
+ }
+
+ public static double bytesToDouble(byte[] bytes) throws HDF5Exception
+ {
+ if (bytes.length != Double.BYTES) {
+ throw new HDF5Exception("Invalid byte array length for an double: " + bytes.length);
+ }
+
+ // Wrap the byte array in a ByteBuffer
+ ByteBuffer byteBuffer = ByteBuffer.wrap(bytes);
+ byteBuffer.order(ByteOrder.nativeOrder());
+
+ // Read and return the double value from the buffer
+ return byteBuffer.getDouble();
+ }
+
+ public static byte[] DoubleToByte(Double in[])
+ {
+ int nelems = java.lang.reflect.Array.getLength(in);
+ byte[] byteArray = new byte[nelems * Double.BYTES];
+
+ for (int i = 0; i < nelems; i++) {
+ double out = in[i].doubleValue();
+ System.arraycopy(doubleToBytes(out), 0, byteArray, i * Double.BYTES, Double.BYTES);
+ }
+ return byteArray;
+ }
+
+ public static Double[] ByteToDouble(byte[] bin)
+ {
+ int nelems = bin.length / Double.BYTES;
+ byte in[] = new byte[Double.BYTES];
+ Double[] out = new Double[nelems];
+
+ for (int i = 0; i < nelems; i++) {
+ System.arraycopy(bin, i * Double.BYTES, in, 0, Double.BYTES);
+ out[i] = Double.valueOf(bytesToDouble(in));
+ }
+ return out;
+ }
+
+ public static byte[] DoubleObjToByte(Double in[])
+ {
+ int nelems = java.lang.reflect.Array.getLength((Object)in);
+ byte[] byteArray = new byte[nelems * Double.BYTES];
+
+ for (int i = 0; i < nelems; i++) {
+ double out = in[i].doubleValue();
+ System.arraycopy(doubleToBytes(out), 0, byteArray, i * Double.BYTES, Double.BYTES);
+ }
+ return byteArray;
+ }
+
+ public static Double[] ByteToDoubleObj(byte[] bin)
+ {
+ int nelems = bin.length / Double.BYTES;
+ byte in[] = new byte[Double.BYTES];
+ Double[] out = new Double[nelems];
+
+ for (int i = 0; i < nelems; i++) {
+ System.arraycopy(bin, i * Double.BYTES, in, 0, Double.BYTES);
+ out[i] = Double.valueOf(bytesToDouble(in));
+ }
+ return out;
+ }
+
+ public static byte[] longToBytes(long value)
+ {
+ ByteBuffer byteBuffer = ByteBuffer.allocate(Long.BYTES);
+ byteBuffer.order(ByteOrder.nativeOrder());
+
+ // Put the long value into the buffer
+ byteBuffer.putLong(value);
+
+ // Return the backing byte array
+ return byteBuffer.array();
+ }
+
+ public static long bytesToLong(byte[] bytes) throws HDF5Exception
+ {
+ if (bytes.length != Long.BYTES) {
+ throw new HDF5Exception("Invalid byte array length for an long: " + bytes.length);
+ }
+
+ // Wrap the byte array in a ByteBuffer
+ ByteBuffer byteBuffer = ByteBuffer.wrap(bytes);
+ byteBuffer.order(ByteOrder.nativeOrder());
+
+ // Read and return the long value from the buffer
+ return byteBuffer.getLong();
+ }
+
+ public static byte[] LongObjToByte(Long in[])
+ {
+ int nelems = java.lang.reflect.Array.getLength((Object)in);
+ byte[] byteArray = new byte[nelems * Long.BYTES];
+
+ for (int i = 0; i < nelems; i++) {
+ long out = in[i].longValue();
+ System.arraycopy(longToBytes(out), 0, byteArray, i * Long.BYTES, Long.BYTES);
+ }
+ return byteArray;
+ }
+
+ public static Long[] ByteToLongObj(byte[] bin)
+ {
+ int nelems = bin.length / Long.BYTES;
+ byte in[] = new byte[Long.BYTES];
+ Long[] out = new Long[nelems];
+
+ for (int i = 0; i < nelems; i++) {
+ System.arraycopy(bin, i * Long.BYTES, in, 0, Long.BYTES);
+ out[i] = Long.valueOf(bytesToLong(in));
+ }
+ return out;
+ }
+}
+
+/**
+ * This private class is used by HDFArray to discover the shape and type of an arbitrary array.
+ *
+ * We use java.lang.reflection here.
+ */
+class ArrayDescriptor {
+ static String theType = "";
+ static Class theClass = null;
+ static int[] dimlen = null;
+ static int[] dimstart = null;
+ static int[] currentindex = null;
+ static int[] bytetoindex = null;
+ static int totalSize = 0;
+ static int totalElements = 0;
+ static Object[] objs = null;
+ static char NT = ' '; /* must be B,S,I,L,F,D, else error */
+ static int NTsize = 0;
+ static int dims = 0;
+ static String className;
+
+ public ArrayDescriptor(Object anArray) throws HDF5JavaException
+ {
+ Class tc = anArray.getClass();
+ if (tc.isArray() == false) {
+ /* exception: not an array */
+ HDF5JavaException ex = new HDF5JavaException("ArrayDescriptor: not an array?: ");
+ throw(ex);
+ }
+
+ theClass = tc;
+
+ /*
+ * parse the type descriptor to discover the shape of the array
+ */
+ String ss = tc.toString();
+ theType = ss;
+ int n = 6;
+ dims = 0;
+ char c = ' ';
+ while (n < ss.length()) {
+ c = ss.charAt(n);
+ n++;
+ if (c == '[') {
+ dims++;
+ }
+ }
+
+ String css = ss.substring(ss.lastIndexOf('[') + 1);
+ Class compC = tc.getComponentType();
+ String cs = compC.toString();
+ NT = c; /* must be B,S,I,L,F,D, else error */
+ if (NT == 'B') {
+ NTsize = 1;
+ }
+ else if (NT == 'S') {
+ NTsize = 2;
+ }
+ else if ((NT == 'I') || (NT == 'F')) {
+ NTsize = 4;
+ }
+ else if ((NT == 'J') || (NT == 'D')) {
+ NTsize = 8;
+ }
+ else if (css.startsWith("Ljava.lang.Byte")) {
+ NT = 'L';
+ className = "java.lang.Byte";
+ NTsize = 1;
+ }
+ else if (css.startsWith("Ljava.lang.Short")) {
+ NT = 'L';
+ className = "java.lang.Short";
+ NTsize = 2;
+ }
+ else if (css.startsWith("Ljava.lang.Integer")) {
+ NT = 'L';
+ className = "java.lang.Integer";
+ NTsize = 4;
+ }
+ else if (css.startsWith("Ljava.lang.Float")) {
+ NT = 'L';
+ className = "java.lang.Float";
+ NTsize = 4;
+ }
+ else if (css.startsWith("Ljava.lang.Double")) {
+ NT = 'L';
+ className = "java.lang.Double";
+ NTsize = 8;
+ }
+ else if (css.startsWith("Ljava.lang.Long")) {
+ NT = 'L';
+ className = "java.lang.Long";
+ NTsize = 8;
+ }
+ else if (css.startsWith("Ljava.lang.String")) {
+ NT = 'L';
+ className = "java.lang.String";
+ NTsize = 1;
+ throw new HDF5JavaException(
+ new String("ArrayDesciptor: Warning: String array not fully supported yet"));
+ }
+ else {
+ /*
+ * exception: not a numeric type
+ */
+ throw new HDF5JavaException(
+ new String("ArrayDesciptor: Error: array is not numeric (type is " + css + ") ?"));
+ }
+
+ /* fill in the table */
+ dimlen = new int[dims + 1];
+ dimstart = new int[dims + 1];
+ currentindex = new int[dims + 1];
+ bytetoindex = new int[dims + 1];
+ objs = new Object[dims + 1];
+
+ Object o = anArray;
+ objs[0] = o;
+ dimlen[0] = 1;
+ dimstart[0] = 0;
+ currentindex[0] = 0;
+ int elements = 1;
+ int i;
+ for (i = 1; i <= dims; i++) {
+ dimlen[i] = java.lang.reflect.Array.getLength((Object)o);
+ o = java.lang.reflect.Array.get((Object)o, 0);
+ objs[i] = o;
+ dimstart[i] = 0;
+ currentindex[i] = 0;
+ elements *= dimlen[i];
+ }
+ totalElements = elements;
+
+ int j;
+ int dd;
+ bytetoindex[dims] = NTsize;
+ for (i = dims; i >= 0; i--) {
+ dd = NTsize;
+ for (j = i; j < dims; j++) {
+ dd *= dimlen[j + 1];
+ }
+ bytetoindex[i] = dd;
+ }
+
+ totalSize = bytetoindex[0];
+ }
+
+ /**
+ * Debug dump
+ */
+ public void dumpInfo()
+ {
+ System.out.println("Type: " + theType);
+ System.out.println("Class: " + theClass);
+ System.out.println("NT: " + NT + " NTsize: " + NTsize);
+ System.out.println("Array has " + dims + " dimensions (" + totalSize + " bytes, " + totalElements +
+ " elements)");
+ int i;
+ for (i = 0; i <= dims; i++) {
+ Class tc = objs[i].getClass();
+ String ss = tc.toString();
+ System.out.println(i + ": start " + dimstart[i] + ": len " + dimlen[i] + " current " +
+ currentindex[i] + " bytetoindex " + bytetoindex[i] + " object " + objs[i] +
+ " otype " + ss);
+ }
+ }
+}
diff --git a/java/src/hdf/hdf5lib/HDFNativeData.java b/java/hdf/hdf5lib/HDFNativeData.java
similarity index 100%
rename from java/src/hdf/hdf5lib/HDFNativeData.java
rename to java/hdf/hdf5lib/HDFNativeData.java
diff --git a/java/hdf/hdf5lib/VLDataConverter.java b/java/hdf/hdf5lib/VLDataConverter.java
new file mode 100644
index 00000000000..3822c05c5d8
--- /dev/null
+++ b/java/hdf/hdf5lib/VLDataConverter.java
@@ -0,0 +1,2312 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib;
+
+import java.lang.foreign.Arena;
+import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
+import java.nio.charset.StandardCharsets;
+import java.util.ArrayList;
+
+import hdf.hdf5lib.exceptions.HDF5JavaException;
+
+import org.hdfgroup.javahdf5.hvl_t;
+
+/**
+ * Utility class for converting between Java ArrayList arrays and HDF5 hvl_t structures
+ * for variable-length (VL) data operations in the FFM implementation.
+ */
+public class VLDataConverter {
+
+ // Logging removed for compilation simplicity - can add back if needed
+
+ /**
+ * Container for raw VL data copied from HDF5-managed memory.
+ * This prevents any access to HDF5 memory after H5Treclaim.
+ */
+ private static class RawVLData {
+ public final byte[] data;
+ public final int length;
+
+ public RawVLData(byte[] data, int length)
+ {
+ this.data = data;
+ this.length = length;
+ }
+ }
+
+ /**
+ * Convert Java ArrayList array to HDF5 hvl_t MemorySegment array
+ *
+ * @param javaData Array of ArrayLists containing the variable-length data
+ * @param arena Arena for memory allocation
+ * @return MemorySegment containing hvl_t array
+ * @throws HDF5JavaException if conversion fails
+ */
+ public static MemorySegment convertToHVL(ArrayList[] javaData, Arena arena) throws HDF5JavaException
+ {
+
+ if (javaData == null || javaData.length == 0) {
+ throw new HDF5JavaException("Input data array is null or empty");
+ }
+
+ // Converting ArrayList elements to hvl_t
+
+ // Allocate hvl_t array
+ MemorySegment hvlArray = hvl_t.allocateArray(javaData.length, arena);
+
+ for (int i = 0; i < javaData.length; i++) {
+ MemorySegment hvlElement = hvl_t.asSlice(hvlArray, i);
+ convertSingleElement(javaData[i], hvlElement, arena);
+ }
+
+ return hvlArray;
+ }
+
+ /**
+ * Convert HDF5 hvl_t MemorySegment array back to Java ArrayList array
+ *
+ * CRITICAL: This method IMMEDIATELY extracts ALL raw data from HDF5-managed memory
+ * in a single pass, then processes the copied data. This prevents any access to
+ * HDF5-managed memory after H5Treclaim.
+ *
+ * @param hvlArray MemorySegment containing hvl_t array
+ * @param arrayLength Number of elements in the array
+ * @param elementType HDF5 datatype of the elements (for type inference)
+ * @return Array of ArrayLists
+ * @throws HDF5JavaException if conversion fails
+ */
+ public static ArrayList[] convertFromHVL(MemorySegment hvlArray, int arrayLength, long elementType)
+ throws HDF5JavaException
+ {
+
+ if (hvlArray == null) {
+ throw new HDF5JavaException("Input hvl_t array is null");
+ }
+
+ // CRITICAL TWO-PHASE APPROACH:
+ // Phase 1: Copy ALL raw data from HDF5-managed memory to Java-managed memory
+ // Phase 2: Process the copied data without any access to HDF5 memory
+
+ ArrayList[] result = new ArrayList[arrayLength];
+
+ // Phase 1: Extract all raw data immediately - NO processing, just copying
+ RawVLData[] rawDataArray = new RawVLData[arrayLength];
+
+ // Check if this is string data to use special string copying
+ // For VL-of-strings, we need to check the base type
+ boolean isStringType = isStringType(elementType) || isVLOfStrings(elementType);
+
+ for (int i = 0; i < arrayLength; i++) {
+ MemorySegment hvlElement = hvl_t.asSlice(hvlArray, i);
+
+ // Extract hvl_t fields immediately
+ long len = hvl_t.len(hvlElement);
+ MemorySegment dataPtr = hvl_t.p(hvlElement);
+
+ // Check if we're getting valid data from hvl_t
+ if (len == 0 || dataPtr == null || dataPtr.equals(MemorySegment.NULL)) {
+ // Empty VL element - create empty raw data
+ rawDataArray[i] = new RawVLData(new byte[0], 0);
+ }
+ else {
+ // Copy raw data immediately before any H5Treclaim
+ if (isStringType) {
+ // For variable-length strings in hvl_t:
+ // Based on HDF5 source analysis:
+ // - H5T__vlen_mem_str_getlen: H5MM_memcpy(&s, _vl, sizeof(char *)); *len = strlen(s);
+ // - H5T__vlen_mem_str_getptr: H5MM_memcpy(&s, _vl, sizeof(char *)); return s;
+ // This means hvl_t.p contains a char*, and we should ignore the len field for VL strings
+ try {
+ ArrayList directResult = new ArrayList<>(1);
+ if (dataPtr == null || dataPtr.equals(MemorySegment.NULL)) {
+ directResult.add(""); // Empty string for null data
+ }
+ else {
+ // For VL strings, hvl_t.p directly contains the char* pointer
+ String str = dataPtr.getString(0, java.nio.charset.StandardCharsets.UTF_8);
+ directResult.add(str);
+ }
+ result[i] = directResult;
+ rawDataArray[i] = null; // Mark as already processed
+ }
+ catch (Exception e) {
+ // Fallback to copying if direct conversion fails
+ rawDataArray[i] = copyStringVLDataImmediately(dataPtr, (int)len);
+ }
+ }
+ else {
+ rawDataArray[i] = copyRawVLData(dataPtr, (int)len, elementType);
+ }
+ }
+ }
+
+ // Phase 2: Process copied data (no HDF5 memory access)
+ // CRITICAL FIX: For VL data, we need to get the base type for proper conversion
+ long baseElementType = elementType;
+ boolean needToCloseBaseType = false;
+ try {
+ if (isVLType(elementType)) {
+ baseElementType = getVLBaseType(elementType);
+ needToCloseBaseType = true; // We got a new type ID that needs closing
+ }
+ }
+ catch (Exception e) {
+ // If we can't get the base type, use original elementType
+ }
+
+ try {
+ for (int i = 0; i < arrayLength; i++) {
+ // Skip elements that were already processed with direct conversion
+ if (rawDataArray[i] != null) {
+ result[i] = convertRawDataToArrayList(rawDataArray[i], baseElementType);
+ }
+ // Elements with rawDataArray[i] == null were already processed and result[i] is set
+ }
+ }
+ finally {
+ // CRITICAL: Close the base type if we created it to prevent memory leaks
+ if (needToCloseBaseType && baseElementType != elementType) {
+ try {
+ H5.H5Tclose(baseElementType);
+ }
+ catch (Exception e) {
+ // Log but don't fail - we've already done the main work
+ }
+ }
+ }
+
+ return result;
+ }
+
+ /**
+ * Convert a single ArrayList to hvl_t structure
+ */
+ private static void convertSingleElement(ArrayList> list, MemorySegment hvlElement, Arena arena)
+ throws HDF5JavaException
+ {
+
+ if (list == null) {
+ // Empty VL element
+ hvl_t.len(hvlElement, 0);
+ hvl_t.p(hvlElement, MemorySegment.NULL);
+ return;
+ }
+
+ int size = list.size();
+ hvl_t.len(hvlElement, size);
+
+ if (size == 0) {
+ hvl_t.p(hvlElement, MemorySegment.NULL);
+ return;
+ }
+
+ // Detect element type using reflection
+ Object firstElement = list.get(0);
+ Class> elementType = firstElement.getClass();
+
+ // Converting ArrayList of type: " + elementType.getSimpleName() + " with " + size + " elements"
+
+ if (elementType == Integer.class) {
+ MemorySegment dataArray = convertIntegerVL(list, arena);
+ hvl_t.p(hvlElement, dataArray);
+ }
+ else if (elementType == Double.class) {
+ MemorySegment dataArray = convertDoubleVL(list, arena);
+ hvl_t.p(hvlElement, dataArray);
+ }
+ else if (elementType == String.class) {
+ MemorySegment dataArray = convertStringVL(list, arena);
+ hvl_t.p(hvlElement, dataArray);
+ }
+ else if (elementType == byte[].class) {
+ MemorySegment dataArray = convertByteArrayVL(list, arena);
+ hvl_t.p(hvlElement, dataArray);
+ }
+ else if (firstElement instanceof ArrayList) {
+ // Nested VL structure
+ MemorySegment dataArray = convertNestedVL(list, arena);
+ hvl_t.p(hvlElement, dataArray);
+ }
+ else {
+ throw new HDF5JavaException("Unsupported ArrayList element type: " + elementType.getName());
+ }
+ }
+
+ /**
+ * Convert ArrayList to native int array
+ */
+ @SuppressWarnings("unchecked")
+ private static MemorySegment convertIntegerVL(ArrayList> list, Arena arena)
+ {
+ ArrayList intList = (ArrayList)list;
+ MemorySegment dataArray = arena.allocate(ValueLayout.JAVA_INT, intList.size());
+
+ for (int i = 0; i < intList.size(); i++) {
+ dataArray.setAtIndex(ValueLayout.JAVA_INT, i, intList.get(i));
+ }
+
+ return dataArray;
+ }
+
+ /**
+ * Convert ArrayList to native double array
+ */
+ @SuppressWarnings("unchecked")
+ private static MemorySegment convertDoubleVL(ArrayList> list, Arena arena)
+ {
+ ArrayList doubleList = (ArrayList)list;
+ MemorySegment dataArray = arena.allocate(ValueLayout.JAVA_DOUBLE, doubleList.size());
+
+ for (int i = 0; i < doubleList.size(); i++) {
+ dataArray.setAtIndex(ValueLayout.JAVA_DOUBLE, i, doubleList.get(i));
+ }
+
+ return dataArray;
+ }
+
+ /**
+ * Convert ArrayList to native array format for HDF5 array datatypes
+ * For array datatypes, each ArrayList becomes a fixed-size array of string pointers
+ */
+ @SuppressWarnings("unchecked")
+ private static MemorySegment convertStringVL(ArrayList> list, Arena arena)
+ {
+ ArrayList stringList = (ArrayList)list;
+
+ // For array datatypes containing strings, create a packed array of string pointers
+ // This is different from VL strings - array types have fixed size arrays
+ MemorySegment stringArray = arena.allocate(ValueLayout.ADDRESS, stringList.size());
+
+ for (int i = 0; i < stringList.size(); i++) {
+ String str = stringList.get(i);
+ if (str != null) {
+ MemorySegment stringSegment = arena.allocateFrom(str, StandardCharsets.UTF_8);
+ stringArray.setAtIndex(ValueLayout.ADDRESS, i, stringSegment);
+ }
+ else {
+ stringArray.setAtIndex(ValueLayout.ADDRESS, i, MemorySegment.NULL);
+ }
+ }
+
+ return stringArray;
+ }
+
+ /**
+ * Convert ArrayList to native array format for HDF5
+ * Used for VL reference data where each element is a byte array (reference)
+ */
+ @SuppressWarnings("unchecked")
+ private static MemorySegment convertByteArrayVL(ArrayList> list, Arena arena)
+ {
+ ArrayList byteArrayList = (ArrayList)list;
+
+ // Calculate total size needed for all byte arrays
+ long totalSize = 0;
+ for (byte[] array : byteArrayList) {
+ if (array != null) {
+ totalSize += array.length;
+ }
+ }
+
+ if (totalSize == 0) {
+ return MemorySegment.NULL;
+ }
+
+ // For VL reference data, we need to create a contiguous array of all bytes
+ // References are typically fixed-size, so we can pack them sequentially
+ MemorySegment dataArray = arena.allocate(totalSize);
+
+ long offset = 0;
+ for (byte[] array : byteArrayList) {
+ if (array != null && array.length > 0) {
+ MemorySegment arraySegment = MemorySegment.ofArray(array);
+ dataArray.asSlice(offset, array.length).copyFrom(arraySegment);
+ offset += array.length;
+ }
+ }
+
+ return dataArray;
+ }
+
+ /**
+ * Convert ArrayList array to array datatype buffer (not hvl_t)
+ * Used for H5T_ARRAY datatypes where each element is a fixed-size array
+ */
+ public static MemorySegment convertArrayDatatype(ArrayList[] data, long mem_type_id, Arena arena)
+ throws HDF5JavaException
+ {
+ try {
+ // Get the array type information
+ long baseTypeId = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_super(mem_type_id);
+ if (baseTypeId < 0) {
+ throw new HDF5JavaException("Failed to get array base type");
+ }
+
+ // Get array dimensions
+ int ndims = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_array_ndims(mem_type_id);
+ if (ndims != 1) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Only 1D arrays are supported, got " + ndims + "D");
+ }
+
+ // Get the array size (number of elements per array)
+ MemorySegment dims = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ int result = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_array_dims2(mem_type_id, dims);
+ if (result < 0) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Failed to get array dimensions");
+ }
+ int arraySize = (int)dims.get(ValueLayout.JAVA_LONG, 0);
+
+ // Check if the base type is variable-length string
+ int isVLStringResult = org.hdfgroup.javahdf5.hdf5_h_1.H5Tis_variable_str(baseTypeId);
+ boolean isVLString = isVLStringResult > 0;
+
+ if (isVLString) {
+ // Each entry in data[] is an ArrayList with arraySize elements
+ // Pack as array of string pointers
+ MemorySegment buffer = arena.allocate(ValueLayout.ADDRESS, data.length * arraySize);
+
+ for (int i = 0; i < data.length; i++) {
+ ArrayList stringArray = (ArrayList)data[i];
+ if (stringArray.size() != arraySize) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Array element " + i + " has " + stringArray.size() +
+ " elements, expected " + arraySize);
+ }
+
+ // Pack string pointers for this array element
+ for (int j = 0; j < arraySize; j++) {
+ String str = stringArray.get(j);
+ if (str != null) {
+ MemorySegment stringSegment = arena.allocateFrom(str, StandardCharsets.UTF_8);
+ buffer.setAtIndex(ValueLayout.ADDRESS, i * arraySize + j, stringSegment);
+ }
+ else {
+ buffer.setAtIndex(ValueLayout.ADDRESS, i * arraySize + j, MemorySegment.NULL);
+ }
+ }
+ }
+
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ return buffer;
+ }
+ else {
+ // Check for other supported base types
+ int baseTypeClass = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_class(baseTypeId);
+
+ if (baseTypeClass == HDF5Constants.H5T_INTEGER) {
+ // Support integer arrays
+ MemorySegment buffer = arena.allocate(ValueLayout.JAVA_INT, data.length * arraySize);
+
+ for (int i = 0; i < data.length; i++) {
+ ArrayList intArray = (ArrayList)data[i];
+ if (intArray.size() != arraySize) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Array element " + i + " has " + intArray.size() +
+ " elements, expected " + arraySize);
+ }
+
+ for (int j = 0; j < arraySize; j++) {
+ Integer val = intArray.get(j);
+ buffer.setAtIndex(ValueLayout.JAVA_INT, i * arraySize + j, val != null ? val : 0);
+ }
+ }
+
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ return buffer;
+ }
+ else if (baseTypeClass == HDF5Constants.H5T_FLOAT) {
+ // Support double arrays
+ MemorySegment buffer = arena.allocate(ValueLayout.JAVA_DOUBLE, data.length * arraySize);
+
+ for (int i = 0; i < data.length; i++) {
+ ArrayList doubleArray = (ArrayList)data[i];
+ if (doubleArray.size() != arraySize) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Array element " + i + " has " + doubleArray.size() +
+ " elements, expected " + arraySize);
+ }
+
+ for (int j = 0; j < arraySize; j++) {
+ Double val = doubleArray.get(j);
+ buffer.setAtIndex(ValueLayout.JAVA_DOUBLE, i * arraySize + j,
+ val != null ? val : 0.0);
+ }
+ }
+
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ return buffer;
+ }
+ else if (baseTypeClass == HDF5Constants.H5T_ENUM) {
+ // Support enum arrays - treat enums as integers
+ MemorySegment buffer = arena.allocate(ValueLayout.JAVA_INT, data.length * arraySize);
+
+ for (int i = 0; i < data.length; i++) {
+ ArrayList enumArray = (ArrayList)data[i];
+ if (enumArray.size() != arraySize) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Array element " + i + " has " + enumArray.size() +
+ " elements, expected " + arraySize);
+ }
+
+ for (int j = 0; j < arraySize; j++) {
+ Integer val = enumArray.get(j);
+ buffer.setAtIndex(ValueLayout.JAVA_INT, i * arraySize + j, val != null ? val : 0);
+ }
+ }
+
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ return buffer;
+ }
+ else {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Unsupported array base type for FFM conversion: " +
+ baseTypeClass);
+ }
+ }
+ }
+ catch (Exception e) {
+ if (e instanceof HDF5JavaException) {
+ throw e;
+ }
+ throw new HDF5JavaException("Array datatype conversion failed: " + e.getMessage());
+ }
+ }
+
+ /**
+ * Read array datatype data from HDF5 attribute (not hvl_t)
+ * Used for H5T_ARRAY datatypes where each element is a fixed-size array
+ */
+ public static ArrayList[] readArrayDatatype(long attr_id, long mem_type_id, int count, Arena arena)
+ throws HDF5JavaException
+ {
+ try {
+ // Get the array type information
+ long baseTypeId = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_super(mem_type_id);
+ if (baseTypeId < 0) {
+ throw new HDF5JavaException("Failed to get array base type");
+ }
+
+ // Get array dimensions
+ int ndims = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_array_ndims(mem_type_id);
+ if (ndims != 1) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Only 1D arrays are supported, got " + ndims + "D");
+ }
+
+ // Get the array size (number of elements per array)
+ MemorySegment dims = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ int result = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_array_dims2(mem_type_id, dims);
+ if (result < 0) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Failed to get array dimensions");
+ }
+ int arraySize = (int)dims.get(ValueLayout.JAVA_LONG, 0);
+
+ // Check if the base type is variable-length string
+ int isVLStringResult = org.hdfgroup.javahdf5.hdf5_h_1.H5Tis_variable_str(baseTypeId);
+ boolean isVLString = isVLStringResult > 0;
+
+ if (isVLString) {
+ // Allocate buffer for array of string pointers
+ MemorySegment buffer = arena.allocate(ValueLayout.ADDRESS, count * arraySize);
+
+ // Read data from HDF5
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Aread(attr_id, mem_type_id, buffer);
+ if (status < 0) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Failed to read VL string array data");
+ }
+
+ // IMMEDIATELY copy string data before any potential reclaim
+ String[][] copiedStringData = new String[count][arraySize];
+ for (int i = 0; i < count; i++) {
+ for (int j = 0; j < arraySize; j++) {
+ MemorySegment stringPtr = buffer.getAtIndex(ValueLayout.ADDRESS, i * arraySize + j);
+ if (stringPtr != null && !stringPtr.equals(MemorySegment.NULL)) {
+ try {
+ // Reinterpret the pointer with global scope to access the string data
+ MemorySegment stringData =
+ MemorySegment.ofAddress(stringPtr.address()).reinterpret(Long.MAX_VALUE);
+ copiedStringData[i][j] = stringData.getString(0, StandardCharsets.UTF_8);
+ }
+ catch (Exception e) {
+ copiedStringData[i][j] = null;
+ }
+ }
+ else {
+ copiedStringData[i][j] = null;
+ }
+ }
+ }
+
+ // Clean up VL string memory AFTER copying
+ long space_id = org.hdfgroup.javahdf5.hdf5_h_1.H5Aget_space(attr_id);
+ if (space_id >= 0) {
+ try {
+ // Reclaim memory
+ int reclaim_status = org.hdfgroup.javahdf5.hdf5_h_1.H5Treclaim(
+ mem_type_id, space_id, HDF5Constants.H5P_DEFAULT, buffer);
+ if (reclaim_status < 0) {
+ System.err.println("Warning: Failed to reclaim VL string memory");
+ }
+ }
+ finally {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Sclose(space_id);
+ }
+ }
+
+ // Convert copied string data to ArrayList array
+ ArrayList[] resultArray = new ArrayList[count];
+ for (int i = 0; i < count; i++) {
+ ArrayList stringArray = new ArrayList<>(arraySize);
+ for (int j = 0; j < arraySize; j++) {
+ stringArray.add(copiedStringData[i][j]);
+ }
+ resultArray[i] = stringArray;
+ }
+
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ return resultArray;
+ }
+ else {
+ // Check for other supported base types
+ int baseTypeClass = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_class(baseTypeId);
+
+ if (baseTypeClass == HDF5Constants.H5T_INTEGER) {
+ // Support integer arrays
+ MemorySegment buffer = arena.allocate(ValueLayout.JAVA_INT, count * arraySize);
+
+ // Read data from HDF5
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Aread(attr_id, mem_type_id, buffer);
+ if (status < 0) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Failed to read array data");
+ }
+
+ // Convert to ArrayList array
+ ArrayList[] resultArray = new ArrayList[count];
+ for (int i = 0; i < count; i++) {
+ ArrayList intArray = new ArrayList<>(arraySize);
+ for (int j = 0; j < arraySize; j++) {
+ int value = buffer.getAtIndex(ValueLayout.JAVA_INT, i * arraySize + j);
+ intArray.add(value);
+ }
+ resultArray[i] = intArray;
+ }
+
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ return resultArray;
+ }
+ else if (baseTypeClass == HDF5Constants.H5T_FLOAT) {
+ // Support double arrays
+ MemorySegment buffer = arena.allocate(ValueLayout.JAVA_DOUBLE, count * arraySize);
+
+ // Read data from HDF5
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Aread(attr_id, mem_type_id, buffer);
+ if (status < 0) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Failed to read array data");
+ }
+
+ // Convert to ArrayList array
+ ArrayList[] resultArray = new ArrayList[count];
+ for (int i = 0; i < count; i++) {
+ ArrayList doubleArray = new ArrayList<>(arraySize);
+ for (int j = 0; j < arraySize; j++) {
+ double value = buffer.getAtIndex(ValueLayout.JAVA_DOUBLE, i * arraySize + j);
+ doubleArray.add(value);
+ }
+ resultArray[i] = doubleArray;
+ }
+
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ return resultArray;
+ }
+ else {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Unsupported array base type for FFM reading: " +
+ baseTypeClass);
+ }
+ }
+ }
+ catch (Exception e) {
+ if (e instanceof HDF5JavaException) {
+ throw e;
+ }
+ throw new HDF5JavaException("Array datatype reading failed: " + e.getMessage());
+ }
+ }
+
+ /**
+ * Read array datatype data from HDF5 dataset (not hvl_t)
+ * Used for H5T_ARRAY datatypes where each element is a fixed-size array
+ */
+ public static ArrayList[] readArrayDatatypeFromDataset(long dataset_id, long mem_type_id,
+ long mem_space_id, long file_space_id,
+ long xfer_plist_id, int count, Arena arena)
+ throws HDF5JavaException
+ {
+ try {
+ // Get the array type information
+ long baseTypeId = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_super(mem_type_id);
+ if (baseTypeId < 0) {
+ throw new HDF5JavaException("Failed to get array base type");
+ }
+
+ // Get array dimensions
+ int ndims = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_array_ndims(mem_type_id);
+ if (ndims != 1) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Only 1D arrays are supported, got " + ndims + "D");
+ }
+
+ // Get the array size (number of elements per array)
+ MemorySegment dims = arena.allocate(ValueLayout.JAVA_LONG, 1);
+ int result = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_array_dims2(mem_type_id, dims);
+ if (result < 0) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Failed to get array dimensions");
+ }
+ int arraySize = (int)dims.get(ValueLayout.JAVA_LONG, 0);
+
+ // Check if the base type is variable-length string
+ int isVLStringResult = org.hdfgroup.javahdf5.hdf5_h_1.H5Tis_variable_str(baseTypeId);
+ boolean isVLString = isVLStringResult > 0;
+
+ if (isVLString) {
+ // Allocate buffer for array of string pointers
+ MemorySegment buffer = arena.allocate(ValueLayout.ADDRESS, count * arraySize);
+
+ // Read data from HDF5
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Dread(dataset_id, mem_type_id, mem_space_id,
+ file_space_id, xfer_plist_id, buffer);
+ if (status < 0) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Failed to read array data");
+ }
+
+ // IMMEDIATELY copy string data before any potential reclaim
+ String[][] copiedStringData = new String[count][arraySize];
+ for (int i = 0; i < count; i++) {
+ for (int j = 0; j < arraySize; j++) {
+ MemorySegment stringPtr = buffer.getAtIndex(ValueLayout.ADDRESS, i * arraySize + j);
+ if (stringPtr != null && !stringPtr.equals(MemorySegment.NULL)) {
+ // Reinterpret the pointer with global scope to access the string data
+ MemorySegment stringData =
+ MemorySegment.ofAddress(stringPtr.address()).reinterpret(Long.MAX_VALUE);
+ copiedStringData[i][j] = stringData.getString(0, StandardCharsets.UTF_8);
+ }
+ else {
+ copiedStringData[i][j] = null;
+ }
+ }
+ }
+
+ // Clean up VL string memory AFTER copying
+ long space_id = (mem_space_id >= 0) ? mem_space_id : file_space_id;
+ try {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Treclaim(
+ mem_type_id, space_id, org.hdfgroup.javahdf5.hdf5_h_1.H5P_DEFAULT(), buffer);
+ }
+ finally {
+ // space_id is parameter, don't close it
+ }
+
+ // Now convert copied data to ArrayList array
+ ArrayList[] resultArray = new ArrayList[count];
+ for (int i = 0; i < count; i++) {
+ ArrayList stringArray = new ArrayList<>(arraySize);
+ for (int j = 0; j < arraySize; j++) {
+ stringArray.add(copiedStringData[i][j]);
+ }
+ resultArray[i] = stringArray;
+ }
+
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ return resultArray;
+ }
+ else {
+ // Check for other supported base types
+ int baseTypeClass = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_class(baseTypeId);
+
+ if (baseTypeClass == HDF5Constants.H5T_INTEGER) {
+ // Support integer arrays
+ MemorySegment buffer = arena.allocate(ValueLayout.JAVA_INT, count * arraySize);
+
+ // Read data from HDF5
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Dread(dataset_id, mem_type_id, mem_space_id,
+ file_space_id, xfer_plist_id, buffer);
+ if (status < 0) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Failed to read array data");
+ }
+
+ // Convert to ArrayList array
+ ArrayList[] resultArray = new ArrayList[count];
+ for (int i = 0; i < count; i++) {
+ ArrayList intArray = new ArrayList<>(arraySize);
+ for (int j = 0; j < arraySize; j++) {
+ int value = buffer.getAtIndex(ValueLayout.JAVA_INT, i * arraySize + j);
+ intArray.add(value);
+ }
+ resultArray[i] = intArray;
+ }
+
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ return resultArray;
+ }
+ else if (baseTypeClass == HDF5Constants.H5T_FLOAT) {
+ // Support double arrays
+ MemorySegment buffer = arena.allocate(ValueLayout.JAVA_DOUBLE, count * arraySize);
+
+ // Read data from HDF5
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Dread(dataset_id, mem_type_id, mem_space_id,
+ file_space_id, xfer_plist_id, buffer);
+ if (status < 0) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Failed to read array data");
+ }
+
+ // Convert to ArrayList array
+ ArrayList[] resultArray = new ArrayList[count];
+ for (int i = 0; i < count; i++) {
+ ArrayList doubleArray = new ArrayList<>(arraySize);
+ for (int j = 0; j < arraySize; j++) {
+ double value = buffer.getAtIndex(ValueLayout.JAVA_DOUBLE, i * arraySize + j);
+ doubleArray.add(value);
+ }
+ resultArray[i] = doubleArray;
+ }
+
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ return resultArray;
+ }
+ else if (baseTypeClass == HDF5Constants.H5T_ENUM) {
+ // Support enum arrays - treat enums as integers
+ MemorySegment buffer = arena.allocate(ValueLayout.JAVA_INT, count * arraySize);
+
+ // Read data from HDF5
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Dread(dataset_id, mem_type_id, mem_space_id,
+ file_space_id, xfer_plist_id, buffer);
+ if (status < 0) {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Failed to read array data");
+ }
+
+ // Convert to ArrayList array
+ ArrayList[] resultArray = new ArrayList[count];
+ for (int i = 0; i < count; i++) {
+ ArrayList enumArray = new ArrayList<>(arraySize);
+ for (int j = 0; j < arraySize; j++) {
+ int value = buffer.getAtIndex(ValueLayout.JAVA_INT, i * arraySize + j);
+ enumArray.add(value);
+ }
+ resultArray[i] = enumArray;
+ }
+
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ return resultArray;
+ }
+ else {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseTypeId);
+ throw new HDF5JavaException("Unsupported array base type for FFM reading: " +
+ baseTypeClass);
+ }
+ }
+ }
+ catch (Exception e) {
+ if (e instanceof HDF5JavaException) {
+ throw e;
+ }
+ throw new HDF5JavaException("Array datatype reading failed: " + e.getMessage());
+ }
+ }
+
+ /**
+ * Convert nested ArrayList> to hvl_t array
+ */
+ @SuppressWarnings("unchecked")
+ private static MemorySegment convertNestedVL(ArrayList> list, Arena arena) throws HDF5JavaException
+ {
+ ArrayList> nestedList = (ArrayList>)list;
+ MemorySegment nestedHvlArray = hvl_t.allocateArray(nestedList.size(), arena);
+
+ for (int i = 0; i < nestedList.size(); i++) {
+ MemorySegment hvlElement = hvl_t.asSlice(nestedHvlArray, i);
+ convertSingleElement(nestedList.get(i), hvlElement, arena);
+ }
+
+ return nestedHvlArray;
+ }
+
+ /**
+ * Copy all raw bytes from HDF5-managed memory to Java-managed memory.
+ * This is the critical first phase that prevents any SIGSEGV.
+ * For strings, we need special handling to extract the actual content immediately.
+ */
+ private static RawVLData copyRawVLData(MemorySegment dataPtr, int len, long elementType)
+ throws HDF5JavaException
+ {
+ if (len == 0 || dataPtr == null || dataPtr.equals(MemorySegment.NULL)) {
+ return new RawVLData(new byte[0], 0);
+ }
+
+ try {
+ // CRITICAL FIX: Use actual HDF5 datatype size instead of guessing
+ // Get the base element type for VL data
+ long baseType = elementType;
+
+ // For VL types, get the base type
+ boolean needToCloseBaseType = false;
+ try {
+ if (hdf.hdf5lib.H5.H5Tdetect_class(elementType, hdf.hdf5lib.HDF5Constants.H5T_VLEN)) {
+ baseType = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_super(elementType);
+ needToCloseBaseType = true; // Mark that we need to close this type ID
+ }
+ }
+ catch (Exception e) {
+ // If we can't get the base type, continue with original elementType
+ }
+
+ try {
+ // Get the actual element size from HDF5
+ long elementSize = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_size(baseType);
+ long totalSize = (long)len * elementSize;
+
+ // Check for zero element size - fall back to conservative approach
+ if (elementSize == 0) {
+ throw new RuntimeException("Zero element size - trigger fallback");
+ }
+
+ // Use the correct element size for data copying
+ byte[] rawData = copyWithReinterpret(dataPtr, totalSize, len);
+ if (rawData.length > 0) {
+ return new RawVLData(rawData, len);
+ }
+
+ // If copying fails, return empty data (preserving length info)
+ return new RawVLData(new byte[0], len);
+ }
+ finally {
+ // CRITICAL: Close the base type if we created it to prevent memory leaks
+ if (needToCloseBaseType && baseType != elementType) {
+ try {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(baseType);
+ }
+ catch (Exception ex) {
+ // Log but don't fail - we've already done the main work
+ System.err.println("Warning: Failed to close base type in extractRawVLData: " +
+ ex.getMessage());
+ }
+ }
+ }
+ }
+ catch (Exception e) {
+ // If we can't determine the size, fall back to conservative approach
+ // Try common element sizes: 8-byte first (double/pointer), then 4-byte (int)
+ try {
+ byte[] rawData = copyWithReinterpret(dataPtr, (long)len * 8, len);
+ if (rawData.length > 0) {
+ return new RawVLData(rawData, len);
+ }
+ rawData = copyWithReinterpret(dataPtr, (long)len * 4, len);
+ if (rawData.length > 0) {
+ return new RawVLData(rawData, len);
+ }
+ }
+ catch (Exception fallbackEx) {
+ // Ignore fallback exceptions
+ }
+ return new RawVLData(new byte[0], len);
+ }
+ }
+
+ /**
+ * Helper method to copy data using FFM reinterpret with proper sizing
+ */
+ private static byte[] copyWithReinterpret(MemorySegment dataPtr, long totalSize, int len)
+ {
+ try {
+ // Reinterpret the pointer with the calculated size using global arena
+ MemorySegment reinterpretedSegment = dataPtr.reinterpret(totalSize, Arena.global(), null);
+
+ // Now copy the data
+ byte[] rawData = new byte[(int)totalSize];
+ for (int i = 0; i < totalSize; i++) {
+ rawData[i] = reinterpretedSegment.get(ValueLayout.JAVA_BYTE, i);
+ }
+
+ return rawData;
+ }
+ catch (Exception e) {
+ // If reinterpret fails, return empty array
+ return new byte[0];
+ }
+ }
+
+ /**
+ * Special method to copy string VL data immediately
+ * For string data, we need to extract the actual string content, not just pointers
+ */
+ private static RawVLData copyStringVLDataImmediately(MemorySegment dataPtr, int len)
+ throws HDF5JavaException
+ {
+ if (len == 0 || dataPtr == null || dataPtr.equals(MemorySegment.NULL)) {
+ return new RawVLData(new byte[0], 0);
+ }
+
+ try {
+ // For variable-length strings (H5T_STRING + H5T_VARIABLE), dataPtr points directly to string data
+ // For other VL string types, dataPtr might point to an array of string pointers
+
+ // Create a list to collect all string bytes
+ java.util.List allStringBytes = new java.util.ArrayList<>();
+
+ // Add length information at the beginning
+ allStringBytes.add((byte)(len & 0xFF));
+ allStringBytes.add((byte)((len >> 8) & 0xFF));
+ allStringBytes.add((byte)((len >> 16) & 0xFF));
+ allStringBytes.add((byte)((len >> 24) & 0xFF));
+
+ // CRITICAL FIX: Handle both direct string data and string pointer arrays
+ try {
+ // First, try to read as direct string data (H5T_STRING + H5T_VARIABLE case)
+ String str = dataPtr.getString(0, StandardCharsets.UTF_8);
+ byte[] strBytes = str.getBytes(StandardCharsets.UTF_8);
+
+ // For direct string data, we have 1 string, so update the count
+ // Replace the length with count = 1
+ allStringBytes.set(0, (byte)1); // count = 1
+ allStringBytes.set(1, (byte)0);
+ allStringBytes.set(2, (byte)0);
+ allStringBytes.set(3, (byte)0);
+
+ // Add string length
+ int strLen = strBytes.length;
+ allStringBytes.add((byte)(strLen & 0xFF));
+ allStringBytes.add((byte)((strLen >> 8) & 0xFF));
+ allStringBytes.add((byte)((strLen >> 16) & 0xFF));
+ allStringBytes.add((byte)((strLen >> 24) & 0xFF));
+
+ // Add string content
+ for (byte b : strBytes) {
+ allStringBytes.add(b);
+ }
+ }
+ catch (Exception directStringEx) {
+ // If direct string reading fails, try as an array of string pointers
+ try {
+ // For string VL data, we have an array of string pointers
+ long pointerArraySize = (long)len * 8; // 8 bytes per pointer on 64-bit systems
+ MemorySegment reinterpretedArray =
+ dataPtr.reinterpret(pointerArraySize, Arena.global(), null);
+
+ for (int i = 0; i < len; i++) {
+ try {
+ // Get the string pointer from the reinterpreted array
+ MemorySegment stringPtr = reinterpretedArray.getAtIndex(ValueLayout.ADDRESS, i);
+
+ if (stringPtr != null && !stringPtr.equals(MemorySegment.NULL)) {
+ // Extract the string content immediately
+ String str = stringPtr.getString(0, StandardCharsets.UTF_8);
+ byte[] strBytes = str.getBytes(StandardCharsets.UTF_8);
+
+ // Add string length
+ int strLen = strBytes.length;
+ allStringBytes.add((byte)(strLen & 0xFF));
+ allStringBytes.add((byte)((strLen >> 8) & 0xFF));
+ allStringBytes.add((byte)((strLen >> 16) & 0xFF));
+ allStringBytes.add((byte)((strLen >> 24) & 0xFF));
+
+ // Add string content
+ for (byte b : strBytes) {
+ allStringBytes.add(b);
+ }
+ }
+ else {
+ // Null string - add zero length
+ allStringBytes.add((byte)0);
+ allStringBytes.add((byte)0);
+ allStringBytes.add((byte)0);
+ allStringBytes.add((byte)0);
+ }
+ }
+ catch (Exception e) {
+ // If we can't read this string, add empty placeholder
+ allStringBytes.add((byte)0);
+ allStringBytes.add((byte)0);
+ allStringBytes.add((byte)0);
+ allStringBytes.add((byte)0);
+ }
+ }
+ }
+ catch (Exception reinterpretEx) {
+ // If both methods fail, fall back to empty data
+ allStringBytes.add((byte)0);
+ allStringBytes.add((byte)0);
+ allStringBytes.add((byte)0);
+ allStringBytes.add((byte)0);
+ }
+ }
+
+ // Convert list to array
+ byte[] result = new byte[allStringBytes.size()];
+ for (int i = 0; i < result.length; i++) {
+ result[i] = allStringBytes.get(i);
+ }
+
+ // For string data, return 1 as the length (1 ArrayList element expected)
+ return new RawVLData(result, 1);
+ }
+ catch (Exception e) {
+ throw new HDF5JavaException("Failed to copy string VL data: " + e.getMessage());
+ }
+ }
+
+ /**
+ * Convert copied raw data to ArrayList without accessing HDF5 memory.
+ * This is the safe second phase that works on Java-managed memory only.
+ */
+ private static ArrayList> convertRawDataToArrayList(RawVLData rawData, long elementType)
+ throws HDF5JavaException
+ {
+
+ // If the hvl_t indicated 0 length, return empty ArrayList
+ if (rawData.length == 0) {
+ return new ArrayList<>();
+ }
+
+ // If we have a non-zero length but no raw data, something went wrong
+ if (rawData.data.length == 0 && rawData.length > 0) {
+ // This indicates a data extraction problem - create ArrayList with correct size but null elements
+ ArrayList fallback = new ArrayList<>(rawData.length);
+ for (int i = 0; i < rawData.length; i++) {
+ fallback.add(null);
+ }
+ return fallback;
+ }
+
+ // Type detection based on HDF5 datatype
+ try {
+ if (isIntegerType(elementType)) {
+ return convertRawDataToIntegerList(rawData);
+ }
+ else if (isDoubleType(elementType)) {
+ return convertRawDataToDoubleList(rawData);
+ }
+ else if (isStringType(elementType)) {
+ return convertRawDataToStringList(rawData);
+ }
+ else if (isReferenceType(elementType)) {
+ return convertRawDataToByteArrayList(rawData);
+ }
+ else if (isVLType(elementType)) {
+ // For nested VL, we need to process hvl_t structures from raw data
+ return convertRawDataToNestedVLList(rawData, elementType);
+ }
+ else {
+ // For unknown types, try to detect content from raw data
+ return detectAndConvertUnknownType(rawData, elementType);
+ }
+ }
+ catch (Exception e) {
+ // Fallback: return empty list to prevent crashes
+ ArrayList fallback = new ArrayList<>();
+ for (int i = 0; i < rawData.length; i++) {
+ fallback.add(null);
+ }
+ return fallback;
+ }
+ }
+
+ /**
+ * Convert raw bytes to Integer ArrayList
+ */
+ private static ArrayList convertRawDataToIntegerList(RawVLData rawData)
+ {
+ ArrayList result = new ArrayList<>(rawData.length);
+
+ byte[] data = rawData.data;
+ int bytesPerInt = Integer.BYTES;
+ int maxInts = Math.min(rawData.length, data.length / bytesPerInt);
+
+ for (int i = 0; i < maxInts; i++) {
+ int offset = i * bytesPerInt;
+ if (offset + bytesPerInt <= data.length) {
+ // Reconstruct integer from bytes (little-endian)
+ int value = (data[offset] & 0xFF) | ((data[offset + 1] & 0xFF) << 8) |
+ ((data[offset + 2] & 0xFF) << 16) | (data[offset + 3] << 24);
+ result.add(value);
+ }
+ }
+
+ return result;
+ }
+
+ /**
+ * Convert raw bytes to Double ArrayList
+ */
+ private static ArrayList convertRawDataToDoubleList(RawVLData rawData)
+ {
+ ArrayList result = new ArrayList<>(rawData.length);
+
+ byte[] data = rawData.data;
+ int bytesPerDouble = Double.BYTES;
+ int maxDoubles = Math.min(rawData.length, data.length / bytesPerDouble);
+
+ for (int i = 0; i < maxDoubles; i++) {
+ int offset = i * bytesPerDouble;
+ if (offset + bytesPerDouble <= data.length) {
+ // Reconstruct double from bytes (little-endian)
+ long longBits = 0;
+ for (int j = 0; j < 8; j++) {
+ longBits |= ((long)(data[offset + j] & 0xFF)) << (j * 8);
+ }
+ double value = Double.longBitsToDouble(longBits);
+ result.add(value);
+ }
+ }
+
+ return result;
+ }
+
+ /**
+ * Convert raw bytes to String ArrayList
+ * For string data copied with copyStringVLDataImmediately, decode the packed format
+ */
+ private static ArrayList convertRawDataToStringList(RawVLData rawData)
+ {
+ ArrayList result = new ArrayList<>();
+
+ if (rawData.length == 0 || rawData.data.length < 4) {
+ // Create empty strings to match expected length
+ for (int i = 0; i < rawData.length; i++) {
+ result.add("");
+ }
+ return result;
+ }
+
+ byte[] data = rawData.data;
+
+ try {
+ // Check if this looks like packed string data (starts with length)
+ if (data.length >= 4) {
+ // Read the number of strings from the first 4 bytes
+ int numStrings =
+ (data[0] & 0xFF) | ((data[1] & 0xFF) << 8) | ((data[2] & 0xFF) << 16) | (data[3] << 24);
+
+ if (numStrings == rawData.length && numStrings > 0) {
+ // This looks like our packed format, decode it
+ int offset = 4; // Skip the count
+
+ for (int i = 0; i < numStrings && offset + 4 <= data.length; i++) {
+ // Read string length
+ int strLen = (data[offset] & 0xFF) | ((data[offset + 1] & 0xFF) << 8) |
+ ((data[offset + 2] & 0xFF) << 16) | (data[offset + 3] << 24);
+ offset += 4;
+
+ if (strLen == 0) {
+ result.add("");
+ }
+ else if (offset + strLen <= data.length) {
+ // Extract string bytes
+ byte[] strBytes = new byte[strLen];
+ System.arraycopy(data, offset, strBytes, 0, strLen);
+ String str = new String(strBytes, StandardCharsets.UTF_8);
+ result.add(str);
+ offset += strLen;
+ }
+ else {
+ result.add(""); // Truncated string
+ }
+ }
+ }
+ }
+
+ // If we didn't get the expected number of strings, pad with empty strings
+ while (result.size() < rawData.length) {
+ result.add("");
+ }
+ }
+ catch (Exception e) {
+ // If decoding fails, create empty strings to prevent crashes
+ result.clear();
+ for (int i = 0; i < rawData.length; i++) {
+ result.add("");
+ }
+ }
+
+ return result;
+ }
+
+ /**
+ * Convert raw bytes to byte array ArrayList (for HDF5 references)
+ */
+ private static ArrayList convertRawDataToByteArrayList(RawVLData rawData)
+ {
+ ArrayList result = new ArrayList<>();
+
+ if (rawData.length == 0 || rawData.data.length == 0) {
+ return result;
+ }
+
+ byte[] data = rawData.data;
+
+ try {
+ // For reference data, we expect a simple packed format:
+ // - First 4 bytes: number of references
+ // - Then for each reference: 4 bytes length + reference data
+ if (data.length >= 4) {
+ int numRefs =
+ (data[0] & 0xFF) | ((data[1] & 0xFF) << 8) | ((data[2] & 0xFF) << 16) | (data[3] << 24);
+
+ if (numRefs == rawData.length && numRefs > 0) {
+ int offset = 4; // Skip the count
+
+ for (int i = 0; i < numRefs && offset + 4 <= data.length; i++) {
+ // Read reference length
+ int refLen = (data[offset] & 0xFF) | ((data[offset + 1] & 0xFF) << 8) |
+ ((data[offset + 2] & 0xFF) << 16) | (data[offset + 3] << 24);
+ offset += 4;
+
+ // Extract reference data
+ if (offset + refLen <= data.length) {
+ byte[] refData = new byte[refLen];
+ System.arraycopy(data, offset, refData, 0, refLen);
+ result.add(refData);
+ offset += refLen;
+ }
+ else {
+ // Invalid data, add empty byte array
+ result.add(new byte[0]);
+ }
+ }
+ }
+ else {
+ // If count doesn't match or is invalid, treat as single large byte array
+ // This handles cases where the data wasn't packed by our convertByteArrayVL method
+ result.add(data.clone());
+ }
+ }
+ else {
+ // Too small for packed format, treat as single byte array
+ result.add(data.clone());
+ }
+ }
+ catch (Exception e) {
+ // Fallback: treat entire raw data as single byte array
+ result.clear();
+ result.add(data.clone());
+ }
+
+ return result;
+ }
+
+ /**
+ * Convert raw bytes to nested VL ArrayList (placeholder implementation)
+ */
+ private static ArrayList> convertRawDataToNestedVLList(RawVLData rawData, long elementType)
+ throws HDF5JavaException
+ {
+ ArrayList> result = new ArrayList<>(rawData.length);
+
+ if (rawData.length == 0 || rawData.data.length == 0) {
+ return result;
+ }
+
+ try {
+ // CRITICAL FIX: For nested VL data, we need to reconstruct the hvl_t array structure
+ // from the raw data and use the existing immediate conversion logic
+
+ // Allocate memory segment from raw data
+ Arena tempArena = Arena.global(); // Use global arena to match other VL operations
+
+ // The raw data contains hvl_t structures - reconstruct them
+ byte[] data = rawData.data;
+ int hvlSize = 16; // hvl_t structure size on 64-bit systems
+ int maxStructs = data.length / hvlSize;
+ int actualStructs = Math.min(maxStructs, rawData.length);
+
+ if (actualStructs > 0) {
+ // Create memory segment from raw data
+ MemorySegment reconstructedHvlArray = tempArena.allocate(data.length);
+ reconstructedHvlArray.copyFrom(MemorySegment.ofArray(data));
+
+ // Use the existing convertNestedVLImmediately method which handles the conversion properly
+ result = convertNestedVLImmediately(reconstructedHvlArray, actualStructs, elementType);
+ }
+
+ // Ensure we have the expected number of elements
+ while (result.size() < rawData.length) {
+ result.add(new ArrayList<>());
+ }
+ }
+ catch (Exception e) {
+ // Fallback: create empty nested lists to prevent IndexOutOfBounds
+ result.clear();
+ for (int i = 0; i < rawData.length; i++) {
+ result.add(new ArrayList<>());
+ }
+ }
+
+ return result;
+ }
+
+ /**
+ * Detect and convert unknown HDF5 datatypes by examining the raw data
+ */
+ private static ArrayList> detectAndConvertUnknownType(RawVLData rawData, long elementType)
+ {
+ // Try to detect the data type from content
+ if (rawData.data.length == 0) {
+ return new ArrayList<>();
+ }
+
+ // Check if it looks like packed string data (starts with count)
+ if (rawData.data.length >= 4) {
+ int possibleCount = (rawData.data[0] & 0xFF) | ((rawData.data[1] & 0xFF) << 8) |
+ ((rawData.data[2] & 0xFF) << 16) | (rawData.data[3] << 24);
+
+ if (possibleCount == rawData.length && possibleCount > 0 && possibleCount < 1000) {
+ // Looks like string data
+ return convertRawDataToStringList(rawData);
+ }
+ }
+
+ // Check if it looks like integer data
+ if (rawData.data.length >= rawData.length * 4) {
+ try {
+ return convertRawDataToIntegerList(rawData);
+ }
+ catch (Exception e) {
+ // Not integer data
+ }
+ }
+
+ // Check if it looks like double data
+ if (rawData.data.length >= rawData.length * 8) {
+ try {
+ return convertRawDataToDoubleList(rawData);
+ }
+ catch (Exception e) {
+ // Not double data
+ }
+ }
+
+ // Fallback: create empty list
+ ArrayList result = new ArrayList<>();
+ for (int i = 0; i < rawData.length; i++) {
+ result.add(""); // Use empty string as safe fallback
+ }
+ return result;
+ }
+
+ /**
+ * IMMEDIATE conversion that extracts all data before any H5Treclaim can invalidate memory
+ * This follows the JNI translate pattern of immediate data copying.
+ * DEPRECATED: Use the two-phase approach instead
+ */
+ @Deprecated
+ private static ArrayList> convertSingleElementImmediately(MemorySegment dataPtr, int len,
+ long elementType) throws HDF5JavaException
+ {
+
+ if (len == 0 || dataPtr == null || dataPtr.equals(MemorySegment.NULL)) {
+ return new ArrayList<>();
+ }
+
+ // IMMEDIATE data extraction based on HDF5 datatype
+ if (isIntegerType(elementType)) {
+ return convertIntegerVLFromHVL(dataPtr, len);
+ }
+ else if (isDoubleType(elementType)) {
+ return convertDoubleVLFromHVL(dataPtr, len);
+ }
+ else if (isStringType(elementType)) {
+ return convertStringVLFromHVL(dataPtr, len);
+ }
+ else if (isVLType(elementType)) {
+ // For nested VL, we need to extract all nested hvl_t data IMMEDIATELY
+ return convertNestedVLImmediately(dataPtr, len, elementType);
+ }
+ else {
+ throw new HDF5JavaException("Unsupported HDF5 datatype for VL conversion: " + elementType);
+ }
+ }
+
+ /**
+ * Legacy method kept for compatibility - now delegates to immediate conversion
+ * CRITICAL: This method should not be used for new code - use convertSingleElementImmediately instead
+ * This method exists only for backward compatibility and should be avoided
+ */
+ @Deprecated
+ private static ArrayList> convertSingleElementFromHVL(MemorySegment hvlElement, long elementType)
+ throws HDF5JavaException
+ {
+
+ // CRITICAL: Extract hvl_t data IMMEDIATELY to prevent access after H5Treclaim
+ long len = hvl_t.len(hvlElement);
+ MemorySegment dataPtr = hvl_t.p(hvlElement);
+
+ return convertSingleElementImmediately(dataPtr, (int)len, elementType);
+ }
+
+ /**
+ * Convert native int array back to ArrayList
+ */
+ private static ArrayList convertIntegerVLFromHVL(MemorySegment dataPtr, int len)
+ {
+ ArrayList result = new ArrayList<>(len);
+
+ // Check if we have a valid memory segment
+ if (dataPtr == null || dataPtr.equals(MemorySegment.NULL) || len <= 0) {
+ return result;
+ }
+
+ // IMPORTANT: For nested VL structures, we cannot trust the byteSize()
+ // since HDF5 may invalidate memory at any time. We must be more defensive.
+ long requiredBytes = (long)len * Integer.BYTES;
+
+ // Use safe bounds checking without relying on byteSize() for HDF5 managed memory
+ boolean canCheckSize = true;
+ try {
+ // Only check size for non-HDF5 managed memory segments
+ if (dataPtr.byteSize() != Long.MAX_VALUE && dataPtr.byteSize() > 0) {
+ if (dataPtr.byteSize() < requiredBytes) {
+ throw new HDF5JavaException("Memory segment too small: has " + dataPtr.byteSize() +
+ " bytes, need " + requiredBytes + " for " + len +
+ " integers");
+ }
+ }
+ }
+ catch (Exception e) {
+ // If we can't check the size safely, proceed with caution
+ canCheckSize = false;
+ }
+
+ for (int i = 0; i < len; i++) {
+ // Handle unaligned memory by reading as bytes and reconstructing integer
+ long offset = (long)i * Integer.BYTES;
+ int value;
+ try {
+ value = dataPtr.getAtIndex(ValueLayout.JAVA_INT, i);
+ }
+ catch (IllegalArgumentException e) {
+ // Memory is not aligned for direct int access, read as bytes with bounds checking
+ try {
+ // Extra safety: check if we can read each byte before accessing
+ if (offset + 3 >= 0) { // Basic sanity check
+ byte b0 = dataPtr.get(ValueLayout.JAVA_BYTE, offset);
+ byte b1 = dataPtr.get(ValueLayout.JAVA_BYTE, offset + 1);
+ byte b2 = dataPtr.get(ValueLayout.JAVA_BYTE, offset + 2);
+ byte b3 = dataPtr.get(ValueLayout.JAVA_BYTE, offset + 3);
+ // Reconstruct integer in native byte order (little-endian on x86)
+ value = (b0 & 0xFF) | ((b1 & 0xFF) << 8) | ((b2 & 0xFF) << 16) | (b3 << 24);
+ }
+ else {
+ throw new HDF5JavaException("Invalid offset for integer at index " + i);
+ }
+ }
+ catch (Exception ex) {
+ // If we get a SIGSEGV-type error, the memory is no longer valid
+ throw new HDF5JavaException("Memory access violation at index " + i + " (offset " +
+ offset +
+ ") - memory may have been freed by HDF5: " + ex.getMessage());
+ }
+ }
+ catch (Exception e) {
+ // Catch any other access violations
+ throw new HDF5JavaException("Memory access error at index " + i +
+ " - memory segment may be invalid: " + e.getMessage());
+ }
+ result.add(value);
+ }
+
+ return result;
+ }
+
+ /**
+ * Convert native double array back to ArrayList
+ */
+ private static ArrayList convertDoubleVLFromHVL(MemorySegment dataPtr, int len)
+ {
+ ArrayList result = new ArrayList<>(len);
+
+ // Check if we have a valid memory segment
+ if (dataPtr == null || dataPtr.equals(MemorySegment.NULL) || len <= 0) {
+ return result;
+ }
+
+ // IMPORTANT: For nested VL structures, we cannot trust the byteSize()
+ // since HDF5 may invalidate memory at any time. We must be more defensive.
+ long requiredBytes = (long)len * Double.BYTES;
+
+ // Use safe bounds checking without relying on byteSize() for HDF5 managed memory
+ boolean canCheckSize = true;
+ try {
+ // Only check size for non-HDF5 managed memory segments
+ if (dataPtr.byteSize() != Long.MAX_VALUE && dataPtr.byteSize() > 0) {
+ if (dataPtr.byteSize() < requiredBytes) {
+ throw new HDF5JavaException("Memory segment too small: has " + dataPtr.byteSize() +
+ " bytes, need " + requiredBytes + " for " + len + " doubles");
+ }
+ }
+ }
+ catch (Exception e) {
+ // If we can't check the size safely, proceed with caution
+ canCheckSize = false;
+ }
+
+ for (int i = 0; i < len; i++) {
+ // Handle unaligned memory by reading as bytes and reconstructing double
+ long offset = (long)i * Double.BYTES;
+ double value;
+ try {
+ value = dataPtr.getAtIndex(ValueLayout.JAVA_DOUBLE, i);
+ }
+ catch (IllegalArgumentException e) {
+ // Memory is not aligned for direct double access, read as bytes with bounds checking
+ try {
+ long longBits = 0;
+ for (int j = 0; j < 8; j++) {
+ byte b = dataPtr.get(ValueLayout.JAVA_BYTE, offset + j);
+ longBits |= ((long)(b & 0xFF)) << (j * 8);
+ }
+ value = Double.longBitsToDouble(longBits);
+ }
+ catch (Exception ex) {
+ throw new HDF5JavaException("Failed to read double at index " + i + " (offset " + offset +
+ "): " + ex.getMessage());
+ }
+ }
+ result.add(value);
+ }
+
+ return result;
+ }
+
+ /**
+ * Convert native char** array back to ArrayList
+ */
+ private static ArrayList convertStringVLFromHVL(MemorySegment dataPtr, int len)
+ {
+ // For variable-length strings (H5T_C_S1 + H5T_VARIABLE),
+ // the hvl_t structure is interpreted differently than for regular VL data
+ ArrayList result = new ArrayList<>(1);
+
+ // Check if we have a valid memory segment
+ if (dataPtr == null || dataPtr.equals(MemorySegment.NULL)) {
+ result.add(""); // Add empty string for invalid data
+ return result;
+ }
+
+ try {
+ // HYPOTHESIS: For VL strings, what we think is 'len' is actually a string pointer
+ // Try to create a MemorySegment from the 'len' value if it looks like an address
+ if (len > 0x1000000) { // Looks like a memory address
+ try {
+ MemorySegment stringPtr =
+ MemorySegment.ofAddress(len).reinterpret(100, Arena.global(), null);
+ String str = stringPtr.getString(0, java.nio.charset.StandardCharsets.UTF_8);
+ System.out.println("DEBUG: convertStringVLFromHVL read from len-as-pointer: \"" + str +
+ "\"");
+ result.add(str);
+ return result;
+ }
+ catch (Exception addrException) {
+ System.out.println("DEBUG: Failed to read from len-as-pointer: " +
+ addrException.getMessage());
+ }
+ }
+
+ // Fallback: Read the string directly from dataPtr
+ String str = dataPtr.getString(0, java.nio.charset.StandardCharsets.UTF_8);
+ System.out.println("DEBUG: convertStringVLFromHVL read from dataPtr: \"" + str +
+ "\" (len=" + len + ")");
+ result.add(str);
+ }
+ catch (Exception e) {
+ // If string reading fails, add empty string
+ System.out.println("DEBUG: convertStringVLFromHVL failed with exception: " + e.getMessage());
+ result.add("");
+ }
+
+ return result;
+ }
+
+ /**
+ * IMMEDIATE nested VL conversion - extracts ALL nested data before any potential H5Treclaim
+ */
+ private static ArrayList> convertNestedVLImmediately(MemorySegment dataPtr, int len,
+ long elementType)
+ throws HDF5JavaException
+ {
+
+ ArrayList> result = new ArrayList<>(len);
+
+ // Get the base type for nested elements
+ long baseType = getVLBaseType(elementType);
+
+ try {
+ // CRITICAL: For nested VL data, extract ALL nested hvl_t data IMMEDIATELY
+ // This prevents access to freed memory after H5Treclaim
+ for (int i = 0; i < len; i++) {
+ MemorySegment nestedHvlElement = hvl_t.asSlice(dataPtr, i);
+
+ // Extract hvl_t fields immediately - this is the critical step
+ long nestedLen = hvl_t.len(nestedHvlElement);
+ MemorySegment nestedDataPtr = hvl_t.p(nestedHvlElement);
+
+ if (nestedLen == 0 || nestedDataPtr == null || nestedDataPtr.equals(MemorySegment.NULL)) {
+ result.add(new ArrayList<>());
+ continue;
+ }
+
+ // Immediately convert the nested element data
+ ArrayList> nestedList =
+ convertSingleElementImmediately(nestedDataPtr, (int)nestedLen, baseType);
+ result.add(nestedList);
+ }
+ }
+ finally {
+ // CRITICAL: Close the base type to prevent memory leaks
+ try {
+ H5.H5Tclose(baseType);
+ }
+ catch (Exception e) {
+ // Log but don't fail - we've already done the main work
+ }
+ }
+
+ return result;
+ }
+
+ /**
+ * Legacy nested VL conversion - now delegates to immediate version
+ */
+ private static ArrayList> convertNestedVLFromHVL(MemorySegment dataPtr, int len,
+ long elementType) throws HDF5JavaException
+ {
+
+ return convertNestedVLImmediately(dataPtr, len, elementType);
+ }
+
+ /**
+ * Safely convert a nested VL element by immediately copying data
+ */
+ private static ArrayList> convertNestedElementSafely(MemorySegment dataPtr, int len, long elementType)
+ throws HDF5JavaException
+ {
+
+ // Type detection based on HDF5 datatype
+ if (isIntegerType(elementType)) {
+ return convertIntegerVLFromHVL(dataPtr, len);
+ }
+ else if (isDoubleType(elementType)) {
+ return convertDoubleVLFromHVL(dataPtr, len);
+ }
+ else if (isStringType(elementType)) {
+ return convertStringVLFromHVL(dataPtr, len);
+ }
+ else if (isVLType(elementType)) {
+ // Recursively nested VL - handle with care
+ long baseType = getVLBaseType(elementType);
+ try {
+ return convertNestedVLFromHVL(dataPtr, len, baseType);
+ }
+ finally {
+ // CRITICAL: Close the base type to prevent memory leaks
+ try {
+ H5.H5Tclose(baseType);
+ }
+ catch (Exception e) {
+ // Log but don't fail - we've already done the main work
+ }
+ }
+ }
+ else {
+ throw new HDF5JavaException("Unsupported nested HDF5 datatype for VL conversion: " + elementType);
+ }
+ }
+
+ // Helper methods for HDF5 datatype detection
+ private static boolean isIntegerType(long datatype)
+ {
+ try {
+ return H5.H5Tget_class(datatype) == HDF5Constants.H5T_INTEGER;
+ }
+ catch (Exception e) {
+ return false;
+ }
+ }
+
+ private static boolean isDoubleType(long datatype)
+ {
+ try {
+ return H5.H5Tget_class(datatype) == HDF5Constants.H5T_FLOAT;
+ }
+ catch (Exception e) {
+ return false;
+ }
+ }
+
+ private static boolean isStringType(long datatype)
+ {
+ try {
+ return H5.H5Tget_class(datatype) == HDF5Constants.H5T_STRING;
+ }
+ catch (Exception e) {
+ return false;
+ }
+ }
+
+ private static boolean isVLType(long datatype)
+ {
+ try {
+ return H5.H5Tget_class(datatype) == HDF5Constants.H5T_VLEN;
+ }
+ catch (Exception e) {
+ return false;
+ }
+ }
+
+ private static boolean isReferenceType(long datatype)
+ {
+ try {
+ return H5.H5Tget_class(datatype) == HDF5Constants.H5T_REFERENCE;
+ }
+ catch (Exception e) {
+ return false;
+ }
+ }
+
+ private static boolean isVLOfStrings(long datatype)
+ {
+ try {
+ // Check if this is a VL type
+ if (H5.H5Tget_class(datatype) != HDF5Constants.H5T_VLEN) {
+ return false;
+ }
+ // Get the base type
+ long baseType = H5.H5Tget_super(datatype);
+ // Check if base type is a string
+ boolean isVLOfString = H5.H5Tget_class(baseType) == HDF5Constants.H5T_STRING;
+ H5.H5Tclose(baseType);
+ return isVLOfString;
+ }
+ catch (Exception e) {
+ return false;
+ }
+ }
+
+ private static long getVLBaseType(long vlDatatype) throws HDF5JavaException
+ {
+ try {
+ return H5.H5Tget_super(vlDatatype);
+ }
+ catch (Exception e) {
+ throw new HDF5JavaException("Failed to get VL base type: " + e.getMessage());
+ }
+ }
+
+ /**
+ * Convert ArrayList[] of strings to variable-length string array for HDF5
+ * Variable-length strings use string pointer arrays, not hvl_t structures
+ *
+ * @param javaData Array of ArrayLists containing string data
+ * @param arena Arena for memory allocation
+ * @return MemorySegment containing string pointer array
+ * @throws HDF5JavaException if conversion fails
+ */
+ public static MemorySegment convertVLStrings(ArrayList[] javaData, Arena arena) throws HDF5JavaException
+ {
+ if (javaData == null || javaData.length == 0) {
+ throw new HDF5JavaException("Input data array is null or empty");
+ }
+
+ // Allocate array of string pointers using Arena (this part is OK)
+ MemorySegment stringArray = arena.allocate(ValueLayout.ADDRESS, javaData.length);
+
+ for (int i = 0; i < javaData.length; i++) {
+ if (javaData[i] == null || javaData[i].size() == 0) {
+ // Set null pointer for empty/null strings
+ stringArray.setAtIndex(ValueLayout.ADDRESS, i, MemorySegment.NULL);
+ }
+ else {
+ // Get the first string from the ArrayList (VL string format)
+ String str = (String)javaData[i].get(0);
+ if (str == null) {
+ stringArray.setAtIndex(ValueLayout.ADDRESS, i, MemorySegment.NULL);
+ }
+ else {
+ // CRITICAL FIX: Use HDF5's memory allocator instead of Arena
+ // This prevents conflicts between HDF5's VL memory cleanup and Java's Arena
+ byte[] strBytes = str.getBytes(java.nio.charset.StandardCharsets.UTF_8);
+ // Allocate with extra byte for null terminator
+ MemorySegment hdf5StringMem =
+ org.hdfgroup.javahdf5.hdf5_h_2.H5allocate_memory(strBytes.length + 1, false);
+ if (hdf5StringMem == null || hdf5StringMem.equals(MemorySegment.NULL)) {
+ throw new HDF5JavaException("Failed to allocate HDF5 memory for string: " + str);
+ }
+ // Copy string bytes with proper scope management
+ MemorySegment boundedMem =
+ hdf5StringMem.reinterpret(strBytes.length + 1, Arena.global(), null);
+ boundedMem.copyFrom(MemorySegment.ofArray(strBytes));
+ // Add null terminator
+ boundedMem.set(ValueLayout.JAVA_BYTE, strBytes.length, (byte)0);
+ stringArray.setAtIndex(ValueLayout.ADDRESS, i, boundedMem);
+ }
+ }
+ }
+
+ return stringArray;
+ }
+
+ /**
+ * Read variable-length strings from HDF5 dataset
+ * Variable-length strings are read as string pointer arrays, not hvl_t structures
+ *
+ * @param dataset_id HDF5 dataset identifier
+ * @param mem_type_id Memory datatype identifier
+ * @param mem_space_id Memory dataspace identifier
+ * @param file_space_id File dataspace identifier
+ * @param xfer_plist_id Transfer property list identifier
+ * @param arrayLength Number of strings to read
+ * @param arena Arena for memory allocation
+ * @return ArrayList array containing the read strings
+ * @throws HDF5JavaException if reading fails
+ */
+ public static ArrayList[] readVLStrings(long dataset_id, long mem_type_id, long mem_space_id,
+ long file_space_id, long xfer_plist_id, int arrayLength,
+ Arena arena) throws HDF5JavaException
+ {
+ // Allocate array of string pointers for reading
+ MemorySegment stringArray = arena.allocate(ValueLayout.ADDRESS, arrayLength);
+
+ try {
+ // Call native H5Dread to read string pointers
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Dread(dataset_id, mem_type_id, mem_space_id,
+ file_space_id, xfer_plist_id, stringArray);
+ if (status < 0) {
+ throw new HDF5JavaException("H5Dread failed for VL strings");
+ }
+
+ // Convert string pointers to ArrayList array
+ ArrayList[] result = new ArrayList[arrayLength];
+ for (int i = 0; i < arrayLength; i++) {
+ result[i] = new ArrayList();
+
+ MemorySegment stringPtr = stringArray.getAtIndex(ValueLayout.ADDRESS, i);
+ if (stringPtr != null && !stringPtr.equals(MemorySegment.NULL)) {
+ try {
+ // Read null-terminated string from pointer with bounds checking
+ String str = stringPtr.getString(0, java.nio.charset.StandardCharsets.UTF_8);
+ result[i].add(str);
+ }
+ catch (Exception e) {
+ // If string reading fails, add empty string
+ result[i].add("");
+ }
+ }
+ else {
+ // Empty string case
+ result[i].add("");
+ }
+ }
+
+ return result;
+ }
+ catch (Exception e) {
+ throw new HDF5JavaException("Failed to read VL strings: " + e.getMessage());
+ }
+ }
+
+ /**
+ * Read variable-length strings from HDF5 attribute
+ * Attributes and datasets may handle VL strings slightly differently
+ *
+ * @param attr_id HDF5 attribute identifier
+ * @param mem_type_id Memory datatype identifier
+ * @param arrayLength Number of strings to read
+ * @param arena Arena for memory allocation
+ * @return ArrayList array containing the read strings
+ * @throws HDF5JavaException if reading fails
+ */
+ public static ArrayList[] readVLStringsFromAttribute(long attr_id, long mem_type_id, int arrayLength,
+ Arena arena) throws HDF5JavaException
+ {
+ // For attributes, allocate array of string pointers for reading
+ MemorySegment stringArray = arena.allocate(ValueLayout.ADDRESS, arrayLength);
+
+ try {
+ // Call native H5Aread to read string pointers
+ int status = org.hdfgroup.javahdf5.hdf5_h_1.H5Aread(attr_id, mem_type_id, stringArray);
+ if (status < 0) {
+ throw new HDF5JavaException("H5Aread failed for VL strings");
+ }
+
+ // Convert string pointers to ArrayList array
+ ArrayList[] result = new ArrayList[arrayLength];
+ for (int i = 0; i < arrayLength; i++) {
+ result[i] = new ArrayList();
+
+ MemorySegment stringPtr = stringArray.getAtIndex(ValueLayout.ADDRESS, i);
+ if (stringPtr != null && !stringPtr.equals(MemorySegment.NULL)) {
+ try {
+ // Read null-terminated string from pointer with bounds checking
+ String str = stringPtr.getString(0, java.nio.charset.StandardCharsets.UTF_8);
+ result[i].add(str);
+ }
+ catch (Exception e) {
+ // If string reading fails, add empty string
+ result[i].add("");
+ }
+ }
+ else {
+ // Empty string case
+ result[i].add("");
+ }
+ }
+
+ return result;
+ }
+ catch (Exception e) {
+ throw new HDF5JavaException("Failed to read VL strings from attribute: " + e.getMessage());
+ }
+ }
+
+ /**
+ * Convert ArrayList array with heterogeneous types to compound datatype buffer
+ * Used for H5T_COMPOUND datatypes where each ArrayList contains mixed field types
+ *
+ * @param data Array of ArrayLists containing compound field data
+ * @param mem_type_id HDF5 compound datatype identifier
+ * @param arena Arena for memory allocation
+ * @return MemorySegment containing packed compound structures
+ * @throws HDF5JavaException if conversion fails
+ */
+ public static MemorySegment convertCompoundDatatype(ArrayList[] data, long mem_type_id, Arena arena)
+ throws HDF5JavaException
+ {
+ try {
+ // Get compound type information
+ int nmembers = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_nmembers(mem_type_id);
+ if (nmembers < 0) {
+ throw new HDF5JavaException("Failed to get number of compound members");
+ }
+
+ // Get total compound structure size
+ long compoundSize = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_size(mem_type_id);
+ if (compoundSize < 0) {
+ throw new HDF5JavaException("Failed to get compound size");
+ }
+
+ // Allocate buffer for all compound structures
+ MemorySegment buffer = arena.allocate(compoundSize * data.length);
+
+ // Get member information for each field
+ long[] memberTypeIds = new long[nmembers];
+ int[] memberClasses = new int[nmembers];
+ long[] memberOffsets = new long[nmembers];
+ long[] memberSizes = new long[nmembers];
+ boolean[] isVLStrings = new boolean[nmembers];
+
+ for (int i = 0; i < nmembers; i++) {
+ memberTypeIds[i] = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_member_type(mem_type_id, i);
+ memberClasses[i] = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_class(memberTypeIds[i]);
+ memberOffsets[i] = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_member_offset(mem_type_id, i);
+ memberSizes[i] = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_size(memberTypeIds[i]);
+ isVLStrings[i] = (memberClasses[i] == HDF5Constants.H5T_STRING &&
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tis_variable_str(memberTypeIds[i]) > 0);
+ }
+
+ try {
+ // Pack each ArrayList into the compound buffer
+ for (int structIdx = 0; structIdx < data.length; structIdx++) {
+ ArrayList> record = data[structIdx];
+
+ if (record == null || record.size() != nmembers) {
+ throw new HDF5JavaException("ArrayList at index " + structIdx + " has " +
+ (record == null ? "null" : record.size()) +
+ " elements, expected " + nmembers);
+ }
+
+ long structOffset = structIdx * compoundSize;
+
+ // Pack each field into the compound structure
+ for (int fieldIdx = 0; fieldIdx < nmembers; fieldIdx++) {
+ Object fieldValue = record.get(fieldIdx);
+ long fieldOffset = structOffset + memberOffsets[fieldIdx];
+ int memberClass = memberClasses[fieldIdx];
+ long memberSize = memberSizes[fieldIdx];
+ boolean isVLString = isVLStrings[fieldIdx];
+
+ if (memberClass == HDF5Constants.H5T_INTEGER) {
+ // Integer field - write bytes for unaligned HDF5 compound offsets
+ int intValue = (fieldValue instanceof Integer) ? (Integer)fieldValue : 0;
+ buffer.set(ValueLayout.JAVA_BYTE, fieldOffset, (byte)(intValue & 0xFF));
+ buffer.set(ValueLayout.JAVA_BYTE, fieldOffset + 1,
+ (byte)((intValue >> 8) & 0xFF));
+ buffer.set(ValueLayout.JAVA_BYTE, fieldOffset + 2,
+ (byte)((intValue >> 16) & 0xFF));
+ buffer.set(ValueLayout.JAVA_BYTE, fieldOffset + 3,
+ (byte)((intValue >> 24) & 0xFF));
+ }
+ else if (memberClass == HDF5Constants.H5T_FLOAT) {
+ // Double field - write bytes for unaligned HDF5 compound offsets
+ double doubleValue = (fieldValue instanceof Double) ? (Double)fieldValue : 0.0;
+ long longBits = Double.doubleToRawLongBits(doubleValue);
+ for (int byteIdx = 0; byteIdx < 8; byteIdx++) {
+ buffer.set(ValueLayout.JAVA_BYTE, fieldOffset + byteIdx,
+ (byte)((longBits >> (byteIdx * 8)) & 0xFF));
+ }
+ }
+ else if (memberClass == HDF5Constants.H5T_STRING) {
+ if (isVLString) {
+ // Variable-length string - store as pointer
+ String strValue = (fieldValue instanceof String) ? (String)fieldValue : "";
+ byte[] strBytes = strValue.getBytes(StandardCharsets.UTF_8);
+
+ // Allocate with HDF5's memory allocator for VL strings
+ MemorySegment hdf5StringMem =
+ org.hdfgroup.javahdf5.hdf5_h_2.H5allocate_memory(strBytes.length + 1,
+ false);
+ if (hdf5StringMem == null || hdf5StringMem.equals(MemorySegment.NULL)) {
+ throw new HDF5JavaException(
+ "Failed to allocate HDF5 memory for string: " + strValue);
+ }
+
+ MemorySegment boundedMem =
+ hdf5StringMem.reinterpret(strBytes.length + 1, Arena.global(), null);
+ boundedMem.copyFrom(MemorySegment.ofArray(strBytes));
+ boundedMem.set(ValueLayout.JAVA_BYTE, strBytes.length, (byte)0);
+
+ // Store pointer
+ buffer.set(ValueLayout.ADDRESS, fieldOffset, boundedMem);
+ }
+ else {
+ // Fixed-length string - copy bytes directly
+ String strValue = (fieldValue instanceof String) ? (String)fieldValue : "";
+ byte[] strBytes = strValue.getBytes(StandardCharsets.UTF_8);
+ int copyLen = (int)Math.min(strBytes.length, memberSize);
+
+ // Copy string bytes
+ for (int j = 0; j < copyLen; j++) {
+ buffer.set(ValueLayout.JAVA_BYTE, fieldOffset + j, strBytes[j]);
+ }
+ // Pad with zeros
+ for (int j = copyLen; j < memberSize; j++) {
+ buffer.set(ValueLayout.JAVA_BYTE, fieldOffset + j, (byte)0);
+ }
+ }
+ }
+ else {
+ throw new HDF5JavaException("Unsupported compound member type class: " +
+ memberClass);
+ }
+ }
+ }
+ }
+ finally {
+ // Close member type IDs
+ for (int i = 0; i < nmembers; i++) {
+ if (memberTypeIds[i] >= 0) {
+ try {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(memberTypeIds[i]);
+ }
+ catch (Exception e) {
+ // Ignore close errors
+ }
+ }
+ }
+ }
+
+ return buffer;
+ }
+ catch (Exception e) {
+ if (e instanceof HDF5JavaException) {
+ throw e;
+ }
+ throw new HDF5JavaException("Compound datatype conversion failed: " + e.getMessage());
+ }
+ }
+
+ /**
+ * Read compound datatype data from HDF5 attribute or dataset
+ * Used for H5T_COMPOUND datatypes where each ArrayList contains mixed field types
+ *
+ * @param attr_or_dataset_id HDF5 attribute or dataset identifier
+ * @param mem_type_id HDF5 compound datatype identifier
+ * @param count Number of compound structures to read
+ * @param arena Arena for memory allocation
+ * @param isDataset true if reading from dataset, false if reading from attribute
+ * @param mem_space_id Memory dataspace (for datasets only)
+ * @param file_space_id File dataspace (for datasets only)
+ * @param xfer_plist_id Transfer property list (for datasets only)
+ * @return ArrayList array containing compound field data
+ * @throws HDF5JavaException if reading fails
+ */
+ public static ArrayList[] readCompoundDatatype(long attr_or_dataset_id, long mem_type_id, int count,
+ Arena arena, boolean isDataset, long mem_space_id,
+ long file_space_id, long xfer_plist_id)
+ throws HDF5JavaException
+ {
+ try {
+ // Get compound type information
+ int nmembers = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_nmembers(mem_type_id);
+ if (nmembers < 0) {
+ throw new HDF5JavaException("Failed to get number of compound members");
+ }
+
+ // Get total compound structure size
+ long compoundSize = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_size(mem_type_id);
+ if (compoundSize < 0) {
+ throw new HDF5JavaException("Failed to get compound size");
+ }
+
+ // Get member information for each field
+ long[] memberTypeIds = new long[nmembers];
+ int[] memberClasses = new int[nmembers];
+ long[] memberOffsets = new long[nmembers];
+ long[] memberSizes = new long[nmembers];
+ boolean[] isVLStrings = new boolean[nmembers];
+
+ for (int i = 0; i < nmembers; i++) {
+ memberTypeIds[i] = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_member_type(mem_type_id, i);
+ memberClasses[i] = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_class(memberTypeIds[i]);
+ memberOffsets[i] = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_member_offset(mem_type_id, i);
+ memberSizes[i] = org.hdfgroup.javahdf5.hdf5_h_1.H5Tget_size(memberTypeIds[i]);
+ isVLStrings[i] = (memberClasses[i] == HDF5Constants.H5T_STRING &&
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tis_variable_str(memberTypeIds[i]) > 0);
+ }
+
+ // Allocate buffer for all compound structures
+ MemorySegment buffer = arena.allocate(compoundSize * count);
+
+ // Read data from HDF5
+ int status;
+ if (isDataset) {
+ status = org.hdfgroup.javahdf5.hdf5_h_1.H5Dread(attr_or_dataset_id, mem_type_id, mem_space_id,
+ file_space_id, xfer_plist_id, buffer);
+ }
+ else {
+ status = org.hdfgroup.javahdf5.hdf5_h_1.H5Aread(attr_or_dataset_id, mem_type_id, buffer);
+ }
+
+ if (status < 0) {
+ throw new HDF5JavaException("H5 read failed with status: " + status);
+ }
+
+ // Parse buffer into ArrayList array
+ ArrayList[] result = new ArrayList[count];
+
+ try {
+ for (int structIdx = 0; structIdx < count; structIdx++) {
+ ArrayList record = new ArrayList<>();
+ long structOffset = structIdx * compoundSize;
+
+ // Read each field from the compound structure
+ for (int fieldIdx = 0; fieldIdx < nmembers; fieldIdx++) {
+ long fieldOffset = structOffset + memberOffsets[fieldIdx];
+ int memberClass = memberClasses[fieldIdx];
+ long memberSize = memberSizes[fieldIdx];
+ boolean isVLString = isVLStrings[fieldIdx];
+
+ if (memberClass == HDF5Constants.H5T_INTEGER) {
+ // Read integer field (little-endian byte order)
+ int intValue =
+ (buffer.get(ValueLayout.JAVA_BYTE, fieldOffset) & 0xFF) |
+ ((buffer.get(ValueLayout.JAVA_BYTE, fieldOffset + 1) & 0xFF) << 8) |
+ ((buffer.get(ValueLayout.JAVA_BYTE, fieldOffset + 2) & 0xFF) << 16) |
+ (buffer.get(ValueLayout.JAVA_BYTE, fieldOffset + 3) << 24);
+ record.add(intValue);
+ }
+ else if (memberClass == HDF5Constants.H5T_FLOAT) {
+ // Read double field (8 bytes, little-endian)
+ long longBits = 0;
+ for (int byteIdx = 0; byteIdx < 8; byteIdx++) {
+ long byteVal =
+ buffer.get(ValueLayout.JAVA_BYTE, fieldOffset + byteIdx) & 0xFFL;
+ longBits |= (byteVal << (byteIdx * 8));
+ }
+ double doubleValue = Double.longBitsToDouble(longBits);
+ record.add(doubleValue);
+ }
+ else if (memberClass == HDF5Constants.H5T_STRING) {
+ if (isVLString) {
+ // Variable-length string - read pointer
+ MemorySegment stringPtr = buffer.get(ValueLayout.ADDRESS, fieldOffset);
+ if (stringPtr != null && !stringPtr.equals(MemorySegment.NULL)) {
+ try {
+ String str = stringPtr.getString(0, StandardCharsets.UTF_8);
+ record.add(str);
+ }
+ catch (Exception e) {
+ record.add("");
+ }
+ }
+ else {
+ record.add("");
+ }
+ }
+ else {
+ // Fixed-length string - read bytes
+ byte[] strBytes = new byte[(int)memberSize];
+ for (int j = 0; j < memberSize; j++) {
+ strBytes[j] = buffer.get(ValueLayout.JAVA_BYTE, fieldOffset + j);
+ }
+ // Convert to string and trim null terminators
+ String strValue = new String(strBytes, StandardCharsets.UTF_8);
+ int nullIdx = strValue.indexOf('\0');
+ if (nullIdx >= 0) {
+ strValue = strValue.substring(0, nullIdx);
+ }
+ record.add(strValue);
+ }
+ }
+ else {
+ throw new HDF5JavaException("Unsupported compound member type class for read: " +
+ memberClass);
+ }
+ }
+
+ result[structIdx] = record;
+ }
+ }
+ finally {
+ // Close member type IDs
+ for (int i = 0; i < nmembers; i++) {
+ if (memberTypeIds[i] >= 0) {
+ try {
+ org.hdfgroup.javahdf5.hdf5_h_1.H5Tclose(memberTypeIds[i]);
+ }
+ catch (Exception e) {
+ // Ignore close errors
+ }
+ }
+ }
+ }
+
+ return result;
+ }
+ catch (Exception e) {
+ if (e instanceof HDF5JavaException) {
+ throw e;
+ }
+ throw new HDF5JavaException("Compound datatype read failed: " + e.getMessage());
+ }
+ }
+}
\ No newline at end of file
diff --git a/java/hdf/hdf5lib/callbacks/H5A_iterate_cb.java b/java/hdf/hdf5lib/callbacks/H5A_iterate_cb.java
new file mode 100644
index 00000000000..f2bc4e13e72
--- /dev/null
+++ b/java/hdf/hdf5lib/callbacks/H5A_iterate_cb.java
@@ -0,0 +1,47 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.callbacks;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import java.lang.foreign.MemorySegment;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * Information class for link callback for H5Aiterate.
+ *
+ */
+public interface H5A_iterate_cb extends org.hdfgroup.javahdf5.H5A_operator2_t.Function {
+ /**
+ * @ingroup JCALLBK
+ *
+ * application callback for each attribute
+ *
+ * @param loc_id the ID for the group or dataset being iterated over
+ * @param name the name of the current attribute about the object
+ * @param info the attribute's "info" struct
+ * @param op_data the operator data passed in to H5Aiterate
+ *
+ * @return operation status
+ * A. Zero causes the iterator to continue, returning zero when all
+ * attributes have been processed.
+ * B. Positive causes the iterator to immediately return that positive
+ * value, indicating short-circuit success. The iterator can be
+ * restarted at the next attribute.
+ * C. Negative causes the iterator to immediately return that value,
+ * indicating failure. The iterator can be restarted at the next
+ * attribute.
+ */
+ int apply(long location_id, MemorySegment attr_name, MemorySegment ainfo, MemorySegment op_data);
+}
diff --git a/java/hdf/hdf5lib/callbacks/H5A_iterate_t.java b/java/hdf/hdf5lib/callbacks/H5A_iterate_t.java
new file mode 100644
index 00000000000..f11239af019
--- /dev/null
+++ b/java/hdf/hdf5lib/callbacks/H5A_iterate_t.java
@@ -0,0 +1,28 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.callbacks;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * Data class for link callback for H5Aiterate.
+ *
+ */
+public interface H5A_iterate_t {
+ /**
+ * public ArrayList iterdata = new ArrayList();
+ * Any derived interfaces must define the single public variable as above.
+ */
+}
diff --git a/java/hdf/hdf5lib/callbacks/H5D_append_cb.java b/java/hdf/hdf5lib/callbacks/H5D_append_cb.java
new file mode 100644
index 00000000000..09ea4de7a17
--- /dev/null
+++ b/java/hdf/hdf5lib/callbacks/H5D_append_cb.java
@@ -0,0 +1,46 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.callbacks;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import java.lang.foreign.MemorySegment;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * Information class for link callback for H5Pset/get_append_flush.
+ *
+ */
+public interface H5D_append_cb extends H5D_append_cb_t.Function {
+ /**
+ * @ingroup JCALLBK
+ *
+ * application callback for each dataset access property list
+ *
+ * @param dataset_id the ID for the dataset being iterated over
+ * @param cur_dims the dimension sizes for determining boundary
+ * @param op_data the operator data passed in to H5Pset/get_append_flush
+ *
+ * @return operation status
+ * A. Zero causes the iterator to continue, returning zero when all
+ * attributes have been processed.
+ * B. Positive causes the iterator to immediately return that positive
+ * value, indicating short-circuit success. The iterator can be
+ * restarted at the next attribute.
+ * C. Negative causes the iterator to immediately return that value,
+ * indicating failure. The iterator can be restarted at the next
+ * attribute.
+ */
+ int apply(long dataset_id, MemorySegment cur_dims, MemorySegment op_data);
+}
diff --git a/java/hdf/hdf5lib/callbacks/H5D_append_t.java b/java/hdf/hdf5lib/callbacks/H5D_append_t.java
new file mode 100644
index 00000000000..8add2c79960
--- /dev/null
+++ b/java/hdf/hdf5lib/callbacks/H5D_append_t.java
@@ -0,0 +1,28 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.callbacks;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * Data class for link callback for H5Dappend.
+ *
+ */
+public interface H5D_append_t {
+ /**
+ * public ArrayList iterdata = new ArrayList();
+ * Any derived interfaces must define the single public variable as above.
+ */
+}
diff --git a/java/hdf/hdf5lib/callbacks/H5D_iterate_cb.java b/java/hdf/hdf5lib/callbacks/H5D_iterate_cb.java
new file mode 100644
index 00000000000..6fbb9b772c1
--- /dev/null
+++ b/java/hdf/hdf5lib/callbacks/H5D_iterate_cb.java
@@ -0,0 +1,48 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.callbacks;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import java.lang.foreign.MemorySegment;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * Information class for link callback for H5Diterate.
+ *
+ */
+public interface H5D_iterate_cb extends org.hdfgroup.javahdf5.H5D_operator_t.Function {
+ /**
+ * @ingroup JCALLBK
+ *
+ * application callback for each dataset element
+ *
+ * @param elem the pointer to the element in memory containing the current point
+ * @param elem_type the datatype ID for the elements stored in elem
+ * @param ndim the number of dimensions for POINT array
+ * @param point the array containing the location of the element within the original dataspace
+ * @param op_data the operator data passed in to H5Diterate
+ *
+ * @return operation status
+ * A. Zero causes the iterator to continue, returning zero when all
+ * attributes have been processed.
+ * B. Positive causes the iterator to immediately return that positive
+ * value, indicating short-circuit success. The iterator can be
+ * restarted at the next attribute.
+ * C. Negative causes the iterator to immediately return that value,
+ * indicating failure. The iterator can be restarted at the next
+ * attribute.
+ */
+ int apply(MemorySegment elem, long type_id, int ndim, MemorySegment point, MemorySegment operator_data);
+}
diff --git a/java/hdf/hdf5lib/callbacks/H5D_iterate_t.java b/java/hdf/hdf5lib/callbacks/H5D_iterate_t.java
new file mode 100644
index 00000000000..2d074f88016
--- /dev/null
+++ b/java/hdf/hdf5lib/callbacks/H5D_iterate_t.java
@@ -0,0 +1,28 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.callbacks;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * Data class for link callback for H5Diterate.
+ *
+ */
+public interface H5D_iterate_t {
+ /**
+ * public ArrayList iterdata = new ArrayList();
+ * Any derived interfaces must define the single public variable as above.
+ */
+}
diff --git a/java/hdf/hdf5lib/callbacks/H5E_walk_cb.java b/java/hdf/hdf5lib/callbacks/H5E_walk_cb.java
new file mode 100644
index 00000000000..c964ecd6a2f
--- /dev/null
+++ b/java/hdf/hdf5lib/callbacks/H5E_walk_cb.java
@@ -0,0 +1,46 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.callbacks;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import java.lang.foreign.MemorySegment;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * Information class for link callback for H5Ewalk.
+ *
+ */
+public interface H5E_walk_cb extends H5E_walk2_t.Function {
+ /**
+ * @ingroup JCALLBK
+ *
+ * application callback for each error stack element
+ *
+ * @param nidx the index of the current error stack element
+ * @param info the error stack "info" struct
+ * @param op_data the operator data passed in to H5Ewalk
+ *
+ * @return operation status
+ * A. Zero causes the iterator to continue, returning zero when all
+ * attributes have been processed.
+ * B. Positive causes the iterator to immediately return that positive
+ * value, indicating short-circuit success. The iterator can be
+ * restarted at the next attribute.
+ * C. Negative causes the iterator to immediately return that value,
+ * indicating failure. The iterator can be restarted at the next
+ * attribute.
+ */
+ int apply(int n, MemorySegment err_desc, MemorySegment client_data);
+}
diff --git a/java/hdf/hdf5lib/callbacks/H5E_walk_t.java b/java/hdf/hdf5lib/callbacks/H5E_walk_t.java
new file mode 100644
index 00000000000..4f66fc2ba6e
--- /dev/null
+++ b/java/hdf/hdf5lib/callbacks/H5E_walk_t.java
@@ -0,0 +1,28 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.callbacks;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * Data class for link callback for H5Ewalk.
+ *
+ */
+public interface H5E_walk_t {
+ /**
+ * public ArrayList iterdata = new ArrayList();
+ * Any derived interfaces must define the single public variable as above.
+ */
+}
diff --git a/java/hdf/hdf5lib/callbacks/H5L_iterate_opdata_t.java b/java/hdf/hdf5lib/callbacks/H5L_iterate_opdata_t.java
new file mode 100644
index 00000000000..609b41b0f2a
--- /dev/null
+++ b/java/hdf/hdf5lib/callbacks/H5L_iterate_opdata_t.java
@@ -0,0 +1,24 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.callbacks;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * Data class for link callback for H5Lvisit/H5Lvisit_by_name.
+ *
+ */
+public interface H5L_iterate_opdata_t {
+}
diff --git a/java/hdf/hdf5lib/callbacks/H5L_iterate_t.java b/java/hdf/hdf5lib/callbacks/H5L_iterate_t.java
new file mode 100644
index 00000000000..21bc0ed2470
--- /dev/null
+++ b/java/hdf/hdf5lib/callbacks/H5L_iterate_t.java
@@ -0,0 +1,47 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.callbacks;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import java.lang.foreign.MemorySegment;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * Information class for link callback for H5Lvisit/H5Lvisit_by_name.
+ *
+ */
+public interface H5L_iterate_t extends H5L_iterate2_t.Function {
+ /**
+ * @ingroup JCALLBK
+ *
+ * application callback for each group
+ *
+ * @param loc_id the ID for the group being iterated over
+ * @param name the name of the current link
+ * @param info the link's "info" struct
+ * @param op_data the operator data passed in to H5Literate
+ *
+ * @return operation status
+ * A. Zero causes the iterator to continue, returning zero when all
+ * attributes have been processed.
+ * B. Positive causes the iterator to immediately return that positive
+ * value, indicating short-circuit success. The iterator can be
+ * restarted at the next attribute.
+ * C. Negative causes the iterator to immediately return that value,
+ * indicating failure. The iterator can be restarted at the next
+ * attribute.
+ */
+ int apply(long group, MemorySegment name, MemorySegment info, MemorySegment op_data);
+}
diff --git a/java/hdf/hdf5lib/callbacks/H5O_iterate_opdata_t.java b/java/hdf/hdf5lib/callbacks/H5O_iterate_opdata_t.java
new file mode 100644
index 00000000000..6e29729cfd3
--- /dev/null
+++ b/java/hdf/hdf5lib/callbacks/H5O_iterate_opdata_t.java
@@ -0,0 +1,24 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.callbacks;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * Data class for link callback for H5Ovisit/H5Ovisit_by_name.
+ *
+ */
+public interface H5O_iterate_opdata_t {
+}
diff --git a/java/hdf/hdf5lib/callbacks/H5O_iterate_t.java b/java/hdf/hdf5lib/callbacks/H5O_iterate_t.java
new file mode 100644
index 00000000000..ce5973188c5
--- /dev/null
+++ b/java/hdf/hdf5lib/callbacks/H5O_iterate_t.java
@@ -0,0 +1,47 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.callbacks;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import java.lang.foreign.MemorySegment;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * Information class for link callback for H5Ovisit/H5Ovisit_by_name.
+ *
+ */
+public interface H5O_iterate_t extends H5O_iterate2_t.Function {
+ /**
+ * @ingroup JCALLBK
+ *
+ * application callback for each group
+ *
+ * @param loc_id the ID for the group or dataset being iterated over
+ * @param name the name of the current object
+ * @param info the object's "info" struct
+ * @param op_data the operator data passed in to H5Oiterate
+ *
+ * @return operation status
+ * A. Zero causes the iterator to continue, returning zero when all
+ * attributes have been processed.
+ * B. Positive causes the iterator to immediately return that positive
+ * value, indicating short-circuit success. The iterator can be
+ * restarted at the next attribute.
+ * C. Negative causes the iterator to immediately return that value,
+ * indicating failure. The iterator can be restarted at the next
+ * attribute.
+ */
+ int apply(long obj, MemorySegment name, MemorySegment info, MemorySegment op_data);
+}
diff --git a/java/src/hdf/hdf5lib/callbacks/H5P_cls_close_func_cb.java b/java/hdf/hdf5lib/callbacks/H5P_cls_close_func_cb.java
similarity index 100%
rename from java/src/hdf/hdf5lib/callbacks/H5P_cls_close_func_cb.java
rename to java/hdf/hdf5lib/callbacks/H5P_cls_close_func_cb.java
diff --git a/java/src/hdf/hdf5lib/callbacks/H5P_cls_close_func_t.java b/java/hdf/hdf5lib/callbacks/H5P_cls_close_func_t.java
similarity index 100%
rename from java/src/hdf/hdf5lib/callbacks/H5P_cls_close_func_t.java
rename to java/hdf/hdf5lib/callbacks/H5P_cls_close_func_t.java
diff --git a/java/src/hdf/hdf5lib/callbacks/H5P_cls_copy_func_cb.java b/java/hdf/hdf5lib/callbacks/H5P_cls_copy_func_cb.java
similarity index 100%
rename from java/src/hdf/hdf5lib/callbacks/H5P_cls_copy_func_cb.java
rename to java/hdf/hdf5lib/callbacks/H5P_cls_copy_func_cb.java
diff --git a/java/src/hdf/hdf5lib/callbacks/H5P_cls_copy_func_t.java b/java/hdf/hdf5lib/callbacks/H5P_cls_copy_func_t.java
similarity index 100%
rename from java/src/hdf/hdf5lib/callbacks/H5P_cls_copy_func_t.java
rename to java/hdf/hdf5lib/callbacks/H5P_cls_copy_func_t.java
diff --git a/java/src/hdf/hdf5lib/callbacks/H5P_cls_create_func_cb.java b/java/hdf/hdf5lib/callbacks/H5P_cls_create_func_cb.java
similarity index 100%
rename from java/src/hdf/hdf5lib/callbacks/H5P_cls_create_func_cb.java
rename to java/hdf/hdf5lib/callbacks/H5P_cls_create_func_cb.java
diff --git a/java/src/hdf/hdf5lib/callbacks/H5P_cls_create_func_t.java b/java/hdf/hdf5lib/callbacks/H5P_cls_create_func_t.java
similarity index 100%
rename from java/src/hdf/hdf5lib/callbacks/H5P_cls_create_func_t.java
rename to java/hdf/hdf5lib/callbacks/H5P_cls_create_func_t.java
diff --git a/java/hdf/hdf5lib/callbacks/H5P_iterate_cb.java b/java/hdf/hdf5lib/callbacks/H5P_iterate_cb.java
new file mode 100644
index 00000000000..bfc9a048a91
--- /dev/null
+++ b/java/hdf/hdf5lib/callbacks/H5P_iterate_cb.java
@@ -0,0 +1,46 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.callbacks;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import java.lang.foreign.MemorySegment;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * Information class for link callback for H5Piterate.
+ *
+ */
+public interface H5P_iterate_cb extends org.hdfgroup.javahdf5.H5P_iterate_t.Function {
+ /**
+ * @ingroup JCALLBK
+ *
+ * application callback for each property list
+ *
+ * @param plist the ID for the property list being iterated over
+ * @param name the name of the current property list
+ * @param op_data the operator data passed in to H5Piterate
+ *
+ * @return operation status
+ * A. Zero causes the iterator to continue, returning zero when all
+ * attributes have been processed.
+ * B. Positive causes the iterator to immediately return that positive
+ * value, indicating short-circuit success. The iterator can be
+ * restarted at the next attribute.
+ * C. Negative causes the iterator to immediately return that value,
+ * indicating failure. The iterator can be restarted at the next
+ * attribute.
+ */
+ int apply(long id, MemorySegment name, MemorySegment iter_data);
+}
diff --git a/java/hdf/hdf5lib/callbacks/H5P_iterate_t.java b/java/hdf/hdf5lib/callbacks/H5P_iterate_t.java
new file mode 100644
index 00000000000..f9e35dfc565
--- /dev/null
+++ b/java/hdf/hdf5lib/callbacks/H5P_iterate_t.java
@@ -0,0 +1,28 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.callbacks;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * Data class for link callback for H5Piterate.
+ *
+ */
+public interface H5P_iterate_t {
+ /**
+ * public ArrayList iterdata = new ArrayList();
+ * Any derived interfaces must define the single public variable as above.
+ */
+}
diff --git a/java/src/hdf/hdf5lib/callbacks/H5P_prp_close_func_cb.java b/java/hdf/hdf5lib/callbacks/H5P_prp_close_func_cb.java
similarity index 100%
rename from java/src/hdf/hdf5lib/callbacks/H5P_prp_close_func_cb.java
rename to java/hdf/hdf5lib/callbacks/H5P_prp_close_func_cb.java
diff --git a/java/src/hdf/hdf5lib/callbacks/H5P_prp_compare_func_cb.java b/java/hdf/hdf5lib/callbacks/H5P_prp_compare_func_cb.java
similarity index 100%
rename from java/src/hdf/hdf5lib/callbacks/H5P_prp_compare_func_cb.java
rename to java/hdf/hdf5lib/callbacks/H5P_prp_compare_func_cb.java
diff --git a/java/src/hdf/hdf5lib/callbacks/H5P_prp_copy_func_cb.java b/java/hdf/hdf5lib/callbacks/H5P_prp_copy_func_cb.java
similarity index 100%
rename from java/src/hdf/hdf5lib/callbacks/H5P_prp_copy_func_cb.java
rename to java/hdf/hdf5lib/callbacks/H5P_prp_copy_func_cb.java
diff --git a/java/src/hdf/hdf5lib/callbacks/H5P_prp_create_func_cb.java b/java/hdf/hdf5lib/callbacks/H5P_prp_create_func_cb.java
similarity index 100%
rename from java/src/hdf/hdf5lib/callbacks/H5P_prp_create_func_cb.java
rename to java/hdf/hdf5lib/callbacks/H5P_prp_create_func_cb.java
diff --git a/java/src/hdf/hdf5lib/callbacks/H5P_prp_delete_func_cb.java b/java/hdf/hdf5lib/callbacks/H5P_prp_delete_func_cb.java
similarity index 100%
rename from java/src/hdf/hdf5lib/callbacks/H5P_prp_delete_func_cb.java
rename to java/hdf/hdf5lib/callbacks/H5P_prp_delete_func_cb.java
diff --git a/java/src/hdf/hdf5lib/callbacks/H5P_prp_get_func_cb.java b/java/hdf/hdf5lib/callbacks/H5P_prp_get_func_cb.java
similarity index 100%
rename from java/src/hdf/hdf5lib/callbacks/H5P_prp_get_func_cb.java
rename to java/hdf/hdf5lib/callbacks/H5P_prp_get_func_cb.java
diff --git a/java/src/hdf/hdf5lib/callbacks/H5P_prp_set_func_cb.java b/java/hdf/hdf5lib/callbacks/H5P_prp_set_func_cb.java
similarity index 100%
rename from java/src/hdf/hdf5lib/callbacks/H5P_prp_set_func_cb.java
rename to java/hdf/hdf5lib/callbacks/H5P_prp_set_func_cb.java
diff --git a/java/src/hdf/hdf5lib/callbacks/package-info.java b/java/hdf/hdf5lib/callbacks/package-info.java
similarity index 100%
rename from java/src/hdf/hdf5lib/callbacks/package-info.java
rename to java/hdf/hdf5lib/callbacks/package-info.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5AttributeException.java b/java/hdf/hdf5lib/exceptions/HDF5AttributeException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5AttributeException.java
rename to java/hdf/hdf5lib/exceptions/HDF5AttributeException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5BtreeException.java b/java/hdf/hdf5lib/exceptions/HDF5BtreeException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5BtreeException.java
rename to java/hdf/hdf5lib/exceptions/HDF5BtreeException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5DataFiltersException.java b/java/hdf/hdf5lib/exceptions/HDF5DataFiltersException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5DataFiltersException.java
rename to java/hdf/hdf5lib/exceptions/HDF5DataFiltersException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5DataStorageException.java b/java/hdf/hdf5lib/exceptions/HDF5DataStorageException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5DataStorageException.java
rename to java/hdf/hdf5lib/exceptions/HDF5DataStorageException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5DatasetInterfaceException.java b/java/hdf/hdf5lib/exceptions/HDF5DatasetInterfaceException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5DatasetInterfaceException.java
rename to java/hdf/hdf5lib/exceptions/HDF5DatasetInterfaceException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5DataspaceInterfaceException.java b/java/hdf/hdf5lib/exceptions/HDF5DataspaceInterfaceException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5DataspaceInterfaceException.java
rename to java/hdf/hdf5lib/exceptions/HDF5DataspaceInterfaceException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5DatatypeInterfaceException.java b/java/hdf/hdf5lib/exceptions/HDF5DatatypeInterfaceException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5DatatypeInterfaceException.java
rename to java/hdf/hdf5lib/exceptions/HDF5DatatypeInterfaceException.java
diff --git a/java/hdf/hdf5lib/exceptions/HDF5Exception.java b/java/hdf/hdf5lib/exceptions/HDF5Exception.java
new file mode 100644
index 00000000000..f81d9c9627a
--- /dev/null
+++ b/java/hdf/hdf5lib/exceptions/HDF5Exception.java
@@ -0,0 +1,76 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.exceptions;
+
+/**
+ * \page ERRORS Errors and Exceptions
+ * The class HDF5Exception returns errors from the Java HDF5 Interface.
+ *
+ * Two sub-classes of HDF5Exception are defined:
+ *
+ *
+ * HDF5LibraryException -- errors raised by the HDF5 library code
+ *
+ * HDF5JavaException -- errors raised by the HDF5 Java wrapper code
+ *
+ *
+ * These exceptions are sub-classed to represent specific error conditions, as
+ * needed. In particular, HDF5LibraryException has a sub-class for each major
+ * error code returned by the HDF5 library.
+ *
+ * @defgroup JERR HDF5 Library Exception Interface
+ *
+ */
+public class HDF5Exception extends RuntimeException {
+ /**
+ * the specified detail message of this exception
+ */
+ protected String detailMessage = null;
+
+ /**
+ * @ingroup JERR
+ *
+ * Constructs an HDF5Exception with no specified detail
+ * message.
+ */
+ public HDF5Exception() { super(); }
+
+ /**
+ * @ingroup JERR
+ *
+ * Constructs an HDF5Exception with the specified detail
+ * message.
+ *
+ * @param message
+ * the detail message.
+ */
+ public HDF5Exception(String message)
+ {
+ super();
+ detailMessage = message;
+ }
+
+ /**
+ * @ingroup JERR
+ *
+ * Returns the detail message of this exception
+ *
+ * @return the detail message or null if this object does not
+ * have a detail message.
+ */
+ @Override
+ public String getMessage()
+ {
+ return detailMessage;
+ }
+}
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5ExternalFileListException.java b/java/hdf/hdf5lib/exceptions/HDF5ExternalFileListException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5ExternalFileListException.java
rename to java/hdf/hdf5lib/exceptions/HDF5ExternalFileListException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5FileInterfaceException.java b/java/hdf/hdf5lib/exceptions/HDF5FileInterfaceException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5FileInterfaceException.java
rename to java/hdf/hdf5lib/exceptions/HDF5FileInterfaceException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5FunctionArgumentException.java b/java/hdf/hdf5lib/exceptions/HDF5FunctionArgumentException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5FunctionArgumentException.java
rename to java/hdf/hdf5lib/exceptions/HDF5FunctionArgumentException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5FunctionEntryExitException.java b/java/hdf/hdf5lib/exceptions/HDF5FunctionEntryExitException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5FunctionEntryExitException.java
rename to java/hdf/hdf5lib/exceptions/HDF5FunctionEntryExitException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5HeapException.java b/java/hdf/hdf5lib/exceptions/HDF5HeapException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5HeapException.java
rename to java/hdf/hdf5lib/exceptions/HDF5HeapException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5IdException.java b/java/hdf/hdf5lib/exceptions/HDF5IdException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5IdException.java
rename to java/hdf/hdf5lib/exceptions/HDF5IdException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5InternalErrorException.java b/java/hdf/hdf5lib/exceptions/HDF5InternalErrorException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5InternalErrorException.java
rename to java/hdf/hdf5lib/exceptions/HDF5InternalErrorException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5JavaException.java b/java/hdf/hdf5lib/exceptions/HDF5JavaException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5JavaException.java
rename to java/hdf/hdf5lib/exceptions/HDF5JavaException.java
diff --git a/java/hdf/hdf5lib/exceptions/HDF5LibraryException.java b/java/hdf/hdf5lib/exceptions/HDF5LibraryException.java
new file mode 100644
index 00000000000..747f0e2a1a6
--- /dev/null
+++ b/java/hdf/hdf5lib/exceptions/HDF5LibraryException.java
@@ -0,0 +1,541 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.exceptions;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import java.lang.foreign.Arena;
+import java.lang.foreign.MemoryLayout;
+import java.lang.foreign.MemoryLayout.PathElement;
+import java.lang.foreign.MemorySegment;
+import java.lang.foreign.StructLayout;
+import java.lang.foreign.ValueLayout;
+import java.lang.invoke.VarHandle;
+import java.nio.charset.StandardCharsets;
+import java.util.ArrayList;
+
+import hdf.hdf5lib.H5;
+import hdf.hdf5lib.HDF5Constants;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * \page ERRORSLIB HDF5 Library Errors and Exceptions
+ * The class HDF5LibraryException returns errors raised by the HDF5 library.
+ *
+ * Each major error code from the HDF5 Library is represented by a sub-class of
+ * this class, and by default the 'detailedMessage' is set according to the
+ * minor error code from the HDF5 Library.
+ *
+ * For major and minor error codes, @see @ref H5E in the HDF5 library.
+ *
+ * @defgroup JERRLIB HDF5 Library JNI Exception Interface
+ *
+ */
+
+@SuppressWarnings("serial")
+public class HDF5LibraryException extends HDF5Exception {
+ /** major error number of the first error on the HDF5 library error stack. */
+ private long majorErrorNumber = 0;
+ /** minor error number of the first error on the HDF5 library error stack. */
+ private long minorErrorNumber = 0;
+
+ static class WalkData {
+ public String err_desc = null;
+ public String func_name = null;
+ public int line = -1;
+ WalkData(String desc, String func, int lineno)
+ {
+ this.err_desc = new String(desc);
+ this.func_name = new String(func);
+ this.line = lineno;
+ }
+ }
+
+ static class H5EWalkCallback implements H5E_walk2_t.Function {
+ private static final ArrayList walkDataList = new ArrayList<>();
+ /** major error number of the first error on the HDF5 library error stack. */
+ private long majorErrorNumber = 0;
+ /** minor error number of the first error on the HDF5 library error stack. */
+ private long minorErrorNumber = 0;
+ public long getMajor() { return this.majorErrorNumber; }
+ public long getMinor() { return this.minorErrorNumber; }
+
+ /* major and minor error numbers */
+ final StructLayout H5E_num_t = MemoryLayout.structLayout(ValueLayout.JAVA_LONG.withName("maj_num"),
+ ValueLayout.JAVA_LONG.withName("min_num"));
+
+ /**
+ * This method is called by the HDF5 library during the error stack walk. It extracts the error
+ * description, function name, and line number from the H5E_error2_t structure and stores it in a
+ * list.
+ *
+ * @param nidx The index of the error in the stack.
+ * @param err_desc A MemorySegment containing the error description.
+ * @param err_nums The major and minor error numbers not used.
+ * @return 0 to continue walking the stack.
+ */
+ // err_desc is a pointer to the H5E_error2_t structure
+ public int apply(int nidx, MemorySegment err_desc, MemorySegment err_nums)
+ {
+ try (Arena arena = Arena.ofConfined()) {
+ // Extract error information from the native structure
+ String errDesc = H5E_error2_t.desc(err_desc).getString(0);
+ String funcName = H5E_error2_t.func_name(err_desc).getString(0);
+ int line = H5E_error2_t.line(err_desc);
+ walkDataList.add(new WalkData(errDesc, funcName, line));
+ this.majorErrorNumber = H5E_error2_t.maj_num(err_desc);
+ this.minorErrorNumber = H5E_error2_t.min_num(err_desc);
+ }
+ return 0; // Continue walking
+ }
+ }
+
+ /**
+ * @ingroup JERRLIB
+ *
+ * Constructs an HDF5LibraryException with no specified detail
+ * message.
+ */
+ public HDF5LibraryException()
+ {
+ super();
+
+ H5EWalkCallback callback = new H5EWalkCallback();
+
+ long stk_id = H5I_INVALID_HID();
+ try (Arena arena = Arena.ofConfined()) {
+ MemorySegment callbackSegment = H5E_walk2_t.allocate(callback, arena);
+
+ final StructLayout H5E_num_t = MemoryLayout.structLayout(
+ ValueLayout.JAVA_LONG.withName("maj_num"), ValueLayout.JAVA_LONG.withName("min_num"));
+ // Walk the error stack
+ MemorySegment errorNums = arena.allocate(H5E_num_t); // For maj_num and min_num
+ /* Save current stack contents for future use */
+ if ((stk_id = H5Eget_current_stack()) >= 0) {
+ /* This will clear current stack */
+ int walkResult = (int)H5Ewalk2(stk_id, H5E_WALK_DOWNWARD(), callbackSegment, errorNums);
+ if (walkResult < 0) {
+ throw new IllegalStateException("Failed to walk HDF5 error stack.");
+ }
+ H5Eset_current_stack(stk_id);
+ }
+ else
+ throw new IllegalStateException("Failed to get current HDF5 error stack.");
+
+ this.majorErrorNumber = callback.getMajor();
+ this.minorErrorNumber = callback.getMinor();
+ if (detailMessage == null)
+ detailMessage = getMinorError(this.minorErrorNumber);
+ }
+ catch (Throwable e) {
+ e.printStackTrace();
+ }
+ }
+
+ /**
+ * @ingroup JERRLIB
+ *
+ * Constructs an HDF5LibraryException with the specified detail
+ * message.
+ *
+ * @param s
+ * the detail message.
+ */
+ public HDF5LibraryException(String s)
+ {
+ this();
+ detailMessage = s;
+ }
+
+ /**
+ * @ingroup JERRLIB
+ *
+ * Get the major error number of the first error on the HDF5 library error
+ * stack.
+ *
+ * @return the major error number
+ */
+ public long getMajorErrorNumber() { return this.majorErrorNumber; }
+
+ /**
+ * @ingroup JERRLIB
+ *
+ * Get the minor error number of the first error on the HDF5 library error
+ * stack.
+ *
+ * @return the minor error number
+ */
+ public long getMinorErrorNumber() { return this.minorErrorNumber; }
+
+ /**
+ * @ingroup JERRLIB
+ *
+ * Return an error message for the minor error number.
+ *
+ * These messages come from @ref H5E .
+ *
+ * @param err_code
+ * the error code
+ *
+ * @return the string of the minor error
+ */
+ public String getMinorError(long err_code)
+ {
+ if (err_code == 0) {
+ return "special zero no error";
+ }
+ else if (err_code == HDF5Constants.H5E_UNINITIALIZED) {
+ return "information is uninitialized";
+ }
+ else if (err_code == HDF5Constants.H5E_UNSUPPORTED) {
+ return "feature is unsupported";
+ }
+ else if (err_code == HDF5Constants.H5E_BADTYPE) {
+ return "incorrect type found";
+ }
+ else if (err_code == HDF5Constants.H5E_BADRANGE) {
+ return "argument out of range";
+ }
+ else if (err_code == HDF5Constants.H5E_BADVALUE) {
+ return "bad value for argument";
+ }
+ else if (err_code == HDF5Constants.H5E_NOSPACE) {
+ return "no space available for allocation";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTCOPY) {
+ return "unable to copy object";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTFREE) {
+ return "unable to free object";
+ }
+ else if (err_code == HDF5Constants.H5E_ALREADYEXISTS) {
+ return "Object already exists";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTLOCK) {
+ return "Unable to lock object";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTUNLOCK) {
+ return "Unable to unlock object";
+ }
+ else if (err_code == HDF5Constants.H5E_FILEEXISTS) {
+ return "file already exists";
+ }
+ else if (err_code == HDF5Constants.H5E_FILEOPEN) {
+ return "file already open";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTCREATE) {
+ return "Can't create file";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTOPENFILE) {
+ return "Can't open file";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTCLOSEFILE) {
+ return "Can't close file";
+ }
+ else if (err_code == HDF5Constants.H5E_NOTHDF5) {
+ return "not an HDF5 format file";
+ }
+ else if (err_code == HDF5Constants.H5E_BADFILE) {
+ return "bad file ID accessed";
+ }
+ else if (err_code == HDF5Constants.H5E_TRUNCATED) {
+ return "file has been truncated";
+ }
+ else if (err_code == HDF5Constants.H5E_MOUNT) {
+ return "file mount error";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTDELETEFILE) {
+ return "Unable to delete file";
+ }
+ else if (err_code == HDF5Constants.H5E_SEEKERROR) {
+ return "seek failed";
+ }
+ else if (err_code == HDF5Constants.H5E_READERROR) {
+ return "read failed";
+ }
+ else if (err_code == HDF5Constants.H5E_WRITEERROR) {
+ return "write failed";
+ }
+ else if (err_code == HDF5Constants.H5E_CLOSEERROR) {
+ return "close failed";
+ }
+ else if (err_code == HDF5Constants.H5E_OVERFLOW) {
+ return "address overflowed";
+ }
+ else if (err_code == HDF5Constants.H5E_FCNTL) {
+ return "file fcntl failed";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTINIT) {
+ return "Can't initialize object";
+ }
+ else if (err_code == HDF5Constants.H5E_ALREADYINIT) {
+ return "object already initialized";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTRELEASE) {
+ return "Can't release object";
+ }
+ else if (err_code == HDF5Constants.H5E_BADID) {
+ return "Can't find ID information";
+ }
+ else if (err_code == HDF5Constants.H5E_BADGROUP) {
+ return "Can't find group information";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTREGISTER) {
+ return "Can't register new ID";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTINC) {
+ return "Can't increment reference count";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTDEC) {
+ return "Can't decrement reference count";
+ }
+ else if (err_code == HDF5Constants.H5E_NOIDS) {
+ return "Out of IDs for group";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTFLUSH) {
+ return "Can't flush object from cache";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTLOAD) {
+ return "Can't load object into cache";
+ }
+ else if (err_code == HDF5Constants.H5E_PROTECT) {
+ return "protected object error";
+ }
+ else if (err_code == HDF5Constants.H5E_NOTCACHED) {
+ return "object not currently cached";
+ }
+ else if (err_code == HDF5Constants.H5E_NOTFOUND) {
+ return "object not found";
+ }
+ else if (err_code == HDF5Constants.H5E_EXISTS) {
+ return "object already exists";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTENCODE) {
+ return "Can't encode value";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTDECODE) {
+ return "Can't decode value";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTSPLIT) {
+ return "Can't split node";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTINSERT) {
+ return "Can't insert object";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTLIST) {
+ return "Can't list node";
+ }
+ else if (err_code == HDF5Constants.H5E_LINKCOUNT) {
+ return "bad object header link count";
+ }
+ else if (err_code == HDF5Constants.H5E_VERSION) {
+ return "wrong version number";
+ }
+ else if (err_code == HDF5Constants.H5E_ALIGNMENT) {
+ return "alignment error";
+ }
+ else if (err_code == HDF5Constants.H5E_BADMESG) {
+ return "unrecognized message";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTDELETE) {
+ return "Can't delete message";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTOPENOBJ) {
+ return "Can't open object";
+ }
+ else if (err_code == HDF5Constants.H5E_COMPLEN) {
+ return "name component is too long";
+ }
+ else if (err_code == HDF5Constants.H5E_LINK) {
+ return "link count failure";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTCONVERT) {
+ return "Can't convert datatypes";
+ }
+ else if (err_code == HDF5Constants.H5E_BADSIZE) {
+ return "Bad size for object";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTCLIP) {
+ return "Can't clip hyperslab region";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTCOUNT) {
+ return "Can't count elements";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTSELECT) {
+ return "Can't select hyperslab";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTNEXT) {
+ return "Can't move to next iterator location";
+ }
+ else if (err_code == HDF5Constants.H5E_BADSELECT) {
+ return "Invalid selection";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTGET) {
+ return "Can't get value";
+ }
+ else if (err_code == HDF5Constants.H5E_CANTSET) {
+ return "Can't set value";
+ }
+ else if (err_code == HDF5Constants.H5E_DUPCLASS) {
+ return "Duplicate class name in parent class";
+ }
+ else if (err_code == HDF5Constants.H5E_MPI) {
+ return "some MPI function failed";
+ }
+ else if (err_code == HDF5Constants.H5E_MPIERRSTR) {
+ return "MPI Error String";
+ // }
+ // else
+ // if
+ // (err_code
+ // ==
+ // HDF5Constants.H5E_CANTRECV
+ // )
+ // {
+ // return
+ // "can't receive messages from processes";
+ // }
+ // else
+ // if
+ // (err_code
+ // ==
+ // HDF5Constants.H5E_CANTALLOC
+ // )
+ // {
+ // return
+ // "can't allocate from file";
+ }
+ else if (err_code == HDF5Constants.H5E_NOFILTER) {
+ return "requested filter is not available";
+ }
+ else if (err_code == HDF5Constants.H5E_CALLBACK) {
+ return "callback failed";
+ }
+ else if (err_code == HDF5Constants.H5E_CANAPPLY) {
+ return "error from filter \"can apply\" callback";
+ }
+ else if (err_code == HDF5Constants.H5E_SETLOCAL) {
+ return "error from filter \"set local\" callback";
+ }
+ else {
+ return "undefined error(" + err_code + ")";
+ }
+ }
+
+ /**
+ * @ingroup JERRLIB
+ *
+ * Prints this HDF5LibraryException, the HDF5 Library error
+ * stack, and and the Java stack trace to the standard error stream.
+ */
+ @Override
+ public void printStackTrace()
+ {
+ System.err.println(this);
+ printStackTrace0(null); // the HDF5 Library error stack
+ super.printStackTrace(); // the Java stack trace
+ }
+
+ /**
+ * @ingroup JERRLIB
+ *
+ * Prints this HDF5LibraryException the HDF5 Library error
+ * stack, and and the Java stack trace to the specified print stream.
+ *
+ * @param f
+ * the file print stream.
+ */
+ public void printStackTrace(java.io.File f)
+ {
+ if ((f == null) || !f.exists() || f.isDirectory() || !f.canWrite()) {
+ printStackTrace();
+ }
+ else {
+ try {
+ java.io.FileOutputStream o = new java.io.FileOutputStream(f);
+ java.io.PrintWriter p = new java.io.PrintWriter(o);
+ p.println(this);
+ p.close();
+ }
+ catch (Exception ex) {
+ System.err.println(this);
+ };
+ // the HDF5 Library error stack
+ printStackTrace0(f.getPath());
+ super.printStackTrace(); // the Java stack trace
+ }
+ }
+
+ /*
+ * This private method calls the HDF5 library to extract the error codes
+ * and error stack.
+ */
+ private void printStackTrace0(String file_name)
+ {
+ hdf.hdf5lib.H5.H5Eprint2(HDF5Constants.H5E_DEFAULT, null);
+ }
+
+ /*
+ * throwHDF5LibraryException() throws the sub-class Exception
+ * corresponding to the HDF5 error code.
+ */
+ public static void throwHDF5LibraryException(long err_num, String errorMessage)
+ throws HDF5LibraryException
+ {
+ if (HDF5Constants.H5E_ARGS == err_num)
+ throw new HDF5FunctionArgumentException(errorMessage);
+ else if (HDF5Constants.H5E_RESOURCE == err_num)
+ throw new HDF5ResourceUnavailableException(errorMessage);
+ else if (HDF5Constants.H5E_INTERNAL == err_num)
+ throw new HDF5InternalErrorException(errorMessage);
+ else if (HDF5Constants.H5E_FILE == err_num)
+ throw new HDF5FileInterfaceException(errorMessage);
+ else if (HDF5Constants.H5E_IO == err_num)
+ throw new HDF5LowLevelIOException(errorMessage);
+ else if (HDF5Constants.H5E_FUNC == err_num)
+ throw new HDF5FunctionEntryExitException(errorMessage);
+ else if (HDF5Constants.H5E_ID == err_num)
+ throw new HDF5IdException(errorMessage);
+ else if (HDF5Constants.H5E_CACHE == err_num)
+ throw new HDF5MetaDataCacheException(errorMessage);
+ else if (HDF5Constants.H5E_BTREE == err_num)
+ throw new HDF5BtreeException(errorMessage);
+ else if (HDF5Constants.H5E_SYM == err_num)
+ throw new HDF5SymbolTableException(errorMessage);
+ else if (HDF5Constants.H5E_HEAP == err_num)
+ throw new HDF5HeapException(errorMessage);
+ else if (HDF5Constants.H5E_OHDR == err_num)
+ throw new HDF5ObjectHeaderException(errorMessage);
+ else if (HDF5Constants.H5E_DATATYPE == err_num)
+ throw new HDF5DatatypeInterfaceException(errorMessage);
+ else if (HDF5Constants.H5E_DATASPACE == err_num)
+ throw new HDF5DataspaceInterfaceException(errorMessage);
+ else if (HDF5Constants.H5E_DATASET == err_num)
+ throw new HDF5DatasetInterfaceException(errorMessage);
+ else if (HDF5Constants.H5E_STORAGE == err_num)
+ throw new HDF5DataStorageException(errorMessage);
+ else if (HDF5Constants.H5E_PLIST == err_num)
+ throw new HDF5PropertyListInterfaceException(errorMessage);
+ else if (HDF5Constants.H5E_ATTR == err_num)
+ throw new HDF5AttributeException(errorMessage);
+ else if (HDF5Constants.H5E_PLINE == err_num)
+ throw new HDF5DataFiltersException(errorMessage);
+ else if (HDF5Constants.H5E_EFL == err_num)
+ throw new HDF5ExternalFileListException(errorMessage);
+ else if (HDF5Constants.H5E_REFERENCE == err_num)
+ throw new HDF5ReferenceException(errorMessage);
+
+ throw new HDF5LibraryException(errorMessage);
+ }
+}
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5LowLevelIOException.java b/java/hdf/hdf5lib/exceptions/HDF5LowLevelIOException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5LowLevelIOException.java
rename to java/hdf/hdf5lib/exceptions/HDF5LowLevelIOException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5MetaDataCacheException.java b/java/hdf/hdf5lib/exceptions/HDF5MetaDataCacheException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5MetaDataCacheException.java
rename to java/hdf/hdf5lib/exceptions/HDF5MetaDataCacheException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5ObjectHeaderException.java b/java/hdf/hdf5lib/exceptions/HDF5ObjectHeaderException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5ObjectHeaderException.java
rename to java/hdf/hdf5lib/exceptions/HDF5ObjectHeaderException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5PropertyListInterfaceException.java b/java/hdf/hdf5lib/exceptions/HDF5PropertyListInterfaceException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5PropertyListInterfaceException.java
rename to java/hdf/hdf5lib/exceptions/HDF5PropertyListInterfaceException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5ReferenceException.java b/java/hdf/hdf5lib/exceptions/HDF5ReferenceException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5ReferenceException.java
rename to java/hdf/hdf5lib/exceptions/HDF5ReferenceException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5ResourceUnavailableException.java b/java/hdf/hdf5lib/exceptions/HDF5ResourceUnavailableException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5ResourceUnavailableException.java
rename to java/hdf/hdf5lib/exceptions/HDF5ResourceUnavailableException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/HDF5SymbolTableException.java b/java/hdf/hdf5lib/exceptions/HDF5SymbolTableException.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/HDF5SymbolTableException.java
rename to java/hdf/hdf5lib/exceptions/HDF5SymbolTableException.java
diff --git a/java/src/hdf/hdf5lib/exceptions/package-info.java b/java/hdf/hdf5lib/exceptions/package-info.java
similarity index 100%
rename from java/src/hdf/hdf5lib/exceptions/package-info.java
rename to java/hdf/hdf5lib/exceptions/package-info.java
diff --git a/java/src/hdf/hdf5lib/package-info.java b/java/hdf/hdf5lib/package-info.java
similarity index 100%
rename from java/src/hdf/hdf5lib/package-info.java
rename to java/hdf/hdf5lib/package-info.java
diff --git a/java/hdf/hdf5lib/pom.xml.in b/java/hdf/hdf5lib/pom.xml.in
new file mode 100644
index 00000000000..a8bfbe0a6a5
--- /dev/null
+++ b/java/hdf/hdf5lib/pom.xml.in
@@ -0,0 +1,201 @@
+
+
+ 4.0.0
+
+ org.hdfgroup
+ @HDF5_JAVA_ARTIFACT_ID@
+ @HDF5_PACKAGE_VERSION@@HDF5_MAVEN_VERSION_SUFFIX@
+ jar
+
+ HDF5 Java Bindings
+ Java bindings for the HDF5 scientific data format library
+ https://github.com/HDFGroup/hdf5
+
+
+
+ BSD-style License
+ https://github.com/HDFGroup/hdf5/blob/develop/LICENSE
+ repo
+
+
+
+
+
+ The HDF Group
+ https://www.hdfgroup.org
+
+
+
+
+ scm:git:https://github.com/HDFGroup/hdf5.git
+ scm:git:git@github.com:HDFGroup/hdf5.git
+ https://github.com/HDFGroup/hdf5
+ @HDF5_PACKAGE_VERSION@
+
+
+
+ GitHub
+ https://github.com/HDFGroup/hdf5/issues
+
+
+
+ 11
+ 11
+ UTF-8
+ @HDF5_PACKAGE_VERSION@
+ @HDF5_MAVEN_PLATFORM@
+ @HDF5_MAVEN_ARCHITECTURE@
+
+
+
+
+
+ org.slf4j
+ slf4j-api
+ 2.0.16
+
+
+
+
+ ${project.artifactId}-${project.version}
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+ 3.11.0
+
+ 11
+ 11
+ UTF-8
+
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ 3.3.0
+
+
+
+ true
+ true
+
+
+ ALL-UNNAMED
+ ${hdf5.version}
+ ${hdf5.platform}
+ ${hdf5.architecture}
+ @CMAKE_CONFIGURE_DATE@
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+ 3.3.0
+
+
+ attach-sources
+
+ jar
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 3.5.0
+
+ 11
+ false
+ true
+
+
+
+ attach-javadocs
+
+ jar
+
+
+
+
+
+
+
+
+
+
+ linux-x86_64
+
+
+ hdf5.platform
+ linux-x86_64
+
+
+
+ linux-x86_64
+
+
+
+
+ windows-x86_64
+
+
+ hdf5.platform
+ windows-x86_64
+
+
+
+ windows-x86_64
+
+
+
+
+ macos-x86_64
+
+
+ hdf5.platform
+ macos-x86_64
+
+
+
+ macos-x86_64
+
+
+
+
+ macos-aarch64
+
+
+ hdf5.platform
+ macos-aarch64
+
+
+
+ macos-aarch64
+
+
+
+
+
+ snapshot
+
+
+ maven.deploy.snapshot
+ true
+
+
+
+ -SNAPSHOT
+
+
+
+
\ No newline at end of file
diff --git a/java/hdf/hdf5lib/structs/H5AC_cache_config_t.java b/java/hdf/hdf5lib/structs/H5AC_cache_config_t.java
new file mode 100644
index 00000000000..74972be5a42
--- /dev/null
+++ b/java/hdf/hdf5lib/structs/H5AC_cache_config_t.java
@@ -0,0 +1,330 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.structs;
+
+import java.io.Serializable;
+
+/**
+ * Information struct for H5Pget_mdc_config/H5Pset_mdc_config
+ *
+ */
+public class H5AC_cache_config_t implements Serializable {
+ private static final long serialVersionUID = -6748085696476149972L;
+ // general configuration fields
+ /**
+ * version: Integer field containing the version number of this version
+ * of the H5AC_cache_config_t structure. Any instance of
+ * H5AC_cache_config_t passed to the cache must have a known
+ * version number, or an error will be flagged.
+ */
+ public int version;
+ /**
+ * rpt_fcn_enabled: Boolean field used to enable and disable the default
+ * reporting function. This function is invoked every time the
+ * automatic cache resize code is run, and reports on its activities.
+ *
+ * This is a debugging function, and should normally be turned off.
+ */
+ public boolean rpt_fcn_enabled;
+ /**
+ * open_trace_file: Boolean field indicating whether the trace_file_name
+ * field should be used to open a trace file for the cache.
+ *
+ * *** DEPRECATED *** Use H5Fstart/stop logging functions instead
+ */
+ public boolean open_trace_file;
+ /**
+ * close_trace_file: Boolean field indicating whether the current trace
+ * file (if any) should be closed.
+ *
+ * *** DEPRECATED *** Use H5Fstart/stop logging functions instead
+ */
+ public boolean close_trace_file;
+ /**
+ * trace_file_name: Full path of the trace file to be opened if the
+ * open_trace_file field is TRUE.
+ *
+ * *** DEPRECATED *** Use H5Fstart/stop logging functions instead
+ */
+ public String trace_file_name;
+ /**
+ * evictions_enabled: Boolean field used to either report the current
+ * evictions enabled status of the cache, or to set the cache's
+ * evictions enabled status.
+ */
+ public boolean evictions_enabled;
+ /**
+ * set_initial_size: Boolean flag indicating whether the size of the
+ * initial size of the cache is to be set to the value given in
+ * the initial_size field. If set_initial_size is FALSE, the
+ * initial_size field is ignored.
+ */
+ public boolean set_initial_size;
+ /**
+ * initial_size: If enabled, this field contain the size the cache is
+ * to be set to upon receipt of this structure. Needless to say,
+ * initial_size must lie in the closed interval [min_size, max_size].
+ */
+ public long initial_size;
+ /**
+ * min_clean_fraction: double in the range 0 to 1 indicating the fraction
+ * of the cache that is to be kept clean. This field is only used
+ * in parallel mode. Typical values are 0.1 to 0.5.
+ */
+ public double min_clean_fraction;
+ /**
+ * max_size: Maximum size to which the cache can be adjusted. The
+ * supplied value must fall in the closed interval
+ * [MIN_MAX_CACHE_SIZE, MAX_MAX_CACHE_SIZE]. Also, max_size must
+ * be greater than or equal to min_size.
+ */
+ public long max_size;
+ /**
+ * min_size: Minimum size to which the cache can be adjusted. The
+ * supplied value must fall in the closed interval
+ * [H5C__MIN_MAX_CACHE_SIZE, H5C__MAX_MAX_CACHE_SIZE]. Also, min_size
+ * must be less than or equal to max_size.
+ */
+ public long min_size;
+ /**
+ * epoch_length: Number of accesses on the cache over which to collect
+ * hit rate stats before running the automatic cache resize code,
+ * if it is enabled.
+ */
+ public long epoch_length;
+ // size increase control fields
+ /**
+ * incr_mode: Instance of the H5C_cache_incr_mode enumerated type whose
+ * value indicates how we determine whether the cache size should be
+ * increased. At present there are two possible values.
+ */
+ public int incr_mode;
+ /**
+ * lower_hr_threshold: Lower hit rate threshold. If the increment mode
+ * (incr_mode) is H5C_incr__threshold and the hit rate drops below the
+ * value supplied in this field in an epoch, increment the cache size by
+ * size_increment. Note that cache size may not be incremented above
+ * max_size, and that the increment may be further restricted by the
+ * max_increment field if it is enabled.
+ */
+ public double lower_hr_threshold;
+ /**
+ * increment: Double containing the multiplier used to derive the new
+ * cache size from the old if a cache size increment is triggered.
+ * The increment must be greater than 1.0, and should not exceed 2.0.
+ */
+ public double increment;
+ /**
+ * apply_max_increment: Boolean flag indicating whether the max_increment
+ * field should be used to limit the maximum cache size increment.
+ */
+ public boolean apply_max_increment;
+ /**
+ * max_increment: If enabled by the apply_max_increment field described
+ * above, this field contains the maximum number of bytes by which the
+ * cache size can be increased in a single re-size.
+ */
+ public long max_increment;
+ /**
+ * flash_incr_mode: Instance of the H5C_cache_flash_incr_mode enumerated
+ * type whose value indicates whether and by which algorithm we should
+ * make flash increases in the size of the cache to accommodate insertion
+ * of large entries and large increases in the size of a single entry.
+ */
+ public int flash_incr_mode;
+ /**
+ * flash_multiple: Double containing the multiple described above in the
+ * H5C_flash_incr__add_space section of the discussion of the
+ * flash_incr_mode section. This field is ignored unless flash_incr_mode
+ * is H5C_flash_incr__add_space.
+ */
+ public double flash_multiple;
+ /**
+ * flash_threshold: Double containing the factor by which current max cache
+ * size is multiplied to obtain the size threshold for the add_space flash
+ * increment algorithm. The field is ignored unless flash_incr_mode is
+ * H5C_flash_incr__add_space.
+ */
+ public double flash_threshold;
+ // size decrease control fields
+ /**
+ * decr_mode: Instance of the H5C_cache_decr_mode enumerated type whose
+ * value indicates how we determine whether the cache size should be
+ * decreased. At present there are four possibilities.
+ */
+ public int decr_mode;
+ /**
+ * upper_hr_threshold: Upper hit rate threshold. The use of this field
+ * varies according to the current decr_mode.
+ */
+ public double upper_hr_threshold;
+ /**
+ * decrement: This field is only used when the decr_mode is
+ * H5C_decr__threshold.
+ */
+ public double decrement;
+ /**
+ * apply_max_decrement: Boolean flag used to determine whether decrements
+ * in cache size are to be limited by the max_decrement field.
+ */
+ public boolean apply_max_decrement;
+ /**
+ * max_decrement: Maximum number of bytes by which the cache size can be
+ * decreased in a single re-size. Note that decrements may also be
+ * restricted by the min_size of the cache, and (in age out modes) by
+ * the empty_reserve field.
+ */
+ public long max_decrement;
+ /**
+ * epochs_before_eviction: Integer field used in H5C_decr__age_out and
+ * H5C_decr__age_out_with_threshold decrement modes.
+ */
+ public int epochs_before_eviction;
+ /**
+ * apply_empty_reserve: Boolean field controlling whether the empty_reserve
+ * field is to be used in computing the new cache size when the
+ * decr_mode is H5C_decr__age_out or H5C_decr__age_out_with_threshold.
+ */
+ public boolean apply_empty_reserve;
+ /**
+ * empty_reserve: To avoid a constant racheting down of cache size by small
+ * amounts in the H5C_decr__age_out and H5C_decr__age_out_with_threshold
+ * modes, this field allows one to require that any cache size
+ * reductions leave the specified fraction of unused space in the cache.
+ */
+ public double empty_reserve;
+ // parallel configuration fields
+ /**
+ * dirty_bytes_threshold: Threshold of dirty byte creation used to
+ * synchronize updates between caches.
+ */
+ public long dirty_bytes_threshold;
+ /**
+ * metadata_write_strategy: Integer field containing a code indicating the
+ * desired metadata write strategy.
+ */
+ public int metadata_write_strategy;
+
+ /**
+ * H5AC_cache_config_t is a public structure intended for use in public APIs.
+ * At least in its initial incarnation, it is basically a copy of struct
+ * H5C_auto_size_ctl_t, minus the report_fcn field, and plus the
+ * dirty_bytes_threshold field.
+ *
+ * @param version: Integer field containing the version number of this version
+ * @param rpt_fcn_enabled: Boolean field used to enable and disable the default reporting function.
+ * @param open_trace_file: Boolean field indicating whether the trace_file_name
+ * field should be used to open a trace file for the cache.
+ * @param close_trace_file: Boolean field indicating whether the current trace
+ * file (if any) should be closed.
+ * @param trace_file_name: Full path of the trace file to be opened if the
+ * open_trace_file field is TRUE.
+ * @param evictions_enabled: Boolean field used to either report or set the current
+ * evictions enabled status of the cache.
+ * @param set_initial_size: Boolean flag indicating whether the size of the
+ * initial size of the cache is to be set to the value given in
+ * the initial_size field.
+ * @param initial_size: If enabled, this field contain the size the cache is
+ * to be set to upon receipt of this structure.
+ * @param min_clean_fraction: double in the range 0 to 1 indicating the fraction
+ * of the cache that is to be kept clean.
+ * @param max_size: Maximum size to which the cache can be adjusted.
+ * @param min_size: Minimum size to which the cache can be adjusted.
+ * @param epoch_length: Number of accesses on the cache over which to collect
+ * hit rate stats before running the automatic cache resize code.
+ * @param incr_mode: Instance of the H5C_cache_incr_mode enumerated type.
+ * @param lower_hr_threshold: Lower hit rate threshold.
+ * @param increment: Double containing the multiplier used to derive the new
+ * cache size from the old if a cache size increment is triggered.
+ * @param apply_max_increment: Boolean flag indicating whether the max_increment
+ * field should be used to limit the maximum cache size increment.
+ * @param max_increment: If enabled by the apply_max_increment field described
+ * above, this field contains the maximum number of bytes by which the
+ * cache size can be increased in a single re-size.
+ * @param flash_incr_mode: Instance of the H5C_cache_flash_incr_mode enumerated
+ * type whose value indicates whether and by which algorithm we should
+ * make flash increases in the size of the cache to accommodate insertion
+ * of large entries and large increases in the size of a single entry.
+ * @param flash_multiple: Double containing the multiple described above in the
+ * H5C_flash_incr__add_space section of the discussion of the
+ * flash_incr_mode section.
+ * @param flash_threshold: Double containing the factor by which current max cache
+ * size is multiplied to obtain the size threshold for the add_space flash
+ * increment algorithm.
+ * @param decr_mode: Instance of the H5C_cache_decr_mode enumerated type whose
+ * value indicates how we determine whether the cache size should be
+ * decreased.
+ * @param upper_hr_threshold: Upper hit rate threshold. The use of this field
+ * varies according to the current decr_mode.
+ * @param decrement: This field is only used when the decr_mode is
+ * H5C_decr__threshold.
+ * @param apply_max_decrement: Boolean flag used to determine whether decrements
+ * in cache size are to be limited by the max_decrement field.
+ * @param max_decrement: Maximum number of bytes by which the cache size can be
+ * decreased in a single re-size.
+ * @param epochs_before_eviction: Integer field used in H5C_decr__age_out and
+ * H5C_decr__age_out_with_threshold decrement modes.
+ * @param apply_empty_reserve: Boolean field controlling whether the empty_reserve
+ * field is to be used in computing the new cache size when the
+ * decr_mode is H5C_decr__age_out or H5C_decr__age_out_with_threshold.
+ * @param empty_reserve: To avoid a constant racheting down of cache size by small
+ * amounts in the H5C_decr__age_out and H5C_decr__age_out_with_threshold
+ * modes.
+ * @param dirty_bytes_threshold: Threshold of dirty byte creation used to
+ * synchronize updates between caches.
+ * @param metadata_write_strategy: Integer field containing a code indicating the
+ * desired metadata write strategy.
+ */
+ public H5AC_cache_config_t(int version, boolean rpt_fcn_enabled, boolean open_trace_file,
+ boolean close_trace_file, String trace_file_name, boolean evictions_enabled,
+ boolean set_initial_size, long initial_size, double min_clean_fraction,
+ long max_size, long min_size, long epoch_length, int incr_mode,
+ double lower_hr_threshold, double increment, boolean apply_max_increment,
+ long max_increment, int flash_incr_mode, double flash_multiple,
+ double flash_threshold, int decr_mode, double upper_hr_threshold,
+ double decrement, boolean apply_max_decrement, long max_decrement,
+ int epochs_before_eviction, boolean apply_empty_reserve, double empty_reserve,
+ long dirty_bytes_threshold, int metadata_write_strategy)
+ {
+ this.version = version;
+ this.rpt_fcn_enabled = rpt_fcn_enabled;
+ this.open_trace_file = open_trace_file;
+ this.close_trace_file = close_trace_file;
+ this.trace_file_name = trace_file_name;
+ this.evictions_enabled = evictions_enabled;
+ this.set_initial_size = set_initial_size;
+ this.initial_size = initial_size;
+ this.min_clean_fraction = min_clean_fraction;
+ this.max_size = max_size;
+ this.min_size = min_size;
+ this.epoch_length = epoch_length;
+ this.incr_mode = incr_mode;
+ this.lower_hr_threshold = lower_hr_threshold;
+ this.increment = increment;
+ this.apply_max_increment = apply_max_increment;
+ this.max_increment = max_increment;
+ this.flash_incr_mode = flash_incr_mode;
+ this.flash_multiple = flash_multiple;
+ this.flash_threshold = flash_threshold;
+ this.decr_mode = decr_mode;
+ this.upper_hr_threshold = upper_hr_threshold;
+ this.decrement = decrement;
+ this.apply_max_decrement = apply_max_decrement;
+ this.max_decrement = max_decrement;
+ this.epochs_before_eviction = epochs_before_eviction;
+ this.apply_empty_reserve = apply_empty_reserve;
+ this.empty_reserve = empty_reserve;
+ this.dirty_bytes_threshold = dirty_bytes_threshold;
+ this.metadata_write_strategy = metadata_write_strategy;
+ }
+}
diff --git a/java/hdf/hdf5lib/structs/H5A_info_t.java b/java/hdf/hdf5lib/structs/H5A_info_t.java
new file mode 100644
index 00000000000..54bbdfd86bd
--- /dev/null
+++ b/java/hdf/hdf5lib/structs/H5A_info_t.java
@@ -0,0 +1,39 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.structs;
+
+import java.io.Serializable;
+
+/**
+ * Information struct for Attribute (For H5Aget_info/H5Aget_info_by_idx/H5Aget_info_by_name)
+ *
+ */
+public class H5A_info_t implements Serializable {
+ private static final long serialVersionUID = 2791443594041667613L;
+ /** Indicate if creation order is valid */
+ public boolean corder_valid;
+ /** Creation order of attribute */
+ public long corder;
+ /** Character set of attribute name */
+ public int cset;
+ /** Size of raw data */
+ public long data_size;
+
+ public H5A_info_t(boolean corder_valid, long corder, int cset, long data_size)
+ {
+ this.corder_valid = corder_valid;
+ this.corder = corder;
+ this.cset = cset;
+ this.data_size = data_size;
+ }
+}
diff --git a/java/src/hdf/hdf5lib/structs/H5E_error2_t.java b/java/hdf/hdf5lib/structs/H5E_error2_t.java
similarity index 100%
rename from java/src/hdf/hdf5lib/structs/H5E_error2_t.java
rename to java/hdf/hdf5lib/structs/H5E_error2_t.java
diff --git a/java/src/hdf/hdf5lib/structs/H5FD_hdfs_fapl_t.java b/java/hdf/hdf5lib/structs/H5FD_hdfs_fapl_t.java
similarity index 100%
rename from java/src/hdf/hdf5lib/structs/H5FD_hdfs_fapl_t.java
rename to java/hdf/hdf5lib/structs/H5FD_hdfs_fapl_t.java
diff --git a/java/hdf/hdf5lib/structs/H5FD_ros3_fapl_t.java b/java/hdf/hdf5lib/structs/H5FD_ros3_fapl_t.java
new file mode 100644
index 00000000000..b082193fba0
--- /dev/null
+++ b/java/hdf/hdf5lib/structs/H5FD_ros3_fapl_t.java
@@ -0,0 +1,147 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.structs;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import java.io.Serializable;
+import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * Java representation of the ROS3 VFD file access property list (fapl)
+ * structure.
+ *
+ * Used for the access of files hosted remotely on S3 by Amazon.
+ *
+ * For simplicity, implemented assuming that all ROS3 fapls have components:
+ * - version
+ * - authenticate
+ * - aws_region
+ * - secret_id
+ * - secret_key
+ *
+ * Future implementations may be created to enable different fapl "shapes"
+ * depending on provided version.
+ *
+ * proposed:
+ *
+ * H5FD_ros3_fapl_t (super class, has only version field)
+ * H5FD_ros3_fapl_v1_t (extends super with Version 1 components)
+ * H5FD_ros3_fapl_v2_t (extends super with Version 2 components)
+ * and so on, for each version
+ *
+ * "super" is passed around, and is version-checked and re-cast as
+ * appropriate
+ */
+
+public class H5FD_ros3_fapl_t implements Serializable {
+ private static final long serialVersionUID = 8985533001471224030L;
+
+ /** Version number of the H5FD_ros3_fapl_t structure */
+ public int version;
+ /** Flag TRUE or FALSE whether or not requests are to be authenticated with the AWS4 algorithm. */
+ public boolean authenticate;
+ /** region "aws region" for authenticating request */
+ public String aws_region;
+ /** id "secret id" or "access id" for authenticating request */
+ public String secret_id;
+ /** key "secret key" or "access key" for authenticating request */
+ public String secret_key;
+
+ /**
+ * Create a "default" fapl_t structure, for anonymous access.
+ */
+ public H5FD_ros3_fapl_t()
+ {
+ /* H5FD_ros3_fapl_t("", "", ""); */ /* defer */
+ this.version = 1;
+ this.authenticate = false;
+ this.aws_region = "";
+ this.secret_id = "";
+ this.secret_key = "";
+ }
+
+ /**
+ * Create a fapl_t structure with the specified components.
+ * If all are the empty string, is anonymous (non-authenticating).
+ * Region and ID must both be supplied for authentication.
+ *
+ * @param region "aws region" for authenticating request
+ * @param id "secret id" or "access id" for authenticating request
+ * @param key "secret key" or "access key" for authenticating request
+ */
+ public H5FD_ros3_fapl_t(String region, String id, String key)
+ {
+ this.version = 1; /* must equal H5FD_CURR_ROS3_FAPL_T_VERSION */
+ /* as found in H5FDros3.h */
+ if (region == null)
+ region = "";
+ else
+ this.aws_region = region;
+ if (id == null)
+ id = "";
+ else
+ this.secret_id = id;
+ if (key == null)
+ key = "";
+ else
+ this.secret_key = key;
+ if (region == null && id == null && key == null)
+ this.authenticate = false;
+ else if (region != null && id != null)
+ this.authenticate = true;
+ }
+
+ @Override
+ public boolean equals(Object o)
+ {
+ if (o == null)
+ return false;
+ if (!(o instanceof H5FD_ros3_fapl_t))
+ return false;
+
+ H5FD_ros3_fapl_t other = (H5FD_ros3_fapl_t)o;
+ if (this.version != other.version)
+ return false;
+ if (!this.aws_region.equals(other.aws_region))
+ return false;
+ if (!this.secret_key.equals(other.secret_key))
+ return false;
+ if (!this.secret_id.equals(other.secret_id))
+ return false;
+ return true;
+ }
+
+ @Override
+ public int hashCode()
+ {
+ /* this is a _very bad_ hash algorithm for purposes of hashing! */
+ /* implemented to satisfy the "contract" regarding equality */
+ int k = (int)this.version;
+ k += this.aws_region.length();
+ k += this.secret_id.length();
+ k += this.secret_key.length();
+ return k;
+ }
+
+ @Override
+ public String toString()
+ {
+ return "H5FD_ros3_fapl_t (Version:" + this.version + ") {"
+ + "\n aws_region : " + this.aws_region + "\n secret_id : " + this.secret_id +
+ "\n secret_key : " + this.secret_key + "\n}\n";
+ }
+}
diff --git a/java/hdf/hdf5lib/structs/H5F_info2_t.java b/java/hdf/hdf5lib/structs/H5F_info2_t.java
new file mode 100644
index 00000000000..5102f451c51
--- /dev/null
+++ b/java/hdf/hdf5lib/structs/H5F_info2_t.java
@@ -0,0 +1,101 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.structs;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import java.io.Serializable;
+import java.lang.foreign.Arena;
+import java.lang.foreign.MemoryLayout;
+import java.lang.foreign.MemorySegment;
+import java.lang.foreign.SequenceLayout;
+import java.lang.foreign.SymbolLookup;
+import java.lang.foreign.ValueLayout;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * Information struct for object (for H5Fget_info)
+ *
+ */
+public class H5F_info2_t implements Serializable {
+ private static final long serialVersionUID = 4691681162544054518L;
+ /** Superblock version number */
+ public int super_version;
+ /** Superblock size */
+ public long super_size;
+ /** Superblock extension size */
+ public long super_ext_size;
+ /** Version number of file free space management */
+ public int free_version;
+ /** Free space manager metadata size */
+ public long free_meta_size;
+ /** Amount of free space in the file */
+ public long free_tot_space;
+ /** Version number of shared object header info */
+ public int sohm_version;
+ /** Shared object header message header size */
+ public long sohm_hdr_size;
+ /** Shared object header message index and heap size */
+ public hdf.hdf5lib.structs.H5_ih_info_t sohm_msgs_info;
+
+ /**
+ * Constructor for current "global" information about file
+ * @param super_version: Superblock version number
+ * @param super_size: Superblock size
+ * @param super_ext_size: Superblock extension size
+ * @param free_version: Version number of file free space management
+ * @param free_meta_size: Free space manager metadata size
+ * @param free_tot_space: Amount of free space in the file
+ * @param sohm_version: Version number of shared object header info
+ * @param sohm_hdr_size: Shared object header message header size
+ * @param sohm_msgs_info: Shared object header message index and heap size
+ */
+ public H5F_info2_t(int super_version, long super_size, long super_ext_size, int free_version,
+ long free_meta_size, long free_tot_space, int sohm_version, long sohm_hdr_size,
+ hdf.hdf5lib.structs.H5_ih_info_t sohm_msgs_info)
+ {
+ this.super_version = super_version;
+ this.super_size = super_size;
+ this.super_ext_size = super_ext_size;
+ this.free_version = free_version;
+ this.free_meta_size = free_meta_size;
+ this.free_tot_space = free_tot_space;
+ this.sohm_version = sohm_version;
+ this.sohm_hdr_size = sohm_hdr_size;
+ this.sohm_msgs_info = sohm_msgs_info;
+ }
+ /**
+ * Constructor for current "global" information about file
+ * @param info_segment: Memory segment for H5F_info2_t
+ */
+ public H5F_info2_t(MemorySegment finfo_segment)
+ {
+ // Unpack the H5F_info2_t from the MemorySegment
+ MemorySegment super_segment = org.hdfgroup.javahdf5.H5F_info2_t.super_(finfo_segment);
+ MemorySegment free_segment = org.hdfgroup.javahdf5.H5F_info2_t.free(finfo_segment);
+ MemorySegment sohm_segment = org.hdfgroup.javahdf5.H5F_info2_t.sohm(finfo_segment);
+ MemorySegment sohm_ih_segment = org.hdfgroup.javahdf5.H5F_info2_t.sohm.msgs_info(sohm_segment);
+ this.sohm_msgs_info = new hdf.hdf5lib.structs.H5_ih_info_t(
+ org.hdfgroup.javahdf5.H5_ih_info_t.index_size(sohm_ih_segment),
+ org.hdfgroup.javahdf5.H5_ih_info_t.heap_size(sohm_ih_segment));
+ this.super_version = org.hdfgroup.javahdf5.H5F_info2_t.super_.version(super_segment);
+ this.super_size = org.hdfgroup.javahdf5.H5F_info2_t.super_.super_size(super_segment);
+ this.super_ext_size = org.hdfgroup.javahdf5.H5F_info2_t.super_.super_ext_size(super_segment);
+ this.free_version = org.hdfgroup.javahdf5.H5F_info2_t.free.version(free_segment);
+ this.free_meta_size = org.hdfgroup.javahdf5.H5F_info2_t.free.meta_size(free_segment);
+ this.free_tot_space = org.hdfgroup.javahdf5.H5F_info2_t.free.tot_space(free_segment);
+ this.sohm_version = org.hdfgroup.javahdf5.H5F_info2_t.sohm.version(sohm_segment);
+ this.sohm_hdr_size = org.hdfgroup.javahdf5.H5F_info2_t.sohm.hdr_size(sohm_segment);
+ }
+}
diff --git a/java/hdf/hdf5lib/structs/H5G_info_t.java b/java/hdf/hdf5lib/structs/H5G_info_t.java
new file mode 100644
index 00000000000..bf1ebc3e5e6
--- /dev/null
+++ b/java/hdf/hdf5lib/structs/H5G_info_t.java
@@ -0,0 +1,40 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.structs;
+
+import java.io.Serializable;
+
+/**
+ * Information struct for group (for H5Gget_info/H5Gget_info_by_name/H5Gget_info_by_idx)
+ *
+ */
+public class H5G_info_t implements Serializable {
+ private static final long serialVersionUID = -3746463015312132912L;
+ /** Type of storage for links in group */
+ public int storage_type;
+ /** Number of links in group */
+ public long nlinks;
+ /** Current max. creation order value for group */
+ public long max_corder;
+ /** Whether group has a file mounted on it */
+ public boolean mounted;
+
+ /** Constructor for using val_size portion of C union */
+ public H5G_info_t(int storage_type, long nlinks, long max_corder, boolean mounted)
+ {
+ this.storage_type = storage_type;
+ this.nlinks = nlinks;
+ this.max_corder = max_corder;
+ this.mounted = mounted;
+ }
+}
diff --git a/java/hdf/hdf5lib/structs/H5L_info_t.java b/java/hdf/hdf5lib/structs/H5L_info_t.java
new file mode 100644
index 00000000000..d2c8df24014
--- /dev/null
+++ b/java/hdf/hdf5lib/structs/H5L_info_t.java
@@ -0,0 +1,86 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.structs;
+
+import java.io.Serializable;
+import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
+
+import hdf.hdf5lib.HDF5Constants;
+import hdf.hdf5lib.structs.H5O_token_t;
+
+/**
+ * Information struct for link (for H5Lget_info/H5Lget_info_by_idx)
+ *
+ */
+public class H5L_info_t implements Serializable {
+ private static final long serialVersionUID = -4754320605310155033L;
+ /** Type of link */
+ public int type;
+ /** Indicate if creation order is valid */
+ public boolean corder_valid;
+ /** Creation order */
+ public long corder;
+ /** Character set of link name */
+ public int cset;
+ /** Character set of link name */
+ public H5O_token_t token;
+ /** Size of a soft link or user-defined link value */
+ public long val_size;
+
+ /** Constructor for using object token portion of C union */
+ public H5L_info_t(int type, boolean corder_valid, long corder, int cset, H5O_token_t token)
+ {
+ this.type = type;
+ this.corder_valid = corder_valid;
+ this.corder = corder;
+ this.cset = cset;
+ this.token = token;
+ this.val_size = -1;
+ }
+
+ /** Constructor for using val_size portion of C union */
+ public H5L_info_t(int type, boolean corder_valid, long corder, int cset, long val_size)
+ {
+ this.type = type;
+ this.corder_valid = corder_valid;
+ this.corder = corder;
+ this.cset = cset;
+ this.token = HDF5Constants.H5O_TOKEN_UNDEF;
+ this.val_size = val_size;
+ }
+
+ /** Constructor for using val_size portion of C union */
+ public H5L_info_t(MemorySegment linfo_segment)
+ {
+ // Unpack the H5L_info2_t from the MemorySegment
+ MemorySegment u_segment = org.hdfgroup.javahdf5.H5L_info2_t.u(linfo_segment);
+ if (org.hdfgroup.javahdf5.H5L_info2_t.type(linfo_segment) == HDF5Constants.H5L_TYPE_HARD) {
+ this.token =
+ new hdf.hdf5lib.structs.H5O_token_t(org.hdfgroup.javahdf5.H5L_info2_t.u.token(u_segment));
+ this.type = org.hdfgroup.javahdf5.H5L_info2_t.type(linfo_segment);
+ this.corder_valid = org.hdfgroup.javahdf5.H5L_info2_t.corder_valid(linfo_segment);
+ this.corder = org.hdfgroup.javahdf5.H5L_info2_t.corder(linfo_segment);
+ this.cset = org.hdfgroup.javahdf5.H5L_info2_t.cset(linfo_segment);
+ this.val_size = -1;
+ }
+ else {
+ this.type = org.hdfgroup.javahdf5.H5L_info2_t.type(linfo_segment);
+ this.corder_valid = org.hdfgroup.javahdf5.H5L_info2_t.corder_valid(linfo_segment);
+ this.corder = org.hdfgroup.javahdf5.H5L_info2_t.corder(linfo_segment);
+ this.cset = org.hdfgroup.javahdf5.H5L_info2_t.cset(linfo_segment);
+ this.token = HDF5Constants.H5O_TOKEN_UNDEF;
+ this.val_size = org.hdfgroup.javahdf5.H5L_info2_t.u.val_size(u_segment);
+ }
+ }
+}
diff --git a/java/hdf/hdf5lib/structs/H5O_hdr_info_t.java b/java/hdf/hdf5lib/structs/H5O_hdr_info_t.java
new file mode 100644
index 00000000000..d953cd08d83
--- /dev/null
+++ b/java/hdf/hdf5lib/structs/H5O_hdr_info_t.java
@@ -0,0 +1,93 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.structs;
+
+import java.io.Serializable;
+
+/**
+ * Information struct for object header metadata (for H5Oget_info/H5Oget_info_by_name/H5Oget_info_by_idx)
+ *
+ */
+public class H5O_hdr_info_t implements Serializable {
+ private static final long serialVersionUID = 7883826382952577189L;
+ /** Version number of header format in file */
+ public int version;
+ /** Number of object header messages */
+ public int nmesgs;
+ /** Number of object header chunks */
+ public int nchunks;
+ /** Object header status flags */
+ public int flags;
+ /** Total space for storing object header in file */
+ public long space_total;
+ /** Space within header for object header metadata information */
+ public long space_meta;
+ /** Space within header for actual message information */
+ public long space_mesg;
+ /** Free space within object header */
+ public long space_free;
+ /** Flags to indicate presence of message type in header */
+ public long mesg_present;
+ /** Flags to indicate message type is shared in header */
+ public long mesg_shared;
+
+ public H5O_hdr_info_t(int version, int nmesgs, int nchunks, int flags, long space_total, long space_meta,
+ long space_mesg, long space_free, long mesg_present, long mesg_shared)
+ {
+ this.version = version;
+ this.nmesgs = nmesgs;
+ this.nchunks = nchunks;
+ this.flags = flags;
+ this.space_total = space_total;
+ this.space_meta = space_meta;
+ this.space_mesg = space_mesg;
+ this.space_free = space_free;
+ this.mesg_present = mesg_present;
+ this.mesg_shared = mesg_shared;
+ }
+
+ @Override
+ public boolean equals(Object o)
+ {
+ if (this == o)
+ return true;
+
+ if (!(o instanceof H5O_hdr_info_t))
+ return false;
+
+ H5O_hdr_info_t info = (H5O_hdr_info_t)o;
+
+ if (this.version != info.version)
+ return false;
+ if (this.nmesgs != info.nmesgs)
+ return false;
+ if (this.nchunks != info.nchunks)
+ return false;
+ if (this.flags != info.flags)
+ return false;
+ if (this.space_total != info.space_total)
+ return false;
+ if (this.space_meta != info.space_meta)
+ return false;
+ if (this.space_mesg != info.space_mesg)
+ return false;
+ if (this.space_free != info.space_free)
+ return false;
+ if (this.mesg_present != info.mesg_present)
+ return false;
+ if (this.mesg_shared != info.mesg_shared)
+ return false;
+
+ return true;
+ }
+}
diff --git a/java/src/hdf/hdf5lib/structs/H5O_info_t.java b/java/hdf/hdf5lib/structs/H5O_info_t.java
similarity index 100%
rename from java/src/hdf/hdf5lib/structs/H5O_info_t.java
rename to java/hdf/hdf5lib/structs/H5O_info_t.java
diff --git a/java/hdf/hdf5lib/structs/H5O_native_info_t.java b/java/hdf/hdf5lib/structs/H5O_native_info_t.java
new file mode 100644
index 00000000000..d5f57630213
--- /dev/null
+++ b/java/hdf/hdf5lib/structs/H5O_native_info_t.java
@@ -0,0 +1,57 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.structs;
+
+import java.io.Serializable;
+
+/**
+ * Information struct for native HDF5 object info, such as object header metadata (for
+ * H5Oget_info/H5Oget_info_by_name/H5Oget_info_by_idx).
+ *
+ */
+public class H5O_native_info_t implements Serializable {
+ private static final long serialVersionUID = 7883826382952577189L;
+ /** Object header information */
+ public H5O_hdr_info_t hdr_info;
+
+ /* Extra metadata storage for obj & attributes */
+ /** v1/v2 B-tree and local/fractal heap for groups, B-tree for chunked datasets */
+ public H5_ih_info_t obj_info;
+ /** v2 B-tree and heap for attributes */
+ public H5_ih_info_t attr_info;
+
+ public H5O_native_info_t(H5O_hdr_info_t oheader_info, H5_ih_info_t obj_info, H5_ih_info_t attr_info)
+ {
+ this.hdr_info = oheader_info;
+ this.obj_info = obj_info;
+ this.attr_info = attr_info;
+ }
+
+ @Override
+ public boolean equals(Object o)
+ {
+ if (this == o)
+ return true;
+
+ if (!(o instanceof H5O_native_info_t))
+ return false;
+
+ H5O_native_info_t info = (H5O_native_info_t)o;
+
+ if (!this.hdr_info.equals(info.hdr_info) || !this.obj_info.equals(info.obj_info) ||
+ !this.attr_info.equals(info.attr_info))
+ return false;
+
+ return true;
+ }
+}
diff --git a/java/hdf/hdf5lib/structs/H5O_token_t.java b/java/hdf/hdf5lib/structs/H5O_token_t.java
new file mode 100644
index 00000000000..d538bc73191
--- /dev/null
+++ b/java/hdf/hdf5lib/structs/H5O_token_t.java
@@ -0,0 +1,63 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.structs;
+
+import static org.hdfgroup.javahdf5.hdf5_h.*;
+
+import java.io.Serializable;
+import java.lang.foreign.MemorySegment;
+import java.lang.foreign.ValueLayout;
+import java.util.Arrays;
+
+import hdf.hdf5lib.HDF5Constants;
+
+import org.hdfgroup.javahdf5.*;
+
+/**
+ * Object token, which is a unique and permanent identifier, for an HDF5 object within a container.
+ *
+ */
+public class H5O_token_t implements Serializable {
+ private static final long serialVersionUID = -4754320605310155032L;
+ /**
+ * Tokens are unique and permanent identifiers that are
+ * used to reference HDF5 objects in a container.
+ * Use basic byte array to store the dat
+ */
+ public byte[] data;
+
+ public H5O_token_t(byte[] data) { this.data = data; }
+
+ public H5O_token_t(MemorySegment data) { this.data = data.toArray(ValueLayout.JAVA_BYTE); }
+
+ /**
+ * Check if token data is undefined
+ *
+ * @return true if token data is undefined
+ */
+ public boolean isUndefined() { return this.equals(HDF5Constants.H5O_TOKEN_UNDEF); }
+
+ @Override
+ public boolean equals(Object o)
+ {
+ if (this == o)
+ return true;
+
+ if (!(o instanceof H5O_token_t))
+ return false;
+
+ H5O_token_t token = (H5O_token_t)o;
+
+ return Arrays.equals(this.data, token.data);
+ }
+}
diff --git a/java/hdf/hdf5lib/structs/H5_ih_info_t.java b/java/hdf/hdf5lib/structs/H5_ih_info_t.java
new file mode 100644
index 00000000000..cd85be6f703
--- /dev/null
+++ b/java/hdf/hdf5lib/structs/H5_ih_info_t.java
@@ -0,0 +1,69 @@
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Copyright by The HDF Group. *
+ * All rights reserved. *
+ * *
+ * This file is part of HDF5. The full HDF5 copyright notice, including *
+ * terms governing use, modification, and redistribution, is contained in *
+ * the LICENSE file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
+ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+
+package hdf.hdf5lib.structs;
+
+import java.io.Serializable;
+import java.lang.foreign.Arena;
+import java.lang.foreign.MemoryLayout;
+import java.lang.foreign.MemorySegment;
+import java.lang.foreign.SequenceLayout;
+import java.lang.foreign.SymbolLookup;
+import java.lang.foreign.ValueLayout;
+
+/**
+ * Information struct for group (for H5Gget_info/H5Gget_info_by_name/H5Gget_info_by_idx)
+ *
+ */
+public class H5_ih_info_t implements Serializable {
+ private static final long serialVersionUID = -142238015615462707L;
+ /** btree and/or list size of index */
+ public long index_size;
+ /** btree and/or list size of hp */
+ public long heap_size;
+
+ public H5_ih_info_t(long index_size, long heap_size)
+ {
+ this.index_size = index_size;
+ this.heap_size = heap_size;
+ }
+
+ public H5_ih_info_t(MemorySegment info_segment)
+ {
+ MemoryLayout ilayout = MemoryLayout.structLayout(ValueLayout.JAVA_LONG.withName("index_size"),
+ ValueLayout.JAVA_LONG.withName("heap_size"));
+
+ this.index_size = info_segment.get(
+ ValueLayout.JAVA_LONG, ilayout.byteOffset(MemoryLayout.PathElement.groupElement("index_size")));
+ this.heap_size = info_segment.get(
+ ValueLayout.JAVA_LONG, ilayout.byteOffset(MemoryLayout.PathElement.groupElement("heap_size")));
+ }
+
+ @Override
+ public boolean equals(Object o)
+ {
+ if (this == o)
+ return true;
+
+ if (!(o instanceof H5_ih_info_t))
+ return false;
+
+ H5_ih_info_t info = (H5_ih_info_t)o;
+
+ if (this.index_size != info.index_size)
+ return false;
+ if (this.heap_size != info.heap_size)
+ return false;
+
+ return true;
+ }
+}
diff --git a/java/src/hdf/hdf5lib/structs/package-info.java b/java/hdf/hdf5lib/structs/package-info.java
similarity index 100%
rename from java/src/hdf/hdf5lib/structs/package-info.java
rename to java/hdf/hdf5lib/structs/package-info.java
diff --git a/java/src/hdf/overview.html b/java/hdf/overview.html
similarity index 100%
rename from java/src/hdf/overview.html
rename to java/hdf/overview.html
diff --git a/java/jsrc/CMakeLists.txt b/java/jsrc/CMakeLists.txt
new file mode 100644
index 00000000000..1ca984d5679
--- /dev/null
+++ b/java/jsrc/CMakeLists.txt
@@ -0,0 +1,55 @@
+cmake_minimum_required (VERSION 3.26)
+project (HDF5_JAVA_JSRC Java)
+
+set (CMAKE_VERBOSE_MAKEFILE 1)
+
+set_directory_properties(PROPERTIES INCLUDE_DIRECTORIES "${HDF5_JAVA_JSRC_SOURCE_DIR};${HDF5_JAVA_JSRC_BINARY_DIR}")
+
+if (HDF5_ENABLE_ROS3_VFD)
+ set (jsrc_features "ros3")
+else ()
+ set (jsrc_features "plain")
+endif ()
+if (WIN32)
+ set (jsrc_platform "windows")
+elseif (APPLE)
+ set (jsrc_platform "macos")
+else ()
+ set (jsrc_platform "linux")
+endif ()
+
+file (GLOB HDF5_JAVA_JSRC_SOURCES
+ LIST_DIRECTORIES false
+ ${HDF5_JAVA_JSRC_SOURCE_DIR}/org/${jsrc_platform}/hdfgroup/javahdf5/*.java
+ ${HDF5_JAVA_JSRC_SOURCE_DIR}/features/${jsrc_features}/${jsrc_platform}/*.java
+)
+
+file (WRITE ${PROJECT_BINARY_DIR}/Manifest.txt
+"Enable-Native-Access: ALL-UNNAMED
+"
+)
+
+set (CMAKE_JAVA_INCLUDE_PATH "${HDF5_JAVA_LOGGING_JAR}")
+
+# Set version suffix for snapshots vs releases
+if (HDF5_ENABLE_MAVEN_DEPLOY AND HDF5_MAVEN_SNAPSHOT)
+ set (HDF5_JAVAHDF5_VERSION_SUFFIX "-SNAPSHOT")
+else ()
+ set (HDF5_JAVAHDF5_VERSION_SUFFIX "")
+endif ()
+
+add_jar (${HDF5_JAVA_JSRC_LIB_TARGET} OUTPUT_NAME "${HDF5_JAVA_JSRC_LIB_TARGET}-${HDF5_PACKAGE_VERSION}${HDF5_JAVAHDF5_VERSION_SUFFIX}" MANIFEST ${PROJECT_BINARY_DIR}/Manifest.txt ${HDF5_JAVA_JSRC_SOURCES})
+install_jar (${HDF5_JAVA_JSRC_LIB_TARGET} LIBRARY DESTINATION ${HDF5_INSTALL_JAR_DIR} COMPONENT libraries)
+
+get_target_property (${HDF5_JAVA_JSRC_LIB_TARGET}_JAR_FILE ${HDF5_JAVA_JSRC_LIB_TARGET} JAR_FILE)
+SET_GLOBAL_VARIABLE (HDF5_JAVA_JARS_TO_EXPORT "${HDF5_JAVA_JARS_TO_EXPORT};${${HDF5_JAVA_JSRC_LIB_TARGET}_JAR_FILE}")
+SET_GLOBAL_VARIABLE (HDF5_JAVAHDF5_JARS ${${HDF5_JAVA_JSRC_LIB_TARGET}_JAR_FILE})
+SET_GLOBAL_VARIABLE (HDF5_JAVA_JARS "${HDF5_JAVA_JARS};${${HDF5_JAVA_JSRC_LIB_TARGET}_JAR_FILE}")
+
+set_target_properties (${HDF5_JAVA_JSRC_LIB_TARGET} PROPERTIES FOLDER libraries/java)
+if (HDF5_ENABLE_FORMATTERS)
+ clang_format (HDF5_JAVA_SRC_FORMAT ${HDF5_JAVA_JSRC_SOURCES})
+endif ()
+
+set (CMAKE_JAVA_INCLUDE_PATH "")
+
diff --git a/java/jsrc/features/plain/linux/hdf5_h.java b/java/jsrc/features/plain/linux/hdf5_h.java
new file mode 100644
index 00000000000..bf738df5de7
--- /dev/null
+++ b/java/jsrc/features/plain/linux/hdf5_h.java
@@ -0,0 +1,27450 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h extends hdf5_h_1 {
+
+ hdf5_h()
+ {
+ // Should not be called directly
+ }
+ private static final int H5D_MPIO_MULTI_CHUNK = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_chunk_opt_mode_t.H5D_MPIO_MULTI_CHUNK = 2
+ * }
+ */
+ public static int H5D_MPIO_MULTI_CHUNK() { return H5D_MPIO_MULTI_CHUNK; }
+ private static final int H5D_MPIO_NO_COLLECTIVE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_NO_COLLECTIVE = 0
+ * }
+ */
+ public static int H5D_MPIO_NO_COLLECTIVE() { return H5D_MPIO_NO_COLLECTIVE; }
+ private static final int H5D_MPIO_CHUNK_INDEPENDENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CHUNK_INDEPENDENT = 1
+ * }
+ */
+ public static int H5D_MPIO_CHUNK_INDEPENDENT() { return H5D_MPIO_CHUNK_INDEPENDENT; }
+ private static final int H5D_MPIO_CHUNK_COLLECTIVE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CHUNK_COLLECTIVE = 2
+ * }
+ */
+ public static int H5D_MPIO_CHUNK_COLLECTIVE() { return H5D_MPIO_CHUNK_COLLECTIVE; }
+ private static final int H5D_MPIO_CHUNK_MIXED = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CHUNK_MIXED = 3
+ * }
+ */
+ public static int H5D_MPIO_CHUNK_MIXED() { return H5D_MPIO_CHUNK_MIXED; }
+ private static final int H5D_MPIO_CONTIGUOUS_COLLECTIVE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CONTIGUOUS_COLLECTIVE = 4
+ * }
+ */
+ public static int H5D_MPIO_CONTIGUOUS_COLLECTIVE() { return H5D_MPIO_CONTIGUOUS_COLLECTIVE; }
+ private static final int H5D_MPIO_COLLECTIVE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_COLLECTIVE = 0
+ * }
+ */
+ public static int H5D_MPIO_COLLECTIVE() { return H5D_MPIO_COLLECTIVE; }
+ private static final int H5D_MPIO_SET_INDEPENDENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_SET_INDEPENDENT = 1
+ * }
+ */
+ public static int H5D_MPIO_SET_INDEPENDENT() { return H5D_MPIO_SET_INDEPENDENT; }
+ private static final int H5D_MPIO_DATATYPE_CONVERSION = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_DATATYPE_CONVERSION = 2
+ * }
+ */
+ public static int H5D_MPIO_DATATYPE_CONVERSION() { return H5D_MPIO_DATATYPE_CONVERSION; }
+ private static final int H5D_MPIO_DATA_TRANSFORMS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_DATA_TRANSFORMS = 4
+ * }
+ */
+ public static int H5D_MPIO_DATA_TRANSFORMS() { return H5D_MPIO_DATA_TRANSFORMS; }
+ private static final int H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED = 8
+ * }
+ */
+ public static int H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED()
+ {
+ return H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED;
+ }
+ private static final int H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES = 16
+ * }
+ */
+ public static int H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES()
+ {
+ return H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES;
+ }
+ private static final int H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET = 32
+ * }
+ */
+ public static int H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET()
+ {
+ return H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET;
+ }
+ private static final int H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED = 64
+ * }
+ */
+ public static int H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED()
+ {
+ return H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED;
+ }
+ private static final int H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE = 128
+ * }
+ */
+ public static int H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE()
+ {
+ return H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE;
+ }
+ private static final int H5D_MPIO_NO_SELECTION_IO = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NO_SELECTION_IO = 256
+ * }
+ */
+ public static int H5D_MPIO_NO_SELECTION_IO() { return H5D_MPIO_NO_SELECTION_IO; }
+ private static final int H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE = 512
+ * }
+ */
+ public static int H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE() { return H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE; }
+ private static final int H5D_SELECTION_IO_MODE_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_selection_io_mode_t.H5D_SELECTION_IO_MODE_DEFAULT = 0
+ * }
+ */
+ public static int H5D_SELECTION_IO_MODE_DEFAULT() { return H5D_SELECTION_IO_MODE_DEFAULT; }
+ private static final int H5D_SELECTION_IO_MODE_OFF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_selection_io_mode_t.H5D_SELECTION_IO_MODE_OFF = 1
+ * }
+ */
+ public static int H5D_SELECTION_IO_MODE_OFF() { return H5D_SELECTION_IO_MODE_OFF; }
+ private static final int H5D_SELECTION_IO_MODE_ON = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_selection_io_mode_t.H5D_SELECTION_IO_MODE_ON = 2
+ * }
+ */
+ public static int H5D_SELECTION_IO_MODE_ON() { return H5D_SELECTION_IO_MODE_ON; }
+
+ private static class H5P_CLS_ROOT_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_ROOT_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_ROOT_ID_g$layout() { return H5P_CLS_ROOT_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_ROOT_ID_g$segment() { return H5P_CLS_ROOT_ID_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static long H5P_CLS_ROOT_ID_g()
+ {
+ return H5P_CLS_ROOT_ID_g$constants.SEGMENT.get(H5P_CLS_ROOT_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static void H5P_CLS_ROOT_ID_g(long varValue)
+ {
+ H5P_CLS_ROOT_ID_g$constants.SEGMENT.set(H5P_CLS_ROOT_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_OBJECT_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_OBJECT_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_OBJECT_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_OBJECT_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_OBJECT_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_OBJECT_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_OBJECT_CREATE_ID_g()
+ {
+ return H5P_CLS_OBJECT_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_OBJECT_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_OBJECT_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_OBJECT_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_OBJECT_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_FILE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_FILE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_FILE_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_FILE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_FILE_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_FILE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_FILE_CREATE_ID_g()
+ {
+ return H5P_CLS_FILE_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_FILE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_FILE_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_FILE_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_FILE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_FILE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_FILE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_FILE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_FILE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_FILE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_FILE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_FILE_ACCESS_ID_g()
+ {
+ return H5P_CLS_FILE_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_FILE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_FILE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_FILE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_FILE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATASET_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATASET_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATASET_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_DATASET_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATASET_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_DATASET_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATASET_CREATE_ID_g()
+ {
+ return H5P_CLS_DATASET_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_DATASET_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATASET_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_DATASET_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_DATASET_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATASET_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATASET_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATASET_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_DATASET_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATASET_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_DATASET_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATASET_ACCESS_ID_g()
+ {
+ return H5P_CLS_DATASET_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_DATASET_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATASET_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_DATASET_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_DATASET_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATASET_XFER_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATASET_XFER_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATASET_XFER_ID_g$layout()
+ {
+ return H5P_CLS_DATASET_XFER_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATASET_XFER_ID_g$segment()
+ {
+ return H5P_CLS_DATASET_XFER_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATASET_XFER_ID_g()
+ {
+ return H5P_CLS_DATASET_XFER_ID_g$constants.SEGMENT.get(H5P_CLS_DATASET_XFER_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATASET_XFER_ID_g(long varValue)
+ {
+ H5P_CLS_DATASET_XFER_ID_g$constants.SEGMENT.set(H5P_CLS_DATASET_XFER_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_FILE_MOUNT_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_FILE_MOUNT_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_FILE_MOUNT_ID_g$layout() { return H5P_CLS_FILE_MOUNT_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_FILE_MOUNT_ID_g$segment()
+ {
+ return H5P_CLS_FILE_MOUNT_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static long H5P_CLS_FILE_MOUNT_ID_g()
+ {
+ return H5P_CLS_FILE_MOUNT_ID_g$constants.SEGMENT.get(H5P_CLS_FILE_MOUNT_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static void H5P_CLS_FILE_MOUNT_ID_g(long varValue)
+ {
+ H5P_CLS_FILE_MOUNT_ID_g$constants.SEGMENT.set(H5P_CLS_FILE_MOUNT_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_GROUP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_GROUP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_GROUP_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_GROUP_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_GROUP_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_GROUP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_GROUP_CREATE_ID_g()
+ {
+ return H5P_CLS_GROUP_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_GROUP_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_GROUP_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_GROUP_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_GROUP_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_GROUP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_GROUP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_GROUP_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_GROUP_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_GROUP_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_GROUP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_GROUP_ACCESS_ID_g()
+ {
+ return H5P_CLS_GROUP_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_GROUP_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_GROUP_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_GROUP_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_GROUP_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATATYPE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATATYPE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATATYPE_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_DATATYPE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATATYPE_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_DATATYPE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATATYPE_CREATE_ID_g()
+ {
+ return H5P_CLS_DATATYPE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_CLS_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATATYPE_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_DATATYPE_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATATYPE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATATYPE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATATYPE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_DATATYPE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATATYPE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_DATATYPE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATATYPE_ACCESS_ID_g()
+ {
+ return H5P_CLS_DATATYPE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_CLS_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATATYPE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_DATATYPE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_MAP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_MAP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_MAP_CREATE_ID_g$layout() { return H5P_CLS_MAP_CREATE_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_MAP_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_MAP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_MAP_CREATE_ID_g()
+ {
+ return H5P_CLS_MAP_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_MAP_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_MAP_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_MAP_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_MAP_CREATE_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_MAP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_MAP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_MAP_ACCESS_ID_g$layout() { return H5P_CLS_MAP_ACCESS_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_MAP_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_MAP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_MAP_ACCESS_ID_g()
+ {
+ return H5P_CLS_MAP_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_MAP_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_MAP_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_MAP_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_MAP_ACCESS_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_STRING_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_STRING_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_STRING_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_STRING_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_STRING_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_STRING_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_STRING_CREATE_ID_g()
+ {
+ return H5P_CLS_STRING_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_STRING_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_STRING_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_STRING_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_STRING_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_ATTRIBUTE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_ATTRIBUTE_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_ATTRIBUTE_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_ATTRIBUTE_CREATE_ID_g()
+ {
+ return H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_ATTRIBUTE_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_ATTRIBUTE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_ATTRIBUTE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_ATTRIBUTE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_ATTRIBUTE_ACCESS_ID_g()
+ {
+ return H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_ATTRIBUTE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_CLS_OBJECT_COPY_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_OBJECT_COPY_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_OBJECT_COPY_ID_g$layout()
+ {
+ return H5P_CLS_OBJECT_COPY_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_OBJECT_COPY_ID_g$segment()
+ {
+ return H5P_CLS_OBJECT_COPY_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static long H5P_CLS_OBJECT_COPY_ID_g()
+ {
+ return H5P_CLS_OBJECT_COPY_ID_g$constants.SEGMENT.get(H5P_CLS_OBJECT_COPY_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static void H5P_CLS_OBJECT_COPY_ID_g(long varValue)
+ {
+ H5P_CLS_OBJECT_COPY_ID_g$constants.SEGMENT.set(H5P_CLS_OBJECT_COPY_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_LINK_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_LINK_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_LINK_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_LINK_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_LINK_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_LINK_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_LINK_CREATE_ID_g()
+ {
+ return H5P_CLS_LINK_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_LINK_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_LINK_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_LINK_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_LINK_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_LINK_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_LINK_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_LINK_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_LINK_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_LINK_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_LINK_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_LINK_ACCESS_ID_g()
+ {
+ return H5P_CLS_LINK_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_LINK_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_LINK_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_LINK_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_LINK_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_VOL_INITIALIZE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_VOL_INITIALIZE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_VOL_INITIALIZE_ID_g$layout()
+ {
+ return H5P_CLS_VOL_INITIALIZE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_VOL_INITIALIZE_ID_g$segment()
+ {
+ return H5P_CLS_VOL_INITIALIZE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static long H5P_CLS_VOL_INITIALIZE_ID_g()
+ {
+ return H5P_CLS_VOL_INITIALIZE_ID_g$constants.SEGMENT.get(H5P_CLS_VOL_INITIALIZE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static void H5P_CLS_VOL_INITIALIZE_ID_g(long varValue)
+ {
+ H5P_CLS_VOL_INITIALIZE_ID_g$constants.SEGMENT.set(H5P_CLS_VOL_INITIALIZE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_REFERENCE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_REFERENCE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_REFERENCE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_REFERENCE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_REFERENCE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_REFERENCE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_REFERENCE_ACCESS_ID_g()
+ {
+ return H5P_CLS_REFERENCE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_CLS_REFERENCE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_REFERENCE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_REFERENCE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_REFERENCE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_LST_FILE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_FILE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_FILE_CREATE_ID_g$layout()
+ {
+ return H5P_LST_FILE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_FILE_CREATE_ID_g$segment()
+ {
+ return H5P_LST_FILE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_FILE_CREATE_ID_g()
+ {
+ return H5P_LST_FILE_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_FILE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_FILE_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_FILE_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_FILE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_FILE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_FILE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_FILE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_FILE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_FILE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_FILE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_FILE_ACCESS_ID_g()
+ {
+ return H5P_LST_FILE_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_FILE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_FILE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_FILE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_FILE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATASET_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATASET_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATASET_CREATE_ID_g$layout()
+ {
+ return H5P_LST_DATASET_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATASET_CREATE_ID_g$segment()
+ {
+ return H5P_LST_DATASET_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_DATASET_CREATE_ID_g()
+ {
+ return H5P_LST_DATASET_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_DATASET_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_DATASET_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_DATASET_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_DATASET_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATASET_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATASET_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATASET_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_DATASET_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATASET_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_DATASET_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_DATASET_ACCESS_ID_g()
+ {
+ return H5P_LST_DATASET_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_DATASET_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_DATASET_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_DATASET_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_DATASET_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATASET_XFER_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATASET_XFER_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATASET_XFER_ID_g$layout()
+ {
+ return H5P_LST_DATASET_XFER_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATASET_XFER_ID_g$segment()
+ {
+ return H5P_LST_DATASET_XFER_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static long H5P_LST_DATASET_XFER_ID_g()
+ {
+ return H5P_LST_DATASET_XFER_ID_g$constants.SEGMENT.get(H5P_LST_DATASET_XFER_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static void H5P_LST_DATASET_XFER_ID_g(long varValue)
+ {
+ H5P_LST_DATASET_XFER_ID_g$constants.SEGMENT.set(H5P_LST_DATASET_XFER_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_FILE_MOUNT_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_FILE_MOUNT_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_FILE_MOUNT_ID_g$layout() { return H5P_LST_FILE_MOUNT_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_FILE_MOUNT_ID_g$segment()
+ {
+ return H5P_LST_FILE_MOUNT_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static long H5P_LST_FILE_MOUNT_ID_g()
+ {
+ return H5P_LST_FILE_MOUNT_ID_g$constants.SEGMENT.get(H5P_LST_FILE_MOUNT_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static void H5P_LST_FILE_MOUNT_ID_g(long varValue)
+ {
+ H5P_LST_FILE_MOUNT_ID_g$constants.SEGMENT.set(H5P_LST_FILE_MOUNT_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_LST_GROUP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_GROUP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_GROUP_CREATE_ID_g$layout()
+ {
+ return H5P_LST_GROUP_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_GROUP_CREATE_ID_g$segment()
+ {
+ return H5P_LST_GROUP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_GROUP_CREATE_ID_g()
+ {
+ return H5P_LST_GROUP_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_GROUP_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_GROUP_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_GROUP_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_GROUP_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_GROUP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_GROUP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_GROUP_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_GROUP_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_GROUP_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_GROUP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_GROUP_ACCESS_ID_g()
+ {
+ return H5P_LST_GROUP_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_GROUP_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_GROUP_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_GROUP_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_GROUP_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATATYPE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATATYPE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATATYPE_CREATE_ID_g$layout()
+ {
+ return H5P_LST_DATATYPE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATATYPE_CREATE_ID_g$segment()
+ {
+ return H5P_LST_DATATYPE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_DATATYPE_CREATE_ID_g()
+ {
+ return H5P_LST_DATATYPE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_LST_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_DATATYPE_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_DATATYPE_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATATYPE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATATYPE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATATYPE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_DATATYPE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATATYPE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_DATATYPE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_DATATYPE_ACCESS_ID_g()
+ {
+ return H5P_LST_DATATYPE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_LST_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_DATATYPE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_DATATYPE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_MAP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_MAP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_MAP_CREATE_ID_g$layout() { return H5P_LST_MAP_CREATE_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_MAP_CREATE_ID_g$segment()
+ {
+ return H5P_LST_MAP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_MAP_CREATE_ID_g()
+ {
+ return H5P_LST_MAP_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_MAP_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_MAP_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_MAP_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_MAP_CREATE_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_LST_MAP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_MAP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_MAP_ACCESS_ID_g$layout() { return H5P_LST_MAP_ACCESS_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_MAP_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_MAP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_MAP_ACCESS_ID_g()
+ {
+ return H5P_LST_MAP_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_MAP_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_MAP_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_MAP_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_MAP_ACCESS_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_LST_ATTRIBUTE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_ATTRIBUTE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_ATTRIBUTE_CREATE_ID_g$layout()
+ {
+ return H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_ATTRIBUTE_CREATE_ID_g$segment()
+ {
+ return H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_ATTRIBUTE_CREATE_ID_g()
+ {
+ return H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_ATTRIBUTE_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_ATTRIBUTE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_ATTRIBUTE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_ATTRIBUTE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_ATTRIBUTE_ACCESS_ID_g()
+ {
+ return H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_ATTRIBUTE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_LST_OBJECT_COPY_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_OBJECT_COPY_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_OBJECT_COPY_ID_g$layout()
+ {
+ return H5P_LST_OBJECT_COPY_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_OBJECT_COPY_ID_g$segment()
+ {
+ return H5P_LST_OBJECT_COPY_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static long H5P_LST_OBJECT_COPY_ID_g()
+ {
+ return H5P_LST_OBJECT_COPY_ID_g$constants.SEGMENT.get(H5P_LST_OBJECT_COPY_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static void H5P_LST_OBJECT_COPY_ID_g(long varValue)
+ {
+ H5P_LST_OBJECT_COPY_ID_g$constants.SEGMENT.set(H5P_LST_OBJECT_COPY_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_LINK_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_LINK_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_LINK_CREATE_ID_g$layout()
+ {
+ return H5P_LST_LINK_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_LINK_CREATE_ID_g$segment()
+ {
+ return H5P_LST_LINK_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_LINK_CREATE_ID_g()
+ {
+ return H5P_LST_LINK_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_LINK_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_LINK_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_LINK_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_LINK_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_LINK_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_LINK_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_LINK_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_LINK_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_LINK_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_LINK_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_LINK_ACCESS_ID_g()
+ {
+ return H5P_LST_LINK_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_LINK_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_LINK_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_LINK_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_LINK_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_VOL_INITIALIZE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_VOL_INITIALIZE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_VOL_INITIALIZE_ID_g$layout()
+ {
+ return H5P_LST_VOL_INITIALIZE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_VOL_INITIALIZE_ID_g$segment()
+ {
+ return H5P_LST_VOL_INITIALIZE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static long H5P_LST_VOL_INITIALIZE_ID_g()
+ {
+ return H5P_LST_VOL_INITIALIZE_ID_g$constants.SEGMENT.get(H5P_LST_VOL_INITIALIZE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static void H5P_LST_VOL_INITIALIZE_ID_g(long varValue)
+ {
+ H5P_LST_VOL_INITIALIZE_ID_g$constants.SEGMENT.set(H5P_LST_VOL_INITIALIZE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_REFERENCE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_REFERENCE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_REFERENCE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_REFERENCE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_REFERENCE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_REFERENCE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_REFERENCE_ACCESS_ID_g()
+ {
+ return H5P_LST_REFERENCE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_LST_REFERENCE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_REFERENCE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_REFERENCE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_REFERENCE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5Pclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pclose$descriptor() { return H5Pclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pclose$handle() { return H5Pclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pclose$address() { return H5Pclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static int H5Pclose(long plist_id)
+ {
+ var mh$ = H5Pclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pclose", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pclose_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pclose_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pclose_class$descriptor() { return H5Pclose_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pclose_class$handle() { return H5Pclose_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pclose_class$address() { return H5Pclose_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static int H5Pclose_class(long plist_id)
+ {
+ var mh$ = H5Pclose_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pclose_class", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcopy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pcopy$descriptor() { return H5Pcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pcopy$handle() { return H5Pcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pcopy$address() { return H5Pcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static long H5Pcopy(long plist_id)
+ {
+ var mh$ = H5Pcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcopy", plist_id);
+ }
+ return (long)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcopy_prop {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcopy_prop");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Pcopy_prop$descriptor() { return H5Pcopy_prop.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Pcopy_prop$handle() { return H5Pcopy_prop.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Pcopy_prop$address() { return H5Pcopy_prop.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static int H5Pcopy_prop(long dst_id, long src_id, MemorySegment name)
+ {
+ var mh$ = H5Pcopy_prop.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcopy_prop", dst_id, src_id, name);
+ }
+ return (int)mh$.invokeExact(dst_id, src_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcreate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pcreate$descriptor() { return H5Pcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static MethodHandle H5Pcreate$handle() { return H5Pcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static MemorySegment H5Pcreate$address() { return H5Pcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static long H5Pcreate(long cls_id)
+ {
+ var mh$ = H5Pcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcreate", cls_id);
+ }
+ return (long)mh$.invokeExact(cls_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcreate_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcreate_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pcreate_class$descriptor() { return H5Pcreate_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static MethodHandle H5Pcreate_class$handle() { return H5Pcreate_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static MemorySegment H5Pcreate_class$address() { return H5Pcreate_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static long H5Pcreate_class(long parent, MemorySegment name, MemorySegment create,
+ MemorySegment create_data, MemorySegment copy, MemorySegment copy_data,
+ MemorySegment close, MemorySegment close_data)
+ {
+ var mh$ = H5Pcreate_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcreate_class", parent, name, create, create_data, copy, copy_data, close,
+ close_data);
+ }
+ return (long)mh$.invokeExact(parent, name, create, create_data, copy, copy_data, close,
+ close_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pdecode {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pdecode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Pdecode$descriptor() { return H5Pdecode.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static MethodHandle H5Pdecode$handle() { return H5Pdecode.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static MemorySegment H5Pdecode$address() { return H5Pdecode.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static long H5Pdecode(MemorySegment buf)
+ {
+ var mh$ = H5Pdecode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pdecode", buf);
+ }
+ return (long)mh$.invokeExact(buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pencode2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pencode2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pencode2$descriptor() { return H5Pencode2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pencode2$handle() { return H5Pencode2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pencode2$address() { return H5Pencode2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static int H5Pencode2(long plist_id, MemorySegment buf, MemorySegment nalloc, long fapl_id)
+ {
+ var mh$ = H5Pencode2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pencode2", plist_id, buf, nalloc, fapl_id);
+ }
+ return (int)mh$.invokeExact(plist_id, buf, nalloc, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pequal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pequal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static FunctionDescriptor H5Pequal$descriptor() { return H5Pequal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static MethodHandle H5Pequal$handle() { return H5Pequal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static MemorySegment H5Pequal$address() { return H5Pequal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static int H5Pequal(long id1, long id2)
+ {
+ var mh$ = H5Pequal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pequal", id1, id2);
+ }
+ return (int)mh$.invokeExact(id1, id2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pexist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pexist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Pexist$descriptor() { return H5Pexist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Pexist$handle() { return H5Pexist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Pexist$address() { return H5Pexist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static int H5Pexist(long plist_id, MemorySegment name)
+ {
+ var mh$ = H5Pexist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pexist", plist_id, name);
+ }
+ return (int)mh$.invokeExact(plist_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pget$descriptor() { return H5Pget.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static MethodHandle H5Pget$handle() { return H5Pget.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static MemorySegment H5Pget$address() { return H5Pget.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static int H5Pget(long plist_id, MemorySegment name, MemorySegment value)
+ {
+ var mh$ = H5Pget.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget", plist_id, name, value);
+ }
+ return (int)mh$.invokeExact(plist_id, name, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_class$descriptor() { return H5Pget_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_class$handle() { return H5Pget_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class$address() { return H5Pget_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static long H5Pget_class(long plist_id)
+ {
+ var mh$ = H5Pget_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_class", plist_id);
+ }
+ return (long)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_class_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_class_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_class_name$descriptor() { return H5Pget_class_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static MethodHandle H5Pget_class_name$handle() { return H5Pget_class_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class_name$address() { return H5Pget_class_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class_name(long pclass_id)
+ {
+ var mh$ = H5Pget_class_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_class_name", pclass_id);
+ }
+ return (MemorySegment)mh$.invokeExact(pclass_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_class_parent {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_class_parent");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_class_parent$descriptor() { return H5Pget_class_parent.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static MethodHandle H5Pget_class_parent$handle() { return H5Pget_class_parent.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class_parent$address() { return H5Pget_class_parent.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static long H5Pget_class_parent(long pclass_id)
+ {
+ var mh$ = H5Pget_class_parent.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_class_parent", pclass_id);
+ }
+ return (long)mh$.invokeExact(pclass_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_nprops {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_nprops");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_nprops$descriptor() { return H5Pget_nprops.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static MethodHandle H5Pget_nprops$handle() { return H5Pget_nprops.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static MemorySegment H5Pget_nprops$address() { return H5Pget_nprops.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static int H5Pget_nprops(long id, MemorySegment nprops)
+ {
+ var mh$ = H5Pget_nprops.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_nprops", id, nprops);
+ }
+ return (int)mh$.invokeExact(id, nprops);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_size$descriptor() { return H5Pget_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_size$handle() { return H5Pget_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_size$address() { return H5Pget_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static int H5Pget_size(long id, MemorySegment name, MemorySegment size)
+ {
+ var mh$ = H5Pget_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_size", id, name, size);
+ }
+ return (int)mh$.invokeExact(id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pinsert2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pinsert2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static FunctionDescriptor H5Pinsert2$descriptor() { return H5Pinsert2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MethodHandle H5Pinsert2$handle() { return H5Pinsert2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MemorySegment H5Pinsert2$address() { return H5Pinsert2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static int H5Pinsert2(long plist_id, MemorySegment name, long size, MemorySegment value,
+ MemorySegment set, MemorySegment get, MemorySegment prp_del,
+ MemorySegment copy, MemorySegment compare, MemorySegment close)
+ {
+ var mh$ = H5Pinsert2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pinsert2", plist_id, name, size, value, set, get, prp_del, copy, compare,
+ close);
+ }
+ return (int)mh$.invokeExact(plist_id, name, size, value, set, get, prp_del, copy, compare, close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pisa_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pisa_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pisa_class$descriptor() { return H5Pisa_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static MethodHandle H5Pisa_class$handle() { return H5Pisa_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pisa_class$address() { return H5Pisa_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static int H5Pisa_class(long plist_id, long pclass_id)
+ {
+ var mh$ = H5Pisa_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pisa_class", plist_id, pclass_id);
+ }
+ return (int)mh$.invokeExact(plist_id, pclass_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Piterate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Piterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static FunctionDescriptor H5Piterate$descriptor() { return H5Piterate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static MethodHandle H5Piterate$handle() { return H5Piterate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static MemorySegment H5Piterate$address() { return H5Piterate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static int H5Piterate(long id, MemorySegment idx, MemorySegment iter_func, MemorySegment iter_data)
+ {
+ var mh$ = H5Piterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Piterate", id, idx, iter_func, iter_data);
+ }
+ return (int)mh$.invokeExact(id, idx, iter_func, iter_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pregister2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pregister2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static FunctionDescriptor H5Pregister2$descriptor() { return H5Pregister2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MethodHandle H5Pregister2$handle() { return H5Pregister2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MemorySegment H5Pregister2$address() { return H5Pregister2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static int H5Pregister2(long cls_id, MemorySegment name, long size, MemorySegment def_value,
+ MemorySegment create, MemorySegment set, MemorySegment get,
+ MemorySegment prp_del, MemorySegment copy, MemorySegment compare,
+ MemorySegment close)
+ {
+ var mh$ = H5Pregister2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pregister2", cls_id, name, size, def_value, create, set, get, prp_del, copy,
+ compare, close);
+ }
+ return (int)mh$.invokeExact(cls_id, name, size, def_value, create, set, get, prp_del, copy,
+ compare, close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Premove {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Premove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Premove$descriptor() { return H5Premove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Premove$handle() { return H5Premove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Premove$address() { return H5Premove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static int H5Premove(long plist_id, MemorySegment name)
+ {
+ var mh$ = H5Premove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Premove", plist_id, name);
+ }
+ return (int)mh$.invokeExact(plist_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pset$descriptor() { return H5Pset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static MethodHandle H5Pset$handle() { return H5Pset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static MemorySegment H5Pset$address() { return H5Pset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static int H5Pset(long plist_id, MemorySegment name, MemorySegment value)
+ {
+ var mh$ = H5Pset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset", plist_id, name, value);
+ }
+ return (int)mh$.invokeExact(plist_id, name, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Punregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Punregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Punregister$descriptor() { return H5Punregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Punregister$handle() { return H5Punregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Punregister$address() { return H5Punregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static int H5Punregister(long pclass_id, MemorySegment name)
+ {
+ var mh$ = H5Punregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Punregister", pclass_id, name);
+ }
+ return (int)mh$.invokeExact(pclass_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pall_filters_avail {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pall_filters_avail");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pall_filters_avail$descriptor() { return H5Pall_filters_avail.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pall_filters_avail$handle() { return H5Pall_filters_avail.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pall_filters_avail$address() { return H5Pall_filters_avail.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static int H5Pall_filters_avail(long plist_id)
+ {
+ var mh$ = H5Pall_filters_avail.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pall_filters_avail", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_attr_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_attr_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_attr_creation_order$descriptor()
+ {
+ return H5Pget_attr_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pget_attr_creation_order$handle()
+ {
+ return H5Pget_attr_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pget_attr_creation_order$address()
+ {
+ return H5Pget_attr_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static int H5Pget_attr_creation_order(long plist_id, MemorySegment crt_order_flags)
+ {
+ var mh$ = H5Pget_attr_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_attr_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_attr_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_attr_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_attr_phase_change$descriptor()
+ {
+ return H5Pget_attr_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MethodHandle H5Pget_attr_phase_change$handle() { return H5Pget_attr_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MemorySegment H5Pget_attr_phase_change$address() { return H5Pget_attr_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static int H5Pget_attr_phase_change(long plist_id, MemorySegment max_compact,
+ MemorySegment min_dense)
+ {
+ var mh$ = H5Pget_attr_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_attr_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter2$descriptor() { return H5Pget_filter2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MethodHandle H5Pget_filter2$handle() { return H5Pget_filter2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MemorySegment H5Pget_filter2$address() { return H5Pget_filter2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static int H5Pget_filter2(long plist_id, int idx, MemorySegment flags, MemorySegment cd_nelmts,
+ MemorySegment cd_values, long namelen, MemorySegment name,
+ MemorySegment filter_config)
+ {
+ var mh$ = H5Pget_filter2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter2", plist_id, idx, flags, cd_nelmts, cd_values, namelen, name,
+ filter_config);
+ }
+ return (int)mh$.invokeExact(plist_id, idx, flags, cd_nelmts, cd_values, namelen, name,
+ filter_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter_by_id2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter_by_id2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter_by_id2$descriptor() { return H5Pget_filter_by_id2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MethodHandle H5Pget_filter_by_id2$handle() { return H5Pget_filter_by_id2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MemorySegment H5Pget_filter_by_id2$address() { return H5Pget_filter_by_id2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static int H5Pget_filter_by_id2(long plist_id, int filter_id, MemorySegment flags,
+ MemorySegment cd_nelmts, MemorySegment cd_values, long namelen,
+ MemorySegment name, MemorySegment filter_config)
+ {
+ var mh$ = H5Pget_filter_by_id2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter_by_id2", plist_id, filter_id, flags, cd_nelmts, cd_values,
+ namelen, name, filter_config);
+ }
+ return (int)mh$.invokeExact(plist_id, filter_id, flags, cd_nelmts, cd_values, namelen, name,
+ filter_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_nfilters {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_nfilters");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_nfilters$descriptor() { return H5Pget_nfilters.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_nfilters$handle() { return H5Pget_nfilters.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_nfilters$address() { return H5Pget_nfilters.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_nfilters(long plist_id)
+ {
+ var mh$ = H5Pget_nfilters.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_nfilters", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_obj_track_times {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_obj_track_times");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_obj_track_times$descriptor()
+ {
+ return H5Pget_obj_track_times.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static MethodHandle H5Pget_obj_track_times$handle() { return H5Pget_obj_track_times.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static MemorySegment H5Pget_obj_track_times$address() { return H5Pget_obj_track_times.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static int H5Pget_obj_track_times(long plist_id, MemorySegment track_times)
+ {
+ var mh$ = H5Pget_obj_track_times.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_obj_track_times", plist_id, track_times);
+ }
+ return (int)mh$.invokeExact(plist_id, track_times);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pmodify_filter {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pmodify_filter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static FunctionDescriptor H5Pmodify_filter$descriptor() { return H5Pmodify_filter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static MethodHandle H5Pmodify_filter$handle() { return H5Pmodify_filter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static MemorySegment H5Pmodify_filter$address() { return H5Pmodify_filter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static int H5Pmodify_filter(long plist_id, int filter, int flags, long cd_nelmts,
+ MemorySegment cd_values)
+ {
+ var mh$ = H5Pmodify_filter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pmodify_filter", plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ return (int)mh$.invokeExact(plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Premove_filter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Premove_filter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static FunctionDescriptor H5Premove_filter$descriptor() { return H5Premove_filter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static MethodHandle H5Premove_filter$handle() { return H5Premove_filter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static MemorySegment H5Premove_filter$address() { return H5Premove_filter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static int H5Premove_filter(long plist_id, int filter)
+ {
+ var mh$ = H5Premove_filter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Premove_filter", plist_id, filter);
+ }
+ return (int)mh$.invokeExact(plist_id, filter);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_attr_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_attr_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_attr_creation_order$descriptor()
+ {
+ return H5Pset_attr_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pset_attr_creation_order$handle()
+ {
+ return H5Pset_attr_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pset_attr_creation_order$address()
+ {
+ return H5Pset_attr_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static int H5Pset_attr_creation_order(long plist_id, int crt_order_flags)
+ {
+ var mh$ = H5Pset_attr_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_attr_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_attr_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_attr_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_attr_phase_change$descriptor()
+ {
+ return H5Pset_attr_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MethodHandle H5Pset_attr_phase_change$handle() { return H5Pset_attr_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MemorySegment H5Pset_attr_phase_change$address() { return H5Pset_attr_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static int H5Pset_attr_phase_change(long plist_id, int max_compact, int min_dense)
+ {
+ var mh$ = H5Pset_attr_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_attr_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_deflate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_deflate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_deflate$descriptor() { return H5Pset_deflate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static MethodHandle H5Pset_deflate$handle() { return H5Pset_deflate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static MemorySegment H5Pset_deflate$address() { return H5Pset_deflate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static int H5Pset_deflate(long plist_id, int level)
+ {
+ var mh$ = H5Pset_deflate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_deflate", plist_id, level);
+ }
+ return (int)mh$.invokeExact(plist_id, level);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_filter {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_filter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static FunctionDescriptor H5Pset_filter$descriptor() { return H5Pset_filter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static MethodHandle H5Pset_filter$handle() { return H5Pset_filter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static MemorySegment H5Pset_filter$address() { return H5Pset_filter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static int H5Pset_filter(long plist_id, int filter, int flags, long cd_nelmts,
+ MemorySegment cd_values)
+ {
+ var mh$ = H5Pset_filter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_filter", plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ return (int)mh$.invokeExact(plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fletcher32 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fletcher32");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fletcher32$descriptor() { return H5Pset_fletcher32.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fletcher32$handle() { return H5Pset_fletcher32.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fletcher32$address() { return H5Pset_fletcher32.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static int H5Pset_fletcher32(long plist_id)
+ {
+ var mh$ = H5Pset_fletcher32.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fletcher32", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_obj_track_times {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_obj_track_times");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_obj_track_times$descriptor()
+ {
+ return H5Pset_obj_track_times.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static MethodHandle H5Pset_obj_track_times$handle() { return H5Pset_obj_track_times.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static MemorySegment H5Pset_obj_track_times$address() { return H5Pset_obj_track_times.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static int H5Pset_obj_track_times(long plist_id, boolean track_times)
+ {
+ var mh$ = H5Pset_obj_track_times.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_obj_track_times", plist_id, track_times);
+ }
+ return (int)mh$.invokeExact(plist_id, track_times);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_space_page_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_space_page_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_space_page_size$descriptor()
+ {
+ return H5Pget_file_space_page_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static MethodHandle H5Pget_file_space_page_size$handle()
+ {
+ return H5Pget_file_space_page_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static MemorySegment H5Pget_file_space_page_size$address()
+ {
+ return H5Pget_file_space_page_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static int H5Pget_file_space_page_size(long plist_id, MemorySegment fsp_size)
+ {
+ var mh$ = H5Pget_file_space_page_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_space_page_size", plist_id, fsp_size);
+ }
+ return (int)mh$.invokeExact(plist_id, fsp_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_space_strategy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_space_strategy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_space_strategy$descriptor()
+ {
+ return H5Pget_file_space_strategy.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static MethodHandle H5Pget_file_space_strategy$handle()
+ {
+ return H5Pget_file_space_strategy.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static MemorySegment H5Pget_file_space_strategy$address()
+ {
+ return H5Pget_file_space_strategy.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static int H5Pget_file_space_strategy(long plist_id, MemorySegment strategy, MemorySegment persist,
+ MemorySegment threshold)
+ {
+ var mh$ = H5Pget_file_space_strategy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_space_strategy", plist_id, strategy, persist, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, persist, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_istore_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_istore_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_istore_k$descriptor() { return H5Pget_istore_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static MethodHandle H5Pget_istore_k$handle() { return H5Pget_istore_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static MemorySegment H5Pget_istore_k$address() { return H5Pget_istore_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static int H5Pget_istore_k(long plist_id, MemorySegment ik)
+ {
+ var mh$ = H5Pget_istore_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_istore_k", plist_id, ik);
+ }
+ return (int)mh$.invokeExact(plist_id, ik);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_shared_mesg_index {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_shared_mesg_index");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_shared_mesg_index$descriptor()
+ {
+ return H5Pget_shared_mesg_index.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static MethodHandle H5Pget_shared_mesg_index$handle() { return H5Pget_shared_mesg_index.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static MemorySegment H5Pget_shared_mesg_index$address() { return H5Pget_shared_mesg_index.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static int H5Pget_shared_mesg_index(long plist_id, int index_num, MemorySegment mesg_type_flags,
+ MemorySegment min_mesg_size)
+ {
+ var mh$ = H5Pget_shared_mesg_index.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_shared_mesg_index", plist_id, index_num, mesg_type_flags,
+ min_mesg_size);
+ }
+ return (int)mh$.invokeExact(plist_id, index_num, mesg_type_flags, min_mesg_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_shared_mesg_nindexes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_shared_mesg_nindexes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_shared_mesg_nindexes$descriptor()
+ {
+ return H5Pget_shared_mesg_nindexes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static MethodHandle H5Pget_shared_mesg_nindexes$handle()
+ {
+ return H5Pget_shared_mesg_nindexes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static MemorySegment H5Pget_shared_mesg_nindexes$address()
+ {
+ return H5Pget_shared_mesg_nindexes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static int H5Pget_shared_mesg_nindexes(long plist_id, MemorySegment nindexes)
+ {
+ var mh$ = H5Pget_shared_mesg_nindexes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_shared_mesg_nindexes", plist_id, nindexes);
+ }
+ return (int)mh$.invokeExact(plist_id, nindexes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_shared_mesg_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_shared_mesg_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_shared_mesg_phase_change$descriptor()
+ {
+ return H5Pget_shared_mesg_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static MethodHandle H5Pget_shared_mesg_phase_change$handle()
+ {
+ return H5Pget_shared_mesg_phase_change.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static MemorySegment H5Pget_shared_mesg_phase_change$address()
+ {
+ return H5Pget_shared_mesg_phase_change.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static int H5Pget_shared_mesg_phase_change(long plist_id, MemorySegment max_list,
+ MemorySegment min_btree)
+ {
+ var mh$ = H5Pget_shared_mesg_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_shared_mesg_phase_change", plist_id, max_list, min_btree);
+ }
+ return (int)mh$.invokeExact(plist_id, max_list, min_btree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_sizes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_sizes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_sizes$descriptor() { return H5Pget_sizes.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static MethodHandle H5Pget_sizes$handle() { return H5Pget_sizes.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static MemorySegment H5Pget_sizes$address() { return H5Pget_sizes.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static int H5Pget_sizes(long plist_id, MemorySegment sizeof_addr, MemorySegment sizeof_size)
+ {
+ var mh$ = H5Pget_sizes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_sizes", plist_id, sizeof_addr, sizeof_size);
+ }
+ return (int)mh$.invokeExact(plist_id, sizeof_addr, sizeof_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_sym_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_sym_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_sym_k$descriptor() { return H5Pget_sym_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static MethodHandle H5Pget_sym_k$handle() { return H5Pget_sym_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static MemorySegment H5Pget_sym_k$address() { return H5Pget_sym_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static int H5Pget_sym_k(long plist_id, MemorySegment ik, MemorySegment lk)
+ {
+ var mh$ = H5Pget_sym_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_sym_k", plist_id, ik, lk);
+ }
+ return (int)mh$.invokeExact(plist_id, ik, lk);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_userblock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_userblock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_userblock$descriptor() { return H5Pget_userblock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_userblock$handle() { return H5Pget_userblock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_userblock$address() { return H5Pget_userblock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static int H5Pget_userblock(long plist_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_userblock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_userblock", plist_id, size);
+ }
+ return (int)mh$.invokeExact(plist_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_space_page_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_space_page_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_space_page_size$descriptor()
+ {
+ return H5Pset_file_space_page_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static MethodHandle H5Pset_file_space_page_size$handle()
+ {
+ return H5Pset_file_space_page_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static MemorySegment H5Pset_file_space_page_size$address()
+ {
+ return H5Pset_file_space_page_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static int H5Pset_file_space_page_size(long plist_id, long fsp_size)
+ {
+ var mh$ = H5Pset_file_space_page_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_space_page_size", plist_id, fsp_size);
+ }
+ return (int)mh$.invokeExact(plist_id, fsp_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_space_strategy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_BOOL, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_space_strategy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_space_strategy$descriptor()
+ {
+ return H5Pset_file_space_strategy.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static MethodHandle H5Pset_file_space_strategy$handle()
+ {
+ return H5Pset_file_space_strategy.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static MemorySegment H5Pset_file_space_strategy$address()
+ {
+ return H5Pset_file_space_strategy.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static int H5Pset_file_space_strategy(long plist_id, int strategy, boolean persist, long threshold)
+ {
+ var mh$ = H5Pset_file_space_strategy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_space_strategy", plist_id, strategy, persist, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, persist, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_istore_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_istore_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_istore_k$descriptor() { return H5Pset_istore_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static MethodHandle H5Pset_istore_k$handle() { return H5Pset_istore_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static MemorySegment H5Pset_istore_k$address() { return H5Pset_istore_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static int H5Pset_istore_k(long plist_id, int ik)
+ {
+ var mh$ = H5Pset_istore_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_istore_k", plist_id, ik);
+ }
+ return (int)mh$.invokeExact(plist_id, ik);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shared_mesg_index {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shared_mesg_index");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shared_mesg_index$descriptor()
+ {
+ return H5Pset_shared_mesg_index.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static MethodHandle H5Pset_shared_mesg_index$handle() { return H5Pset_shared_mesg_index.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static MemorySegment H5Pset_shared_mesg_index$address() { return H5Pset_shared_mesg_index.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static int H5Pset_shared_mesg_index(long plist_id, int index_num, int mesg_type_flags,
+ int min_mesg_size)
+ {
+ var mh$ = H5Pset_shared_mesg_index.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shared_mesg_index", plist_id, index_num, mesg_type_flags,
+ min_mesg_size);
+ }
+ return (int)mh$.invokeExact(plist_id, index_num, mesg_type_flags, min_mesg_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shared_mesg_nindexes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shared_mesg_nindexes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shared_mesg_nindexes$descriptor()
+ {
+ return H5Pset_shared_mesg_nindexes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static MethodHandle H5Pset_shared_mesg_nindexes$handle()
+ {
+ return H5Pset_shared_mesg_nindexes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static MemorySegment H5Pset_shared_mesg_nindexes$address()
+ {
+ return H5Pset_shared_mesg_nindexes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static int H5Pset_shared_mesg_nindexes(long plist_id, int nindexes)
+ {
+ var mh$ = H5Pset_shared_mesg_nindexes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shared_mesg_nindexes", plist_id, nindexes);
+ }
+ return (int)mh$.invokeExact(plist_id, nindexes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shared_mesg_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shared_mesg_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shared_mesg_phase_change$descriptor()
+ {
+ return H5Pset_shared_mesg_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static MethodHandle H5Pset_shared_mesg_phase_change$handle()
+ {
+ return H5Pset_shared_mesg_phase_change.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static MemorySegment H5Pset_shared_mesg_phase_change$address()
+ {
+ return H5Pset_shared_mesg_phase_change.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static int H5Pset_shared_mesg_phase_change(long plist_id, int max_list, int min_btree)
+ {
+ var mh$ = H5Pset_shared_mesg_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shared_mesg_phase_change", plist_id, max_list, min_btree);
+ }
+ return (int)mh$.invokeExact(plist_id, max_list, min_btree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_sizes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_sizes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_sizes$descriptor() { return H5Pset_sizes.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static MethodHandle H5Pset_sizes$handle() { return H5Pset_sizes.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static MemorySegment H5Pset_sizes$address() { return H5Pset_sizes.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static int H5Pset_sizes(long plist_id, long sizeof_addr, long sizeof_size)
+ {
+ var mh$ = H5Pset_sizes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_sizes", plist_id, sizeof_addr, sizeof_size);
+ }
+ return (int)mh$.invokeExact(plist_id, sizeof_addr, sizeof_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_sym_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_sym_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_sym_k$descriptor() { return H5Pset_sym_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static MethodHandle H5Pset_sym_k$handle() { return H5Pset_sym_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static MemorySegment H5Pset_sym_k$address() { return H5Pset_sym_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static int H5Pset_sym_k(long plist_id, int ik, int lk)
+ {
+ var mh$ = H5Pset_sym_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_sym_k", plist_id, ik, lk);
+ }
+ return (int)mh$.invokeExact(plist_id, ik, lk);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_userblock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_userblock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_userblock$descriptor() { return H5Pset_userblock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_userblock$handle() { return H5Pset_userblock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_userblock$address() { return H5Pset_userblock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static int H5Pset_userblock(long plist_id, long size)
+ {
+ var mh$ = H5Pset_userblock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_userblock", plist_id, size);
+ }
+ return (int)mh$.invokeExact(plist_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_alignment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_alignment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_alignment$descriptor() { return H5Pget_alignment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static MethodHandle H5Pget_alignment$handle() { return H5Pget_alignment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static MemorySegment H5Pget_alignment$address() { return H5Pget_alignment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static int H5Pget_alignment(long fapl_id, MemorySegment threshold, MemorySegment alignment)
+ {
+ var mh$ = H5Pget_alignment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_alignment", fapl_id, threshold, alignment);
+ }
+ return (int)mh$.invokeExact(fapl_id, threshold, alignment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_cache {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_cache$descriptor() { return H5Pget_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pget_cache$handle() { return H5Pget_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pget_cache$address() { return H5Pget_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static int H5Pget_cache(long plist_id, MemorySegment mdc_nelmts, MemorySegment rdcc_nslots,
+ MemorySegment rdcc_nbytes, MemorySegment rdcc_w0)
+ {
+ var mh$ = H5Pget_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_cache", plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_core_write_tracking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_core_write_tracking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_core_write_tracking$descriptor()
+ {
+ return H5Pget_core_write_tracking.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static MethodHandle H5Pget_core_write_tracking$handle()
+ {
+ return H5Pget_core_write_tracking.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static MemorySegment H5Pget_core_write_tracking$address()
+ {
+ return H5Pget_core_write_tracking.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static int H5Pget_core_write_tracking(long fapl_id, MemorySegment is_enabled,
+ MemorySegment page_size)
+ {
+ var mh$ = H5Pget_core_write_tracking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_core_write_tracking", fapl_id, is_enabled, page_size);
+ }
+ return (int)mh$.invokeExact(fapl_id, is_enabled, page_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_driver {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_driver");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_driver$descriptor() { return H5Pget_driver.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_driver$handle() { return H5Pget_driver.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_driver$address() { return H5Pget_driver.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static long H5Pget_driver(long plist_id)
+ {
+ var mh$ = H5Pget_driver.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_driver", plist_id);
+ }
+ return (long)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_driver_info {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_driver_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_driver_info$descriptor() { return H5Pget_driver_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_driver_info$handle() { return H5Pget_driver_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_driver_info$address() { return H5Pget_driver_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_driver_info(long plist_id)
+ {
+ var mh$ = H5Pget_driver_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_driver_info", plist_id);
+ }
+ return (MemorySegment)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_driver_config_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_driver_config_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_driver_config_str$descriptor()
+ {
+ return H5Pget_driver_config_str.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5Pget_driver_config_str$handle() { return H5Pget_driver_config_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5Pget_driver_config_str$address() { return H5Pget_driver_config_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static long H5Pget_driver_config_str(long fapl_id, MemorySegment config_buf, long buf_size)
+ {
+ var mh$ = H5Pget_driver_config_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_driver_config_str", fapl_id, config_buf, buf_size);
+ }
+ return (long)mh$.invokeExact(fapl_id, config_buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_file_cache_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_file_cache_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_file_cache_size$descriptor()
+ {
+ return H5Pget_elink_file_cache_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_file_cache_size$handle()
+ {
+ return H5Pget_elink_file_cache_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_file_cache_size$address()
+ {
+ return H5Pget_elink_file_cache_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static int H5Pget_elink_file_cache_size(long plist_id, MemorySegment efc_size)
+ {
+ var mh$ = H5Pget_elink_file_cache_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_file_cache_size", plist_id, efc_size);
+ }
+ return (int)mh$.invokeExact(plist_id, efc_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_evict_on_close {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_evict_on_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_evict_on_close$descriptor() { return H5Pget_evict_on_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static MethodHandle H5Pget_evict_on_close$handle() { return H5Pget_evict_on_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static MemorySegment H5Pget_evict_on_close$address() { return H5Pget_evict_on_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static int H5Pget_evict_on_close(long fapl_id, MemorySegment evict_on_close)
+ {
+ var mh$ = H5Pget_evict_on_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_evict_on_close", fapl_id, evict_on_close);
+ }
+ return (int)mh$.invokeExact(fapl_id, evict_on_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_family_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_family_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_family_offset$descriptor() { return H5Pget_family_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static MethodHandle H5Pget_family_offset$handle() { return H5Pget_family_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static MemorySegment H5Pget_family_offset$address() { return H5Pget_family_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static int H5Pget_family_offset(long fapl_id, MemorySegment offset)
+ {
+ var mh$ = H5Pget_family_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_family_offset", fapl_id, offset);
+ }
+ return (int)mh$.invokeExact(fapl_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fclose_degree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fclose_degree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fclose_degree$descriptor() { return H5Pget_fclose_degree.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static MethodHandle H5Pget_fclose_degree$handle() { return H5Pget_fclose_degree.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static MemorySegment H5Pget_fclose_degree$address() { return H5Pget_fclose_degree.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static int H5Pget_fclose_degree(long fapl_id, MemorySegment degree)
+ {
+ var mh$ = H5Pget_fclose_degree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fclose_degree", fapl_id, degree);
+ }
+ return (int)mh$.invokeExact(fapl_id, degree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_image {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_image");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_image$descriptor() { return H5Pget_file_image.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_file_image$handle() { return H5Pget_file_image.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_file_image$address() { return H5Pget_file_image.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static int H5Pget_file_image(long fapl_id, MemorySegment buf_ptr_ptr, MemorySegment buf_len_ptr)
+ {
+ var mh$ = H5Pget_file_image.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_image", fapl_id, buf_ptr_ptr, buf_len_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, buf_ptr_ptr, buf_len_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_image_callbacks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_image_callbacks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_image_callbacks$descriptor()
+ {
+ return H5Pget_file_image_callbacks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_file_image_callbacks$handle()
+ {
+ return H5Pget_file_image_callbacks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_file_image_callbacks$address()
+ {
+ return H5Pget_file_image_callbacks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static int H5Pget_file_image_callbacks(long fapl_id, MemorySegment callbacks_ptr)
+ {
+ var mh$ = H5Pget_file_image_callbacks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_image_callbacks", fapl_id, callbacks_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, callbacks_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_locking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_locking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_locking$descriptor() { return H5Pget_file_locking.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static MethodHandle H5Pget_file_locking$handle() { return H5Pget_file_locking.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static MemorySegment H5Pget_file_locking$address() { return H5Pget_file_locking.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static int H5Pget_file_locking(long fapl_id, MemorySegment use_file_locking,
+ MemorySegment ignore_when_disabled)
+ {
+ var mh$ = H5Pget_file_locking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_locking", fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ return (int)mh$.invokeExact(fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_gc_references {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_gc_references");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_gc_references$descriptor() { return H5Pget_gc_references.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static MethodHandle H5Pget_gc_references$handle() { return H5Pget_gc_references.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static MemorySegment H5Pget_gc_references$address() { return H5Pget_gc_references.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static int H5Pget_gc_references(long fapl_id, MemorySegment gc_ref)
+ {
+ var mh$ = H5Pget_gc_references.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_gc_references", fapl_id, gc_ref);
+ }
+ return (int)mh$.invokeExact(fapl_id, gc_ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_libver_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_libver_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_libver_bounds$descriptor() { return H5Pget_libver_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static MethodHandle H5Pget_libver_bounds$handle() { return H5Pget_libver_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static MemorySegment H5Pget_libver_bounds$address() { return H5Pget_libver_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static int H5Pget_libver_bounds(long plist_id, MemorySegment low, MemorySegment high)
+ {
+ var mh$ = H5Pget_libver_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_libver_bounds", plist_id, low, high);
+ }
+ return (int)mh$.invokeExact(plist_id, low, high);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mdc_config$descriptor() { return H5Pget_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_mdc_config$handle() { return H5Pget_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_mdc_config$address() { return H5Pget_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pget_mdc_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pget_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mdc_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mdc_image_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mdc_image_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mdc_image_config$descriptor()
+ {
+ return H5Pget_mdc_image_config.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_mdc_image_config$handle() { return H5Pget_mdc_image_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_mdc_image_config$address() { return H5Pget_mdc_image_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pget_mdc_image_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pget_mdc_image_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mdc_image_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mdc_log_options {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mdc_log_options");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mdc_log_options$descriptor()
+ {
+ return H5Pget_mdc_log_options.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static MethodHandle H5Pget_mdc_log_options$handle() { return H5Pget_mdc_log_options.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static MemorySegment H5Pget_mdc_log_options$address() { return H5Pget_mdc_log_options.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static int H5Pget_mdc_log_options(long plist_id, MemorySegment is_enabled, MemorySegment location,
+ MemorySegment location_size, MemorySegment start_on_access)
+ {
+ var mh$ = H5Pget_mdc_log_options.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mdc_log_options", plist_id, is_enabled, location, location_size,
+ start_on_access);
+ }
+ return (int)mh$.invokeExact(plist_id, is_enabled, location, location_size, start_on_access);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_meta_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_meta_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_meta_block_size$descriptor()
+ {
+ return H5Pget_meta_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_meta_block_size$handle() { return H5Pget_meta_block_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_meta_block_size$address() { return H5Pget_meta_block_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static int H5Pget_meta_block_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_meta_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_meta_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_metadata_read_attempts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_metadata_read_attempts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_metadata_read_attempts$descriptor()
+ {
+ return H5Pget_metadata_read_attempts.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static MethodHandle H5Pget_metadata_read_attempts$handle()
+ {
+ return H5Pget_metadata_read_attempts.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static MemorySegment H5Pget_metadata_read_attempts$address()
+ {
+ return H5Pget_metadata_read_attempts.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static int H5Pget_metadata_read_attempts(long plist_id, MemorySegment attempts)
+ {
+ var mh$ = H5Pget_metadata_read_attempts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_metadata_read_attempts", plist_id, attempts);
+ }
+ return (int)mh$.invokeExact(plist_id, attempts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_multi_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_multi_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_multi_type$descriptor() { return H5Pget_multi_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static MethodHandle H5Pget_multi_type$handle() { return H5Pget_multi_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static MemorySegment H5Pget_multi_type$address() { return H5Pget_multi_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static int H5Pget_multi_type(long fapl_id, MemorySegment type)
+ {
+ var mh$ = H5Pget_multi_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_multi_type", fapl_id, type);
+ }
+ return (int)mh$.invokeExact(fapl_id, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_object_flush_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_object_flush_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_object_flush_cb$descriptor()
+ {
+ return H5Pget_object_flush_cb.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static MethodHandle H5Pget_object_flush_cb$handle() { return H5Pget_object_flush_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static MemorySegment H5Pget_object_flush_cb$address() { return H5Pget_object_flush_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static int H5Pget_object_flush_cb(long plist_id, MemorySegment func, MemorySegment udata)
+ {
+ var mh$ = H5Pget_object_flush_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_object_flush_cb", plist_id, func, udata);
+ }
+ return (int)mh$.invokeExact(plist_id, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_page_buffer_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_page_buffer_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_page_buffer_size$descriptor()
+ {
+ return H5Pget_page_buffer_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static MethodHandle H5Pget_page_buffer_size$handle() { return H5Pget_page_buffer_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static MemorySegment H5Pget_page_buffer_size$address() { return H5Pget_page_buffer_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static int H5Pget_page_buffer_size(long plist_id, MemorySegment buf_size,
+ MemorySegment min_meta_perc, MemorySegment min_raw_perc)
+ {
+ var mh$ = H5Pget_page_buffer_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_page_buffer_size", plist_id, buf_size, min_meta_perc, min_raw_perc);
+ }
+ return (int)mh$.invokeExact(plist_id, buf_size, min_meta_perc, min_raw_perc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_sieve_buf_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_sieve_buf_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_sieve_buf_size$descriptor() { return H5Pget_sieve_buf_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_sieve_buf_size$handle() { return H5Pget_sieve_buf_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_sieve_buf_size$address() { return H5Pget_sieve_buf_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static int H5Pget_sieve_buf_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_sieve_buf_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_sieve_buf_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_small_data_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_small_data_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_small_data_block_size$descriptor()
+ {
+ return H5Pget_small_data_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_small_data_block_size$handle()
+ {
+ return H5Pget_small_data_block_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_small_data_block_size$address()
+ {
+ return H5Pget_small_data_block_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static int H5Pget_small_data_block_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_small_data_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_small_data_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vol_id {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vol_id");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vol_id$descriptor() { return H5Pget_vol_id.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static MethodHandle H5Pget_vol_id$handle() { return H5Pget_vol_id.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static MemorySegment H5Pget_vol_id$address() { return H5Pget_vol_id.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static int H5Pget_vol_id(long plist_id, MemorySegment vol_id)
+ {
+ var mh$ = H5Pget_vol_id.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vol_id", plist_id, vol_id);
+ }
+ return (int)mh$.invokeExact(plist_id, vol_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vol_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vol_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vol_info$descriptor() { return H5Pget_vol_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static MethodHandle H5Pget_vol_info$handle() { return H5Pget_vol_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static MemorySegment H5Pget_vol_info$address() { return H5Pget_vol_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static int H5Pget_vol_info(long plist_id, MemorySegment vol_info)
+ {
+ var mh$ = H5Pget_vol_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vol_info", plist_id, vol_info);
+ }
+ return (int)mh$.invokeExact(plist_id, vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_alignment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_alignment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_alignment$descriptor() { return H5Pset_alignment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static MethodHandle H5Pset_alignment$handle() { return H5Pset_alignment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static MemorySegment H5Pset_alignment$address() { return H5Pset_alignment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static int H5Pset_alignment(long fapl_id, long threshold, long alignment)
+ {
+ var mh$ = H5Pset_alignment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_alignment", fapl_id, threshold, alignment);
+ }
+ return (int)mh$.invokeExact(fapl_id, threshold, alignment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_DOUBLE);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_cache$descriptor() { return H5Pset_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pset_cache$handle() { return H5Pset_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pset_cache$address() { return H5Pset_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static int H5Pset_cache(long plist_id, int mdc_nelmts, long rdcc_nslots, long rdcc_nbytes,
+ double rdcc_w0)
+ {
+ var mh$ = H5Pset_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_cache", plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_core_write_tracking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_core_write_tracking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_core_write_tracking$descriptor()
+ {
+ return H5Pset_core_write_tracking.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static MethodHandle H5Pset_core_write_tracking$handle()
+ {
+ return H5Pset_core_write_tracking.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static MemorySegment H5Pset_core_write_tracking$address()
+ {
+ return H5Pset_core_write_tracking.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static int H5Pset_core_write_tracking(long fapl_id, boolean is_enabled, long page_size)
+ {
+ var mh$ = H5Pset_core_write_tracking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_core_write_tracking", fapl_id, is_enabled, page_size);
+ }
+ return (int)mh$.invokeExact(fapl_id, is_enabled, page_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_driver {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_driver");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_driver$descriptor() { return H5Pset_driver.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static MethodHandle H5Pset_driver$handle() { return H5Pset_driver.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static MemorySegment H5Pset_driver$address() { return H5Pset_driver.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static int H5Pset_driver(long plist_id, long driver_id, MemorySegment driver_info)
+ {
+ var mh$ = H5Pset_driver.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_driver", plist_id, driver_id, driver_info);
+ }
+ return (int)mh$.invokeExact(plist_id, driver_id, driver_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_driver_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_driver_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_driver_by_name$descriptor() { return H5Pset_driver_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static MethodHandle H5Pset_driver_by_name$handle() { return H5Pset_driver_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static MemorySegment H5Pset_driver_by_name$address() { return H5Pset_driver_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static int H5Pset_driver_by_name(long plist_id, MemorySegment driver_name,
+ MemorySegment driver_config)
+ {
+ var mh$ = H5Pset_driver_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_driver_by_name", plist_id, driver_name, driver_config);
+ }
+ return (int)mh$.invokeExact(plist_id, driver_name, driver_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_driver_by_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_driver_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_driver_by_value$descriptor()
+ {
+ return H5Pset_driver_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static MethodHandle H5Pset_driver_by_value$handle() { return H5Pset_driver_by_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static MemorySegment H5Pset_driver_by_value$address() { return H5Pset_driver_by_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static int H5Pset_driver_by_value(long plist_id, int driver_value, MemorySegment driver_config)
+ {
+ var mh$ = H5Pset_driver_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_driver_by_value", plist_id, driver_value, driver_config);
+ }
+ return (int)mh$.invokeExact(plist_id, driver_value, driver_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_file_cache_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_file_cache_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_file_cache_size$descriptor()
+ {
+ return H5Pset_elink_file_cache_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_file_cache_size$handle()
+ {
+ return H5Pset_elink_file_cache_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_file_cache_size$address()
+ {
+ return H5Pset_elink_file_cache_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static int H5Pset_elink_file_cache_size(long plist_id, int efc_size)
+ {
+ var mh$ = H5Pset_elink_file_cache_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_file_cache_size", plist_id, efc_size);
+ }
+ return (int)mh$.invokeExact(plist_id, efc_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_evict_on_close {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_evict_on_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_evict_on_close$descriptor() { return H5Pset_evict_on_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static MethodHandle H5Pset_evict_on_close$handle() { return H5Pset_evict_on_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static MemorySegment H5Pset_evict_on_close$address() { return H5Pset_evict_on_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static int H5Pset_evict_on_close(long fapl_id, boolean evict_on_close)
+ {
+ var mh$ = H5Pset_evict_on_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_evict_on_close", fapl_id, evict_on_close);
+ }
+ return (int)mh$.invokeExact(fapl_id, evict_on_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_family_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_family_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_family_offset$descriptor() { return H5Pset_family_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static MethodHandle H5Pset_family_offset$handle() { return H5Pset_family_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static MemorySegment H5Pset_family_offset$address() { return H5Pset_family_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static int H5Pset_family_offset(long fapl_id, long offset)
+ {
+ var mh$ = H5Pset_family_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_family_offset", fapl_id, offset);
+ }
+ return (int)mh$.invokeExact(fapl_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fclose_degree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fclose_degree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fclose_degree$descriptor() { return H5Pset_fclose_degree.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static MethodHandle H5Pset_fclose_degree$handle() { return H5Pset_fclose_degree.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static MemorySegment H5Pset_fclose_degree$address() { return H5Pset_fclose_degree.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static int H5Pset_fclose_degree(long fapl_id, int degree)
+ {
+ var mh$ = H5Pset_fclose_degree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fclose_degree", fapl_id, degree);
+ }
+ return (int)mh$.invokeExact(fapl_id, degree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_image {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_image");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_image$descriptor() { return H5Pset_file_image.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MethodHandle H5Pset_file_image$handle() { return H5Pset_file_image.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MemorySegment H5Pset_file_image$address() { return H5Pset_file_image.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static int H5Pset_file_image(long fapl_id, MemorySegment buf_ptr, long buf_len)
+ {
+ var mh$ = H5Pset_file_image.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_image", fapl_id, buf_ptr, buf_len);
+ }
+ return (int)mh$.invokeExact(fapl_id, buf_ptr, buf_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_image_callbacks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_image_callbacks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_image_callbacks$descriptor()
+ {
+ return H5Pset_file_image_callbacks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_file_image_callbacks$handle()
+ {
+ return H5Pset_file_image_callbacks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_file_image_callbacks$address()
+ {
+ return H5Pset_file_image_callbacks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static int H5Pset_file_image_callbacks(long fapl_id, MemorySegment callbacks_ptr)
+ {
+ var mh$ = H5Pset_file_image_callbacks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_image_callbacks", fapl_id, callbacks_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, callbacks_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_locking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_locking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_locking$descriptor() { return H5Pset_file_locking.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static MethodHandle H5Pset_file_locking$handle() { return H5Pset_file_locking.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static MemorySegment H5Pset_file_locking$address() { return H5Pset_file_locking.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static int H5Pset_file_locking(long fapl_id, boolean use_file_locking,
+ boolean ignore_when_disabled)
+ {
+ var mh$ = H5Pset_file_locking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_locking", fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ return (int)mh$.invokeExact(fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_gc_references {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_gc_references");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_gc_references$descriptor() { return H5Pset_gc_references.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static MethodHandle H5Pset_gc_references$handle() { return H5Pset_gc_references.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static MemorySegment H5Pset_gc_references$address() { return H5Pset_gc_references.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static int H5Pset_gc_references(long fapl_id, int gc_ref)
+ {
+ var mh$ = H5Pset_gc_references.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_gc_references", fapl_id, gc_ref);
+ }
+ return (int)mh$.invokeExact(fapl_id, gc_ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_libver_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_libver_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_libver_bounds$descriptor() { return H5Pset_libver_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MethodHandle H5Pset_libver_bounds$handle() { return H5Pset_libver_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MemorySegment H5Pset_libver_bounds$address() { return H5Pset_libver_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static int H5Pset_libver_bounds(long plist_id, int low, int high)
+ {
+ var mh$ = H5Pset_libver_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_libver_bounds", plist_id, low, high);
+ }
+ return (int)mh$.invokeExact(plist_id, low, high);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mdc_config$descriptor() { return H5Pset_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_mdc_config$handle() { return H5Pset_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_mdc_config$address() { return H5Pset_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pset_mdc_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pset_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mdc_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mdc_log_options {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL, hdf5_h.C_POINTER, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mdc_log_options");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mdc_log_options$descriptor()
+ {
+ return H5Pset_mdc_log_options.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static MethodHandle H5Pset_mdc_log_options$handle() { return H5Pset_mdc_log_options.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static MemorySegment H5Pset_mdc_log_options$address() { return H5Pset_mdc_log_options.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static int H5Pset_mdc_log_options(long plist_id, boolean is_enabled, MemorySegment location,
+ boolean start_on_access)
+ {
+ var mh$ = H5Pset_mdc_log_options.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mdc_log_options", plist_id, is_enabled, location, start_on_access);
+ }
+ return (int)mh$.invokeExact(plist_id, is_enabled, location, start_on_access);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_meta_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_meta_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_meta_block_size$descriptor()
+ {
+ return H5Pset_meta_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_meta_block_size$handle() { return H5Pset_meta_block_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_meta_block_size$address() { return H5Pset_meta_block_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static int H5Pset_meta_block_size(long fapl_id, long size)
+ {
+ var mh$ = H5Pset_meta_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_meta_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_metadata_read_attempts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_metadata_read_attempts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_metadata_read_attempts$descriptor()
+ {
+ return H5Pset_metadata_read_attempts.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static MethodHandle H5Pset_metadata_read_attempts$handle()
+ {
+ return H5Pset_metadata_read_attempts.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static MemorySegment H5Pset_metadata_read_attempts$address()
+ {
+ return H5Pset_metadata_read_attempts.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static int H5Pset_metadata_read_attempts(long plist_id, int attempts)
+ {
+ var mh$ = H5Pset_metadata_read_attempts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_metadata_read_attempts", plist_id, attempts);
+ }
+ return (int)mh$.invokeExact(plist_id, attempts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_multi_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_multi_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_multi_type$descriptor() { return H5Pset_multi_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static MethodHandle H5Pset_multi_type$handle() { return H5Pset_multi_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static MemorySegment H5Pset_multi_type$address() { return H5Pset_multi_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static int H5Pset_multi_type(long fapl_id, int type)
+ {
+ var mh$ = H5Pset_multi_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_multi_type", fapl_id, type);
+ }
+ return (int)mh$.invokeExact(fapl_id, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_object_flush_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_object_flush_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_object_flush_cb$descriptor()
+ {
+ return H5Pset_object_flush_cb.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static MethodHandle H5Pset_object_flush_cb$handle() { return H5Pset_object_flush_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static MemorySegment H5Pset_object_flush_cb$address() { return H5Pset_object_flush_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static int H5Pset_object_flush_cb(long plist_id, MemorySegment func, MemorySegment udata)
+ {
+ var mh$ = H5Pset_object_flush_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_object_flush_cb", plist_id, func, udata);
+ }
+ return (int)mh$.invokeExact(plist_id, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_sieve_buf_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_sieve_buf_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_sieve_buf_size$descriptor() { return H5Pset_sieve_buf_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_sieve_buf_size$handle() { return H5Pset_sieve_buf_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_sieve_buf_size$address() { return H5Pset_sieve_buf_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static int H5Pset_sieve_buf_size(long fapl_id, long size)
+ {
+ var mh$ = H5Pset_sieve_buf_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_sieve_buf_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_small_data_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_small_data_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_small_data_block_size$descriptor()
+ {
+ return H5Pset_small_data_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_small_data_block_size$handle()
+ {
+ return H5Pset_small_data_block_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_small_data_block_size$address()
+ {
+ return H5Pset_small_data_block_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static int H5Pset_small_data_block_size(long fapl_id, long size)
+ {
+ var mh$ = H5Pset_small_data_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_small_data_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_vol {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_vol");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_vol$descriptor() { return H5Pset_vol.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static MethodHandle H5Pset_vol$handle() { return H5Pset_vol.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static MemorySegment H5Pset_vol$address() { return H5Pset_vol.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static int H5Pset_vol(long plist_id, long new_vol_id, MemorySegment new_vol_info)
+ {
+ var mh$ = H5Pset_vol.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_vol", plist_id, new_vol_id, new_vol_info);
+ }
+ return (int)mh$.invokeExact(plist_id, new_vol_id, new_vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vol_cap_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vol_cap_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vol_cap_flags$descriptor() { return H5Pget_vol_cap_flags.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MethodHandle H5Pget_vol_cap_flags$handle() { return H5Pget_vol_cap_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MemorySegment H5Pget_vol_cap_flags$address() { return H5Pget_vol_cap_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static int H5Pget_vol_cap_flags(long plist_id, MemorySegment cap_flags)
+ {
+ var mh$ = H5Pget_vol_cap_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vol_cap_flags", plist_id, cap_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, cap_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mdc_image_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mdc_image_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mdc_image_config$descriptor()
+ {
+ return H5Pset_mdc_image_config.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_mdc_image_config$handle() { return H5Pset_mdc_image_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_mdc_image_config$address() { return H5Pset_mdc_image_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pset_mdc_image_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pset_mdc_image_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mdc_image_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_page_buffer_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_page_buffer_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_page_buffer_size$descriptor()
+ {
+ return H5Pset_page_buffer_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static MethodHandle H5Pset_page_buffer_size$handle() { return H5Pset_page_buffer_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static MemorySegment H5Pset_page_buffer_size$address() { return H5Pset_page_buffer_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static int H5Pset_page_buffer_size(long plist_id, long buf_size, int min_meta_per, int min_raw_per)
+ {
+ var mh$ = H5Pset_page_buffer_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_page_buffer_size", plist_id, buf_size, min_meta_per, min_raw_per);
+ }
+ return (int)mh$.invokeExact(plist_id, buf_size, min_meta_per, min_raw_per);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_relax_file_integrity_checks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_relax_file_integrity_checks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_relax_file_integrity_checks$descriptor()
+ {
+ return H5Pset_relax_file_integrity_checks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static MethodHandle H5Pset_relax_file_integrity_checks$handle()
+ {
+ return H5Pset_relax_file_integrity_checks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static MemorySegment H5Pset_relax_file_integrity_checks$address()
+ {
+ return H5Pset_relax_file_integrity_checks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static int H5Pset_relax_file_integrity_checks(long plist_id, long flags)
+ {
+ var mh$ = H5Pset_relax_file_integrity_checks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_relax_file_integrity_checks", plist_id, flags);
+ }
+ return (int)mh$.invokeExact(plist_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_relax_file_integrity_checks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_relax_file_integrity_checks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_relax_file_integrity_checks$descriptor()
+ {
+ return H5Pget_relax_file_integrity_checks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static MethodHandle H5Pget_relax_file_integrity_checks$handle()
+ {
+ return H5Pget_relax_file_integrity_checks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static MemorySegment H5Pget_relax_file_integrity_checks$address()
+ {
+ return H5Pget_relax_file_integrity_checks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static int H5Pget_relax_file_integrity_checks(long plist_id, MemorySegment flags)
+ {
+ var mh$ = H5Pget_relax_file_integrity_checks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_relax_file_integrity_checks", plist_id, flags);
+ }
+ return (int)mh$.invokeExact(plist_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pfill_value_defined {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pfill_value_defined");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static FunctionDescriptor H5Pfill_value_defined$descriptor() { return H5Pfill_value_defined.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static MethodHandle H5Pfill_value_defined$handle() { return H5Pfill_value_defined.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static MemorySegment H5Pfill_value_defined$address() { return H5Pfill_value_defined.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static int H5Pfill_value_defined(long plist, MemorySegment status)
+ {
+ var mh$ = H5Pfill_value_defined.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pfill_value_defined", plist, status);
+ }
+ return (int)mh$.invokeExact(plist, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_alloc_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_alloc_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_alloc_time$descriptor() { return H5Pget_alloc_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static MethodHandle H5Pget_alloc_time$handle() { return H5Pget_alloc_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static MemorySegment H5Pget_alloc_time$address() { return H5Pget_alloc_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static int H5Pget_alloc_time(long plist_id, MemorySegment alloc_time)
+ {
+ var mh$ = H5Pget_alloc_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_alloc_time", plist_id, alloc_time);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_chunk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_chunk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static FunctionDescriptor H5Pget_chunk$descriptor() { return H5Pget_chunk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static MethodHandle H5Pget_chunk$handle() { return H5Pget_chunk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static MemorySegment H5Pget_chunk$address() { return H5Pget_chunk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static int H5Pget_chunk(long plist_id, int max_ndims, MemorySegment dim)
+ {
+ var mh$ = H5Pget_chunk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_chunk", plist_id, max_ndims, dim);
+ }
+ return (int)mh$.invokeExact(plist_id, max_ndims, dim);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_chunk_opts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_chunk_opts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_chunk_opts$descriptor() { return H5Pget_chunk_opts.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static MethodHandle H5Pget_chunk_opts$handle() { return H5Pget_chunk_opts.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static MemorySegment H5Pget_chunk_opts$address() { return H5Pget_chunk_opts.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static int H5Pget_chunk_opts(long plist_id, MemorySegment opts)
+ {
+ var mh$ = H5Pget_chunk_opts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_chunk_opts", plist_id, opts);
+ }
+ return (int)mh$.invokeExact(plist_id, opts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_dset_no_attrs_hint$descriptor()
+ {
+ return H5Pget_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static MethodHandle H5Pget_dset_no_attrs_hint$handle() { return H5Pget_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static MemorySegment H5Pget_dset_no_attrs_hint$address() { return H5Pget_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static int H5Pget_dset_no_attrs_hint(long dcpl_id, MemorySegment minimize)
+ {
+ var mh$ = H5Pget_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_dset_no_attrs_hint", dcpl_id, minimize);
+ }
+ return (int)mh$.invokeExact(dcpl_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_spatial_tree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_spatial_tree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_spatial_tree$descriptor()
+ {
+ return H5Pget_virtual_spatial_tree.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_spatial_tree$handle()
+ {
+ return H5Pget_virtual_spatial_tree.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_spatial_tree$address()
+ {
+ return H5Pget_virtual_spatial_tree.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static int H5Pget_virtual_spatial_tree(long dcpl_id, MemorySegment use_tree)
+ {
+ var mh$ = H5Pget_virtual_spatial_tree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_spatial_tree", dcpl_id, use_tree);
+ }
+ return (int)mh$.invokeExact(dcpl_id, use_tree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_external {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_external");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_external$descriptor() { return H5Pget_external.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_external$handle() { return H5Pget_external.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_external$address() { return H5Pget_external.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static int H5Pget_external(long plist_id, int idx, long name_size, MemorySegment name,
+ MemorySegment offset, MemorySegment size)
+ {
+ var mh$ = H5Pget_external.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_external", plist_id, idx, name_size, name, offset, size);
+ }
+ return (int)mh$.invokeExact(plist_id, idx, name_size, name, offset, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_external_count {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_external_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_external_count$descriptor() { return H5Pget_external_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_external_count$handle() { return H5Pget_external_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_external_count$address() { return H5Pget_external_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_external_count(long plist_id)
+ {
+ var mh$ = H5Pget_external_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_external_count", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fill_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fill_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fill_time$descriptor() { return H5Pget_fill_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static MethodHandle H5Pget_fill_time$handle() { return H5Pget_fill_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static MemorySegment H5Pget_fill_time$address() { return H5Pget_fill_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static int H5Pget_fill_time(long plist_id, MemorySegment fill_time)
+ {
+ var mh$ = H5Pget_fill_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fill_time", plist_id, fill_time);
+ }
+ return (int)mh$.invokeExact(plist_id, fill_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fill_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fill_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fill_value$descriptor() { return H5Pget_fill_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static MethodHandle H5Pget_fill_value$handle() { return H5Pget_fill_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static MemorySegment H5Pget_fill_value$address() { return H5Pget_fill_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static int H5Pget_fill_value(long plist_id, long type_id, MemorySegment value)
+ {
+ var mh$ = H5Pget_fill_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fill_value", plist_id, type_id, value);
+ }
+ return (int)mh$.invokeExact(plist_id, type_id, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_layout {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_layout");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_layout$descriptor() { return H5Pget_layout.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_layout$handle() { return H5Pget_layout.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_layout$address() { return H5Pget_layout.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_layout(long plist_id)
+ {
+ var mh$ = H5Pget_layout.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_layout", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_count$descriptor() { return H5Pget_virtual_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_count$handle() { return H5Pget_virtual_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_count$address() { return H5Pget_virtual_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static int H5Pget_virtual_count(long dcpl_id, MemorySegment count)
+ {
+ var mh$ = H5Pget_virtual_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_count", dcpl_id, count);
+ }
+ return (int)mh$.invokeExact(dcpl_id, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_dsetname {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_dsetname");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_dsetname$descriptor()
+ {
+ return H5Pget_virtual_dsetname.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_dsetname$handle() { return H5Pget_virtual_dsetname.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_dsetname$address() { return H5Pget_virtual_dsetname.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static long H5Pget_virtual_dsetname(long dcpl_id, long index, MemorySegment name, long size)
+ {
+ var mh$ = H5Pget_virtual_dsetname.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_dsetname", dcpl_id, index, name, size);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_filename {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_filename");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_filename$descriptor()
+ {
+ return H5Pget_virtual_filename.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_filename$handle() { return H5Pget_virtual_filename.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_filename$address() { return H5Pget_virtual_filename.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static long H5Pget_virtual_filename(long dcpl_id, long index, MemorySegment name, long size)
+ {
+ var mh$ = H5Pget_virtual_filename.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_filename", dcpl_id, index, name, size);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_srcspace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_srcspace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_srcspace$descriptor()
+ {
+ return H5Pget_virtual_srcspace.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_srcspace$handle() { return H5Pget_virtual_srcspace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_srcspace$address() { return H5Pget_virtual_srcspace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static long H5Pget_virtual_srcspace(long dcpl_id, long index)
+ {
+ var mh$ = H5Pget_virtual_srcspace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_srcspace", dcpl_id, index);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_vspace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_vspace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_vspace$descriptor() { return H5Pget_virtual_vspace.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_vspace$handle() { return H5Pget_virtual_vspace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_vspace$address() { return H5Pget_virtual_vspace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static long H5Pget_virtual_vspace(long dcpl_id, long index)
+ {
+ var mh$ = H5Pget_virtual_vspace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_vspace", dcpl_id, index);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_alloc_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_alloc_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_alloc_time$descriptor() { return H5Pset_alloc_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static MethodHandle H5Pset_alloc_time$handle() { return H5Pset_alloc_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static MemorySegment H5Pset_alloc_time$address() { return H5Pset_alloc_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static int H5Pset_alloc_time(long plist_id, int alloc_time)
+ {
+ var mh$ = H5Pset_alloc_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_alloc_time", plist_id, alloc_time);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_chunk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_chunk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static FunctionDescriptor H5Pset_chunk$descriptor() { return H5Pset_chunk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MethodHandle H5Pset_chunk$handle() { return H5Pset_chunk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MemorySegment H5Pset_chunk$address() { return H5Pset_chunk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static int H5Pset_chunk(long plist_id, int ndims, MemorySegment dim)
+ {
+ var mh$ = H5Pset_chunk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_chunk", plist_id, ndims, dim);
+ }
+ return (int)mh$.invokeExact(plist_id, ndims, dim);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_chunk_opts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_chunk_opts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_chunk_opts$descriptor() { return H5Pset_chunk_opts.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static MethodHandle H5Pset_chunk_opts$handle() { return H5Pset_chunk_opts.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static MemorySegment H5Pset_chunk_opts$address() { return H5Pset_chunk_opts.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static int H5Pset_chunk_opts(long plist_id, int opts)
+ {
+ var mh$ = H5Pset_chunk_opts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_chunk_opts", plist_id, opts);
+ }
+ return (int)mh$.invokeExact(plist_id, opts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_dset_no_attrs_hint$descriptor()
+ {
+ return H5Pset_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static MethodHandle H5Pset_dset_no_attrs_hint$handle() { return H5Pset_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static MemorySegment H5Pset_dset_no_attrs_hint$address() { return H5Pset_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static int H5Pset_dset_no_attrs_hint(long dcpl_id, boolean minimize)
+ {
+ var mh$ = H5Pset_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_dset_no_attrs_hint", dcpl_id, minimize);
+ }
+ return (int)mh$.invokeExact(dcpl_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_spatial_tree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_spatial_tree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_spatial_tree$descriptor()
+ {
+ return H5Pset_virtual_spatial_tree.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_spatial_tree$handle()
+ {
+ return H5Pset_virtual_spatial_tree.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_spatial_tree$address()
+ {
+ return H5Pset_virtual_spatial_tree.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static int H5Pset_virtual_spatial_tree(long dcpl_id, boolean use_tree)
+ {
+ var mh$ = H5Pset_virtual_spatial_tree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_spatial_tree", dcpl_id, use_tree);
+ }
+ return (int)mh$.invokeExact(dcpl_id, use_tree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_external {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_external");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_external$descriptor() { return H5Pset_external.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_external$handle() { return H5Pset_external.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_external$address() { return H5Pset_external.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static int H5Pset_external(long plist_id, MemorySegment name, long offset, long size)
+ {
+ var mh$ = H5Pset_external.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_external", plist_id, name, offset, size);
+ }
+ return (int)mh$.invokeExact(plist_id, name, offset, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fill_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fill_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fill_time$descriptor() { return H5Pset_fill_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static MethodHandle H5Pset_fill_time$handle() { return H5Pset_fill_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static MemorySegment H5Pset_fill_time$address() { return H5Pset_fill_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static int H5Pset_fill_time(long plist_id, int fill_time)
+ {
+ var mh$ = H5Pset_fill_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fill_time", plist_id, fill_time);
+ }
+ return (int)mh$.invokeExact(plist_id, fill_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fill_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fill_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fill_value$descriptor() { return H5Pset_fill_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static MethodHandle H5Pset_fill_value$handle() { return H5Pset_fill_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static MemorySegment H5Pset_fill_value$address() { return H5Pset_fill_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static int H5Pset_fill_value(long plist_id, long type_id, MemorySegment value)
+ {
+ var mh$ = H5Pset_fill_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fill_value", plist_id, type_id, value);
+ }
+ return (int)mh$.invokeExact(plist_id, type_id, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shuffle {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shuffle");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shuffle$descriptor() { return H5Pset_shuffle.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_shuffle$handle() { return H5Pset_shuffle.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_shuffle$address() { return H5Pset_shuffle.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static int H5Pset_shuffle(long plist_id)
+ {
+ var mh$ = H5Pset_shuffle.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shuffle", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_layout {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_layout");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_layout$descriptor() { return H5Pset_layout.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static MethodHandle H5Pset_layout$handle() { return H5Pset_layout.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static MemorySegment H5Pset_layout$address() { return H5Pset_layout.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static int H5Pset_layout(long plist_id, int layout)
+ {
+ var mh$ = H5Pset_layout.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_layout", plist_id, layout);
+ }
+ return (int)mh$.invokeExact(plist_id, layout);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_nbit {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_nbit");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_nbit$descriptor() { return H5Pset_nbit.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_nbit$handle() { return H5Pset_nbit.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_nbit$address() { return H5Pset_nbit.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static int H5Pset_nbit(long plist_id)
+ {
+ var mh$ = H5Pset_nbit.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_nbit", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_scaleoffset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_scaleoffset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_scaleoffset$descriptor() { return H5Pset_scaleoffset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static MethodHandle H5Pset_scaleoffset$handle() { return H5Pset_scaleoffset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static MemorySegment H5Pset_scaleoffset$address() { return H5Pset_scaleoffset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static int H5Pset_scaleoffset(long plist_id, int scale_type, int scale_factor)
+ {
+ var mh$ = H5Pset_scaleoffset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_scaleoffset", plist_id, scale_type, scale_factor);
+ }
+ return (int)mh$.invokeExact(plist_id, scale_type, scale_factor);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_szip {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_szip");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_szip$descriptor() { return H5Pset_szip.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static MethodHandle H5Pset_szip$handle() { return H5Pset_szip.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static MemorySegment H5Pset_szip$address() { return H5Pset_szip.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static int H5Pset_szip(long plist_id, int options_mask, int pixels_per_block)
+ {
+ var mh$ = H5Pset_szip.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_szip", plist_id, options_mask, pixels_per_block);
+ }
+ return (int)mh$.invokeExact(plist_id, options_mask, pixels_per_block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual$descriptor() { return H5Pset_virtual.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual$handle() { return H5Pset_virtual.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual$address() { return H5Pset_virtual.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static int H5Pset_virtual(long dcpl_id, long vspace_id, MemorySegment src_file_name,
+ MemorySegment src_dset_name, long src_space_id)
+ {
+ var mh$ = H5Pset_virtual.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual", dcpl_id, vspace_id, src_file_name, src_dset_name,
+ src_space_id);
+ }
+ return (int)mh$.invokeExact(dcpl_id, vspace_id, src_file_name, src_dset_name, src_space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_append_flush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_append_flush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_append_flush$descriptor() { return H5Pget_append_flush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static MethodHandle H5Pget_append_flush$handle() { return H5Pget_append_flush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static MemorySegment H5Pget_append_flush$address() { return H5Pget_append_flush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static int H5Pget_append_flush(long dapl_id, int dims, MemorySegment boundary, MemorySegment func,
+ MemorySegment udata)
+ {
+ var mh$ = H5Pget_append_flush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_append_flush", dapl_id, dims, boundary, func, udata);
+ }
+ return (int)mh$.invokeExact(dapl_id, dims, boundary, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_chunk_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_chunk_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_chunk_cache$descriptor() { return H5Pget_chunk_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pget_chunk_cache$handle() { return H5Pget_chunk_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pget_chunk_cache$address() { return H5Pget_chunk_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static int H5Pget_chunk_cache(long dapl_id, MemorySegment rdcc_nslots, MemorySegment rdcc_nbytes,
+ MemorySegment rdcc_w0)
+ {
+ var mh$ = H5Pget_chunk_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_chunk_cache", dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_efile_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_efile_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_efile_prefix$descriptor() { return H5Pget_efile_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_efile_prefix$handle() { return H5Pget_efile_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_efile_prefix$address() { return H5Pget_efile_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static long H5Pget_efile_prefix(long dapl_id, MemorySegment prefix, long size)
+ {
+ var mh$ = H5Pget_efile_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_efile_prefix", dapl_id, prefix, size);
+ }
+ return (long)mh$.invokeExact(dapl_id, prefix, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_prefix$descriptor() { return H5Pget_virtual_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_prefix$handle() { return H5Pget_virtual_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_prefix$address() { return H5Pget_virtual_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static long H5Pget_virtual_prefix(long dapl_id, MemorySegment prefix, long size)
+ {
+ var mh$ = H5Pget_virtual_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_prefix", dapl_id, prefix, size);
+ }
+ return (long)mh$.invokeExact(dapl_id, prefix, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_printf_gap {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_printf_gap");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_printf_gap$descriptor()
+ {
+ return H5Pget_virtual_printf_gap.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_printf_gap$handle() { return H5Pget_virtual_printf_gap.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_printf_gap$address() { return H5Pget_virtual_printf_gap.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static int H5Pget_virtual_printf_gap(long dapl_id, MemorySegment gap_size)
+ {
+ var mh$ = H5Pget_virtual_printf_gap.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_printf_gap", dapl_id, gap_size);
+ }
+ return (int)mh$.invokeExact(dapl_id, gap_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_view {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_view");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_view$descriptor() { return H5Pget_virtual_view.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_view$handle() { return H5Pget_virtual_view.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_view$address() { return H5Pget_virtual_view.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static int H5Pget_virtual_view(long dapl_id, MemorySegment view)
+ {
+ var mh$ = H5Pget_virtual_view.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_view", dapl_id, view);
+ }
+ return (int)mh$.invokeExact(dapl_id, view);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_append_flush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_append_flush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_append_flush$descriptor() { return H5Pset_append_flush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static MethodHandle H5Pset_append_flush$handle() { return H5Pset_append_flush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static MemorySegment H5Pset_append_flush$address() { return H5Pset_append_flush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static int H5Pset_append_flush(long dapl_id, int ndims, MemorySegment boundary, MemorySegment func,
+ MemorySegment udata)
+ {
+ var mh$ = H5Pset_append_flush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_append_flush", dapl_id, ndims, boundary, func, udata);
+ }
+ return (int)mh$.invokeExact(dapl_id, ndims, boundary, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_chunk_cache {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_DOUBLE);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_chunk_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_chunk_cache$descriptor() { return H5Pset_chunk_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pset_chunk_cache$handle() { return H5Pset_chunk_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pset_chunk_cache$address() { return H5Pset_chunk_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static int H5Pset_chunk_cache(long dapl_id, long rdcc_nslots, long rdcc_nbytes, double rdcc_w0)
+ {
+ var mh$ = H5Pset_chunk_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_chunk_cache", dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_efile_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_efile_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_efile_prefix$descriptor() { return H5Pset_efile_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MethodHandle H5Pset_efile_prefix$handle() { return H5Pset_efile_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MemorySegment H5Pset_efile_prefix$address() { return H5Pset_efile_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static int H5Pset_efile_prefix(long dapl_id, MemorySegment prefix)
+ {
+ var mh$ = H5Pset_efile_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_efile_prefix", dapl_id, prefix);
+ }
+ return (int)mh$.invokeExact(dapl_id, prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_prefix$descriptor() { return H5Pset_virtual_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_prefix$handle() { return H5Pset_virtual_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_prefix$address() { return H5Pset_virtual_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static int H5Pset_virtual_prefix(long dapl_id, MemorySegment prefix)
+ {
+ var mh$ = H5Pset_virtual_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_prefix", dapl_id, prefix);
+ }
+ return (int)mh$.invokeExact(dapl_id, prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_printf_gap {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_printf_gap");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_printf_gap$descriptor()
+ {
+ return H5Pset_virtual_printf_gap.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_printf_gap$handle() { return H5Pset_virtual_printf_gap.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_printf_gap$address() { return H5Pset_virtual_printf_gap.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static int H5Pset_virtual_printf_gap(long dapl_id, long gap_size)
+ {
+ var mh$ = H5Pset_virtual_printf_gap.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_printf_gap", dapl_id, gap_size);
+ }
+ return (int)mh$.invokeExact(dapl_id, gap_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_view {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_view");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_view$descriptor() { return H5Pset_virtual_view.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_view$handle() { return H5Pset_virtual_view.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_view$address() { return H5Pset_virtual_view.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static int H5Pset_virtual_view(long dapl_id, int view)
+ {
+ var mh$ = H5Pset_virtual_view.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_view", dapl_id, view);
+ }
+ return (int)mh$.invokeExact(dapl_id, view);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_btree_ratios {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_btree_ratios");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_btree_ratios$descriptor() { return H5Pget_btree_ratios.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static MethodHandle H5Pget_btree_ratios$handle() { return H5Pget_btree_ratios.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static MemorySegment H5Pget_btree_ratios$address() { return H5Pget_btree_ratios.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static int H5Pget_btree_ratios(long plist_id, MemorySegment left, MemorySegment middle,
+ MemorySegment right)
+ {
+ var mh$ = H5Pget_btree_ratios.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_btree_ratios", plist_id, left, middle, right);
+ }
+ return (int)mh$.invokeExact(plist_id, left, middle, right);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_buffer {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_buffer");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_buffer$descriptor() { return H5Pget_buffer.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static MethodHandle H5Pget_buffer$handle() { return H5Pget_buffer.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static MemorySegment H5Pget_buffer$address() { return H5Pget_buffer.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static long H5Pget_buffer(long plist_id, MemorySegment tconv, MemorySegment bkg)
+ {
+ var mh$ = H5Pget_buffer.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_buffer", plist_id, tconv, bkg);
+ }
+ return (long)mh$.invokeExact(plist_id, tconv, bkg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_data_transform {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_data_transform");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_data_transform$descriptor() { return H5Pget_data_transform.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_data_transform$handle() { return H5Pget_data_transform.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_data_transform$address() { return H5Pget_data_transform.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static long H5Pget_data_transform(long plist_id, MemorySegment expression, long size)
+ {
+ var mh$ = H5Pget_data_transform.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_data_transform", plist_id, expression, size);
+ }
+ return (long)mh$.invokeExact(plist_id, expression, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_edc_check {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_edc_check");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_edc_check$descriptor() { return H5Pget_edc_check.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_edc_check$handle() { return H5Pget_edc_check.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_edc_check$address() { return H5Pget_edc_check.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_edc_check(long plist_id)
+ {
+ var mh$ = H5Pget_edc_check.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_edc_check", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_hyper_vector_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_hyper_vector_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_hyper_vector_size$descriptor()
+ {
+ return H5Pget_hyper_vector_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_hyper_vector_size$handle() { return H5Pget_hyper_vector_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_hyper_vector_size$address() { return H5Pget_hyper_vector_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static int H5Pget_hyper_vector_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_hyper_vector_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_hyper_vector_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_preserve {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_preserve");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_preserve$descriptor() { return H5Pget_preserve.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_preserve$handle() { return H5Pget_preserve.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_preserve$address() { return H5Pget_preserve.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_preserve(long plist_id)
+ {
+ var mh$ = H5Pget_preserve.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_preserve", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_type_conv_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_type_conv_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_type_conv_cb$descriptor() { return H5Pget_type_conv_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static MethodHandle H5Pget_type_conv_cb$handle() { return H5Pget_type_conv_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static MemorySegment H5Pget_type_conv_cb$address() { return H5Pget_type_conv_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static int H5Pget_type_conv_cb(long dxpl_id, MemorySegment op, MemorySegment operate_data)
+ {
+ var mh$ = H5Pget_type_conv_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_type_conv_cb", dxpl_id, op, operate_data);
+ }
+ return (int)mh$.invokeExact(dxpl_id, op, operate_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vlen_mem_manager {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vlen_mem_manager");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vlen_mem_manager$descriptor()
+ {
+ return H5Pget_vlen_mem_manager.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static MethodHandle H5Pget_vlen_mem_manager$handle() { return H5Pget_vlen_mem_manager.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static MemorySegment H5Pget_vlen_mem_manager$address() { return H5Pget_vlen_mem_manager.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static int H5Pget_vlen_mem_manager(long plist_id, MemorySegment alloc_func,
+ MemorySegment alloc_info, MemorySegment free_func,
+ MemorySegment free_info)
+ {
+ var mh$ = H5Pget_vlen_mem_manager.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vlen_mem_manager", plist_id, alloc_func, alloc_info, free_func,
+ free_info);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_func, alloc_info, free_func, free_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_btree_ratios {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_DOUBLE, hdf5_h.C_DOUBLE, hdf5_h.C_DOUBLE);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_btree_ratios");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_btree_ratios$descriptor() { return H5Pset_btree_ratios.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static MethodHandle H5Pset_btree_ratios$handle() { return H5Pset_btree_ratios.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static MemorySegment H5Pset_btree_ratios$address() { return H5Pset_btree_ratios.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static int H5Pset_btree_ratios(long plist_id, double left, double middle, double right)
+ {
+ var mh$ = H5Pset_btree_ratios.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_btree_ratios", plist_id, left, middle, right);
+ }
+ return (int)mh$.invokeExact(plist_id, left, middle, right);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_buffer {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_buffer");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_buffer$descriptor() { return H5Pset_buffer.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static MethodHandle H5Pset_buffer$handle() { return H5Pset_buffer.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static MemorySegment H5Pset_buffer$address() { return H5Pset_buffer.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static int H5Pset_buffer(long plist_id, long size, MemorySegment tconv, MemorySegment bkg)
+ {
+ var mh$ = H5Pset_buffer.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_buffer", plist_id, size, tconv, bkg);
+ }
+ return (int)mh$.invokeExact(plist_id, size, tconv, bkg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_data_transform {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_data_transform");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_data_transform$descriptor() { return H5Pset_data_transform.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static MethodHandle H5Pset_data_transform$handle() { return H5Pset_data_transform.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static MemorySegment H5Pset_data_transform$address() { return H5Pset_data_transform.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static int H5Pset_data_transform(long plist_id, MemorySegment expression)
+ {
+ var mh$ = H5Pset_data_transform.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_data_transform", plist_id, expression);
+ }
+ return (int)mh$.invokeExact(plist_id, expression);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_edc_check {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_edc_check");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_edc_check$descriptor() { return H5Pset_edc_check.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static MethodHandle H5Pset_edc_check$handle() { return H5Pset_edc_check.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static MemorySegment H5Pset_edc_check$address() { return H5Pset_edc_check.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static int H5Pset_edc_check(long plist_id, int check)
+ {
+ var mh$ = H5Pset_edc_check.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_edc_check", plist_id, check);
+ }
+ return (int)mh$.invokeExact(plist_id, check);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_filter_callback {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_filter_callback");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_filter_callback$descriptor()
+ {
+ return H5Pset_filter_callback.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Pset_filter_callback$handle() { return H5Pset_filter_callback.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Pset_filter_callback$address() { return H5Pset_filter_callback.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static int H5Pset_filter_callback(long plist_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pset_filter_callback.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_filter_callback", plist_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(plist_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_hyper_vector_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_hyper_vector_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_hyper_vector_size$descriptor()
+ {
+ return H5Pset_hyper_vector_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_hyper_vector_size$handle() { return H5Pset_hyper_vector_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_hyper_vector_size$address() { return H5Pset_hyper_vector_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static int H5Pset_hyper_vector_size(long plist_id, long size)
+ {
+ var mh$ = H5Pset_hyper_vector_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_hyper_vector_size", plist_id, size);
+ }
+ return (int)mh$.invokeExact(plist_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_preserve {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_preserve");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_preserve$descriptor() { return H5Pset_preserve.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static MethodHandle H5Pset_preserve$handle() { return H5Pset_preserve.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static MemorySegment H5Pset_preserve$address() { return H5Pset_preserve.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static int H5Pset_preserve(long plist_id, boolean status)
+ {
+ var mh$ = H5Pset_preserve.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_preserve", plist_id, status);
+ }
+ return (int)mh$.invokeExact(plist_id, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_type_conv_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_type_conv_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_type_conv_cb$descriptor() { return H5Pset_type_conv_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static MethodHandle H5Pset_type_conv_cb$handle() { return H5Pset_type_conv_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static MemorySegment H5Pset_type_conv_cb$address() { return H5Pset_type_conv_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static int H5Pset_type_conv_cb(long dxpl_id, MemorySegment op, MemorySegment operate_data)
+ {
+ var mh$ = H5Pset_type_conv_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_type_conv_cb", dxpl_id, op, operate_data);
+ }
+ return (int)mh$.invokeExact(dxpl_id, op, operate_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_vlen_mem_manager {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_vlen_mem_manager");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_vlen_mem_manager$descriptor()
+ {
+ return H5Pset_vlen_mem_manager.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static MethodHandle H5Pset_vlen_mem_manager$handle() { return H5Pset_vlen_mem_manager.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static MemorySegment H5Pset_vlen_mem_manager$address() { return H5Pset_vlen_mem_manager.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static int H5Pset_vlen_mem_manager(long plist_id, MemorySegment alloc_func,
+ MemorySegment alloc_info, MemorySegment free_func,
+ MemorySegment free_info)
+ {
+ var mh$ = H5Pset_vlen_mem_manager.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_vlen_mem_manager", plist_id, alloc_func, alloc_info, free_func,
+ free_info);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_func, alloc_info, free_func, free_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_dataset_io_hyperslab_selection {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_dataset_io_hyperslab_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Pset_dataset_io_hyperslab_selection$descriptor()
+ {
+ return H5Pset_dataset_io_hyperslab_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Pset_dataset_io_hyperslab_selection$handle()
+ {
+ return H5Pset_dataset_io_hyperslab_selection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Pset_dataset_io_hyperslab_selection$address()
+ {
+ return H5Pset_dataset_io_hyperslab_selection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static int H5Pset_dataset_io_hyperslab_selection(long plist_id, int rank, int op,
+ MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Pset_dataset_io_hyperslab_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_dataset_io_hyperslab_selection", plist_id, rank, op, start, stride,
+ count, block);
+ }
+ return (int)mh$.invokeExact(plist_id, rank, op, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_selection_io {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_selection_io");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_selection_io$descriptor() { return H5Pset_selection_io.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static MethodHandle H5Pset_selection_io$handle() { return H5Pset_selection_io.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static MemorySegment H5Pset_selection_io$address() { return H5Pset_selection_io.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static int H5Pset_selection_io(long plist_id, int selection_io_mode)
+ {
+ var mh$ = H5Pset_selection_io.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_selection_io", plist_id, selection_io_mode);
+ }
+ return (int)mh$.invokeExact(plist_id, selection_io_mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_selection_io {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_selection_io");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_selection_io$descriptor() { return H5Pget_selection_io.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static MethodHandle H5Pget_selection_io$handle() { return H5Pget_selection_io.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static MemorySegment H5Pget_selection_io$address() { return H5Pget_selection_io.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static int H5Pget_selection_io(long plist_id, MemorySegment selection_io_mode)
+ {
+ var mh$ = H5Pget_selection_io.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_selection_io", plist_id, selection_io_mode);
+ }
+ return (int)mh$.invokeExact(plist_id, selection_io_mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_no_selection_io_cause {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_no_selection_io_cause");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_no_selection_io_cause$descriptor()
+ {
+ return H5Pget_no_selection_io_cause.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static MethodHandle H5Pget_no_selection_io_cause$handle()
+ {
+ return H5Pget_no_selection_io_cause.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static MemorySegment H5Pget_no_selection_io_cause$address()
+ {
+ return H5Pget_no_selection_io_cause.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static int H5Pget_no_selection_io_cause(long plist_id, MemorySegment no_selection_io_cause)
+ {
+ var mh$ = H5Pget_no_selection_io_cause.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_no_selection_io_cause", plist_id, no_selection_io_cause);
+ }
+ return (int)mh$.invokeExact(plist_id, no_selection_io_cause);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_actual_selection_io_mode {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_actual_selection_io_mode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_actual_selection_io_mode$descriptor()
+ {
+ return H5Pget_actual_selection_io_mode.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static MethodHandle H5Pget_actual_selection_io_mode$handle()
+ {
+ return H5Pget_actual_selection_io_mode.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static MemorySegment H5Pget_actual_selection_io_mode$address()
+ {
+ return H5Pget_actual_selection_io_mode.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static int H5Pget_actual_selection_io_mode(long plist_id, MemorySegment actual_selection_io_mode)
+ {
+ var mh$ = H5Pget_actual_selection_io_mode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_actual_selection_io_mode", plist_id, actual_selection_io_mode);
+ }
+ return (int)mh$.invokeExact(plist_id, actual_selection_io_mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_modify_write_buf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_modify_write_buf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_modify_write_buf$descriptor()
+ {
+ return H5Pset_modify_write_buf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static MethodHandle H5Pset_modify_write_buf$handle() { return H5Pset_modify_write_buf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static MemorySegment H5Pset_modify_write_buf$address() { return H5Pset_modify_write_buf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static int H5Pset_modify_write_buf(long plist_id, boolean modify_write_buf)
+ {
+ var mh$ = H5Pset_modify_write_buf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_modify_write_buf", plist_id, modify_write_buf);
+ }
+ return (int)mh$.invokeExact(plist_id, modify_write_buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_modify_write_buf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_modify_write_buf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_modify_write_buf$descriptor()
+ {
+ return H5Pget_modify_write_buf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static MethodHandle H5Pget_modify_write_buf$handle() { return H5Pget_modify_write_buf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static MemorySegment H5Pget_modify_write_buf$address() { return H5Pget_modify_write_buf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static int H5Pget_modify_write_buf(long plist_id, MemorySegment modify_write_buf)
+ {
+ var mh$ = H5Pget_modify_write_buf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_modify_write_buf", plist_id, modify_write_buf);
+ }
+ return (int)mh$.invokeExact(plist_id, modify_write_buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_create_intermediate_group {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_create_intermediate_group");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_create_intermediate_group$descriptor()
+ {
+ return H5Pget_create_intermediate_group.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static MethodHandle H5Pget_create_intermediate_group$handle()
+ {
+ return H5Pget_create_intermediate_group.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static MemorySegment H5Pget_create_intermediate_group$address()
+ {
+ return H5Pget_create_intermediate_group.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static int H5Pget_create_intermediate_group(long plist_id, MemorySegment crt_intmd)
+ {
+ var mh$ = H5Pget_create_intermediate_group.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_create_intermediate_group", plist_id, crt_intmd);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_intmd);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_create_intermediate_group {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_create_intermediate_group");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_create_intermediate_group$descriptor()
+ {
+ return H5Pset_create_intermediate_group.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static MethodHandle H5Pset_create_intermediate_group$handle()
+ {
+ return H5Pset_create_intermediate_group.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static MemorySegment H5Pset_create_intermediate_group$address()
+ {
+ return H5Pset_create_intermediate_group.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static int H5Pset_create_intermediate_group(long plist_id, int crt_intmd)
+ {
+ var mh$ = H5Pset_create_intermediate_group.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_create_intermediate_group", plist_id, crt_intmd);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_intmd);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_est_link_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_est_link_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_est_link_info$descriptor() { return H5Pget_est_link_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static MethodHandle H5Pget_est_link_info$handle() { return H5Pget_est_link_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static MemorySegment H5Pget_est_link_info$address() { return H5Pget_est_link_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static int H5Pget_est_link_info(long plist_id, MemorySegment est_num_entries,
+ MemorySegment est_name_len)
+ {
+ var mh$ = H5Pget_est_link_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_est_link_info", plist_id, est_num_entries, est_name_len);
+ }
+ return (int)mh$.invokeExact(plist_id, est_num_entries, est_name_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_link_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_link_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_link_creation_order$descriptor()
+ {
+ return H5Pget_link_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pget_link_creation_order$handle()
+ {
+ return H5Pget_link_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pget_link_creation_order$address()
+ {
+ return H5Pget_link_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static int H5Pget_link_creation_order(long plist_id, MemorySegment crt_order_flags)
+ {
+ var mh$ = H5Pget_link_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_link_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_link_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_link_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_link_phase_change$descriptor()
+ {
+ return H5Pget_link_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MethodHandle H5Pget_link_phase_change$handle() { return H5Pget_link_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MemorySegment H5Pget_link_phase_change$address() { return H5Pget_link_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static int H5Pget_link_phase_change(long plist_id, MemorySegment max_compact,
+ MemorySegment min_dense)
+ {
+ var mh$ = H5Pget_link_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_link_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_local_heap_size_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_local_heap_size_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_local_heap_size_hint$descriptor()
+ {
+ return H5Pget_local_heap_size_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static MethodHandle H5Pget_local_heap_size_hint$handle()
+ {
+ return H5Pget_local_heap_size_hint.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static MemorySegment H5Pget_local_heap_size_hint$address()
+ {
+ return H5Pget_local_heap_size_hint.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static int H5Pget_local_heap_size_hint(long plist_id, MemorySegment size_hint)
+ {
+ var mh$ = H5Pget_local_heap_size_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_local_heap_size_hint", plist_id, size_hint);
+ }
+ return (int)mh$.invokeExact(plist_id, size_hint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_est_link_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_est_link_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_est_link_info$descriptor() { return H5Pset_est_link_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static MethodHandle H5Pset_est_link_info$handle() { return H5Pset_est_link_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static MemorySegment H5Pset_est_link_info$address() { return H5Pset_est_link_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static int H5Pset_est_link_info(long plist_id, int est_num_entries, int est_name_len)
+ {
+ var mh$ = H5Pset_est_link_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_est_link_info", plist_id, est_num_entries, est_name_len);
+ }
+ return (int)mh$.invokeExact(plist_id, est_num_entries, est_name_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_link_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_link_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_link_creation_order$descriptor()
+ {
+ return H5Pset_link_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pset_link_creation_order$handle()
+ {
+ return H5Pset_link_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pset_link_creation_order$address()
+ {
+ return H5Pset_link_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static int H5Pset_link_creation_order(long plist_id, int crt_order_flags)
+ {
+ var mh$ = H5Pset_link_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_link_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_link_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_link_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_link_phase_change$descriptor()
+ {
+ return H5Pset_link_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MethodHandle H5Pset_link_phase_change$handle() { return H5Pset_link_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MemorySegment H5Pset_link_phase_change$address() { return H5Pset_link_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static int H5Pset_link_phase_change(long plist_id, int max_compact, int min_dense)
+ {
+ var mh$ = H5Pset_link_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_link_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_local_heap_size_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_local_heap_size_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_local_heap_size_hint$descriptor()
+ {
+ return H5Pset_local_heap_size_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static MethodHandle H5Pset_local_heap_size_hint$handle()
+ {
+ return H5Pset_local_heap_size_hint.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static MemorySegment H5Pset_local_heap_size_hint$address()
+ {
+ return H5Pset_local_heap_size_hint.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static int H5Pset_local_heap_size_hint(long plist_id, long size_hint)
+ {
+ var mh$ = H5Pset_local_heap_size_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_local_heap_size_hint", plist_id, size_hint);
+ }
+ return (int)mh$.invokeExact(plist_id, size_hint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_char_encoding {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_char_encoding");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_char_encoding$descriptor() { return H5Pget_char_encoding.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static MethodHandle H5Pget_char_encoding$handle() { return H5Pget_char_encoding.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static MemorySegment H5Pget_char_encoding$address() { return H5Pget_char_encoding.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static int H5Pget_char_encoding(long plist_id, MemorySegment encoding)
+ {
+ var mh$ = H5Pget_char_encoding.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_char_encoding", plist_id, encoding);
+ }
+ return (int)mh$.invokeExact(plist_id, encoding);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_char_encoding {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_char_encoding");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_char_encoding$descriptor() { return H5Pset_char_encoding.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static MethodHandle H5Pset_char_encoding$handle() { return H5Pset_char_encoding.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static MemorySegment H5Pset_char_encoding$address() { return H5Pset_char_encoding.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static int H5Pset_char_encoding(long plist_id, int encoding)
+ {
+ var mh$ = H5Pset_char_encoding.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_char_encoding", plist_id, encoding);
+ }
+ return (int)mh$.invokeExact(plist_id, encoding);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_acc_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_acc_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_acc_flags$descriptor()
+ {
+ return H5Pget_elink_acc_flags.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_acc_flags$handle() { return H5Pget_elink_acc_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_acc_flags$address() { return H5Pget_elink_acc_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static int H5Pget_elink_acc_flags(long lapl_id, MemorySegment flags)
+ {
+ var mh$ = H5Pget_elink_acc_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_acc_flags", lapl_id, flags);
+ }
+ return (int)mh$.invokeExact(lapl_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_cb$descriptor() { return H5Pget_elink_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_cb$handle() { return H5Pget_elink_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_cb$address() { return H5Pget_elink_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static int H5Pget_elink_cb(long lapl_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pget_elink_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_cb", lapl_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(lapl_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_fapl {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_fapl");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_fapl$descriptor() { return H5Pget_elink_fapl.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_fapl$handle() { return H5Pget_elink_fapl.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_fapl$address() { return H5Pget_elink_fapl.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static long H5Pget_elink_fapl(long lapl_id)
+ {
+ var mh$ = H5Pget_elink_fapl.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_fapl", lapl_id);
+ }
+ return (long)mh$.invokeExact(lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_prefix$descriptor() { return H5Pget_elink_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_prefix$handle() { return H5Pget_elink_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_prefix$address() { return H5Pget_elink_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static long H5Pget_elink_prefix(long plist_id, MemorySegment prefix, long size)
+ {
+ var mh$ = H5Pget_elink_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_prefix", plist_id, prefix, size);
+ }
+ return (long)mh$.invokeExact(plist_id, prefix, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_nlinks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_nlinks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_nlinks$descriptor() { return H5Pget_nlinks.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static MethodHandle H5Pget_nlinks$handle() { return H5Pget_nlinks.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static MemorySegment H5Pget_nlinks$address() { return H5Pget_nlinks.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static int H5Pget_nlinks(long plist_id, MemorySegment nlinks)
+ {
+ var mh$ = H5Pget_nlinks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_nlinks", plist_id, nlinks);
+ }
+ return (int)mh$.invokeExact(plist_id, nlinks);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_acc_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_acc_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_acc_flags$descriptor()
+ {
+ return H5Pset_elink_acc_flags.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_acc_flags$handle() { return H5Pset_elink_acc_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_acc_flags$address() { return H5Pset_elink_acc_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static int H5Pset_elink_acc_flags(long lapl_id, int flags)
+ {
+ var mh$ = H5Pset_elink_acc_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_acc_flags", lapl_id, flags);
+ }
+ return (int)mh$.invokeExact(lapl_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_cb$descriptor() { return H5Pset_elink_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_cb$handle() { return H5Pset_elink_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_cb$address() { return H5Pset_elink_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static int H5Pset_elink_cb(long lapl_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pset_elink_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_cb", lapl_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(lapl_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_fapl {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_fapl");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_fapl$descriptor() { return H5Pset_elink_fapl.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_fapl$handle() { return H5Pset_elink_fapl.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_fapl$address() { return H5Pset_elink_fapl.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_elink_fapl(long lapl_id, long fapl_id)
+ {
+ var mh$ = H5Pset_elink_fapl.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_fapl", lapl_id, fapl_id);
+ }
+ return (int)mh$.invokeExact(lapl_id, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_prefix$descriptor() { return H5Pset_elink_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_prefix$handle() { return H5Pset_elink_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_prefix$address() { return H5Pset_elink_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static int H5Pset_elink_prefix(long plist_id, MemorySegment prefix)
+ {
+ var mh$ = H5Pset_elink_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_prefix", plist_id, prefix);
+ }
+ return (int)mh$.invokeExact(plist_id, prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_nlinks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_nlinks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_nlinks$descriptor() { return H5Pset_nlinks.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static MethodHandle H5Pset_nlinks$handle() { return H5Pset_nlinks.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static MemorySegment H5Pset_nlinks$address() { return H5Pset_nlinks.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static int H5Pset_nlinks(long plist_id, long nlinks)
+ {
+ var mh$ = H5Pset_nlinks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_nlinks", plist_id, nlinks);
+ }
+ return (int)mh$.invokeExact(plist_id, nlinks);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Padd_merge_committed_dtype_path {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Padd_merge_committed_dtype_path");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static FunctionDescriptor H5Padd_merge_committed_dtype_path$descriptor()
+ {
+ return H5Padd_merge_committed_dtype_path.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static MethodHandle H5Padd_merge_committed_dtype_path$handle()
+ {
+ return H5Padd_merge_committed_dtype_path.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static MemorySegment H5Padd_merge_committed_dtype_path$address()
+ {
+ return H5Padd_merge_committed_dtype_path.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static int H5Padd_merge_committed_dtype_path(long plist_id, MemorySegment path)
+ {
+ var mh$ = H5Padd_merge_committed_dtype_path.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Padd_merge_committed_dtype_path", plist_id, path);
+ }
+ return (int)mh$.invokeExact(plist_id, path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pfree_merge_committed_dtype_paths {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pfree_merge_committed_dtype_paths");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pfree_merge_committed_dtype_paths$descriptor()
+ {
+ return H5Pfree_merge_committed_dtype_paths.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pfree_merge_committed_dtype_paths$handle()
+ {
+ return H5Pfree_merge_committed_dtype_paths.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pfree_merge_committed_dtype_paths$address()
+ {
+ return H5Pfree_merge_committed_dtype_paths.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static int H5Pfree_merge_committed_dtype_paths(long plist_id)
+ {
+ var mh$ = H5Pfree_merge_committed_dtype_paths.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pfree_merge_committed_dtype_paths", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_copy_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_copy_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_copy_object$descriptor() { return H5Pget_copy_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static MethodHandle H5Pget_copy_object$handle() { return H5Pget_copy_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static MemorySegment H5Pget_copy_object$address() { return H5Pget_copy_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static int H5Pget_copy_object(long plist_id, MemorySegment copy_options)
+ {
+ var mh$ = H5Pget_copy_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_copy_object", plist_id, copy_options);
+ }
+ return (int)mh$.invokeExact(plist_id, copy_options);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mcdt_search_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mcdt_search_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mcdt_search_cb$descriptor() { return H5Pget_mcdt_search_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static MethodHandle H5Pget_mcdt_search_cb$handle() { return H5Pget_mcdt_search_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static MemorySegment H5Pget_mcdt_search_cb$address() { return H5Pget_mcdt_search_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static int H5Pget_mcdt_search_cb(long plist_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pget_mcdt_search_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mcdt_search_cb", plist_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(plist_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_copy_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_copy_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_copy_object$descriptor() { return H5Pset_copy_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static MethodHandle H5Pset_copy_object$handle() { return H5Pset_copy_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static MemorySegment H5Pset_copy_object$address() { return H5Pset_copy_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static int H5Pset_copy_object(long plist_id, int copy_options)
+ {
+ var mh$ = H5Pset_copy_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_copy_object", plist_id, copy_options);
+ }
+ return (int)mh$.invokeExact(plist_id, copy_options);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mcdt_search_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mcdt_search_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mcdt_search_cb$descriptor() { return H5Pset_mcdt_search_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Pset_mcdt_search_cb$handle() { return H5Pset_mcdt_search_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Pset_mcdt_search_cb$address() { return H5Pset_mcdt_search_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static int H5Pset_mcdt_search_cb(long plist_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pset_mcdt_search_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mcdt_search_cb", plist_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(plist_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pregister1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pregister1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pregister1$descriptor() { return H5Pregister1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MethodHandle H5Pregister1$handle() { return H5Pregister1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MemorySegment H5Pregister1$address() { return H5Pregister1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static int H5Pregister1(long cls_id, MemorySegment name, long size, MemorySegment def_value,
+ MemorySegment prp_create, MemorySegment prp_set, MemorySegment prp_get,
+ MemorySegment prp_del, MemorySegment prp_copy, MemorySegment prp_close)
+ {
+ var mh$ = H5Pregister1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pregister1", cls_id, name, size, def_value, prp_create, prp_set, prp_get,
+ prp_del, prp_copy, prp_close);
+ }
+ return (int)mh$.invokeExact(cls_id, name, size, def_value, prp_create, prp_set, prp_get, prp_del,
+ prp_copy, prp_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pinsert1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pinsert1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pinsert1$descriptor() { return H5Pinsert1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MethodHandle H5Pinsert1$handle() { return H5Pinsert1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MemorySegment H5Pinsert1$address() { return H5Pinsert1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static int H5Pinsert1(long plist_id, MemorySegment name, long size, MemorySegment value,
+ MemorySegment prp_set, MemorySegment prp_get, MemorySegment prp_delete,
+ MemorySegment prp_copy, MemorySegment prp_close)
+ {
+ var mh$ = H5Pinsert1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pinsert1", plist_id, name, size, value, prp_set, prp_get, prp_delete,
+ prp_copy, prp_close);
+ }
+ return (int)mh$.invokeExact(plist_id, name, size, value, prp_set, prp_get, prp_delete, prp_copy,
+ prp_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pencode1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pencode1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static FunctionDescriptor H5Pencode1$descriptor() { return H5Pencode1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MethodHandle H5Pencode1$handle() { return H5Pencode1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MemorySegment H5Pencode1$address() { return H5Pencode1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static int H5Pencode1(long plist_id, MemorySegment buf, MemorySegment nalloc)
+ {
+ var mh$ = H5Pencode1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pencode1", plist_id, buf, nalloc);
+ }
+ return (int)mh$.invokeExact(plist_id, buf, nalloc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter1$descriptor() { return H5Pget_filter1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MethodHandle H5Pget_filter1$handle() { return H5Pget_filter1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MemorySegment H5Pget_filter1$address() { return H5Pget_filter1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static int H5Pget_filter1(long plist_id, int filter, MemorySegment flags, MemorySegment cd_nelmts,
+ MemorySegment cd_values, long namelen, MemorySegment name)
+ {
+ var mh$ = H5Pget_filter1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter1", plist_id, filter, flags, cd_nelmts, cd_values, namelen, name);
+ }
+ return (int)mh$.invokeExact(plist_id, filter, flags, cd_nelmts, cd_values, namelen, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter_by_id1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter_by_id1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter_by_id1$descriptor() { return H5Pget_filter_by_id1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MethodHandle H5Pget_filter_by_id1$handle() { return H5Pget_filter_by_id1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MemorySegment H5Pget_filter_by_id1$address() { return H5Pget_filter_by_id1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static int H5Pget_filter_by_id1(long plist_id, int id, MemorySegment flags,
+ MemorySegment cd_nelmts, MemorySegment cd_values, long namelen,
+ MemorySegment name)
+ {
+ var mh$ = H5Pget_filter_by_id1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter_by_id1", plist_id, id, flags, cd_nelmts, cd_values, namelen,
+ name);
+ }
+ return (int)mh$.invokeExact(plist_id, id, flags, cd_nelmts, cd_values, namelen, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_version {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_version");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_version$descriptor() { return H5Pget_version.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static MethodHandle H5Pget_version$handle() { return H5Pget_version.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static MemorySegment H5Pget_version$address() { return H5Pget_version.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static int H5Pget_version(long plist_id, MemorySegment boot, MemorySegment freelist,
+ MemorySegment stab, MemorySegment shhdr)
+ {
+ var mh$ = H5Pget_version.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_version", plist_id, boot, freelist, stab, shhdr);
+ }
+ return (int)mh$.invokeExact(plist_id, boot, freelist, stab, shhdr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_space {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_space$descriptor() { return H5Pset_file_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static MethodHandle H5Pset_file_space$handle() { return H5Pset_file_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static MemorySegment H5Pset_file_space$address() { return H5Pset_file_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static int H5Pset_file_space(long plist_id, int strategy, long threshold)
+ {
+ var mh$ = H5Pset_file_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_space", plist_id, strategy, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_space {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_space$descriptor() { return H5Pget_file_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static MethodHandle H5Pget_file_space$handle() { return H5Pget_file_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static MemorySegment H5Pget_file_space$address() { return H5Pget_file_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static int H5Pget_file_space(long plist_id, MemorySegment strategy, MemorySegment threshold)
+ {
+ var mh$ = H5Pget_file_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_space", plist_id, strategy, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5PL_TYPE_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_ERROR = -1
+ * }
+ */
+ public static int H5PL_TYPE_ERROR() { return H5PL_TYPE_ERROR; }
+ private static final int H5PL_TYPE_FILTER = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_FILTER = 0
+ * }
+ */
+ public static int H5PL_TYPE_FILTER() { return H5PL_TYPE_FILTER; }
+ private static final int H5PL_TYPE_VOL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_VOL = 1
+ * }
+ */
+ public static int H5PL_TYPE_VOL() { return H5PL_TYPE_VOL; }
+ private static final int H5PL_TYPE_VFD = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_VFD = 2
+ * }
+ */
+ public static int H5PL_TYPE_VFD() { return H5PL_TYPE_VFD; }
+ private static final int H5PL_TYPE_NONE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_NONE = 3
+ * }
+ */
+ public static int H5PL_TYPE_NONE() { return H5PL_TYPE_NONE; }
+
+ private static class H5PLset_loading_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLset_loading_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static FunctionDescriptor H5PLset_loading_state$descriptor() { return H5PLset_loading_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static MethodHandle H5PLset_loading_state$handle() { return H5PLset_loading_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static MemorySegment H5PLset_loading_state$address() { return H5PLset_loading_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static int H5PLset_loading_state(int plugin_control_mask)
+ {
+ var mh$ = H5PLset_loading_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLset_loading_state", plugin_control_mask);
+ }
+ return (int)mh$.invokeExact(plugin_control_mask);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLget_loading_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLget_loading_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static FunctionDescriptor H5PLget_loading_state$descriptor() { return H5PLget_loading_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static MethodHandle H5PLget_loading_state$handle() { return H5PLget_loading_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static MemorySegment H5PLget_loading_state$address() { return H5PLget_loading_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static int H5PLget_loading_state(MemorySegment plugin_control_mask)
+ {
+ var mh$ = H5PLget_loading_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLget_loading_state", plugin_control_mask);
+ }
+ return (int)mh$.invokeExact(plugin_control_mask);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLappend {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLappend");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static FunctionDescriptor H5PLappend$descriptor() { return H5PLappend.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static MethodHandle H5PLappend$handle() { return H5PLappend.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static MemorySegment H5PLappend$address() { return H5PLappend.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static int H5PLappend(MemorySegment search_path)
+ {
+ var mh$ = H5PLappend.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLappend", search_path);
+ }
+ return (int)mh$.invokeExact(search_path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLprepend {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLprepend");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static FunctionDescriptor H5PLprepend$descriptor() { return H5PLprepend.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static MethodHandle H5PLprepend$handle() { return H5PLprepend.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static MemorySegment H5PLprepend$address() { return H5PLprepend.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static int H5PLprepend(MemorySegment search_path)
+ {
+ var mh$ = H5PLprepend.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLprepend", search_path);
+ }
+ return (int)mh$.invokeExact(search_path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLreplace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLreplace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static FunctionDescriptor H5PLreplace$descriptor() { return H5PLreplace.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MethodHandle H5PLreplace$handle() { return H5PLreplace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MemorySegment H5PLreplace$address() { return H5PLreplace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static int H5PLreplace(MemorySegment search_path, int index)
+ {
+ var mh$ = H5PLreplace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLreplace", search_path, index);
+ }
+ return (int)mh$.invokeExact(search_path, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLinsert {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLinsert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static FunctionDescriptor H5PLinsert$descriptor() { return H5PLinsert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MethodHandle H5PLinsert$handle() { return H5PLinsert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MemorySegment H5PLinsert$address() { return H5PLinsert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static int H5PLinsert(MemorySegment search_path, int index)
+ {
+ var mh$ = H5PLinsert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLinsert", search_path, index);
+ }
+ return (int)mh$.invokeExact(search_path, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLremove {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLremove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static FunctionDescriptor H5PLremove$descriptor() { return H5PLremove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static MethodHandle H5PLremove$handle() { return H5PLremove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static MemorySegment H5PLremove$address() { return H5PLremove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static int H5PLremove(int index)
+ {
+ var mh$ = H5PLremove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLremove", index);
+ }
+ return (int)mh$.invokeExact(index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLget {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLget");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5PLget$descriptor() { return H5PLget.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5PLget$handle() { return H5PLget.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5PLget$address() { return H5PLget.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static long H5PLget(int index, MemorySegment path_buf, long buf_size)
+ {
+ var mh$ = H5PLget.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLget", index, path_buf, buf_size);
+ }
+ return (long)mh$.invokeExact(index, path_buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLsize {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLsize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static FunctionDescriptor H5PLsize$descriptor() { return H5PLsize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static MethodHandle H5PLsize$handle() { return H5PLsize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static MemorySegment H5PLsize$address() { return H5PLsize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static int H5PLsize(MemorySegment num_paths)
+ {
+ var mh$ = H5PLsize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLsize", num_paths);
+ }
+ return (int)mh$.invokeExact(num_paths);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESinsert_request {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESinsert_request");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static FunctionDescriptor H5ESinsert_request$descriptor() { return H5ESinsert_request.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static MethodHandle H5ESinsert_request$handle() { return H5ESinsert_request.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static MemorySegment H5ESinsert_request$address() { return H5ESinsert_request.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static int H5ESinsert_request(long es_id, long connector_id, MemorySegment request)
+ {
+ var mh$ = H5ESinsert_request.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESinsert_request", es_id, connector_id, request);
+ }
+ return (int)mh$.invokeExact(es_id, connector_id, request);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_requests {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_requests");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_requests$descriptor() { return H5ESget_requests.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static MethodHandle H5ESget_requests$handle() { return H5ESget_requests.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static MemorySegment H5ESget_requests$address() { return H5ESget_requests.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static int H5ESget_requests(long es_id, int order, MemorySegment connector_ids,
+ MemorySegment requests, long array_len, MemorySegment count)
+ {
+ var mh$ = H5ESget_requests.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_requests", es_id, order, connector_ids, requests, array_len, count);
+ }
+ return (int)mh$.invokeExact(es_id, order, connector_ids, requests, array_len, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static FunctionDescriptor H5FDregister$descriptor() { return H5FDregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static MethodHandle H5FDregister$handle() { return H5FDregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static MemorySegment H5FDregister$address() { return H5FDregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static long H5FDregister(MemorySegment cls)
+ {
+ var mh$ = H5FDregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDregister", cls);
+ }
+ return (long)mh$.invokeExact(cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDis_driver_registered_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDis_driver_registered_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static FunctionDescriptor H5FDis_driver_registered_by_name$descriptor()
+ {
+ return H5FDis_driver_registered_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static MethodHandle H5FDis_driver_registered_by_name$handle()
+ {
+ return H5FDis_driver_registered_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static MemorySegment H5FDis_driver_registered_by_name$address()
+ {
+ return H5FDis_driver_registered_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static int H5FDis_driver_registered_by_name(MemorySegment driver_name)
+ {
+ var mh$ = H5FDis_driver_registered_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDis_driver_registered_by_name", driver_name);
+ }
+ return (int)mh$.invokeExact(driver_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDis_driver_registered_by_value {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDis_driver_registered_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static FunctionDescriptor H5FDis_driver_registered_by_value$descriptor()
+ {
+ return H5FDis_driver_registered_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static MethodHandle H5FDis_driver_registered_by_value$handle()
+ {
+ return H5FDis_driver_registered_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static MemorySegment H5FDis_driver_registered_by_value$address()
+ {
+ return H5FDis_driver_registered_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static int H5FDis_driver_registered_by_value(int driver_value)
+ {
+ var mh$ = H5FDis_driver_registered_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDis_driver_registered_by_value", driver_value);
+ }
+ return (int)mh$.invokeExact(driver_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static FunctionDescriptor H5FDunregister$descriptor() { return H5FDunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static MethodHandle H5FDunregister$handle() { return H5FDunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static MemorySegment H5FDunregister$address() { return H5FDunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static int H5FDunregister(long driver_id)
+ {
+ var mh$ = H5FDunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDunregister", driver_id);
+ }
+ return (int)mh$.invokeExact(driver_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDopen {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static FunctionDescriptor H5FDopen$descriptor() { return H5FDopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static MethodHandle H5FDopen$handle() { return H5FDopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static MemorySegment H5FDopen$address() { return H5FDopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static MemorySegment H5FDopen(MemorySegment name, int flags, long fapl_id, long maxaddr)
+ {
+ var mh$ = H5FDopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDopen", name, flags, fapl_id, maxaddr);
+ }
+ return (MemorySegment)mh$.invokeExact(name, flags, fapl_id, maxaddr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static FunctionDescriptor H5FDclose$descriptor() { return H5FDclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static MethodHandle H5FDclose$handle() { return H5FDclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static MemorySegment H5FDclose$address() { return H5FDclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static int H5FDclose(MemorySegment file)
+ {
+ var mh$ = H5FDclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDclose", file);
+ }
+ return (int)mh$.invokeExact(file);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDcmp {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDcmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static FunctionDescriptor H5FDcmp$descriptor() { return H5FDcmp.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static MethodHandle H5FDcmp$handle() { return H5FDcmp.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static MemorySegment H5FDcmp$address() { return H5FDcmp.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static int H5FDcmp(MemorySegment f1, MemorySegment f2)
+ {
+ var mh$ = H5FDcmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDcmp", f1, f2);
+ }
+ return (int)mh$.invokeExact(f1, f2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDquery {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDquery");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static FunctionDescriptor H5FDquery$descriptor() { return H5FDquery.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static MethodHandle H5FDquery$handle() { return H5FDquery.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static MemorySegment H5FDquery$address() { return H5FDquery.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static int H5FDquery(MemorySegment f, MemorySegment flags)
+ {
+ var mh$ = H5FDquery.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDquery", f, flags);
+ }
+ return (int)mh$.invokeExact(f, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDalloc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDalloc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5FDalloc$descriptor() { return H5FDalloc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5FDalloc$handle() { return H5FDalloc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5FDalloc$address() { return H5FDalloc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static long H5FDalloc(MemorySegment file, int type, long dxpl_id, long size)
+ {
+ var mh$ = H5FDalloc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDalloc", file, type, dxpl_id, size);
+ }
+ return (long)mh$.invokeExact(file, type, dxpl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDfree {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDfree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5FDfree$descriptor() { return H5FDfree.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5FDfree$handle() { return H5FDfree.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5FDfree$address() { return H5FDfree.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static int H5FDfree(MemorySegment file, int type, long dxpl_id, long addr, long size)
+ {
+ var mh$ = H5FDfree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDfree", file, type, dxpl_id, addr, size);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, addr, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDget_eoa {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDget_eoa");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static FunctionDescriptor H5FDget_eoa$descriptor() { return H5FDget_eoa.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MethodHandle H5FDget_eoa$handle() { return H5FDget_eoa.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MemorySegment H5FDget_eoa$address() { return H5FDget_eoa.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static long H5FDget_eoa(MemorySegment file, int type)
+ {
+ var mh$ = H5FDget_eoa.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDget_eoa", file, type);
+ }
+ return (long)mh$.invokeExact(file, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDset_eoa {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDset_eoa");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static FunctionDescriptor H5FDset_eoa$descriptor() { return H5FDset_eoa.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static MethodHandle H5FDset_eoa$handle() { return H5FDset_eoa.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static MemorySegment H5FDset_eoa$address() { return H5FDset_eoa.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static int H5FDset_eoa(MemorySegment file, int type, long eoa)
+ {
+ var mh$ = H5FDset_eoa.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDset_eoa", file, type, eoa);
+ }
+ return (int)mh$.invokeExact(file, type, eoa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDget_eof {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDget_eof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static FunctionDescriptor H5FDget_eof$descriptor() { return H5FDget_eof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MethodHandle H5FDget_eof$handle() { return H5FDget_eof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MemorySegment H5FDget_eof$address() { return H5FDget_eof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static long H5FDget_eof(MemorySegment file, int type)
+ {
+ var mh$ = H5FDget_eof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDget_eof", file, type);
+ }
+ return (long)mh$.invokeExact(file, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDget_vfd_handle {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDget_vfd_handle");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static FunctionDescriptor H5FDget_vfd_handle$descriptor() { return H5FDget_vfd_handle.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MethodHandle H5FDget_vfd_handle$handle() { return H5FDget_vfd_handle.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MemorySegment H5FDget_vfd_handle$address() { return H5FDget_vfd_handle.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static int H5FDget_vfd_handle(MemorySegment file, long fapl, MemorySegment file_handle)
+ {
+ var mh$ = H5FDget_vfd_handle.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDget_vfd_handle", file, fapl, file_handle);
+ }
+ return (int)mh$.invokeExact(file, fapl, file_handle);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5FDread$descriptor() { return H5FDread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static MethodHandle H5FDread$handle() { return H5FDread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static MemorySegment H5FDread$address() { return H5FDread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static int H5FDread(MemorySegment file, int type, long dxpl_id, long addr, long size,
+ MemorySegment buf)
+ {
+ var mh$ = H5FDread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread", file, type, dxpl_id, addr, size, buf);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, addr, size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite$descriptor() { return H5FDwrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static MethodHandle H5FDwrite$handle() { return H5FDwrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static MemorySegment H5FDwrite$address() { return H5FDwrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static int H5FDwrite(MemorySegment file, int type, long dxpl_id, long addr, long size,
+ MemorySegment buf)
+ {
+ var mh$ = H5FDwrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite", file, type, dxpl_id, addr, size, buf);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, addr, size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_vector {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_vector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_vector$descriptor() { return H5FDread_vector.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_vector$handle() { return H5FDread_vector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_vector$address() { return H5FDread_vector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_vector(MemorySegment file, long dxpl_id, int count, MemorySegment types,
+ MemorySegment addrs, MemorySegment sizes, MemorySegment bufs)
+ {
+ var mh$ = H5FDread_vector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_vector", file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_vector {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_vector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_vector$descriptor() { return H5FDwrite_vector.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_vector$handle() { return H5FDwrite_vector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_vector$address() { return H5FDwrite_vector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_vector(MemorySegment file, long dxpl_id, int count, MemorySegment types,
+ MemorySegment addrs, MemorySegment sizes, MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_vector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_vector", file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_selection$descriptor() { return H5FDread_selection.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_selection$handle() { return H5FDread_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_selection$address() { return H5FDread_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDread_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_selection", file, type, dxpl_id, count, mem_spaces, file_spaces,
+ offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_selection$descriptor() { return H5FDwrite_selection.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_selection$handle() { return H5FDwrite_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_selection$address() { return H5FDwrite_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_selection", file, type, dxpl_id, count, mem_spaces, file_spaces,
+ offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_vector_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_vector_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_vector_from_selection$descriptor()
+ {
+ return H5FDread_vector_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_vector_from_selection$handle()
+ {
+ return H5FDread_vector_from_selection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_vector_from_selection$address()
+ {
+ return H5FDread_vector_from_selection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_vector_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDread_vector_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_vector_from_selection", file, type, dxpl_id, count, mem_spaces,
+ file_spaces, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_vector_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_vector_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_vector_from_selection$descriptor()
+ {
+ return H5FDwrite_vector_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_vector_from_selection$handle()
+ {
+ return H5FDwrite_vector_from_selection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_vector_from_selection$address()
+ {
+ return H5FDwrite_vector_from_selection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_vector_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_vector_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_vector_from_selection", file, type, dxpl_id, count, mem_spaces,
+ file_spaces, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_from_selection$descriptor()
+ {
+ return H5FDread_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_from_selection$handle() { return H5FDread_from_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_from_selection$address() { return H5FDread_from_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_space_ids, MemorySegment file_space_ids,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDread_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_from_selection", file, type, dxpl_id, count, mem_space_ids,
+ file_space_ids, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_space_ids, file_space_ids, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_from_selection$descriptor()
+ {
+ return H5FDwrite_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_from_selection$handle() { return H5FDwrite_from_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_from_selection$address() { return H5FDwrite_from_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_space_ids, MemorySegment file_space_ids,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_from_selection", file, type, dxpl_id, count, mem_space_ids,
+ file_space_ids, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_space_ids, file_space_ids, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDflush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static FunctionDescriptor H5FDflush$descriptor() { return H5FDflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MethodHandle H5FDflush$handle() { return H5FDflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MemorySegment H5FDflush$address() { return H5FDflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static int H5FDflush(MemorySegment file, long dxpl_id, boolean closing)
+ {
+ var mh$ = H5FDflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDflush", file, dxpl_id, closing);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, closing);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDtruncate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDtruncate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static FunctionDescriptor H5FDtruncate$descriptor() { return H5FDtruncate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MethodHandle H5FDtruncate$handle() { return H5FDtruncate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MemorySegment H5FDtruncate$address() { return H5FDtruncate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static int H5FDtruncate(MemorySegment file, long dxpl_id, boolean closing)
+ {
+ var mh$ = H5FDtruncate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDtruncate", file, dxpl_id, closing);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, closing);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDlock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDlock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static FunctionDescriptor H5FDlock$descriptor() { return H5FDlock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static MethodHandle H5FDlock$handle() { return H5FDlock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static MemorySegment H5FDlock$address() { return H5FDlock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static int H5FDlock(MemorySegment file, boolean rw)
+ {
+ var mh$ = H5FDlock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDlock", file, rw);
+ }
+ return (int)mh$.invokeExact(file, rw);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDunlock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDunlock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static FunctionDescriptor H5FDunlock$descriptor() { return H5FDunlock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static MethodHandle H5FDunlock$handle() { return H5FDunlock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static MemorySegment H5FDunlock$address() { return H5FDunlock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static int H5FDunlock(MemorySegment file)
+ {
+ var mh$ = H5FDunlock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDunlock", file);
+ }
+ return (int)mh$.invokeExact(file);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDdelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDdelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5FDdelete$descriptor() { return H5FDdelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5FDdelete$handle() { return H5FDdelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5FDdelete$address() { return H5FDdelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static int H5FDdelete(MemorySegment name, long fapl_id)
+ {
+ var mh$ = H5FDdelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDdelete", name, fapl_id);
+ }
+ return (int)mh$.invokeExact(name, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDctl {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDctl");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static FunctionDescriptor H5FDctl$descriptor() { return H5FDctl.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static MethodHandle H5FDctl$handle() { return H5FDctl.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static MemorySegment H5FDctl$address() { return H5FDctl.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static int H5FDctl(MemorySegment file, long op_code, long flags, MemorySegment input,
+ MemorySegment output)
+ {
+ var mh$ = H5FDctl.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDctl", file, op_code, flags, input, output);
+ }
+ return (int)mh$.invokeExact(file, op_code, flags, input, output);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iregister_future {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister_future");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister_future$descriptor() { return H5Iregister_future.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static MethodHandle H5Iregister_future$handle() { return H5Iregister_future.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static MemorySegment H5Iregister_future$address() { return H5Iregister_future.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static long H5Iregister_future(int type, MemorySegment object, MemorySegment realize_cb,
+ MemorySegment discard_cb)
+ {
+ var mh$ = H5Iregister_future.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister_future", type, object, realize_cb, discard_cb);
+ }
+ return (long)mh$.invokeExact(type, object, realize_cb, discard_cb);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static FunctionDescriptor H5Lregister$descriptor() { return H5Lregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static MethodHandle H5Lregister$handle() { return H5Lregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static MemorySegment H5Lregister$address() { return H5Lregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static int H5Lregister(MemorySegment cls)
+ {
+ var mh$ = H5Lregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lregister", cls);
+ }
+ return (int)mh$.invokeExact(cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Lunregister$descriptor() { return H5Lunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static MethodHandle H5Lunregister$handle() { return H5Lunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static MemorySegment H5Lunregister$address() { return H5Lunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static int H5Lunregister(int id)
+ {
+ var mh$ = H5Lunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lunregister", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5T_CONV_INIT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cmd_t.H5T_CONV_INIT = 0
+ * }
+ */
+ public static int H5T_CONV_INIT() { return H5T_CONV_INIT; }
+ private static final int H5T_CONV_CONV = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cmd_t.H5T_CONV_CONV = 1
+ * }
+ */
+ public static int H5T_CONV_CONV() { return H5T_CONV_CONV; }
+ private static final int H5T_CONV_FREE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cmd_t.H5T_CONV_FREE = 2
+ * }
+ */
+ public static int H5T_CONV_FREE() { return H5T_CONV_FREE; }
+ private static final int H5T_BKG_NO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_bkg_t.H5T_BKG_NO = 0
+ * }
+ */
+ public static int H5T_BKG_NO() { return H5T_BKG_NO; }
+ private static final int H5T_BKG_TEMP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_bkg_t.H5T_BKG_TEMP = 1
+ * }
+ */
+ public static int H5T_BKG_TEMP() { return H5T_BKG_TEMP; }
+ private static final int H5T_BKG_YES = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_bkg_t.H5T_BKG_YES = 2
+ * }
+ */
+ public static int H5T_BKG_YES() { return H5T_BKG_YES; }
+ private static final int H5T_PERS_DONTCARE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pers_t.H5T_PERS_DONTCARE = -1
+ * }
+ */
+ public static int H5T_PERS_DONTCARE() { return H5T_PERS_DONTCARE; }
+ private static final int H5T_PERS_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pers_t.H5T_PERS_HARD = 0
+ * }
+ */
+ public static int H5T_PERS_HARD() { return H5T_PERS_HARD; }
+ private static final int H5T_PERS_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pers_t.H5T_PERS_SOFT = 1
+ * }
+ */
+ public static int H5T_PERS_SOFT() { return H5T_PERS_SOFT; }
+
+ private static class H5Tregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static FunctionDescriptor H5Tregister$descriptor() { return H5Tregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MethodHandle H5Tregister$handle() { return H5Tregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MemorySegment H5Tregister$address() { return H5Tregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static int H5Tregister(int pers, MemorySegment name, long src_id, long dst_id, MemorySegment func)
+ {
+ var mh$ = H5Tregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tregister", pers, name, src_id, dst_id, func);
+ }
+ return (int)mh$.invokeExact(pers, name, src_id, dst_id, func);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static FunctionDescriptor H5Tunregister$descriptor() { return H5Tunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MethodHandle H5Tunregister$handle() { return H5Tunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MemorySegment H5Tunregister$address() { return H5Tunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static int H5Tunregister(int pers, MemorySegment name, long src_id, long dst_id,
+ MemorySegment func)
+ {
+ var mh$ = H5Tunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tunregister", pers, name, src_id, dst_id, func);
+ }
+ return (int)mh$.invokeExact(pers, name, src_id, dst_id, func);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tfind {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tfind");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static FunctionDescriptor H5Tfind$descriptor() { return H5Tfind.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static MethodHandle H5Tfind$handle() { return H5Tfind.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static MemorySegment H5Tfind$address() { return H5Tfind.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static MemorySegment H5Tfind(long src_id, long dst_id, MemorySegment pcdata)
+ {
+ var mh$ = H5Tfind.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tfind", src_id, dst_id, pcdata);
+ }
+ return (MemorySegment)mh$.invokeExact(src_id, dst_id, pcdata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcompiler_conv {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcompiler_conv");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcompiler_conv$descriptor() { return H5Tcompiler_conv.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static MethodHandle H5Tcompiler_conv$handle() { return H5Tcompiler_conv.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static MemorySegment H5Tcompiler_conv$address() { return H5Tcompiler_conv.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static int H5Tcompiler_conv(long src_id, long dst_id)
+ {
+ var mh$ = H5Tcompiler_conv.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcompiler_conv", src_id, dst_id);
+ }
+ return (int)mh$.invokeExact(src_id, dst_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5TSmutex_acquire {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5TSmutex_acquire");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static FunctionDescriptor H5TSmutex_acquire$descriptor() { return H5TSmutex_acquire.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static MethodHandle H5TSmutex_acquire$handle() { return H5TSmutex_acquire.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static MemorySegment H5TSmutex_acquire$address() { return H5TSmutex_acquire.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static int H5TSmutex_acquire(int lock_count, MemorySegment acquired)
+ {
+ var mh$ = H5TSmutex_acquire.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5TSmutex_acquire", lock_count, acquired);
+ }
+ return (int)mh$.invokeExact(lock_count, acquired);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5TSmutex_release {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5TSmutex_release");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static FunctionDescriptor H5TSmutex_release$descriptor() { return H5TSmutex_release.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static MethodHandle H5TSmutex_release$handle() { return H5TSmutex_release.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static MemorySegment H5TSmutex_release$address() { return H5TSmutex_release.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static int H5TSmutex_release(MemorySegment lock_count)
+ {
+ var mh$ = H5TSmutex_release.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5TSmutex_release", lock_count);
+ }
+ return (int)mh$.invokeExact(lock_count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5TSmutex_get_attempt_count {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5TSmutex_get_attempt_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static FunctionDescriptor H5TSmutex_get_attempt_count$descriptor()
+ {
+ return H5TSmutex_get_attempt_count.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static MethodHandle H5TSmutex_get_attempt_count$handle()
+ {
+ return H5TSmutex_get_attempt_count.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static MemorySegment H5TSmutex_get_attempt_count$address()
+ {
+ return H5TSmutex_get_attempt_count.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static int H5TSmutex_get_attempt_count(MemorySegment count)
+ {
+ var mh$ = H5TSmutex_get_attempt_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5TSmutex_get_attempt_count", count);
+ }
+ return (int)mh$.invokeExact(count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Zregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static FunctionDescriptor H5Zregister$descriptor() { return H5Zregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static MethodHandle H5Zregister$handle() { return H5Zregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static MemorySegment H5Zregister$address() { return H5Zregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static int H5Zregister(MemorySegment cls)
+ {
+ var mh$ = H5Zregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zregister", cls);
+ }
+ return (int)mh$.invokeExact(cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Zunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Zunregister$descriptor() { return H5Zunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static MethodHandle H5Zunregister$handle() { return H5Zunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static MemorySegment H5Zunregister$address() { return H5Zunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static int H5Zunregister(int id)
+ {
+ var mh$ = H5Zunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zunregister", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLcmp_connector_cls {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLcmp_connector_cls");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static FunctionDescriptor H5VLcmp_connector_cls$descriptor() { return H5VLcmp_connector_cls.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static MethodHandle H5VLcmp_connector_cls$handle() { return H5VLcmp_connector_cls.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static MemorySegment H5VLcmp_connector_cls$address() { return H5VLcmp_connector_cls.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static int H5VLcmp_connector_cls(MemorySegment cmp, long connector_id1, long connector_id2)
+ {
+ var mh$ = H5VLcmp_connector_cls.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLcmp_connector_cls", cmp, connector_id1, connector_id2);
+ }
+ return (int)mh$.invokeExact(cmp, connector_id1, connector_id2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLwrap_register {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLwrap_register");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5VLwrap_register$descriptor() { return H5VLwrap_register.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5VLwrap_register$handle() { return H5VLwrap_register.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5VLwrap_register$address() { return H5VLwrap_register.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static long H5VLwrap_register(MemorySegment obj, int type)
+ {
+ var mh$ = H5VLwrap_register.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLwrap_register", obj, type);
+ }
+ return (long)mh$.invokeExact(obj, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLretrieve_lib_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLretrieve_lib_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static FunctionDescriptor H5VLretrieve_lib_state$descriptor()
+ {
+ return H5VLretrieve_lib_state.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static MethodHandle H5VLretrieve_lib_state$handle() { return H5VLretrieve_lib_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static MemorySegment H5VLretrieve_lib_state$address() { return H5VLretrieve_lib_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static int H5VLretrieve_lib_state(MemorySegment state)
+ {
+ var mh$ = H5VLretrieve_lib_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLretrieve_lib_state", state);
+ }
+ return (int)mh$.invokeExact(state);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLopen_lib_context {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLopen_lib_context");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static FunctionDescriptor H5VLopen_lib_context$descriptor() { return H5VLopen_lib_context.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static MethodHandle H5VLopen_lib_context$handle() { return H5VLopen_lib_context.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static MemorySegment H5VLopen_lib_context$address() { return H5VLopen_lib_context.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static int H5VLopen_lib_context(MemorySegment context)
+ {
+ var mh$ = H5VLopen_lib_context.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLopen_lib_context", context);
+ }
+ return (int)mh$.invokeExact(context);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrestore_lib_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrestore_lib_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static FunctionDescriptor H5VLrestore_lib_state$descriptor() { return H5VLrestore_lib_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static MethodHandle H5VLrestore_lib_state$handle() { return H5VLrestore_lib_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static MemorySegment H5VLrestore_lib_state$address() { return H5VLrestore_lib_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static int H5VLrestore_lib_state(MemorySegment state)
+ {
+ var mh$ = H5VLrestore_lib_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrestore_lib_state", state);
+ }
+ return (int)mh$.invokeExact(state);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLclose_lib_context {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLclose_lib_context");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static FunctionDescriptor H5VLclose_lib_context$descriptor() { return H5VLclose_lib_context.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static MethodHandle H5VLclose_lib_context$handle() { return H5VLclose_lib_context.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static MemorySegment H5VLclose_lib_context$address() { return H5VLclose_lib_context.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static int H5VLclose_lib_context(MemorySegment context)
+ {
+ var mh$ = H5VLclose_lib_context.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLclose_lib_context", context);
+ }
+ return (int)mh$.invokeExact(context);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfree_lib_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfree_lib_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static FunctionDescriptor H5VLfree_lib_state$descriptor() { return H5VLfree_lib_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static MethodHandle H5VLfree_lib_state$handle() { return H5VLfree_lib_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static MemorySegment H5VLfree_lib_state$address() { return H5VLfree_lib_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static int H5VLfree_lib_state(MemorySegment state)
+ {
+ var mh$ = H5VLfree_lib_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfree_lib_state", state);
+ }
+ return (int)mh$.invokeExact(state);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_object$descriptor() { return H5VLget_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLget_object$handle() { return H5VLget_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLget_object$address() { return H5VLget_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLget_object(MemorySegment obj, long connector_id)
+ {
+ var mh$ = H5VLget_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_object", obj, connector_id);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_wrap_ctx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_wrap_ctx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_wrap_ctx$descriptor() { return H5VLget_wrap_ctx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static MethodHandle H5VLget_wrap_ctx$handle() { return H5VLget_wrap_ctx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static MemorySegment H5VLget_wrap_ctx$address() { return H5VLget_wrap_ctx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static int H5VLget_wrap_ctx(MemorySegment obj, long connector_id, MemorySegment wrap_ctx)
+ {
+ var mh$ = H5VLget_wrap_ctx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_wrap_ctx", obj, connector_id, wrap_ctx);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, wrap_ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLwrap_object {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLwrap_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLwrap_object$descriptor() { return H5VLwrap_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static MethodHandle H5VLwrap_object$handle() { return H5VLwrap_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static MemorySegment H5VLwrap_object$address() { return H5VLwrap_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static MemorySegment H5VLwrap_object(MemorySegment obj, int obj_type, long connector_id,
+ MemorySegment wrap_ctx)
+ {
+ var mh$ = H5VLwrap_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLwrap_object", obj, obj_type, connector_id, wrap_ctx);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, obj_type, connector_id, wrap_ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLunwrap_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLunwrap_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLunwrap_object$descriptor() { return H5VLunwrap_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLunwrap_object$handle() { return H5VLunwrap_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLunwrap_object$address() { return H5VLunwrap_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLunwrap_object(MemorySegment obj, long connector_id)
+ {
+ var mh$ = H5VLunwrap_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLunwrap_object", obj, connector_id);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfree_wrap_ctx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfree_wrap_ctx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLfree_wrap_ctx$descriptor() { return H5VLfree_wrap_ctx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLfree_wrap_ctx$handle() { return H5VLfree_wrap_ctx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLfree_wrap_ctx$address() { return H5VLfree_wrap_ctx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static int H5VLfree_wrap_ctx(MemorySegment wrap_ctx, long connector_id)
+ {
+ var mh$ = H5VLfree_wrap_ctx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfree_wrap_ctx", wrap_ctx, connector_id);
+ }
+ return (int)mh$.invokeExact(wrap_ctx, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLinitialize {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLinitialize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLinitialize$descriptor() { return H5VLinitialize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLinitialize$handle() { return H5VLinitialize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLinitialize$address() { return H5VLinitialize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static int H5VLinitialize(long connector_id, long vipl_id)
+ {
+ var mh$ = H5VLinitialize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLinitialize", connector_id, vipl_id);
+ }
+ return (int)mh$.invokeExact(connector_id, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLterminate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLterminate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLterminate$descriptor() { return H5VLterminate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLterminate$handle() { return H5VLterminate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLterminate$address() { return H5VLterminate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static int H5VLterminate(long connector_id)
+ {
+ var mh$ = H5VLterminate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLterminate", connector_id);
+ }
+ return (int)mh$.invokeExact(connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_cap_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_cap_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_cap_flags$descriptor() { return H5VLget_cap_flags.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MethodHandle H5VLget_cap_flags$handle() { return H5VLget_cap_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MemorySegment H5VLget_cap_flags$address() { return H5VLget_cap_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static int H5VLget_cap_flags(long connector_id, MemorySegment cap_flags)
+ {
+ var mh$ = H5VLget_cap_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_cap_flags", connector_id, cap_flags);
+ }
+ return (int)mh$.invokeExact(connector_id, cap_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_value$descriptor() { return H5VLget_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static MethodHandle H5VLget_value$handle() { return H5VLget_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static MemorySegment H5VLget_value$address() { return H5VLget_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static int H5VLget_value(long connector_id, MemorySegment conn_value)
+ {
+ var mh$ = H5VLget_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_value", connector_id, conn_value);
+ }
+ return (int)mh$.invokeExact(connector_id, conn_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLcopy_connector_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLcopy_connector_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5VLcopy_connector_info$descriptor()
+ {
+ return H5VLcopy_connector_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static MethodHandle H5VLcopy_connector_info$handle() { return H5VLcopy_connector_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static MemorySegment H5VLcopy_connector_info$address() { return H5VLcopy_connector_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static int H5VLcopy_connector_info(long connector_id, MemorySegment dst_vol_info,
+ MemorySegment src_vol_info)
+ {
+ var mh$ = H5VLcopy_connector_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLcopy_connector_info", connector_id, dst_vol_info, src_vol_info);
+ }
+ return (int)mh$.invokeExact(connector_id, dst_vol_info, src_vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLcmp_connector_info {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLcmp_connector_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static FunctionDescriptor H5VLcmp_connector_info$descriptor()
+ {
+ return H5VLcmp_connector_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static MethodHandle H5VLcmp_connector_info$handle() { return H5VLcmp_connector_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static MemorySegment H5VLcmp_connector_info$address() { return H5VLcmp_connector_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static int H5VLcmp_connector_info(MemorySegment cmp, long connector_id, MemorySegment info1,
+ MemorySegment info2)
+ {
+ var mh$ = H5VLcmp_connector_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLcmp_connector_info", cmp, connector_id, info1, info2);
+ }
+ return (int)mh$.invokeExact(cmp, connector_id, info1, info2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfree_connector_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfree_connector_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5VLfree_connector_info$descriptor()
+ {
+ return H5VLfree_connector_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static MethodHandle H5VLfree_connector_info$handle() { return H5VLfree_connector_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static MemorySegment H5VLfree_connector_info$address() { return H5VLfree_connector_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static int H5VLfree_connector_info(long connector_id, MemorySegment vol_info)
+ {
+ var mh$ = H5VLfree_connector_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfree_connector_info", connector_id, vol_info);
+ }
+ return (int)mh$.invokeExact(connector_id, vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLconnector_info_to_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLconnector_info_to_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static FunctionDescriptor H5VLconnector_info_to_str$descriptor()
+ {
+ return H5VLconnector_info_to_str.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static MethodHandle H5VLconnector_info_to_str$handle() { return H5VLconnector_info_to_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static MemorySegment H5VLconnector_info_to_str$address() { return H5VLconnector_info_to_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static int H5VLconnector_info_to_str(MemorySegment info, long connector_id, MemorySegment str)
+ {
+ var mh$ = H5VLconnector_info_to_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLconnector_info_to_str", info, connector_id, str);
+ }
+ return (int)mh$.invokeExact(info, connector_id, str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLconnector_str_to_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLconnector_str_to_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static FunctionDescriptor H5VLconnector_str_to_info$descriptor()
+ {
+ return H5VLconnector_str_to_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static MethodHandle H5VLconnector_str_to_info$handle() { return H5VLconnector_str_to_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static MemorySegment H5VLconnector_str_to_info$address() { return H5VLconnector_str_to_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static int H5VLconnector_str_to_info(MemorySegment str, long connector_id, MemorySegment info)
+ {
+ var mh$ = H5VLconnector_str_to_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLconnector_str_to_info", str, connector_id, info);
+ }
+ return (int)mh$.invokeExact(str, connector_id, info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_create$descriptor() { return H5VLattr_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_create$handle() { return H5VLattr_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_create$address() { return H5VLattr_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_create(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment attr_name, long type_id,
+ long space_id, long acpl_id, long aapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLattr_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_create", obj, loc_params, connector_id, attr_name, type_id, space_id,
+ acpl_id, aapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, attr_name, type_id, space_id,
+ acpl_id, aapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_open$descriptor() { return H5VLattr_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_open$handle() { return H5VLattr_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_open$address() { return H5VLattr_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_open(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment name, long aapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLattr_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_open", obj, loc_params, connector_id, name, aapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, aapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_read {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_read");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_read$descriptor() { return H5VLattr_read.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_read$handle() { return H5VLattr_read.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_read$address() { return H5VLattr_read.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLattr_read(MemorySegment attr, long connector_id, long dtype_id, MemorySegment buf,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_read.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_read", attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_write {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_write");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_write$descriptor() { return H5VLattr_write.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_write$handle() { return H5VLattr_write.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_write$address() { return H5VLattr_write.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLattr_write(MemorySegment attr, long connector_id, long dtype_id, MemorySegment buf,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_write.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_write", attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_get {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_get$descriptor() { return H5VLattr_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_get$handle() { return H5VLattr_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_get$address() { return H5VLattr_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLattr_get(MemorySegment obj, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLattr_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_get", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_specific$descriptor() { return H5VLattr_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_specific$handle() { return H5VLattr_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_specific$address() { return H5VLattr_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLattr_specific(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_specific", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_optional$descriptor() { return H5VLattr_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_optional$handle() { return H5VLattr_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_optional$address() { return H5VLattr_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLattr_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_close$descriptor() { return H5VLattr_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_close$handle() { return H5VLattr_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_close$address() { return H5VLattr_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLattr_close(MemorySegment attr, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_close", attr, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(attr, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_create$descriptor() { return H5VLdataset_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_create$handle() { return H5VLdataset_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_create$address() { return H5VLdataset_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_create(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long lcpl_id,
+ long type_id, long space_id, long dcpl_id, long dapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_create", obj, loc_params, connector_id, name, lcpl_id, type_id,
+ space_id, dcpl_id, dapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, lcpl_id, type_id,
+ space_id, dcpl_id, dapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_open$descriptor() { return H5VLdataset_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_open$handle() { return H5VLdataset_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_open$address() { return H5VLdataset_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_open(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long dapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_open", obj, loc_params, connector_id, name, dapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, dapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_read {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_read");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_read$descriptor() { return H5VLdataset_read.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_read$handle() { return H5VLdataset_read.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_read$address() { return H5VLdataset_read.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static int H5VLdataset_read(long count, MemorySegment dset, long connector_id,
+ MemorySegment mem_type_id, MemorySegment mem_space_id,
+ MemorySegment file_space_id, long plist_id, MemorySegment buf,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_read.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_read", count, dset, connector_id, mem_type_id, mem_space_id,
+ file_space_id, plist_id, buf, req);
+ }
+ return (int)mh$.invokeExact(count, dset, connector_id, mem_type_id, mem_space_id, file_space_id,
+ plist_id, buf, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_write {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_write");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_write$descriptor() { return H5VLdataset_write.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_write$handle() { return H5VLdataset_write.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_write$address() { return H5VLdataset_write.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static int H5VLdataset_write(long count, MemorySegment dset, long connector_id,
+ MemorySegment mem_type_id, MemorySegment mem_space_id,
+ MemorySegment file_space_id, long plist_id, MemorySegment buf,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_write.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_write", count, dset, connector_id, mem_type_id, mem_space_id,
+ file_space_id, plist_id, buf, req);
+ }
+ return (int)mh$.invokeExact(count, dset, connector_id, mem_type_id, mem_space_id, file_space_id,
+ plist_id, buf, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_get {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_get$descriptor() { return H5VLdataset_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_get$handle() { return H5VLdataset_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_get$address() { return H5VLdataset_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdataset_get(MemorySegment dset, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_get", dset, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dset, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_specific {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_specific$descriptor() { return H5VLdataset_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_specific$handle() { return H5VLdataset_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_specific$address() { return H5VLdataset_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdataset_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_optional$descriptor() { return H5VLdataset_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_optional$handle() { return H5VLdataset_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_optional$address() { return H5VLdataset_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdataset_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_close$descriptor() { return H5VLdataset_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_close$handle() { return H5VLdataset_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_close$address() { return H5VLdataset_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdataset_close(MemorySegment dset, long connector_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_close", dset, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dset, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_commit {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_commit");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_commit$descriptor() { return H5VLdatatype_commit.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_commit$handle() { return H5VLdatatype_commit.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_commit$address() { return H5VLdatatype_commit.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_commit(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long type_id,
+ long lcpl_id, long tcpl_id, long tapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_commit.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_commit", obj, loc_params, connector_id, name, type_id, lcpl_id,
+ tcpl_id, tapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, type_id, lcpl_id,
+ tcpl_id, tapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_open$descriptor() { return H5VLdatatype_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_open$handle() { return H5VLdatatype_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_open$address() { return H5VLdatatype_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_open(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long tapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_open", obj, loc_params, connector_id, name, tapl_id, dxpl_id,
+ req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, tapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_get {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_get$descriptor() { return H5VLdatatype_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_get$handle() { return H5VLdatatype_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_get$address() { return H5VLdatatype_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdatatype_get(MemorySegment dt, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_get", dt, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dt, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_specific {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_specific$descriptor() { return H5VLdatatype_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_specific$handle() { return H5VLdatatype_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_specific$address() { return H5VLdatatype_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdatatype_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_optional$descriptor() { return H5VLdatatype_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_optional$handle() { return H5VLdatatype_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_optional$address() { return H5VLdatatype_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdatatype_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_close$descriptor() { return H5VLdatatype_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_close$handle() { return H5VLdatatype_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_close$address() { return H5VLdatatype_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdatatype_close(MemorySegment dt, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_close", dt, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dt, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_create$descriptor() { return H5VLfile_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_create$handle() { return H5VLfile_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_create$address() { return H5VLfile_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_create(MemorySegment name, int flags, long fcpl_id, long fapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_create", name, flags, fcpl_id, fapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(name, flags, fcpl_id, fapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_open {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_open$descriptor() { return H5VLfile_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_open$handle() { return H5VLfile_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_open$address() { return H5VLfile_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_open(MemorySegment name, int flags, long fapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLfile_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_open", name, flags, fapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(name, flags, fapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_get {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_get$descriptor() { return H5VLfile_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_get$handle() { return H5VLfile_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_get$address() { return H5VLfile_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLfile_get(MemorySegment file, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLfile_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_get", file, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(file, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_specific {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_specific$descriptor() { return H5VLfile_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_specific$handle() { return H5VLfile_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_specific$address() { return H5VLfile_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLfile_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_optional$descriptor() { return H5VLfile_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_optional$handle() { return H5VLfile_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_optional$address() { return H5VLfile_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLfile_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_close$descriptor() { return H5VLfile_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_close$handle() { return H5VLfile_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_close$address() { return H5VLfile_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLfile_close(MemorySegment file, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_close", file, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(file, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_create$descriptor() { return H5VLgroup_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_create$handle() { return H5VLgroup_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_create$address() { return H5VLgroup_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_create(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long lcpl_id,
+ long gcpl_id, long gapl_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_create", obj, loc_params, connector_id, name, lcpl_id, gcpl_id,
+ gapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, lcpl_id, gcpl_id,
+ gapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_open$descriptor() { return H5VLgroup_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_open$handle() { return H5VLgroup_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_open$address() { return H5VLgroup_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_open(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment name, long gapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLgroup_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_open", obj, loc_params, connector_id, name, gapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, gapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_get {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_get$descriptor() { return H5VLgroup_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_get$handle() { return H5VLgroup_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_get$address() { return H5VLgroup_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLgroup_get(MemorySegment obj, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLgroup_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_get", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_specific {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_specific$descriptor() { return H5VLgroup_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_specific$handle() { return H5VLgroup_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_specific$address() { return H5VLgroup_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLgroup_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_optional$descriptor() { return H5VLgroup_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_optional$handle() { return H5VLgroup_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_optional$address() { return H5VLgroup_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLgroup_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_close$descriptor() { return H5VLgroup_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_close$handle() { return H5VLgroup_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_close$address() { return H5VLgroup_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLgroup_close(MemorySegment grp, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_close", grp, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(grp, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_create$descriptor() { return H5VLlink_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_create$handle() { return H5VLlink_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_create$address() { return H5VLlink_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_create(MemorySegment args, MemorySegment obj, MemorySegment loc_params,
+ long connector_id, long lcpl_id, long lapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLlink_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_create", args, obj, loc_params, connector_id, lcpl_id, lapl_id,
+ dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(args, obj, loc_params, connector_id, lcpl_id, lapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_copy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_copy$descriptor() { return H5VLlink_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_copy$handle() { return H5VLlink_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_copy$address() { return H5VLlink_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLlink_copy(MemorySegment src_obj, MemorySegment loc_params1, MemorySegment dst_obj,
+ MemorySegment loc_params2, long connector_id, long lcpl_id, long lapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_copy", src_obj, loc_params1, dst_obj, loc_params2, connector_id,
+ lcpl_id, lapl_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(src_obj, loc_params1, dst_obj, loc_params2, connector_id, lcpl_id,
+ lapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_move {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_move");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_move$descriptor() { return H5VLlink_move.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_move$handle() { return H5VLlink_move.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_move$address() { return H5VLlink_move.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLlink_move(MemorySegment src_obj, MemorySegment loc_params1, MemorySegment dst_obj,
+ MemorySegment loc_params2, long connector_id, long lcpl_id, long lapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_move.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_move", src_obj, loc_params1, dst_obj, loc_params2, connector_id,
+ lcpl_id, lapl_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(src_obj, loc_params1, dst_obj, loc_params2, connector_id, lcpl_id,
+ lapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_get$descriptor() { return H5VLlink_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_get$handle() { return H5VLlink_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_get$address() { return H5VLlink_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_get(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_get", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_specific$descriptor() { return H5VLlink_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_specific$handle() { return H5VLlink_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_specific$address() { return H5VLlink_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_specific(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_specific", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_optional$descriptor() { return H5VLlink_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_optional$handle() { return H5VLlink_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_optional$address() { return H5VLlink_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_optional(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_optional", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_open$descriptor() { return H5VLobject_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_open$handle() { return H5VLobject_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_open$address() { return H5VLobject_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_open(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment opened_type, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLobject_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_open", obj, loc_params, connector_id, opened_type, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, opened_type, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_copy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_copy$descriptor() { return H5VLobject_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_copy$handle() { return H5VLobject_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_copy$address() { return H5VLobject_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_copy(MemorySegment src_obj, MemorySegment loc_params1,
+ MemorySegment src_name, MemorySegment dst_obj,
+ MemorySegment loc_params2, MemorySegment dst_name, long connector_id,
+ long ocpypl_id, long lcpl_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_copy", src_obj, loc_params1, src_name, dst_obj, loc_params2,
+ dst_name, connector_id, ocpypl_id, lcpl_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(src_obj, loc_params1, src_name, dst_obj, loc_params2, dst_name,
+ connector_id, ocpypl_id, lcpl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_get$descriptor() { return H5VLobject_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_get$handle() { return H5VLobject_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_get$address() { return H5VLobject_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_get(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_get", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_specific$descriptor() { return H5VLobject_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_specific$handle() { return H5VLobject_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_specific$address() { return H5VLobject_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_specific(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_specific", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_optional$descriptor() { return H5VLobject_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_optional$handle() { return H5VLobject_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_optional$address() { return H5VLobject_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_optional(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_optional", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLintrospect_get_conn_cls {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLintrospect_get_conn_cls");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static FunctionDescriptor H5VLintrospect_get_conn_cls$descriptor()
+ {
+ return H5VLintrospect_get_conn_cls.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static MethodHandle H5VLintrospect_get_conn_cls$handle()
+ {
+ return H5VLintrospect_get_conn_cls.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static MemorySegment H5VLintrospect_get_conn_cls$address()
+ {
+ return H5VLintrospect_get_conn_cls.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static int H5VLintrospect_get_conn_cls(MemorySegment obj, long connector_id, int lvl,
+ MemorySegment conn_cls)
+ {
+ var mh$ = H5VLintrospect_get_conn_cls.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLintrospect_get_conn_cls", obj, connector_id, lvl, conn_cls);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, lvl, conn_cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLintrospect_get_cap_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLintrospect_get_cap_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLintrospect_get_cap_flags$descriptor()
+ {
+ return H5VLintrospect_get_cap_flags.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MethodHandle H5VLintrospect_get_cap_flags$handle()
+ {
+ return H5VLintrospect_get_cap_flags.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MemorySegment H5VLintrospect_get_cap_flags$address()
+ {
+ return H5VLintrospect_get_cap_flags.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static int H5VLintrospect_get_cap_flags(MemorySegment info, long connector_id,
+ MemorySegment cap_flags)
+ {
+ var mh$ = H5VLintrospect_get_cap_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLintrospect_get_cap_flags", info, connector_id, cap_flags);
+ }
+ return (int)mh$.invokeExact(info, connector_id, cap_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLintrospect_opt_query {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLintrospect_opt_query");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLintrospect_opt_query$descriptor()
+ {
+ return H5VLintrospect_opt_query.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static MethodHandle H5VLintrospect_opt_query$handle() { return H5VLintrospect_opt_query.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static MemorySegment H5VLintrospect_opt_query$address() { return H5VLintrospect_opt_query.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static int H5VLintrospect_opt_query(MemorySegment obj, long connector_id, int subcls, int opt_type,
+ MemorySegment flags)
+ {
+ var mh$ = H5VLintrospect_opt_query.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLintrospect_opt_query", obj, connector_id, subcls, opt_type, flags);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, subcls, opt_type, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_wait {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_wait");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_wait$descriptor() { return H5VLrequest_wait.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static MethodHandle H5VLrequest_wait$handle() { return H5VLrequest_wait.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static MemorySegment H5VLrequest_wait$address() { return H5VLrequest_wait.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static int H5VLrequest_wait(MemorySegment req, long connector_id, long timeout,
+ MemorySegment status)
+ {
+ var mh$ = H5VLrequest_wait.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_wait", req, connector_id, timeout, status);
+ }
+ return (int)mh$.invokeExact(req, connector_id, timeout, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_notify {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_notify");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_notify$descriptor() { return H5VLrequest_notify.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static MethodHandle H5VLrequest_notify$handle() { return H5VLrequest_notify.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static MemorySegment H5VLrequest_notify$address() { return H5VLrequest_notify.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static int H5VLrequest_notify(MemorySegment req, long connector_id, MemorySegment cb,
+ MemorySegment ctx)
+ {
+ var mh$ = H5VLrequest_notify.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_notify", req, connector_id, cb, ctx);
+ }
+ return (int)mh$.invokeExact(req, connector_id, cb, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_cancel {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_cancel");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_cancel$descriptor() { return H5VLrequest_cancel.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static MethodHandle H5VLrequest_cancel$handle() { return H5VLrequest_cancel.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static MemorySegment H5VLrequest_cancel$address() { return H5VLrequest_cancel.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static int H5VLrequest_cancel(MemorySegment req, long connector_id, MemorySegment status)
+ {
+ var mh$ = H5VLrequest_cancel.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_cancel", req, connector_id, status);
+ }
+ return (int)mh$.invokeExact(req, connector_id, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_specific$descriptor() { return H5VLrequest_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLrequest_specific$handle() { return H5VLrequest_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLrequest_specific$address() { return H5VLrequest_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static int H5VLrequest_specific(MemorySegment req, long connector_id, MemorySegment args)
+ {
+ var mh$ = H5VLrequest_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_specific", req, connector_id, args);
+ }
+ return (int)mh$.invokeExact(req, connector_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_optional$descriptor() { return H5VLrequest_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLrequest_optional$handle() { return H5VLrequest_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLrequest_optional$address() { return H5VLrequest_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static int H5VLrequest_optional(MemorySegment req, long connector_id, MemorySegment args)
+ {
+ var mh$ = H5VLrequest_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_optional", req, connector_id, args);
+ }
+ return (int)mh$.invokeExact(req, connector_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_free {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_free");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_free$descriptor() { return H5VLrequest_free.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLrequest_free$handle() { return H5VLrequest_free.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLrequest_free$address() { return H5VLrequest_free.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static int H5VLrequest_free(MemorySegment req, long connector_id)
+ {
+ var mh$ = H5VLrequest_free.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_free", req, connector_id);
+ }
+ return (int)mh$.invokeExact(req, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_put {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_put");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_put$descriptor() { return H5VLblob_put.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static MethodHandle H5VLblob_put$handle() { return H5VLblob_put.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static MemorySegment H5VLblob_put$address() { return H5VLblob_put.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static int H5VLblob_put(MemorySegment obj, long connector_id, MemorySegment buf, long size,
+ MemorySegment blob_id, MemorySegment ctx)
+ {
+ var mh$ = H5VLblob_put.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_put", obj, connector_id, buf, size, blob_id, ctx);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, buf, size, blob_id, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_get$descriptor() { return H5VLblob_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static MethodHandle H5VLblob_get$handle() { return H5VLblob_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static MemorySegment H5VLblob_get$address() { return H5VLblob_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static int H5VLblob_get(MemorySegment obj, long connector_id, MemorySegment blob_id,
+ MemorySegment buf, long size, MemorySegment ctx)
+ {
+ var mh$ = H5VLblob_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_get", obj, connector_id, blob_id, buf, size, ctx);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, blob_id, buf, size, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_specific {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_specific$descriptor() { return H5VLblob_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLblob_specific$handle() { return H5VLblob_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLblob_specific$address() { return H5VLblob_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static int H5VLblob_specific(MemorySegment obj, long connector_id, MemorySegment blob_id,
+ MemorySegment args)
+ {
+ var mh$ = H5VLblob_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_specific", obj, connector_id, blob_id, args);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, blob_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_optional$descriptor() { return H5VLblob_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLblob_optional$handle() { return H5VLblob_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLblob_optional$address() { return H5VLblob_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static int H5VLblob_optional(MemorySegment obj, long connector_id, MemorySegment blob_id,
+ MemorySegment args)
+ {
+ var mh$ = H5VLblob_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_optional", obj, connector_id, blob_id, args);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, blob_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLtoken_cmp {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLtoken_cmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLtoken_cmp$descriptor() { return H5VLtoken_cmp.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static MethodHandle H5VLtoken_cmp$handle() { return H5VLtoken_cmp.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static MemorySegment H5VLtoken_cmp$address() { return H5VLtoken_cmp.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static int H5VLtoken_cmp(MemorySegment obj, long connector_id, MemorySegment token1,
+ MemorySegment token2, MemorySegment cmp_value)
+ {
+ var mh$ = H5VLtoken_cmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLtoken_cmp", obj, connector_id, token1, token2, cmp_value);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, token1, token2, cmp_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLtoken_to_str {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLtoken_to_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static FunctionDescriptor H5VLtoken_to_str$descriptor() { return H5VLtoken_to_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static MethodHandle H5VLtoken_to_str$handle() { return H5VLtoken_to_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static MemorySegment H5VLtoken_to_str$address() { return H5VLtoken_to_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static int H5VLtoken_to_str(MemorySegment obj, int obj_type, long connector_id,
+ MemorySegment token, MemorySegment token_str)
+ {
+ var mh$ = H5VLtoken_to_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLtoken_to_str", obj, obj_type, connector_id, token, token_str);
+ }
+ return (int)mh$.invokeExact(obj, obj_type, connector_id, token, token_str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLtoken_from_str {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLtoken_from_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static FunctionDescriptor H5VLtoken_from_str$descriptor() { return H5VLtoken_from_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static MethodHandle H5VLtoken_from_str$handle() { return H5VLtoken_from_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static MemorySegment H5VLtoken_from_str$address() { return H5VLtoken_from_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static int H5VLtoken_from_str(MemorySegment obj, int obj_type, long connector_id,
+ MemorySegment token_str, MemorySegment token)
+ {
+ var mh$ = H5VLtoken_from_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLtoken_from_str", obj, obj_type, connector_id, token_str, token);
+ }
+ return (int)mh$.invokeExact(obj, obj_type, connector_id, token_str, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLoptional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLoptional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLoptional$descriptor() { return H5VLoptional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLoptional$handle() { return H5VLoptional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLoptional$address() { return H5VLoptional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLoptional(MemorySegment obj, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLoptional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLoptional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VL_NATIVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5VL_NATIVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static OfLong H5VL_NATIVE_g$layout() { return H5VL_NATIVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static MemorySegment H5VL_NATIVE_g$segment() { return H5VL_NATIVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static long H5VL_NATIVE_g()
+ {
+ return H5VL_NATIVE_g$constants.SEGMENT.get(H5VL_NATIVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static void H5VL_NATIVE_g(long varValue)
+ {
+ H5VL_NATIVE_g$constants.SEGMENT.set(H5VL_NATIVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5VLnative_addr_to_token {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLnative_addr_to_token");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static FunctionDescriptor H5VLnative_addr_to_token$descriptor()
+ {
+ return H5VLnative_addr_to_token.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static MethodHandle H5VLnative_addr_to_token$handle() { return H5VLnative_addr_to_token.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static MemorySegment H5VLnative_addr_to_token$address() { return H5VLnative_addr_to_token.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static int H5VLnative_addr_to_token(long loc_id, long addr, MemorySegment token)
+ {
+ var mh$ = H5VLnative_addr_to_token.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLnative_addr_to_token", loc_id, addr, token);
+ }
+ return (int)mh$.invokeExact(loc_id, addr, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLnative_token_to_addr {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, H5O_token_t.layout(), hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLnative_token_to_addr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static FunctionDescriptor H5VLnative_token_to_addr$descriptor()
+ {
+ return H5VLnative_token_to_addr.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static MethodHandle H5VLnative_token_to_addr$handle() { return H5VLnative_token_to_addr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static MemorySegment H5VLnative_token_to_addr$address() { return H5VLnative_token_to_addr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static int H5VLnative_token_to_addr(long loc_id, MemorySegment token, MemorySegment addr)
+ {
+ var mh$ = H5VLnative_token_to_addr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLnative_token_to_addr", loc_id, token, addr);
+ }
+ return (int)mh$.invokeExact(loc_id, token, addr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_CORE_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_CORE_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static OfLong H5FD_CORE_id_g$layout() { return H5FD_CORE_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static MemorySegment H5FD_CORE_id_g$segment() { return H5FD_CORE_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static long H5FD_CORE_id_g()
+ {
+ return H5FD_CORE_id_g$constants.SEGMENT.get(H5FD_CORE_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static void H5FD_CORE_id_g(long varValue)
+ {
+ H5FD_CORE_id_g$constants.SEGMENT.set(H5FD_CORE_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_core {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_core");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_core$descriptor() { return H5Pset_fapl_core.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_core$handle() { return H5Pset_fapl_core.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_core$address() { return H5Pset_fapl_core.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static int H5Pset_fapl_core(long fapl_id, long increment, boolean backing_store)
+ {
+ var mh$ = H5Pset_fapl_core.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_core", fapl_id, increment, backing_store);
+ }
+ return (int)mh$.invokeExact(fapl_id, increment, backing_store);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_core {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_core");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_core$descriptor() { return H5Pget_fapl_core.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_core$handle() { return H5Pget_fapl_core.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_core$address() { return H5Pget_fapl_core.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static int H5Pget_fapl_core(long fapl_id, MemorySegment increment, MemorySegment backing_store)
+ {
+ var mh$ = H5Pget_fapl_core.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_core", fapl_id, increment, backing_store);
+ }
+ return (int)mh$.invokeExact(fapl_id, increment, backing_store);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_FAMILY_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_FAMILY_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static OfLong H5FD_FAMILY_id_g$layout() { return H5FD_FAMILY_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static MemorySegment H5FD_FAMILY_id_g$segment() { return H5FD_FAMILY_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static long H5FD_FAMILY_id_g()
+ {
+ return H5FD_FAMILY_id_g$constants.SEGMENT.get(H5FD_FAMILY_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static void H5FD_FAMILY_id_g(long varValue)
+ {
+ H5FD_FAMILY_id_g$constants.SEGMENT.set(H5FD_FAMILY_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_family {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_family");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_family$descriptor() { return H5Pset_fapl_family.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_family$handle() { return H5Pset_fapl_family.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_family$address() { return H5Pset_fapl_family.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_family(long fapl_id, long memb_size, long memb_fapl_id)
+ {
+ var mh$ = H5Pset_fapl_family.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_family", fapl_id, memb_size, memb_fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_size, memb_fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_family {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_family");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_family$descriptor() { return H5Pget_fapl_family.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_family$handle() { return H5Pget_fapl_family.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_family$address() { return H5Pget_fapl_family.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static int H5Pget_fapl_family(long fapl_id, MemorySegment memb_size, MemorySegment memb_fapl_id)
+ {
+ var mh$ = H5Pget_fapl_family.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_family", fapl_id, memb_size, memb_fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_size, memb_fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_LOG_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_LOG_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static OfLong H5FD_LOG_id_g$layout() { return H5FD_LOG_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static MemorySegment H5FD_LOG_id_g$segment() { return H5FD_LOG_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static long H5FD_LOG_id_g()
+ {
+ return H5FD_LOG_id_g$constants.SEGMENT.get(H5FD_LOG_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static void H5FD_LOG_id_g(long varValue)
+ {
+ H5FD_LOG_id_g$constants.SEGMENT.set(H5FD_LOG_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_log {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_log");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_log$descriptor() { return H5Pset_fapl_log.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_log$handle() { return H5Pset_fapl_log.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_log$address() { return H5Pset_fapl_log.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static int H5Pset_fapl_log(long fapl_id, MemorySegment logfile, long flags, long buf_size)
+ {
+ var mh$ = H5Pset_fapl_log.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_log", fapl_id, logfile, flags, buf_size);
+ }
+ return (int)mh$.invokeExact(fapl_id, logfile, flags, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5FD_MPIO_INDEPENDENT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_xfer_t.H5FD_MPIO_INDEPENDENT = 0
+ * }
+ */
+ public static int H5FD_MPIO_INDEPENDENT() { return H5FD_MPIO_INDEPENDENT; }
+ private static final int H5FD_MPIO_COLLECTIVE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_xfer_t.H5FD_MPIO_COLLECTIVE = 1
+ * }
+ */
+ public static int H5FD_MPIO_COLLECTIVE() { return H5FD_MPIO_COLLECTIVE; }
+ private static final int H5FD_MPIO_CHUNK_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_chunk_opt_t.H5FD_MPIO_CHUNK_DEFAULT = 0
+ * }
+ */
+ public static int H5FD_MPIO_CHUNK_DEFAULT() { return H5FD_MPIO_CHUNK_DEFAULT; }
+ private static final int H5FD_MPIO_CHUNK_ONE_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_chunk_opt_t.H5FD_MPIO_CHUNK_ONE_IO = 1
+ * }
+ */
+ public static int H5FD_MPIO_CHUNK_ONE_IO() { return H5FD_MPIO_CHUNK_ONE_IO; }
+ private static final int H5FD_MPIO_CHUNK_MULTI_IO = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_chunk_opt_t.H5FD_MPIO_CHUNK_MULTI_IO = 2
+ * }
+ */
+ public static int H5FD_MPIO_CHUNK_MULTI_IO() { return H5FD_MPIO_CHUNK_MULTI_IO; }
+ private static final int H5FD_MPIO_COLLECTIVE_IO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_collective_opt_t.H5FD_MPIO_COLLECTIVE_IO = 0
+ * }
+ */
+ public static int H5FD_MPIO_COLLECTIVE_IO() { return H5FD_MPIO_COLLECTIVE_IO; }
+ private static final int H5FD_MPIO_INDIVIDUAL_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_collective_opt_t.H5FD_MPIO_INDIVIDUAL_IO = 1
+ * }
+ */
+ public static int H5FD_MPIO_INDIVIDUAL_IO() { return H5FD_MPIO_INDIVIDUAL_IO; }
+
+ private static class H5FD_MULTI_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_MULTI_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static OfLong H5FD_MULTI_id_g$layout() { return H5FD_MULTI_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static MemorySegment H5FD_MULTI_id_g$segment() { return H5FD_MULTI_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static long H5FD_MULTI_id_g()
+ {
+ return H5FD_MULTI_id_g$constants.SEGMENT.get(H5FD_MULTI_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static void H5FD_MULTI_id_g(long varValue)
+ {
+ H5FD_MULTI_id_g$constants.SEGMENT.set(H5FD_MULTI_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_multi$descriptor() { return H5Pset_fapl_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_multi$handle() { return H5Pset_fapl_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_multi$address() { return H5Pset_fapl_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static int H5Pset_fapl_multi(long fapl_id, MemorySegment memb_map, MemorySegment memb_fapl,
+ MemorySegment memb_name, MemorySegment memb_addr, boolean relax)
+ {
+ var mh$ = H5Pset_fapl_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_multi", fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_multi$descriptor() { return H5Pget_fapl_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_multi$handle() { return H5Pget_fapl_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_multi$address() { return H5Pget_fapl_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static int H5Pget_fapl_multi(long fapl_id, MemorySegment memb_map, MemorySegment memb_fapl,
+ MemorySegment memb_name, MemorySegment memb_addr, MemorySegment relax)
+ {
+ var mh$ = H5Pget_fapl_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_multi", fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_split {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_split");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_split$descriptor() { return H5Pset_fapl_split.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_split$handle() { return H5Pset_fapl_split.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_split$address() { return H5Pset_fapl_split.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static int H5Pset_fapl_split(long fapl, MemorySegment meta_ext, long meta_plist_id,
+ MemorySegment raw_ext, long raw_plist_id)
+ {
+ var mh$ = H5Pset_fapl_split.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_split", fapl, meta_ext, meta_plist_id, raw_ext, raw_plist_id);
+ }
+ return (int)mh$.invokeExact(fapl, meta_ext, meta_plist_id, raw_ext, raw_plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5FD_ONION_STORE_TARGET_ONION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_onion_target_file_constant_t.H5FD_ONION_STORE_TARGET_ONION = 0
+ * }
+ */
+ public static int H5FD_ONION_STORE_TARGET_ONION() { return H5FD_ONION_STORE_TARGET_ONION; }
+
+ private static class H5FD_ONION_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_ONION_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static OfLong H5FD_ONION_id_g$layout() { return H5FD_ONION_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static MemorySegment H5FD_ONION_id_g$segment() { return H5FD_ONION_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static long H5FD_ONION_id_g()
+ {
+ return H5FD_ONION_id_g$constants.SEGMENT.get(H5FD_ONION_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static void H5FD_ONION_id_g(long varValue)
+ {
+ H5FD_ONION_id_g$constants.SEGMENT.set(H5FD_ONION_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pget_fapl_onion {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_onion");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_onion$descriptor() { return H5Pget_fapl_onion.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_onion$handle() { return H5Pget_fapl_onion.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_onion$address() { return H5Pget_fapl_onion.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static int H5Pget_fapl_onion(long fapl_id, MemorySegment fa_out)
+ {
+ var mh$ = H5Pget_fapl_onion.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_onion", fapl_id, fa_out);
+ }
+ return (int)mh$.invokeExact(fapl_id, fa_out);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_onion {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_onion");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_onion$descriptor() { return H5Pset_fapl_onion.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_onion$handle() { return H5Pset_fapl_onion.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_onion$address() { return H5Pset_fapl_onion.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static int H5Pset_fapl_onion(long fapl_id, MemorySegment fa)
+ {
+ var mh$ = H5Pset_fapl_onion.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_onion", fapl_id, fa);
+ }
+ return (int)mh$.invokeExact(fapl_id, fa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDonion_get_revision_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDonion_get_revision_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static FunctionDescriptor H5FDonion_get_revision_count$descriptor()
+ {
+ return H5FDonion_get_revision_count.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static MethodHandle H5FDonion_get_revision_count$handle()
+ {
+ return H5FDonion_get_revision_count.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static MemorySegment H5FDonion_get_revision_count$address()
+ {
+ return H5FDonion_get_revision_count.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static int H5FDonion_get_revision_count(MemorySegment filename, long fapl_id,
+ MemorySegment revision_count)
+ {
+ var mh$ = H5FDonion_get_revision_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDonion_get_revision_count", filename, fapl_id, revision_count);
+ }
+ return (int)mh$.invokeExact(filename, fapl_id, revision_count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_SEC2_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_SEC2_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static OfLong H5FD_SEC2_id_g$layout() { return H5FD_SEC2_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static MemorySegment H5FD_SEC2_id_g$segment() { return H5FD_SEC2_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static long H5FD_SEC2_id_g()
+ {
+ return H5FD_SEC2_id_g$constants.SEGMENT.get(H5FD_SEC2_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static void H5FD_SEC2_id_g(long varValue)
+ {
+ H5FD_SEC2_id_g$constants.SEGMENT.set(H5FD_SEC2_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_sec2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_sec2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_sec2$descriptor() { return H5Pset_fapl_sec2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_sec2$handle() { return H5Pset_fapl_sec2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_sec2$address() { return H5Pset_fapl_sec2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_sec2(long fapl_id)
+ {
+ var mh$ = H5Pset_fapl_sec2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_sec2", fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_SPLITTER_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_SPLITTER_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static OfLong H5FD_SPLITTER_id_g$layout() { return H5FD_SPLITTER_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static MemorySegment H5FD_SPLITTER_id_g$segment() { return H5FD_SPLITTER_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static long H5FD_SPLITTER_id_g()
+ {
+ return H5FD_SPLITTER_id_g$constants.SEGMENT.get(H5FD_SPLITTER_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static void H5FD_SPLITTER_id_g(long varValue)
+ {
+ H5FD_SPLITTER_id_g$constants.SEGMENT.set(H5FD_SPLITTER_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_splitter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_splitter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_splitter$descriptor() { return H5Pset_fapl_splitter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_splitter$handle() { return H5Pset_fapl_splitter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_splitter$address() { return H5Pset_fapl_splitter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pset_fapl_splitter(long fapl_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pset_fapl_splitter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_splitter", fapl_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_splitter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_splitter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_splitter$descriptor() { return H5Pget_fapl_splitter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_splitter$handle() { return H5Pget_fapl_splitter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_splitter$address() { return H5Pget_fapl_splitter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pget_fapl_splitter(long fapl_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pget_fapl_splitter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_splitter", fapl_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_STDIO_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_STDIO_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static OfLong H5FD_STDIO_id_g$layout() { return H5FD_STDIO_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static MemorySegment H5FD_STDIO_id_g$segment() { return H5FD_STDIO_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static long H5FD_STDIO_id_g()
+ {
+ return H5FD_STDIO_id_g$constants.SEGMENT.get(H5FD_STDIO_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static void H5FD_STDIO_id_g(long varValue)
+ {
+ H5FD_STDIO_id_g$constants.SEGMENT.set(H5FD_STDIO_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_stdio {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_stdio");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_stdio$descriptor() { return H5Pset_fapl_stdio.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_stdio$handle() { return H5Pset_fapl_stdio.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_stdio$address() { return H5Pset_fapl_stdio.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_stdio(long fapl_id)
+ {
+ var mh$ = H5Pset_fapl_stdio.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_stdio", fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VL_PASSTHRU_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5VL_PASSTHRU_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static OfLong H5VL_PASSTHRU_g$layout() { return H5VL_PASSTHRU_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static MemorySegment H5VL_PASSTHRU_g$segment() { return H5VL_PASSTHRU_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static long H5VL_PASSTHRU_g()
+ {
+ return H5VL_PASSTHRU_g$constants.SEGMENT.get(H5VL_PASSTHRU_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static void H5VL_PASSTHRU_g(long varValue)
+ {
+ H5VL_PASSTHRU_g$constants.SEGMENT.set(H5VL_PASSTHRU_g$constants.LAYOUT, 0L, varValue);
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_DEFAULT_PLUGINDIR
+ * "/home/runner/work/hdf5/hdf5/install/lib/plugin:/usr/local/hdf5/lib/plugin"
+ * }
+ */
+ public static MemorySegment H5_DEFAULT_PLUGINDIR()
+ {
+ class Holder {
+ static final MemorySegment H5_DEFAULT_PLUGINDIR = hdf5_h.LIBRARY_ARENA.allocateFrom(
+ "/home/runner/work/hdf5/hdf5/install/lib/plugin:/usr/local/hdf5/lib/plugin");
+ }
+ return Holder.H5_DEFAULT_PLUGINDIR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE "hdf5"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE = hdf5_h.LIBRARY_ARENA.allocateFrom("hdf5");
+ }
+ return Holder.H5_PACKAGE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_BUGREPORT "help@hdfgroup.org"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_BUGREPORT()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_BUGREPORT =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("help@hdfgroup.org");
+ }
+ return Holder.H5_PACKAGE_BUGREPORT;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_NAME "HDF5"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5");
+ }
+ return Holder.H5_PACKAGE_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_STRING "HDF5 2.0.0.4"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_STRING()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_STRING = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5 2.0.0.4");
+ }
+ return Holder.H5_PACKAGE_STRING;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_TARNAME "hdf5"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_TARNAME()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_TARNAME = hdf5_h.LIBRARY_ARENA.allocateFrom("hdf5");
+ }
+ return Holder.H5_PACKAGE_TARNAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_URL "https://www.hdfgroup.org"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_URL()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_URL =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("https://www.hdfgroup.org");
+ }
+ return Holder.H5_PACKAGE_URL;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_VERSION "2.0.0.4"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_VERSION()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_VERSION = hdf5_h.LIBRARY_ARENA.allocateFrom("2.0.0.4");
+ }
+ return Holder.H5_PACKAGE_VERSION;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERSION "2.0.0.4"
+ * }
+ */
+ public static MemorySegment H5_VERSION()
+ {
+ class Holder {
+ static final MemorySegment H5_VERSION = hdf5_h.LIBRARY_ARENA.allocateFrom("2.0.0.4");
+ }
+ return Holder.H5_VERSION;
+ }
+ private static final long _POSIX_C_SOURCE = 200809L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_C_SOURCE 200809
+ * }
+ */
+ public static long _POSIX_C_SOURCE() { return _POSIX_C_SOURCE; }
+ private static final int __TIMESIZE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define __TIMESIZE 64
+ * }
+ */
+ public static int __TIMESIZE() { return __TIMESIZE; }
+ private static final long __STDC_IEC_60559_BFP__ = 201404L;
+ /**
+ * {@snippet lang=c :
+ * #define __STDC_IEC_60559_BFP__ 201404
+ * }
+ */
+ public static long __STDC_IEC_60559_BFP__() { return __STDC_IEC_60559_BFP__; }
+ private static final long __STDC_IEC_60559_COMPLEX__ = 201404L;
+ /**
+ * {@snippet lang=c :
+ * #define __STDC_IEC_60559_COMPLEX__ 201404
+ * }
+ */
+ public static long __STDC_IEC_60559_COMPLEX__() { return __STDC_IEC_60559_COMPLEX__; }
+ private static final long __STDC_ISO_10646__ = 201706L;
+ /**
+ * {@snippet lang=c :
+ * #define __STDC_ISO_10646__ 201706
+ * }
+ */
+ public static long __STDC_ISO_10646__() { return __STDC_ISO_10646__; }
+ private static final int __WCHAR_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define __WCHAR_MAX 2147483647
+ * }
+ */
+ public static int __WCHAR_MAX() { return __WCHAR_MAX; }
+ private static final int __WCHAR_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define __WCHAR_MIN -2147483648
+ * }
+ */
+ public static int __WCHAR_MIN() { return __WCHAR_MIN; }
+ private static final int INT8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define INT8_MIN -128
+ * }
+ */
+ public static int INT8_MIN() { return INT8_MIN; }
+ private static final int INT16_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define INT16_MIN -32768
+ * }
+ */
+ public static int INT16_MIN() { return INT16_MIN; }
+ private static final int INT32_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT32_MIN -2147483648
+ * }
+ */
+ public static int INT32_MIN() { return INT32_MIN; }
+ private static final long INT64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT64_MIN -9223372036854775808
+ * }
+ */
+ public static long INT64_MIN() { return INT64_MIN; }
+ private static final int INT8_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define INT8_MAX 127
+ * }
+ */
+ public static int INT8_MAX() { return INT8_MAX; }
+ private static final int INT16_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define INT16_MAX 32767
+ * }
+ */
+ public static int INT16_MAX() { return INT16_MAX; }
+ private static final int INT32_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT32_MAX 2147483647
+ * }
+ */
+ public static int INT32_MAX() { return INT32_MAX; }
+ private static final long INT64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT64_MAX 9223372036854775807
+ * }
+ */
+ public static long INT64_MAX() { return INT64_MAX; }
+ private static final int UINT8_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT8_MAX 255
+ * }
+ */
+ public static int UINT8_MAX() { return UINT8_MAX; }
+ private static final int UINT16_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT16_MAX 65535
+ * }
+ */
+ public static int UINT16_MAX() { return UINT16_MAX; }
+ private static final int UINT32_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT32_MAX 4294967295
+ * }
+ */
+ public static int UINT32_MAX() { return UINT32_MAX; }
+ private static final long UINT64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT64_MAX -1
+ * }
+ */
+ public static long UINT64_MAX() { return UINT64_MAX; }
+ private static final int INT_LEAST8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST8_MIN -128
+ * }
+ */
+ public static int INT_LEAST8_MIN() { return INT_LEAST8_MIN; }
+ private static final int INT_LEAST16_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST16_MIN -32768
+ * }
+ */
+ public static int INT_LEAST16_MIN() { return INT_LEAST16_MIN; }
+ private static final int INT_LEAST32_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST32_MIN -2147483648
+ * }
+ */
+ public static int INT_LEAST32_MIN() { return INT_LEAST32_MIN; }
+ private static final long INT_LEAST64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST64_MIN -9223372036854775808
+ * }
+ */
+ public static long INT_LEAST64_MIN() { return INT_LEAST64_MIN; }
+ private static final int INT_LEAST8_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST8_MAX 127
+ * }
+ */
+ public static int INT_LEAST8_MAX() { return INT_LEAST8_MAX; }
+ private static final int INT_LEAST16_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST16_MAX 32767
+ * }
+ */
+ public static int INT_LEAST16_MAX() { return INT_LEAST16_MAX; }
+ private static final int INT_LEAST32_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST32_MAX 2147483647
+ * }
+ */
+ public static int INT_LEAST32_MAX() { return INT_LEAST32_MAX; }
+ private static final long INT_LEAST64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST64_MAX 9223372036854775807
+ * }
+ */
+ public static long INT_LEAST64_MAX() { return INT_LEAST64_MAX; }
+ private static final int UINT_LEAST8_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST8_MAX 255
+ * }
+ */
+ public static int UINT_LEAST8_MAX() { return UINT_LEAST8_MAX; }
+ private static final int UINT_LEAST16_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST16_MAX 65535
+ * }
+ */
+ public static int UINT_LEAST16_MAX() { return UINT_LEAST16_MAX; }
+ private static final int UINT_LEAST32_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST32_MAX 4294967295
+ * }
+ */
+ public static int UINT_LEAST32_MAX() { return UINT_LEAST32_MAX; }
+ private static final long UINT_LEAST64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST64_MAX -1
+ * }
+ */
+ public static long UINT_LEAST64_MAX() { return UINT_LEAST64_MAX; }
+ private static final int INT_FAST8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST8_MIN -128
+ * }
+ */
+ public static int INT_FAST8_MIN() { return INT_FAST8_MIN; }
+ private static final long INT_FAST16_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST16_MIN -9223372036854775808
+ * }
+ */
+ public static long INT_FAST16_MIN() { return INT_FAST16_MIN; }
+ private static final long INT_FAST32_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST32_MIN -9223372036854775808
+ * }
+ */
+ public static long INT_FAST32_MIN() { return INT_FAST32_MIN; }
+ private static final long INT_FAST64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST64_MIN -9223372036854775808
+ * }
+ */
+ public static long INT_FAST64_MIN() { return INT_FAST64_MIN; }
+ private static final int INT_FAST8_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST8_MAX 127
+ * }
+ */
+ public static int INT_FAST8_MAX() { return INT_FAST8_MAX; }
+ private static final long INT_FAST16_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST16_MAX 9223372036854775807
+ * }
+ */
+ public static long INT_FAST16_MAX() { return INT_FAST16_MAX; }
+ private static final long INT_FAST32_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST32_MAX 9223372036854775807
+ * }
+ */
+ public static long INT_FAST32_MAX() { return INT_FAST32_MAX; }
+ private static final long INT_FAST64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST64_MAX 9223372036854775807
+ * }
+ */
+ public static long INT_FAST64_MAX() { return INT_FAST64_MAX; }
+ private static final int UINT_FAST8_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST8_MAX 255
+ * }
+ */
+ public static int UINT_FAST8_MAX() { return UINT_FAST8_MAX; }
+ private static final long UINT_FAST16_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST16_MAX -1
+ * }
+ */
+ public static long UINT_FAST16_MAX() { return UINT_FAST16_MAX; }
+ private static final long UINT_FAST32_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST32_MAX -1
+ * }
+ */
+ public static long UINT_FAST32_MAX() { return UINT_FAST32_MAX; }
+ private static final long UINT_FAST64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST64_MAX -1
+ * }
+ */
+ public static long UINT_FAST64_MAX() { return UINT_FAST64_MAX; }
+ private static final long INTPTR_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INTPTR_MIN -9223372036854775808
+ * }
+ */
+ public static long INTPTR_MIN() { return INTPTR_MIN; }
+ private static final long INTPTR_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INTPTR_MAX 9223372036854775807
+ * }
+ */
+ public static long INTPTR_MAX() { return INTPTR_MAX; }
+ private static final long UINTPTR_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINTPTR_MAX -1
+ * }
+ */
+ public static long UINTPTR_MAX() { return UINTPTR_MAX; }
+ private static final long INTMAX_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INTMAX_MIN -9223372036854775808
+ * }
+ */
+ public static long INTMAX_MIN() { return INTMAX_MIN; }
+ private static final long INTMAX_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INTMAX_MAX 9223372036854775807
+ * }
+ */
+ public static long INTMAX_MAX() { return INTMAX_MAX; }
+ private static final long UINTMAX_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINTMAX_MAX -1
+ * }
+ */
+ public static long UINTMAX_MAX() { return UINTMAX_MAX; }
+ private static final long PTRDIFF_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define PTRDIFF_MIN -9223372036854775808
+ * }
+ */
+ public static long PTRDIFF_MIN() { return PTRDIFF_MIN; }
+ private static final long PTRDIFF_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define PTRDIFF_MAX 9223372036854775807
+ * }
+ */
+ public static long PTRDIFF_MAX() { return PTRDIFF_MAX; }
+ private static final int SIG_ATOMIC_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define SIG_ATOMIC_MIN -2147483648
+ * }
+ */
+ public static int SIG_ATOMIC_MIN() { return SIG_ATOMIC_MIN; }
+ private static final int SIG_ATOMIC_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define SIG_ATOMIC_MAX 2147483647
+ * }
+ */
+ public static int SIG_ATOMIC_MAX() { return SIG_ATOMIC_MAX; }
+ private static final long SIZE_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define SIZE_MAX -1
+ * }
+ */
+ public static long SIZE_MAX() { return SIZE_MAX; }
+ private static final int WCHAR_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define WCHAR_MIN -2147483648
+ * }
+ */
+ public static int WCHAR_MIN() { return WCHAR_MIN; }
+ private static final int WCHAR_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define WCHAR_MAX 2147483647
+ * }
+ */
+ public static int WCHAR_MAX() { return WCHAR_MAX; }
+ private static final int WINT_MIN = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define WINT_MIN 0
+ * }
+ */
+ public static int WINT_MIN() { return WINT_MIN; }
+ private static final int WINT_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define WINT_MAX 4294967295
+ * }
+ */
+ public static int WINT_MAX() { return WINT_MAX; }
+ /**
+ * {@snippet lang=c :
+ * #define __PRI64_PREFIX "l"
+ * }
+ */
+ public static MemorySegment __PRI64_PREFIX()
+ {
+ class Holder {
+ static final MemorySegment __PRI64_PREFIX = hdf5_h.LIBRARY_ARENA.allocateFrom("l");
+ }
+ return Holder.__PRI64_PREFIX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __PRIPTR_PREFIX "l"
+ * }
+ */
+ public static MemorySegment __PRIPTR_PREFIX()
+ {
+ class Holder {
+ static final MemorySegment __PRIPTR_PREFIX = hdf5_h.LIBRARY_ARENA.allocateFrom("l");
+ }
+ return Holder.__PRIPTR_PREFIX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId8 "d"
+ * }
+ */
+ public static MemorySegment PRId8()
+ {
+ class Holder {
+ static final MemorySegment PRId8 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRId8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId16 "d"
+ * }
+ */
+ public static MemorySegment PRId16()
+ {
+ class Holder {
+ static final MemorySegment PRId16 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRId16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId32 "d"
+ * }
+ */
+ public static MemorySegment PRId32()
+ {
+ class Holder {
+ static final MemorySegment PRId32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRId32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId64 "ld"
+ * }
+ */
+ public static MemorySegment PRId64()
+ {
+ class Holder {
+ static final MemorySegment PRId64 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRId64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST8 "d"
+ * }
+ */
+ public static MemorySegment PRIdLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRIdLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST16 "d"
+ * }
+ */
+ public static MemorySegment PRIdLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRIdLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST32 "d"
+ * }
+ */
+ public static MemorySegment PRIdLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRIdLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST64 "ld"
+ * }
+ */
+ public static MemorySegment PRIdLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST8 "d"
+ * }
+ */
+ public static MemorySegment PRIdFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRIdFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST16 "ld"
+ * }
+ */
+ public static MemorySegment PRIdFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST32 "ld"
+ * }
+ */
+ public static MemorySegment PRIdFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST64 "ld"
+ * }
+ */
+ public static MemorySegment PRIdFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi8 "i"
+ * }
+ */
+ public static MemorySegment PRIi8()
+ {
+ class Holder {
+ static final MemorySegment PRIi8 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIi8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi16 "i"
+ * }
+ */
+ public static MemorySegment PRIi16()
+ {
+ class Holder {
+ static final MemorySegment PRIi16 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIi16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi32 "i"
+ * }
+ */
+ public static MemorySegment PRIi32()
+ {
+ class Holder {
+ static final MemorySegment PRIi32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIi32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi64 "li"
+ * }
+ */
+ public static MemorySegment PRIi64()
+ {
+ class Holder {
+ static final MemorySegment PRIi64 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.PRIi64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST8 "i"
+ * }
+ */
+ public static MemorySegment PRIiLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIiLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST16 "i"
+ * }
+ */
+ public static MemorySegment PRIiLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIiLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST32 "i"
+ * }
+ */
+ public static MemorySegment PRIiLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIiLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST64 "li"
+ * }
+ */
+ public static MemorySegment PRIiLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.PRIiLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST8 "i"
+ * }
+ */
+ public static MemorySegment PRIiFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIiFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST16 "li"
+ * }
+ */
+ public static MemorySegment PRIiFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.PRIiFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST32 "li"
+ * }
+ */
+ public static MemorySegment PRIiFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.PRIiFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST64 "li"
+ * }
+ */
+ public static MemorySegment PRIiFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.PRIiFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo8 "o"
+ * }
+ */
+ public static MemorySegment PRIo8()
+ {
+ class Holder {
+ static final MemorySegment PRIo8 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIo8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo16 "o"
+ * }
+ */
+ public static MemorySegment PRIo16()
+ {
+ class Holder {
+ static final MemorySegment PRIo16 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIo16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo32 "o"
+ * }
+ */
+ public static MemorySegment PRIo32()
+ {
+ class Holder {
+ static final MemorySegment PRIo32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIo32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo64 "lo"
+ * }
+ */
+ public static MemorySegment PRIo64()
+ {
+ class Holder {
+ static final MemorySegment PRIo64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIo64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST8 "o"
+ * }
+ */
+ public static MemorySegment PRIoLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIoLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST16 "o"
+ * }
+ */
+ public static MemorySegment PRIoLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIoLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST32 "o"
+ * }
+ */
+ public static MemorySegment PRIoLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIoLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST64 "lo"
+ * }
+ */
+ public static MemorySegment PRIoLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST8 "o"
+ * }
+ */
+ public static MemorySegment PRIoFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIoFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST16 "lo"
+ * }
+ */
+ public static MemorySegment PRIoFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST32 "lo"
+ * }
+ */
+ public static MemorySegment PRIoFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST64 "lo"
+ * }
+ */
+ public static MemorySegment PRIoFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu8 "u"
+ * }
+ */
+ public static MemorySegment PRIu8()
+ {
+ class Holder {
+ static final MemorySegment PRIu8 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIu8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu16 "u"
+ * }
+ */
+ public static MemorySegment PRIu16()
+ {
+ class Holder {
+ static final MemorySegment PRIu16 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIu16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu32 "u"
+ * }
+ */
+ public static MemorySegment PRIu32()
+ {
+ class Holder {
+ static final MemorySegment PRIu32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIu32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu64 "lu"
+ * }
+ */
+ public static MemorySegment PRIu64()
+ {
+ class Holder {
+ static final MemorySegment PRIu64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIu64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST8 "u"
+ * }
+ */
+ public static MemorySegment PRIuLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIuLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST16 "u"
+ * }
+ */
+ public static MemorySegment PRIuLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIuLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST32 "u"
+ * }
+ */
+ public static MemorySegment PRIuLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIuLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST64 "lu"
+ * }
+ */
+ public static MemorySegment PRIuLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIuLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST8 "u"
+ * }
+ */
+ public static MemorySegment PRIuFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIuFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST16 "lu"
+ * }
+ */
+ public static MemorySegment PRIuFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIuFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST32 "lu"
+ * }
+ */
+ public static MemorySegment PRIuFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIuFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST64 "lu"
+ * }
+ */
+ public static MemorySegment PRIuFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIuFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx8 "x"
+ * }
+ */
+ public static MemorySegment PRIx8()
+ {
+ class Holder {
+ static final MemorySegment PRIx8 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIx8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx16 "x"
+ * }
+ */
+ public static MemorySegment PRIx16()
+ {
+ class Holder {
+ static final MemorySegment PRIx16 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIx16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx32 "x"
+ * }
+ */
+ public static MemorySegment PRIx32()
+ {
+ class Holder {
+ static final MemorySegment PRIx32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIx32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx64 "lx"
+ * }
+ */
+ public static MemorySegment PRIx64()
+ {
+ class Holder {
+ static final MemorySegment PRIx64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIx64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST8 "x"
+ * }
+ */
+ public static MemorySegment PRIxLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIxLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST16 "x"
+ * }
+ */
+ public static MemorySegment PRIxLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIxLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST32 "x"
+ * }
+ */
+ public static MemorySegment PRIxLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIxLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST64 "lx"
+ * }
+ */
+ public static MemorySegment PRIxLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST8 "x"
+ * }
+ */
+ public static MemorySegment PRIxFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIxFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST16 "lx"
+ * }
+ */
+ public static MemorySegment PRIxFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST32 "lx"
+ * }
+ */
+ public static MemorySegment PRIxFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST64 "lx"
+ * }
+ */
+ public static MemorySegment PRIxFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX8 "X"
+ * }
+ */
+ public static MemorySegment PRIX8()
+ {
+ class Holder {
+ static final MemorySegment PRIX8 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIX8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX16 "X"
+ * }
+ */
+ public static MemorySegment PRIX16()
+ {
+ class Holder {
+ static final MemorySegment PRIX16 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIX16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX32 "X"
+ * }
+ */
+ public static MemorySegment PRIX32()
+ {
+ class Holder {
+ static final MemorySegment PRIX32 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIX32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX64 "lX"
+ * }
+ */
+ public static MemorySegment PRIX64()
+ {
+ class Holder {
+ static final MemorySegment PRIX64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIX64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST8 "X"
+ * }
+ */
+ public static MemorySegment PRIXLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIXLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST16 "X"
+ * }
+ */
+ public static MemorySegment PRIXLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIXLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST32 "X"
+ * }
+ */
+ public static MemorySegment PRIXLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIXLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST64 "lX"
+ * }
+ */
+ public static MemorySegment PRIXLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST8 "X"
+ * }
+ */
+ public static MemorySegment PRIXFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIXFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST16 "lX"
+ * }
+ */
+ public static MemorySegment PRIXFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST32 "lX"
+ * }
+ */
+ public static MemorySegment PRIXFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST64 "lX"
+ * }
+ */
+ public static MemorySegment PRIXFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdMAX "ld"
+ * }
+ */
+ public static MemorySegment PRIdMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIdMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiMAX "li"
+ * }
+ */
+ public static MemorySegment PRIiMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIiMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.PRIiMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoMAX "lo"
+ * }
+ */
+ public static MemorySegment PRIoMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIoMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuMAX "lu"
+ * }
+ */
+ public static MemorySegment PRIuMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIuMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIuMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxMAX "lx"
+ * }
+ */
+ public static MemorySegment PRIxMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIxMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXMAX "lX"
+ * }
+ */
+ public static MemorySegment PRIXMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIXMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdPTR "ld"
+ * }
+ */
+ public static MemorySegment PRIdPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIdPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiPTR "li"
+ * }
+ */
+ public static MemorySegment PRIiPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIiPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.PRIiPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoPTR "lo"
+ * }
+ */
+ public static MemorySegment PRIoPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIoPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuPTR "lu"
+ * }
+ */
+ public static MemorySegment PRIuPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIuPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIuPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxPTR "lx"
+ * }
+ */
+ public static MemorySegment PRIxPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIxPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXPTR "lX"
+ * }
+ */
+ public static MemorySegment PRIXPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIXPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd8 "hhd"
+ * }
+ */
+ public static MemorySegment SCNd8()
+ {
+ class Holder {
+ static final MemorySegment SCNd8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.SCNd8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd16 "hd"
+ * }
+ */
+ public static MemorySegment SCNd16()
+ {
+ class Holder {
+ static final MemorySegment SCNd16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.SCNd16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd32 "d"
+ * }
+ */
+ public static MemorySegment SCNd32()
+ {
+ class Holder {
+ static final MemorySegment SCNd32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.SCNd32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd64 "ld"
+ * }
+ */
+ public static MemorySegment SCNd64()
+ {
+ class Holder {
+ static final MemorySegment SCNd64 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.SCNd64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST8 "hhd"
+ * }
+ */
+ public static MemorySegment SCNdLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.SCNdLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST16 "hd"
+ * }
+ */
+ public static MemorySegment SCNdLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.SCNdLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST32 "d"
+ * }
+ */
+ public static MemorySegment SCNdLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.SCNdLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST64 "ld"
+ * }
+ */
+ public static MemorySegment SCNdLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.SCNdLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST8 "hhd"
+ * }
+ */
+ public static MemorySegment SCNdFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.SCNdFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST16 "ld"
+ * }
+ */
+ public static MemorySegment SCNdFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.SCNdFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST32 "ld"
+ * }
+ */
+ public static MemorySegment SCNdFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.SCNdFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST64 "ld"
+ * }
+ */
+ public static MemorySegment SCNdFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.SCNdFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi8 "hhi"
+ * }
+ */
+ public static MemorySegment SCNi8()
+ {
+ class Holder {
+ static final MemorySegment SCNi8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.SCNi8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi16 "hi"
+ * }
+ */
+ public static MemorySegment SCNi16()
+ {
+ class Holder {
+ static final MemorySegment SCNi16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.SCNi16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi32 "i"
+ * }
+ */
+ public static MemorySegment SCNi32()
+ {
+ class Holder {
+ static final MemorySegment SCNi32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.SCNi32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi64 "li"
+ * }
+ */
+ public static MemorySegment SCNi64()
+ {
+ class Holder {
+ static final MemorySegment SCNi64 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.SCNi64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST8 "hhi"
+ * }
+ */
+ public static MemorySegment SCNiLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.SCNiLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST16 "hi"
+ * }
+ */
+ public static MemorySegment SCNiLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.SCNiLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST32 "i"
+ * }
+ */
+ public static MemorySegment SCNiLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.SCNiLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST64 "li"
+ * }
+ */
+ public static MemorySegment SCNiLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.SCNiLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST8 "hhi"
+ * }
+ */
+ public static MemorySegment SCNiFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.SCNiFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST16 "li"
+ * }
+ */
+ public static MemorySegment SCNiFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.SCNiFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST32 "li"
+ * }
+ */
+ public static MemorySegment SCNiFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.SCNiFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST64 "li"
+ * }
+ */
+ public static MemorySegment SCNiFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.SCNiFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu8 "hhu"
+ * }
+ */
+ public static MemorySegment SCNu8()
+ {
+ class Holder {
+ static final MemorySegment SCNu8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.SCNu8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu16 "hu"
+ * }
+ */
+ public static MemorySegment SCNu16()
+ {
+ class Holder {
+ static final MemorySegment SCNu16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.SCNu16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu32 "u"
+ * }
+ */
+ public static MemorySegment SCNu32()
+ {
+ class Holder {
+ static final MemorySegment SCNu32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.SCNu32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu64 "lu"
+ * }
+ */
+ public static MemorySegment SCNu64()
+ {
+ class Holder {
+ static final MemorySegment SCNu64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.SCNu64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST8 "hhu"
+ * }
+ */
+ public static MemorySegment SCNuLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.SCNuLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST16 "hu"
+ * }
+ */
+ public static MemorySegment SCNuLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.SCNuLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST32 "u"
+ * }
+ */
+ public static MemorySegment SCNuLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.SCNuLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST64 "lu"
+ * }
+ */
+ public static MemorySegment SCNuLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.SCNuLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST8 "hhu"
+ * }
+ */
+ public static MemorySegment SCNuFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.SCNuFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST16 "lu"
+ * }
+ */
+ public static MemorySegment SCNuFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.SCNuFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST32 "lu"
+ * }
+ */
+ public static MemorySegment SCNuFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.SCNuFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST64 "lu"
+ * }
+ */
+ public static MemorySegment SCNuFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.SCNuFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo8 "hho"
+ * }
+ */
+ public static MemorySegment SCNo8()
+ {
+ class Holder {
+ static final MemorySegment SCNo8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.SCNo8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo16 "ho"
+ * }
+ */
+ public static MemorySegment SCNo16()
+ {
+ class Holder {
+ static final MemorySegment SCNo16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.SCNo16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo32 "o"
+ * }
+ */
+ public static MemorySegment SCNo32()
+ {
+ class Holder {
+ static final MemorySegment SCNo32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.SCNo32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo64 "lo"
+ * }
+ */
+ public static MemorySegment SCNo64()
+ {
+ class Holder {
+ static final MemorySegment SCNo64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.SCNo64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST8 "hho"
+ * }
+ */
+ public static MemorySegment SCNoLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.SCNoLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST16 "ho"
+ * }
+ */
+ public static MemorySegment SCNoLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.SCNoLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST32 "o"
+ * }
+ */
+ public static MemorySegment SCNoLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.SCNoLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST64 "lo"
+ * }
+ */
+ public static MemorySegment SCNoLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.SCNoLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST8 "hho"
+ * }
+ */
+ public static MemorySegment SCNoFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.SCNoFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST16 "lo"
+ * }
+ */
+ public static MemorySegment SCNoFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.SCNoFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST32 "lo"
+ * }
+ */
+ public static MemorySegment SCNoFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.SCNoFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST64 "lo"
+ * }
+ */
+ public static MemorySegment SCNoFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.SCNoFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx8 "hhx"
+ * }
+ */
+ public static MemorySegment SCNx8()
+ {
+ class Holder {
+ static final MemorySegment SCNx8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.SCNx8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx16 "hx"
+ * }
+ */
+ public static MemorySegment SCNx16()
+ {
+ class Holder {
+ static final MemorySegment SCNx16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.SCNx16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx32 "x"
+ * }
+ */
+ public static MemorySegment SCNx32()
+ {
+ class Holder {
+ static final MemorySegment SCNx32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.SCNx32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx64 "lx"
+ * }
+ */
+ public static MemorySegment SCNx64()
+ {
+ class Holder {
+ static final MemorySegment SCNx64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.SCNx64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST8 "hhx"
+ * }
+ */
+ public static MemorySegment SCNxLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.SCNxLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST16 "hx"
+ * }
+ */
+ public static MemorySegment SCNxLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.SCNxLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST32 "x"
+ * }
+ */
+ public static MemorySegment SCNxLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.SCNxLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST64 "lx"
+ * }
+ */
+ public static MemorySegment SCNxLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.SCNxLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST8 "hhx"
+ * }
+ */
+ public static MemorySegment SCNxFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.SCNxFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST16 "lx"
+ * }
+ */
+ public static MemorySegment SCNxFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.SCNxFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST32 "lx"
+ * }
+ */
+ public static MemorySegment SCNxFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.SCNxFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST64 "lx"
+ * }
+ */
+ public static MemorySegment SCNxFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.SCNxFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdMAX "ld"
+ * }
+ */
+ public static MemorySegment SCNdMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNdMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.SCNdMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiMAX "li"
+ * }
+ */
+ public static MemorySegment SCNiMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNiMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.SCNiMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoMAX "lo"
+ * }
+ */
+ public static MemorySegment SCNoMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNoMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.SCNoMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuMAX "lu"
+ * }
+ */
+ public static MemorySegment SCNuMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNuMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.SCNuMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxMAX "lx"
+ * }
+ */
+ public static MemorySegment SCNxMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNxMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.SCNxMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdPTR "ld"
+ * }
+ */
+ public static MemorySegment SCNdPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNdPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.SCNdPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiPTR "li"
+ * }
+ */
+ public static MemorySegment SCNiPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNiPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.SCNiPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoPTR "lo"
+ * }
+ */
+ public static MemorySegment SCNoPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNoPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.SCNoPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuPTR "lu"
+ * }
+ */
+ public static MemorySegment SCNuPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNuPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.SCNuPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxPTR "lx"
+ * }
+ */
+ public static MemorySegment SCNxPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNxPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.SCNxPTR;
+ }
+ private static final long LLONG_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define LLONG_MIN -9223372036854775808
+ * }
+ */
+ public static long LLONG_MIN() { return LLONG_MIN; }
+ private static final long LLONG_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define LLONG_MAX 9223372036854775807
+ * }
+ */
+ public static long LLONG_MAX() { return LLONG_MAX; }
+ private static final long ULLONG_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define ULLONG_MAX -1
+ * }
+ */
+ public static long ULLONG_MAX() { return ULLONG_MAX; }
+ private static final int PTHREAD_DESTRUCTOR_ITERATIONS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define PTHREAD_DESTRUCTOR_ITERATIONS 4
+ * }
+ */
+ public static int PTHREAD_DESTRUCTOR_ITERATIONS() { return PTHREAD_DESTRUCTOR_ITERATIONS; }
+ private static final int SEM_VALUE_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define SEM_VALUE_MAX 2147483647
+ * }
+ */
+ public static int SEM_VALUE_MAX() { return SEM_VALUE_MAX; }
+ private static final long SSIZE_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define SSIZE_MAX 9223372036854775807
+ * }
+ */
+ public static long SSIZE_MAX() { return SSIZE_MAX; }
+ private static final int BC_BASE_MAX = (int)99L;
+ /**
+ * {@snippet lang=c :
+ * #define BC_BASE_MAX 99
+ * }
+ */
+ public static int BC_BASE_MAX() { return BC_BASE_MAX; }
+ private static final int BC_DIM_MAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define BC_DIM_MAX 2048
+ * }
+ */
+ public static int BC_DIM_MAX() { return BC_DIM_MAX; }
+ private static final int BC_SCALE_MAX = (int)99L;
+ /**
+ * {@snippet lang=c :
+ * #define BC_SCALE_MAX 99
+ * }
+ */
+ public static int BC_SCALE_MAX() { return BC_SCALE_MAX; }
+ private static final int BC_STRING_MAX = (int)1000L;
+ /**
+ * {@snippet lang=c :
+ * #define BC_STRING_MAX 1000
+ * }
+ */
+ public static int BC_STRING_MAX() { return BC_STRING_MAX; }
+ private static final int EXPR_NEST_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define EXPR_NEST_MAX 32
+ * }
+ */
+ public static int EXPR_NEST_MAX() { return EXPR_NEST_MAX; }
+ private static final int LINE_MAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define LINE_MAX 2048
+ * }
+ */
+ public static int LINE_MAX() { return LINE_MAX; }
+ private static final int RE_DUP_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define RE_DUP_MAX 32767
+ * }
+ */
+ public static int RE_DUP_MAX() { return RE_DUP_MAX; }
+ private static final int SCHAR_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define SCHAR_MAX 127
+ * }
+ */
+ public static int SCHAR_MAX() { return SCHAR_MAX; }
+ private static final int SHRT_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define SHRT_MAX 32767
+ * }
+ */
+ public static int SHRT_MAX() { return SHRT_MAX; }
+ private static final int INT_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_MAX 2147483647
+ * }
+ */
+ public static int INT_MAX() { return INT_MAX; }
+ private static final long LONG_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_MAX 9223372036854775807
+ * }
+ */
+ public static long LONG_MAX() { return LONG_MAX; }
+ private static final int SCHAR_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define SCHAR_MIN -128
+ * }
+ */
+ public static int SCHAR_MIN() { return SCHAR_MIN; }
+ private static final int SHRT_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define SHRT_MIN -32768
+ * }
+ */
+ public static int SHRT_MIN() { return SHRT_MIN; }
+ private static final int INT_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_MIN -2147483648
+ * }
+ */
+ public static int INT_MIN() { return INT_MIN; }
+ private static final long LONG_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_MIN -9223372036854775808
+ * }
+ */
+ public static long LONG_MIN() { return LONG_MIN; }
+ private static final int UCHAR_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UCHAR_MAX 255
+ * }
+ */
+ public static int UCHAR_MAX() { return UCHAR_MAX; }
+ private static final int USHRT_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define USHRT_MAX 65535
+ * }
+ */
+ public static int USHRT_MAX() { return USHRT_MAX; }
+ private static final int UINT_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_MAX 4294967295
+ * }
+ */
+ public static int UINT_MAX() { return UINT_MAX; }
+ private static final long ULONG_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define ULONG_MAX -1
+ * }
+ */
+ public static long ULONG_MAX() { return ULONG_MAX; }
+ private static final int CHAR_BIT = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define CHAR_BIT 8
+ * }
+ */
+ public static int CHAR_BIT() { return CHAR_BIT; }
+ private static final int CHAR_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define CHAR_MIN -128
+ * }
+ */
+ public static int CHAR_MIN() { return CHAR_MIN; }
+ private static final int CHAR_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define CHAR_MAX 127
+ * }
+ */
+ public static int CHAR_MAX() { return CHAR_MAX; }
+ private static final MemorySegment NULL = MemorySegment.ofAddress(0L);
+ /**
+ * {@snippet lang=c :
+ * #define NULL (void*) 0
+ * }
+ */
+ public static MemorySegment NULL() { return NULL; }
+ private static final int __BYTE_ORDER = (int)1234L;
+ /**
+ * {@snippet lang=c :
+ * #define __BYTE_ORDER 1234
+ * }
+ */
+ public static int __BYTE_ORDER() { return __BYTE_ORDER; }
+ private static final int __FLOAT_WORD_ORDER = (int)1234L;
+ /**
+ * {@snippet lang=c :
+ * #define __FLOAT_WORD_ORDER 1234
+ * }
+ */
+ public static int __FLOAT_WORD_ORDER() { return __FLOAT_WORD_ORDER; }
+ private static final int LITTLE_ENDIAN = (int)1234L;
+ /**
+ * {@snippet lang=c :
+ * #define LITTLE_ENDIAN 1234
+ * }
+ */
+ public static int LITTLE_ENDIAN() { return LITTLE_ENDIAN; }
+ private static final int BIG_ENDIAN = (int)4321L;
+ /**
+ * {@snippet lang=c :
+ * #define BIG_ENDIAN 4321
+ * }
+ */
+ public static int BIG_ENDIAN() { return BIG_ENDIAN; }
+ private static final int PDP_ENDIAN = (int)3412L;
+ /**
+ * {@snippet lang=c :
+ * #define PDP_ENDIAN 3412
+ * }
+ */
+ public static int PDP_ENDIAN() { return PDP_ENDIAN; }
+ private static final int BYTE_ORDER = (int)1234L;
+ /**
+ * {@snippet lang=c :
+ * #define BYTE_ORDER 1234
+ * }
+ */
+ public static int BYTE_ORDER() { return BYTE_ORDER; }
+ private static final long _SIGSET_NWORDS = 16L;
+ /**
+ * {@snippet lang=c :
+ * #define _SIGSET_NWORDS 16
+ * }
+ */
+ public static long _SIGSET_NWORDS() { return _SIGSET_NWORDS; }
+ private static final int __NFDBITS = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define __NFDBITS 64
+ * }
+ */
+ public static int __NFDBITS() { return __NFDBITS; }
+ private static final int FD_SETSIZE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define FD_SETSIZE 1024
+ * }
+ */
+ public static int FD_SETSIZE() { return FD_SETSIZE; }
+ private static final int NFDBITS = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define NFDBITS 64
+ * }
+ */
+ public static int NFDBITS() { return NFDBITS; }
+ private static final int __PTHREAD_RWLOCK_ELISION_EXTRA = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_RWLOCK_ELISION_EXTRA 0
+ * }
+ */
+ public static int __PTHREAD_RWLOCK_ELISION_EXTRA() { return __PTHREAD_RWLOCK_ELISION_EXTRA; }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_SUBRELEASE "4"
+ * }
+ */
+ public static MemorySegment H5_VERS_SUBRELEASE()
+ {
+ class Holder {
+ static final MemorySegment H5_VERS_SUBRELEASE = hdf5_h.LIBRARY_ARENA.allocateFrom("4");
+ }
+ return Holder.H5_VERS_SUBRELEASE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_STR "2.0.0-4"
+ * }
+ */
+ public static MemorySegment H5_VERS_STR()
+ {
+ class Holder {
+ static final MemorySegment H5_VERS_STR = hdf5_h.LIBRARY_ARENA.allocateFrom("2.0.0-4");
+ }
+ return Holder.H5_VERS_STR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_INFO "HDF5 library version: 2.0.0-4"
+ * }
+ */
+ public static MemorySegment H5_VERS_INFO()
+ {
+ class Holder {
+ static final MemorySegment H5_VERS_INFO =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5 library version: 2.0.0-4");
+ }
+ return Holder.H5_VERS_INFO;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_DRIVER "HDF5_DRIVER"
+ * }
+ */
+ public static MemorySegment HDF5_DRIVER()
+ {
+ class Holder {
+ static final MemorySegment HDF5_DRIVER = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_DRIVER");
+ }
+ return Holder.HDF5_DRIVER;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_DRIVER_CONFIG "HDF5_DRIVER_CONFIG"
+ * }
+ */
+ public static MemorySegment HDF5_DRIVER_CONFIG()
+ {
+ class Holder {
+ static final MemorySegment HDF5_DRIVER_CONFIG =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_DRIVER_CONFIG");
+ }
+ return Holder.HDF5_DRIVER_CONFIG;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_VOL_CONNECTOR "HDF5_VOL_CONNECTOR"
+ * }
+ */
+ public static MemorySegment HDF5_VOL_CONNECTOR()
+ {
+ class Holder {
+ static final MemorySegment HDF5_VOL_CONNECTOR =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_VOL_CONNECTOR");
+ }
+ return Holder.HDF5_VOL_CONNECTOR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_PLUGIN_PATH "HDF5_PLUGIN_PATH"
+ * }
+ */
+ public static MemorySegment HDF5_PLUGIN_PATH()
+ {
+ class Holder {
+ static final MemorySegment HDF5_PLUGIN_PATH =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_PLUGIN_PATH");
+ }
+ return Holder.HDF5_PLUGIN_PATH;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_PLUGIN_PRELOAD "HDF5_PLUGIN_PRELOAD"
+ * }
+ */
+ public static MemorySegment HDF5_PLUGIN_PRELOAD()
+ {
+ class Holder {
+ static final MemorySegment HDF5_PLUGIN_PRELOAD =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_PLUGIN_PRELOAD");
+ }
+ return Holder.HDF5_PLUGIN_PRELOAD;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_USE_FILE_LOCKING "HDF5_USE_FILE_LOCKING"
+ * }
+ */
+ public static MemorySegment HDF5_USE_FILE_LOCKING()
+ {
+ class Holder {
+ static final MemorySegment HDF5_USE_FILE_LOCKING =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_USE_FILE_LOCKING");
+ }
+ return Holder.HDF5_USE_FILE_LOCKING;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_NOCLEANUP "HDF5_NOCLEANUP"
+ * }
+ */
+ public static MemorySegment HDF5_NOCLEANUP()
+ {
+ class Holder {
+ static final MemorySegment HDF5_NOCLEANUP = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_NOCLEANUP");
+ }
+ return Holder.HDF5_NOCLEANUP;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_PREFER_WINDOWS_CODE_PAGE "HDF5_PREFER_WINDOWS_CODE_PAGE"
+ * }
+ */
+ public static MemorySegment HDF5_PREFER_WINDOWS_CODE_PAGE()
+ {
+ class Holder {
+ static final MemorySegment HDF5_PREFER_WINDOWS_CODE_PAGE =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_PREFER_WINDOWS_CODE_PAGE");
+ }
+ return Holder.HDF5_PREFER_WINDOWS_CODE_PAGE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdHSIZE "ld"
+ * }
+ */
+ public static MemorySegment PRIdHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIdHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiHSIZE "li"
+ * }
+ */
+ public static MemorySegment PRIiHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIiHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.PRIiHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoHSIZE "lo"
+ * }
+ */
+ public static MemorySegment PRIoHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIoHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuHSIZE "lu"
+ * }
+ */
+ public static MemorySegment PRIuHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIuHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIuHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxHSIZE "lx"
+ * }
+ */
+ public static MemorySegment PRIxHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIxHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXHSIZE "lX"
+ * }
+ */
+ public static MemorySegment PRIXHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIXHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXHSIZE;
+ }
+ private static final long HSIZE_UNDEF = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define HSIZE_UNDEF -1
+ * }
+ */
+ public static long HSIZE_UNDEF() { return HSIZE_UNDEF; }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdHADDR "ld"
+ * }
+ */
+ public static MemorySegment PRIdHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIdHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoHADDR "lo"
+ * }
+ */
+ public static MemorySegment PRIoHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIoHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuHADDR "lu"
+ * }
+ */
+ public static MemorySegment PRIuHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIuHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIuHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxHADDR "lx"
+ * }
+ */
+ public static MemorySegment PRIxHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIxHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXHADDR "lX"
+ * }
+ */
+ public static MemorySegment PRIXHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIXHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXHADDR;
+ }
+ private static final long HADDR_UNDEF = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define HADDR_UNDEF -1
+ * }
+ */
+ public static long HADDR_UNDEF() { return HADDR_UNDEF; }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PRINTF_HADDR_FMT "%lu"
+ * }
+ */
+ public static MemorySegment H5_PRINTF_HADDR_FMT()
+ {
+ class Holder {
+ static final MemorySegment H5_PRINTF_HADDR_FMT = hdf5_h.LIBRARY_ARENA.allocateFrom("%lu");
+ }
+ return Holder.H5_PRINTF_HADDR_FMT;
+ }
+ private static final long HADDR_MAX = -2L;
+ /**
+ * {@snippet lang=c :
+ * #define HADDR_MAX -2
+ * }
+ */
+ public static long HADDR_MAX() { return HADDR_MAX; }
+ private static final int H5_ITER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_ITER_ERROR -1
+ * }
+ */
+ public static int H5_ITER_ERROR() { return H5_ITER_ERROR; }
+ private static final int H5_ITER_CONT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_ITER_CONT 0
+ * }
+ */
+ public static int H5_ITER_CONT() { return H5_ITER_CONT; }
+ private static final int H5_ITER_STOP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_ITER_STOP 1
+ * }
+ */
+ public static int H5_ITER_STOP() { return H5_ITER_STOP; }
+ private static final int H5O_MAX_TOKEN_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_MAX_TOKEN_SIZE 16
+ * }
+ */
+ public static int H5O_MAX_TOKEN_SIZE() { return H5O_MAX_TOKEN_SIZE; }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdHID "ld"
+ * }
+ */
+ public static MemorySegment PRIdHID()
+ {
+ class Holder {
+ static final MemorySegment PRIdHID = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdHID;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxHID "lx"
+ * }
+ */
+ public static MemorySegment PRIxHID()
+ {
+ class Holder {
+ static final MemorySegment PRIxHID = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxHID;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXHID "lX"
+ * }
+ */
+ public static MemorySegment PRIXHID()
+ {
+ class Holder {
+ static final MemorySegment PRIXHID = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXHID;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoHID "lo"
+ * }
+ */
+ public static MemorySegment PRIoHID()
+ {
+ class Holder {
+ static final MemorySegment PRIoHID = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoHID;
+ }
+ private static final int H5_SIZEOF_HID_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HID_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HID_T() { return H5_SIZEOF_HID_T; }
+ private static final int H5I_INVALID_HID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5I_INVALID_HID -1
+ * }
+ */
+ public static int H5I_INVALID_HID() { return H5I_INVALID_HID; }
+ private static final int H5O_COPY_SHALLOW_HIERARCHY_FLAG = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_SHALLOW_HIERARCHY_FLAG 1
+ * }
+ */
+ public static int H5O_COPY_SHALLOW_HIERARCHY_FLAG() { return H5O_COPY_SHALLOW_HIERARCHY_FLAG; }
+ private static final int H5O_COPY_EXPAND_SOFT_LINK_FLAG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_EXPAND_SOFT_LINK_FLAG 2
+ * }
+ */
+ public static int H5O_COPY_EXPAND_SOFT_LINK_FLAG() { return H5O_COPY_EXPAND_SOFT_LINK_FLAG; }
+ private static final int H5O_COPY_EXPAND_EXT_LINK_FLAG = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_EXPAND_EXT_LINK_FLAG 4
+ * }
+ */
+ public static int H5O_COPY_EXPAND_EXT_LINK_FLAG() { return H5O_COPY_EXPAND_EXT_LINK_FLAG; }
+ private static final int H5O_COPY_EXPAND_REFERENCE_FLAG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_EXPAND_REFERENCE_FLAG 8
+ * }
+ */
+ public static int H5O_COPY_EXPAND_REFERENCE_FLAG() { return H5O_COPY_EXPAND_REFERENCE_FLAG; }
+ private static final int H5O_COPY_WITHOUT_ATTR_FLAG = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_WITHOUT_ATTR_FLAG 16
+ * }
+ */
+ public static int H5O_COPY_WITHOUT_ATTR_FLAG() { return H5O_COPY_WITHOUT_ATTR_FLAG; }
+ private static final int H5O_COPY_PRESERVE_NULL_FLAG = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_PRESERVE_NULL_FLAG 32
+ * }
+ */
+ public static int H5O_COPY_PRESERVE_NULL_FLAG() { return H5O_COPY_PRESERVE_NULL_FLAG; }
+ private static final int H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG 64
+ * }
+ */
+ public static int H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG() { return H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG; }
+ private static final int H5O_COPY_ALL = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_ALL 127
+ * }
+ */
+ public static int H5O_COPY_ALL() { return H5O_COPY_ALL; }
+ private static final int H5O_SHMESG_SDSPACE_FLAG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_SDSPACE_FLAG 2
+ * }
+ */
+ public static int H5O_SHMESG_SDSPACE_FLAG() { return H5O_SHMESG_SDSPACE_FLAG; }
+ private static final int H5O_SHMESG_DTYPE_FLAG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_DTYPE_FLAG 8
+ * }
+ */
+ public static int H5O_SHMESG_DTYPE_FLAG() { return H5O_SHMESG_DTYPE_FLAG; }
+ private static final int H5O_SHMESG_FILL_FLAG = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_FILL_FLAG 32
+ * }
+ */
+ public static int H5O_SHMESG_FILL_FLAG() { return H5O_SHMESG_FILL_FLAG; }
+ private static final int H5O_SHMESG_PLINE_FLAG = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_PLINE_FLAG 2048
+ * }
+ */
+ public static int H5O_SHMESG_PLINE_FLAG() { return H5O_SHMESG_PLINE_FLAG; }
+ private static final int H5O_SHMESG_ATTR_FLAG = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_ATTR_FLAG 4096
+ * }
+ */
+ public static int H5O_SHMESG_ATTR_FLAG() { return H5O_SHMESG_ATTR_FLAG; }
+ private static final int H5O_SHMESG_ALL_FLAG = (int)6186L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_ALL_FLAG 6186
+ * }
+ */
+ public static int H5O_SHMESG_ALL_FLAG() { return H5O_SHMESG_ALL_FLAG; }
+ private static final int H5O_HDR_ALL_FLAGS = (int)63L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ALL_FLAGS 63
+ * }
+ */
+ public static int H5O_HDR_ALL_FLAGS() { return H5O_HDR_ALL_FLAGS; }
+ private static final int H5O_INFO_BASIC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_BASIC 1
+ * }
+ */
+ public static int H5O_INFO_BASIC() { return H5O_INFO_BASIC; }
+ private static final int H5O_INFO_TIME = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_TIME 2
+ * }
+ */
+ public static int H5O_INFO_TIME() { return H5O_INFO_TIME; }
+ private static final int H5O_INFO_NUM_ATTRS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_NUM_ATTRS 4
+ * }
+ */
+ public static int H5O_INFO_NUM_ATTRS() { return H5O_INFO_NUM_ATTRS; }
+ private static final int H5O_INFO_ALL = (int)31L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_ALL 31
+ * }
+ */
+ public static int H5O_INFO_ALL() { return H5O_INFO_ALL; }
+ private static final int H5O_NATIVE_INFO_HDR = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_NATIVE_INFO_HDR 8
+ * }
+ */
+ public static int H5O_NATIVE_INFO_HDR() { return H5O_NATIVE_INFO_HDR; }
+ private static final int H5O_NATIVE_INFO_META_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_NATIVE_INFO_META_SIZE 16
+ * }
+ */
+ public static int H5O_NATIVE_INFO_META_SIZE() { return H5O_NATIVE_INFO_META_SIZE; }
+ private static final int H5O_NATIVE_INFO_ALL = (int)24L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_NATIVE_INFO_ALL 24
+ * }
+ */
+ public static int H5O_NATIVE_INFO_ALL() { return H5O_NATIVE_INFO_ALL; }
+ private static final int H5O_INFO_HDR = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_HDR 8
+ * }
+ */
+ public static int H5O_INFO_HDR() { return H5O_INFO_HDR; }
+ private static final int H5O_INFO_META_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_META_SIZE 16
+ * }
+ */
+ public static int H5O_INFO_META_SIZE() { return H5O_INFO_META_SIZE; }
+ private static final int H5T_NCSET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_NCSET 2
+ * }
+ */
+ public static int H5T_NCSET() { return H5T_NCSET; }
+ private static final int H5T_NSTR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_NSTR 3
+ * }
+ */
+ public static int H5T_NSTR() { return H5T_NSTR; }
+ private static final long H5T_VARIABLE = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_VARIABLE -1
+ * }
+ */
+ public static long H5T_VARIABLE() { return H5T_VARIABLE; }
+ private static final int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE -1
+ * }
+ */
+ public static int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE()
+ {
+ return H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE;
+ }
+ private static final long H5D_CHUNK_CACHE_NSLOTS_DEFAULT = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_CACHE_NSLOTS_DEFAULT -1
+ * }
+ */
+ public static long H5D_CHUNK_CACHE_NSLOTS_DEFAULT() { return H5D_CHUNK_CACHE_NSLOTS_DEFAULT; }
+ private static final long H5D_CHUNK_CACHE_NBYTES_DEFAULT = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_CACHE_NBYTES_DEFAULT -1
+ * }
+ */
+ public static long H5D_CHUNK_CACHE_NBYTES_DEFAULT() { return H5D_CHUNK_CACHE_NBYTES_DEFAULT; }
+ private static final double H5D_CHUNK_CACHE_W0_DEFAULT = -1.0d;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_CACHE_W0_DEFAULT -1.0
+ * }
+ */
+ public static double H5D_CHUNK_CACHE_W0_DEFAULT() { return H5D_CHUNK_CACHE_W0_DEFAULT; }
+ private static final int H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS 2
+ * }
+ */
+ public static int H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS() { return H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS; }
+ private static final int H5D_CHUNK_BTREE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_BTREE 0
+ * }
+ */
+ public static int H5D_CHUNK_BTREE() { return H5D_CHUNK_BTREE; }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME "direct_chunk_flag"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_flag");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME "direct_chunk_filters"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_filters");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME "direct_chunk_offset"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_offset");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME "direct_chunk_datasize"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_datasize");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME "direct_chunk_read_flag"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_read_flag");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME "direct_chunk_read_offset"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_read_offset");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME "direct_chunk_read_filters"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_read_filters");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME;
+ }
+ private static final int EOF = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define EOF -1
+ * }
+ */
+ public static int EOF() { return EOF; }
+ /**
+ * {@snippet lang=c :
+ * #define P_tmpdir "/tmp"
+ * }
+ */
+ public static MemorySegment P_tmpdir()
+ {
+ class Holder {
+ static final MemorySegment P_tmpdir = hdf5_h.LIBRARY_ARENA.allocateFrom("/tmp");
+ }
+ return Holder.P_tmpdir;
+ }
+ private static final int __HAVE_DISTINCT_FLOAT16 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_DISTINCT_FLOAT16 0
+ * }
+ */
+ public static int __HAVE_DISTINCT_FLOAT16() { return __HAVE_DISTINCT_FLOAT16; }
+ private static final int __HAVE_DISTINCT_FLOAT128X = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_DISTINCT_FLOAT128X 0
+ * }
+ */
+ public static int __HAVE_DISTINCT_FLOAT128X() { return __HAVE_DISTINCT_FLOAT128X; }
+ private static final int __HAVE_FLOAT128_UNLIKE_LDBL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOAT128_UNLIKE_LDBL 0
+ * }
+ */
+ public static int __HAVE_FLOAT128_UNLIKE_LDBL() { return __HAVE_FLOAT128_UNLIKE_LDBL; }
+ private static final long H5ES_WAIT_FOREVER = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5ES_WAIT_FOREVER -1
+ * }
+ */
+ public static long H5ES_WAIT_FOREVER() { return H5ES_WAIT_FOREVER; }
+ private static final int H5ES_WAIT_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5ES_WAIT_NONE 0
+ * }
+ */
+ public static int H5ES_WAIT_NONE() { return H5ES_WAIT_NONE; }
+ private static final int H5F_ACC_RDONLY = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_RDONLY 0
+ * }
+ */
+ public static int H5F_ACC_RDONLY() { return H5F_ACC_RDONLY; }
+ private static final int H5F_ACC_RDWR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_RDWR 1
+ * }
+ */
+ public static int H5F_ACC_RDWR() { return H5F_ACC_RDWR; }
+ private static final int H5F_ACC_TRUNC = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_TRUNC 2
+ * }
+ */
+ public static int H5F_ACC_TRUNC() { return H5F_ACC_TRUNC; }
+ private static final int H5F_ACC_EXCL = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_EXCL 4
+ * }
+ */
+ public static int H5F_ACC_EXCL() { return H5F_ACC_EXCL; }
+ private static final int H5F_ACC_CREAT = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_CREAT 16
+ * }
+ */
+ public static int H5F_ACC_CREAT() { return H5F_ACC_CREAT; }
+ private static final int H5F_ACC_SWMR_WRITE = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_SWMR_WRITE 32
+ * }
+ */
+ public static int H5F_ACC_SWMR_WRITE() { return H5F_ACC_SWMR_WRITE; }
+ private static final int H5F_ACC_SWMR_READ = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_SWMR_READ 64
+ * }
+ */
+ public static int H5F_ACC_SWMR_READ() { return H5F_ACC_SWMR_READ; }
+ private static final int H5F_ACC_DEFAULT = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_DEFAULT 65535
+ * }
+ */
+ public static int H5F_ACC_DEFAULT() { return H5F_ACC_DEFAULT; }
+ private static final int H5F_OBJ_FILE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_FILE 1
+ * }
+ */
+ public static int H5F_OBJ_FILE() { return H5F_OBJ_FILE; }
+ private static final int H5F_OBJ_DATASET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_DATASET 2
+ * }
+ */
+ public static int H5F_OBJ_DATASET() { return H5F_OBJ_DATASET; }
+ private static final int H5F_OBJ_GROUP = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_GROUP 4
+ * }
+ */
+ public static int H5F_OBJ_GROUP() { return H5F_OBJ_GROUP; }
+ private static final int H5F_OBJ_DATATYPE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_DATATYPE 8
+ * }
+ */
+ public static int H5F_OBJ_DATATYPE() { return H5F_OBJ_DATATYPE; }
+ private static final int H5F_OBJ_ATTR = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_ATTR 16
+ * }
+ */
+ public static int H5F_OBJ_ATTR() { return H5F_OBJ_ATTR; }
+ private static final int H5F_OBJ_ALL = (int)31L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_ALL 31
+ * }
+ */
+ public static int H5F_OBJ_ALL() { return H5F_OBJ_ALL; }
+ private static final int H5F_OBJ_LOCAL = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_LOCAL 32
+ * }
+ */
+ public static int H5F_OBJ_LOCAL() { return H5F_OBJ_LOCAL; }
+ private static final long H5F_PAGE_BUFFER_SIZE_DEFAULT = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_PAGE_BUFFER_SIZE_DEFAULT -1
+ * }
+ */
+ public static long H5F_PAGE_BUFFER_SIZE_DEFAULT() { return H5F_PAGE_BUFFER_SIZE_DEFAULT; }
+ private static final long H5F_UNLIMITED = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_UNLIMITED -1
+ * }
+ */
+ public static long H5F_UNLIMITED() { return H5F_UNLIMITED; }
+ private static final int H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS 1
+ * }
+ */
+ public static int H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS()
+ {
+ return H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS;
+ }
+ private static final int H5F_RFIC_ALL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_RFIC_ALL 1
+ * }
+ */
+ public static int H5F_RFIC_ALL() { return H5F_RFIC_ALL; }
+ private static final int H5F_ACC_DEBUG = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_DEBUG 0
+ * }
+ */
+ public static int H5F_ACC_DEBUG() { return H5F_ACC_DEBUG; }
+ private static final int H5_VFD_INVALID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_INVALID -1
+ * }
+ */
+ public static int H5_VFD_INVALID() { return H5_VFD_INVALID; }
+ private static final int H5_VFD_SEC2 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_SEC2 0
+ * }
+ */
+ public static int H5_VFD_SEC2() { return H5_VFD_SEC2; }
+ private static final int H5_VFD_CORE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_CORE 1
+ * }
+ */
+ public static int H5_VFD_CORE() { return H5_VFD_CORE; }
+ private static final int H5_VFD_LOG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_LOG 2
+ * }
+ */
+ public static int H5_VFD_LOG() { return H5_VFD_LOG; }
+ private static final int H5_VFD_FAMILY = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_FAMILY 3
+ * }
+ */
+ public static int H5_VFD_FAMILY() { return H5_VFD_FAMILY; }
+ private static final int H5_VFD_MULTI = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MULTI 4
+ * }
+ */
+ public static int H5_VFD_MULTI() { return H5_VFD_MULTI; }
+ private static final int H5_VFD_STDIO = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_STDIO 5
+ * }
+ */
+ public static int H5_VFD_STDIO() { return H5_VFD_STDIO; }
+ private static final int H5_VFD_SPLITTER = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_SPLITTER 6
+ * }
+ */
+ public static int H5_VFD_SPLITTER() { return H5_VFD_SPLITTER; }
+ private static final int H5_VFD_MPIO = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MPIO 7
+ * }
+ */
+ public static int H5_VFD_MPIO() { return H5_VFD_MPIO; }
+ private static final int H5_VFD_DIRECT = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_DIRECT 8
+ * }
+ */
+ public static int H5_VFD_DIRECT() { return H5_VFD_DIRECT; }
+ private static final int H5_VFD_MIRROR = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MIRROR 9
+ * }
+ */
+ public static int H5_VFD_MIRROR() { return H5_VFD_MIRROR; }
+ private static final int H5_VFD_HDFS = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_HDFS 10
+ * }
+ */
+ public static int H5_VFD_HDFS() { return H5_VFD_HDFS; }
+ private static final int H5_VFD_ROS3 = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_ROS3 11
+ * }
+ */
+ public static int H5_VFD_ROS3() { return H5_VFD_ROS3; }
+ private static final int H5_VFD_SUBFILING = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_SUBFILING 12
+ * }
+ */
+ public static int H5_VFD_SUBFILING() { return H5_VFD_SUBFILING; }
+ private static final int H5_VFD_IOC = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_IOC 13
+ * }
+ */
+ public static int H5_VFD_IOC() { return H5_VFD_IOC; }
+ private static final int H5_VFD_ONION = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_ONION 14
+ * }
+ */
+ public static int H5_VFD_ONION() { return H5_VFD_ONION; }
+ private static final int H5FD_FEAT_ACCUMULATE_METADATA = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ACCUMULATE_METADATA 6
+ * }
+ */
+ public static int H5FD_FEAT_ACCUMULATE_METADATA() { return H5FD_FEAT_ACCUMULATE_METADATA; }
+ private static final int H5FD_CTL_OPC_EXPER_MIN = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_OPC_EXPER_MIN 512
+ * }
+ */
+ public static int H5FD_CTL_OPC_EXPER_MIN() { return H5FD_CTL_OPC_EXPER_MIN; }
+ private static final int H5FD_CTL_OPC_EXPER_MAX = (int)1023L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_OPC_EXPER_MAX 1023
+ * }
+ */
+ public static int H5FD_CTL_OPC_EXPER_MAX() { return H5FD_CTL_OPC_EXPER_MAX; }
+ private static final int H5L_MAX_LINK_NAME_LEN = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_MAX_LINK_NAME_LEN 4294967295
+ * }
+ */
+ public static int H5L_MAX_LINK_NAME_LEN() { return H5L_MAX_LINK_NAME_LEN; }
+ private static final int H5L_TYPE_BUILTIN_MAX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_TYPE_BUILTIN_MAX 1
+ * }
+ */
+ public static int H5L_TYPE_BUILTIN_MAX() { return H5L_TYPE_BUILTIN_MAX; }
+ private static final int H5L_TYPE_UD_MIN = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_TYPE_UD_MIN 64
+ * }
+ */
+ public static int H5L_TYPE_UD_MIN() { return H5L_TYPE_UD_MIN; }
+ private static final int H5L_TYPE_UD_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_TYPE_UD_MAX 255
+ * }
+ */
+ public static int H5L_TYPE_UD_MAX() { return H5L_TYPE_UD_MAX; }
+ private static final int H5G_SAME_LOC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_SAME_LOC 0
+ * }
+ */
+ public static int H5G_SAME_LOC() { return H5G_SAME_LOC; }
+ private static final int H5G_LINK_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_LINK_ERROR -1
+ * }
+ */
+ public static int H5G_LINK_ERROR() { return H5G_LINK_ERROR; }
+ private static final int H5G_LINK_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_LINK_HARD 0
+ * }
+ */
+ public static int H5G_LINK_HARD() { return H5G_LINK_HARD; }
+ private static final int H5G_LINK_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_LINK_SOFT 1
+ * }
+ */
+ public static int H5G_LINK_SOFT() { return H5G_LINK_SOFT; }
+ private static final int H5G_NUSERTYPES = (int)248L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_NUSERTYPES 248
+ * }
+ */
+ public static int H5G_NUSERTYPES() { return H5G_NUSERTYPES; }
+ private static final int H5_VOL_INVALID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_INVALID -1
+ * }
+ */
+ public static int H5_VOL_INVALID() { return H5_VOL_INVALID; }
+ private static final int H5VL_CAP_FLAG_SOFT_LINKS = (int)2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_SOFT_LINKS 2147483648
+ * }
+ */
+ public static int H5VL_CAP_FLAG_SOFT_LINKS() { return H5VL_CAP_FLAG_SOFT_LINKS; }
+ private static final long H5VL_CAP_FLAG_UD_LINKS = 4294967296L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_UD_LINKS 4294967296
+ * }
+ */
+ public static long H5VL_CAP_FLAG_UD_LINKS() { return H5VL_CAP_FLAG_UD_LINKS; }
+ private static final long H5VL_CAP_FLAG_TRACK_TIMES = 8589934592L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_TRACK_TIMES 8589934592
+ * }
+ */
+ public static long H5VL_CAP_FLAG_TRACK_TIMES() { return H5VL_CAP_FLAG_TRACK_TIMES; }
+ private static final long H5VL_CAP_FLAG_MOUNT = 17179869184L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_MOUNT 17179869184
+ * }
+ */
+ public static long H5VL_CAP_FLAG_MOUNT() { return H5VL_CAP_FLAG_MOUNT; }
+ private static final long H5VL_CAP_FLAG_FILTERS = 34359738368L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILTERS 34359738368
+ * }
+ */
+ public static long H5VL_CAP_FLAG_FILTERS() { return H5VL_CAP_FLAG_FILTERS; }
+ private static final long H5VL_CAP_FLAG_FILL_VALUES = 68719476736L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILL_VALUES 68719476736
+ * }
+ */
+ public static long H5VL_CAP_FLAG_FILL_VALUES() { return H5VL_CAP_FLAG_FILL_VALUES; }
+ private static final long H5R_OBJ_REF_BUF_SIZE = 8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_OBJ_REF_BUF_SIZE 8
+ * }
+ */
+ public static long H5R_OBJ_REF_BUF_SIZE() { return H5R_OBJ_REF_BUF_SIZE; }
+ private static final long H5R_DSET_REG_REF_BUF_SIZE = 12L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_DSET_REG_REF_BUF_SIZE 12
+ * }
+ */
+ public static long H5R_DSET_REG_REF_BUF_SIZE() { return H5R_DSET_REG_REF_BUF_SIZE; }
+ private static final int H5R_REF_BUF_SIZE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_REF_BUF_SIZE 64
+ * }
+ */
+ public static int H5R_REF_BUF_SIZE() { return H5R_REF_BUF_SIZE; }
+ private static final int H5R_OBJECT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_OBJECT 0
+ * }
+ */
+ public static int H5R_OBJECT() { return H5R_OBJECT; }
+ private static final int H5R_DATASET_REGION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_DATASET_REGION 1
+ * }
+ */
+ public static int H5R_DATASET_REGION() { return H5R_DATASET_REGION; }
+ private static final int H5VL_MAX_BLOB_ID_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAX_BLOB_ID_SIZE 16
+ * }
+ */
+ public static int H5VL_MAX_BLOB_ID_SIZE() { return H5VL_MAX_BLOB_ID_SIZE; }
+ private static final long H5S_UNLIMITED = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_UNLIMITED -1
+ * }
+ */
+ public static long H5S_UNLIMITED() { return H5S_UNLIMITED; }
+ private static final int H5Z_FILTER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_ERROR -1
+ * }
+ */
+ public static int H5Z_FILTER_ERROR() { return H5Z_FILTER_ERROR; }
+ private static final int H5Z_FILTER_CONFIG_ENCODE_ENABLED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_CONFIG_ENCODE_ENABLED 1
+ * }
+ */
+ public static int H5Z_FILTER_CONFIG_ENCODE_ENABLED() { return H5Z_FILTER_CONFIG_ENCODE_ENABLED; }
+ private static final int H5Z_FILTER_CONFIG_DECODE_ENABLED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_CONFIG_DECODE_ENABLED 2
+ * }
+ */
+ public static int H5Z_FILTER_CONFIG_DECODE_ENABLED() { return H5Z_FILTER_CONFIG_DECODE_ENABLED; }
+ private static final int H5D_SEL_IO_DISABLE_BY_API = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_DISABLE_BY_API 1
+ * }
+ */
+ public static int H5D_SEL_IO_DISABLE_BY_API() { return H5D_SEL_IO_DISABLE_BY_API; }
+ private static final int H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET 2
+ * }
+ */
+ public static int H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET()
+ {
+ return H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET;
+ }
+ private static final int H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER 4
+ * }
+ */
+ public static int H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER() { return H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER; }
+ private static final int H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB 8
+ * }
+ */
+ public static int H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB()
+ {
+ return H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB;
+ }
+ private static final int H5D_SEL_IO_PAGE_BUFFER = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_PAGE_BUFFER 16
+ * }
+ */
+ public static int H5D_SEL_IO_PAGE_BUFFER() { return H5D_SEL_IO_PAGE_BUFFER; }
+ private static final int H5D_SEL_IO_DATASET_FILTER = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_DATASET_FILTER 32
+ * }
+ */
+ public static int H5D_SEL_IO_DATASET_FILTER() { return H5D_SEL_IO_DATASET_FILTER; }
+ private static final int H5D_SEL_IO_CHUNK_CACHE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_CHUNK_CACHE 64
+ * }
+ */
+ public static int H5D_SEL_IO_CHUNK_CACHE() { return H5D_SEL_IO_CHUNK_CACHE; }
+ private static final int H5D_SEL_IO_TCONV_BUF_TOO_SMALL = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_TCONV_BUF_TOO_SMALL 128
+ * }
+ */
+ public static int H5D_SEL_IO_TCONV_BUF_TOO_SMALL() { return H5D_SEL_IO_TCONV_BUF_TOO_SMALL; }
+ private static final int H5D_SEL_IO_BKG_BUF_TOO_SMALL = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_BKG_BUF_TOO_SMALL 256
+ * }
+ */
+ public static int H5D_SEL_IO_BKG_BUF_TOO_SMALL() { return H5D_SEL_IO_BKG_BUF_TOO_SMALL; }
+ private static final int H5D_SEL_IO_DEFAULT_OFF = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_DEFAULT_OFF 512
+ * }
+ */
+ public static int H5D_SEL_IO_DEFAULT_OFF() { return H5D_SEL_IO_DEFAULT_OFF; }
+ private static final int H5D_MPIO_NO_SELECTION_IO_CAUSES = (int)481L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_MPIO_NO_SELECTION_IO_CAUSES 481
+ * }
+ */
+ public static int H5D_MPIO_NO_SELECTION_IO_CAUSES() { return H5D_MPIO_NO_SELECTION_IO_CAUSES; }
+ private static final int H5D_SCALAR_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SCALAR_IO 1
+ * }
+ */
+ public static int H5D_SCALAR_IO() { return H5D_SCALAR_IO; }
+ private static final int H5D_VECTOR_IO = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_VECTOR_IO 2
+ * }
+ */
+ public static int H5D_VECTOR_IO() { return H5D_VECTOR_IO; }
+ private static final int H5D_SELECTION_IO = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SELECTION_IO 4
+ * }
+ */
+ public static int H5D_SELECTION_IO() { return H5D_SELECTION_IO; }
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_NO_PLUGIN "::"
+ * }
+ */
+ public static MemorySegment H5PL_NO_PLUGIN()
+ {
+ class Holder {
+ static final MemorySegment H5PL_NO_PLUGIN = hdf5_h.LIBRARY_ARENA.allocateFrom("::");
+ }
+ return Holder.H5PL_NO_PLUGIN;
+ }
+ private static final int H5FD_MEM_FHEAP_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_HDR() { return H5FD_MEM_FHEAP_HDR; }
+ private static final int H5FD_MEM_FHEAP_IBLOCK = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_IBLOCK 6
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_IBLOCK() { return H5FD_MEM_FHEAP_IBLOCK; }
+ private static final int H5FD_MEM_FHEAP_DBLOCK = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_DBLOCK 5
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_DBLOCK() { return H5FD_MEM_FHEAP_DBLOCK; }
+ private static final int H5FD_MEM_FHEAP_HUGE_OBJ = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_HUGE_OBJ 3
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_HUGE_OBJ() { return H5FD_MEM_FHEAP_HUGE_OBJ; }
+ private static final int H5FD_MEM_FSPACE_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FSPACE_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_FSPACE_HDR() { return H5FD_MEM_FSPACE_HDR; }
+ private static final int H5FD_MEM_FSPACE_SINFO = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FSPACE_SINFO 5
+ * }
+ */
+ public static int H5FD_MEM_FSPACE_SINFO() { return H5FD_MEM_FSPACE_SINFO; }
+ private static final int H5FD_MEM_SOHM_TABLE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_SOHM_TABLE 6
+ * }
+ */
+ public static int H5FD_MEM_SOHM_TABLE() { return H5FD_MEM_SOHM_TABLE; }
+ private static final int H5FD_MEM_SOHM_INDEX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_SOHM_INDEX 2
+ * }
+ */
+ public static int H5FD_MEM_SOHM_INDEX() { return H5FD_MEM_SOHM_INDEX; }
+ private static final int H5FD_MEM_EARRAY_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_HDR() { return H5FD_MEM_EARRAY_HDR; }
+ private static final int H5FD_MEM_EARRAY_IBLOCK = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_IBLOCK 6
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_IBLOCK() { return H5FD_MEM_EARRAY_IBLOCK; }
+ private static final int H5FD_MEM_EARRAY_SBLOCK = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_SBLOCK 2
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_SBLOCK() { return H5FD_MEM_EARRAY_SBLOCK; }
+ private static final int H5FD_MEM_EARRAY_DBLOCK = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_DBLOCK 5
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_DBLOCK() { return H5FD_MEM_EARRAY_DBLOCK; }
+ private static final int H5FD_MEM_EARRAY_DBLK_PAGE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_DBLK_PAGE 5
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_DBLK_PAGE() { return H5FD_MEM_EARRAY_DBLK_PAGE; }
+ private static final int H5FD_MEM_FARRAY_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FARRAY_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_FARRAY_HDR() { return H5FD_MEM_FARRAY_HDR; }
+ private static final int H5FD_MEM_FARRAY_DBLOCK = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FARRAY_DBLOCK 5
+ * }
+ */
+ public static int H5FD_MEM_FARRAY_DBLOCK() { return H5FD_MEM_FARRAY_DBLOCK; }
+ private static final int H5FD_MEM_FARRAY_DBLK_PAGE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FARRAY_DBLK_PAGE 5
+ * }
+ */
+ public static int H5FD_MEM_FARRAY_DBLK_PAGE() { return H5FD_MEM_FARRAY_DBLK_PAGE; }
+ private static final int H5Z_CLASS_T_VERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_CLASS_T_VERS 1
+ * }
+ */
+ public static int H5Z_CLASS_T_VERS() { return H5Z_CLASS_T_VERS; }
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_NAME "native"
+ * }
+ */
+ public static MemorySegment H5VL_NATIVE_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5VL_NATIVE_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("native");
+ }
+ return Holder.H5VL_NATIVE_NAME;
+ }
+ private static final int H5VL_NATIVE_VALUE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_VALUE 0
+ * }
+ */
+ public static int H5VL_NATIVE_VALUE() { return H5VL_NATIVE_VALUE; }
+ private static final int H5FD_CORE_VALUE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CORE_VALUE 1
+ * }
+ */
+ public static int H5FD_CORE_VALUE() { return H5FD_CORE_VALUE; }
+ private static final int H5FD_DIRECT = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_DIRECT -1
+ * }
+ */
+ public static int H5FD_DIRECT() { return H5FD_DIRECT; }
+ private static final int H5FD_DIRECT_VALUE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_DIRECT_VALUE -1
+ * }
+ */
+ public static int H5FD_DIRECT_VALUE() { return H5FD_DIRECT_VALUE; }
+ private static final int CBSIZE_DEF = (int)16777216L;
+ /**
+ * {@snippet lang=c :
+ * #define CBSIZE_DEF 16777216
+ * }
+ */
+ public static int CBSIZE_DEF() { return CBSIZE_DEF; }
+ private static final int H5FD_FAMILY_VALUE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FAMILY_VALUE 3
+ * }
+ */
+ public static int H5FD_FAMILY_VALUE() { return H5FD_FAMILY_VALUE; }
+ private static final int H5FD_HDFS = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_HDFS -1
+ * }
+ */
+ public static int H5FD_HDFS() { return H5FD_HDFS; }
+ private static final int H5FD_HDFS_VALUE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_HDFS_VALUE -1
+ * }
+ */
+ public static int H5FD_HDFS_VALUE() { return H5FD_HDFS_VALUE; }
+ private static final int H5FD_LOG_VALUE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_VALUE 2
+ * }
+ */
+ public static int H5FD_LOG_VALUE() { return H5FD_LOG_VALUE; }
+ private static final int H5FD_LOG_META_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_META_IO 1
+ * }
+ */
+ public static int H5FD_LOG_META_IO() { return H5FD_LOG_META_IO; }
+ private static final int H5FD_LOG_LOC_IO = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_IO 14
+ * }
+ */
+ public static int H5FD_LOG_LOC_IO() { return H5FD_LOG_LOC_IO; }
+ private static final int H5FD_LOG_FILE_IO = (int)48L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FILE_IO 48
+ * }
+ */
+ public static int H5FD_LOG_FILE_IO() { return H5FD_LOG_FILE_IO; }
+ private static final int H5FD_LOG_NUM_IO = (int)1920L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_IO 1920
+ * }
+ */
+ public static int H5FD_LOG_NUM_IO() { return H5FD_LOG_NUM_IO; }
+ private static final int H5FD_LOG_TIME_IO = (int)260096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_IO 260096
+ * }
+ */
+ public static int H5FD_LOG_TIME_IO() { return H5FD_LOG_TIME_IO; }
+ private static final int H5FD_LOG_ALL = (int)1048575L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_ALL 1048575
+ * }
+ */
+ public static int H5FD_LOG_ALL() { return H5FD_LOG_ALL; }
+ private static final int H5FD_MPIO = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MPIO -1
+ * }
+ */
+ public static int H5FD_MPIO() { return H5FD_MPIO; }
+ private static final int H5FD_ONION_VALUE = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_VALUE 14
+ * }
+ */
+ public static int H5FD_ONION_VALUE() { return H5FD_ONION_VALUE; }
+ private static final int H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT 1
+ * }
+ */
+ public static int H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT()
+ {
+ return H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT;
+ }
+ private static final long H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST -1
+ * }
+ */
+ public static long H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST()
+ {
+ return H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST;
+ }
+ private static final int H5FD_ROS3 = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3 -1
+ * }
+ */
+ public static int H5FD_ROS3() { return H5FD_ROS3; }
+ private static final int H5FD_ROS3_VALUE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3_VALUE -1
+ * }
+ */
+ public static int H5FD_ROS3_VALUE() { return H5FD_ROS3_VALUE; }
+ private static final int H5FD_SEC2_VALUE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SEC2_VALUE 0
+ * }
+ */
+ public static int H5FD_SEC2_VALUE() { return H5FD_SEC2_VALUE; }
+ private static final int H5FD_SPLITTER_VALUE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SPLITTER_VALUE 6
+ * }
+ */
+ public static int H5FD_SPLITTER_VALUE() { return H5FD_SPLITTER_VALUE; }
+ private static final int H5FD_SUBFILING = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SUBFILING -1
+ * }
+ */
+ public static int H5FD_SUBFILING() { return H5FD_SUBFILING; }
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SUBFILING_NAME "subfiling"
+ * }
+ */
+ public static MemorySegment H5FD_SUBFILING_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5FD_SUBFILING_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("subfiling");
+ }
+ return Holder.H5FD_SUBFILING_NAME;
+ }
+ private static final int H5FD_IOC = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_IOC -1
+ * }
+ */
+ public static int H5FD_IOC() { return H5FD_IOC; }
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_IOC_NAME "ioc"
+ * }
+ */
+ public static MemorySegment H5FD_IOC_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5FD_IOC_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("ioc");
+ }
+ return Holder.H5FD_IOC_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_PASSTHRU_NAME "pass_through"
+ * }
+ */
+ public static MemorySegment H5VL_PASSTHRU_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5VL_PASSTHRU_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("pass_through");
+ }
+ return Holder.H5VL_PASSTHRU_NAME;
+ }
+}
diff --git a/java/jsrc/features/plain/linux/hdf5_h_1.java b/java/jsrc/features/plain/linux/hdf5_h_1.java
new file mode 100644
index 00000000000..84aee6b1484
--- /dev/null
+++ b/java/jsrc/features/plain/linux/hdf5_h_1.java
@@ -0,0 +1,39487 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h_1 extends hdf5_h_2 {
+
+ hdf5_h_1()
+ {
+ // Should not be called directly
+ }
+
+ private static class H5T_NATIVE_LONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_LONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LONG_g$layout() { return H5T_NATIVE_LONG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LONG_g$segment() { return H5T_NATIVE_LONG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static long H5T_NATIVE_LONG_g()
+ {
+ return H5T_NATIVE_LONG_g$constants.SEGMENT.get(H5T_NATIVE_LONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static void H5T_NATIVE_LONG_g(long varValue)
+ {
+ H5T_NATIVE_LONG_g$constants.SEGMENT.set(H5T_NATIVE_LONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_ULONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_ULONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_ULONG_g$layout() { return H5T_NATIVE_ULONG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_ULONG_g$segment() { return H5T_NATIVE_ULONG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static long H5T_NATIVE_ULONG_g()
+ {
+ return H5T_NATIVE_ULONG_g$constants.SEGMENT.get(H5T_NATIVE_ULONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static void H5T_NATIVE_ULONG_g(long varValue)
+ {
+ H5T_NATIVE_ULONG_g$constants.SEGMENT.set(H5T_NATIVE_ULONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_LLONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_LLONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LLONG_g$layout() { return H5T_NATIVE_LLONG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LLONG_g$segment() { return H5T_NATIVE_LLONG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static long H5T_NATIVE_LLONG_g()
+ {
+ return H5T_NATIVE_LLONG_g$constants.SEGMENT.get(H5T_NATIVE_LLONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static void H5T_NATIVE_LLONG_g(long varValue)
+ {
+ H5T_NATIVE_LLONG_g$constants.SEGMENT.set(H5T_NATIVE_LLONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_ULLONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_ULLONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_ULLONG_g$layout() { return H5T_NATIVE_ULLONG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_ULLONG_g$segment()
+ {
+ return H5T_NATIVE_ULLONG_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static long H5T_NATIVE_ULLONG_g()
+ {
+ return H5T_NATIVE_ULLONG_g$constants.SEGMENT.get(H5T_NATIVE_ULLONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static void H5T_NATIVE_ULLONG_g(long varValue)
+ {
+ H5T_NATIVE_ULLONG_g$constants.SEGMENT.set(H5T_NATIVE_ULLONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_FLOAT16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_FLOAT16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_FLOAT16_g$layout() { return H5T_NATIVE_FLOAT16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_FLOAT16_g$segment()
+ {
+ return H5T_NATIVE_FLOAT16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static long H5T_NATIVE_FLOAT16_g()
+ {
+ return H5T_NATIVE_FLOAT16_g$constants.SEGMENT.get(H5T_NATIVE_FLOAT16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static void H5T_NATIVE_FLOAT16_g(long varValue)
+ {
+ H5T_NATIVE_FLOAT16_g$constants.SEGMENT.set(H5T_NATIVE_FLOAT16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_FLOAT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_FLOAT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_FLOAT_g$layout() { return H5T_NATIVE_FLOAT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_FLOAT_g$segment() { return H5T_NATIVE_FLOAT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static long H5T_NATIVE_FLOAT_g()
+ {
+ return H5T_NATIVE_FLOAT_g$constants.SEGMENT.get(H5T_NATIVE_FLOAT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static void H5T_NATIVE_FLOAT_g(long varValue)
+ {
+ H5T_NATIVE_FLOAT_g$constants.SEGMENT.set(H5T_NATIVE_FLOAT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_DOUBLE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_DOUBLE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_DOUBLE_g$layout() { return H5T_NATIVE_DOUBLE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_DOUBLE_g$segment()
+ {
+ return H5T_NATIVE_DOUBLE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static long H5T_NATIVE_DOUBLE_g()
+ {
+ return H5T_NATIVE_DOUBLE_g$constants.SEGMENT.get(H5T_NATIVE_DOUBLE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static void H5T_NATIVE_DOUBLE_g(long varValue)
+ {
+ H5T_NATIVE_DOUBLE_g$constants.SEGMENT.set(H5T_NATIVE_DOUBLE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_LDOUBLE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_LDOUBLE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LDOUBLE_g$layout() { return H5T_NATIVE_LDOUBLE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LDOUBLE_g$segment()
+ {
+ return H5T_NATIVE_LDOUBLE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static long H5T_NATIVE_LDOUBLE_g()
+ {
+ return H5T_NATIVE_LDOUBLE_g$constants.SEGMENT.get(H5T_NATIVE_LDOUBLE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static void H5T_NATIVE_LDOUBLE_g(long varValue)
+ {
+ H5T_NATIVE_LDOUBLE_g$constants.SEGMENT.set(H5T_NATIVE_LDOUBLE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_FLOAT_COMPLEX_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_FLOAT_COMPLEX_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_FLOAT_COMPLEX_g$layout()
+ {
+ return H5T_NATIVE_FLOAT_COMPLEX_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_FLOAT_COMPLEX_g$segment()
+ {
+ return H5T_NATIVE_FLOAT_COMPLEX_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static long H5T_NATIVE_FLOAT_COMPLEX_g()
+ {
+ return H5T_NATIVE_FLOAT_COMPLEX_g$constants.SEGMENT.get(H5T_NATIVE_FLOAT_COMPLEX_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static void H5T_NATIVE_FLOAT_COMPLEX_g(long varValue)
+ {
+ H5T_NATIVE_FLOAT_COMPLEX_g$constants.SEGMENT.set(H5T_NATIVE_FLOAT_COMPLEX_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_DOUBLE_COMPLEX_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_DOUBLE_COMPLEX_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_DOUBLE_COMPLEX_g$layout()
+ {
+ return H5T_NATIVE_DOUBLE_COMPLEX_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_DOUBLE_COMPLEX_g$segment()
+ {
+ return H5T_NATIVE_DOUBLE_COMPLEX_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static long H5T_NATIVE_DOUBLE_COMPLEX_g()
+ {
+ return H5T_NATIVE_DOUBLE_COMPLEX_g$constants.SEGMENT.get(H5T_NATIVE_DOUBLE_COMPLEX_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static void H5T_NATIVE_DOUBLE_COMPLEX_g(long varValue)
+ {
+ H5T_NATIVE_DOUBLE_COMPLEX_g$constants.SEGMENT.set(H5T_NATIVE_DOUBLE_COMPLEX_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_LDOUBLE_COMPLEX_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_LDOUBLE_COMPLEX_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LDOUBLE_COMPLEX_g$layout()
+ {
+ return H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LDOUBLE_COMPLEX_g$segment()
+ {
+ return H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static long H5T_NATIVE_LDOUBLE_COMPLEX_g()
+ {
+ return H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.SEGMENT.get(
+ H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static void H5T_NATIVE_LDOUBLE_COMPLEX_g(long varValue)
+ {
+ H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.SEGMENT.set(H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_B8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_B8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B8_g$layout() { return H5T_NATIVE_B8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B8_g$segment() { return H5T_NATIVE_B8_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static long H5T_NATIVE_B8_g()
+ {
+ return H5T_NATIVE_B8_g$constants.SEGMENT.get(H5T_NATIVE_B8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static void H5T_NATIVE_B8_g(long varValue)
+ {
+ H5T_NATIVE_B8_g$constants.SEGMENT.set(H5T_NATIVE_B8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_B16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_B16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B16_g$layout() { return H5T_NATIVE_B16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B16_g$segment() { return H5T_NATIVE_B16_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static long H5T_NATIVE_B16_g()
+ {
+ return H5T_NATIVE_B16_g$constants.SEGMENT.get(H5T_NATIVE_B16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static void H5T_NATIVE_B16_g(long varValue)
+ {
+ H5T_NATIVE_B16_g$constants.SEGMENT.set(H5T_NATIVE_B16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_B32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_B32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B32_g$layout() { return H5T_NATIVE_B32_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B32_g$segment() { return H5T_NATIVE_B32_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static long H5T_NATIVE_B32_g()
+ {
+ return H5T_NATIVE_B32_g$constants.SEGMENT.get(H5T_NATIVE_B32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static void H5T_NATIVE_B32_g(long varValue)
+ {
+ H5T_NATIVE_B32_g$constants.SEGMENT.set(H5T_NATIVE_B32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_B64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_B64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B64_g$layout() { return H5T_NATIVE_B64_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B64_g$segment() { return H5T_NATIVE_B64_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static long H5T_NATIVE_B64_g()
+ {
+ return H5T_NATIVE_B64_g$constants.SEGMENT.get(H5T_NATIVE_B64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static void H5T_NATIVE_B64_g(long varValue)
+ {
+ H5T_NATIVE_B64_g$constants.SEGMENT.set(H5T_NATIVE_B64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_OPAQUE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_OPAQUE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_OPAQUE_g$layout() { return H5T_NATIVE_OPAQUE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_OPAQUE_g$segment()
+ {
+ return H5T_NATIVE_OPAQUE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static long H5T_NATIVE_OPAQUE_g()
+ {
+ return H5T_NATIVE_OPAQUE_g$constants.SEGMENT.get(H5T_NATIVE_OPAQUE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static void H5T_NATIVE_OPAQUE_g(long varValue)
+ {
+ H5T_NATIVE_OPAQUE_g$constants.SEGMENT.set(H5T_NATIVE_OPAQUE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HADDR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HADDR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HADDR_g$layout() { return H5T_NATIVE_HADDR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HADDR_g$segment() { return H5T_NATIVE_HADDR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static long H5T_NATIVE_HADDR_g()
+ {
+ return H5T_NATIVE_HADDR_g$constants.SEGMENT.get(H5T_NATIVE_HADDR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static void H5T_NATIVE_HADDR_g(long varValue)
+ {
+ H5T_NATIVE_HADDR_g$constants.SEGMENT.set(H5T_NATIVE_HADDR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HSIZE_g$layout() { return H5T_NATIVE_HSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HSIZE_g$segment() { return H5T_NATIVE_HSIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static long H5T_NATIVE_HSIZE_g()
+ {
+ return H5T_NATIVE_HSIZE_g$constants.SEGMENT.get(H5T_NATIVE_HSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static void H5T_NATIVE_HSIZE_g(long varValue)
+ {
+ H5T_NATIVE_HSIZE_g$constants.SEGMENT.set(H5T_NATIVE_HSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HSSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HSSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HSSIZE_g$layout() { return H5T_NATIVE_HSSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HSSIZE_g$segment()
+ {
+ return H5T_NATIVE_HSSIZE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static long H5T_NATIVE_HSSIZE_g()
+ {
+ return H5T_NATIVE_HSSIZE_g$constants.SEGMENT.get(H5T_NATIVE_HSSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static void H5T_NATIVE_HSSIZE_g(long varValue)
+ {
+ H5T_NATIVE_HSSIZE_g$constants.SEGMENT.set(H5T_NATIVE_HSSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HERR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HERR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HERR_g$layout() { return H5T_NATIVE_HERR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HERR_g$segment() { return H5T_NATIVE_HERR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static long H5T_NATIVE_HERR_g()
+ {
+ return H5T_NATIVE_HERR_g$constants.SEGMENT.get(H5T_NATIVE_HERR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static void H5T_NATIVE_HERR_g(long varValue)
+ {
+ H5T_NATIVE_HERR_g$constants.SEGMENT.set(H5T_NATIVE_HERR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HBOOL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HBOOL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HBOOL_g$layout() { return H5T_NATIVE_HBOOL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HBOOL_g$segment() { return H5T_NATIVE_HBOOL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static long H5T_NATIVE_HBOOL_g()
+ {
+ return H5T_NATIVE_HBOOL_g$constants.SEGMENT.get(H5T_NATIVE_HBOOL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static void H5T_NATIVE_HBOOL_g(long varValue)
+ {
+ H5T_NATIVE_HBOOL_g$constants.SEGMENT.set(H5T_NATIVE_HBOOL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT8_g$layout() { return H5T_NATIVE_INT8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT8_g$segment() { return H5T_NATIVE_INT8_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static long H5T_NATIVE_INT8_g()
+ {
+ return H5T_NATIVE_INT8_g$constants.SEGMENT.get(H5T_NATIVE_INT8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static void H5T_NATIVE_INT8_g(long varValue)
+ {
+ H5T_NATIVE_INT8_g$constants.SEGMENT.set(H5T_NATIVE_INT8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT8_g$layout() { return H5T_NATIVE_UINT8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT8_g$segment() { return H5T_NATIVE_UINT8_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT8_g()
+ {
+ return H5T_NATIVE_UINT8_g$constants.SEGMENT.get(H5T_NATIVE_UINT8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT8_g(long varValue)
+ {
+ H5T_NATIVE_UINT8_g$constants.SEGMENT.set(H5T_NATIVE_UINT8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST8_g$layout() { return H5T_NATIVE_INT_LEAST8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST8_g$segment()
+ {
+ return H5T_NATIVE_INT_LEAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST8_g()
+ {
+ return H5T_NATIVE_INT_LEAST8_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST8_g(long varValue)
+ {
+ H5T_NATIVE_INT_LEAST8_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST8_g$layout()
+ {
+ return H5T_NATIVE_UINT_LEAST8_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST8_g$segment()
+ {
+ return H5T_NATIVE_UINT_LEAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST8_g()
+ {
+ return H5T_NATIVE_UINT_LEAST8_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST8_g(long varValue)
+ {
+ H5T_NATIVE_UINT_LEAST8_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST8_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST8_g$layout() { return H5T_NATIVE_INT_FAST8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST8_g$segment()
+ {
+ return H5T_NATIVE_INT_FAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST8_g()
+ {
+ return H5T_NATIVE_INT_FAST8_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST8_g(long varValue)
+ {
+ H5T_NATIVE_INT_FAST8_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST8_g$layout() { return H5T_NATIVE_UINT_FAST8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST8_g$segment()
+ {
+ return H5T_NATIVE_UINT_FAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST8_g()
+ {
+ return H5T_NATIVE_UINT_FAST8_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST8_g(long varValue)
+ {
+ H5T_NATIVE_UINT_FAST8_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT16_g$layout() { return H5T_NATIVE_INT16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT16_g$segment() { return H5T_NATIVE_INT16_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static long H5T_NATIVE_INT16_g()
+ {
+ return H5T_NATIVE_INT16_g$constants.SEGMENT.get(H5T_NATIVE_INT16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static void H5T_NATIVE_INT16_g(long varValue)
+ {
+ H5T_NATIVE_INT16_g$constants.SEGMENT.set(H5T_NATIVE_INT16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT16_g$layout() { return H5T_NATIVE_UINT16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT16_g$segment()
+ {
+ return H5T_NATIVE_UINT16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT16_g()
+ {
+ return H5T_NATIVE_UINT16_g$constants.SEGMENT.get(H5T_NATIVE_UINT16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT16_g(long varValue)
+ {
+ H5T_NATIVE_UINT16_g$constants.SEGMENT.set(H5T_NATIVE_UINT16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST16_g$layout()
+ {
+ return H5T_NATIVE_INT_LEAST16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST16_g$segment()
+ {
+ return H5T_NATIVE_INT_LEAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST16_g()
+ {
+ return H5T_NATIVE_INT_LEAST16_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST16_g(long varValue)
+ {
+ H5T_NATIVE_INT_LEAST16_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST16_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST16_g$layout()
+ {
+ return H5T_NATIVE_UINT_LEAST16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST16_g$segment()
+ {
+ return H5T_NATIVE_UINT_LEAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST16_g()
+ {
+ return H5T_NATIVE_UINT_LEAST16_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST16_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST16_g(long varValue)
+ {
+ H5T_NATIVE_UINT_LEAST16_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST16_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST16_g$layout() { return H5T_NATIVE_INT_FAST16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST16_g$segment()
+ {
+ return H5T_NATIVE_INT_FAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST16_g()
+ {
+ return H5T_NATIVE_INT_FAST16_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST16_g(long varValue)
+ {
+ H5T_NATIVE_INT_FAST16_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST16_g$layout()
+ {
+ return H5T_NATIVE_UINT_FAST16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST16_g$segment()
+ {
+ return H5T_NATIVE_UINT_FAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST16_g()
+ {
+ return H5T_NATIVE_UINT_FAST16_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST16_g(long varValue)
+ {
+ H5T_NATIVE_UINT_FAST16_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST16_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT32_g$layout() { return H5T_NATIVE_INT32_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT32_g$segment() { return H5T_NATIVE_INT32_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static long H5T_NATIVE_INT32_g()
+ {
+ return H5T_NATIVE_INT32_g$constants.SEGMENT.get(H5T_NATIVE_INT32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static void H5T_NATIVE_INT32_g(long varValue)
+ {
+ H5T_NATIVE_INT32_g$constants.SEGMENT.set(H5T_NATIVE_INT32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT32_g$layout() { return H5T_NATIVE_UINT32_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT32_g$segment()
+ {
+ return H5T_NATIVE_UINT32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT32_g()
+ {
+ return H5T_NATIVE_UINT32_g$constants.SEGMENT.get(H5T_NATIVE_UINT32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT32_g(long varValue)
+ {
+ H5T_NATIVE_UINT32_g$constants.SEGMENT.set(H5T_NATIVE_UINT32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST32_g$layout()
+ {
+ return H5T_NATIVE_INT_LEAST32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST32_g$segment()
+ {
+ return H5T_NATIVE_INT_LEAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST32_g()
+ {
+ return H5T_NATIVE_INT_LEAST32_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST32_g(long varValue)
+ {
+ H5T_NATIVE_INT_LEAST32_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST32_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST32_g$layout()
+ {
+ return H5T_NATIVE_UINT_LEAST32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST32_g$segment()
+ {
+ return H5T_NATIVE_UINT_LEAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST32_g()
+ {
+ return H5T_NATIVE_UINT_LEAST32_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST32_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST32_g(long varValue)
+ {
+ H5T_NATIVE_UINT_LEAST32_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST32_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST32_g$layout() { return H5T_NATIVE_INT_FAST32_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST32_g$segment()
+ {
+ return H5T_NATIVE_INT_FAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST32_g()
+ {
+ return H5T_NATIVE_INT_FAST32_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST32_g(long varValue)
+ {
+ H5T_NATIVE_INT_FAST32_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST32_g$layout()
+ {
+ return H5T_NATIVE_UINT_FAST32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST32_g$segment()
+ {
+ return H5T_NATIVE_UINT_FAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST32_g()
+ {
+ return H5T_NATIVE_UINT_FAST32_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST32_g(long varValue)
+ {
+ H5T_NATIVE_UINT_FAST32_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST32_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT64_g$layout() { return H5T_NATIVE_INT64_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT64_g$segment() { return H5T_NATIVE_INT64_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static long H5T_NATIVE_INT64_g()
+ {
+ return H5T_NATIVE_INT64_g$constants.SEGMENT.get(H5T_NATIVE_INT64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static void H5T_NATIVE_INT64_g(long varValue)
+ {
+ H5T_NATIVE_INT64_g$constants.SEGMENT.set(H5T_NATIVE_INT64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT64_g$layout() { return H5T_NATIVE_UINT64_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT64_g$segment()
+ {
+ return H5T_NATIVE_UINT64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT64_g()
+ {
+ return H5T_NATIVE_UINT64_g$constants.SEGMENT.get(H5T_NATIVE_UINT64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT64_g(long varValue)
+ {
+ H5T_NATIVE_UINT64_g$constants.SEGMENT.set(H5T_NATIVE_UINT64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST64_g$layout()
+ {
+ return H5T_NATIVE_INT_LEAST64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST64_g$segment()
+ {
+ return H5T_NATIVE_INT_LEAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST64_g()
+ {
+ return H5T_NATIVE_INT_LEAST64_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST64_g(long varValue)
+ {
+ H5T_NATIVE_INT_LEAST64_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST64_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST64_g$layout()
+ {
+ return H5T_NATIVE_UINT_LEAST64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST64_g$segment()
+ {
+ return H5T_NATIVE_UINT_LEAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST64_g()
+ {
+ return H5T_NATIVE_UINT_LEAST64_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST64_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST64_g(long varValue)
+ {
+ H5T_NATIVE_UINT_LEAST64_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST64_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST64_g$layout() { return H5T_NATIVE_INT_FAST64_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST64_g$segment()
+ {
+ return H5T_NATIVE_INT_FAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST64_g()
+ {
+ return H5T_NATIVE_INT_FAST64_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST64_g(long varValue)
+ {
+ H5T_NATIVE_INT_FAST64_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST64_g$layout()
+ {
+ return H5T_NATIVE_UINT_FAST64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST64_g$segment()
+ {
+ return H5T_NATIVE_UINT_FAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST64_g()
+ {
+ return H5T_NATIVE_UINT_FAST64_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST64_g(long varValue)
+ {
+ H5T_NATIVE_UINT_FAST64_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST64_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5Tcreate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Tcreate$descriptor() { return H5Tcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static MethodHandle H5Tcreate$handle() { return H5Tcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static MemorySegment H5Tcreate$address() { return H5Tcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static long H5Tcreate(int type, long size)
+ {
+ var mh$ = H5Tcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcreate", type, size);
+ }
+ return (long)mh$.invokeExact(type, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcopy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcopy$descriptor() { return H5Tcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tcopy$handle() { return H5Tcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tcopy$address() { return H5Tcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static long H5Tcopy(long type_id)
+ {
+ var mh$ = H5Tcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcopy", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tclose$descriptor() { return H5Tclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tclose$handle() { return H5Tclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tclose$address() { return H5Tclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static int H5Tclose(long type_id)
+ {
+ var mh$ = H5Tclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tclose", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tclose_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tclose_async$descriptor() { return H5Tclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Tclose_async$handle() { return H5Tclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Tclose_async$address() { return H5Tclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Tclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long type_id, long es_id)
+ {
+ var mh$ = H5Tclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tclose_async", app_file, app_func, app_line, type_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, type_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tequal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tequal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tequal$descriptor() { return H5Tequal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static MethodHandle H5Tequal$handle() { return H5Tequal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static MemorySegment H5Tequal$address() { return H5Tequal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static int H5Tequal(long type1_id, long type2_id)
+ {
+ var mh$ = H5Tequal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tequal", type1_id, type2_id);
+ }
+ return (int)mh$.invokeExact(type1_id, type2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tlock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tlock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tlock$descriptor() { return H5Tlock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tlock$handle() { return H5Tlock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tlock$address() { return H5Tlock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static int H5Tlock(long type_id)
+ {
+ var mh$ = H5Tlock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tlock", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t
+ * tapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit2$descriptor() { return H5Tcommit2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t
+ * tapl_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit2$handle() { return H5Tcommit2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t
+ * tapl_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit2$address() { return H5Tcommit2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t
+ * tapl_id)
+ * }
+ */
+ public static int H5Tcommit2(long loc_id, MemorySegment name, long type_id, long lcpl_id, long tcpl_id,
+ long tapl_id)
+ {
+ var mh$ = H5Tcommit2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit2", loc_id, name, type_id, lcpl_id, tcpl_id, tapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, type_id, lcpl_id, tcpl_id, tapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit_async$descriptor() { return H5Tcommit_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit_async$handle() { return H5Tcommit_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit_async$address() { return H5Tcommit_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Tcommit_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long type_id, long lcpl_id,
+ long tcpl_id, long tapl_id, long es_id)
+ {
+ var mh$ = H5Tcommit_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit_async", app_file, app_func, app_line, loc_id, name, type_id, lcpl_id,
+ tcpl_id, tapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, type_id, lcpl_id, tcpl_id,
+ tapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Topen2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Topen2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Topen2$descriptor() { return H5Topen2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static MethodHandle H5Topen2$handle() { return H5Topen2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static MemorySegment H5Topen2$address() { return H5Topen2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static long H5Topen2(long loc_id, MemorySegment name, long tapl_id)
+ {
+ var mh$ = H5Topen2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Topen2", loc_id, name, tapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, tapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Topen_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Topen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Topen_async$descriptor() { return H5Topen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Topen_async$handle() { return H5Topen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Topen_async$address() { return H5Topen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Topen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long tapl_id, long es_id)
+ {
+ var mh$ = H5Topen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Topen_async", app_file, app_func, app_line, loc_id, name, tapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, tapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit_anon {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit_anon");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit_anon$descriptor() { return H5Tcommit_anon.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit_anon$handle() { return H5Tcommit_anon.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit_anon$address() { return H5Tcommit_anon.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static int H5Tcommit_anon(long loc_id, long type_id, long tcpl_id, long tapl_id)
+ {
+ var mh$ = H5Tcommit_anon.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit_anon", loc_id, type_id, tcpl_id, tapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, type_id, tcpl_id, tapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_create_plist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_create_plist$descriptor() { return H5Tget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_create_plist$handle() { return H5Tget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_create_plist$address() { return H5Tget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_create_plist(long type_id)
+ {
+ var mh$ = H5Tget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_create_plist", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommitted {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommitted");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommitted$descriptor() { return H5Tcommitted.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tcommitted$handle() { return H5Tcommitted.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tcommitted$address() { return H5Tcommitted.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static int H5Tcommitted(long type_id)
+ {
+ var mh$ = H5Tcommitted.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommitted", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tencode {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tencode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static FunctionDescriptor H5Tencode$descriptor() { return H5Tencode.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MethodHandle H5Tencode$handle() { return H5Tencode.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MemorySegment H5Tencode$address() { return H5Tencode.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static int H5Tencode(long obj_id, MemorySegment buf, MemorySegment nalloc)
+ {
+ var mh$ = H5Tencode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tencode", obj_id, buf, nalloc);
+ }
+ return (int)mh$.invokeExact(obj_id, buf, nalloc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tdecode2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tdecode2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Tdecode2$descriptor() { return H5Tdecode2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5Tdecode2$handle() { return H5Tdecode2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5Tdecode2$address() { return H5Tdecode2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static long H5Tdecode2(MemorySegment buf, long buf_size)
+ {
+ var mh$ = H5Tdecode2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tdecode2", buf, buf_size);
+ }
+ return (long)mh$.invokeExact(buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tflush$descriptor() { return H5Tflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tflush$handle() { return H5Tflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tflush$address() { return H5Tflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static int H5Tflush(long type_id)
+ {
+ var mh$ = H5Tflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tflush", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Trefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Trefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Trefresh$descriptor() { return H5Trefresh.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Trefresh$handle() { return H5Trefresh.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Trefresh$address() { return H5Trefresh.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static int H5Trefresh(long type_id)
+ {
+ var mh$ = H5Trefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Trefresh", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tinsert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tinsert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tinsert$descriptor() { return H5Tinsert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static MethodHandle H5Tinsert$handle() { return H5Tinsert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static MemorySegment H5Tinsert$address() { return H5Tinsert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static int H5Tinsert(long parent_id, MemorySegment name, long offset, long member_id)
+ {
+ var mh$ = H5Tinsert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tinsert", parent_id, name, offset, member_id);
+ }
+ return (int)mh$.invokeExact(parent_id, name, offset, member_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tpack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tpack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tpack$descriptor() { return H5Tpack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tpack$handle() { return H5Tpack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tpack$address() { return H5Tpack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static int H5Tpack(long type_id)
+ {
+ var mh$ = H5Tpack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tpack", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_create$descriptor() { return H5Tenum_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static MethodHandle H5Tenum_create$handle() { return H5Tenum_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static MemorySegment H5Tenum_create$address() { return H5Tenum_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static long H5Tenum_create(long base_id)
+ {
+ var mh$ = H5Tenum_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_create", base_id);
+ }
+ return (long)mh$.invokeExact(base_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_insert {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_insert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_insert$descriptor() { return H5Tenum_insert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static MethodHandle H5Tenum_insert$handle() { return H5Tenum_insert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static MemorySegment H5Tenum_insert$address() { return H5Tenum_insert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static int H5Tenum_insert(long type, MemorySegment name, MemorySegment value)
+ {
+ var mh$ = H5Tenum_insert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_insert", type, name, value);
+ }
+ return (int)mh$.invokeExact(type, name, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_nameof {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_nameof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_nameof$descriptor() { return H5Tenum_nameof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Tenum_nameof$handle() { return H5Tenum_nameof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Tenum_nameof$address() { return H5Tenum_nameof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static int H5Tenum_nameof(long type, MemorySegment value, MemorySegment name, long size)
+ {
+ var mh$ = H5Tenum_nameof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_nameof", type, value, name, size);
+ }
+ return (int)mh$.invokeExact(type, value, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_valueof {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_valueof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_valueof$descriptor() { return H5Tenum_valueof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static MethodHandle H5Tenum_valueof$handle() { return H5Tenum_valueof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static MemorySegment H5Tenum_valueof$address() { return H5Tenum_valueof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static int H5Tenum_valueof(long type, MemorySegment name, MemorySegment value)
+ {
+ var mh$ = H5Tenum_valueof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_valueof", type, name, value);
+ }
+ return (int)mh$.invokeExact(type, name, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tvlen_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tvlen_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tvlen_create$descriptor() { return H5Tvlen_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static MethodHandle H5Tvlen_create$handle() { return H5Tvlen_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static MemorySegment H5Tvlen_create$address() { return H5Tvlen_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static long H5Tvlen_create(long base_id)
+ {
+ var mh$ = H5Tvlen_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tvlen_create", base_id);
+ }
+ return (long)mh$.invokeExact(base_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tarray_create2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tarray_create2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static FunctionDescriptor H5Tarray_create2$descriptor() { return H5Tarray_create2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MethodHandle H5Tarray_create2$handle() { return H5Tarray_create2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MemorySegment H5Tarray_create2$address() { return H5Tarray_create2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static long H5Tarray_create2(long base_id, int ndims, MemorySegment dim)
+ {
+ var mh$ = H5Tarray_create2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tarray_create2", base_id, ndims, dim);
+ }
+ return (long)mh$.invokeExact(base_id, ndims, dim);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_array_ndims {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_array_ndims");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_array_ndims$descriptor() { return H5Tget_array_ndims.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_array_ndims$handle() { return H5Tget_array_ndims.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_array_ndims$address() { return H5Tget_array_ndims.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_array_ndims(long type_id)
+ {
+ var mh$ = H5Tget_array_ndims.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_array_ndims", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_array_dims2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_array_dims2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static FunctionDescriptor H5Tget_array_dims2$descriptor() { return H5Tget_array_dims2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static MethodHandle H5Tget_array_dims2$handle() { return H5Tget_array_dims2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static MemorySegment H5Tget_array_dims2$address() { return H5Tget_array_dims2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static int H5Tget_array_dims2(long type_id, MemorySegment dims)
+ {
+ var mh$ = H5Tget_array_dims2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_array_dims2", type_id, dims);
+ }
+ return (int)mh$.invokeExact(type_id, dims);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcomplex_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcomplex_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcomplex_create$descriptor() { return H5Tcomplex_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static MethodHandle H5Tcomplex_create$handle() { return H5Tcomplex_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static MemorySegment H5Tcomplex_create$address() { return H5Tcomplex_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static long H5Tcomplex_create(long base_type_id)
+ {
+ var mh$ = H5Tcomplex_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcomplex_create", base_type_id);
+ }
+ return (long)mh$.invokeExact(base_type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_tag {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_tag");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_tag$descriptor() { return H5Tset_tag.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static MethodHandle H5Tset_tag$handle() { return H5Tset_tag.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static MemorySegment H5Tset_tag$address() { return H5Tset_tag.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static int H5Tset_tag(long type, MemorySegment tag)
+ {
+ var mh$ = H5Tset_tag.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_tag", type, tag);
+ }
+ return (int)mh$.invokeExact(type, tag);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_tag {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_tag");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_tag$descriptor() { return H5Tget_tag.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static MethodHandle H5Tget_tag$handle() { return H5Tget_tag.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static MemorySegment H5Tget_tag$address() { return H5Tget_tag.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static MemorySegment H5Tget_tag(long type)
+ {
+ var mh$ = H5Tget_tag.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_tag", type);
+ }
+ return (MemorySegment)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_super {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_super");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_super$descriptor() { return H5Tget_super.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static MethodHandle H5Tget_super$handle() { return H5Tget_super.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static MemorySegment H5Tget_super$address() { return H5Tget_super.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static long H5Tget_super(long type)
+ {
+ var mh$ = H5Tget_super.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_super", type);
+ }
+ return (long)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_class$descriptor() { return H5Tget_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_class$handle() { return H5Tget_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_class$address() { return H5Tget_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_class(long type_id)
+ {
+ var mh$ = H5Tget_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_class", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tdetect_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tdetect_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static FunctionDescriptor H5Tdetect_class$descriptor() { return H5Tdetect_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static MethodHandle H5Tdetect_class$handle() { return H5Tdetect_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static MemorySegment H5Tdetect_class$address() { return H5Tdetect_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static int H5Tdetect_class(long type_id, int cls)
+ {
+ var mh$ = H5Tdetect_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tdetect_class", type_id, cls);
+ }
+ return (int)mh$.invokeExact(type_id, cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_size$descriptor() { return H5Tget_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_size$handle() { return H5Tget_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_size$address() { return H5Tget_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_size(long type_id)
+ {
+ var mh$ = H5Tget_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_size", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_order {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_order$descriptor() { return H5Tget_order.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_order$handle() { return H5Tget_order.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_order$address() { return H5Tget_order.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_order(long type_id)
+ {
+ var mh$ = H5Tget_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_order", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_precision {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_precision");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_precision$descriptor() { return H5Tget_precision.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_precision$handle() { return H5Tget_precision.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_precision$address() { return H5Tget_precision.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_precision(long type_id)
+ {
+ var mh$ = H5Tget_precision.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_precision", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_offset {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_offset$descriptor() { return H5Tget_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_offset$handle() { return H5Tget_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_offset$address() { return H5Tget_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_offset(long type_id)
+ {
+ var mh$ = H5Tget_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_offset", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_pad {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_pad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_pad$descriptor() { return H5Tget_pad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static MethodHandle H5Tget_pad$handle() { return H5Tget_pad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static MemorySegment H5Tget_pad$address() { return H5Tget_pad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static int H5Tget_pad(long type_id, MemorySegment lsb, MemorySegment msb)
+ {
+ var mh$ = H5Tget_pad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_pad", type_id, lsb, msb);
+ }
+ return (int)mh$.invokeExact(type_id, lsb, msb);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_sign {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_sign");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_sign$descriptor() { return H5Tget_sign.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_sign$handle() { return H5Tget_sign.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_sign$address() { return H5Tget_sign.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_sign(long type_id)
+ {
+ var mh$ = H5Tget_sign.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_sign", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_fields {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_fields");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t
+ * *msize)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_fields$descriptor() { return H5Tget_fields.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t
+ * *msize)
+ * }
+ */
+ public static MethodHandle H5Tget_fields$handle() { return H5Tget_fields.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t
+ * *msize)
+ * }
+ */
+ public static MemorySegment H5Tget_fields$address() { return H5Tget_fields.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t
+ * *msize)
+ * }
+ */
+ public static int H5Tget_fields(long type_id, MemorySegment spos, MemorySegment epos, MemorySegment esize,
+ MemorySegment mpos, MemorySegment msize)
+ {
+ var mh$ = H5Tget_fields.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_fields", type_id, spos, epos, esize, mpos, msize);
+ }
+ return (int)mh$.invokeExact(type_id, spos, epos, esize, mpos, msize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_ebias {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_ebias");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_ebias$descriptor() { return H5Tget_ebias.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_ebias$handle() { return H5Tget_ebias.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_ebias$address() { return H5Tget_ebias.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_ebias(long type_id)
+ {
+ var mh$ = H5Tget_ebias.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_ebias", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_norm {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_norm");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_norm$descriptor() { return H5Tget_norm.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_norm$handle() { return H5Tget_norm.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_norm$address() { return H5Tget_norm.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_norm(long type_id)
+ {
+ var mh$ = H5Tget_norm.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_norm", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_inpad {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_inpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_inpad$descriptor() { return H5Tget_inpad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_inpad$handle() { return H5Tget_inpad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_inpad$address() { return H5Tget_inpad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_inpad(long type_id)
+ {
+ var mh$ = H5Tget_inpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_inpad", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_strpad {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_strpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_strpad$descriptor() { return H5Tget_strpad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_strpad$handle() { return H5Tget_strpad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_strpad$address() { return H5Tget_strpad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_strpad(long type_id)
+ {
+ var mh$ = H5Tget_strpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_strpad", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_nmembers {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_nmembers");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_nmembers$descriptor() { return H5Tget_nmembers.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_nmembers$handle() { return H5Tget_nmembers.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_nmembers$address() { return H5Tget_nmembers.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_nmembers(long type_id)
+ {
+ var mh$ = H5Tget_nmembers.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_nmembers", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_name$descriptor() { return H5Tget_member_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_name$handle() { return H5Tget_member_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_name$address() { return H5Tget_member_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_name(long type_id, int membno)
+ {
+ var mh$ = H5Tget_member_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_name", type_id, membno);
+ }
+ return (MemorySegment)mh$.invokeExact(type_id, membno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_index {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_index");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_index$descriptor() { return H5Tget_member_index.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Tget_member_index$handle() { return H5Tget_member_index.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Tget_member_index$address() { return H5Tget_member_index.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static int H5Tget_member_index(long type_id, MemorySegment name)
+ {
+ var mh$ = H5Tget_member_index.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_index", type_id, name);
+ }
+ return (int)mh$.invokeExact(type_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_offset$descriptor() { return H5Tget_member_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_offset$handle() { return H5Tget_member_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_offset$address() { return H5Tget_member_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static long H5Tget_member_offset(long type_id, int membno)
+ {
+ var mh$ = H5Tget_member_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_offset", type_id, membno);
+ }
+ return (long)mh$.invokeExact(type_id, membno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_class$descriptor() { return H5Tget_member_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_class$handle() { return H5Tget_member_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_class$address() { return H5Tget_member_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static int H5Tget_member_class(long type_id, int membno)
+ {
+ var mh$ = H5Tget_member_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_class", type_id, membno);
+ }
+ return (int)mh$.invokeExact(type_id, membno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_type$descriptor() { return H5Tget_member_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_type$handle() { return H5Tget_member_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_type$address() { return H5Tget_member_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static long H5Tget_member_type(long type_id, int membno)
+ {
+ var mh$ = H5Tget_member_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_type", type_id, membno);
+ }
+ return (long)mh$.invokeExact(type_id, membno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_value$descriptor() { return H5Tget_member_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static MethodHandle H5Tget_member_value$handle() { return H5Tget_member_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static MemorySegment H5Tget_member_value$address() { return H5Tget_member_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static int H5Tget_member_value(long type_id, int membno, MemorySegment value)
+ {
+ var mh$ = H5Tget_member_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_value", type_id, membno, value);
+ }
+ return (int)mh$.invokeExact(type_id, membno, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_cset {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_cset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_cset$descriptor() { return H5Tget_cset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_cset$handle() { return H5Tget_cset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_cset$address() { return H5Tget_cset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_cset(long type_id)
+ {
+ var mh$ = H5Tget_cset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_cset", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tis_variable_str {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tis_variable_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tis_variable_str$descriptor() { return H5Tis_variable_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tis_variable_str$handle() { return H5Tis_variable_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tis_variable_str$address() { return H5Tis_variable_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static int H5Tis_variable_str(long type_id)
+ {
+ var mh$ = H5Tis_variable_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tis_variable_str", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_native_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_native_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_native_type$descriptor() { return H5Tget_native_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static MethodHandle H5Tget_native_type$handle() { return H5Tget_native_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static MemorySegment H5Tget_native_type$address() { return H5Tget_native_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static long H5Tget_native_type(long type_id, int direction)
+ {
+ var mh$ = H5Tget_native_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_native_type", type_id, direction);
+ }
+ return (long)mh$.invokeExact(type_id, direction);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_size$descriptor() { return H5Tset_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static MethodHandle H5Tset_size$handle() { return H5Tset_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static MemorySegment H5Tset_size$address() { return H5Tset_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static int H5Tset_size(long type_id, long size)
+ {
+ var mh$ = H5Tset_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_size", type_id, size);
+ }
+ return (int)mh$.invokeExact(type_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_order$descriptor() { return H5Tset_order.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static MethodHandle H5Tset_order$handle() { return H5Tset_order.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static MemorySegment H5Tset_order$address() { return H5Tset_order.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static int H5Tset_order(long type_id, int order)
+ {
+ var mh$ = H5Tset_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_order", type_id, order);
+ }
+ return (int)mh$.invokeExact(type_id, order);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_precision {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_precision");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_precision$descriptor() { return H5Tset_precision.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static MethodHandle H5Tset_precision$handle() { return H5Tset_precision.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static MemorySegment H5Tset_precision$address() { return H5Tset_precision.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static int H5Tset_precision(long type_id, long prec)
+ {
+ var mh$ = H5Tset_precision.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_precision", type_id, prec);
+ }
+ return (int)mh$.invokeExact(type_id, prec);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_offset$descriptor() { return H5Tset_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static MethodHandle H5Tset_offset$handle() { return H5Tset_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static MemorySegment H5Tset_offset$address() { return H5Tset_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static int H5Tset_offset(long type_id, long offset)
+ {
+ var mh$ = H5Tset_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_offset", type_id, offset);
+ }
+ return (int)mh$.invokeExact(type_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_pad {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_pad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_pad$descriptor() { return H5Tset_pad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static MethodHandle H5Tset_pad$handle() { return H5Tset_pad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static MemorySegment H5Tset_pad$address() { return H5Tset_pad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static int H5Tset_pad(long type_id, int lsb, int msb)
+ {
+ var mh$ = H5Tset_pad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_pad", type_id, lsb, msb);
+ }
+ return (int)mh$.invokeExact(type_id, lsb, msb);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_sign {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_sign");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_sign$descriptor() { return H5Tset_sign.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static MethodHandle H5Tset_sign$handle() { return H5Tset_sign.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static MemorySegment H5Tset_sign$address() { return H5Tset_sign.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static int H5Tset_sign(long type_id, int sign)
+ {
+ var mh$ = H5Tset_sign.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_sign", type_id, sign);
+ }
+ return (int)mh$.invokeExact(type_id, sign);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_fields {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_fields");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_fields$descriptor() { return H5Tset_fields.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static MethodHandle H5Tset_fields$handle() { return H5Tset_fields.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static MemorySegment H5Tset_fields$address() { return H5Tset_fields.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static int H5Tset_fields(long type_id, long spos, long epos, long esize, long mpos, long msize)
+ {
+ var mh$ = H5Tset_fields.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_fields", type_id, spos, epos, esize, mpos, msize);
+ }
+ return (int)mh$.invokeExact(type_id, spos, epos, esize, mpos, msize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_ebias {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_ebias");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_ebias$descriptor() { return H5Tset_ebias.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static MethodHandle H5Tset_ebias$handle() { return H5Tset_ebias.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static MemorySegment H5Tset_ebias$address() { return H5Tset_ebias.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static int H5Tset_ebias(long type_id, long ebias)
+ {
+ var mh$ = H5Tset_ebias.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_ebias", type_id, ebias);
+ }
+ return (int)mh$.invokeExact(type_id, ebias);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_norm {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_norm");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_norm$descriptor() { return H5Tset_norm.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static MethodHandle H5Tset_norm$handle() { return H5Tset_norm.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static MemorySegment H5Tset_norm$address() { return H5Tset_norm.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static int H5Tset_norm(long type_id, int norm)
+ {
+ var mh$ = H5Tset_norm.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_norm", type_id, norm);
+ }
+ return (int)mh$.invokeExact(type_id, norm);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_inpad {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_inpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_inpad$descriptor() { return H5Tset_inpad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static MethodHandle H5Tset_inpad$handle() { return H5Tset_inpad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static MemorySegment H5Tset_inpad$address() { return H5Tset_inpad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static int H5Tset_inpad(long type_id, int pad)
+ {
+ var mh$ = H5Tset_inpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_inpad", type_id, pad);
+ }
+ return (int)mh$.invokeExact(type_id, pad);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_cset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_cset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_cset$descriptor() { return H5Tset_cset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static MethodHandle H5Tset_cset$handle() { return H5Tset_cset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static MemorySegment H5Tset_cset$address() { return H5Tset_cset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static int H5Tset_cset(long type_id, int cset)
+ {
+ var mh$ = H5Tset_cset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_cset", type_id, cset);
+ }
+ return (int)mh$.invokeExact(type_id, cset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_strpad {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_strpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_strpad$descriptor() { return H5Tset_strpad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static MethodHandle H5Tset_strpad$handle() { return H5Tset_strpad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static MemorySegment H5Tset_strpad$address() { return H5Tset_strpad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static int H5Tset_strpad(long type_id, int strpad)
+ {
+ var mh$ = H5Tset_strpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_strpad", type_id, strpad);
+ }
+ return (int)mh$.invokeExact(type_id, strpad);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tconvert {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tconvert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t
+ * plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tconvert$descriptor() { return H5Tconvert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t
+ * plist_id)
+ * }
+ */
+ public static MethodHandle H5Tconvert$handle() { return H5Tconvert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t
+ * plist_id)
+ * }
+ */
+ public static MemorySegment H5Tconvert$address() { return H5Tconvert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t
+ * plist_id)
+ * }
+ */
+ public static int H5Tconvert(long src_id, long dst_id, long nelmts, MemorySegment buf,
+ MemorySegment background, long plist_id)
+ {
+ var mh$ = H5Tconvert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tconvert", src_id, dst_id, nelmts, buf, background, plist_id);
+ }
+ return (int)mh$.invokeExact(src_id, dst_id, nelmts, buf, background, plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Treclaim {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Treclaim");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Treclaim$descriptor() { return H5Treclaim.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Treclaim$handle() { return H5Treclaim.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Treclaim$address() { return H5Treclaim.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static int H5Treclaim(long type_id, long space_id, long plist_id, MemorySegment buf)
+ {
+ var mh$ = H5Treclaim.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Treclaim", type_id, space_id, plist_id, buf);
+ }
+ return (int)mh$.invokeExact(type_id, space_id, plist_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tdecode1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tdecode1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Tdecode1$descriptor() { return H5Tdecode1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static MethodHandle H5Tdecode1$handle() { return H5Tdecode1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static MemorySegment H5Tdecode1$address() { return H5Tdecode1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static long H5Tdecode1(MemorySegment buf)
+ {
+ var mh$ = H5Tdecode1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tdecode1", buf);
+ }
+ return (long)mh$.invokeExact(buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit1$descriptor() { return H5Tcommit1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit1$handle() { return H5Tcommit1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit1$address() { return H5Tcommit1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static int H5Tcommit1(long loc_id, MemorySegment name, long type_id)
+ {
+ var mh$ = H5Tcommit1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit1", loc_id, name, type_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Topen1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Topen1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Topen1$descriptor() { return H5Topen1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Topen1$handle() { return H5Topen1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Topen1$address() { return H5Topen1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Topen1(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Topen1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Topen1", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tarray_create1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tarray_create1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static FunctionDescriptor H5Tarray_create1$descriptor() { return H5Tarray_create1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static MethodHandle H5Tarray_create1$handle() { return H5Tarray_create1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static MemorySegment H5Tarray_create1$address() { return H5Tarray_create1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static long H5Tarray_create1(long base_id, int ndims, MemorySegment dim, MemorySegment perm)
+ {
+ var mh$ = H5Tarray_create1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tarray_create1", base_id, ndims, dim, perm);
+ }
+ return (long)mh$.invokeExact(base_id, ndims, dim, perm);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_array_dims1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_array_dims1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static FunctionDescriptor H5Tget_array_dims1$descriptor() { return H5Tget_array_dims1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static MethodHandle H5Tget_array_dims1$handle() { return H5Tget_array_dims1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static MemorySegment H5Tget_array_dims1$address() { return H5Tget_array_dims1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static int H5Tget_array_dims1(long type_id, MemorySegment dims, MemorySegment perm)
+ {
+ var mh$ = H5Tget_array_dims1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_array_dims1", type_id, dims, perm);
+ }
+ return (int)mh$.invokeExact(type_id, dims, perm);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aclose$descriptor() { return H5Aclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aclose$handle() { return H5Aclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aclose$address() { return H5Aclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static int H5Aclose(long attr_id)
+ {
+ var mh$ = H5Aclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aclose", attr_id);
+ }
+ return (int)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aclose_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aclose_async$descriptor() { return H5Aclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aclose_async$handle() { return H5Aclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aclose_async$address() { return H5Aclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Aclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long attr_id, long es_id)
+ {
+ var mh$ = H5Aclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aclose_async", app_file, app_func, app_line, attr_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate2$descriptor() { return H5Acreate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id)
+ * }
+ */
+ public static MethodHandle H5Acreate2$handle() { return H5Acreate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id)
+ * }
+ */
+ public static MemorySegment H5Acreate2$address() { return H5Acreate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id)
+ * }
+ */
+ public static long H5Acreate2(long loc_id, MemorySegment attr_name, long type_id, long space_id,
+ long acpl_id, long aapl_id)
+ {
+ var mh$ = H5Acreate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate2", loc_id, attr_name, type_id, space_id, acpl_id, aapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, attr_name, type_id, space_id, acpl_id, aapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate_async$descriptor() { return H5Acreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Acreate_async$handle() { return H5Acreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Acreate_async$address() { return H5Acreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Acreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment attr_name, long type_id, long space_id,
+ long acpl_id, long aapl_id, long es_id)
+ {
+ var mh$ = H5Acreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate_async", app_file, app_func, app_line, loc_id, attr_name, type_id,
+ space_id, acpl_id, aapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, attr_name, type_id, space_id,
+ acpl_id, aapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t
+ * space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate_by_name$descriptor() { return H5Acreate_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t
+ * space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Acreate_by_name$handle() { return H5Acreate_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t
+ * space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Acreate_by_name$address() { return H5Acreate_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t
+ * space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static long H5Acreate_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long type_id, long space_id, long acpl_id, long aapl_id,
+ long lapl_id)
+ {
+ var mh$ = H5Acreate_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate_by_name", loc_id, obj_name, attr_name, type_id, space_id, acpl_id,
+ aapl_id, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, attr_name, type_id, space_id, acpl_id, aapl_id,
+ lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate_by_name_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate_by_name_async$descriptor()
+ {
+ return H5Acreate_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Acreate_by_name_async$handle() { return H5Acreate_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Acreate_by_name_async$address() { return H5Acreate_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Acreate_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long type_id, long space_id, long acpl_id, long aapl_id,
+ long lapl_id, long es_id)
+ {
+ var mh$ = H5Acreate_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate_by_name_async", app_file, app_func, app_line, loc_id, obj_name,
+ attr_name, type_id, space_id, acpl_id, aapl_id, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, attr_name, type_id,
+ space_id, acpl_id, aapl_id, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Adelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Adelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static FunctionDescriptor H5Adelete$descriptor() { return H5Adelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static MethodHandle H5Adelete$handle() { return H5Adelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static MemorySegment H5Adelete$address() { return H5Adelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static int H5Adelete(long loc_id, MemorySegment attr_name)
+ {
+ var mh$ = H5Adelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Adelete", loc_id, attr_name);
+ }
+ return (int)mh$.invokeExact(loc_id, attr_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Adelete_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Adelete_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Adelete_by_idx$descriptor() { return H5Adelete_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Adelete_by_idx$handle() { return H5Adelete_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Adelete_by_idx$address() { return H5Adelete_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static int H5Adelete_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order, long n,
+ long lapl_id)
+ {
+ var mh$ = H5Adelete_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Adelete_by_idx", loc_id, obj_name, idx_type, order, n, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Adelete_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Adelete_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Adelete_by_name$descriptor() { return H5Adelete_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Adelete_by_name$handle() { return H5Adelete_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Adelete_by_name$address() { return H5Adelete_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Adelete_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long lapl_id)
+ {
+ var mh$ = H5Adelete_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Adelete_by_name", loc_id, obj_name, attr_name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, attr_name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists$descriptor() { return H5Aexists.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static MethodHandle H5Aexists$handle() { return H5Aexists.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static MemorySegment H5Aexists$address() { return H5Aexists.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static int H5Aexists(long obj_id, MemorySegment attr_name)
+ {
+ var mh$ = H5Aexists.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists", obj_id, attr_name);
+ }
+ return (int)mh$.invokeExact(obj_id, attr_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists_async$descriptor() { return H5Aexists_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aexists_async$handle() { return H5Aexists_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aexists_async$address() { return H5Aexists_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static int H5Aexists_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long obj_id, MemorySegment attr_name, MemorySegment exists, long es_id)
+ {
+ var mh$ = H5Aexists_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists_async", app_file, app_func, app_line, obj_id, attr_name, exists,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, obj_id, attr_name, exists, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists_by_name$descriptor() { return H5Aexists_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aexists_by_name$handle() { return H5Aexists_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aexists_by_name$address() { return H5Aexists_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aexists_by_name(long obj_id, MemorySegment obj_name, MemorySegment attr_name,
+ long lapl_id)
+ {
+ var mh$ = H5Aexists_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists_by_name", obj_id, obj_name, attr_name, lapl_id);
+ }
+ return (int)mh$.invokeExact(obj_id, obj_name, attr_name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists_by_name_async$descriptor()
+ {
+ return H5Aexists_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aexists_by_name_async$handle() { return H5Aexists_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aexists_by_name_async$address() { return H5Aexists_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Aexists_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ MemorySegment exists, long lapl_id, long es_id)
+ {
+ var mh$ = H5Aexists_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists_by_name_async", app_file, app_func, app_line, loc_id, obj_name,
+ attr_name, exists, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, attr_name, exists,
+ lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_create_plist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_create_plist$descriptor() { return H5Aget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_create_plist$handle() { return H5Aget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_create_plist$address() { return H5Aget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_create_plist(long attr_id)
+ {
+ var mh$ = H5Aget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_create_plist", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_info$descriptor() { return H5Aget_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static MethodHandle H5Aget_info$handle() { return H5Aget_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static MemorySegment H5Aget_info$address() { return H5Aget_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static int H5Aget_info(long attr_id, MemorySegment ainfo)
+ {
+ var mh$ = H5Aget_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_info", attr_id, ainfo);
+ }
+ return (int)mh$.invokeExact(attr_id, ainfo);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_info_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_info_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_info_by_idx$descriptor() { return H5Aget_info_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aget_info_by_idx$handle() { return H5Aget_info_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aget_info_by_idx$address() { return H5Aget_info_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aget_info_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order, long n,
+ MemorySegment ainfo, long lapl_id)
+ {
+ var mh$ = H5Aget_info_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_info_by_idx", loc_id, obj_name, idx_type, order, n, ainfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, ainfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_info_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_info_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t
+ * *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_info_by_name$descriptor() { return H5Aget_info_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t
+ * *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aget_info_by_name$handle() { return H5Aget_info_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t
+ * *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aget_info_by_name$address() { return H5Aget_info_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t
+ * *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aget_info_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ MemorySegment ainfo, long lapl_id)
+ {
+ var mh$ = H5Aget_info_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_info_by_name", loc_id, obj_name, attr_name, ainfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, attr_name, ainfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_name$descriptor() { return H5Aget_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static MethodHandle H5Aget_name$handle() { return H5Aget_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static MemorySegment H5Aget_name$address() { return H5Aget_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static long H5Aget_name(long attr_id, long buf_size, MemorySegment buf)
+ {
+ var mh$ = H5Aget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_name", attr_id, buf_size, buf);
+ }
+ return (long)mh$.invokeExact(attr_id, buf_size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_name_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_name_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_name_by_idx$descriptor() { return H5Aget_name_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aget_name_by_idx$handle() { return H5Aget_name_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aget_name_by_idx$address() { return H5Aget_name_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static long H5Aget_name_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order,
+ long n, MemorySegment name, long size, long lapl_id)
+ {
+ var mh$ = H5Aget_name_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_name_by_idx", loc_id, obj_name, idx_type, order, n, name, size,
+ lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, name, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_space {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_space$descriptor() { return H5Aget_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_space$handle() { return H5Aget_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_space$address() { return H5Aget_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_space(long attr_id)
+ {
+ var mh$ = H5Aget_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_space", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_storage_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_storage_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_storage_size$descriptor() { return H5Aget_storage_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_storage_size$handle() { return H5Aget_storage_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_storage_size$address() { return H5Aget_storage_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_storage_size(long attr_id)
+ {
+ var mh$ = H5Aget_storage_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_storage_size", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_type$descriptor() { return H5Aget_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_type$handle() { return H5Aget_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_type$address() { return H5Aget_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_type(long attr_id)
+ {
+ var mh$ = H5Aget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_type", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aiterate2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aiterate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Aiterate2$descriptor() { return H5Aiterate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Aiterate2$handle() { return H5Aiterate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Aiterate2$address() { return H5Aiterate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static int H5Aiterate2(long loc_id, int idx_type, int order, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Aiterate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aiterate2", loc_id, idx_type, order, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(loc_id, idx_type, order, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aiterate_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aiterate_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aiterate_by_name$descriptor() { return H5Aiterate_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aiterate_by_name$handle() { return H5Aiterate_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aiterate_by_name$address() { return H5Aiterate_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aiterate_by_name(long loc_id, MemorySegment obj_name, int idx_type, int order,
+ MemorySegment idx, MemorySegment op, MemorySegment op_data,
+ long lapl_id)
+ {
+ var mh$ = H5Aiterate_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aiterate_by_name", loc_id, obj_name, idx_type, order, idx, op, op_data,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, idx, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen$descriptor() { return H5Aopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static MethodHandle H5Aopen$handle() { return H5Aopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static MemorySegment H5Aopen$address() { return H5Aopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static long H5Aopen(long obj_id, MemorySegment attr_name, long aapl_id)
+ {
+ var mh$ = H5Aopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen", obj_id, attr_name, aapl_id);
+ }
+ return (long)mh$.invokeExact(obj_id, attr_name, aapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_async$descriptor() { return H5Aopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_async$handle() { return H5Aopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_async$address() { return H5Aopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Aopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long obj_id, MemorySegment attr_name, long aapl_id, long es_id)
+ {
+ var mh$ = H5Aopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_async", app_file, app_func, app_line, obj_id, attr_name, aapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, obj_id, attr_name, aapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_idx$descriptor() { return H5Aopen_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_idx$handle() { return H5Aopen_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_idx$address() { return H5Aopen_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static long H5Aopen_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order, long n,
+ long aapl_id, long lapl_id)
+ {
+ var mh$ = H5Aopen_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_idx", loc_id, obj_name, idx_type, order, n, aapl_id, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, aapl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_idx_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id,
+ * hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_idx_async$descriptor() { return H5Aopen_by_idx_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id,
+ * hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_idx_async$handle() { return H5Aopen_by_idx_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id,
+ * hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_idx_async$address() { return H5Aopen_by_idx_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id,
+ * hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Aopen_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name, int idx_type, int order,
+ long n, long aapl_id, long lapl_id, long es_id)
+ {
+ var mh$ = H5Aopen_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_idx_async", app_file, app_func, app_line, loc_id, obj_name,
+ idx_type, order, n, aapl_id, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, idx_type, order, n,
+ aapl_id, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t
+ * lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_name$descriptor() { return H5Aopen_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t
+ * lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_name$handle() { return H5Aopen_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t
+ * lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_name$address() { return H5Aopen_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t
+ * lapl_id)
+ * }
+ */
+ public static long H5Aopen_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long aapl_id, long lapl_id)
+ {
+ var mh$ = H5Aopen_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_name", loc_id, obj_name, attr_name, aapl_id, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, attr_name, aapl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_name_async$descriptor() { return H5Aopen_by_name_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_name_async$handle() { return H5Aopen_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_name_async$address() { return H5Aopen_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Aopen_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long aapl_id, long lapl_id, long es_id)
+ {
+ var mh$ = H5Aopen_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_name_async", app_file, app_func, app_line, loc_id, obj_name,
+ attr_name, aapl_id, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, attr_name, aapl_id,
+ lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aread {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Aread$descriptor() { return H5Aread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Aread$handle() { return H5Aread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Aread$address() { return H5Aread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static int H5Aread(long attr_id, long type_id, MemorySegment buf)
+ {
+ var mh$ = H5Aread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aread", attr_id, type_id, buf);
+ }
+ return (int)mh$.invokeExact(attr_id, type_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aread_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aread_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aread_async$descriptor() { return H5Aread_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aread_async$handle() { return H5Aread_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aread_async$address() { return H5Aread_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static int H5Aread_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long attr_id, long dtype_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Aread_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aread_async", app_file, app_func, app_line, attr_id, dtype_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, dtype_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static FunctionDescriptor H5Arename$descriptor() { return H5Arename.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static MethodHandle H5Arename$handle() { return H5Arename.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static MemorySegment H5Arename$address() { return H5Arename.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static int H5Arename(long loc_id, MemorySegment old_name, MemorySegment new_name)
+ {
+ var mh$ = H5Arename.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename", loc_id, old_name, new_name);
+ }
+ return (int)mh$.invokeExact(loc_id, old_name, new_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Arename_async$descriptor() { return H5Arename_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Arename_async$handle() { return H5Arename_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Arename_async$address() { return H5Arename_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static int H5Arename_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment old_name, MemorySegment new_name, long es_id)
+ {
+ var mh$ = H5Arename_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename_async", app_file, app_func, app_line, loc_id, old_name, new_name,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, old_name, new_name, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Arename_by_name_async$descriptor()
+ {
+ return H5Arename_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Arename_by_name_async$handle() { return H5Arename_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Arename_by_name_async$address() { return H5Arename_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Arename_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name,
+ MemorySegment old_attr_name, MemorySegment new_attr_name,
+ long lapl_id, long es_id)
+ {
+ var mh$ = H5Arename_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename_by_name_async", app_file, app_func, app_line, loc_id, obj_name,
+ old_attr_name, new_attr_name, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, old_attr_name,
+ new_attr_name, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Awrite {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Awrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Awrite$descriptor() { return H5Awrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static MethodHandle H5Awrite$handle() { return H5Awrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static MemorySegment H5Awrite$address() { return H5Awrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static int H5Awrite(long attr_id, long type_id, MemorySegment buf)
+ {
+ var mh$ = H5Awrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Awrite", attr_id, type_id, buf);
+ }
+ return (int)mh$.invokeExact(attr_id, type_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Awrite_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Awrite_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Awrite_async$descriptor() { return H5Awrite_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Awrite_async$handle() { return H5Awrite_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Awrite_async$address() { return H5Awrite_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static int H5Awrite_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long attr_id, long type_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Awrite_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Awrite_async", app_file, app_func, app_line, attr_id, type_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, type_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char
+ * *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Arename_by_name$descriptor() { return H5Arename_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char
+ * *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Arename_by_name$handle() { return H5Arename_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char
+ * *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Arename_by_name$address() { return H5Arename_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char
+ * *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Arename_by_name(long loc_id, MemorySegment obj_name, MemorySegment old_attr_name,
+ MemorySegment new_attr_name, long lapl_id)
+ {
+ var mh$ = H5Arename_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename_by_name", loc_id, obj_name, old_attr_name, new_attr_name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, old_attr_name, new_attr_name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate1$descriptor() { return H5Acreate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static MethodHandle H5Acreate1$handle() { return H5Acreate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static MemorySegment H5Acreate1$address() { return H5Acreate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static long H5Acreate1(long loc_id, MemorySegment name, long type_id, long space_id, long acpl_id)
+ {
+ var mh$ = H5Acreate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate1", loc_id, name, type_id, space_id, acpl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, type_id, space_id, acpl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_num_attrs {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_num_attrs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_num_attrs$descriptor() { return H5Aget_num_attrs.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static MethodHandle H5Aget_num_attrs$handle() { return H5Aget_num_attrs.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static MemorySegment H5Aget_num_attrs$address() { return H5Aget_num_attrs.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static int H5Aget_num_attrs(long loc_id)
+ {
+ var mh$ = H5Aget_num_attrs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_num_attrs", loc_id);
+ }
+ return (int)mh$.invokeExact(loc_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aiterate1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aiterate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Aiterate1$descriptor() { return H5Aiterate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Aiterate1$handle() { return H5Aiterate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Aiterate1$address() { return H5Aiterate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static int H5Aiterate1(long loc_id, MemorySegment idx, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Aiterate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aiterate1", loc_id, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(loc_id, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_idx$descriptor() { return H5Aopen_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static MethodHandle H5Aopen_idx$handle() { return H5Aopen_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static MemorySegment H5Aopen_idx$address() { return H5Aopen_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static long H5Aopen_idx(long loc_id, int idx)
+ {
+ var mh$ = H5Aopen_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_idx", loc_id, idx);
+ }
+ return (long)mh$.invokeExact(loc_id, idx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_name$descriptor() { return H5Aopen_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Aopen_name$handle() { return H5Aopen_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Aopen_name$address() { return H5Aopen_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Aopen_name(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Aopen_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_name", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5C_incr__off = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_incr_mode.H5C_incr__off = 0
+ * }
+ */
+ public static int H5C_incr__off() { return H5C_incr__off; }
+ private static final int H5C_incr__threshold = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_incr_mode.H5C_incr__threshold = 1
+ * }
+ */
+ public static int H5C_incr__threshold() { return H5C_incr__threshold; }
+ private static final int H5C_flash_incr__off = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_flash_incr_mode.H5C_flash_incr__off = 0
+ * }
+ */
+ public static int H5C_flash_incr__off() { return H5C_flash_incr__off; }
+ private static final int H5C_flash_incr__add_space = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_flash_incr_mode.H5C_flash_incr__add_space = 1
+ * }
+ */
+ public static int H5C_flash_incr__add_space() { return H5C_flash_incr__add_space; }
+ private static final int H5C_decr__off = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__off = 0
+ * }
+ */
+ public static int H5C_decr__off() { return H5C_decr__off; }
+ private static final int H5C_decr__threshold = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__threshold = 1
+ * }
+ */
+ public static int H5C_decr__threshold() { return H5C_decr__threshold; }
+ private static final int H5C_decr__age_out = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__age_out = 2
+ * }
+ */
+ public static int H5C_decr__age_out() { return H5C_decr__age_out; }
+ private static final int H5C_decr__age_out_with_threshold = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__age_out_with_threshold = 3
+ * }
+ */
+ public static int H5C_decr__age_out_with_threshold() { return H5C_decr__age_out_with_threshold; }
+ private static final int H5D_LAYOUT_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_LAYOUT_ERROR = -1
+ * }
+ */
+ public static int H5D_LAYOUT_ERROR() { return H5D_LAYOUT_ERROR; }
+ private static final int H5D_COMPACT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_COMPACT = 0
+ * }
+ */
+ public static int H5D_COMPACT() { return H5D_COMPACT; }
+ private static final int H5D_CONTIGUOUS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_CONTIGUOUS = 1
+ * }
+ */
+ public static int H5D_CONTIGUOUS() { return H5D_CONTIGUOUS; }
+ private static final int H5D_CHUNKED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_CHUNKED = 2
+ * }
+ */
+ public static int H5D_CHUNKED() { return H5D_CHUNKED; }
+ private static final int H5D_VIRTUAL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_VIRTUAL = 3
+ * }
+ */
+ public static int H5D_VIRTUAL() { return H5D_VIRTUAL; }
+ private static final int H5D_NLAYOUTS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_NLAYOUTS = 4
+ * }
+ */
+ public static int H5D_NLAYOUTS() { return H5D_NLAYOUTS; }
+ private static final int H5D_CHUNK_IDX_BTREE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_BTREE = 0
+ * }
+ */
+ public static int H5D_CHUNK_IDX_BTREE() { return H5D_CHUNK_IDX_BTREE; }
+ private static final int H5D_CHUNK_IDX_SINGLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_SINGLE = 1
+ * }
+ */
+ public static int H5D_CHUNK_IDX_SINGLE() { return H5D_CHUNK_IDX_SINGLE; }
+ private static final int H5D_CHUNK_IDX_NONE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_NONE = 2
+ * }
+ */
+ public static int H5D_CHUNK_IDX_NONE() { return H5D_CHUNK_IDX_NONE; }
+ private static final int H5D_CHUNK_IDX_FARRAY = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_FARRAY = 3
+ * }
+ */
+ public static int H5D_CHUNK_IDX_FARRAY() { return H5D_CHUNK_IDX_FARRAY; }
+ private static final int H5D_CHUNK_IDX_EARRAY = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_EARRAY = 4
+ * }
+ */
+ public static int H5D_CHUNK_IDX_EARRAY() { return H5D_CHUNK_IDX_EARRAY; }
+ private static final int H5D_CHUNK_IDX_BT2 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_BT2 = 5
+ * }
+ */
+ public static int H5D_CHUNK_IDX_BT2() { return H5D_CHUNK_IDX_BT2; }
+ private static final int H5D_CHUNK_IDX_NTYPES = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_NTYPES = 6
+ * }
+ */
+ public static int H5D_CHUNK_IDX_NTYPES() { return H5D_CHUNK_IDX_NTYPES; }
+ private static final int H5D_ALLOC_TIME_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_ERROR = -1
+ * }
+ */
+ public static int H5D_ALLOC_TIME_ERROR() { return H5D_ALLOC_TIME_ERROR; }
+ private static final int H5D_ALLOC_TIME_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_DEFAULT = 0
+ * }
+ */
+ public static int H5D_ALLOC_TIME_DEFAULT() { return H5D_ALLOC_TIME_DEFAULT; }
+ private static final int H5D_ALLOC_TIME_EARLY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_EARLY = 1
+ * }
+ */
+ public static int H5D_ALLOC_TIME_EARLY() { return H5D_ALLOC_TIME_EARLY; }
+ private static final int H5D_ALLOC_TIME_LATE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_LATE = 2
+ * }
+ */
+ public static int H5D_ALLOC_TIME_LATE() { return H5D_ALLOC_TIME_LATE; }
+ private static final int H5D_ALLOC_TIME_INCR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_INCR = 3
+ * }
+ */
+ public static int H5D_ALLOC_TIME_INCR() { return H5D_ALLOC_TIME_INCR; }
+ private static final int H5D_SPACE_STATUS_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_ERROR = -1
+ * }
+ */
+ public static int H5D_SPACE_STATUS_ERROR() { return H5D_SPACE_STATUS_ERROR; }
+ private static final int H5D_SPACE_STATUS_NOT_ALLOCATED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_NOT_ALLOCATED = 0
+ * }
+ */
+ public static int H5D_SPACE_STATUS_NOT_ALLOCATED() { return H5D_SPACE_STATUS_NOT_ALLOCATED; }
+ private static final int H5D_SPACE_STATUS_PART_ALLOCATED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_PART_ALLOCATED = 1
+ * }
+ */
+ public static int H5D_SPACE_STATUS_PART_ALLOCATED() { return H5D_SPACE_STATUS_PART_ALLOCATED; }
+ private static final int H5D_SPACE_STATUS_ALLOCATED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_ALLOCATED = 2
+ * }
+ */
+ public static int H5D_SPACE_STATUS_ALLOCATED() { return H5D_SPACE_STATUS_ALLOCATED; }
+ private static final int H5D_FILL_TIME_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_ERROR = -1
+ * }
+ */
+ public static int H5D_FILL_TIME_ERROR() { return H5D_FILL_TIME_ERROR; }
+ private static final int H5D_FILL_TIME_ALLOC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_ALLOC = 0
+ * }
+ */
+ public static int H5D_FILL_TIME_ALLOC() { return H5D_FILL_TIME_ALLOC; }
+ private static final int H5D_FILL_TIME_NEVER = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_NEVER = 1
+ * }
+ */
+ public static int H5D_FILL_TIME_NEVER() { return H5D_FILL_TIME_NEVER; }
+ private static final int H5D_FILL_TIME_IFSET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_IFSET = 2
+ * }
+ */
+ public static int H5D_FILL_TIME_IFSET() { return H5D_FILL_TIME_IFSET; }
+ private static final int H5D_FILL_VALUE_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_ERROR = -1
+ * }
+ */
+ public static int H5D_FILL_VALUE_ERROR() { return H5D_FILL_VALUE_ERROR; }
+ private static final int H5D_FILL_VALUE_UNDEFINED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_UNDEFINED = 0
+ * }
+ */
+ public static int H5D_FILL_VALUE_UNDEFINED() { return H5D_FILL_VALUE_UNDEFINED; }
+ private static final int H5D_FILL_VALUE_DEFAULT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_DEFAULT = 1
+ * }
+ */
+ public static int H5D_FILL_VALUE_DEFAULT() { return H5D_FILL_VALUE_DEFAULT; }
+ private static final int H5D_FILL_VALUE_USER_DEFINED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_USER_DEFINED = 2
+ * }
+ */
+ public static int H5D_FILL_VALUE_USER_DEFINED() { return H5D_FILL_VALUE_USER_DEFINED; }
+ private static final int H5D_VDS_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_vds_view_t.H5D_VDS_ERROR = -1
+ * }
+ */
+ public static int H5D_VDS_ERROR() { return H5D_VDS_ERROR; }
+ private static final int H5D_VDS_FIRST_MISSING = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_vds_view_t.H5D_VDS_FIRST_MISSING = 0
+ * }
+ */
+ public static int H5D_VDS_FIRST_MISSING() { return H5D_VDS_FIRST_MISSING; }
+ private static final int H5D_VDS_LAST_AVAILABLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_vds_view_t.H5D_VDS_LAST_AVAILABLE = 1
+ * }
+ */
+ public static int H5D_VDS_LAST_AVAILABLE() { return H5D_VDS_LAST_AVAILABLE; }
+
+ private static class H5Dcreate2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate2$descriptor() { return H5Dcreate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate2$handle() { return H5Dcreate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate2$address() { return H5Dcreate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static long H5Dcreate2(long loc_id, MemorySegment name, long type_id, long space_id, long lcpl_id,
+ long dcpl_id, long dapl_id)
+ {
+ var mh$ = H5Dcreate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate2", loc_id, name, type_id, space_id, lcpl_id, dcpl_id, dapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, type_id, space_id, lcpl_id, dcpl_id, dapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dcreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate_async$descriptor() { return H5Dcreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate_async$handle() { return H5Dcreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate_async$address() { return H5Dcreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static long H5Dcreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long type_id, long space_id,
+ long lcpl_id, long dcpl_id, long dapl_id, long es_id)
+ {
+ var mh$ = H5Dcreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate_async", app_file, app_func, app_line, loc_id, name, type_id,
+ space_id, lcpl_id, dcpl_id, dapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, type_id, space_id,
+ lcpl_id, dcpl_id, dapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dcreate_anon {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate_anon");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate_anon$descriptor() { return H5Dcreate_anon.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate_anon$handle() { return H5Dcreate_anon.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate_anon$address() { return H5Dcreate_anon.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static long H5Dcreate_anon(long loc_id, long type_id, long space_id, long dcpl_id, long dapl_id)
+ {
+ var mh$ = H5Dcreate_anon.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate_anon", loc_id, type_id, space_id, dcpl_id, dapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, type_id, space_id, dcpl_id, dapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dopen2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dopen2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dopen2$descriptor() { return H5Dopen2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static MethodHandle H5Dopen2$handle() { return H5Dopen2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static MemorySegment H5Dopen2$address() { return H5Dopen2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static long H5Dopen2(long loc_id, MemorySegment name, long dapl_id)
+ {
+ var mh$ = H5Dopen2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dopen2", loc_id, name, dapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, dapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dopen_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dopen_async$descriptor() { return H5Dopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dopen_async$handle() { return H5Dopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dopen_async$address() { return H5Dopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Dopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long dapl_id, long es_id)
+ {
+ var mh$ = H5Dopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dopen_async", app_file, app_func, app_line, loc_id, name, dapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, dapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_space {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_space$descriptor() { return H5Dget_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_space$handle() { return H5Dget_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_space$address() { return H5Dget_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_space(long dset_id)
+ {
+ var mh$ = H5Dget_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_space", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_space_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_space_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_space_async$descriptor() { return H5Dget_space_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dget_space_async$handle() { return H5Dget_space_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dget_space_async$address() { return H5Dget_space_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static long H5Dget_space_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long es_id)
+ {
+ var mh$ = H5Dget_space_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_space_async", app_file, app_func, app_line, dset_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, dset_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_space_status {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_space_status");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_space_status$descriptor() { return H5Dget_space_status.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static MethodHandle H5Dget_space_status$handle() { return H5Dget_space_status.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static MemorySegment H5Dget_space_status$address() { return H5Dget_space_status.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static int H5Dget_space_status(long dset_id, MemorySegment allocation)
+ {
+ var mh$ = H5Dget_space_status.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_space_status", dset_id, allocation);
+ }
+ return (int)mh$.invokeExact(dset_id, allocation);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_type$descriptor() { return H5Dget_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_type$handle() { return H5Dget_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_type$address() { return H5Dget_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_type(long dset_id)
+ {
+ var mh$ = H5Dget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_type", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_create_plist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_create_plist$descriptor() { return H5Dget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_create_plist$handle() { return H5Dget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_create_plist$address() { return H5Dget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_create_plist(long dset_id)
+ {
+ var mh$ = H5Dget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_create_plist", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_access_plist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_access_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_access_plist$descriptor() { return H5Dget_access_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_access_plist$handle() { return H5Dget_access_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_access_plist$address() { return H5Dget_access_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_access_plist(long dset_id)
+ {
+ var mh$ = H5Dget_access_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_access_plist", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_storage_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_storage_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_storage_size$descriptor() { return H5Dget_storage_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_storage_size$handle() { return H5Dget_storage_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_storage_size$address() { return H5Dget_storage_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_storage_size(long dset_id)
+ {
+ var mh$ = H5Dget_storage_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_storage_size", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_storage_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_storage_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_storage_size$descriptor()
+ {
+ return H5Dget_chunk_storage_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_storage_size$handle() { return H5Dget_chunk_storage_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_storage_size$address() { return H5Dget_chunk_storage_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static int H5Dget_chunk_storage_size(long dset_id, MemorySegment offset, MemorySegment chunk_bytes)
+ {
+ var mh$ = H5Dget_chunk_storage_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_storage_size", dset_id, offset, chunk_bytes);
+ }
+ return (int)mh$.invokeExact(dset_id, offset, chunk_bytes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_num_chunks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_num_chunks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_num_chunks$descriptor() { return H5Dget_num_chunks.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static MethodHandle H5Dget_num_chunks$handle() { return H5Dget_num_chunks.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static MemorySegment H5Dget_num_chunks$address() { return H5Dget_num_chunks.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static int H5Dget_num_chunks(long dset_id, long fspace_id, MemorySegment nchunks)
+ {
+ var mh$ = H5Dget_num_chunks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_num_chunks", dset_id, fspace_id, nchunks);
+ }
+ return (int)mh$.invokeExact(dset_id, fspace_id, nchunks);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_info_by_coord {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_info_by_coord");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_info_by_coord$descriptor()
+ {
+ return H5Dget_chunk_info_by_coord.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_info_by_coord$handle()
+ {
+ return H5Dget_chunk_info_by_coord.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_info_by_coord$address()
+ {
+ return H5Dget_chunk_info_by_coord.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static int H5Dget_chunk_info_by_coord(long dset_id, MemorySegment offset,
+ MemorySegment filter_mask, MemorySegment addr,
+ MemorySegment size)
+ {
+ var mh$ = H5Dget_chunk_info_by_coord.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_info_by_coord", dset_id, offset, filter_mask, addr, size);
+ }
+ return (int)mh$.invokeExact(dset_id, offset, filter_mask, addr, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dchunk_iter {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dchunk_iter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Dchunk_iter$descriptor() { return H5Dchunk_iter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Dchunk_iter$handle() { return H5Dchunk_iter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Dchunk_iter$address() { return H5Dchunk_iter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static int H5Dchunk_iter(long dset_id, long dxpl_id, MemorySegment cb, MemorySegment op_data)
+ {
+ var mh$ = H5Dchunk_iter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dchunk_iter", dset_id, dxpl_id, cb, op_data);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, cb, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_info$descriptor() { return H5Dget_chunk_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_info$handle() { return H5Dget_chunk_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_info$address() { return H5Dget_chunk_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static int H5Dget_chunk_info(long dset_id, long fspace_id, long chk_idx, MemorySegment offset,
+ MemorySegment filter_mask, MemorySegment addr, MemorySegment size)
+ {
+ var mh$ = H5Dget_chunk_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_info", dset_id, fspace_id, chk_idx, offset, filter_mask, addr,
+ size);
+ }
+ return (int)mh$.invokeExact(dset_id, fspace_id, chk_idx, offset, filter_mask, addr, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_offset {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_offset$descriptor() { return H5Dget_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_offset$handle() { return H5Dget_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_offset$address() { return H5Dget_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_offset(long dset_id)
+ {
+ var mh$ = H5Dget_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_offset", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dread$descriptor() { return H5Dread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Dread$handle() { return H5Dread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Dread$address() { return H5Dread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static int H5Dread(long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf)
+ {
+ var mh$ = H5Dread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread", dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Dread_multi$descriptor() { return H5Dread_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static MethodHandle H5Dread_multi$handle() { return H5Dread_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static MemorySegment H5Dread_multi$address() { return H5Dread_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static int H5Dread_multi(long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id, long dxpl_id,
+ MemorySegment buf)
+ {
+ var mh$ = H5Dread_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_multi", count, dset_id, mem_type_id, mem_space_id, file_space_id,
+ dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(count, dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id,
+ buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_async$descriptor() { return H5Dread_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dread_async$handle() { return H5Dread_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dread_async$address() { return H5Dread_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static int H5Dread_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dread_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_async", app_file, app_func, app_line, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, mem_type_id, mem_space_id,
+ file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_multi_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_multi_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_multi_async$descriptor() { return H5Dread_multi_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dread_multi_async$handle() { return H5Dread_multi_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dread_multi_async$address() { return H5Dread_multi_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static int H5Dread_multi_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dread_multi_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_multi_async", app_file, app_func, app_line, count, dset_id,
+ mem_type_id, mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, count, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite$descriptor() { return H5Dwrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static MethodHandle H5Dwrite$handle() { return H5Dwrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static MemorySegment H5Dwrite$address() { return H5Dwrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static int H5Dwrite(long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf)
+ {
+ var mh$ = H5Dwrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite", dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_multi$descriptor() { return H5Dwrite_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static MethodHandle H5Dwrite_multi$handle() { return H5Dwrite_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static MemorySegment H5Dwrite_multi$address() { return H5Dwrite_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static int H5Dwrite_multi(long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id, long dxpl_id,
+ MemorySegment buf)
+ {
+ var mh$ = H5Dwrite_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_multi", count, dset_id, mem_type_id, mem_space_id, file_space_id,
+ dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(count, dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id,
+ buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_async$descriptor() { return H5Dwrite_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static MethodHandle H5Dwrite_async$handle() { return H5Dwrite_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static MemorySegment H5Dwrite_async$address() { return H5Dwrite_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static int H5Dwrite_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dwrite_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_async", app_file, app_func, app_line, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, mem_type_id, mem_space_id,
+ file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_multi_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_multi_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_multi_async$descriptor() { return H5Dwrite_multi_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dwrite_multi_async$handle() { return H5Dwrite_multi_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dwrite_multi_async$address() { return H5Dwrite_multi_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static int H5Dwrite_multi_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dwrite_multi_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_multi_async", app_file, app_func, app_line, count, dset_id,
+ mem_type_id, mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, count, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_chunk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_chunk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_chunk$descriptor() { return H5Dwrite_chunk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static MethodHandle H5Dwrite_chunk$handle() { return H5Dwrite_chunk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static MemorySegment H5Dwrite_chunk$address() { return H5Dwrite_chunk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static int H5Dwrite_chunk(long dset_id, long dxpl_id, int filters, MemorySegment offset,
+ long data_size, MemorySegment buf)
+ {
+ var mh$ = H5Dwrite_chunk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_chunk", dset_id, dxpl_id, filters, offset, data_size, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, filters, offset, data_size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_chunk2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_chunk2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_chunk2$descriptor() { return H5Dread_chunk2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static MethodHandle H5Dread_chunk2$handle() { return H5Dread_chunk2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static MemorySegment H5Dread_chunk2$address() { return H5Dread_chunk2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static int H5Dread_chunk2(long dset_id, long dxpl_id, MemorySegment offset, MemorySegment filters,
+ MemorySegment buf, MemorySegment buf_size)
+ {
+ var mh$ = H5Dread_chunk2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_chunk2", dset_id, dxpl_id, offset, filters, buf, buf_size);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, offset, filters, buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Diterate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Diterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static FunctionDescriptor H5Diterate$descriptor() { return H5Diterate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static MethodHandle H5Diterate$handle() { return H5Diterate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static MemorySegment H5Diterate$address() { return H5Diterate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static int H5Diterate(MemorySegment buf, long type_id, long space_id, MemorySegment op,
+ MemorySegment operator_data)
+ {
+ var mh$ = H5Diterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Diterate", buf, type_id, space_id, op, operator_data);
+ }
+ return (int)mh$.invokeExact(buf, type_id, space_id, op, operator_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dvlen_get_buf_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dvlen_get_buf_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Dvlen_get_buf_size$descriptor() { return H5Dvlen_get_buf_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Dvlen_get_buf_size$handle() { return H5Dvlen_get_buf_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Dvlen_get_buf_size$address() { return H5Dvlen_get_buf_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static int H5Dvlen_get_buf_size(long dset_id, long type_id, long space_id, MemorySegment size)
+ {
+ var mh$ = H5Dvlen_get_buf_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dvlen_get_buf_size", dset_id, type_id, space_id, size);
+ }
+ return (int)mh$.invokeExact(dset_id, type_id, space_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dfill {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dfill");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dfill$descriptor() { return H5Dfill.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Dfill$handle() { return H5Dfill.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Dfill$address() { return H5Dfill.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static int H5Dfill(MemorySegment fill, long fill_type_id, MemorySegment buf, long buf_type_id,
+ long space_id)
+ {
+ var mh$ = H5Dfill.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dfill", fill, fill_type_id, buf, buf_type_id, space_id);
+ }
+ return (int)mh$.invokeExact(fill, fill_type_id, buf, buf_type_id, space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dset_extent {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dset_extent");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static FunctionDescriptor H5Dset_extent$descriptor() { return H5Dset_extent.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MethodHandle H5Dset_extent$handle() { return H5Dset_extent.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MemorySegment H5Dset_extent$address() { return H5Dset_extent.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static int H5Dset_extent(long dset_id, MemorySegment size)
+ {
+ var mh$ = H5Dset_extent.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dset_extent", dset_id, size);
+ }
+ return (int)mh$.invokeExact(dset_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dset_extent_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dset_extent_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dset_extent_async$descriptor() { return H5Dset_extent_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dset_extent_async$handle() { return H5Dset_extent_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dset_extent_async$address() { return H5Dset_extent_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static int H5Dset_extent_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, MemorySegment size, long es_id)
+ {
+ var mh$ = H5Dset_extent_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dset_extent_async", app_file, app_func, app_line, dset_id, size, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, size, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dflush$descriptor() { return H5Dflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dflush$handle() { return H5Dflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dflush$address() { return H5Dflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static int H5Dflush(long dset_id)
+ {
+ var mh$ = H5Dflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dflush", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Drefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Drefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Drefresh$descriptor() { return H5Drefresh.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Drefresh$handle() { return H5Drefresh.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Drefresh$address() { return H5Drefresh.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static int H5Drefresh(long dset_id)
+ {
+ var mh$ = H5Drefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Drefresh", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dscatter {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dscatter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dscatter$descriptor() { return H5Dscatter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static MethodHandle H5Dscatter$handle() { return H5Dscatter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static MemorySegment H5Dscatter$address() { return H5Dscatter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static int H5Dscatter(MemorySegment op, MemorySegment op_data, long type_id, long dst_space_id,
+ MemorySegment dst_buf)
+ {
+ var mh$ = H5Dscatter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dscatter", op, op_data, type_id, dst_space_id, dst_buf);
+ }
+ return (int)mh$.invokeExact(op, op_data, type_id, dst_space_id, dst_buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dgather {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dgather");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Dgather$descriptor() { return H5Dgather.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Dgather$handle() { return H5Dgather.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Dgather$address() { return H5Dgather.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static int H5Dgather(long src_space_id, MemorySegment src_buf, long type_id, long dst_buf_size,
+ MemorySegment dst_buf, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Dgather.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dgather", src_space_id, src_buf, type_id, dst_buf_size, dst_buf, op,
+ op_data);
+ }
+ return (int)mh$.invokeExact(src_space_id, src_buf, type_id, dst_buf_size, dst_buf, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dclose$descriptor() { return H5Dclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dclose$handle() { return H5Dclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dclose$address() { return H5Dclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static int H5Dclose(long dset_id)
+ {
+ var mh$ = H5Dclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dclose", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dclose_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dclose_async$descriptor() { return H5Dclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dclose_async$handle() { return H5Dclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dclose_async$address() { return H5Dclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Dclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long es_id)
+ {
+ var mh$ = H5Dclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dclose_async", app_file, app_func, app_line, dset_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ddebug {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ddebug");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ddebug$descriptor() { return H5Ddebug.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Ddebug$handle() { return H5Ddebug.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Ddebug$address() { return H5Ddebug.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static int H5Ddebug(long dset_id)
+ {
+ var mh$ = H5Ddebug.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ddebug", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dformat_convert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dformat_convert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dformat_convert$descriptor() { return H5Dformat_convert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dformat_convert$handle() { return H5Dformat_convert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dformat_convert$address() { return H5Dformat_convert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static int H5Dformat_convert(long dset_id)
+ {
+ var mh$ = H5Dformat_convert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dformat_convert", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_index_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_index_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_index_type$descriptor()
+ {
+ return H5Dget_chunk_index_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_index_type$handle() { return H5Dget_chunk_index_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_index_type$address() { return H5Dget_chunk_index_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static int H5Dget_chunk_index_type(long did, MemorySegment idx_type)
+ {
+ var mh$ = H5Dget_chunk_index_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_index_type", did, idx_type);
+ }
+ return (int)mh$.invokeExact(did, idx_type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dcreate1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate1$descriptor() { return H5Dcreate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate1$handle() { return H5Dcreate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate1$address() { return H5Dcreate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static long H5Dcreate1(long loc_id, MemorySegment name, long type_id, long space_id, long dcpl_id)
+ {
+ var mh$ = H5Dcreate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate1", loc_id, name, type_id, space_id, dcpl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, type_id, space_id, dcpl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dopen1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dopen1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Dopen1$descriptor() { return H5Dopen1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Dopen1$handle() { return H5Dopen1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Dopen1$address() { return H5Dopen1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Dopen1(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Dopen1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dopen1", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dextend {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dextend");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static FunctionDescriptor H5Dextend$descriptor() { return H5Dextend.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MethodHandle H5Dextend$handle() { return H5Dextend.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MemorySegment H5Dextend$address() { return H5Dextend.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static int H5Dextend(long dset_id, MemorySegment size)
+ {
+ var mh$ = H5Dextend.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dextend", dset_id, size);
+ }
+ return (int)mh$.invokeExact(dset_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dvlen_reclaim {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dvlen_reclaim");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dvlen_reclaim$descriptor() { return H5Dvlen_reclaim.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Dvlen_reclaim$handle() { return H5Dvlen_reclaim.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Dvlen_reclaim$address() { return H5Dvlen_reclaim.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static int H5Dvlen_reclaim(long type_id, long space_id, long dxpl_id, MemorySegment buf)
+ {
+ var mh$ = H5Dvlen_reclaim.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dvlen_reclaim", type_id, space_id, dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(type_id, space_id, dxpl_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_chunk1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_chunk1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_chunk1$descriptor() { return H5Dread_chunk1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static MethodHandle H5Dread_chunk1$handle() { return H5Dread_chunk1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static MemorySegment H5Dread_chunk1$address() { return H5Dread_chunk1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static int H5Dread_chunk1(long dset_id, long dxpl_id, MemorySegment offset, MemorySegment filters,
+ MemorySegment buf)
+ {
+ var mh$ = H5Dread_chunk1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_chunk1", dset_id, dxpl_id, offset, filters, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, offset, filters, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class stdin$constants {
+ public static final AddressLayout LAYOUT = hdf5_h.C_POINTER;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("stdin").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern FILE *stdin
+ * }
+ */
+ public static AddressLayout stdin$layout() { return stdin$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern FILE *stdin
+ * }
+ */
+ public static MemorySegment stdin$segment() { return stdin$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern FILE *stdin
+ * }
+ */
+ public static MemorySegment stdin() { return stdin$constants.SEGMENT.get(stdin$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern FILE *stdin
+ * }
+ */
+ public static void stdin(MemorySegment varValue)
+ {
+ stdin$constants.SEGMENT.set(stdin$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class stdout$constants {
+ public static final AddressLayout LAYOUT = hdf5_h.C_POINTER;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("stdout").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern FILE *stdout
+ * }
+ */
+ public static AddressLayout stdout$layout() { return stdout$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern FILE *stdout
+ * }
+ */
+ public static MemorySegment stdout$segment() { return stdout$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern FILE *stdout
+ * }
+ */
+ public static MemorySegment stdout() { return stdout$constants.SEGMENT.get(stdout$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern FILE *stdout
+ * }
+ */
+ public static void stdout(MemorySegment varValue)
+ {
+ stdout$constants.SEGMENT.set(stdout$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class stderr$constants {
+ public static final AddressLayout LAYOUT = hdf5_h.C_POINTER;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("stderr").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern FILE *stderr
+ * }
+ */
+ public static AddressLayout stderr$layout() { return stderr$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern FILE *stderr
+ * }
+ */
+ public static MemorySegment stderr$segment() { return stderr$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern FILE *stderr
+ * }
+ */
+ public static MemorySegment stderr() { return stderr$constants.SEGMENT.get(stderr$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern FILE *stderr
+ * }
+ */
+ public static void stderr(MemorySegment varValue)
+ {
+ stderr$constants.SEGMENT.set(stderr$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class remove {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("remove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int remove(const char *__filename)
+ * }
+ */
+ public static FunctionDescriptor remove$descriptor() { return remove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int remove(const char *__filename)
+ * }
+ */
+ public static MethodHandle remove$handle() { return remove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int remove(const char *__filename)
+ * }
+ */
+ public static MemorySegment remove$address() { return remove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int remove(const char *__filename)
+ * }
+ */
+ public static int remove(MemorySegment __filename)
+ {
+ var mh$ = remove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("remove", __filename);
+ }
+ return (int)mh$.invokeExact(__filename);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class rename {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("rename");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int rename(const char *__old, const char *__new)
+ * }
+ */
+ public static FunctionDescriptor rename$descriptor() { return rename.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int rename(const char *__old, const char *__new)
+ * }
+ */
+ public static MethodHandle rename$handle() { return rename.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int rename(const char *__old, const char *__new)
+ * }
+ */
+ public static MemorySegment rename$address() { return rename.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int rename(const char *__old, const char *__new)
+ * }
+ */
+ public static int rename(MemorySegment __old, MemorySegment __new)
+ {
+ var mh$ = rename.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("rename", __old, __new);
+ }
+ return (int)mh$.invokeExact(__old, __new);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class renameat {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("renameat");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int renameat(int __oldfd, const char *__old, int __newfd, const char *__new)
+ * }
+ */
+ public static FunctionDescriptor renameat$descriptor() { return renameat.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int renameat(int __oldfd, const char *__old, int __newfd, const char *__new)
+ * }
+ */
+ public static MethodHandle renameat$handle() { return renameat.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int renameat(int __oldfd, const char *__old, int __newfd, const char *__new)
+ * }
+ */
+ public static MemorySegment renameat$address() { return renameat.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int renameat(int __oldfd, const char *__old, int __newfd, const char *__new)
+ * }
+ */
+ public static int renameat(int __oldfd, MemorySegment __old, int __newfd, MemorySegment __new)
+ {
+ var mh$ = renameat.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("renameat", __oldfd, __old, __newfd, __new);
+ }
+ return (int)mh$.invokeExact(__oldfd, __old, __newfd, __new);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fclose(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor fclose$descriptor() { return fclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fclose(FILE *__stream)
+ * }
+ */
+ public static MethodHandle fclose$handle() { return fclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fclose(FILE *__stream)
+ * }
+ */
+ public static MemorySegment fclose$address() { return fclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fclose(FILE *__stream)
+ * }
+ */
+ public static int fclose(MemorySegment __stream)
+ {
+ var mh$ = fclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fclose", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tmpfile {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tmpfile");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern FILE *tmpfile()
+ * }
+ */
+ public static FunctionDescriptor tmpfile$descriptor() { return tmpfile.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern FILE *tmpfile()
+ * }
+ */
+ public static MethodHandle tmpfile$handle() { return tmpfile.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern FILE *tmpfile()
+ * }
+ */
+ public static MemorySegment tmpfile$address() { return tmpfile.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern FILE *tmpfile()
+ * }
+ */
+ public static MemorySegment tmpfile()
+ {
+ var mh$ = tmpfile.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tmpfile");
+ }
+ return (MemorySegment)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tmpnam {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tmpnam");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern char *tmpnam(char [20])
+ * }
+ */
+ public static FunctionDescriptor tmpnam$descriptor() { return tmpnam.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern char *tmpnam(char [20])
+ * }
+ */
+ public static MethodHandle tmpnam$handle() { return tmpnam.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern char *tmpnam(char [20])
+ * }
+ */
+ public static MemorySegment tmpnam$address() { return tmpnam.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern char *tmpnam(char [20])
+ * }
+ */
+ public static MemorySegment tmpnam(MemorySegment x0)
+ {
+ var mh$ = tmpnam.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tmpnam", x0);
+ }
+ return (MemorySegment)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tmpnam_r {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tmpnam_r");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern char *tmpnam_r(char __s[20])
+ * }
+ */
+ public static FunctionDescriptor tmpnam_r$descriptor() { return tmpnam_r.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern char *tmpnam_r(char __s[20])
+ * }
+ */
+ public static MethodHandle tmpnam_r$handle() { return tmpnam_r.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern char *tmpnam_r(char __s[20])
+ * }
+ */
+ public static MemorySegment tmpnam_r$address() { return tmpnam_r.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern char *tmpnam_r(char __s[20])
+ * }
+ */
+ public static MemorySegment tmpnam_r(MemorySegment __s)
+ {
+ var mh$ = tmpnam_r.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tmpnam_r", __s);
+ }
+ return (MemorySegment)mh$.invokeExact(__s);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tempnam {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tempnam");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern char *tempnam(const char *__dir, const char *__pfx)
+ * }
+ */
+ public static FunctionDescriptor tempnam$descriptor() { return tempnam.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern char *tempnam(const char *__dir, const char *__pfx)
+ * }
+ */
+ public static MethodHandle tempnam$handle() { return tempnam.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern char *tempnam(const char *__dir, const char *__pfx)
+ * }
+ */
+ public static MemorySegment tempnam$address() { return tempnam.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern char *tempnam(const char *__dir, const char *__pfx)
+ * }
+ */
+ public static MemorySegment tempnam(MemorySegment __dir, MemorySegment __pfx)
+ {
+ var mh$ = tempnam.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tempnam", __dir, __pfx);
+ }
+ return (MemorySegment)mh$.invokeExact(__dir, __pfx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fflush(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor fflush$descriptor() { return fflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fflush(FILE *__stream)
+ * }
+ */
+ public static MethodHandle fflush$handle() { return fflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fflush(FILE *__stream)
+ * }
+ */
+ public static MemorySegment fflush$address() { return fflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fflush(FILE *__stream)
+ * }
+ */
+ public static int fflush(MemorySegment __stream)
+ {
+ var mh$ = fflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fflush", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fflush_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fflush_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fflush_unlocked(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor fflush_unlocked$descriptor() { return fflush_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fflush_unlocked(FILE *__stream)
+ * }
+ */
+ public static MethodHandle fflush_unlocked$handle() { return fflush_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fflush_unlocked(FILE *__stream)
+ * }
+ */
+ public static MemorySegment fflush_unlocked$address() { return fflush_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fflush_unlocked(FILE *__stream)
+ * }
+ */
+ public static int fflush_unlocked(MemorySegment __stream)
+ {
+ var mh$ = fflush_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fflush_unlocked", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern FILE *fopen(const char *restrict __filename, const char *restrict __modes)
+ * }
+ */
+ public static FunctionDescriptor fopen$descriptor() { return fopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern FILE *fopen(const char *restrict __filename, const char *restrict __modes)
+ * }
+ */
+ public static MethodHandle fopen$handle() { return fopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern FILE *fopen(const char *restrict __filename, const char *restrict __modes)
+ * }
+ */
+ public static MemorySegment fopen$address() { return fopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern FILE *fopen(const char *restrict __filename, const char *restrict __modes)
+ * }
+ */
+ public static MemorySegment fopen(MemorySegment __filename, MemorySegment __modes)
+ {
+ var mh$ = fopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fopen", __filename, __modes);
+ }
+ return (MemorySegment)mh$.invokeExact(__filename, __modes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class freopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("freopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern FILE *freopen(const char *restrict __filename, const char *restrict __modes, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static FunctionDescriptor freopen$descriptor() { return freopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern FILE *freopen(const char *restrict __filename, const char *restrict __modes, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static MethodHandle freopen$handle() { return freopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern FILE *freopen(const char *restrict __filename, const char *restrict __modes, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static MemorySegment freopen$address() { return freopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern FILE *freopen(const char *restrict __filename, const char *restrict __modes, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static MemorySegment freopen(MemorySegment __filename, MemorySegment __modes,
+ MemorySegment __stream)
+ {
+ var mh$ = freopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("freopen", __filename, __modes, __stream);
+ }
+ return (MemorySegment)mh$.invokeExact(__filename, __modes, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fdopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fdopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern FILE *fdopen(int __fd, const char *__modes)
+ * }
+ */
+ public static FunctionDescriptor fdopen$descriptor() { return fdopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern FILE *fdopen(int __fd, const char *__modes)
+ * }
+ */
+ public static MethodHandle fdopen$handle() { return fdopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern FILE *fdopen(int __fd, const char *__modes)
+ * }
+ */
+ public static MemorySegment fdopen$address() { return fdopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern FILE *fdopen(int __fd, const char *__modes)
+ * }
+ */
+ public static MemorySegment fdopen(int __fd, MemorySegment __modes)
+ {
+ var mh$ = fdopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fdopen", __fd, __modes);
+ }
+ return (MemorySegment)mh$.invokeExact(__fd, __modes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fopencookie {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, _IO_cookie_io_functions_t.layout());
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fopencookie");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern FILE *fopencookie(void *restrict __magic_cookie, const char *restrict __modes,
+ * cookie_io_functions_t __io_funcs)
+ * }
+ */
+ public static FunctionDescriptor fopencookie$descriptor() { return fopencookie.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern FILE *fopencookie(void *restrict __magic_cookie, const char *restrict __modes,
+ * cookie_io_functions_t __io_funcs)
+ * }
+ */
+ public static MethodHandle fopencookie$handle() { return fopencookie.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern FILE *fopencookie(void *restrict __magic_cookie, const char *restrict __modes,
+ * cookie_io_functions_t __io_funcs)
+ * }
+ */
+ public static MemorySegment fopencookie$address() { return fopencookie.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern FILE *fopencookie(void *restrict __magic_cookie, const char *restrict __modes,
+ * cookie_io_functions_t __io_funcs)
+ * }
+ */
+ public static MemorySegment fopencookie(MemorySegment __magic_cookie, MemorySegment __modes,
+ MemorySegment __io_funcs)
+ {
+ var mh$ = fopencookie.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fopencookie", __magic_cookie, __modes, __io_funcs);
+ }
+ return (MemorySegment)mh$.invokeExact(__magic_cookie, __modes, __io_funcs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fmemopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fmemopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern FILE *fmemopen(void *__s, size_t __len, const char *__modes)
+ * }
+ */
+ public static FunctionDescriptor fmemopen$descriptor() { return fmemopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern FILE *fmemopen(void *__s, size_t __len, const char *__modes)
+ * }
+ */
+ public static MethodHandle fmemopen$handle() { return fmemopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern FILE *fmemopen(void *__s, size_t __len, const char *__modes)
+ * }
+ */
+ public static MemorySegment fmemopen$address() { return fmemopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern FILE *fmemopen(void *__s, size_t __len, const char *__modes)
+ * }
+ */
+ public static MemorySegment fmemopen(MemorySegment __s, long __len, MemorySegment __modes)
+ {
+ var mh$ = fmemopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fmemopen", __s, __len, __modes);
+ }
+ return (MemorySegment)mh$.invokeExact(__s, __len, __modes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class open_memstream {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("open_memstream");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern FILE *open_memstream(char **__bufloc, size_t *__sizeloc)
+ * }
+ */
+ public static FunctionDescriptor open_memstream$descriptor() { return open_memstream.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern FILE *open_memstream(char **__bufloc, size_t *__sizeloc)
+ * }
+ */
+ public static MethodHandle open_memstream$handle() { return open_memstream.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern FILE *open_memstream(char **__bufloc, size_t *__sizeloc)
+ * }
+ */
+ public static MemorySegment open_memstream$address() { return open_memstream.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern FILE *open_memstream(char **__bufloc, size_t *__sizeloc)
+ * }
+ */
+ public static MemorySegment open_memstream(MemorySegment __bufloc, MemorySegment __sizeloc)
+ {
+ var mh$ = open_memstream.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("open_memstream", __bufloc, __sizeloc);
+ }
+ return (MemorySegment)mh$.invokeExact(__bufloc, __sizeloc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class setbuf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.ofVoid(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setbuf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern void setbuf(FILE *restrict __stream, char *restrict __buf)
+ * }
+ */
+ public static FunctionDescriptor setbuf$descriptor() { return setbuf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern void setbuf(FILE *restrict __stream, char *restrict __buf)
+ * }
+ */
+ public static MethodHandle setbuf$handle() { return setbuf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern void setbuf(FILE *restrict __stream, char *restrict __buf)
+ * }
+ */
+ public static MemorySegment setbuf$address() { return setbuf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern void setbuf(FILE *restrict __stream, char *restrict __buf)
+ * }
+ */
+ public static void setbuf(MemorySegment __stream, MemorySegment __buf)
+ {
+ var mh$ = setbuf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setbuf", __stream, __buf);
+ }
+ mh$.invokeExact(__stream, __buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class setvbuf {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setvbuf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int setvbuf(FILE *restrict __stream, char *restrict __buf, int __modes, size_t __n)
+ * }
+ */
+ public static FunctionDescriptor setvbuf$descriptor() { return setvbuf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int setvbuf(FILE *restrict __stream, char *restrict __buf, int __modes, size_t __n)
+ * }
+ */
+ public static MethodHandle setvbuf$handle() { return setvbuf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int setvbuf(FILE *restrict __stream, char *restrict __buf, int __modes, size_t __n)
+ * }
+ */
+ public static MemorySegment setvbuf$address() { return setvbuf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int setvbuf(FILE *restrict __stream, char *restrict __buf, int __modes, size_t __n)
+ * }
+ */
+ public static int setvbuf(MemorySegment __stream, MemorySegment __buf, int __modes, long __n)
+ {
+ var mh$ = setvbuf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setvbuf", __stream, __buf, __modes, __n);
+ }
+ return (int)mh$.invokeExact(__stream, __buf, __modes, __n);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class setbuffer {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.ofVoid(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setbuffer");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern void setbuffer(FILE *restrict __stream, char *restrict __buf, size_t __size)
+ * }
+ */
+ public static FunctionDescriptor setbuffer$descriptor() { return setbuffer.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern void setbuffer(FILE *restrict __stream, char *restrict __buf, size_t __size)
+ * }
+ */
+ public static MethodHandle setbuffer$handle() { return setbuffer.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern void setbuffer(FILE *restrict __stream, char *restrict __buf, size_t __size)
+ * }
+ */
+ public static MemorySegment setbuffer$address() { return setbuffer.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern void setbuffer(FILE *restrict __stream, char *restrict __buf, size_t __size)
+ * }
+ */
+ public static void setbuffer(MemorySegment __stream, MemorySegment __buf, long __size)
+ {
+ var mh$ = setbuffer.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setbuffer", __stream, __buf, __size);
+ }
+ mh$.invokeExact(__stream, __buf, __size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class setlinebuf {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setlinebuf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern void setlinebuf(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor setlinebuf$descriptor() { return setlinebuf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern void setlinebuf(FILE *__stream)
+ * }
+ */
+ public static MethodHandle setlinebuf$handle() { return setlinebuf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern void setlinebuf(FILE *__stream)
+ * }
+ */
+ public static MemorySegment setlinebuf$address() { return setlinebuf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern void setlinebuf(FILE *__stream)
+ * }
+ */
+ public static void setlinebuf(MemorySegment __stream)
+ {
+ var mh$ = setlinebuf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setlinebuf", __stream);
+ }
+ mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int fprintf(FILE *restrict __stream, const char *restrict __format, ...)
+ * }
+ */
+ public static class fprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("fprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private fprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int fprintf(FILE *restrict __stream, const char *restrict __format, ...)
+ * }
+ */
+ public static fprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new fprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __stream, MemorySegment __format, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fprintf", __stream, __format, x2);
+ }
+ return (int)spreader.invokeExact(__stream, __format, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int printf(const char *restrict __format, ...)
+ * }
+ */
+ public static class printf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("printf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private printf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int printf(const char *restrict __format, ...)
+ * }
+ */
+ public static printf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new printf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __format, Object... x1)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("printf", __format, x1);
+ }
+ return (int)spreader.invokeExact(__format, x1);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int sprintf(char *restrict __s, const char *restrict __format, ...)
+ * }
+ */
+ public static class sprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("sprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private sprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int sprintf(char *restrict __s, const char *restrict __format, ...)
+ * }
+ */
+ public static sprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new sprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __s, MemorySegment __format, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("sprintf", __s, __format, x2);
+ }
+ return (int)spreader.invokeExact(__s, __format, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class vfprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vfprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int vfprintf(FILE *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static FunctionDescriptor vfprintf$descriptor() { return vfprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int vfprintf(FILE *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MethodHandle vfprintf$handle() { return vfprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int vfprintf(FILE *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MemorySegment vfprintf$address() { return vfprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int vfprintf(FILE *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static int vfprintf(MemorySegment __s, MemorySegment __format, MemorySegment __arg)
+ {
+ var mh$ = vfprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vfprintf", __s, __format, __arg);
+ }
+ return (int)mh$.invokeExact(__s, __format, __arg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int vprintf(const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static FunctionDescriptor vprintf$descriptor() { return vprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int vprintf(const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MethodHandle vprintf$handle() { return vprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int vprintf(const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MemorySegment vprintf$address() { return vprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int vprintf(const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static int vprintf(MemorySegment __format, MemorySegment __arg)
+ {
+ var mh$ = vprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vprintf", __format, __arg);
+ }
+ return (int)mh$.invokeExact(__format, __arg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vsprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vsprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int vsprintf(char *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static FunctionDescriptor vsprintf$descriptor() { return vsprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int vsprintf(char *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MethodHandle vsprintf$handle() { return vsprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int vsprintf(char *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MemorySegment vsprintf$address() { return vsprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int vsprintf(char *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static int vsprintf(MemorySegment __s, MemorySegment __format, MemorySegment __arg)
+ {
+ var mh$ = vsprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vsprintf", __s, __format, __arg);
+ }
+ return (int)mh$.invokeExact(__s, __format, __arg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int snprintf(char *restrict __s, size_t __maxlen, const char *restrict __format, ...)
+ * }
+ */
+ public static class snprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("snprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private snprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int snprintf(char *restrict __s, size_t __maxlen, const char *restrict __format, ...)
+ * }
+ */
+ public static snprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new snprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __s, long __maxlen, MemorySegment __format, Object... x3)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("snprintf", __s, __maxlen, __format, x3);
+ }
+ return (int)spreader.invokeExact(__s, __maxlen, __format, x3);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class vsnprintf {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vsnprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int vsnprintf(char *restrict __s, size_t __maxlen, const char *restrict __format, __gnuc_va_list
+ * __arg)
+ * }
+ */
+ public static FunctionDescriptor vsnprintf$descriptor() { return vsnprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int vsnprintf(char *restrict __s, size_t __maxlen, const char *restrict __format, __gnuc_va_list
+ * __arg)
+ * }
+ */
+ public static MethodHandle vsnprintf$handle() { return vsnprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int vsnprintf(char *restrict __s, size_t __maxlen, const char *restrict __format, __gnuc_va_list
+ * __arg)
+ * }
+ */
+ public static MemorySegment vsnprintf$address() { return vsnprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int vsnprintf(char *restrict __s, size_t __maxlen, const char *restrict __format, __gnuc_va_list
+ * __arg)
+ * }
+ */
+ public static int vsnprintf(MemorySegment __s, long __maxlen, MemorySegment __format, MemorySegment __arg)
+ {
+ var mh$ = vsnprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vsnprintf", __s, __maxlen, __format, __arg);
+ }
+ return (int)mh$.invokeExact(__s, __maxlen, __format, __arg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vasprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vasprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int vasprintf(char **restrict __ptr, const char *restrict __f, __gnuc_va_list __arg)
+ * }
+ */
+ public static FunctionDescriptor vasprintf$descriptor() { return vasprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int vasprintf(char **restrict __ptr, const char *restrict __f, __gnuc_va_list __arg)
+ * }
+ */
+ public static MethodHandle vasprintf$handle() { return vasprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int vasprintf(char **restrict __ptr, const char *restrict __f, __gnuc_va_list __arg)
+ * }
+ */
+ public static MemorySegment vasprintf$address() { return vasprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int vasprintf(char **restrict __ptr, const char *restrict __f, __gnuc_va_list __arg)
+ * }
+ */
+ public static int vasprintf(MemorySegment __ptr, MemorySegment __f, MemorySegment __arg)
+ {
+ var mh$ = vasprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vasprintf", __ptr, __f, __arg);
+ }
+ return (int)mh$.invokeExact(__ptr, __f, __arg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int __asprintf(char **restrict __ptr, const char *restrict __fmt, ...)
+ * }
+ */
+ public static class __asprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("__asprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private __asprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int __asprintf(char **restrict __ptr, const char *restrict __fmt, ...)
+ * }
+ */
+ public static __asprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new __asprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __ptr, MemorySegment __fmt, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__asprintf", __ptr, __fmt, x2);
+ }
+ return (int)spreader.invokeExact(__ptr, __fmt, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int asprintf(char **restrict __ptr, const char *restrict __fmt, ...)
+ * }
+ */
+ public static class asprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("asprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private asprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int asprintf(char **restrict __ptr, const char *restrict __fmt, ...)
+ * }
+ */
+ public static asprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new asprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __ptr, MemorySegment __fmt, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("asprintf", __ptr, __fmt, x2);
+ }
+ return (int)spreader.invokeExact(__ptr, __fmt, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class vdprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vdprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int vdprintf(int __fd, const char *restrict __fmt, __gnuc_va_list __arg)
+ * }
+ */
+ public static FunctionDescriptor vdprintf$descriptor() { return vdprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int vdprintf(int __fd, const char *restrict __fmt, __gnuc_va_list __arg)
+ * }
+ */
+ public static MethodHandle vdprintf$handle() { return vdprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int vdprintf(int __fd, const char *restrict __fmt, __gnuc_va_list __arg)
+ * }
+ */
+ public static MemorySegment vdprintf$address() { return vdprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int vdprintf(int __fd, const char *restrict __fmt, __gnuc_va_list __arg)
+ * }
+ */
+ public static int vdprintf(int __fd, MemorySegment __fmt, MemorySegment __arg)
+ {
+ var mh$ = vdprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vdprintf", __fd, __fmt, __arg);
+ }
+ return (int)mh$.invokeExact(__fd, __fmt, __arg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int dprintf(int __fd, const char *restrict __fmt, ...)
+ * }
+ */
+ public static class dprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("dprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private dprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int dprintf(int __fd, const char *restrict __fmt, ...)
+ * }
+ */
+ public static dprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new dprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(int __fd, MemorySegment __fmt, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("dprintf", __fd, __fmt, x2);
+ }
+ return (int)spreader.invokeExact(__fd, __fmt, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int fscanf(FILE *restrict __stream, const char *restrict __format, ...)
+ * }
+ */
+ public static class fscanf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("fscanf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private fscanf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int fscanf(FILE *restrict __stream, const char *restrict __format, ...)
+ * }
+ */
+ public static fscanf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new fscanf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __stream, MemorySegment __format, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fscanf", __stream, __format, x2);
+ }
+ return (int)spreader.invokeExact(__stream, __format, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int scanf(const char *restrict __format, ...)
+ * }
+ */
+ public static class scanf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("scanf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private scanf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int scanf(const char *restrict __format, ...)
+ * }
+ */
+ public static scanf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new scanf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __format, Object... x1)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("scanf", __format, x1);
+ }
+ return (int)spreader.invokeExact(__format, x1);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int sscanf(const char *restrict __s, const char *restrict __format, ...)
+ * }
+ */
+ public static class sscanf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("sscanf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private sscanf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int sscanf(const char *restrict __s, const char *restrict __format, ...)
+ * }
+ */
+ public static sscanf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new sscanf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __s, MemorySegment __format, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("sscanf", __s, __format, x2);
+ }
+ return (int)spreader.invokeExact(__s, __format, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef float _Float32
+ * }
+ */
+ public static final OfFloat _Float32 = hdf5_h.C_FLOAT;
+ /**
+ * {@snippet lang=c :
+ * typedef double _Float64
+ * }
+ */
+ public static final OfDouble _Float64 = hdf5_h.C_DOUBLE;
+ /**
+ * {@snippet lang=c :
+ * typedef double _Float32x
+ * }
+ */
+ public static final OfDouble _Float32x = hdf5_h.C_DOUBLE;
+
+ private static class vfscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vfscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int vfscanf(FILE *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static FunctionDescriptor vfscanf$descriptor() { return vfscanf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int vfscanf(FILE *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MethodHandle vfscanf$handle() { return vfscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int vfscanf(FILE *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MemorySegment vfscanf$address() { return vfscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int vfscanf(FILE *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static int vfscanf(MemorySegment __s, MemorySegment __format, MemorySegment __arg)
+ {
+ var mh$ = vfscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vfscanf", __s, __format, __arg);
+ }
+ return (int)mh$.invokeExact(__s, __format, __arg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int vscanf(const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static FunctionDescriptor vscanf$descriptor() { return vscanf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int vscanf(const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MethodHandle vscanf$handle() { return vscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int vscanf(const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MemorySegment vscanf$address() { return vscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int vscanf(const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static int vscanf(MemorySegment __format, MemorySegment __arg)
+ {
+ var mh$ = vscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vscanf", __format, __arg);
+ }
+ return (int)mh$.invokeExact(__format, __arg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vsscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vsscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int vsscanf(const char *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static FunctionDescriptor vsscanf$descriptor() { return vsscanf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int vsscanf(const char *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MethodHandle vsscanf$handle() { return vsscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int vsscanf(const char *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MemorySegment vsscanf$address() { return vsscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int vsscanf(const char *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static int vsscanf(MemorySegment __s, MemorySegment __format, MemorySegment __arg)
+ {
+ var mh$ = vsscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vsscanf", __s, __format, __arg);
+ }
+ return (int)mh$.invokeExact(__s, __format, __arg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fgetc(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor fgetc$descriptor() { return fgetc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fgetc(FILE *__stream)
+ * }
+ */
+ public static MethodHandle fgetc$handle() { return fgetc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fgetc(FILE *__stream)
+ * }
+ */
+ public static MemorySegment fgetc$address() { return fgetc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fgetc(FILE *__stream)
+ * }
+ */
+ public static int fgetc(MemorySegment __stream)
+ {
+ var mh$ = fgetc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetc", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int getc(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor getc$descriptor() { return getc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int getc(FILE *__stream)
+ * }
+ */
+ public static MethodHandle getc$handle() { return getc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int getc(FILE *__stream)
+ * }
+ */
+ public static MemorySegment getc$address() { return getc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int getc(FILE *__stream)
+ * }
+ */
+ public static int getc(MemorySegment __stream)
+ {
+ var mh$ = getc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getc", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int getchar()
+ * }
+ */
+ public static FunctionDescriptor getchar$descriptor() { return getchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int getchar()
+ * }
+ */
+ public static MethodHandle getchar$handle() { return getchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int getchar()
+ * }
+ */
+ public static MemorySegment getchar$address() { return getchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int getchar()
+ * }
+ */
+ public static int getchar()
+ {
+ var mh$ = getchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getchar");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getc_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getc_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int getc_unlocked(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor getc_unlocked$descriptor() { return getc_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int getc_unlocked(FILE *__stream)
+ * }
+ */
+ public static MethodHandle getc_unlocked$handle() { return getc_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int getc_unlocked(FILE *__stream)
+ * }
+ */
+ public static MemorySegment getc_unlocked$address() { return getc_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int getc_unlocked(FILE *__stream)
+ * }
+ */
+ public static int getc_unlocked(MemorySegment __stream)
+ {
+ var mh$ = getc_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getc_unlocked", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getchar_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getchar_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int getchar_unlocked()
+ * }
+ */
+ public static FunctionDescriptor getchar_unlocked$descriptor() { return getchar_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int getchar_unlocked()
+ * }
+ */
+ public static MethodHandle getchar_unlocked$handle() { return getchar_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int getchar_unlocked()
+ * }
+ */
+ public static MemorySegment getchar_unlocked$address() { return getchar_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int getchar_unlocked()
+ * }
+ */
+ public static int getchar_unlocked()
+ {
+ var mh$ = getchar_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getchar_unlocked");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetc_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetc_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fgetc_unlocked(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor fgetc_unlocked$descriptor() { return fgetc_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fgetc_unlocked(FILE *__stream)
+ * }
+ */
+ public static MethodHandle fgetc_unlocked$handle() { return fgetc_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fgetc_unlocked(FILE *__stream)
+ * }
+ */
+ public static MemorySegment fgetc_unlocked$address() { return fgetc_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fgetc_unlocked(FILE *__stream)
+ * }
+ */
+ public static int fgetc_unlocked(MemorySegment __stream)
+ {
+ var mh$ = fgetc_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetc_unlocked", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fputc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fputc(int __c, FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor fputc$descriptor() { return fputc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fputc(int __c, FILE *__stream)
+ * }
+ */
+ public static MethodHandle fputc$handle() { return fputc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fputc(int __c, FILE *__stream)
+ * }
+ */
+ public static MemorySegment fputc$address() { return fputc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fputc(int __c, FILE *__stream)
+ * }
+ */
+ public static int fputc(int __c, MemorySegment __stream)
+ {
+ var mh$ = fputc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputc", __c, __stream);
+ }
+ return (int)mh$.invokeExact(__c, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int putc(int __c, FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor putc$descriptor() { return putc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int putc(int __c, FILE *__stream)
+ * }
+ */
+ public static MethodHandle putc$handle() { return putc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int putc(int __c, FILE *__stream)
+ * }
+ */
+ public static MemorySegment putc$address() { return putc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int putc(int __c, FILE *__stream)
+ * }
+ */
+ public static int putc(int __c, MemorySegment __stream)
+ {
+ var mh$ = putc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putc", __c, __stream);
+ }
+ return (int)mh$.invokeExact(__c, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int putchar(int __c)
+ * }
+ */
+ public static FunctionDescriptor putchar$descriptor() { return putchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int putchar(int __c)
+ * }
+ */
+ public static MethodHandle putchar$handle() { return putchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int putchar(int __c)
+ * }
+ */
+ public static MemorySegment putchar$address() { return putchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int putchar(int __c)
+ * }
+ */
+ public static int putchar(int __c)
+ {
+ var mh$ = putchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putchar", __c);
+ }
+ return (int)mh$.invokeExact(__c);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fputc_unlocked {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputc_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fputc_unlocked(int __c, FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor fputc_unlocked$descriptor() { return fputc_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fputc_unlocked(int __c, FILE *__stream)
+ * }
+ */
+ public static MethodHandle fputc_unlocked$handle() { return fputc_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fputc_unlocked(int __c, FILE *__stream)
+ * }
+ */
+ public static MemorySegment fputc_unlocked$address() { return fputc_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fputc_unlocked(int __c, FILE *__stream)
+ * }
+ */
+ public static int fputc_unlocked(int __c, MemorySegment __stream)
+ {
+ var mh$ = fputc_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputc_unlocked", __c, __stream);
+ }
+ return (int)mh$.invokeExact(__c, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putc_unlocked {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putc_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int putc_unlocked(int __c, FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor putc_unlocked$descriptor() { return putc_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int putc_unlocked(int __c, FILE *__stream)
+ * }
+ */
+ public static MethodHandle putc_unlocked$handle() { return putc_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int putc_unlocked(int __c, FILE *__stream)
+ * }
+ */
+ public static MemorySegment putc_unlocked$address() { return putc_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int putc_unlocked(int __c, FILE *__stream)
+ * }
+ */
+ public static int putc_unlocked(int __c, MemorySegment __stream)
+ {
+ var mh$ = putc_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putc_unlocked", __c, __stream);
+ }
+ return (int)mh$.invokeExact(__c, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putchar_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putchar_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int putchar_unlocked(int __c)
+ * }
+ */
+ public static FunctionDescriptor putchar_unlocked$descriptor() { return putchar_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int putchar_unlocked(int __c)
+ * }
+ */
+ public static MethodHandle putchar_unlocked$handle() { return putchar_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int putchar_unlocked(int __c)
+ * }
+ */
+ public static MemorySegment putchar_unlocked$address() { return putchar_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int putchar_unlocked(int __c)
+ * }
+ */
+ public static int putchar_unlocked(int __c)
+ {
+ var mh$ = putchar_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putchar_unlocked", __c);
+ }
+ return (int)mh$.invokeExact(__c);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getw {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getw");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int getw(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor getw$descriptor() { return getw.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int getw(FILE *__stream)
+ * }
+ */
+ public static MethodHandle getw$handle() { return getw.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int getw(FILE *__stream)
+ * }
+ */
+ public static MemorySegment getw$address() { return getw.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int getw(FILE *__stream)
+ * }
+ */
+ public static int getw(MemorySegment __stream)
+ {
+ var mh$ = getw.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getw", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putw {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putw");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int putw(int __w, FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor putw$descriptor() { return putw.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int putw(int __w, FILE *__stream)
+ * }
+ */
+ public static MethodHandle putw$handle() { return putw.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int putw(int __w, FILE *__stream)
+ * }
+ */
+ public static MemorySegment putw$address() { return putw.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int putw(int __w, FILE *__stream)
+ * }
+ */
+ public static int putw(int __w, MemorySegment __stream)
+ {
+ var mh$ = putw.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putw", __w, __stream);
+ }
+ return (int)mh$.invokeExact(__w, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgets {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgets");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern char *fgets(char *restrict __s, int __n, FILE *restrict __stream)
+ * }
+ */
+ public static FunctionDescriptor fgets$descriptor() { return fgets.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern char *fgets(char *restrict __s, int __n, FILE *restrict __stream)
+ * }
+ */
+ public static MethodHandle fgets$handle() { return fgets.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern char *fgets(char *restrict __s, int __n, FILE *restrict __stream)
+ * }
+ */
+ public static MemorySegment fgets$address() { return fgets.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern char *fgets(char *restrict __s, int __n, FILE *restrict __stream)
+ * }
+ */
+ public static MemorySegment fgets(MemorySegment __s, int __n, MemorySegment __stream)
+ {
+ var mh$ = fgets.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgets", __s, __n, __stream);
+ }
+ return (MemorySegment)mh$.invokeExact(__s, __n, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __getdelim {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__getdelim");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern __ssize_t __getdelim(char **restrict __lineptr, size_t *restrict __n, int __delimiter, FILE
+ * *restrict __stream)
+ * }
+ */
+ public static FunctionDescriptor __getdelim$descriptor() { return __getdelim.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern __ssize_t __getdelim(char **restrict __lineptr, size_t *restrict __n, int __delimiter, FILE
+ * *restrict __stream)
+ * }
+ */
+ public static MethodHandle __getdelim$handle() { return __getdelim.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern __ssize_t __getdelim(char **restrict __lineptr, size_t *restrict __n, int __delimiter, FILE
+ * *restrict __stream)
+ * }
+ */
+ public static MemorySegment __getdelim$address() { return __getdelim.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern __ssize_t __getdelim(char **restrict __lineptr, size_t *restrict __n, int __delimiter, FILE
+ * *restrict __stream)
+ * }
+ */
+ public static long __getdelim(MemorySegment __lineptr, MemorySegment __n, int __delimiter,
+ MemorySegment __stream)
+ {
+ var mh$ = __getdelim.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__getdelim", __lineptr, __n, __delimiter, __stream);
+ }
+ return (long)mh$.invokeExact(__lineptr, __n, __delimiter, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getdelim {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getdelim");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern __ssize_t getdelim(char **restrict __lineptr, size_t *restrict __n, int __delimiter, FILE
+ * *restrict __stream)
+ * }
+ */
+ public static FunctionDescriptor getdelim$descriptor() { return getdelim.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern __ssize_t getdelim(char **restrict __lineptr, size_t *restrict __n, int __delimiter, FILE
+ * *restrict __stream)
+ * }
+ */
+ public static MethodHandle getdelim$handle() { return getdelim.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern __ssize_t getdelim(char **restrict __lineptr, size_t *restrict __n, int __delimiter, FILE
+ * *restrict __stream)
+ * }
+ */
+ public static MemorySegment getdelim$address() { return getdelim.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern __ssize_t getdelim(char **restrict __lineptr, size_t *restrict __n, int __delimiter, FILE
+ * *restrict __stream)
+ * }
+ */
+ public static long getdelim(MemorySegment __lineptr, MemorySegment __n, int __delimiter,
+ MemorySegment __stream)
+ {
+ var mh$ = getdelim.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getdelim", __lineptr, __n, __delimiter, __stream);
+ }
+ return (long)mh$.invokeExact(__lineptr, __n, __delimiter, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getline {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getline");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern __ssize_t getline(char **restrict __lineptr, size_t *restrict __n, FILE *restrict __stream)
+ * }
+ */
+ public static FunctionDescriptor getline$descriptor() { return getline.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern __ssize_t getline(char **restrict __lineptr, size_t *restrict __n, FILE *restrict __stream)
+ * }
+ */
+ public static MethodHandle getline$handle() { return getline.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern __ssize_t getline(char **restrict __lineptr, size_t *restrict __n, FILE *restrict __stream)
+ * }
+ */
+ public static MemorySegment getline$address() { return getline.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern __ssize_t getline(char **restrict __lineptr, size_t *restrict __n, FILE *restrict __stream)
+ * }
+ */
+ public static long getline(MemorySegment __lineptr, MemorySegment __n, MemorySegment __stream)
+ {
+ var mh$ = getline.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getline", __lineptr, __n, __stream);
+ }
+ return (long)mh$.invokeExact(__lineptr, __n, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fputs {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fputs(const char *restrict __s, FILE *restrict __stream)
+ * }
+ */
+ public static FunctionDescriptor fputs$descriptor() { return fputs.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fputs(const char *restrict __s, FILE *restrict __stream)
+ * }
+ */
+ public static MethodHandle fputs$handle() { return fputs.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fputs(const char *restrict __s, FILE *restrict __stream)
+ * }
+ */
+ public static MemorySegment fputs$address() { return fputs.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fputs(const char *restrict __s, FILE *restrict __stream)
+ * }
+ */
+ public static int fputs(MemorySegment __s, MemorySegment __stream)
+ {
+ var mh$ = fputs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputs", __s, __stream);
+ }
+ return (int)mh$.invokeExact(__s, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class puts {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("puts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int puts(const char *__s)
+ * }
+ */
+ public static FunctionDescriptor puts$descriptor() { return puts.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int puts(const char *__s)
+ * }
+ */
+ public static MethodHandle puts$handle() { return puts.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int puts(const char *__s)
+ * }
+ */
+ public static MemorySegment puts$address() { return puts.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int puts(const char *__s)
+ * }
+ */
+ public static int puts(MemorySegment __s)
+ {
+ var mh$ = puts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("puts", __s);
+ }
+ return (int)mh$.invokeExact(__s);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ungetc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ungetc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int ungetc(int __c, FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor ungetc$descriptor() { return ungetc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int ungetc(int __c, FILE *__stream)
+ * }
+ */
+ public static MethodHandle ungetc$handle() { return ungetc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int ungetc(int __c, FILE *__stream)
+ * }
+ */
+ public static MemorySegment ungetc$address() { return ungetc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int ungetc(int __c, FILE *__stream)
+ * }
+ */
+ public static int ungetc(int __c, MemorySegment __stream)
+ {
+ var mh$ = ungetc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ungetc", __c, __stream);
+ }
+ return (int)mh$.invokeExact(__c, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fread {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern unsigned long fread(void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __stream)
+ * }
+ */
+ public static FunctionDescriptor fread$descriptor() { return fread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern unsigned long fread(void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __stream)
+ * }
+ */
+ public static MethodHandle fread$handle() { return fread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern unsigned long fread(void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __stream)
+ * }
+ */
+ public static MemorySegment fread$address() { return fread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern unsigned long fread(void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __stream)
+ * }
+ */
+ public static long fread(MemorySegment __ptr, long __size, long __n, MemorySegment __stream)
+ {
+ var mh$ = fread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fread", __ptr, __size, __n, __stream);
+ }
+ return (long)mh$.invokeExact(__ptr, __size, __n, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fwrite {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fwrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __s)
+ * }
+ */
+ public static FunctionDescriptor fwrite$descriptor() { return fwrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __s)
+ * }
+ */
+ public static MethodHandle fwrite$handle() { return fwrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __s)
+ * }
+ */
+ public static MemorySegment fwrite$address() { return fwrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __s)
+ * }
+ */
+ public static long fwrite(MemorySegment __ptr, long __size, long __n, MemorySegment __s)
+ {
+ var mh$ = fwrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fwrite", __ptr, __size, __n, __s);
+ }
+ return (long)mh$.invokeExact(__ptr, __size, __n, __s);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fread_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fread_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern size_t fread_unlocked(void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __stream)
+ * }
+ */
+ public static FunctionDescriptor fread_unlocked$descriptor() { return fread_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern size_t fread_unlocked(void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __stream)
+ * }
+ */
+ public static MethodHandle fread_unlocked$handle() { return fread_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern size_t fread_unlocked(void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __stream)
+ * }
+ */
+ public static MemorySegment fread_unlocked$address() { return fread_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern size_t fread_unlocked(void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __stream)
+ * }
+ */
+ public static long fread_unlocked(MemorySegment __ptr, long __size, long __n, MemorySegment __stream)
+ {
+ var mh$ = fread_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fread_unlocked", __ptr, __size, __n, __stream);
+ }
+ return (long)mh$.invokeExact(__ptr, __size, __n, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fwrite_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fwrite_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern size_t fwrite_unlocked(const void *restrict __ptr, size_t __size, size_t __n, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static FunctionDescriptor fwrite_unlocked$descriptor() { return fwrite_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern size_t fwrite_unlocked(const void *restrict __ptr, size_t __size, size_t __n, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static MethodHandle fwrite_unlocked$handle() { return fwrite_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern size_t fwrite_unlocked(const void *restrict __ptr, size_t __size, size_t __n, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static MemorySegment fwrite_unlocked$address() { return fwrite_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern size_t fwrite_unlocked(const void *restrict __ptr, size_t __size, size_t __n, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static long fwrite_unlocked(MemorySegment __ptr, long __size, long __n, MemorySegment __stream)
+ {
+ var mh$ = fwrite_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fwrite_unlocked", __ptr, __size, __n, __stream);
+ }
+ return (long)mh$.invokeExact(__ptr, __size, __n, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fseek {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fseek");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fseek(FILE *__stream, long __off, int __whence)
+ * }
+ */
+ public static FunctionDescriptor fseek$descriptor() { return fseek.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fseek(FILE *__stream, long __off, int __whence)
+ * }
+ */
+ public static MethodHandle fseek$handle() { return fseek.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fseek(FILE *__stream, long __off, int __whence)
+ * }
+ */
+ public static MemorySegment fseek$address() { return fseek.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fseek(FILE *__stream, long __off, int __whence)
+ * }
+ */
+ public static int fseek(MemorySegment __stream, long __off, int __whence)
+ {
+ var mh$ = fseek.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fseek", __stream, __off, __whence);
+ }
+ return (int)mh$.invokeExact(__stream, __off, __whence);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ftell {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ftell");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern long ftell(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor ftell$descriptor() { return ftell.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern long ftell(FILE *__stream)
+ * }
+ */
+ public static MethodHandle ftell$handle() { return ftell.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern long ftell(FILE *__stream)
+ * }
+ */
+ public static MemorySegment ftell$address() { return ftell.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern long ftell(FILE *__stream)
+ * }
+ */
+ public static long ftell(MemorySegment __stream)
+ {
+ var mh$ = ftell.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ftell", __stream);
+ }
+ return (long)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class rewind {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("rewind");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern void rewind(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor rewind$descriptor() { return rewind.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern void rewind(FILE *__stream)
+ * }
+ */
+ public static MethodHandle rewind$handle() { return rewind.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern void rewind(FILE *__stream)
+ * }
+ */
+ public static MemorySegment rewind$address() { return rewind.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern void rewind(FILE *__stream)
+ * }
+ */
+ public static void rewind(MemorySegment __stream)
+ {
+ var mh$ = rewind.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("rewind", __stream);
+ }
+ mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fseeko {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fseeko");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fseeko(FILE *__stream, __off_t __off, int __whence)
+ * }
+ */
+ public static FunctionDescriptor fseeko$descriptor() { return fseeko.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fseeko(FILE *__stream, __off_t __off, int __whence)
+ * }
+ */
+ public static MethodHandle fseeko$handle() { return fseeko.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fseeko(FILE *__stream, __off_t __off, int __whence)
+ * }
+ */
+ public static MemorySegment fseeko$address() { return fseeko.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fseeko(FILE *__stream, __off_t __off, int __whence)
+ * }
+ */
+ public static int fseeko(MemorySegment __stream, long __off, int __whence)
+ {
+ var mh$ = fseeko.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fseeko", __stream, __off, __whence);
+ }
+ return (int)mh$.invokeExact(__stream, __off, __whence);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ftello {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ftello");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern __off_t ftello(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor ftello$descriptor() { return ftello.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern __off_t ftello(FILE *__stream)
+ * }
+ */
+ public static MethodHandle ftello$handle() { return ftello.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern __off_t ftello(FILE *__stream)
+ * }
+ */
+ public static MemorySegment ftello$address() { return ftello.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern __off_t ftello(FILE *__stream)
+ * }
+ */
+ public static long ftello(MemorySegment __stream)
+ {
+ var mh$ = ftello.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ftello", __stream);
+ }
+ return (long)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetpos {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetpos");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fgetpos(FILE *restrict __stream, fpos_t *restrict __pos)
+ * }
+ */
+ public static FunctionDescriptor fgetpos$descriptor() { return fgetpos.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fgetpos(FILE *restrict __stream, fpos_t *restrict __pos)
+ * }
+ */
+ public static MethodHandle fgetpos$handle() { return fgetpos.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fgetpos(FILE *restrict __stream, fpos_t *restrict __pos)
+ * }
+ */
+ public static MemorySegment fgetpos$address() { return fgetpos.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fgetpos(FILE *restrict __stream, fpos_t *restrict __pos)
+ * }
+ */
+ public static int fgetpos(MemorySegment __stream, MemorySegment __pos)
+ {
+ var mh$ = fgetpos.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetpos", __stream, __pos);
+ }
+ return (int)mh$.invokeExact(__stream, __pos);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fsetpos {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fsetpos");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fsetpos(FILE *__stream, const fpos_t *__pos)
+ * }
+ */
+ public static FunctionDescriptor fsetpos$descriptor() { return fsetpos.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fsetpos(FILE *__stream, const fpos_t *__pos)
+ * }
+ */
+ public static MethodHandle fsetpos$handle() { return fsetpos.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fsetpos(FILE *__stream, const fpos_t *__pos)
+ * }
+ */
+ public static MemorySegment fsetpos$address() { return fsetpos.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fsetpos(FILE *__stream, const fpos_t *__pos)
+ * }
+ */
+ public static int fsetpos(MemorySegment __stream, MemorySegment __pos)
+ {
+ var mh$ = fsetpos.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fsetpos", __stream, __pos);
+ }
+ return (int)mh$.invokeExact(__stream, __pos);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class clearerr {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("clearerr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern void clearerr(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor clearerr$descriptor() { return clearerr.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern void clearerr(FILE *__stream)
+ * }
+ */
+ public static MethodHandle clearerr$handle() { return clearerr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern void clearerr(FILE *__stream)
+ * }
+ */
+ public static MemorySegment clearerr$address() { return clearerr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern void clearerr(FILE *__stream)
+ * }
+ */
+ public static void clearerr(MemorySegment __stream)
+ {
+ var mh$ = clearerr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("clearerr", __stream);
+ }
+ mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class feof {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("feof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int feof(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor feof$descriptor() { return feof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int feof(FILE *__stream)
+ * }
+ */
+ public static MethodHandle feof$handle() { return feof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int feof(FILE *__stream)
+ * }
+ */
+ public static MemorySegment feof$address() { return feof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int feof(FILE *__stream)
+ * }
+ */
+ public static int feof(MemorySegment __stream)
+ {
+ var mh$ = feof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("feof", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ferror {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ferror");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int ferror(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor ferror$descriptor() { return ferror.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int ferror(FILE *__stream)
+ * }
+ */
+ public static MethodHandle ferror$handle() { return ferror.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int ferror(FILE *__stream)
+ * }
+ */
+ public static MemorySegment ferror$address() { return ferror.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int ferror(FILE *__stream)
+ * }
+ */
+ public static int ferror(MemorySegment __stream)
+ {
+ var mh$ = ferror.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ferror", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class clearerr_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("clearerr_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern void clearerr_unlocked(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor clearerr_unlocked$descriptor() { return clearerr_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern void clearerr_unlocked(FILE *__stream)
+ * }
+ */
+ public static MethodHandle clearerr_unlocked$handle() { return clearerr_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern void clearerr_unlocked(FILE *__stream)
+ * }
+ */
+ public static MemorySegment clearerr_unlocked$address() { return clearerr_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern void clearerr_unlocked(FILE *__stream)
+ * }
+ */
+ public static void clearerr_unlocked(MemorySegment __stream)
+ {
+ var mh$ = clearerr_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("clearerr_unlocked", __stream);
+ }
+ mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class feof_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("feof_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int feof_unlocked(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor feof_unlocked$descriptor() { return feof_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int feof_unlocked(FILE *__stream)
+ * }
+ */
+ public static MethodHandle feof_unlocked$handle() { return feof_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int feof_unlocked(FILE *__stream)
+ * }
+ */
+ public static MemorySegment feof_unlocked$address() { return feof_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int feof_unlocked(FILE *__stream)
+ * }
+ */
+ public static int feof_unlocked(MemorySegment __stream)
+ {
+ var mh$ = feof_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("feof_unlocked", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ferror_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ferror_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int ferror_unlocked(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor ferror_unlocked$descriptor() { return ferror_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int ferror_unlocked(FILE *__stream)
+ * }
+ */
+ public static MethodHandle ferror_unlocked$handle() { return ferror_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int ferror_unlocked(FILE *__stream)
+ * }
+ */
+ public static MemorySegment ferror_unlocked$address() { return ferror_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int ferror_unlocked(FILE *__stream)
+ * }
+ */
+ public static int ferror_unlocked(MemorySegment __stream)
+ {
+ var mh$ = ferror_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ferror_unlocked", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class perror {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("perror");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern void perror(const char *__s)
+ * }
+ */
+ public static FunctionDescriptor perror$descriptor() { return perror.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern void perror(const char *__s)
+ * }
+ */
+ public static MethodHandle perror$handle() { return perror.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern void perror(const char *__s)
+ * }
+ */
+ public static MemorySegment perror$address() { return perror.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern void perror(const char *__s)
+ * }
+ */
+ public static void perror(MemorySegment __s)
+ {
+ var mh$ = perror.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("perror", __s);
+ }
+ mh$.invokeExact(__s);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fileno {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fileno");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fileno(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor fileno$descriptor() { return fileno.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fileno(FILE *__stream)
+ * }
+ */
+ public static MethodHandle fileno$handle() { return fileno.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fileno(FILE *__stream)
+ * }
+ */
+ public static MemorySegment fileno$address() { return fileno.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fileno(FILE *__stream)
+ * }
+ */
+ public static int fileno(MemorySegment __stream)
+ {
+ var mh$ = fileno.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fileno", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fileno_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fileno_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fileno_unlocked(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor fileno_unlocked$descriptor() { return fileno_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fileno_unlocked(FILE *__stream)
+ * }
+ */
+ public static MethodHandle fileno_unlocked$handle() { return fileno_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fileno_unlocked(FILE *__stream)
+ * }
+ */
+ public static MemorySegment fileno_unlocked$address() { return fileno_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fileno_unlocked(FILE *__stream)
+ * }
+ */
+ public static int fileno_unlocked(MemorySegment __stream)
+ {
+ var mh$ = fileno_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fileno_unlocked", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class pclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("pclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int pclose(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor pclose$descriptor() { return pclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int pclose(FILE *__stream)
+ * }
+ */
+ public static MethodHandle pclose$handle() { return pclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int pclose(FILE *__stream)
+ * }
+ */
+ public static MemorySegment pclose$address() { return pclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int pclose(FILE *__stream)
+ * }
+ */
+ public static int pclose(MemorySegment __stream)
+ {
+ var mh$ = pclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("pclose", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class popen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("popen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern FILE *popen(const char *__command, const char *__modes)
+ * }
+ */
+ public static FunctionDescriptor popen$descriptor() { return popen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern FILE *popen(const char *__command, const char *__modes)
+ * }
+ */
+ public static MethodHandle popen$handle() { return popen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern FILE *popen(const char *__command, const char *__modes)
+ * }
+ */
+ public static MemorySegment popen$address() { return popen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern FILE *popen(const char *__command, const char *__modes)
+ * }
+ */
+ public static MemorySegment popen(MemorySegment __command, MemorySegment __modes)
+ {
+ var mh$ = popen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("popen", __command, __modes);
+ }
+ return (MemorySegment)mh$.invokeExact(__command, __modes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ctermid {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ctermid");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern char *ctermid(char *__s)
+ * }
+ */
+ public static FunctionDescriptor ctermid$descriptor() { return ctermid.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern char *ctermid(char *__s)
+ * }
+ */
+ public static MethodHandle ctermid$handle() { return ctermid.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern char *ctermid(char *__s)
+ * }
+ */
+ public static MemorySegment ctermid$address() { return ctermid.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern char *ctermid(char *__s)
+ * }
+ */
+ public static MemorySegment ctermid(MemorySegment __s)
+ {
+ var mh$ = ctermid.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ctermid", __s);
+ }
+ return (MemorySegment)mh$.invokeExact(__s);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class flockfile {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("flockfile");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern void flockfile(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor flockfile$descriptor() { return flockfile.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern void flockfile(FILE *__stream)
+ * }
+ */
+ public static MethodHandle flockfile$handle() { return flockfile.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern void flockfile(FILE *__stream)
+ * }
+ */
+ public static MemorySegment flockfile$address() { return flockfile.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern void flockfile(FILE *__stream)
+ * }
+ */
+ public static void flockfile(MemorySegment __stream)
+ {
+ var mh$ = flockfile.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("flockfile", __stream);
+ }
+ mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ftrylockfile {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ftrylockfile");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int ftrylockfile(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor ftrylockfile$descriptor() { return ftrylockfile.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int ftrylockfile(FILE *__stream)
+ * }
+ */
+ public static MethodHandle ftrylockfile$handle() { return ftrylockfile.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int ftrylockfile(FILE *__stream)
+ * }
+ */
+ public static MemorySegment ftrylockfile$address() { return ftrylockfile.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int ftrylockfile(FILE *__stream)
+ * }
+ */
+ public static int ftrylockfile(MemorySegment __stream)
+ {
+ var mh$ = ftrylockfile.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ftrylockfile", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class funlockfile {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("funlockfile");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern void funlockfile(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor funlockfile$descriptor() { return funlockfile.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern void funlockfile(FILE *__stream)
+ * }
+ */
+ public static MethodHandle funlockfile$handle() { return funlockfile.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern void funlockfile(FILE *__stream)
+ * }
+ */
+ public static MemorySegment funlockfile$address() { return funlockfile.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern void funlockfile(FILE *__stream)
+ * }
+ */
+ public static void funlockfile(MemorySegment __stream)
+ {
+ var mh$ = funlockfile.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("funlockfile", __stream);
+ }
+ mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __uflow {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__uflow");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int __uflow(FILE *)
+ * }
+ */
+ public static FunctionDescriptor __uflow$descriptor() { return __uflow.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int __uflow(FILE *)
+ * }
+ */
+ public static MethodHandle __uflow$handle() { return __uflow.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int __uflow(FILE *)
+ * }
+ */
+ public static MemorySegment __uflow$address() { return __uflow.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int __uflow(FILE *)
+ * }
+ */
+ public static int __uflow(MemorySegment x0)
+ {
+ var mh$ = __uflow.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__uflow", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __overflow {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__overflow");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int __overflow(FILE *, int)
+ * }
+ */
+ public static FunctionDescriptor __overflow$descriptor() { return __overflow.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int __overflow(FILE *, int)
+ * }
+ */
+ public static MethodHandle __overflow$handle() { return __overflow.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int __overflow(FILE *, int)
+ * }
+ */
+ public static MemorySegment __overflow$address() { return __overflow.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int __overflow(FILE *, int)
+ * }
+ */
+ public static int __overflow(MemorySegment x0, int x1)
+ {
+ var mh$ = __overflow.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__overflow", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5E_MAJOR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_type_t.H5E_MAJOR = 0
+ * }
+ */
+ public static int H5E_MAJOR() { return H5E_MAJOR; }
+ private static final int H5E_MINOR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_type_t.H5E_MINOR = 1
+ * }
+ */
+ public static int H5E_MINOR() { return H5E_MINOR; }
+
+ private static class H5E_ERR_CLS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ERR_CLS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static OfLong H5E_ERR_CLS_g$layout() { return H5E_ERR_CLS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static MemorySegment H5E_ERR_CLS_g$segment() { return H5E_ERR_CLS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static long H5E_ERR_CLS_g()
+ {
+ return H5E_ERR_CLS_g$constants.SEGMENT.get(H5E_ERR_CLS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static void H5E_ERR_CLS_g(long varValue)
+ {
+ H5E_ERR_CLS_g$constants.SEGMENT.set(H5E_ERR_CLS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ARGS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ARGS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static OfLong H5E_ARGS_g$layout() { return H5E_ARGS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static MemorySegment H5E_ARGS_g$segment() { return H5E_ARGS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static long H5E_ARGS_g()
+ {
+ return H5E_ARGS_g$constants.SEGMENT.get(H5E_ARGS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static void H5E_ARGS_g(long varValue)
+ {
+ H5E_ARGS_g$constants.SEGMENT.set(H5E_ARGS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ATTR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ATTR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static OfLong H5E_ATTR_g$layout() { return H5E_ATTR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static MemorySegment H5E_ATTR_g$segment() { return H5E_ATTR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static long H5E_ATTR_g()
+ {
+ return H5E_ATTR_g$constants.SEGMENT.get(H5E_ATTR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static void H5E_ATTR_g(long varValue)
+ {
+ H5E_ATTR_g$constants.SEGMENT.set(H5E_ATTR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BTREE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BTREE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static OfLong H5E_BTREE_g$layout() { return H5E_BTREE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static MemorySegment H5E_BTREE_g$segment() { return H5E_BTREE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static long H5E_BTREE_g()
+ {
+ return H5E_BTREE_g$constants.SEGMENT.get(H5E_BTREE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static void H5E_BTREE_g(long varValue)
+ {
+ H5E_BTREE_g$constants.SEGMENT.set(H5E_BTREE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CACHE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CACHE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static OfLong H5E_CACHE_g$layout() { return H5E_CACHE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static MemorySegment H5E_CACHE_g$segment() { return H5E_CACHE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static long H5E_CACHE_g()
+ {
+ return H5E_CACHE_g$constants.SEGMENT.get(H5E_CACHE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static void H5E_CACHE_g(long varValue)
+ {
+ H5E_CACHE_g$constants.SEGMENT.set(H5E_CACHE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CONTEXT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CONTEXT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static OfLong H5E_CONTEXT_g$layout() { return H5E_CONTEXT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static MemorySegment H5E_CONTEXT_g$segment() { return H5E_CONTEXT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static long H5E_CONTEXT_g()
+ {
+ return H5E_CONTEXT_g$constants.SEGMENT.get(H5E_CONTEXT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static void H5E_CONTEXT_g(long varValue)
+ {
+ H5E_CONTEXT_g$constants.SEGMENT.set(H5E_CONTEXT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DATASET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DATASET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static OfLong H5E_DATASET_g$layout() { return H5E_DATASET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static MemorySegment H5E_DATASET_g$segment() { return H5E_DATASET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static long H5E_DATASET_g()
+ {
+ return H5E_DATASET_g$constants.SEGMENT.get(H5E_DATASET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static void H5E_DATASET_g(long varValue)
+ {
+ H5E_DATASET_g$constants.SEGMENT.set(H5E_DATASET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DATASPACE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DATASPACE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static OfLong H5E_DATASPACE_g$layout() { return H5E_DATASPACE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static MemorySegment H5E_DATASPACE_g$segment() { return H5E_DATASPACE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static long H5E_DATASPACE_g()
+ {
+ return H5E_DATASPACE_g$constants.SEGMENT.get(H5E_DATASPACE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static void H5E_DATASPACE_g(long varValue)
+ {
+ H5E_DATASPACE_g$constants.SEGMENT.set(H5E_DATASPACE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DATATYPE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DATATYPE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static OfLong H5E_DATATYPE_g$layout() { return H5E_DATATYPE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static MemorySegment H5E_DATATYPE_g$segment() { return H5E_DATATYPE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static long H5E_DATATYPE_g()
+ {
+ return H5E_DATATYPE_g$constants.SEGMENT.get(H5E_DATATYPE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static void H5E_DATATYPE_g(long varValue)
+ {
+ H5E_DATATYPE_g$constants.SEGMENT.set(H5E_DATATYPE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EARRAY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EARRAY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static OfLong H5E_EARRAY_g$layout() { return H5E_EARRAY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static MemorySegment H5E_EARRAY_g$segment() { return H5E_EARRAY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static long H5E_EARRAY_g()
+ {
+ return H5E_EARRAY_g$constants.SEGMENT.get(H5E_EARRAY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static void H5E_EARRAY_g(long varValue)
+ {
+ H5E_EARRAY_g$constants.SEGMENT.set(H5E_EARRAY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EFL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EFL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static OfLong H5E_EFL_g$layout() { return H5E_EFL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static MemorySegment H5E_EFL_g$segment() { return H5E_EFL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static long H5E_EFL_g() { return H5E_EFL_g$constants.SEGMENT.get(H5E_EFL_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static void H5E_EFL_g(long varValue)
+ {
+ H5E_EFL_g$constants.SEGMENT.set(H5E_EFL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static OfLong H5E_ERROR_g$layout() { return H5E_ERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static MemorySegment H5E_ERROR_g$segment() { return H5E_ERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static long H5E_ERROR_g()
+ {
+ return H5E_ERROR_g$constants.SEGMENT.get(H5E_ERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static void H5E_ERROR_g(long varValue)
+ {
+ H5E_ERROR_g$constants.SEGMENT.set(H5E_ERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EVENTSET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EVENTSET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static OfLong H5E_EVENTSET_g$layout() { return H5E_EVENTSET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static MemorySegment H5E_EVENTSET_g$segment() { return H5E_EVENTSET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static long H5E_EVENTSET_g()
+ {
+ return H5E_EVENTSET_g$constants.SEGMENT.get(H5E_EVENTSET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static void H5E_EVENTSET_g(long varValue)
+ {
+ H5E_EVENTSET_g$constants.SEGMENT.set(H5E_EVENTSET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FARRAY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FARRAY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static OfLong H5E_FARRAY_g$layout() { return H5E_FARRAY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static MemorySegment H5E_FARRAY_g$segment() { return H5E_FARRAY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static long H5E_FARRAY_g()
+ {
+ return H5E_FARRAY_g$constants.SEGMENT.get(H5E_FARRAY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static void H5E_FARRAY_g(long varValue)
+ {
+ H5E_FARRAY_g$constants.SEGMENT.set(H5E_FARRAY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static OfLong H5E_FILE_g$layout() { return H5E_FILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static MemorySegment H5E_FILE_g$segment() { return H5E_FILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static long H5E_FILE_g()
+ {
+ return H5E_FILE_g$constants.SEGMENT.get(H5E_FILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static void H5E_FILE_g(long varValue)
+ {
+ H5E_FILE_g$constants.SEGMENT.set(H5E_FILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FSPACE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FSPACE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static OfLong H5E_FSPACE_g$layout() { return H5E_FSPACE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static MemorySegment H5E_FSPACE_g$segment() { return H5E_FSPACE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static long H5E_FSPACE_g()
+ {
+ return H5E_FSPACE_g$constants.SEGMENT.get(H5E_FSPACE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static void H5E_FSPACE_g(long varValue)
+ {
+ H5E_FSPACE_g$constants.SEGMENT.set(H5E_FSPACE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FUNC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FUNC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static OfLong H5E_FUNC_g$layout() { return H5E_FUNC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static MemorySegment H5E_FUNC_g$segment() { return H5E_FUNC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static long H5E_FUNC_g()
+ {
+ return H5E_FUNC_g$constants.SEGMENT.get(H5E_FUNC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static void H5E_FUNC_g(long varValue)
+ {
+ H5E_FUNC_g$constants.SEGMENT.set(H5E_FUNC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_HEAP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_HEAP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static OfLong H5E_HEAP_g$layout() { return H5E_HEAP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static MemorySegment H5E_HEAP_g$segment() { return H5E_HEAP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static long H5E_HEAP_g()
+ {
+ return H5E_HEAP_g$constants.SEGMENT.get(H5E_HEAP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static void H5E_HEAP_g(long varValue)
+ {
+ H5E_HEAP_g$constants.SEGMENT.set(H5E_HEAP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static OfLong H5E_ID_g$layout() { return H5E_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static MemorySegment H5E_ID_g$segment() { return H5E_ID_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static long H5E_ID_g() { return H5E_ID_g$constants.SEGMENT.get(H5E_ID_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static void H5E_ID_g(long varValue)
+ {
+ H5E_ID_g$constants.SEGMENT.set(H5E_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_INTERNAL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_INTERNAL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static OfLong H5E_INTERNAL_g$layout() { return H5E_INTERNAL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static MemorySegment H5E_INTERNAL_g$segment() { return H5E_INTERNAL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static long H5E_INTERNAL_g()
+ {
+ return H5E_INTERNAL_g$constants.SEGMENT.get(H5E_INTERNAL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static void H5E_INTERNAL_g(long varValue)
+ {
+ H5E_INTERNAL_g$constants.SEGMENT.set(H5E_INTERNAL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_IO_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_IO_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static OfLong H5E_IO_g$layout() { return H5E_IO_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static MemorySegment H5E_IO_g$segment() { return H5E_IO_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static long H5E_IO_g() { return H5E_IO_g$constants.SEGMENT.get(H5E_IO_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static void H5E_IO_g(long varValue)
+ {
+ H5E_IO_g$constants.SEGMENT.set(H5E_IO_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LIB_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LIB_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static OfLong H5E_LIB_g$layout() { return H5E_LIB_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static MemorySegment H5E_LIB_g$segment() { return H5E_LIB_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static long H5E_LIB_g() { return H5E_LIB_g$constants.SEGMENT.get(H5E_LIB_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static void H5E_LIB_g(long varValue)
+ {
+ H5E_LIB_g$constants.SEGMENT.set(H5E_LIB_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LINK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LINK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static OfLong H5E_LINK_g$layout() { return H5E_LINK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static MemorySegment H5E_LINK_g$segment() { return H5E_LINK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static long H5E_LINK_g()
+ {
+ return H5E_LINK_g$constants.SEGMENT.get(H5E_LINK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static void H5E_LINK_g(long varValue)
+ {
+ H5E_LINK_g$constants.SEGMENT.set(H5E_LINK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MAP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MAP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static OfLong H5E_MAP_g$layout() { return H5E_MAP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static MemorySegment H5E_MAP_g$segment() { return H5E_MAP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static long H5E_MAP_g() { return H5E_MAP_g$constants.SEGMENT.get(H5E_MAP_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static void H5E_MAP_g(long varValue)
+ {
+ H5E_MAP_g$constants.SEGMENT.set(H5E_MAP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NONE_MAJOR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NONE_MAJOR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static OfLong H5E_NONE_MAJOR_g$layout() { return H5E_NONE_MAJOR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static MemorySegment H5E_NONE_MAJOR_g$segment() { return H5E_NONE_MAJOR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static long H5E_NONE_MAJOR_g()
+ {
+ return H5E_NONE_MAJOR_g$constants.SEGMENT.get(H5E_NONE_MAJOR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static void H5E_NONE_MAJOR_g(long varValue)
+ {
+ H5E_NONE_MAJOR_g$constants.SEGMENT.set(H5E_NONE_MAJOR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OHDR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OHDR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static OfLong H5E_OHDR_g$layout() { return H5E_OHDR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static MemorySegment H5E_OHDR_g$segment() { return H5E_OHDR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static long H5E_OHDR_g()
+ {
+ return H5E_OHDR_g$constants.SEGMENT.get(H5E_OHDR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static void H5E_OHDR_g(long varValue)
+ {
+ H5E_OHDR_g$constants.SEGMENT.set(H5E_OHDR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PAGEBUF_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PAGEBUF_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static OfLong H5E_PAGEBUF_g$layout() { return H5E_PAGEBUF_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static MemorySegment H5E_PAGEBUF_g$segment() { return H5E_PAGEBUF_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static long H5E_PAGEBUF_g()
+ {
+ return H5E_PAGEBUF_g$constants.SEGMENT.get(H5E_PAGEBUF_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static void H5E_PAGEBUF_g(long varValue)
+ {
+ H5E_PAGEBUF_g$constants.SEGMENT.set(H5E_PAGEBUF_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PLINE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PLINE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static OfLong H5E_PLINE_g$layout() { return H5E_PLINE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static MemorySegment H5E_PLINE_g$segment() { return H5E_PLINE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static long H5E_PLINE_g()
+ {
+ return H5E_PLINE_g$constants.SEGMENT.get(H5E_PLINE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static void H5E_PLINE_g(long varValue)
+ {
+ H5E_PLINE_g$constants.SEGMENT.set(H5E_PLINE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PLIST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PLIST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static OfLong H5E_PLIST_g$layout() { return H5E_PLIST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static MemorySegment H5E_PLIST_g$segment() { return H5E_PLIST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static long H5E_PLIST_g()
+ {
+ return H5E_PLIST_g$constants.SEGMENT.get(H5E_PLIST_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static void H5E_PLIST_g(long varValue)
+ {
+ H5E_PLIST_g$constants.SEGMENT.set(H5E_PLIST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PLUGIN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PLUGIN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static OfLong H5E_PLUGIN_g$layout() { return H5E_PLUGIN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static MemorySegment H5E_PLUGIN_g$segment() { return H5E_PLUGIN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static long H5E_PLUGIN_g()
+ {
+ return H5E_PLUGIN_g$constants.SEGMENT.get(H5E_PLUGIN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static void H5E_PLUGIN_g(long varValue)
+ {
+ H5E_PLUGIN_g$constants.SEGMENT.set(H5E_PLUGIN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_REFERENCE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_REFERENCE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static OfLong H5E_REFERENCE_g$layout() { return H5E_REFERENCE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static MemorySegment H5E_REFERENCE_g$segment() { return H5E_REFERENCE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static long H5E_REFERENCE_g()
+ {
+ return H5E_REFERENCE_g$constants.SEGMENT.get(H5E_REFERENCE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static void H5E_REFERENCE_g(long varValue)
+ {
+ H5E_REFERENCE_g$constants.SEGMENT.set(H5E_REFERENCE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_RESOURCE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_RESOURCE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static OfLong H5E_RESOURCE_g$layout() { return H5E_RESOURCE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static MemorySegment H5E_RESOURCE_g$segment() { return H5E_RESOURCE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static long H5E_RESOURCE_g()
+ {
+ return H5E_RESOURCE_g$constants.SEGMENT.get(H5E_RESOURCE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static void H5E_RESOURCE_g(long varValue)
+ {
+ H5E_RESOURCE_g$constants.SEGMENT.set(H5E_RESOURCE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_RS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_RS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static OfLong H5E_RS_g$layout() { return H5E_RS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static MemorySegment H5E_RS_g$segment() { return H5E_RS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static long H5E_RS_g() { return H5E_RS_g$constants.SEGMENT.get(H5E_RS_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static void H5E_RS_g(long varValue)
+ {
+ H5E_RS_g$constants.SEGMENT.set(H5E_RS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_RTREE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_RTREE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static OfLong H5E_RTREE_g$layout() { return H5E_RTREE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static MemorySegment H5E_RTREE_g$segment() { return H5E_RTREE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static long H5E_RTREE_g()
+ {
+ return H5E_RTREE_g$constants.SEGMENT.get(H5E_RTREE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static void H5E_RTREE_g(long varValue)
+ {
+ H5E_RTREE_g$constants.SEGMENT.set(H5E_RTREE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SLIST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SLIST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static OfLong H5E_SLIST_g$layout() { return H5E_SLIST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static MemorySegment H5E_SLIST_g$segment() { return H5E_SLIST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static long H5E_SLIST_g()
+ {
+ return H5E_SLIST_g$constants.SEGMENT.get(H5E_SLIST_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static void H5E_SLIST_g(long varValue)
+ {
+ H5E_SLIST_g$constants.SEGMENT.set(H5E_SLIST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SOHM_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SOHM_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static OfLong H5E_SOHM_g$layout() { return H5E_SOHM_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static MemorySegment H5E_SOHM_g$segment() { return H5E_SOHM_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static long H5E_SOHM_g()
+ {
+ return H5E_SOHM_g$constants.SEGMENT.get(H5E_SOHM_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static void H5E_SOHM_g(long varValue)
+ {
+ H5E_SOHM_g$constants.SEGMENT.set(H5E_SOHM_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_STORAGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_STORAGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static OfLong H5E_STORAGE_g$layout() { return H5E_STORAGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static MemorySegment H5E_STORAGE_g$segment() { return H5E_STORAGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static long H5E_STORAGE_g()
+ {
+ return H5E_STORAGE_g$constants.SEGMENT.get(H5E_STORAGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static void H5E_STORAGE_g(long varValue)
+ {
+ H5E_STORAGE_g$constants.SEGMENT.set(H5E_STORAGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SYM_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SYM_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static OfLong H5E_SYM_g$layout() { return H5E_SYM_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static MemorySegment H5E_SYM_g$segment() { return H5E_SYM_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static long H5E_SYM_g() { return H5E_SYM_g$constants.SEGMENT.get(H5E_SYM_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static void H5E_SYM_g(long varValue)
+ {
+ H5E_SYM_g$constants.SEGMENT.set(H5E_SYM_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_THREADSAFE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_THREADSAFE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static OfLong H5E_THREADSAFE_g$layout() { return H5E_THREADSAFE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static MemorySegment H5E_THREADSAFE_g$segment() { return H5E_THREADSAFE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static long H5E_THREADSAFE_g()
+ {
+ return H5E_THREADSAFE_g$constants.SEGMENT.get(H5E_THREADSAFE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static void H5E_THREADSAFE_g(long varValue)
+ {
+ H5E_THREADSAFE_g$constants.SEGMENT.set(H5E_THREADSAFE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_TST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_TST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static OfLong H5E_TST_g$layout() { return H5E_TST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static MemorySegment H5E_TST_g$segment() { return H5E_TST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static long H5E_TST_g() { return H5E_TST_g$constants.SEGMENT.get(H5E_TST_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static void H5E_TST_g(long varValue)
+ {
+ H5E_TST_g$constants.SEGMENT.set(H5E_TST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_VFL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_VFL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static OfLong H5E_VFL_g$layout() { return H5E_VFL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static MemorySegment H5E_VFL_g$segment() { return H5E_VFL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static long H5E_VFL_g() { return H5E_VFL_g$constants.SEGMENT.get(H5E_VFL_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static void H5E_VFL_g(long varValue)
+ {
+ H5E_VFL_g$constants.SEGMENT.set(H5E_VFL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_VOL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_VOL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static OfLong H5E_VOL_g$layout() { return H5E_VOL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static MemorySegment H5E_VOL_g$segment() { return H5E_VOL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static long H5E_VOL_g() { return H5E_VOL_g$constants.SEGMENT.get(H5E_VOL_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static void H5E_VOL_g(long varValue)
+ {
+ H5E_VOL_g$constants.SEGMENT.set(H5E_VOL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADRANGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADRANGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static OfLong H5E_BADRANGE_g$layout() { return H5E_BADRANGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static MemorySegment H5E_BADRANGE_g$segment() { return H5E_BADRANGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static long H5E_BADRANGE_g()
+ {
+ return H5E_BADRANGE_g$constants.SEGMENT.get(H5E_BADRANGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static void H5E_BADRANGE_g(long varValue)
+ {
+ H5E_BADRANGE_g$constants.SEGMENT.set(H5E_BADRANGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADTYPE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADTYPE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static OfLong H5E_BADTYPE_g$layout() { return H5E_BADTYPE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static MemorySegment H5E_BADTYPE_g$segment() { return H5E_BADTYPE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static long H5E_BADTYPE_g()
+ {
+ return H5E_BADTYPE_g$constants.SEGMENT.get(H5E_BADTYPE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static void H5E_BADTYPE_g(long varValue)
+ {
+ H5E_BADTYPE_g$constants.SEGMENT.set(H5E_BADTYPE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADVALUE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADVALUE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static OfLong H5E_BADVALUE_g$layout() { return H5E_BADVALUE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static MemorySegment H5E_BADVALUE_g$segment() { return H5E_BADVALUE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static long H5E_BADVALUE_g()
+ {
+ return H5E_BADVALUE_g$constants.SEGMENT.get(H5E_BADVALUE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static void H5E_BADVALUE_g(long varValue)
+ {
+ H5E_BADVALUE_g$constants.SEGMENT.set(H5E_BADVALUE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_UNINITIALIZED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_UNINITIALIZED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static OfLong H5E_UNINITIALIZED_g$layout() { return H5E_UNINITIALIZED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static MemorySegment H5E_UNINITIALIZED_g$segment()
+ {
+ return H5E_UNINITIALIZED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static long H5E_UNINITIALIZED_g()
+ {
+ return H5E_UNINITIALIZED_g$constants.SEGMENT.get(H5E_UNINITIALIZED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static void H5E_UNINITIALIZED_g(long varValue)
+ {
+ H5E_UNINITIALIZED_g$constants.SEGMENT.set(H5E_UNINITIALIZED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_UNSUPPORTED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_UNSUPPORTED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static OfLong H5E_UNSUPPORTED_g$layout() { return H5E_UNSUPPORTED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static MemorySegment H5E_UNSUPPORTED_g$segment() { return H5E_UNSUPPORTED_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static long H5E_UNSUPPORTED_g()
+ {
+ return H5E_UNSUPPORTED_g$constants.SEGMENT.get(H5E_UNSUPPORTED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static void H5E_UNSUPPORTED_g(long varValue)
+ {
+ H5E_UNSUPPORTED_g$constants.SEGMENT.set(H5E_UNSUPPORTED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCANCEL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCANCEL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static OfLong H5E_CANTCANCEL_g$layout() { return H5E_CANTCANCEL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCANCEL_g$segment() { return H5E_CANTCANCEL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static long H5E_CANTCANCEL_g()
+ {
+ return H5E_CANTCANCEL_g$constants.SEGMENT.get(H5E_CANTCANCEL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static void H5E_CANTCANCEL_g(long varValue)
+ {
+ H5E_CANTCANCEL_g$constants.SEGMENT.set(H5E_CANTCANCEL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTWAIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTWAIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static OfLong H5E_CANTWAIT_g$layout() { return H5E_CANTWAIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTWAIT_g$segment() { return H5E_CANTWAIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static long H5E_CANTWAIT_g()
+ {
+ return H5E_CANTWAIT_g$constants.SEGMENT.get(H5E_CANTWAIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static void H5E_CANTWAIT_g(long varValue)
+ {
+ H5E_CANTWAIT_g$constants.SEGMENT.set(H5E_CANTWAIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDECODE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDECODE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static OfLong H5E_CANTDECODE_g$layout() { return H5E_CANTDECODE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDECODE_g$segment() { return H5E_CANTDECODE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static long H5E_CANTDECODE_g()
+ {
+ return H5E_CANTDECODE_g$constants.SEGMENT.get(H5E_CANTDECODE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static void H5E_CANTDECODE_g(long varValue)
+ {
+ H5E_CANTDECODE_g$constants.SEGMENT.set(H5E_CANTDECODE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTENCODE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTENCODE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static OfLong H5E_CANTENCODE_g$layout() { return H5E_CANTENCODE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTENCODE_g$segment() { return H5E_CANTENCODE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static long H5E_CANTENCODE_g()
+ {
+ return H5E_CANTENCODE_g$constants.SEGMENT.get(H5E_CANTENCODE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static void H5E_CANTENCODE_g(long varValue)
+ {
+ H5E_CANTENCODE_g$constants.SEGMENT.set(H5E_CANTENCODE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFIND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFIND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static OfLong H5E_CANTFIND_g$layout() { return H5E_CANTFIND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFIND_g$segment() { return H5E_CANTFIND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static long H5E_CANTFIND_g()
+ {
+ return H5E_CANTFIND_g$constants.SEGMENT.get(H5E_CANTFIND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static void H5E_CANTFIND_g(long varValue)
+ {
+ H5E_CANTFIND_g$constants.SEGMENT.set(H5E_CANTFIND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINSERT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINSERT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static OfLong H5E_CANTINSERT_g$layout() { return H5E_CANTINSERT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINSERT_g$segment() { return H5E_CANTINSERT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static long H5E_CANTINSERT_g()
+ {
+ return H5E_CANTINSERT_g$constants.SEGMENT.get(H5E_CANTINSERT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static void H5E_CANTINSERT_g(long varValue)
+ {
+ H5E_CANTINSERT_g$constants.SEGMENT.set(H5E_CANTINSERT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLIST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLIST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static OfLong H5E_CANTLIST_g$layout() { return H5E_CANTLIST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLIST_g$segment() { return H5E_CANTLIST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static long H5E_CANTLIST_g()
+ {
+ return H5E_CANTLIST_g$constants.SEGMENT.get(H5E_CANTLIST_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static void H5E_CANTLIST_g(long varValue)
+ {
+ H5E_CANTLIST_g$constants.SEGMENT.set(H5E_CANTLIST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMODIFY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMODIFY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static OfLong H5E_CANTMODIFY_g$layout() { return H5E_CANTMODIFY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMODIFY_g$segment() { return H5E_CANTMODIFY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static long H5E_CANTMODIFY_g()
+ {
+ return H5E_CANTMODIFY_g$constants.SEGMENT.get(H5E_CANTMODIFY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static void H5E_CANTMODIFY_g(long varValue)
+ {
+ H5E_CANTMODIFY_g$constants.SEGMENT.set(H5E_CANTMODIFY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREDISTRIBUTE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREDISTRIBUTE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static OfLong H5E_CANTREDISTRIBUTE_g$layout() { return H5E_CANTREDISTRIBUTE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREDISTRIBUTE_g$segment()
+ {
+ return H5E_CANTREDISTRIBUTE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static long H5E_CANTREDISTRIBUTE_g()
+ {
+ return H5E_CANTREDISTRIBUTE_g$constants.SEGMENT.get(H5E_CANTREDISTRIBUTE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static void H5E_CANTREDISTRIBUTE_g(long varValue)
+ {
+ H5E_CANTREDISTRIBUTE_g$constants.SEGMENT.set(H5E_CANTREDISTRIBUTE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREMOVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREMOVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static OfLong H5E_CANTREMOVE_g$layout() { return H5E_CANTREMOVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREMOVE_g$segment() { return H5E_CANTREMOVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static long H5E_CANTREMOVE_g()
+ {
+ return H5E_CANTREMOVE_g$constants.SEGMENT.get(H5E_CANTREMOVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static void H5E_CANTREMOVE_g(long varValue)
+ {
+ H5E_CANTREMOVE_g$constants.SEGMENT.set(H5E_CANTREMOVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSPLIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSPLIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static OfLong H5E_CANTSPLIT_g$layout() { return H5E_CANTSPLIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSPLIT_g$segment() { return H5E_CANTSPLIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static long H5E_CANTSPLIT_g()
+ {
+ return H5E_CANTSPLIT_g$constants.SEGMENT.get(H5E_CANTSPLIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static void H5E_CANTSPLIT_g(long varValue)
+ {
+ H5E_CANTSPLIT_g$constants.SEGMENT.set(H5E_CANTSPLIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSWAP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSWAP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static OfLong H5E_CANTSWAP_g$layout() { return H5E_CANTSWAP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSWAP_g$segment() { return H5E_CANTSWAP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static long H5E_CANTSWAP_g()
+ {
+ return H5E_CANTSWAP_g$constants.SEGMENT.get(H5E_CANTSWAP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static void H5E_CANTSWAP_g(long varValue)
+ {
+ H5E_CANTSWAP_g$constants.SEGMENT.set(H5E_CANTSWAP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EXISTS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EXISTS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static OfLong H5E_EXISTS_g$layout() { return H5E_EXISTS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static MemorySegment H5E_EXISTS_g$segment() { return H5E_EXISTS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static long H5E_EXISTS_g()
+ {
+ return H5E_EXISTS_g$constants.SEGMENT.get(H5E_EXISTS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static void H5E_EXISTS_g(long varValue)
+ {
+ H5E_EXISTS_g$constants.SEGMENT.set(H5E_EXISTS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTFOUND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTFOUND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static OfLong H5E_NOTFOUND_g$layout() { return H5E_NOTFOUND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static MemorySegment H5E_NOTFOUND_g$segment() { return H5E_NOTFOUND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static long H5E_NOTFOUND_g()
+ {
+ return H5E_NOTFOUND_g$constants.SEGMENT.get(H5E_NOTFOUND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static void H5E_NOTFOUND_g(long varValue)
+ {
+ H5E_NOTFOUND_g$constants.SEGMENT.set(H5E_NOTFOUND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLEAN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLEAN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static OfLong H5E_CANTCLEAN_g$layout() { return H5E_CANTCLEAN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLEAN_g$segment() { return H5E_CANTCLEAN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static long H5E_CANTCLEAN_g()
+ {
+ return H5E_CANTCLEAN_g$constants.SEGMENT.get(H5E_CANTCLEAN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static void H5E_CANTCLEAN_g(long varValue)
+ {
+ H5E_CANTCLEAN_g$constants.SEGMENT.set(H5E_CANTCLEAN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCORK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCORK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static OfLong H5E_CANTCORK_g$layout() { return H5E_CANTCORK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCORK_g$segment() { return H5E_CANTCORK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static long H5E_CANTCORK_g()
+ {
+ return H5E_CANTCORK_g$constants.SEGMENT.get(H5E_CANTCORK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static void H5E_CANTCORK_g(long varValue)
+ {
+ H5E_CANTCORK_g$constants.SEGMENT.set(H5E_CANTCORK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDEPEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDEPEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static OfLong H5E_CANTDEPEND_g$layout() { return H5E_CANTDEPEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDEPEND_g$segment() { return H5E_CANTDEPEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static long H5E_CANTDEPEND_g()
+ {
+ return H5E_CANTDEPEND_g$constants.SEGMENT.get(H5E_CANTDEPEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static void H5E_CANTDEPEND_g(long varValue)
+ {
+ H5E_CANTDEPEND_g$constants.SEGMENT.set(H5E_CANTDEPEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDIRTY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDIRTY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static OfLong H5E_CANTDIRTY_g$layout() { return H5E_CANTDIRTY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDIRTY_g$segment() { return H5E_CANTDIRTY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static long H5E_CANTDIRTY_g()
+ {
+ return H5E_CANTDIRTY_g$constants.SEGMENT.get(H5E_CANTDIRTY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static void H5E_CANTDIRTY_g(long varValue)
+ {
+ H5E_CANTDIRTY_g$constants.SEGMENT.set(H5E_CANTDIRTY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTEXPUNGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTEXPUNGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static OfLong H5E_CANTEXPUNGE_g$layout() { return H5E_CANTEXPUNGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTEXPUNGE_g$segment() { return H5E_CANTEXPUNGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static long H5E_CANTEXPUNGE_g()
+ {
+ return H5E_CANTEXPUNGE_g$constants.SEGMENT.get(H5E_CANTEXPUNGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static void H5E_CANTEXPUNGE_g(long varValue)
+ {
+ H5E_CANTEXPUNGE_g$constants.SEGMENT.set(H5E_CANTEXPUNGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFLUSH_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFLUSH_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static OfLong H5E_CANTFLUSH_g$layout() { return H5E_CANTFLUSH_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFLUSH_g$segment() { return H5E_CANTFLUSH_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static long H5E_CANTFLUSH_g()
+ {
+ return H5E_CANTFLUSH_g$constants.SEGMENT.get(H5E_CANTFLUSH_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static void H5E_CANTFLUSH_g(long varValue)
+ {
+ H5E_CANTFLUSH_g$constants.SEGMENT.set(H5E_CANTFLUSH_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static OfLong H5E_CANTINS_g$layout() { return H5E_CANTINS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINS_g$segment() { return H5E_CANTINS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static long H5E_CANTINS_g()
+ {
+ return H5E_CANTINS_g$constants.SEGMENT.get(H5E_CANTINS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static void H5E_CANTINS_g(long varValue)
+ {
+ H5E_CANTINS_g$constants.SEGMENT.set(H5E_CANTINS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLOAD_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLOAD_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static OfLong H5E_CANTLOAD_g$layout() { return H5E_CANTLOAD_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLOAD_g$segment() { return H5E_CANTLOAD_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static long H5E_CANTLOAD_g()
+ {
+ return H5E_CANTLOAD_g$constants.SEGMENT.get(H5E_CANTLOAD_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static void H5E_CANTLOAD_g(long varValue)
+ {
+ H5E_CANTLOAD_g$constants.SEGMENT.set(H5E_CANTLOAD_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMARKCLEAN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKCLEAN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKCLEAN_g$layout() { return H5E_CANTMARKCLEAN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKCLEAN_g$segment()
+ {
+ return H5E_CANTMARKCLEAN_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static long H5E_CANTMARKCLEAN_g()
+ {
+ return H5E_CANTMARKCLEAN_g$constants.SEGMENT.get(H5E_CANTMARKCLEAN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static void H5E_CANTMARKCLEAN_g(long varValue)
+ {
+ H5E_CANTMARKCLEAN_g$constants.SEGMENT.set(H5E_CANTMARKCLEAN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMARKDIRTY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKDIRTY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKDIRTY_g$layout() { return H5E_CANTMARKDIRTY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKDIRTY_g$segment()
+ {
+ return H5E_CANTMARKDIRTY_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static long H5E_CANTMARKDIRTY_g()
+ {
+ return H5E_CANTMARKDIRTY_g$constants.SEGMENT.get(H5E_CANTMARKDIRTY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static void H5E_CANTMARKDIRTY_g(long varValue)
+ {
+ H5E_CANTMARKDIRTY_g$constants.SEGMENT.set(H5E_CANTMARKDIRTY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMARKSERIALIZED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKSERIALIZED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKSERIALIZED_g$layout()
+ {
+ return H5E_CANTMARKSERIALIZED_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKSERIALIZED_g$segment()
+ {
+ return H5E_CANTMARKSERIALIZED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static long H5E_CANTMARKSERIALIZED_g()
+ {
+ return H5E_CANTMARKSERIALIZED_g$constants.SEGMENT.get(H5E_CANTMARKSERIALIZED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static void H5E_CANTMARKSERIALIZED_g(long varValue)
+ {
+ H5E_CANTMARKSERIALIZED_g$constants.SEGMENT.set(H5E_CANTMARKSERIALIZED_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5E_CANTMARKUNSERIALIZED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKUNSERIALIZED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKUNSERIALIZED_g$layout()
+ {
+ return H5E_CANTMARKUNSERIALIZED_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKUNSERIALIZED_g$segment()
+ {
+ return H5E_CANTMARKUNSERIALIZED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static long H5E_CANTMARKUNSERIALIZED_g()
+ {
+ return H5E_CANTMARKUNSERIALIZED_g$constants.SEGMENT.get(H5E_CANTMARKUNSERIALIZED_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static void H5E_CANTMARKUNSERIALIZED_g(long varValue)
+ {
+ H5E_CANTMARKUNSERIALIZED_g$constants.SEGMENT.set(H5E_CANTMARKUNSERIALIZED_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5E_CANTNOTIFY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTNOTIFY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static OfLong H5E_CANTNOTIFY_g$layout() { return H5E_CANTNOTIFY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTNOTIFY_g$segment() { return H5E_CANTNOTIFY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static long H5E_CANTNOTIFY_g()
+ {
+ return H5E_CANTNOTIFY_g$constants.SEGMENT.get(H5E_CANTNOTIFY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static void H5E_CANTNOTIFY_g(long varValue)
+ {
+ H5E_CANTNOTIFY_g$constants.SEGMENT.set(H5E_CANTNOTIFY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPIN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPIN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static OfLong H5E_CANTPIN_g$layout() { return H5E_CANTPIN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPIN_g$segment() { return H5E_CANTPIN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static long H5E_CANTPIN_g()
+ {
+ return H5E_CANTPIN_g$constants.SEGMENT.get(H5E_CANTPIN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static void H5E_CANTPIN_g(long varValue)
+ {
+ H5E_CANTPIN_g$constants.SEGMENT.set(H5E_CANTPIN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPROTECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPROTECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static OfLong H5E_CANTPROTECT_g$layout() { return H5E_CANTPROTECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPROTECT_g$segment() { return H5E_CANTPROTECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static long H5E_CANTPROTECT_g()
+ {
+ return H5E_CANTPROTECT_g$constants.SEGMENT.get(H5E_CANTPROTECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static void H5E_CANTPROTECT_g(long varValue)
+ {
+ H5E_CANTPROTECT_g$constants.SEGMENT.set(H5E_CANTPROTECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRESIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRESIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTRESIZE_g$layout() { return H5E_CANTRESIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRESIZE_g$segment() { return H5E_CANTRESIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static long H5E_CANTRESIZE_g()
+ {
+ return H5E_CANTRESIZE_g$constants.SEGMENT.get(H5E_CANTRESIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static void H5E_CANTRESIZE_g(long varValue)
+ {
+ H5E_CANTRESIZE_g$constants.SEGMENT.set(H5E_CANTRESIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSERIALIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSERIALIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTSERIALIZE_g$layout() { return H5E_CANTSERIALIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSERIALIZE_g$segment()
+ {
+ return H5E_CANTSERIALIZE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static long H5E_CANTSERIALIZE_g()
+ {
+ return H5E_CANTSERIALIZE_g$constants.SEGMENT.get(H5E_CANTSERIALIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static void H5E_CANTSERIALIZE_g(long varValue)
+ {
+ H5E_CANTSERIALIZE_g$constants.SEGMENT.set(H5E_CANTSERIALIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTTAG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTTAG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static OfLong H5E_CANTTAG_g$layout() { return H5E_CANTTAG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static MemorySegment H5E_CANTTAG_g$segment() { return H5E_CANTTAG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static long H5E_CANTTAG_g()
+ {
+ return H5E_CANTTAG_g$constants.SEGMENT.get(H5E_CANTTAG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static void H5E_CANTTAG_g(long varValue)
+ {
+ H5E_CANTTAG_g$constants.SEGMENT.set(H5E_CANTTAG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNCORK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNCORK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static OfLong H5E_CANTUNCORK_g$layout() { return H5E_CANTUNCORK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNCORK_g$segment() { return H5E_CANTUNCORK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static long H5E_CANTUNCORK_g()
+ {
+ return H5E_CANTUNCORK_g$constants.SEGMENT.get(H5E_CANTUNCORK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static void H5E_CANTUNCORK_g(long varValue)
+ {
+ H5E_CANTUNCORK_g$constants.SEGMENT.set(H5E_CANTUNCORK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNDEPEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNDEPEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static OfLong H5E_CANTUNDEPEND_g$layout() { return H5E_CANTUNDEPEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNDEPEND_g$segment() { return H5E_CANTUNDEPEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static long H5E_CANTUNDEPEND_g()
+ {
+ return H5E_CANTUNDEPEND_g$constants.SEGMENT.get(H5E_CANTUNDEPEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static void H5E_CANTUNDEPEND_g(long varValue)
+ {
+ H5E_CANTUNDEPEND_g$constants.SEGMENT.set(H5E_CANTUNDEPEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNPIN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNPIN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static OfLong H5E_CANTUNPIN_g$layout() { return H5E_CANTUNPIN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNPIN_g$segment() { return H5E_CANTUNPIN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static long H5E_CANTUNPIN_g()
+ {
+ return H5E_CANTUNPIN_g$constants.SEGMENT.get(H5E_CANTUNPIN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static void H5E_CANTUNPIN_g(long varValue)
+ {
+ H5E_CANTUNPIN_g$constants.SEGMENT.set(H5E_CANTUNPIN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNPROTECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNPROTECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static OfLong H5E_CANTUNPROTECT_g$layout() { return H5E_CANTUNPROTECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNPROTECT_g$segment()
+ {
+ return H5E_CANTUNPROTECT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static long H5E_CANTUNPROTECT_g()
+ {
+ return H5E_CANTUNPROTECT_g$constants.SEGMENT.get(H5E_CANTUNPROTECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static void H5E_CANTUNPROTECT_g(long varValue)
+ {
+ H5E_CANTUNPROTECT_g$constants.SEGMENT.set(H5E_CANTUNPROTECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNSERIALIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNSERIALIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTUNSERIALIZE_g$layout() { return H5E_CANTUNSERIALIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNSERIALIZE_g$segment()
+ {
+ return H5E_CANTUNSERIALIZE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static long H5E_CANTUNSERIALIZE_g()
+ {
+ return H5E_CANTUNSERIALIZE_g$constants.SEGMENT.get(H5E_CANTUNSERIALIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static void H5E_CANTUNSERIALIZE_g(long varValue)
+ {
+ H5E_CANTUNSERIALIZE_g$constants.SEGMENT.set(H5E_CANTUNSERIALIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LOGGING_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LOGGING_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static OfLong H5E_LOGGING_g$layout() { return H5E_LOGGING_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static MemorySegment H5E_LOGGING_g$segment() { return H5E_LOGGING_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static long H5E_LOGGING_g()
+ {
+ return H5E_LOGGING_g$constants.SEGMENT.get(H5E_LOGGING_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static void H5E_LOGGING_g(long varValue)
+ {
+ H5E_LOGGING_g$constants.SEGMENT.set(H5E_LOGGING_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTCACHED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTCACHED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static OfLong H5E_NOTCACHED_g$layout() { return H5E_NOTCACHED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static MemorySegment H5E_NOTCACHED_g$segment() { return H5E_NOTCACHED_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static long H5E_NOTCACHED_g()
+ {
+ return H5E_NOTCACHED_g$constants.SEGMENT.get(H5E_NOTCACHED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static void H5E_NOTCACHED_g(long varValue)
+ {
+ H5E_NOTCACHED_g$constants.SEGMENT.set(H5E_NOTCACHED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PROTECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PROTECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static OfLong H5E_PROTECT_g$layout() { return H5E_PROTECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static MemorySegment H5E_PROTECT_g$segment() { return H5E_PROTECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static long H5E_PROTECT_g()
+ {
+ return H5E_PROTECT_g$constants.SEGMENT.get(H5E_PROTECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static void H5E_PROTECT_g(long varValue)
+ {
+ H5E_PROTECT_g$constants.SEGMENT.set(H5E_PROTECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SYSTEM_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SYSTEM_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static OfLong H5E_SYSTEM_g$layout() { return H5E_SYSTEM_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static MemorySegment H5E_SYSTEM_g$segment() { return H5E_SYSTEM_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static long H5E_SYSTEM_g()
+ {
+ return H5E_SYSTEM_g$constants.SEGMENT.get(H5E_SYSTEM_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static void H5E_SYSTEM_g(long varValue)
+ {
+ H5E_SYSTEM_g$constants.SEGMENT.set(H5E_SYSTEM_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADSELECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADSELECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static OfLong H5E_BADSELECT_g$layout() { return H5E_BADSELECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static MemorySegment H5E_BADSELECT_g$segment() { return H5E_BADSELECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static long H5E_BADSELECT_g()
+ {
+ return H5E_BADSELECT_g$constants.SEGMENT.get(H5E_BADSELECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static void H5E_BADSELECT_g(long varValue)
+ {
+ H5E_BADSELECT_g$constants.SEGMENT.set(H5E_BADSELECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTAPPEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTAPPEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static OfLong H5E_CANTAPPEND_g$layout() { return H5E_CANTAPPEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTAPPEND_g$segment() { return H5E_CANTAPPEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static long H5E_CANTAPPEND_g()
+ {
+ return H5E_CANTAPPEND_g$constants.SEGMENT.get(H5E_CANTAPPEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static void H5E_CANTAPPEND_g(long varValue)
+ {
+ H5E_CANTAPPEND_g$constants.SEGMENT.set(H5E_CANTAPPEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLIP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLIP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static OfLong H5E_CANTCLIP_g$layout() { return H5E_CANTCLIP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLIP_g$segment() { return H5E_CANTCLIP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static long H5E_CANTCLIP_g()
+ {
+ return H5E_CANTCLIP_g$constants.SEGMENT.get(H5E_CANTCLIP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static void H5E_CANTCLIP_g(long varValue)
+ {
+ H5E_CANTCLIP_g$constants.SEGMENT.set(H5E_CANTCLIP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOMPARE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOMPARE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static OfLong H5E_CANTCOMPARE_g$layout() { return H5E_CANTCOMPARE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOMPARE_g$segment() { return H5E_CANTCOMPARE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static long H5E_CANTCOMPARE_g()
+ {
+ return H5E_CANTCOMPARE_g$constants.SEGMENT.get(H5E_CANTCOMPARE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static void H5E_CANTCOMPARE_g(long varValue)
+ {
+ H5E_CANTCOMPARE_g$constants.SEGMENT.set(H5E_CANTCOMPARE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static OfLong H5E_CANTCOUNT_g$layout() { return H5E_CANTCOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOUNT_g$segment() { return H5E_CANTCOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static long H5E_CANTCOUNT_g()
+ {
+ return H5E_CANTCOUNT_g$constants.SEGMENT.get(H5E_CANTCOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static void H5E_CANTCOUNT_g(long varValue)
+ {
+ H5E_CANTCOUNT_g$constants.SEGMENT.set(H5E_CANTCOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTNEXT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTNEXT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static OfLong H5E_CANTNEXT_g$layout() { return H5E_CANTNEXT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTNEXT_g$segment() { return H5E_CANTNEXT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static long H5E_CANTNEXT_g()
+ {
+ return H5E_CANTNEXT_g$constants.SEGMENT.get(H5E_CANTNEXT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static void H5E_CANTNEXT_g(long varValue)
+ {
+ H5E_CANTNEXT_g$constants.SEGMENT.set(H5E_CANTNEXT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSELECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSELECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static OfLong H5E_CANTSELECT_g$layout() { return H5E_CANTSELECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSELECT_g$segment() { return H5E_CANTSELECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static long H5E_CANTSELECT_g()
+ {
+ return H5E_CANTSELECT_g$constants.SEGMENT.get(H5E_CANTSELECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static void H5E_CANTSELECT_g(long varValue)
+ {
+ H5E_CANTSELECT_g$constants.SEGMENT.set(H5E_CANTSELECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_INCONSISTENTSTATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_INCONSISTENTSTATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static OfLong H5E_INCONSISTENTSTATE_g$layout() { return H5E_INCONSISTENTSTATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static MemorySegment H5E_INCONSISTENTSTATE_g$segment()
+ {
+ return H5E_INCONSISTENTSTATE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static long H5E_INCONSISTENTSTATE_g()
+ {
+ return H5E_INCONSISTENTSTATE_g$constants.SEGMENT.get(H5E_INCONSISTENTSTATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static void H5E_INCONSISTENTSTATE_g(long varValue)
+ {
+ H5E_INCONSISTENTSTATE_g$constants.SEGMENT.set(H5E_INCONSISTENTSTATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CLOSEERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CLOSEERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static OfLong H5E_CLOSEERROR_g$layout() { return H5E_CLOSEERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static MemorySegment H5E_CLOSEERROR_g$segment() { return H5E_CLOSEERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static long H5E_CLOSEERROR_g()
+ {
+ return H5E_CLOSEERROR_g$constants.SEGMENT.get(H5E_CLOSEERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static void H5E_CLOSEERROR_g(long varValue)
+ {
+ H5E_CLOSEERROR_g$constants.SEGMENT.set(H5E_CLOSEERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FCNTL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FCNTL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static OfLong H5E_FCNTL_g$layout() { return H5E_FCNTL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static MemorySegment H5E_FCNTL_g$segment() { return H5E_FCNTL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static long H5E_FCNTL_g()
+ {
+ return H5E_FCNTL_g$constants.SEGMENT.get(H5E_FCNTL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static void H5E_FCNTL_g(long varValue)
+ {
+ H5E_FCNTL_g$constants.SEGMENT.set(H5E_FCNTL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OVERFLOW_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OVERFLOW_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static OfLong H5E_OVERFLOW_g$layout() { return H5E_OVERFLOW_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static MemorySegment H5E_OVERFLOW_g$segment() { return H5E_OVERFLOW_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static long H5E_OVERFLOW_g()
+ {
+ return H5E_OVERFLOW_g$constants.SEGMENT.get(H5E_OVERFLOW_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static void H5E_OVERFLOW_g(long varValue)
+ {
+ H5E_OVERFLOW_g$constants.SEGMENT.set(H5E_OVERFLOW_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_READERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_READERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static OfLong H5E_READERROR_g$layout() { return H5E_READERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static MemorySegment H5E_READERROR_g$segment() { return H5E_READERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static long H5E_READERROR_g()
+ {
+ return H5E_READERROR_g$constants.SEGMENT.get(H5E_READERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static void H5E_READERROR_g(long varValue)
+ {
+ H5E_READERROR_g$constants.SEGMENT.set(H5E_READERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SEEKERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SEEKERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static OfLong H5E_SEEKERROR_g$layout() { return H5E_SEEKERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static MemorySegment H5E_SEEKERROR_g$segment() { return H5E_SEEKERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static long H5E_SEEKERROR_g()
+ {
+ return H5E_SEEKERROR_g$constants.SEGMENT.get(H5E_SEEKERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static void H5E_SEEKERROR_g(long varValue)
+ {
+ H5E_SEEKERROR_g$constants.SEGMENT.set(H5E_SEEKERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_WRITEERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_WRITEERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static OfLong H5E_WRITEERROR_g$layout() { return H5E_WRITEERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static MemorySegment H5E_WRITEERROR_g$segment() { return H5E_WRITEERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static long H5E_WRITEERROR_g()
+ {
+ return H5E_WRITEERROR_g$constants.SEGMENT.get(H5E_WRITEERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static void H5E_WRITEERROR_g(long varValue)
+ {
+ H5E_WRITEERROR_g$constants.SEGMENT.set(H5E_WRITEERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static OfLong H5E_BADFILE_g$layout() { return H5E_BADFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static MemorySegment H5E_BADFILE_g$segment() { return H5E_BADFILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static long H5E_BADFILE_g()
+ {
+ return H5E_BADFILE_g$constants.SEGMENT.get(H5E_BADFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static void H5E_BADFILE_g(long varValue)
+ {
+ H5E_BADFILE_g$constants.SEGMENT.set(H5E_BADFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLOSEFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLOSEFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTCLOSEFILE_g$layout() { return H5E_CANTCLOSEFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLOSEFILE_g$segment()
+ {
+ return H5E_CANTCLOSEFILE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static long H5E_CANTCLOSEFILE_g()
+ {
+ return H5E_CANTCLOSEFILE_g$constants.SEGMENT.get(H5E_CANTCLOSEFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static void H5E_CANTCLOSEFILE_g(long varValue)
+ {
+ H5E_CANTCLOSEFILE_g$constants.SEGMENT.set(H5E_CANTCLOSEFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCREATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCREATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static OfLong H5E_CANTCREATE_g$layout() { return H5E_CANTCREATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCREATE_g$segment() { return H5E_CANTCREATE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static long H5E_CANTCREATE_g()
+ {
+ return H5E_CANTCREATE_g$constants.SEGMENT.get(H5E_CANTCREATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static void H5E_CANTCREATE_g(long varValue)
+ {
+ H5E_CANTCREATE_g$constants.SEGMENT.set(H5E_CANTCREATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDELETEFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDELETEFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTDELETEFILE_g$layout() { return H5E_CANTDELETEFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDELETEFILE_g$segment()
+ {
+ return H5E_CANTDELETEFILE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static long H5E_CANTDELETEFILE_g()
+ {
+ return H5E_CANTDELETEFILE_g$constants.SEGMENT.get(H5E_CANTDELETEFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static void H5E_CANTDELETEFILE_g(long varValue)
+ {
+ H5E_CANTDELETEFILE_g$constants.SEGMENT.set(H5E_CANTDELETEFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLOCKFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLOCKFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTLOCKFILE_g$layout() { return H5E_CANTLOCKFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLOCKFILE_g$segment() { return H5E_CANTLOCKFILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static long H5E_CANTLOCKFILE_g()
+ {
+ return H5E_CANTLOCKFILE_g$constants.SEGMENT.get(H5E_CANTLOCKFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static void H5E_CANTLOCKFILE_g(long varValue)
+ {
+ H5E_CANTLOCKFILE_g$constants.SEGMENT.set(H5E_CANTLOCKFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTOPENFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTOPENFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTOPENFILE_g$layout() { return H5E_CANTOPENFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTOPENFILE_g$segment() { return H5E_CANTOPENFILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static long H5E_CANTOPENFILE_g()
+ {
+ return H5E_CANTOPENFILE_g$constants.SEGMENT.get(H5E_CANTOPENFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static void H5E_CANTOPENFILE_g(long varValue)
+ {
+ H5E_CANTOPENFILE_g$constants.SEGMENT.set(H5E_CANTOPENFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNLOCKFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNLOCKFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTUNLOCKFILE_g$layout() { return H5E_CANTUNLOCKFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNLOCKFILE_g$segment()
+ {
+ return H5E_CANTUNLOCKFILE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static long H5E_CANTUNLOCKFILE_g()
+ {
+ return H5E_CANTUNLOCKFILE_g$constants.SEGMENT.get(H5E_CANTUNLOCKFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static void H5E_CANTUNLOCKFILE_g(long varValue)
+ {
+ H5E_CANTUNLOCKFILE_g$constants.SEGMENT.set(H5E_CANTUNLOCKFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FILEEXISTS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FILEEXISTS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static OfLong H5E_FILEEXISTS_g$layout() { return H5E_FILEEXISTS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static MemorySegment H5E_FILEEXISTS_g$segment() { return H5E_FILEEXISTS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static long H5E_FILEEXISTS_g()
+ {
+ return H5E_FILEEXISTS_g$constants.SEGMENT.get(H5E_FILEEXISTS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static void H5E_FILEEXISTS_g(long varValue)
+ {
+ H5E_FILEEXISTS_g$constants.SEGMENT.set(H5E_FILEEXISTS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FILEOPEN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FILEOPEN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static OfLong H5E_FILEOPEN_g$layout() { return H5E_FILEOPEN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static MemorySegment H5E_FILEOPEN_g$segment() { return H5E_FILEOPEN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static long H5E_FILEOPEN_g()
+ {
+ return H5E_FILEOPEN_g$constants.SEGMENT.get(H5E_FILEOPEN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static void H5E_FILEOPEN_g(long varValue)
+ {
+ H5E_FILEOPEN_g$constants.SEGMENT.set(H5E_FILEOPEN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static OfLong H5E_MOUNT_g$layout() { return H5E_MOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_MOUNT_g$segment() { return H5E_MOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static long H5E_MOUNT_g()
+ {
+ return H5E_MOUNT_g$constants.SEGMENT.get(H5E_MOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static void H5E_MOUNT_g(long varValue)
+ {
+ H5E_MOUNT_g$constants.SEGMENT.set(H5E_MOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTHDF5_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTHDF5_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static OfLong H5E_NOTHDF5_g$layout() { return H5E_NOTHDF5_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static MemorySegment H5E_NOTHDF5_g$segment() { return H5E_NOTHDF5_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static long H5E_NOTHDF5_g()
+ {
+ return H5E_NOTHDF5_g$constants.SEGMENT.get(H5E_NOTHDF5_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static void H5E_NOTHDF5_g(long varValue)
+ {
+ H5E_NOTHDF5_g$constants.SEGMENT.set(H5E_NOTHDF5_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_TRUNCATED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_TRUNCATED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static OfLong H5E_TRUNCATED_g$layout() { return H5E_TRUNCATED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static MemorySegment H5E_TRUNCATED_g$segment() { return H5E_TRUNCATED_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static long H5E_TRUNCATED_g()
+ {
+ return H5E_TRUNCATED_g$constants.SEGMENT.get(H5E_TRUNCATED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static void H5E_TRUNCATED_g(long varValue)
+ {
+ H5E_TRUNCATED_g$constants.SEGMENT.set(H5E_TRUNCATED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_UNMOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_UNMOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static OfLong H5E_UNMOUNT_g$layout() { return H5E_UNMOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_UNMOUNT_g$segment() { return H5E_UNMOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static long H5E_UNMOUNT_g()
+ {
+ return H5E_UNMOUNT_g$constants.SEGMENT.get(H5E_UNMOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static void H5E_UNMOUNT_g(long varValue)
+ {
+ H5E_UNMOUNT_g$constants.SEGMENT.set(H5E_UNMOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMERGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMERGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static OfLong H5E_CANTMERGE_g$layout() { return H5E_CANTMERGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMERGE_g$segment() { return H5E_CANTMERGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static long H5E_CANTMERGE_g()
+ {
+ return H5E_CANTMERGE_g$constants.SEGMENT.get(H5E_CANTMERGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static void H5E_CANTMERGE_g(long varValue)
+ {
+ H5E_CANTMERGE_g$constants.SEGMENT.set(H5E_CANTMERGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREVIVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREVIVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static OfLong H5E_CANTREVIVE_g$layout() { return H5E_CANTREVIVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREVIVE_g$segment() { return H5E_CANTREVIVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static long H5E_CANTREVIVE_g()
+ {
+ return H5E_CANTREVIVE_g$constants.SEGMENT.get(H5E_CANTREVIVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static void H5E_CANTREVIVE_g(long varValue)
+ {
+ H5E_CANTREVIVE_g$constants.SEGMENT.set(H5E_CANTREVIVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSHRINK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSHRINK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static OfLong H5E_CANTSHRINK_g$layout() { return H5E_CANTSHRINK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSHRINK_g$segment() { return H5E_CANTSHRINK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static long H5E_CANTSHRINK_g()
+ {
+ return H5E_CANTSHRINK_g$constants.SEGMENT.get(H5E_CANTSHRINK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static void H5E_CANTSHRINK_g(long varValue)
+ {
+ H5E_CANTSHRINK_g$constants.SEGMENT.set(H5E_CANTSHRINK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ALREADYINIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ALREADYINIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static OfLong H5E_ALREADYINIT_g$layout() { return H5E_ALREADYINIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static MemorySegment H5E_ALREADYINIT_g$segment() { return H5E_ALREADYINIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static long H5E_ALREADYINIT_g()
+ {
+ return H5E_ALREADYINIT_g$constants.SEGMENT.get(H5E_ALREADYINIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static void H5E_ALREADYINIT_g(long varValue)
+ {
+ H5E_ALREADYINIT_g$constants.SEGMENT.set(H5E_ALREADYINIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static OfLong H5E_CANTINIT_g$layout() { return H5E_CANTINIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINIT_g$segment() { return H5E_CANTINIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static long H5E_CANTINIT_g()
+ {
+ return H5E_CANTINIT_g$constants.SEGMENT.get(H5E_CANTINIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static void H5E_CANTINIT_g(long varValue)
+ {
+ H5E_CANTINIT_g$constants.SEGMENT.set(H5E_CANTINIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRELEASE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRELEASE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static OfLong H5E_CANTRELEASE_g$layout() { return H5E_CANTRELEASE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRELEASE_g$segment() { return H5E_CANTRELEASE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static long H5E_CANTRELEASE_g()
+ {
+ return H5E_CANTRELEASE_g$constants.SEGMENT.get(H5E_CANTRELEASE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static void H5E_CANTRELEASE_g(long varValue)
+ {
+ H5E_CANTRELEASE_g$constants.SEGMENT.set(H5E_CANTRELEASE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLOSEOBJ_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLOSEOBJ_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static OfLong H5E_CANTCLOSEOBJ_g$layout() { return H5E_CANTCLOSEOBJ_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLOSEOBJ_g$segment() { return H5E_CANTCLOSEOBJ_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static long H5E_CANTCLOSEOBJ_g()
+ {
+ return H5E_CANTCLOSEOBJ_g$constants.SEGMENT.get(H5E_CANTCLOSEOBJ_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static void H5E_CANTCLOSEOBJ_g(long varValue)
+ {
+ H5E_CANTCLOSEOBJ_g$constants.SEGMENT.set(H5E_CANTCLOSEOBJ_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTOPENOBJ_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTOPENOBJ_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static OfLong H5E_CANTOPENOBJ_g$layout() { return H5E_CANTOPENOBJ_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static MemorySegment H5E_CANTOPENOBJ_g$segment() { return H5E_CANTOPENOBJ_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static long H5E_CANTOPENOBJ_g()
+ {
+ return H5E_CANTOPENOBJ_g$constants.SEGMENT.get(H5E_CANTOPENOBJ_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static void H5E_CANTOPENOBJ_g(long varValue)
+ {
+ H5E_CANTOPENOBJ_g$constants.SEGMENT.set(H5E_CANTOPENOBJ_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_COMPLEN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_COMPLEN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static OfLong H5E_COMPLEN_g$layout() { return H5E_COMPLEN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static MemorySegment H5E_COMPLEN_g$segment() { return H5E_COMPLEN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static long H5E_COMPLEN_g()
+ {
+ return H5E_COMPLEN_g$constants.SEGMENT.get(H5E_COMPLEN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static void H5E_COMPLEN_g(long varValue)
+ {
+ H5E_COMPLEN_g$constants.SEGMENT.set(H5E_COMPLEN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PATH_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PATH_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static OfLong H5E_PATH_g$layout() { return H5E_PATH_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static MemorySegment H5E_PATH_g$segment() { return H5E_PATH_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static long H5E_PATH_g()
+ {
+ return H5E_PATH_g$constants.SEGMENT.get(H5E_PATH_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static void H5E_PATH_g(long varValue)
+ {
+ H5E_PATH_g$constants.SEGMENT.set(H5E_PATH_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTATTACH_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTATTACH_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static OfLong H5E_CANTATTACH_g$layout() { return H5E_CANTATTACH_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static MemorySegment H5E_CANTATTACH_g$segment() { return H5E_CANTATTACH_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static long H5E_CANTATTACH_g()
+ {
+ return H5E_CANTATTACH_g$constants.SEGMENT.get(H5E_CANTATTACH_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static void H5E_CANTATTACH_g(long varValue)
+ {
+ H5E_CANTATTACH_g$constants.SEGMENT.set(H5E_CANTATTACH_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOMPUTE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOMPUTE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static OfLong H5E_CANTCOMPUTE_g$layout() { return H5E_CANTCOMPUTE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOMPUTE_g$segment() { return H5E_CANTCOMPUTE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static long H5E_CANTCOMPUTE_g()
+ {
+ return H5E_CANTCOMPUTE_g$constants.SEGMENT.get(H5E_CANTCOMPUTE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static void H5E_CANTCOMPUTE_g(long varValue)
+ {
+ H5E_CANTCOMPUTE_g$constants.SEGMENT.set(H5E_CANTCOMPUTE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTEXTEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTEXTEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static OfLong H5E_CANTEXTEND_g$layout() { return H5E_CANTEXTEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTEXTEND_g$segment() { return H5E_CANTEXTEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static long H5E_CANTEXTEND_g()
+ {
+ return H5E_CANTEXTEND_g$constants.SEGMENT.get(H5E_CANTEXTEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static void H5E_CANTEXTEND_g(long varValue)
+ {
+ H5E_CANTEXTEND_g$constants.SEGMENT.set(H5E_CANTEXTEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTOPERATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTOPERATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static OfLong H5E_CANTOPERATE_g$layout() { return H5E_CANTOPERATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTOPERATE_g$segment() { return H5E_CANTOPERATE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static long H5E_CANTOPERATE_g()
+ {
+ return H5E_CANTOPERATE_g$constants.SEGMENT.get(H5E_CANTOPERATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static void H5E_CANTOPERATE_g(long varValue)
+ {
+ H5E_CANTOPERATE_g$constants.SEGMENT.set(H5E_CANTOPERATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRESTORE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRESTORE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static OfLong H5E_CANTRESTORE_g$layout() { return H5E_CANTRESTORE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRESTORE_g$segment() { return H5E_CANTRESTORE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static long H5E_CANTRESTORE_g()
+ {
+ return H5E_CANTRESTORE_g$constants.SEGMENT.get(H5E_CANTRESTORE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static void H5E_CANTRESTORE_g(long varValue)
+ {
+ H5E_CANTRESTORE_g$constants.SEGMENT.set(H5E_CANTRESTORE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUPDATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUPDATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static OfLong H5E_CANTUPDATE_g$layout() { return H5E_CANTUPDATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUPDATE_g$segment() { return H5E_CANTUPDATE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static long H5E_CANTUPDATE_g()
+ {
+ return H5E_CANTUPDATE_g$constants.SEGMENT.get(H5E_CANTUPDATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static void H5E_CANTUPDATE_g(long varValue)
+ {
+ H5E_CANTUPDATE_g$constants.SEGMENT.set(H5E_CANTUPDATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADGROUP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADGROUP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static OfLong H5E_BADGROUP_g$layout() { return H5E_BADGROUP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static MemorySegment H5E_BADGROUP_g$segment() { return H5E_BADGROUP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static long H5E_BADGROUP_g()
+ {
+ return H5E_BADGROUP_g$constants.SEGMENT.get(H5E_BADGROUP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static void H5E_BADGROUP_g(long varValue)
+ {
+ H5E_BADGROUP_g$constants.SEGMENT.set(H5E_BADGROUP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static OfLong H5E_BADID_g$layout() { return H5E_BADID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static MemorySegment H5E_BADID_g$segment() { return H5E_BADID_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static long H5E_BADID_g()
+ {
+ return H5E_BADID_g$constants.SEGMENT.get(H5E_BADID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static void H5E_BADID_g(long varValue)
+ {
+ H5E_BADID_g$constants.SEGMENT.set(H5E_BADID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDEC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDEC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static OfLong H5E_CANTDEC_g$layout() { return H5E_CANTDEC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDEC_g$segment() { return H5E_CANTDEC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static long H5E_CANTDEC_g()
+ {
+ return H5E_CANTDEC_g$constants.SEGMENT.get(H5E_CANTDEC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static void H5E_CANTDEC_g(long varValue)
+ {
+ H5E_CANTDEC_g$constants.SEGMENT.set(H5E_CANTDEC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static OfLong H5E_CANTINC_g$layout() { return H5E_CANTINC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINC_g$segment() { return H5E_CANTINC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static long H5E_CANTINC_g()
+ {
+ return H5E_CANTINC_g$constants.SEGMENT.get(H5E_CANTINC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static void H5E_CANTINC_g(long varValue)
+ {
+ H5E_CANTINC_g$constants.SEGMENT.set(H5E_CANTINC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREGISTER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREGISTER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static OfLong H5E_CANTREGISTER_g$layout() { return H5E_CANTREGISTER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREGISTER_g$segment() { return H5E_CANTREGISTER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static long H5E_CANTREGISTER_g()
+ {
+ return H5E_CANTREGISTER_g$constants.SEGMENT.get(H5E_CANTREGISTER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static void H5E_CANTREGISTER_g(long varValue)
+ {
+ H5E_CANTREGISTER_g$constants.SEGMENT.set(H5E_CANTREGISTER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOIDS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOIDS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static OfLong H5E_NOIDS_g$layout() { return H5E_NOIDS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static MemorySegment H5E_NOIDS_g$segment() { return H5E_NOIDS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static long H5E_NOIDS_g()
+ {
+ return H5E_NOIDS_g$constants.SEGMENT.get(H5E_NOIDS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static void H5E_NOIDS_g(long varValue)
+ {
+ H5E_NOIDS_g$constants.SEGMENT.set(H5E_NOIDS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMOVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMOVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static OfLong H5E_CANTMOVE_g$layout() { return H5E_CANTMOVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMOVE_g$segment() { return H5E_CANTMOVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static long H5E_CANTMOVE_g()
+ {
+ return H5E_CANTMOVE_g$constants.SEGMENT.get(H5E_CANTMOVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static void H5E_CANTMOVE_g(long varValue)
+ {
+ H5E_CANTMOVE_g$constants.SEGMENT.set(H5E_CANTMOVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSORT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSORT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static OfLong H5E_CANTSORT_g$layout() { return H5E_CANTSORT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSORT_g$segment() { return H5E_CANTSORT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static long H5E_CANTSORT_g()
+ {
+ return H5E_CANTSORT_g$constants.SEGMENT.get(H5E_CANTSORT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static void H5E_CANTSORT_g(long varValue)
+ {
+ H5E_CANTSORT_g$constants.SEGMENT.set(H5E_CANTSORT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NLINKS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NLINKS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static OfLong H5E_NLINKS_g$layout() { return H5E_NLINKS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static MemorySegment H5E_NLINKS_g$segment() { return H5E_NLINKS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static long H5E_NLINKS_g()
+ {
+ return H5E_NLINKS_g$constants.SEGMENT.get(H5E_NLINKS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static void H5E_NLINKS_g(long varValue)
+ {
+ H5E_NLINKS_g$constants.SEGMENT.set(H5E_NLINKS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTREGISTERED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTREGISTERED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static OfLong H5E_NOTREGISTERED_g$layout() { return H5E_NOTREGISTERED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static MemorySegment H5E_NOTREGISTERED_g$segment()
+ {
+ return H5E_NOTREGISTERED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static long H5E_NOTREGISTERED_g()
+ {
+ return H5E_NOTREGISTERED_g$constants.SEGMENT.get(H5E_NOTREGISTERED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static void H5E_NOTREGISTERED_g(long varValue)
+ {
+ H5E_NOTREGISTERED_g$constants.SEGMENT.set(H5E_NOTREGISTERED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_TRAVERSE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_TRAVERSE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static OfLong H5E_TRAVERSE_g$layout() { return H5E_TRAVERSE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static MemorySegment H5E_TRAVERSE_g$segment() { return H5E_TRAVERSE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static long H5E_TRAVERSE_g()
+ {
+ return H5E_TRAVERSE_g$constants.SEGMENT.get(H5E_TRAVERSE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static void H5E_TRAVERSE_g(long varValue)
+ {
+ H5E_TRAVERSE_g$constants.SEGMENT.set(H5E_TRAVERSE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPUT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPUT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static OfLong H5E_CANTPUT_g$layout() { return H5E_CANTPUT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPUT_g$segment() { return H5E_CANTPUT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static long H5E_CANTPUT_g()
+ {
+ return H5E_CANTPUT_g$constants.SEGMENT.get(H5E_CANTPUT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static void H5E_CANTPUT_g(long varValue)
+ {
+ H5E_CANTPUT_g$constants.SEGMENT.set(H5E_CANTPUT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGATHER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGATHER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static OfLong H5E_CANTGATHER_g$layout() { return H5E_CANTGATHER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGATHER_g$segment() { return H5E_CANTGATHER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static long H5E_CANTGATHER_g()
+ {
+ return H5E_CANTGATHER_g$constants.SEGMENT.get(H5E_CANTGATHER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static void H5E_CANTGATHER_g(long varValue)
+ {
+ H5E_CANTGATHER_g$constants.SEGMENT.set(H5E_CANTGATHER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRECV_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRECV_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static OfLong H5E_CANTRECV_g$layout() { return H5E_CANTRECV_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRECV_g$segment() { return H5E_CANTRECV_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static long H5E_CANTRECV_g()
+ {
+ return H5E_CANTRECV_g$constants.SEGMENT.get(H5E_CANTRECV_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static void H5E_CANTRECV_g(long varValue)
+ {
+ H5E_CANTRECV_g$constants.SEGMENT.set(H5E_CANTRECV_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MPI_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MPI_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static OfLong H5E_MPI_g$layout() { return H5E_MPI_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static MemorySegment H5E_MPI_g$segment() { return H5E_MPI_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static long H5E_MPI_g() { return H5E_MPI_g$constants.SEGMENT.get(H5E_MPI_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static void H5E_MPI_g(long varValue)
+ {
+ H5E_MPI_g$constants.SEGMENT.set(H5E_MPI_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MPIERRSTR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MPIERRSTR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static OfLong H5E_MPIERRSTR_g$layout() { return H5E_MPIERRSTR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static MemorySegment H5E_MPIERRSTR_g$segment() { return H5E_MPIERRSTR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static long H5E_MPIERRSTR_g()
+ {
+ return H5E_MPIERRSTR_g$constants.SEGMENT.get(H5E_MPIERRSTR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static void H5E_MPIERRSTR_g(long varValue)
+ {
+ H5E_MPIERRSTR_g$constants.SEGMENT.set(H5E_MPIERRSTR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NO_INDEPENDENT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NO_INDEPENDENT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static OfLong H5E_NO_INDEPENDENT_g$layout() { return H5E_NO_INDEPENDENT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static MemorySegment H5E_NO_INDEPENDENT_g$segment()
+ {
+ return H5E_NO_INDEPENDENT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static long H5E_NO_INDEPENDENT_g()
+ {
+ return H5E_NO_INDEPENDENT_g$constants.SEGMENT.get(H5E_NO_INDEPENDENT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static void H5E_NO_INDEPENDENT_g(long varValue)
+ {
+ H5E_NO_INDEPENDENT_g$constants.SEGMENT.set(H5E_NO_INDEPENDENT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NONE_MINOR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NONE_MINOR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static OfLong H5E_NONE_MINOR_g$layout() { return H5E_NONE_MINOR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static MemorySegment H5E_NONE_MINOR_g$segment() { return H5E_NONE_MINOR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static long H5E_NONE_MINOR_g()
+ {
+ return H5E_NONE_MINOR_g$constants.SEGMENT.get(H5E_NONE_MINOR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static void H5E_NONE_MINOR_g(long varValue)
+ {
+ H5E_NONE_MINOR_g$constants.SEGMENT.set(H5E_NONE_MINOR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ALIGNMENT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ALIGNMENT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static OfLong H5E_ALIGNMENT_g$layout() { return H5E_ALIGNMENT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static MemorySegment H5E_ALIGNMENT_g$segment() { return H5E_ALIGNMENT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static long H5E_ALIGNMENT_g()
+ {
+ return H5E_ALIGNMENT_g$constants.SEGMENT.get(H5E_ALIGNMENT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static void H5E_ALIGNMENT_g(long varValue)
+ {
+ H5E_ALIGNMENT_g$constants.SEGMENT.set(H5E_ALIGNMENT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADITER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADITER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static OfLong H5E_BADITER_g$layout() { return H5E_BADITER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static MemorySegment H5E_BADITER_g$segment() { return H5E_BADITER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static long H5E_BADITER_g()
+ {
+ return H5E_BADITER_g$constants.SEGMENT.get(H5E_BADITER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static void H5E_BADITER_g(long varValue)
+ {
+ H5E_BADITER_g$constants.SEGMENT.set(H5E_BADITER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADMESG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADMESG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static OfLong H5E_BADMESG_g$layout() { return H5E_BADMESG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static MemorySegment H5E_BADMESG_g$segment() { return H5E_BADMESG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static long H5E_BADMESG_g()
+ {
+ return H5E_BADMESG_g$constants.SEGMENT.get(H5E_BADMESG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static void H5E_BADMESG_g(long varValue)
+ {
+ H5E_BADMESG_g$constants.SEGMENT.set(H5E_BADMESG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDELETE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDELETE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static OfLong H5E_CANTDELETE_g$layout() { return H5E_CANTDELETE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDELETE_g$segment() { return H5E_CANTDELETE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static long H5E_CANTDELETE_g()
+ {
+ return H5E_CANTDELETE_g$constants.SEGMENT.get(H5E_CANTDELETE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static void H5E_CANTDELETE_g(long varValue)
+ {
+ H5E_CANTDELETE_g$constants.SEGMENT.set(H5E_CANTDELETE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPACK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPACK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static OfLong H5E_CANTPACK_g$layout() { return H5E_CANTPACK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPACK_g$segment() { return H5E_CANTPACK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static long H5E_CANTPACK_g()
+ {
+ return H5E_CANTPACK_g$constants.SEGMENT.get(H5E_CANTPACK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static void H5E_CANTPACK_g(long varValue)
+ {
+ H5E_CANTPACK_g$constants.SEGMENT.set(H5E_CANTPACK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRENAME_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRENAME_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static OfLong H5E_CANTRENAME_g$layout() { return H5E_CANTRENAME_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRENAME_g$segment() { return H5E_CANTRENAME_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static long H5E_CANTRENAME_g()
+ {
+ return H5E_CANTRENAME_g$constants.SEGMENT.get(H5E_CANTRENAME_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static void H5E_CANTRENAME_g(long varValue)
+ {
+ H5E_CANTRENAME_g$constants.SEGMENT.set(H5E_CANTRENAME_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRESET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRESET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static OfLong H5E_CANTRESET_g$layout() { return H5E_CANTRESET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRESET_g$segment() { return H5E_CANTRESET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static long H5E_CANTRESET_g()
+ {
+ return H5E_CANTRESET_g$constants.SEGMENT.get(H5E_CANTRESET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static void H5E_CANTRESET_g(long varValue)
+ {
+ H5E_CANTRESET_g$constants.SEGMENT.set(H5E_CANTRESET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LINKCOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LINKCOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static OfLong H5E_LINKCOUNT_g$layout() { return H5E_LINKCOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_LINKCOUNT_g$segment() { return H5E_LINKCOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static long H5E_LINKCOUNT_g()
+ {
+ return H5E_LINKCOUNT_g$constants.SEGMENT.get(H5E_LINKCOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static void H5E_LINKCOUNT_g(long varValue)
+ {
+ H5E_LINKCOUNT_g$constants.SEGMENT.set(H5E_LINKCOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_VERSION_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_VERSION_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static OfLong H5E_VERSION_g$layout() { return H5E_VERSION_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static MemorySegment H5E_VERSION_g$segment() { return H5E_VERSION_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static long H5E_VERSION_g()
+ {
+ return H5E_VERSION_g$constants.SEGMENT.get(H5E_VERSION_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static void H5E_VERSION_g(long varValue)
+ {
+ H5E_VERSION_g$constants.SEGMENT.set(H5E_VERSION_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CALLBACK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CALLBACK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static OfLong H5E_CALLBACK_g$layout() { return H5E_CALLBACK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static MemorySegment H5E_CALLBACK_g$segment() { return H5E_CALLBACK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static long H5E_CALLBACK_g()
+ {
+ return H5E_CALLBACK_g$constants.SEGMENT.get(H5E_CALLBACK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static void H5E_CALLBACK_g(long varValue)
+ {
+ H5E_CALLBACK_g$constants.SEGMENT.set(H5E_CALLBACK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANAPPLY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANAPPLY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static OfLong H5E_CANAPPLY_g$layout() { return H5E_CANAPPLY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static MemorySegment H5E_CANAPPLY_g$segment() { return H5E_CANAPPLY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static long H5E_CANAPPLY_g()
+ {
+ return H5E_CANAPPLY_g$constants.SEGMENT.get(H5E_CANAPPLY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static void H5E_CANAPPLY_g(long varValue)
+ {
+ H5E_CANAPPLY_g$constants.SEGMENT.set(H5E_CANAPPLY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFILTER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFILTER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static OfLong H5E_CANTFILTER_g$layout() { return H5E_CANTFILTER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFILTER_g$segment() { return H5E_CANTFILTER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static long H5E_CANTFILTER_g()
+ {
+ return H5E_CANTFILTER_g$constants.SEGMENT.get(H5E_CANTFILTER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static void H5E_CANTFILTER_g(long varValue)
+ {
+ H5E_CANTFILTER_g$constants.SEGMENT.set(H5E_CANTFILTER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOENCODER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOENCODER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static OfLong H5E_NOENCODER_g$layout() { return H5E_NOENCODER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static MemorySegment H5E_NOENCODER_g$segment() { return H5E_NOENCODER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static long H5E_NOENCODER_g()
+ {
+ return H5E_NOENCODER_g$constants.SEGMENT.get(H5E_NOENCODER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static void H5E_NOENCODER_g(long varValue)
+ {
+ H5E_NOENCODER_g$constants.SEGMENT.set(H5E_NOENCODER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOFILTER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOFILTER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static OfLong H5E_NOFILTER_g$layout() { return H5E_NOFILTER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static MemorySegment H5E_NOFILTER_g$segment() { return H5E_NOFILTER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static long H5E_NOFILTER_g()
+ {
+ return H5E_NOFILTER_g$constants.SEGMENT.get(H5E_NOFILTER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static void H5E_NOFILTER_g(long varValue)
+ {
+ H5E_NOFILTER_g$constants.SEGMENT.set(H5E_NOFILTER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SETLOCAL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SETLOCAL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static OfLong H5E_SETLOCAL_g$layout() { return H5E_SETLOCAL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static MemorySegment H5E_SETLOCAL_g$segment() { return H5E_SETLOCAL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static long H5E_SETLOCAL_g()
+ {
+ return H5E_SETLOCAL_g$constants.SEGMENT.get(H5E_SETLOCAL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static void H5E_SETLOCAL_g(long varValue)
+ {
+ H5E_SETLOCAL_g$constants.SEGMENT.set(H5E_SETLOCAL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static OfLong H5E_CANTGET_g$layout() { return H5E_CANTGET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGET_g$segment() { return H5E_CANTGET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static long H5E_CANTGET_g()
+ {
+ return H5E_CANTGET_g$constants.SEGMENT.get(H5E_CANTGET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static void H5E_CANTGET_g(long varValue)
+ {
+ H5E_CANTGET_g$constants.SEGMENT.set(H5E_CANTGET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static OfLong H5E_CANTSET_g$layout() { return H5E_CANTSET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSET_g$segment() { return H5E_CANTSET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static long H5E_CANTSET_g()
+ {
+ return H5E_CANTSET_g$constants.SEGMENT.get(H5E_CANTSET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static void H5E_CANTSET_g(long varValue)
+ {
+ H5E_CANTSET_g$constants.SEGMENT.set(H5E_CANTSET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DUPCLASS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DUPCLASS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static OfLong H5E_DUPCLASS_g$layout() { return H5E_DUPCLASS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static MemorySegment H5E_DUPCLASS_g$segment() { return H5E_DUPCLASS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static long H5E_DUPCLASS_g()
+ {
+ return H5E_DUPCLASS_g$constants.SEGMENT.get(H5E_DUPCLASS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static void H5E_DUPCLASS_g(long varValue)
+ {
+ H5E_DUPCLASS_g$constants.SEGMENT.set(H5E_DUPCLASS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SETDISALLOWED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SETDISALLOWED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static OfLong H5E_SETDISALLOWED_g$layout() { return H5E_SETDISALLOWED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static MemorySegment H5E_SETDISALLOWED_g$segment()
+ {
+ return H5E_SETDISALLOWED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static long H5E_SETDISALLOWED_g()
+ {
+ return H5E_SETDISALLOWED_g$constants.SEGMENT.get(H5E_SETDISALLOWED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static void H5E_SETDISALLOWED_g(long varValue)
+ {
+ H5E_SETDISALLOWED_g$constants.SEGMENT.set(H5E_SETDISALLOWED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OPENERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OPENERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static OfLong H5E_OPENERROR_g$layout() { return H5E_OPENERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static MemorySegment H5E_OPENERROR_g$segment() { return H5E_OPENERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static long H5E_OPENERROR_g()
+ {
+ return H5E_OPENERROR_g$constants.SEGMENT.get(H5E_OPENERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static void H5E_OPENERROR_g(long varValue)
+ {
+ H5E_OPENERROR_g$constants.SEGMENT.set(H5E_OPENERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ALREADYEXISTS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ALREADYEXISTS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static OfLong H5E_ALREADYEXISTS_g$layout() { return H5E_ALREADYEXISTS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static MemorySegment H5E_ALREADYEXISTS_g$segment()
+ {
+ return H5E_ALREADYEXISTS_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static long H5E_ALREADYEXISTS_g()
+ {
+ return H5E_ALREADYEXISTS_g$constants.SEGMENT.get(H5E_ALREADYEXISTS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static void H5E_ALREADYEXISTS_g(long varValue)
+ {
+ H5E_ALREADYEXISTS_g$constants.SEGMENT.set(H5E_ALREADYEXISTS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTALLOC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTALLOC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static OfLong H5E_CANTALLOC_g$layout() { return H5E_CANTALLOC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTALLOC_g$segment() { return H5E_CANTALLOC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static long H5E_CANTALLOC_g()
+ {
+ return H5E_CANTALLOC_g$constants.SEGMENT.get(H5E_CANTALLOC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static void H5E_CANTALLOC_g(long varValue)
+ {
+ H5E_CANTALLOC_g$constants.SEGMENT.set(H5E_CANTALLOC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOPY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOPY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static OfLong H5E_CANTCOPY_g$layout() { return H5E_CANTCOPY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOPY_g$segment() { return H5E_CANTCOPY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static long H5E_CANTCOPY_g()
+ {
+ return H5E_CANTCOPY_g$constants.SEGMENT.get(H5E_CANTCOPY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static void H5E_CANTCOPY_g(long varValue)
+ {
+ H5E_CANTCOPY_g$constants.SEGMENT.set(H5E_CANTCOPY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFREE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFREE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static OfLong H5E_CANTFREE_g$layout() { return H5E_CANTFREE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFREE_g$segment() { return H5E_CANTFREE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static long H5E_CANTFREE_g()
+ {
+ return H5E_CANTFREE_g$constants.SEGMENT.get(H5E_CANTFREE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static void H5E_CANTFREE_g(long varValue)
+ {
+ H5E_CANTFREE_g$constants.SEGMENT.set(H5E_CANTFREE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static OfLong H5E_CANTGC_g$layout() { return H5E_CANTGC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGC_g$segment() { return H5E_CANTGC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static long H5E_CANTGC_g()
+ {
+ return H5E_CANTGC_g$constants.SEGMENT.get(H5E_CANTGC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static void H5E_CANTGC_g(long varValue)
+ {
+ H5E_CANTGC_g$constants.SEGMENT.set(H5E_CANTGC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGETSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGETSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTGETSIZE_g$layout() { return H5E_CANTGETSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGETSIZE_g$segment() { return H5E_CANTGETSIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static long H5E_CANTGETSIZE_g()
+ {
+ return H5E_CANTGETSIZE_g$constants.SEGMENT.get(H5E_CANTGETSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static void H5E_CANTGETSIZE_g(long varValue)
+ {
+ H5E_CANTGETSIZE_g$constants.SEGMENT.set(H5E_CANTGETSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLOCK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLOCK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static OfLong H5E_CANTLOCK_g$layout() { return H5E_CANTLOCK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLOCK_g$segment() { return H5E_CANTLOCK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static long H5E_CANTLOCK_g()
+ {
+ return H5E_CANTLOCK_g$constants.SEGMENT.get(H5E_CANTLOCK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static void H5E_CANTLOCK_g(long varValue)
+ {
+ H5E_CANTLOCK_g$constants.SEGMENT.set(H5E_CANTLOCK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNLOCK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNLOCK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static OfLong H5E_CANTUNLOCK_g$layout() { return H5E_CANTUNLOCK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNLOCK_g$segment() { return H5E_CANTUNLOCK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static long H5E_CANTUNLOCK_g()
+ {
+ return H5E_CANTUNLOCK_g$constants.SEGMENT.get(H5E_CANTUNLOCK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static void H5E_CANTUNLOCK_g(long varValue)
+ {
+ H5E_CANTUNLOCK_g$constants.SEGMENT.set(H5E_CANTUNLOCK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOSPACE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOSPACE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static OfLong H5E_NOSPACE_g$layout() { return H5E_NOSPACE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static MemorySegment H5E_NOSPACE_g$segment() { return H5E_NOSPACE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static long H5E_NOSPACE_g()
+ {
+ return H5E_NOSPACE_g$constants.SEGMENT.get(H5E_NOSPACE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static void H5E_NOSPACE_g(long varValue)
+ {
+ H5E_NOSPACE_g$constants.SEGMENT.set(H5E_NOSPACE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OBJOPEN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OBJOPEN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static OfLong H5E_OBJOPEN_g$layout() { return H5E_OBJOPEN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static MemorySegment H5E_OBJOPEN_g$segment() { return H5E_OBJOPEN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static long H5E_OBJOPEN_g()
+ {
+ return H5E_OBJOPEN_g$constants.SEGMENT.get(H5E_OBJOPEN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static void H5E_OBJOPEN_g(long varValue)
+ {
+ H5E_OBJOPEN_g$constants.SEGMENT.set(H5E_OBJOPEN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SYSERRSTR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SYSERRSTR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static OfLong H5E_SYSERRSTR_g$layout() { return H5E_SYSERRSTR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static MemorySegment H5E_SYSERRSTR_g$segment() { return H5E_SYSERRSTR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static long H5E_SYSERRSTR_g()
+ {
+ return H5E_SYSERRSTR_g$constants.SEGMENT.get(H5E_SYSERRSTR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static void H5E_SYSERRSTR_g(long varValue)
+ {
+ H5E_SYSERRSTR_g$constants.SEGMENT.set(H5E_SYSERRSTR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static OfLong H5E_BADSIZE_g$layout() { return H5E_BADSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static MemorySegment H5E_BADSIZE_g$segment() { return H5E_BADSIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static long H5E_BADSIZE_g()
+ {
+ return H5E_BADSIZE_g$constants.SEGMENT.get(H5E_BADSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static void H5E_BADSIZE_g(long varValue)
+ {
+ H5E_BADSIZE_g$constants.SEGMENT.set(H5E_BADSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCONVERT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCONVERT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static OfLong H5E_CANTCONVERT_g$layout() { return H5E_CANTCONVERT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCONVERT_g$segment() { return H5E_CANTCONVERT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static long H5E_CANTCONVERT_g()
+ {
+ return H5E_CANTCONVERT_g$constants.SEGMENT.get(H5E_CANTCONVERT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static void H5E_CANTCONVERT_g(long varValue)
+ {
+ H5E_CANTCONVERT_g$constants.SEGMENT.set(H5E_CANTCONVERT_g$constants.LAYOUT, 0L, varValue);
+ }
+ private static final int H5E_WALK_UPWARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_direction_t.H5E_WALK_UPWARD = 0
+ * }
+ */
+ public static int H5E_WALK_UPWARD() { return H5E_WALK_UPWARD; }
+ private static final int H5E_WALK_DOWNWARD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_direction_t.H5E_WALK_DOWNWARD = 1
+ * }
+ */
+ public static int H5E_WALK_DOWNWARD() { return H5E_WALK_DOWNWARD; }
+
+ private static class H5Eregister_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eregister_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static FunctionDescriptor H5Eregister_class$descriptor() { return H5Eregister_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static MethodHandle H5Eregister_class$handle() { return H5Eregister_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static MemorySegment H5Eregister_class$address() { return H5Eregister_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static long H5Eregister_class(MemorySegment cls_name, MemorySegment lib_name,
+ MemorySegment version)
+ {
+ var mh$ = H5Eregister_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eregister_class", cls_name, lib_name, version);
+ }
+ return (long)mh$.invokeExact(cls_name, lib_name, version);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eunregister_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eunregister_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eunregister_class$descriptor() { return H5Eunregister_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static MethodHandle H5Eunregister_class$handle() { return H5Eunregister_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static MemorySegment H5Eunregister_class$address() { return H5Eunregister_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static int H5Eunregister_class(long class_id)
+ {
+ var mh$ = H5Eunregister_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eunregister_class", class_id);
+ }
+ return (int)mh$.invokeExact(class_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eclose_msg {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclose_msg");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eclose_msg$descriptor() { return H5Eclose_msg.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static MethodHandle H5Eclose_msg$handle() { return H5Eclose_msg.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static MemorySegment H5Eclose_msg$address() { return H5Eclose_msg.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static int H5Eclose_msg(long err_id)
+ {
+ var mh$ = H5Eclose_msg.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclose_msg", err_id);
+ }
+ return (int)mh$.invokeExact(err_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ecreate_msg {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ecreate_msg");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static FunctionDescriptor H5Ecreate_msg$descriptor() { return H5Ecreate_msg.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static MethodHandle H5Ecreate_msg$handle() { return H5Ecreate_msg.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static MemorySegment H5Ecreate_msg$address() { return H5Ecreate_msg.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static long H5Ecreate_msg(long cls, int msg_type, MemorySegment msg)
+ {
+ var mh$ = H5Ecreate_msg.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ecreate_msg", cls, msg_type, msg);
+ }
+ return (long)mh$.invokeExact(cls, msg_type, msg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ecreate_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ecreate_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static FunctionDescriptor H5Ecreate_stack$descriptor() { return H5Ecreate_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static MethodHandle H5Ecreate_stack$handle() { return H5Ecreate_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static MemorySegment H5Ecreate_stack$address() { return H5Ecreate_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static long H5Ecreate_stack()
+ {
+ var mh$ = H5Ecreate_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ecreate_stack");
+ }
+ return (long)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_current_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_current_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static FunctionDescriptor H5Eget_current_stack$descriptor() { return H5Eget_current_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static MethodHandle H5Eget_current_stack$handle() { return H5Eget_current_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static MemorySegment H5Eget_current_stack$address() { return H5Eget_current_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static long H5Eget_current_stack()
+ {
+ var mh$ = H5Eget_current_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_current_stack");
+ }
+ return (long)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eappend_stack {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eappend_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static FunctionDescriptor H5Eappend_stack$descriptor() { return H5Eappend_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static MethodHandle H5Eappend_stack$handle() { return H5Eappend_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static MemorySegment H5Eappend_stack$address() { return H5Eappend_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static int H5Eappend_stack(long dst_stack_id, long src_stack_id, boolean close_source_stack)
+ {
+ var mh$ = H5Eappend_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eappend_stack", dst_stack_id, src_stack_id, close_source_stack);
+ }
+ return (int)mh$.invokeExact(dst_stack_id, src_stack_id, close_source_stack);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eis_paused {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eis_paused");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static FunctionDescriptor H5Eis_paused$descriptor() { return H5Eis_paused.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static MethodHandle H5Eis_paused$handle() { return H5Eis_paused.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static MemorySegment H5Eis_paused$address() { return H5Eis_paused.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static int H5Eis_paused(long stack_id, MemorySegment is_paused)
+ {
+ var mh$ = H5Eis_paused.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eis_paused", stack_id, is_paused);
+ }
+ return (int)mh$.invokeExact(stack_id, is_paused);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Epause_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epause_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Epause_stack$descriptor() { return H5Epause_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static MethodHandle H5Epause_stack$handle() { return H5Epause_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static MemorySegment H5Epause_stack$address() { return H5Epause_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static int H5Epause_stack(long stack_id)
+ {
+ var mh$ = H5Epause_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epause_stack", stack_id);
+ }
+ return (int)mh$.invokeExact(stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eresume_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eresume_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eresume_stack$descriptor() { return H5Eresume_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static MethodHandle H5Eresume_stack$handle() { return H5Eresume_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static MemorySegment H5Eresume_stack$address() { return H5Eresume_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static int H5Eresume_stack(long stack_id)
+ {
+ var mh$ = H5Eresume_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eresume_stack", stack_id);
+ }
+ return (int)mh$.invokeExact(stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eclose_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclose_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eclose_stack$descriptor() { return H5Eclose_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static MethodHandle H5Eclose_stack$handle() { return H5Eclose_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static MemorySegment H5Eclose_stack$address() { return H5Eclose_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static int H5Eclose_stack(long stack_id)
+ {
+ var mh$ = H5Eclose_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclose_stack", stack_id);
+ }
+ return (int)mh$.invokeExact(stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_class_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_class_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_class_name$descriptor() { return H5Eget_class_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Eget_class_name$handle() { return H5Eget_class_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Eget_class_name$address() { return H5Eget_class_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static long H5Eget_class_name(long class_id, MemorySegment name, long size)
+ {
+ var mh$ = H5Eget_class_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_class_name", class_id, name, size);
+ }
+ return (long)mh$.invokeExact(class_id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eset_current_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eset_current_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eset_current_stack$descriptor() { return H5Eset_current_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static MethodHandle H5Eset_current_stack$handle() { return H5Eset_current_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static MemorySegment H5Eset_current_stack$address() { return H5Eset_current_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static int H5Eset_current_stack(long err_stack_id)
+ {
+ var mh$ = H5Eset_current_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eset_current_stack", err_stack_id);
+ }
+ return (int)mh$.invokeExact(err_stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * herr_t H5Epush2(hid_t err_stack, const char *file, const char *func, unsigned int line, hid_t cls_id,
+ * hid_t maj_id, hid_t min_id, const char *msg, ...)
+ * }
+ */
+ public static class H5Epush2 {
+ private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epush2");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private H5Epush2(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * herr_t H5Epush2(hid_t err_stack, const char *file, const char *func, unsigned int line, hid_t
+ * cls_id, hid_t maj_id, hid_t min_id, const char *msg, ...)
+ * }
+ */
+ public static H5Epush2 makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new H5Epush2(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(long err_stack, MemorySegment file, MemorySegment func, int line, long cls_id,
+ long maj_id, long min_id, MemorySegment msg, Object... x8)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epush2", err_stack, file, func, line, cls_id, maj_id, min_id, msg, x8);
+ }
+ return (int)spreader.invokeExact(err_stack, file, func, line, cls_id, maj_id, min_id, msg,
+ x8);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class H5Epop {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epop");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static FunctionDescriptor H5Epop$descriptor() { return H5Epop.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static MethodHandle H5Epop$handle() { return H5Epop.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static MemorySegment H5Epop$address() { return H5Epop.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static int H5Epop(long err_stack, long count)
+ {
+ var mh$ = H5Epop.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epop", err_stack, count);
+ }
+ return (int)mh$.invokeExact(err_stack, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eprint2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eprint2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static FunctionDescriptor H5Eprint2$descriptor() { return H5Eprint2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static MethodHandle H5Eprint2$handle() { return H5Eprint2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static MemorySegment H5Eprint2$address() { return H5Eprint2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static int H5Eprint2(long err_stack, MemorySegment stream)
+ {
+ var mh$ = H5Eprint2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eprint2", err_stack, stream);
+ }
+ return (int)mh$.invokeExact(err_stack, stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ewalk2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ewalk2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Ewalk2$descriptor() { return H5Ewalk2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Ewalk2$handle() { return H5Ewalk2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Ewalk2$address() { return H5Ewalk2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static int H5Ewalk2(long err_stack, int direction, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Ewalk2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ewalk2", err_stack, direction, func, client_data);
+ }
+ return (int)mh$.invokeExact(err_stack, direction, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_auto2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_auto2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_auto2$descriptor() { return H5Eget_auto2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static MethodHandle H5Eget_auto2$handle() { return H5Eget_auto2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static MemorySegment H5Eget_auto2$address() { return H5Eget_auto2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static int H5Eget_auto2(long estack_id, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eget_auto2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_auto2", estack_id, func, client_data);
+ }
+ return (int)mh$.invokeExact(estack_id, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eset_auto2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eset_auto2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eset_auto2$descriptor() { return H5Eset_auto2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Eset_auto2$handle() { return H5Eset_auto2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Eset_auto2$address() { return H5Eset_auto2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static int H5Eset_auto2(long estack_id, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eset_auto2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eset_auto2", estack_id, func, client_data);
+ }
+ return (int)mh$.invokeExact(estack_id, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eclear2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclear2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static FunctionDescriptor H5Eclear2$descriptor() { return H5Eclear2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static MethodHandle H5Eclear2$handle() { return H5Eclear2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static MemorySegment H5Eclear2$address() { return H5Eclear2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static int H5Eclear2(long err_stack)
+ {
+ var mh$ = H5Eclear2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclear2", err_stack);
+ }
+ return (int)mh$.invokeExact(err_stack);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eauto_is_v2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eauto_is_v2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static FunctionDescriptor H5Eauto_is_v2$descriptor() { return H5Eauto_is_v2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static MethodHandle H5Eauto_is_v2$handle() { return H5Eauto_is_v2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static MemorySegment H5Eauto_is_v2$address() { return H5Eauto_is_v2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static int H5Eauto_is_v2(long err_stack, MemorySegment is_stack)
+ {
+ var mh$ = H5Eauto_is_v2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eauto_is_v2", err_stack, is_stack);
+ }
+ return (int)mh$.invokeExact(err_stack, is_stack);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_msg {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_msg");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_msg$descriptor() { return H5Eget_msg.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static MethodHandle H5Eget_msg$handle() { return H5Eget_msg.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static MemorySegment H5Eget_msg$address() { return H5Eget_msg.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static long H5Eget_msg(long msg_id, MemorySegment type, MemorySegment msg, long size)
+ {
+ var mh$ = H5Eget_msg.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_msg", msg_id, type, msg, size);
+ }
+ return (long)mh$.invokeExact(msg_id, type, msg, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_num {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_num");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_num$descriptor() { return H5Eget_num.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static MethodHandle H5Eget_num$handle() { return H5Eget_num.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static MemorySegment H5Eget_num$address() { return H5Eget_num.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static long H5Eget_num(long error_stack_id)
+ {
+ var mh$ = H5Eget_num.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_num", error_stack_id);
+ }
+ return (long)mh$.invokeExact(error_stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef hid_t H5E_major_t
+ * }
+ */
+ public static final OfLong H5E_major_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef hid_t H5E_minor_t
+ * }
+ */
+ public static final OfLong H5E_minor_t = hdf5_h.C_LONG;
+
+ private static class H5Eclear1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclear1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static FunctionDescriptor H5Eclear1$descriptor() { return H5Eclear1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static MethodHandle H5Eclear1$handle() { return H5Eclear1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static MemorySegment H5Eclear1$address() { return H5Eclear1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static int H5Eclear1()
+ {
+ var mh$ = H5Eclear1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclear1");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_auto1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_auto1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_auto1$descriptor() { return H5Eget_auto1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static MethodHandle H5Eget_auto1$handle() { return H5Eget_auto1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static MemorySegment H5Eget_auto1$address() { return H5Eget_auto1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static int H5Eget_auto1(MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eget_auto1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_auto1", func, client_data);
+ }
+ return (int)mh$.invokeExact(func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Epush1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epush1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static FunctionDescriptor H5Epush1$descriptor() { return H5Epush1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static MethodHandle H5Epush1$handle() { return H5Epush1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static MemorySegment H5Epush1$address() { return H5Epush1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static int H5Epush1(MemorySegment file, MemorySegment func, int line, long maj, long min,
+ MemorySegment str)
+ {
+ var mh$ = H5Epush1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epush1", file, func, line, maj, min, str);
+ }
+ return (int)mh$.invokeExact(file, func, line, maj, min, str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eprint1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eprint1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static FunctionDescriptor H5Eprint1$descriptor() { return H5Eprint1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static MethodHandle H5Eprint1$handle() { return H5Eprint1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static MemorySegment H5Eprint1$address() { return H5Eprint1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static int H5Eprint1(MemorySegment stream)
+ {
+ var mh$ = H5Eprint1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eprint1", stream);
+ }
+ return (int)mh$.invokeExact(stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eset_auto1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eset_auto1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eset_auto1$descriptor() { return H5Eset_auto1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Eset_auto1$handle() { return H5Eset_auto1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Eset_auto1$address() { return H5Eset_auto1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static int H5Eset_auto1(MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eset_auto1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eset_auto1", func, client_data);
+ }
+ return (int)mh$.invokeExact(func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ewalk1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ewalk1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Ewalk1$descriptor() { return H5Ewalk1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Ewalk1$handle() { return H5Ewalk1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Ewalk1$address() { return H5Ewalk1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static int H5Ewalk1(int direction, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Ewalk1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ewalk1", direction, func, client_data);
+ }
+ return (int)mh$.invokeExact(direction, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_major {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_major");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_major$descriptor() { return H5Eget_major.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static MethodHandle H5Eget_major$handle() { return H5Eget_major.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static MemorySegment H5Eget_major$address() { return H5Eget_major.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static MemorySegment H5Eget_major(long maj)
+ {
+ var mh$ = H5Eget_major.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_major", maj);
+ }
+ return (MemorySegment)mh$.invokeExact(maj);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_minor {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_minor");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_minor$descriptor() { return H5Eget_minor.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static MethodHandle H5Eget_minor$handle() { return H5Eget_minor.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static MemorySegment H5Eget_minor$address() { return H5Eget_minor.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static MemorySegment H5Eget_minor(long min)
+ {
+ var mh$ = H5Eget_minor.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_minor", min);
+ }
+ return (MemorySegment)mh$.invokeExact(min);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5ES_STATUS_IN_PROGRESS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_IN_PROGRESS = 0
+ * }
+ */
+ public static int H5ES_STATUS_IN_PROGRESS() { return H5ES_STATUS_IN_PROGRESS; }
+ private static final int H5ES_STATUS_SUCCEED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_SUCCEED = 1
+ * }
+ */
+ public static int H5ES_STATUS_SUCCEED() { return H5ES_STATUS_SUCCEED; }
+ private static final int H5ES_STATUS_CANCELED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_CANCELED = 2
+ * }
+ */
+ public static int H5ES_STATUS_CANCELED() { return H5ES_STATUS_CANCELED; }
+ private static final int H5ES_STATUS_FAIL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_FAIL = 3
+ * }
+ */
+ public static int H5ES_STATUS_FAIL() { return H5ES_STATUS_FAIL; }
+
+ private static class H5EScreate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5EScreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static FunctionDescriptor H5EScreate$descriptor() { return H5EScreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static MethodHandle H5EScreate$handle() { return H5EScreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static MemorySegment H5EScreate$address() { return H5EScreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static long H5EScreate()
+ {
+ var mh$ = H5EScreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5EScreate");
+ }
+ return (long)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESwait {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESwait");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static FunctionDescriptor H5ESwait$descriptor() { return H5ESwait.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static MethodHandle H5ESwait$handle() { return H5ESwait.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static MemorySegment H5ESwait$address() { return H5ESwait.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static int H5ESwait(long es_id, long timeout, MemorySegment num_in_progress,
+ MemorySegment err_occurred)
+ {
+ var mh$ = H5ESwait.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESwait", es_id, timeout, num_in_progress, err_occurred);
+ }
+ return (int)mh$.invokeExact(es_id, timeout, num_in_progress, err_occurred);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5EScancel {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5EScancel");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static FunctionDescriptor H5EScancel$descriptor() { return H5EScancel.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static MethodHandle H5EScancel$handle() { return H5EScancel.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static MemorySegment H5EScancel$address() { return H5EScancel.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static int H5EScancel(long es_id, MemorySegment num_not_canceled, MemorySegment err_occurred)
+ {
+ var mh$ = H5EScancel.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5EScancel", es_id, num_not_canceled, err_occurred);
+ }
+ return (int)mh$.invokeExact(es_id, num_not_canceled, err_occurred);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_count$descriptor() { return H5ESget_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static MethodHandle H5ESget_count$handle() { return H5ESget_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static MemorySegment H5ESget_count$address() { return H5ESget_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static int H5ESget_count(long es_id, MemorySegment count)
+ {
+ var mh$ = H5ESget_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_count", es_id, count);
+ }
+ return (int)mh$.invokeExact(es_id, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_op_counter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_op_counter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_op_counter$descriptor() { return H5ESget_op_counter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static MethodHandle H5ESget_op_counter$handle() { return H5ESget_op_counter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static MemorySegment H5ESget_op_counter$address() { return H5ESget_op_counter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static int H5ESget_op_counter(long es_id, MemorySegment counter)
+ {
+ var mh$ = H5ESget_op_counter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_op_counter", es_id, counter);
+ }
+ return (int)mh$.invokeExact(es_id, counter);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_err_status {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_err_status");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_err_status$descriptor() { return H5ESget_err_status.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static MethodHandle H5ESget_err_status$handle() { return H5ESget_err_status.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static MemorySegment H5ESget_err_status$address() { return H5ESget_err_status.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static int H5ESget_err_status(long es_id, MemorySegment err_occurred)
+ {
+ var mh$ = H5ESget_err_status.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_err_status", es_id, err_occurred);
+ }
+ return (int)mh$.invokeExact(es_id, err_occurred);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_err_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_err_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_err_count$descriptor() { return H5ESget_err_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static MethodHandle H5ESget_err_count$handle() { return H5ESget_err_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static MemorySegment H5ESget_err_count$address() { return H5ESget_err_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static int H5ESget_err_count(long es_id, MemorySegment num_errs)
+ {
+ var mh$ = H5ESget_err_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_err_count", es_id, num_errs);
+ }
+ return (int)mh$.invokeExact(es_id, num_errs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_err_info {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_err_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_err_info$descriptor() { return H5ESget_err_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static MethodHandle H5ESget_err_info$handle() { return H5ESget_err_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static MemorySegment H5ESget_err_info$address() { return H5ESget_err_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static int H5ESget_err_info(long es_id, long num_err_info, MemorySegment err_info,
+ MemorySegment err_cleared)
+ {
+ var mh$ = H5ESget_err_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_err_info", es_id, num_err_info, err_info, err_cleared);
+ }
+ return (int)mh$.invokeExact(es_id, num_err_info, err_info, err_cleared);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESfree_err_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESfree_err_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static FunctionDescriptor H5ESfree_err_info$descriptor() { return H5ESfree_err_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static MethodHandle H5ESfree_err_info$handle() { return H5ESfree_err_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static MemorySegment H5ESfree_err_info$address() { return H5ESfree_err_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static int H5ESfree_err_info(long num_err_info, MemorySegment err_info)
+ {
+ var mh$ = H5ESfree_err_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESfree_err_info", num_err_info, err_info);
+ }
+ return (int)mh$.invokeExact(num_err_info, err_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESregister_insert_func {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESregister_insert_func");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5ESregister_insert_func$descriptor()
+ {
+ return H5ESregister_insert_func.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static MethodHandle H5ESregister_insert_func$handle() { return H5ESregister_insert_func.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static MemorySegment H5ESregister_insert_func$address() { return H5ESregister_insert_func.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static int H5ESregister_insert_func(long es_id, MemorySegment func, MemorySegment ctx)
+ {
+ var mh$ = H5ESregister_insert_func.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESregister_insert_func", es_id, func, ctx);
+ }
+ return (int)mh$.invokeExact(es_id, func, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESregister_complete_func {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESregister_complete_func");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5ESregister_complete_func$descriptor()
+ {
+ return H5ESregister_complete_func.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static MethodHandle H5ESregister_complete_func$handle()
+ {
+ return H5ESregister_complete_func.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static MemorySegment H5ESregister_complete_func$address()
+ {
+ return H5ESregister_complete_func.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static int H5ESregister_complete_func(long es_id, MemorySegment func, MemorySegment ctx)
+ {
+ var mh$ = H5ESregister_complete_func.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESregister_complete_func", es_id, func, ctx);
+ }
+ return (int)mh$.invokeExact(es_id, func, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5ESclose$descriptor() { return H5ESclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5ESclose$handle() { return H5ESclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5ESclose$address() { return H5ESclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static int H5ESclose(long es_id)
+ {
+ var mh$ = H5ESclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESclose", es_id);
+ }
+ return (int)mh$.invokeExact(es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5F_SCOPE_LOCAL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_scope_t.H5F_SCOPE_LOCAL = 0
+ * }
+ */
+ public static int H5F_SCOPE_LOCAL() { return H5F_SCOPE_LOCAL; }
+ private static final int H5F_SCOPE_GLOBAL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_scope_t.H5F_SCOPE_GLOBAL = 1
+ * }
+ */
+ public static int H5F_SCOPE_GLOBAL() { return H5F_SCOPE_GLOBAL; }
+ private static final int H5F_CLOSE_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_DEFAULT = 0
+ * }
+ */
+ public static int H5F_CLOSE_DEFAULT() { return H5F_CLOSE_DEFAULT; }
+ private static final int H5F_CLOSE_WEAK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_WEAK = 1
+ * }
+ */
+ public static int H5F_CLOSE_WEAK() { return H5F_CLOSE_WEAK; }
+ private static final int H5F_CLOSE_SEMI = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_SEMI = 2
+ * }
+ */
+ public static int H5F_CLOSE_SEMI() { return H5F_CLOSE_SEMI; }
+ private static final int H5F_CLOSE_STRONG = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_STRONG = 3
+ * }
+ */
+ public static int H5F_CLOSE_STRONG() { return H5F_CLOSE_STRONG; }
+ private static final int H5FD_MEM_NOLIST = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_NOLIST = -1
+ * }
+ */
+ public static int H5FD_MEM_NOLIST() { return H5FD_MEM_NOLIST; }
+ private static final int H5FD_MEM_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_DEFAULT = 0
+ * }
+ */
+ public static int H5FD_MEM_DEFAULT() { return H5FD_MEM_DEFAULT; }
+ private static final int H5FD_MEM_SUPER = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_SUPER = 1
+ * }
+ */
+ public static int H5FD_MEM_SUPER() { return H5FD_MEM_SUPER; }
+ private static final int H5FD_MEM_BTREE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_BTREE = 2
+ * }
+ */
+ public static int H5FD_MEM_BTREE() { return H5FD_MEM_BTREE; }
+ private static final int H5FD_MEM_DRAW = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_DRAW = 3
+ * }
+ */
+ public static int H5FD_MEM_DRAW() { return H5FD_MEM_DRAW; }
+ private static final int H5FD_MEM_GHEAP = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_GHEAP = 4
+ * }
+ */
+ public static int H5FD_MEM_GHEAP() { return H5FD_MEM_GHEAP; }
+ private static final int H5FD_MEM_LHEAP = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_LHEAP = 5
+ * }
+ */
+ public static int H5FD_MEM_LHEAP() { return H5FD_MEM_LHEAP; }
+ private static final int H5FD_MEM_OHDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_OHDR = 6
+ * }
+ */
+ public static int H5FD_MEM_OHDR() { return H5FD_MEM_OHDR; }
+ private static final int H5FD_MEM_NTYPES = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_NTYPES = 7
+ * }
+ */
+ public static int H5FD_MEM_NTYPES() { return H5FD_MEM_NTYPES; }
+ private static final int H5F_LIBVER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_ERROR = -1
+ * }
+ */
+ public static int H5F_LIBVER_ERROR() { return H5F_LIBVER_ERROR; }
+ private static final int H5F_LIBVER_EARLIEST = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_EARLIEST = 0
+ * }
+ */
+ public static int H5F_LIBVER_EARLIEST() { return H5F_LIBVER_EARLIEST; }
+ private static final int H5F_LIBVER_V18 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V18 = 1
+ * }
+ */
+ public static int H5F_LIBVER_V18() { return H5F_LIBVER_V18; }
+ private static final int H5F_LIBVER_V110 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V110 = 2
+ * }
+ */
+ public static int H5F_LIBVER_V110() { return H5F_LIBVER_V110; }
+ private static final int H5F_LIBVER_V112 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V112 = 3
+ * }
+ */
+ public static int H5F_LIBVER_V112() { return H5F_LIBVER_V112; }
+ private static final int H5F_LIBVER_V114 = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V114 = 4
+ * }
+ */
+ public static int H5F_LIBVER_V114() { return H5F_LIBVER_V114; }
+ private static final int H5F_LIBVER_V200 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V200 = 5
+ * }
+ */
+ public static int H5F_LIBVER_V200() { return H5F_LIBVER_V200; }
+ private static final int H5F_LIBVER_LATEST = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_LATEST = 5
+ * }
+ */
+ public static int H5F_LIBVER_LATEST() { return H5F_LIBVER_LATEST; }
+ private static final int H5F_LIBVER_NBOUNDS = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_NBOUNDS = 6
+ * }
+ */
+ public static int H5F_LIBVER_NBOUNDS() { return H5F_LIBVER_NBOUNDS; }
+ private static final int H5F_FSPACE_STRATEGY_FSM_AGGR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_FSM_AGGR = 0
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_FSM_AGGR() { return H5F_FSPACE_STRATEGY_FSM_AGGR; }
+ private static final int H5F_FSPACE_STRATEGY_PAGE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_PAGE = 1
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_PAGE() { return H5F_FSPACE_STRATEGY_PAGE; }
+ private static final int H5F_FSPACE_STRATEGY_AGGR = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_AGGR = 2
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_AGGR() { return H5F_FSPACE_STRATEGY_AGGR; }
+ private static final int H5F_FSPACE_STRATEGY_NONE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_NONE = 3
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_NONE() { return H5F_FSPACE_STRATEGY_NONE; }
+ private static final int H5F_FSPACE_STRATEGY_NTYPES = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_NTYPES = 4
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_NTYPES() { return H5F_FSPACE_STRATEGY_NTYPES; }
+ private static final int H5F_FILE_SPACE_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_DEFAULT = 0
+ * }
+ */
+ public static int H5F_FILE_SPACE_DEFAULT() { return H5F_FILE_SPACE_DEFAULT; }
+ private static final int H5F_FILE_SPACE_ALL_PERSIST = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_ALL_PERSIST = 1
+ * }
+ */
+ public static int H5F_FILE_SPACE_ALL_PERSIST() { return H5F_FILE_SPACE_ALL_PERSIST; }
+ private static final int H5F_FILE_SPACE_ALL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_ALL = 2
+ * }
+ */
+ public static int H5F_FILE_SPACE_ALL() { return H5F_FILE_SPACE_ALL; }
+ private static final int H5F_FILE_SPACE_AGGR_VFD = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_AGGR_VFD = 3
+ * }
+ */
+ public static int H5F_FILE_SPACE_AGGR_VFD() { return H5F_FILE_SPACE_AGGR_VFD; }
+ private static final int H5F_FILE_SPACE_VFD = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_VFD = 4
+ * }
+ */
+ public static int H5F_FILE_SPACE_VFD() { return H5F_FILE_SPACE_VFD; }
+ private static final int H5F_FILE_SPACE_NTYPES = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_NTYPES = 5
+ * }
+ */
+ public static int H5F_FILE_SPACE_NTYPES() { return H5F_FILE_SPACE_NTYPES; }
+
+ private static class H5Fis_accessible {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fis_accessible");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fis_accessible$descriptor() { return H5Fis_accessible.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fis_accessible$handle() { return H5Fis_accessible.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fis_accessible$address() { return H5Fis_accessible.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static int H5Fis_accessible(MemorySegment container_name, long fapl_id)
+ {
+ var mh$ = H5Fis_accessible.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fis_accessible", container_name, fapl_id);
+ }
+ return (int)mh$.invokeExact(container_name, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fcreate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fcreate$descriptor() { return H5Fcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fcreate$handle() { return H5Fcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fcreate$address() { return H5Fcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static long H5Fcreate(MemorySegment filename, int flags, long fcpl_id, long fapl_id)
+ {
+ var mh$ = H5Fcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fcreate", filename, flags, fcpl_id, fapl_id);
+ }
+ return (long)mh$.invokeExact(filename, flags, fcpl_id, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fcreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fcreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fcreate_async$descriptor() { return H5Fcreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fcreate_async$handle() { return H5Fcreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fcreate_async$address() { return H5Fcreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Fcreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment filename, int flags, long fcpl_id, long fapl_id,
+ long es_id)
+ {
+ var mh$ = H5Fcreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fcreate_async", app_file, app_func, app_line, filename, flags, fcpl_id,
+ fapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, filename, flags, fcpl_id, fapl_id,
+ es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fopen$descriptor() { return H5Fopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fopen$handle() { return H5Fopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fopen$address() { return H5Fopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static long H5Fopen(MemorySegment filename, int flags, long fapl_id)
+ {
+ var mh$ = H5Fopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fopen", filename, flags, fapl_id);
+ }
+ return (long)mh$.invokeExact(filename, flags, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fopen_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fopen_async$descriptor() { return H5Fopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fopen_async$handle() { return H5Fopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fopen_async$address() { return H5Fopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static long H5Fopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment filename, int flags, long access_plist, long es_id)
+ {
+ var mh$ = H5Fopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fopen_async", app_file, app_func, app_line, filename, flags, access_plist,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, filename, flags, access_plist, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freopen {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freopen$descriptor() { return H5Freopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Freopen$handle() { return H5Freopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Freopen$address() { return H5Freopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static long H5Freopen(long file_id)
+ {
+ var mh$ = H5Freopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freopen", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freopen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freopen_async$descriptor() { return H5Freopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Freopen_async$handle() { return H5Freopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Freopen_async$address() { return H5Freopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static long H5Freopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long file_id, long es_id)
+ {
+ var mh$ = H5Freopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freopen_async", app_file, app_func, app_line, file_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, file_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fflush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static FunctionDescriptor H5Fflush$descriptor() { return H5Fflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static MethodHandle H5Fflush$handle() { return H5Fflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static MemorySegment H5Fflush$address() { return H5Fflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static int H5Fflush(long object_id, int scope)
+ {
+ var mh$ = H5Fflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fflush", object_id, scope);
+ }
+ return (int)mh$.invokeExact(object_id, scope);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fflush_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fflush_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fflush_async$descriptor() { return H5Fflush_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fflush_async$handle() { return H5Fflush_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fflush_async$address() { return H5Fflush_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static int H5Fflush_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long object_id, int scope, long es_id)
+ {
+ var mh$ = H5Fflush_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fflush_async", app_file, app_func, app_line, object_id, scope, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, object_id, scope, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fclose$descriptor() { return H5Fclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fclose$handle() { return H5Fclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fclose$address() { return H5Fclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static int H5Fclose(long file_id)
+ {
+ var mh$ = H5Fclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fclose", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fclose_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fclose_async$descriptor() { return H5Fclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fclose_async$handle() { return H5Fclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fclose_async$address() { return H5Fclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Fclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long file_id, long es_id)
+ {
+ var mh$ = H5Fclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fclose_async", app_file, app_func, app_line, file_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, file_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fdelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fdelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fdelete$descriptor() { return H5Fdelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fdelete$handle() { return H5Fdelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fdelete$address() { return H5Fdelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static int H5Fdelete(MemorySegment filename, long fapl_id)
+ {
+ var mh$ = H5Fdelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fdelete", filename, fapl_id);
+ }
+ return (int)mh$.invokeExact(filename, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_create_plist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_create_plist$descriptor() { return H5Fget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fget_create_plist$handle() { return H5Fget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fget_create_plist$address() { return H5Fget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static long H5Fget_create_plist(long file_id)
+ {
+ var mh$ = H5Fget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_create_plist", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_access_plist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_access_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_access_plist$descriptor() { return H5Fget_access_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fget_access_plist$handle() { return H5Fget_access_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fget_access_plist$address() { return H5Fget_access_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static long H5Fget_access_plist(long file_id)
+ {
+ var mh$ = H5Fget_access_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_access_plist", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_intent {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_intent");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_intent$descriptor() { return H5Fget_intent.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static MethodHandle H5Fget_intent$handle() { return H5Fget_intent.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static MemorySegment H5Fget_intent$address() { return H5Fget_intent.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static int H5Fget_intent(long file_id, MemorySegment intent)
+ {
+ var mh$ = H5Fget_intent.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_intent", file_id, intent);
+ }
+ return (int)mh$.invokeExact(file_id, intent);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_fileno {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_fileno");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_fileno$descriptor() { return H5Fget_fileno.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static MethodHandle H5Fget_fileno$handle() { return H5Fget_fileno.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static MemorySegment H5Fget_fileno$address() { return H5Fget_fileno.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static int H5Fget_fileno(long file_id, MemorySegment fileno)
+ {
+ var mh$ = H5Fget_fileno.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_fileno", file_id, fileno);
+ }
+ return (int)mh$.invokeExact(file_id, fileno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_obj_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_obj_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_obj_count$descriptor() { return H5Fget_obj_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static MethodHandle H5Fget_obj_count$handle() { return H5Fget_obj_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static MemorySegment H5Fget_obj_count$address() { return H5Fget_obj_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static long H5Fget_obj_count(long file_id, int types)
+ {
+ var mh$ = H5Fget_obj_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_obj_count", file_id, types);
+ }
+ return (long)mh$.invokeExact(file_id, types);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_obj_ids {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_obj_ids");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_obj_ids$descriptor() { return H5Fget_obj_ids.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static MethodHandle H5Fget_obj_ids$handle() { return H5Fget_obj_ids.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static MemorySegment H5Fget_obj_ids$address() { return H5Fget_obj_ids.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static long H5Fget_obj_ids(long file_id, int types, long max_objs, MemorySegment obj_id_list)
+ {
+ var mh$ = H5Fget_obj_ids.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_obj_ids", file_id, types, max_objs, obj_id_list);
+ }
+ return (long)mh$.invokeExact(file_id, types, max_objs, obj_id_list);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_vfd_handle {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_vfd_handle");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_vfd_handle$descriptor() { return H5Fget_vfd_handle.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MethodHandle H5Fget_vfd_handle$handle() { return H5Fget_vfd_handle.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MemorySegment H5Fget_vfd_handle$address() { return H5Fget_vfd_handle.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static int H5Fget_vfd_handle(long file_id, long fapl, MemorySegment file_handle)
+ {
+ var mh$ = H5Fget_vfd_handle.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_vfd_handle", file_id, fapl, file_handle);
+ }
+ return (int)mh$.invokeExact(file_id, fapl, file_handle);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fmount {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fmount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static FunctionDescriptor H5Fmount$descriptor() { return H5Fmount.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static MethodHandle H5Fmount$handle() { return H5Fmount.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static MemorySegment H5Fmount$address() { return H5Fmount.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static int H5Fmount(long loc_id, MemorySegment name, long child, long plist)
+ {
+ var mh$ = H5Fmount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fmount", loc_id, name, child, plist);
+ }
+ return (int)mh$.invokeExact(loc_id, name, child, plist);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Funmount {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Funmount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Funmount$descriptor() { return H5Funmount.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Funmount$handle() { return H5Funmount.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Funmount$address() { return H5Funmount.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static int H5Funmount(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Funmount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Funmount", loc_id, name);
+ }
+ return (int)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_freespace {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_freespace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_freespace$descriptor() { return H5Fget_freespace.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fget_freespace$handle() { return H5Fget_freespace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fget_freespace$address() { return H5Fget_freespace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static long H5Fget_freespace(long file_id)
+ {
+ var mh$ = H5Fget_freespace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_freespace", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_filesize {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_filesize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_filesize$descriptor() { return H5Fget_filesize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Fget_filesize$handle() { return H5Fget_filesize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Fget_filesize$address() { return H5Fget_filesize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static int H5Fget_filesize(long file_id, MemorySegment size)
+ {
+ var mh$ = H5Fget_filesize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_filesize", file_id, size);
+ }
+ return (int)mh$.invokeExact(file_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_eoa {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_eoa");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_eoa$descriptor() { return H5Fget_eoa.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static MethodHandle H5Fget_eoa$handle() { return H5Fget_eoa.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static MemorySegment H5Fget_eoa$address() { return H5Fget_eoa.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static int H5Fget_eoa(long file_id, MemorySegment eoa)
+ {
+ var mh$ = H5Fget_eoa.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_eoa", file_id, eoa);
+ }
+ return (int)mh$.invokeExact(file_id, eoa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fincrement_filesize {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fincrement_filesize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static FunctionDescriptor H5Fincrement_filesize$descriptor() { return H5Fincrement_filesize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static MethodHandle H5Fincrement_filesize$handle() { return H5Fincrement_filesize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static MemorySegment H5Fincrement_filesize$address() { return H5Fincrement_filesize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static int H5Fincrement_filesize(long file_id, long increment)
+ {
+ var mh$ = H5Fincrement_filesize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fincrement_filesize", file_id, increment);
+ }
+ return (int)mh$.invokeExact(file_id, increment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_file_image {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_file_image");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_file_image$descriptor() { return H5Fget_file_image.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MethodHandle H5Fget_file_image$handle() { return H5Fget_file_image.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MemorySegment H5Fget_file_image$address() { return H5Fget_file_image.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static long H5Fget_file_image(long file_id, MemorySegment buf_ptr, long buf_len)
+ {
+ var mh$ = H5Fget_file_image.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_file_image", file_id, buf_ptr, buf_len);
+ }
+ return (long)mh$.invokeExact(file_id, buf_ptr, buf_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_config$descriptor() { return H5Fget_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_config$handle() { return H5Fget_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_config$address() { return H5Fget_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Fget_mdc_config(long file_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Fget_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_config", file_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_mdc_config$descriptor() { return H5Fset_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Fset_mdc_config$handle() { return H5Fset_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Fset_mdc_config$address() { return H5Fset_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Fset_mdc_config(long file_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Fset_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_mdc_config", file_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_hit_rate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_hit_rate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_hit_rate$descriptor() { return H5Fget_mdc_hit_rate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_hit_rate$handle() { return H5Fget_mdc_hit_rate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_hit_rate$address() { return H5Fget_mdc_hit_rate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static int H5Fget_mdc_hit_rate(long file_id, MemorySegment hit_rate_ptr)
+ {
+ var mh$ = H5Fget_mdc_hit_rate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_hit_rate", file_id, hit_rate_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, hit_rate_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_size$descriptor() { return H5Fget_mdc_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_size$handle() { return H5Fget_mdc_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_size$address() { return H5Fget_mdc_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static int H5Fget_mdc_size(long file_id, MemorySegment max_size_ptr,
+ MemorySegment min_clean_size_ptr, MemorySegment cur_size_ptr,
+ MemorySegment cur_num_entries_ptr)
+ {
+ var mh$ = H5Fget_mdc_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_size", file_id, max_size_ptr, min_clean_size_ptr, cur_size_ptr,
+ cur_num_entries_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, max_size_ptr, min_clean_size_ptr, cur_size_ptr,
+ cur_num_entries_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freset_mdc_hit_rate_stats {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freset_mdc_hit_rate_stats");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freset_mdc_hit_rate_stats$descriptor()
+ {
+ return H5Freset_mdc_hit_rate_stats.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Freset_mdc_hit_rate_stats$handle()
+ {
+ return H5Freset_mdc_hit_rate_stats.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Freset_mdc_hit_rate_stats$address()
+ {
+ return H5Freset_mdc_hit_rate_stats.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static int H5Freset_mdc_hit_rate_stats(long file_id)
+ {
+ var mh$ = H5Freset_mdc_hit_rate_stats.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freset_mdc_hit_rate_stats", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_name$descriptor() { return H5Fget_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Fget_name$handle() { return H5Fget_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Fget_name$address() { return H5Fget_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static long H5Fget_name(long obj_id, MemorySegment name, long size)
+ {
+ var mh$ = H5Fget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_name", obj_id, name, size);
+ }
+ return (long)mh$.invokeExact(obj_id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_info2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_info2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_info2$descriptor() { return H5Fget_info2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static MethodHandle H5Fget_info2$handle() { return H5Fget_info2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static MemorySegment H5Fget_info2$address() { return H5Fget_info2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static int H5Fget_info2(long obj_id, MemorySegment file_info)
+ {
+ var mh$ = H5Fget_info2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_info2", obj_id, file_info);
+ }
+ return (int)mh$.invokeExact(obj_id, file_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_metadata_read_retry_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_metadata_read_retry_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_metadata_read_retry_info$descriptor()
+ {
+ return H5Fget_metadata_read_retry_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static MethodHandle H5Fget_metadata_read_retry_info$handle()
+ {
+ return H5Fget_metadata_read_retry_info.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static MemorySegment H5Fget_metadata_read_retry_info$address()
+ {
+ return H5Fget_metadata_read_retry_info.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static int H5Fget_metadata_read_retry_info(long file_id, MemorySegment info)
+ {
+ var mh$ = H5Fget_metadata_read_retry_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_metadata_read_retry_info", file_id, info);
+ }
+ return (int)mh$.invokeExact(file_id, info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fstart_swmr_write {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fstart_swmr_write");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fstart_swmr_write$descriptor() { return H5Fstart_swmr_write.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fstart_swmr_write$handle() { return H5Fstart_swmr_write.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fstart_swmr_write$address() { return H5Fstart_swmr_write.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static int H5Fstart_swmr_write(long file_id)
+ {
+ var mh$ = H5Fstart_swmr_write.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fstart_swmr_write", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_free_sections {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_free_sections");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_free_sections$descriptor() { return H5Fget_free_sections.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static MethodHandle H5Fget_free_sections$handle() { return H5Fget_free_sections.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static MemorySegment H5Fget_free_sections$address() { return H5Fget_free_sections.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static long H5Fget_free_sections(long file_id, int type, long nsects, MemorySegment sect_info)
+ {
+ var mh$ = H5Fget_free_sections.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_free_sections", file_id, type, nsects, sect_info);
+ }
+ return (long)mh$.invokeExact(file_id, type, nsects, sect_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fclear_elink_file_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fclear_elink_file_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fclear_elink_file_cache$descriptor()
+ {
+ return H5Fclear_elink_file_cache.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fclear_elink_file_cache$handle() { return H5Fclear_elink_file_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fclear_elink_file_cache$address() { return H5Fclear_elink_file_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static int H5Fclear_elink_file_cache(long file_id)
+ {
+ var mh$ = H5Fclear_elink_file_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fclear_elink_file_cache", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_libver_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_libver_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_libver_bounds$descriptor() { return H5Fset_libver_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MethodHandle H5Fset_libver_bounds$handle() { return H5Fset_libver_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MemorySegment H5Fset_libver_bounds$address() { return H5Fset_libver_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static int H5Fset_libver_bounds(long file_id, int low, int high)
+ {
+ var mh$ = H5Fset_libver_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_libver_bounds", file_id, low, high);
+ }
+ return (int)mh$.invokeExact(file_id, low, high);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fstart_mdc_logging {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fstart_mdc_logging");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fstart_mdc_logging$descriptor() { return H5Fstart_mdc_logging.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fstart_mdc_logging$handle() { return H5Fstart_mdc_logging.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fstart_mdc_logging$address() { return H5Fstart_mdc_logging.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static int H5Fstart_mdc_logging(long file_id)
+ {
+ var mh$ = H5Fstart_mdc_logging.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fstart_mdc_logging", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fstop_mdc_logging {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fstop_mdc_logging");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fstop_mdc_logging$descriptor() { return H5Fstop_mdc_logging.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fstop_mdc_logging$handle() { return H5Fstop_mdc_logging.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fstop_mdc_logging$address() { return H5Fstop_mdc_logging.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static int H5Fstop_mdc_logging(long file_id)
+ {
+ var mh$ = H5Fstop_mdc_logging.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fstop_mdc_logging", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_logging_status {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_logging_status");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_logging_status$descriptor()
+ {
+ return H5Fget_mdc_logging_status.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_logging_status$handle() { return H5Fget_mdc_logging_status.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_logging_status$address() { return H5Fget_mdc_logging_status.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static int H5Fget_mdc_logging_status(long file_id, MemorySegment is_enabled,
+ MemorySegment is_currently_logging)
+ {
+ var mh$ = H5Fget_mdc_logging_status.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_logging_status", file_id, is_enabled, is_currently_logging);
+ }
+ return (int)mh$.invokeExact(file_id, is_enabled, is_currently_logging);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freset_page_buffering_stats {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freset_page_buffering_stats");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freset_page_buffering_stats$descriptor()
+ {
+ return H5Freset_page_buffering_stats.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Freset_page_buffering_stats$handle()
+ {
+ return H5Freset_page_buffering_stats.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Freset_page_buffering_stats$address()
+ {
+ return H5Freset_page_buffering_stats.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static int H5Freset_page_buffering_stats(long file_id)
+ {
+ var mh$ = H5Freset_page_buffering_stats.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freset_page_buffering_stats", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_page_buffering_stats {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_page_buffering_stats");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static FunctionDescriptor H5Fget_page_buffering_stats$descriptor()
+ {
+ return H5Fget_page_buffering_stats.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static MethodHandle H5Fget_page_buffering_stats$handle()
+ {
+ return H5Fget_page_buffering_stats.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static MemorySegment H5Fget_page_buffering_stats$address()
+ {
+ return H5Fget_page_buffering_stats.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static int H5Fget_page_buffering_stats(long file_id, MemorySegment accesses, MemorySegment hits,
+ MemorySegment misses, MemorySegment evictions,
+ MemorySegment bypasses)
+ {
+ var mh$ = H5Fget_page_buffering_stats.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_page_buffering_stats", file_id, accesses, hits, misses, evictions,
+ bypasses);
+ }
+ return (int)mh$.invokeExact(file_id, accesses, hits, misses, evictions, bypasses);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_image_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_image_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_image_info$descriptor() { return H5Fget_mdc_image_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_image_info$handle() { return H5Fget_mdc_image_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_image_info$address() { return H5Fget_mdc_image_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static int H5Fget_mdc_image_info(long file_id, MemorySegment image_addr, MemorySegment image_size)
+ {
+ var mh$ = H5Fget_mdc_image_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_image_info", file_id, image_addr, image_size);
+ }
+ return (int)mh$.invokeExact(file_id, image_addr, image_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_dset_no_attrs_hint$descriptor()
+ {
+ return H5Fget_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static MethodHandle H5Fget_dset_no_attrs_hint$handle() { return H5Fget_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static MemorySegment H5Fget_dset_no_attrs_hint$address() { return H5Fget_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static int H5Fget_dset_no_attrs_hint(long file_id, MemorySegment minimize)
+ {
+ var mh$ = H5Fget_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_dset_no_attrs_hint", file_id, minimize);
+ }
+ return (int)mh$.invokeExact(file_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_dset_no_attrs_hint$descriptor()
+ {
+ return H5Fset_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static MethodHandle H5Fset_dset_no_attrs_hint$handle() { return H5Fset_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static MemorySegment H5Fset_dset_no_attrs_hint$address() { return H5Fset_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static int H5Fset_dset_no_attrs_hint(long file_id, boolean minimize)
+ {
+ var mh$ = H5Fset_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_dset_no_attrs_hint", file_id, minimize);
+ }
+ return (int)mh$.invokeExact(file_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fformat_convert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fformat_convert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static FunctionDescriptor H5Fformat_convert$descriptor() { return H5Fformat_convert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static MethodHandle H5Fformat_convert$handle() { return H5Fformat_convert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static MemorySegment H5Fformat_convert$address() { return H5Fformat_convert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static int H5Fformat_convert(long fid)
+ {
+ var mh$ = H5Fformat_convert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fformat_convert", fid);
+ }
+ return (int)mh$.invokeExact(fid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_info1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_info1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_info1$descriptor() { return H5Fget_info1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static MethodHandle H5Fget_info1$handle() { return H5Fget_info1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static MemorySegment H5Fget_info1$address() { return H5Fget_info1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static int H5Fget_info1(long obj_id, MemorySegment file_info)
+ {
+ var mh$ = H5Fget_info1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_info1", obj_id, file_info);
+ }
+ return (int)mh$.invokeExact(obj_id, file_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_latest_format {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_latest_format");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_latest_format$descriptor() { return H5Fset_latest_format.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static MethodHandle H5Fset_latest_format$handle() { return H5Fset_latest_format.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static MemorySegment H5Fset_latest_format$address() { return H5Fset_latest_format.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static int H5Fset_latest_format(long file_id, boolean latest_format)
+ {
+ var mh$ = H5Fset_latest_format.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_latest_format", file_id, latest_format);
+ }
+ return (int)mh$.invokeExact(file_id, latest_format);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fis_hdf5 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fis_hdf5");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static FunctionDescriptor H5Fis_hdf5$descriptor() { return H5Fis_hdf5.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static MethodHandle H5Fis_hdf5$handle() { return H5Fis_hdf5.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static MemorySegment H5Fis_hdf5$address() { return H5Fis_hdf5.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static int H5Fis_hdf5(MemorySegment file_name)
+ {
+ var mh$ = H5Fis_hdf5.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fis_hdf5", file_name);
+ }
+ return (int)mh$.invokeExact(file_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5FD_class_value_t
+ * }
+ */
+ public static final OfInt H5FD_class_value_t = hdf5_h.C_INT;
+ private static final int H5FD_FILE_IMAGE_OP_NO_OP = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_NO_OP = 0
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_NO_OP() { return H5FD_FILE_IMAGE_OP_NO_OP; }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET = 1
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET() { return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET; }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY = 2
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY()
+ {
+ return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY;
+ }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET = 3
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET() { return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET; }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE = 4
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE()
+ {
+ return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE;
+ }
+ private static final int H5FD_FILE_IMAGE_OP_FILE_OPEN = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_FILE_OPEN = 5
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_FILE_OPEN() { return H5FD_FILE_IMAGE_OP_FILE_OPEN; }
+ private static final int H5FD_FILE_IMAGE_OP_FILE_RESIZE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_FILE_RESIZE = 6
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_FILE_RESIZE() { return H5FD_FILE_IMAGE_OP_FILE_RESIZE; }
+ private static final int H5FD_FILE_IMAGE_OP_FILE_CLOSE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_FILE_CLOSE = 7
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_FILE_CLOSE() { return H5FD_FILE_IMAGE_OP_FILE_CLOSE; }
+
+ private static class H5FDdriver_query {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDdriver_query");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static FunctionDescriptor H5FDdriver_query$descriptor() { return H5FDdriver_query.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static MethodHandle H5FDdriver_query$handle() { return H5FDdriver_query.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static MemorySegment H5FDdriver_query$address() { return H5FDdriver_query.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static int H5FDdriver_query(long driver_id, MemorySegment flags)
+ {
+ var mh$ = H5FDdriver_query.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDdriver_query", driver_id, flags);
+ }
+ return (int)mh$.invokeExact(driver_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5L_TYPE_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_ERROR = -1
+ * }
+ */
+ public static int H5L_TYPE_ERROR() { return H5L_TYPE_ERROR; }
+ private static final int H5L_TYPE_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_HARD = 0
+ * }
+ */
+ public static int H5L_TYPE_HARD() { return H5L_TYPE_HARD; }
+ private static final int H5L_TYPE_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_SOFT = 1
+ * }
+ */
+ public static int H5L_TYPE_SOFT() { return H5L_TYPE_SOFT; }
+ private static final int H5L_TYPE_EXTERNAL = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_EXTERNAL = 64
+ * }
+ */
+ public static int H5L_TYPE_EXTERNAL() { return H5L_TYPE_EXTERNAL; }
+ private static final int H5L_TYPE_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_MAX = 255
+ * }
+ */
+ public static int H5L_TYPE_MAX() { return H5L_TYPE_MAX; }
+
+ private static class H5Lmove {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lmove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lmove$descriptor() { return H5Lmove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lmove$handle() { return H5Lmove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lmove$address() { return H5Lmove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Lmove(long src_loc, MemorySegment src_name, long dst_loc, MemorySegment dst_name,
+ long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lmove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lmove", src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcopy$descriptor() { return H5Lcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcopy$handle() { return H5Lcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcopy$address() { return H5Lcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcopy(long src_loc, MemorySegment src_name, long dst_loc, MemorySegment dst_name,
+ long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcopy", src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_hard {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_hard");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_hard$descriptor() { return H5Lcreate_hard.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_hard$handle() { return H5Lcreate_hard.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_hard$address() { return H5Lcreate_hard.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_hard(long cur_loc, MemorySegment cur_name, long dst_loc,
+ MemorySegment dst_name, long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_hard.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_hard", cur_loc, cur_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(cur_loc, cur_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_hard_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_hard_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_hard_async$descriptor() { return H5Lcreate_hard_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_hard_async$handle() { return H5Lcreate_hard_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_hard_async$address() { return H5Lcreate_hard_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Lcreate_hard_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long cur_loc_id, MemorySegment cur_name, long new_loc_id,
+ MemorySegment new_name, long lcpl_id, long lapl_id, long es_id)
+ {
+ var mh$ = H5Lcreate_hard_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_hard_async", app_file, app_func, app_line, cur_loc_id, cur_name,
+ new_loc_id, new_name, lcpl_id, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, cur_loc_id, cur_name, new_loc_id,
+ new_name, lcpl_id, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_soft {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_soft");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_soft$descriptor() { return H5Lcreate_soft.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_soft$handle() { return H5Lcreate_soft.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_soft$address() { return H5Lcreate_soft.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_soft(MemorySegment link_target, long link_loc_id, MemorySegment link_name,
+ long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_soft.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_soft", link_target, link_loc_id, link_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(link_target, link_loc_id, link_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_soft_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_soft_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_soft_async$descriptor() { return H5Lcreate_soft_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_soft_async$handle() { return H5Lcreate_soft_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_soft_async$address() { return H5Lcreate_soft_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Lcreate_soft_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment link_target, long link_loc_id,
+ MemorySegment link_name, long lcpl_id, long lapl_id, long es_id)
+ {
+ var mh$ = H5Lcreate_soft_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_soft_async", app_file, app_func, app_line, link_target, link_loc_id,
+ link_name, lcpl_id, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, link_target, link_loc_id, link_name,
+ lcpl_id, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete$descriptor() { return H5Ldelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete$handle() { return H5Ldelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete$address() { return H5Ldelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ldelete(long loc_id, MemorySegment name, long lapl_id)
+ {
+ var mh$ = H5Ldelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete", loc_id, name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete_async$descriptor() { return H5Ldelete_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete_async$handle() { return H5Ldelete_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete_async$address() { return H5Ldelete_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Ldelete_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lapl_id, long es_id)
+ {
+ var mh$ = H5Ldelete_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete_async", app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete_by_idx$descriptor() { return H5Ldelete_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete_by_idx$handle() { return H5Ldelete_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete_by_idx$address() { return H5Ldelete_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ldelete_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order, long n,
+ long lapl_id)
+ {
+ var mh$ = H5Ldelete_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete_by_idx", loc_id, group_name, idx_type, order, n, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete_by_idx_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete_by_idx_async$descriptor()
+ {
+ return H5Ldelete_by_idx_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete_by_idx_async$handle() { return H5Ldelete_by_idx_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete_by_idx_async$address() { return H5Ldelete_by_idx_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Ldelete_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, long lapl_id, long es_id)
+ {
+ var mh$ = H5Ldelete_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete_by_idx_async", app_file, app_func, app_line, loc_id, group_name,
+ idx_type, order, n, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, group_name, idx_type, order, n,
+ lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_val {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_val");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_val$descriptor() { return H5Lget_val.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_val$handle() { return H5Lget_val.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_val$address() { return H5Lget_val.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_val(long loc_id, MemorySegment name, MemorySegment buf, long size, long lapl_id)
+ {
+ var mh$ = H5Lget_val.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_val", loc_id, name, buf, size, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, buf, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_val_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_val_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_val_by_idx$descriptor() { return H5Lget_val_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_val_by_idx$handle() { return H5Lget_val_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_val_by_idx$address() { return H5Lget_val_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_val_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment buf, long size, long lapl_id)
+ {
+ var mh$ = H5Lget_val_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_val_by_idx", loc_id, group_name, idx_type, order, n, buf, size,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, buf, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lexists {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lexists");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lexists$descriptor() { return H5Lexists.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lexists$handle() { return H5Lexists.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lexists$address() { return H5Lexists.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lexists(long loc_id, MemorySegment name, long lapl_id)
+ {
+ var mh$ = H5Lexists.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lexists", loc_id, name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lexists_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lexists_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lexists_async$descriptor() { return H5Lexists_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Lexists_async$handle() { return H5Lexists_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Lexists_async$address() { return H5Lexists_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Lexists_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, MemorySegment exists, long lapl_id,
+ long es_id)
+ {
+ var mh$ = H5Lexists_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lexists_async", app_file, app_func, app_line, loc_id, name, exists, lapl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, exists, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info2$descriptor() { return H5Lget_info2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info2$handle() { return H5Lget_info2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info2$address() { return H5Lget_info2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info2(long loc_id, MemorySegment name, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info2", loc_id, name, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info_by_idx2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info_by_idx2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info_by_idx2$descriptor() { return H5Lget_info_by_idx2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info_by_idx2$handle() { return H5Lget_info_by_idx2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info_by_idx2$address() { return H5Lget_info_by_idx2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info_by_idx2(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info_by_idx2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info_by_idx2", loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_name_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_name_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_name_by_idx$descriptor() { return H5Lget_name_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_name_by_idx$handle() { return H5Lget_name_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_name_by_idx$address() { return H5Lget_name_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static long H5Lget_name_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment name, long size, long lapl_id)
+ {
+ var mh$ = H5Lget_name_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_name_by_idx", loc_id, group_name, idx_type, order, n, name, size,
+ lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, group_name, idx_type, order, n, name, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Literate2$descriptor() { return H5Literate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Literate2$handle() { return H5Literate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Literate2$address() { return H5Literate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static int H5Literate2(long grp_id, int idx_type, int order, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Literate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate2", grp_id, idx_type, order, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Literate_async$descriptor() { return H5Literate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Literate_async$handle() { return H5Literate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Literate_async$address() { return H5Literate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Literate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long group_id, int idx_type, int order, MemorySegment idx_p,
+ MemorySegment op, MemorySegment op_data, long es_id)
+ {
+ var mh$ = H5Literate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate_async", app_file, app_func, app_line, group_id, idx_type, order,
+ idx_p, op, op_data, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, group_id, idx_type, order, idx_p, op,
+ op_data, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate_by_name2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Literate_by_name2$descriptor() { return H5Literate_by_name2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Literate_by_name2$handle() { return H5Literate_by_name2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Literate_by_name2$address() { return H5Literate_by_name2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Literate_by_name2(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment idx, MemorySegment op, MemorySegment op_data,
+ long lapl_id)
+ {
+ var mh$ = H5Literate_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate_by_name2", loc_id, group_name, idx_type, order, idx, op, op_data,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, idx, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit2$descriptor() { return H5Lvisit2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static MethodHandle H5Lvisit2$handle() { return H5Lvisit2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static MemorySegment H5Lvisit2$address() { return H5Lvisit2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static int H5Lvisit2(long grp_id, int idx_type, int order, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Lvisit2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit2", grp_id, idx_type, order, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit_by_name2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit_by_name2$descriptor() { return H5Lvisit_by_name2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lvisit_by_name2$handle() { return H5Lvisit_by_name2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lvisit_by_name2$address() { return H5Lvisit_by_name2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lvisit_by_name2(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment op, MemorySegment op_data, long lapl_id)
+ {
+ var mh$ = H5Lvisit_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit_by_name2", loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_ud {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_ud");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_ud$descriptor() { return H5Lcreate_ud.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_ud$handle() { return H5Lcreate_ud.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_ud$address() { return H5Lcreate_ud.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_ud(long link_loc_id, MemorySegment link_name, int link_type,
+ MemorySegment udata, long udata_size, long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_ud.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_ud", link_loc_id, link_name, link_type, udata, udata_size, lcpl_id,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(link_loc_id, link_name, link_type, udata, udata_size, lcpl_id,
+ lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lis_registered {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lis_registered");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Lis_registered$descriptor() { return H5Lis_registered.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static MethodHandle H5Lis_registered$handle() { return H5Lis_registered.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static MemorySegment H5Lis_registered$address() { return H5Lis_registered.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static int H5Lis_registered(int id)
+ {
+ var mh$ = H5Lis_registered.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lis_registered", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lunpack_elink_val {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lunpack_elink_val");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static FunctionDescriptor H5Lunpack_elink_val$descriptor() { return H5Lunpack_elink_val.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static MethodHandle H5Lunpack_elink_val$handle() { return H5Lunpack_elink_val.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static MemorySegment H5Lunpack_elink_val$address() { return H5Lunpack_elink_val.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static int H5Lunpack_elink_val(MemorySegment ext_linkval, long link_size, MemorySegment flags,
+ MemorySegment filename, MemorySegment obj_path)
+ {
+ var mh$ = H5Lunpack_elink_val.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lunpack_elink_val", ext_linkval, link_size, flags, filename, obj_path);
+ }
+ return (int)mh$.invokeExact(ext_linkval, link_size, flags, filename, obj_path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_external {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_external");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_external$descriptor() { return H5Lcreate_external.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_external$handle() { return H5Lcreate_external.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_external$address() { return H5Lcreate_external.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_external(MemorySegment file_name, MemorySegment obj_name, long link_loc_id,
+ MemorySegment link_name, long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_external.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_external", file_name, obj_name, link_loc_id, link_name, lcpl_id,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(file_name, obj_name, link_loc_id, link_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info1$descriptor() { return H5Lget_info1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info1$handle() { return H5Lget_info1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info1$address() { return H5Lget_info1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info1(long loc_id, MemorySegment name, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info1", loc_id, name, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info_by_idx1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info_by_idx1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info_by_idx1$descriptor() { return H5Lget_info_by_idx1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info_by_idx1$handle() { return H5Lget_info_by_idx1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info_by_idx1$address() { return H5Lget_info_by_idx1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info_by_idx1(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info_by_idx1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info_by_idx1", loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Literate1$descriptor() { return H5Literate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Literate1$handle() { return H5Literate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Literate1$address() { return H5Literate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static int H5Literate1(long grp_id, int idx_type, int order, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Literate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate1", grp_id, idx_type, order, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate_by_name1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Literate_by_name1$descriptor() { return H5Literate_by_name1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Literate_by_name1$handle() { return H5Literate_by_name1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Literate_by_name1$address() { return H5Literate_by_name1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Literate_by_name1(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment idx, MemorySegment op, MemorySegment op_data,
+ long lapl_id)
+ {
+ var mh$ = H5Literate_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate_by_name1", loc_id, group_name, idx_type, order, idx, op, op_data,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, idx, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit1$descriptor() { return H5Lvisit1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static MethodHandle H5Lvisit1$handle() { return H5Lvisit1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static MemorySegment H5Lvisit1$address() { return H5Lvisit1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static int H5Lvisit1(long grp_id, int idx_type, int order, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Lvisit1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit1", grp_id, idx_type, order, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit_by_name1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit_by_name1$descriptor() { return H5Lvisit_by_name1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lvisit_by_name1$handle() { return H5Lvisit_by_name1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lvisit_by_name1$address() { return H5Lvisit_by_name1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lvisit_by_name1(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment op, MemorySegment op_data, long lapl_id)
+ {
+ var mh$ = H5Lvisit_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit_by_name1", loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5G_STORAGE_TYPE_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_UNKNOWN = -1
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_UNKNOWN() { return H5G_STORAGE_TYPE_UNKNOWN; }
+ private static final int H5G_STORAGE_TYPE_SYMBOL_TABLE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_SYMBOL_TABLE = 0
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_SYMBOL_TABLE() { return H5G_STORAGE_TYPE_SYMBOL_TABLE; }
+ private static final int H5G_STORAGE_TYPE_COMPACT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_COMPACT = 1
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_COMPACT() { return H5G_STORAGE_TYPE_COMPACT; }
+ private static final int H5G_STORAGE_TYPE_DENSE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_DENSE = 2
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_DENSE() { return H5G_STORAGE_TYPE_DENSE; }
+
+ private static class H5Gcreate2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate2$descriptor() { return H5Gcreate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MethodHandle H5Gcreate2$handle() { return H5Gcreate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MemorySegment H5Gcreate2$address() { return H5Gcreate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static long H5Gcreate2(long loc_id, MemorySegment name, long lcpl_id, long gcpl_id, long gapl_id)
+ {
+ var mh$ = H5Gcreate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate2", loc_id, name, lcpl_id, gcpl_id, gapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, lcpl_id, gcpl_id, gapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gcreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate_async$descriptor() { return H5Gcreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gcreate_async$handle() { return H5Gcreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gcreate_async$address() { return H5Gcreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Gcreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lcpl_id, long gcpl_id,
+ long gapl_id, long es_id)
+ {
+ var mh$ = H5Gcreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate_async", app_file, app_func, app_line, loc_id, name, lcpl_id, gcpl_id,
+ gapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lcpl_id, gcpl_id,
+ gapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gcreate_anon {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate_anon");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate_anon$descriptor() { return H5Gcreate_anon.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MethodHandle H5Gcreate_anon$handle() { return H5Gcreate_anon.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MemorySegment H5Gcreate_anon$address() { return H5Gcreate_anon.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static long H5Gcreate_anon(long loc_id, long gcpl_id, long gapl_id)
+ {
+ var mh$ = H5Gcreate_anon.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate_anon", loc_id, gcpl_id, gapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, gcpl_id, gapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gopen2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gopen2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gopen2$descriptor() { return H5Gopen2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static MethodHandle H5Gopen2$handle() { return H5Gopen2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static MemorySegment H5Gopen2$address() { return H5Gopen2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static long H5Gopen2(long loc_id, MemorySegment name, long gapl_id)
+ {
+ var mh$ = H5Gopen2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gopen2", loc_id, name, gapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, gapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gopen_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gopen_async$descriptor() { return H5Gopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gopen_async$handle() { return H5Gopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gopen_async$address() { return H5Gopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Gopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long gapl_id, long es_id)
+ {
+ var mh$ = H5Gopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gopen_async", app_file, app_func, app_line, loc_id, name, gapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, gapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_create_plist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_create_plist$descriptor() { return H5Gget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Gget_create_plist$handle() { return H5Gget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Gget_create_plist$address() { return H5Gget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static long H5Gget_create_plist(long group_id)
+ {
+ var mh$ = H5Gget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_create_plist", group_id);
+ }
+ return (long)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info$descriptor() { return H5Gget_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static MethodHandle H5Gget_info$handle() { return H5Gget_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static MemorySegment H5Gget_info$address() { return H5Gget_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static int H5Gget_info(long loc_id, MemorySegment ginfo)
+ {
+ var mh$ = H5Gget_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info", loc_id, ginfo);
+ }
+ return (int)mh$.invokeExact(loc_id, ginfo);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_async$descriptor() { return H5Gget_info_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_async$handle() { return H5Gget_info_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_async$address() { return H5Gget_info_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static int H5Gget_info_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment ginfo, long es_id)
+ {
+ var mh$ = H5Gget_info_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_async", app_file, app_func, app_line, loc_id, ginfo, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, ginfo, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_name$descriptor() { return H5Gget_info_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_name$handle() { return H5Gget_info_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_name$address() { return H5Gget_info_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Gget_info_by_name(long loc_id, MemorySegment name, MemorySegment ginfo, long lapl_id)
+ {
+ var mh$ = H5Gget_info_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_name", loc_id, name, ginfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, ginfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_name_async$descriptor()
+ {
+ return H5Gget_info_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_name_async$handle() { return H5Gget_info_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_name_async$address() { return H5Gget_info_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Gget_info_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, MemorySegment ginfo,
+ long lapl_id, long es_id)
+ {
+ var mh$ = H5Gget_info_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_name_async", app_file, app_func, app_line, loc_id, name, ginfo,
+ lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, ginfo, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_idx$descriptor() { return H5Gget_info_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_idx$handle() { return H5Gget_info_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_idx$address() { return H5Gget_info_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Gget_info_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment ginfo, long lapl_id)
+ {
+ var mh$ = H5Gget_info_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_idx", loc_id, group_name, idx_type, order, n, ginfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, ginfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_idx_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_idx_async$descriptor()
+ {
+ return H5Gget_info_by_idx_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_idx_async$handle() { return H5Gget_info_by_idx_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_idx_async$address() { return H5Gget_info_by_idx_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Gget_info_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment ginfo, long lapl_id, long es_id)
+ {
+ var mh$ = H5Gget_info_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_idx_async", app_file, app_func, app_line, loc_id, group_name,
+ idx_type, order, n, ginfo, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, group_name, idx_type, order, n,
+ ginfo, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gflush$descriptor() { return H5Gflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Gflush$handle() { return H5Gflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Gflush$address() { return H5Gflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static int H5Gflush(long group_id)
+ {
+ var mh$ = H5Gflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gflush", group_id);
+ }
+ return (int)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Grefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Grefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Grefresh$descriptor() { return H5Grefresh.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Grefresh$handle() { return H5Grefresh.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Grefresh$address() { return H5Grefresh.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static int H5Grefresh(long group_id)
+ {
+ var mh$ = H5Grefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Grefresh", group_id);
+ }
+ return (int)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gclose$descriptor() { return H5Gclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Gclose$handle() { return H5Gclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Gclose$address() { return H5Gclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static int H5Gclose(long group_id)
+ {
+ var mh$ = H5Gclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gclose", group_id);
+ }
+ return (int)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gclose_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gclose_async$descriptor() { return H5Gclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gclose_async$handle() { return H5Gclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gclose_async$address() { return H5Gclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static int H5Gclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long group_id, long es_id)
+ {
+ var mh$ = H5Gclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gclose_async", app_file, app_func, app_line, group_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, group_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5G_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_UNKNOWN = -1
+ * }
+ */
+ public static int H5G_UNKNOWN() { return H5G_UNKNOWN; }
+ private static final int H5G_GROUP = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_GROUP = 0
+ * }
+ */
+ public static int H5G_GROUP() { return H5G_GROUP; }
+ private static final int H5G_DATASET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_DATASET = 1
+ * }
+ */
+ public static int H5G_DATASET() { return H5G_DATASET; }
+ private static final int H5G_TYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_TYPE = 2
+ * }
+ */
+ public static int H5G_TYPE() { return H5G_TYPE; }
+ private static final int H5G_LINK = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_LINK = 3
+ * }
+ */
+ public static int H5G_LINK() { return H5G_LINK; }
+ private static final int H5G_UDLINK = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_UDLINK = 4
+ * }
+ */
+ public static int H5G_UDLINK() { return H5G_UDLINK; }
+ private static final int H5G_RESERVED_5 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_RESERVED_5 = 5
+ * }
+ */
+ public static int H5G_RESERVED_5() { return H5G_RESERVED_5; }
+ private static final int H5G_RESERVED_6 = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_RESERVED_6 = 6
+ * }
+ */
+ public static int H5G_RESERVED_6() { return H5G_RESERVED_6; }
+ private static final int H5G_RESERVED_7 = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_RESERVED_7 = 7
+ * }
+ */
+ public static int H5G_RESERVED_7() { return H5G_RESERVED_7; }
+
+ private static class H5Gcreate1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate1$descriptor() { return H5Gcreate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static MethodHandle H5Gcreate1$handle() { return H5Gcreate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static MemorySegment H5Gcreate1$address() { return H5Gcreate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static long H5Gcreate1(long loc_id, MemorySegment name, long size_hint)
+ {
+ var mh$ = H5Gcreate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate1", loc_id, name, size_hint);
+ }
+ return (long)mh$.invokeExact(loc_id, name, size_hint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gopen1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gopen1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Gopen1$descriptor() { return H5Gopen1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Gopen1$handle() { return H5Gopen1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Gopen1$address() { return H5Gopen1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Gopen1(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Gopen1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gopen1", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Glink {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Glink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static FunctionDescriptor H5Glink$descriptor() { return H5Glink.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static MethodHandle H5Glink$handle() { return H5Glink.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static MemorySegment H5Glink$address() { return H5Glink.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static int H5Glink(long cur_loc_id, int type, MemorySegment cur_name, MemorySegment new_name)
+ {
+ var mh$ = H5Glink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Glink", cur_loc_id, type, cur_name, new_name);
+ }
+ return (int)mh$.invokeExact(cur_loc_id, type, cur_name, new_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Glink2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Glink2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static FunctionDescriptor H5Glink2$descriptor() { return H5Glink2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static MethodHandle H5Glink2$handle() { return H5Glink2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static MemorySegment H5Glink2$address() { return H5Glink2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static int H5Glink2(long cur_loc_id, MemorySegment cur_name, int type, long new_loc_id,
+ MemorySegment new_name)
+ {
+ var mh$ = H5Glink2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Glink2", cur_loc_id, cur_name, type, new_loc_id, new_name);
+ }
+ return (int)mh$.invokeExact(cur_loc_id, cur_name, type, new_loc_id, new_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gmove {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gmove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static FunctionDescriptor H5Gmove$descriptor() { return H5Gmove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static MethodHandle H5Gmove$handle() { return H5Gmove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static MemorySegment H5Gmove$address() { return H5Gmove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static int H5Gmove(long src_loc_id, MemorySegment src_name, MemorySegment dst_name)
+ {
+ var mh$ = H5Gmove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gmove", src_loc_id, src_name, dst_name);
+ }
+ return (int)mh$.invokeExact(src_loc_id, src_name, dst_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gmove2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gmove2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static FunctionDescriptor H5Gmove2$descriptor() { return H5Gmove2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static MethodHandle H5Gmove2$handle() { return H5Gmove2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static MemorySegment H5Gmove2$address() { return H5Gmove2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static int H5Gmove2(long src_loc_id, MemorySegment src_name, long dst_loc_id,
+ MemorySegment dst_name)
+ {
+ var mh$ = H5Gmove2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gmove2", src_loc_id, src_name, dst_loc_id, dst_name);
+ }
+ return (int)mh$.invokeExact(src_loc_id, src_name, dst_loc_id, dst_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gunlink {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gunlink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Gunlink$descriptor() { return H5Gunlink.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Gunlink$handle() { return H5Gunlink.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Gunlink$address() { return H5Gunlink.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static int H5Gunlink(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Gunlink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gunlink", loc_id, name);
+ }
+ return (int)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_linkval {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_linkval");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_linkval$descriptor() { return H5Gget_linkval.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static MethodHandle H5Gget_linkval$handle() { return H5Gget_linkval.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static MemorySegment H5Gget_linkval$address() { return H5Gget_linkval.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static int H5Gget_linkval(long loc_id, MemorySegment name, long size, MemorySegment buf)
+ {
+ var mh$ = H5Gget_linkval.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_linkval", loc_id, name, size, buf);
+ }
+ return (int)mh$.invokeExact(loc_id, name, size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gset_comment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gset_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static FunctionDescriptor H5Gset_comment$descriptor() { return H5Gset_comment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static MethodHandle H5Gset_comment$handle() { return H5Gset_comment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static MemorySegment H5Gset_comment$address() { return H5Gset_comment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static int H5Gset_comment(long loc_id, MemorySegment name, MemorySegment comment)
+ {
+ var mh$ = H5Gset_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gset_comment", loc_id, name, comment);
+ }
+ return (int)mh$.invokeExact(loc_id, name, comment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_comment {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_comment$descriptor() { return H5Gget_comment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static MethodHandle H5Gget_comment$handle() { return H5Gget_comment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static MemorySegment H5Gget_comment$address() { return H5Gget_comment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static int H5Gget_comment(long loc_id, MemorySegment name, long bufsize, MemorySegment buf)
+ {
+ var mh$ = H5Gget_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_comment", loc_id, name, bufsize, buf);
+ }
+ return (int)mh$.invokeExact(loc_id, name, bufsize, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Giterate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Giterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Giterate$descriptor() { return H5Giterate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Giterate$handle() { return H5Giterate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Giterate$address() { return H5Giterate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static int H5Giterate(long loc_id, MemorySegment name, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Giterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Giterate", loc_id, name, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(loc_id, name, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_num_objs {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_num_objs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_num_objs$descriptor() { return H5Gget_num_objs.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static MethodHandle H5Gget_num_objs$handle() { return H5Gget_num_objs.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static MemorySegment H5Gget_num_objs$address() { return H5Gget_num_objs.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static int H5Gget_num_objs(long loc_id, MemorySegment num_objs)
+ {
+ var mh$ = H5Gget_num_objs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_num_objs", loc_id, num_objs);
+ }
+ return (int)mh$.invokeExact(loc_id, num_objs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_objinfo {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_BOOL, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_objinfo");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_objinfo$descriptor() { return H5Gget_objinfo.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static MethodHandle H5Gget_objinfo$handle() { return H5Gget_objinfo.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static MemorySegment H5Gget_objinfo$address() { return H5Gget_objinfo.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static int H5Gget_objinfo(long loc_id, MemorySegment name, boolean follow_link,
+ MemorySegment statbuf)
+ {
+ var mh$ = H5Gget_objinfo.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_objinfo", loc_id, name, follow_link, statbuf);
+ }
+ return (int)mh$.invokeExact(loc_id, name, follow_link, statbuf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_objname_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_objname_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_objname_by_idx$descriptor() { return H5Gget_objname_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Gget_objname_by_idx$handle() { return H5Gget_objname_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Gget_objname_by_idx$address() { return H5Gget_objname_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static long H5Gget_objname_by_idx(long loc_id, long idx, MemorySegment name, long size)
+ {
+ var mh$ = H5Gget_objname_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_objname_by_idx", loc_id, idx, name, size);
+ }
+ return (long)mh$.invokeExact(loc_id, idx, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_objtype_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_objtype_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_objtype_by_idx$descriptor() { return H5Gget_objtype_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static MethodHandle H5Gget_objtype_by_idx$handle() { return H5Gget_objtype_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static MemorySegment H5Gget_objtype_by_idx$address() { return H5Gget_objtype_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static int H5Gget_objtype_by_idx(long loc_id, long idx)
+ {
+ var mh$ = H5Gget_objtype_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_objtype_by_idx", loc_id, idx);
+ }
+ return (int)mh$.invokeExact(loc_id, idx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_class_value_t
+ * }
+ */
+ public static final OfInt H5VL_class_value_t = hdf5_h.C_INT;
+ private static final int H5VL_SUBCLS_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_NONE = 0
+ * }
+ */
+ public static int H5VL_SUBCLS_NONE() { return H5VL_SUBCLS_NONE; }
+ private static final int H5VL_SUBCLS_INFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_INFO = 1
+ * }
+ */
+ public static int H5VL_SUBCLS_INFO() { return H5VL_SUBCLS_INFO; }
+ private static final int H5VL_SUBCLS_WRAP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_WRAP = 2
+ * }
+ */
+ public static int H5VL_SUBCLS_WRAP() { return H5VL_SUBCLS_WRAP; }
+ private static final int H5VL_SUBCLS_ATTR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_ATTR = 3
+ * }
+ */
+ public static int H5VL_SUBCLS_ATTR() { return H5VL_SUBCLS_ATTR; }
+ private static final int H5VL_SUBCLS_DATASET = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_DATASET = 4
+ * }
+ */
+ public static int H5VL_SUBCLS_DATASET() { return H5VL_SUBCLS_DATASET; }
+ private static final int H5VL_SUBCLS_DATATYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_DATATYPE = 5
+ * }
+ */
+ public static int H5VL_SUBCLS_DATATYPE() { return H5VL_SUBCLS_DATATYPE; }
+ private static final int H5VL_SUBCLS_FILE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_FILE = 6
+ * }
+ */
+ public static int H5VL_SUBCLS_FILE() { return H5VL_SUBCLS_FILE; }
+ private static final int H5VL_SUBCLS_GROUP = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_GROUP = 7
+ * }
+ */
+ public static int H5VL_SUBCLS_GROUP() { return H5VL_SUBCLS_GROUP; }
+ private static final int H5VL_SUBCLS_LINK = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_LINK = 8
+ * }
+ */
+ public static int H5VL_SUBCLS_LINK() { return H5VL_SUBCLS_LINK; }
+ private static final int H5VL_SUBCLS_OBJECT = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_OBJECT = 9
+ * }
+ */
+ public static int H5VL_SUBCLS_OBJECT() { return H5VL_SUBCLS_OBJECT; }
+ private static final int H5VL_SUBCLS_REQUEST = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_REQUEST = 10
+ * }
+ */
+ public static int H5VL_SUBCLS_REQUEST() { return H5VL_SUBCLS_REQUEST; }
+ private static final int H5VL_SUBCLS_BLOB = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_BLOB = 11
+ * }
+ */
+ public static int H5VL_SUBCLS_BLOB() { return H5VL_SUBCLS_BLOB; }
+ private static final int H5VL_SUBCLS_TOKEN = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_TOKEN = 12
+ * }
+ */
+ public static int H5VL_SUBCLS_TOKEN() { return H5VL_SUBCLS_TOKEN; }
+
+ private static class H5VLregister_connector_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_connector_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_connector_by_name$descriptor()
+ {
+ return H5VLregister_connector_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLregister_connector_by_name$handle()
+ {
+ return H5VLregister_connector_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLregister_connector_by_name$address()
+ {
+ return H5VLregister_connector_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static long H5VLregister_connector_by_name(MemorySegment connector_name, long vipl_id)
+ {
+ var mh$ = H5VLregister_connector_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_connector_by_name", connector_name, vipl_id);
+ }
+ return (long)mh$.invokeExact(connector_name, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLregister_connector_by_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_connector_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_connector_by_value$descriptor()
+ {
+ return H5VLregister_connector_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLregister_connector_by_value$handle()
+ {
+ return H5VLregister_connector_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLregister_connector_by_value$address()
+ {
+ return H5VLregister_connector_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static long H5VLregister_connector_by_value(int connector_value, long vipl_id)
+ {
+ var mh$ = H5VLregister_connector_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_connector_by_value", connector_value, vipl_id);
+ }
+ return (long)mh$.invokeExact(connector_value, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLis_connector_registered_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLis_connector_registered_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5VLis_connector_registered_by_name$descriptor()
+ {
+ return H5VLis_connector_registered_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static MethodHandle H5VLis_connector_registered_by_name$handle()
+ {
+ return H5VLis_connector_registered_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static MemorySegment H5VLis_connector_registered_by_name$address()
+ {
+ return H5VLis_connector_registered_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static int H5VLis_connector_registered_by_name(MemorySegment name)
+ {
+ var mh$ = H5VLis_connector_registered_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLis_connector_registered_by_name", name);
+ }
+ return (int)mh$.invokeExact(name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLis_connector_registered_by_value {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLis_connector_registered_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLis_connector_registered_by_value$descriptor()
+ {
+ return H5VLis_connector_registered_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MethodHandle H5VLis_connector_registered_by_value$handle()
+ {
+ return H5VLis_connector_registered_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MemorySegment H5VLis_connector_registered_by_value$address()
+ {
+ return H5VLis_connector_registered_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static int H5VLis_connector_registered_by_value(int connector_value)
+ {
+ var mh$ = H5VLis_connector_registered_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLis_connector_registered_by_value", connector_value);
+ }
+ return (int)mh$.invokeExact(connector_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_id {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_id");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_id$descriptor() { return H5VLget_connector_id.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_id$handle() { return H5VLget_connector_id.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_id$address() { return H5VLget_connector_id.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static long H5VLget_connector_id(long obj_id)
+ {
+ var mh$ = H5VLget_connector_id.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_id", obj_id);
+ }
+ return (long)mh$.invokeExact(obj_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_id_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_id_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_id_by_name$descriptor()
+ {
+ return H5VLget_connector_id_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_id_by_name$handle()
+ {
+ return H5VLget_connector_id_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_id_by_name$address()
+ {
+ return H5VLget_connector_id_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static long H5VLget_connector_id_by_name(MemorySegment name)
+ {
+ var mh$ = H5VLget_connector_id_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_id_by_name", name);
+ }
+ return (long)mh$.invokeExact(name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_id_by_value {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_id_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_id_by_value$descriptor()
+ {
+ return H5VLget_connector_id_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_id_by_value$handle()
+ {
+ return H5VLget_connector_id_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_id_by_value$address()
+ {
+ return H5VLget_connector_id_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static long H5VLget_connector_id_by_value(int connector_value)
+ {
+ var mh$ = H5VLget_connector_id_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_id_by_value", connector_value);
+ }
+ return (long)mh$.invokeExact(connector_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_name$descriptor()
+ {
+ return H5VLget_connector_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_name$handle() { return H5VLget_connector_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_name$address() { return H5VLget_connector_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static long H5VLget_connector_name(long id, MemorySegment name, long size)
+ {
+ var mh$ = H5VLget_connector_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_name", id, name, size);
+ }
+ return (long)mh$.invokeExact(id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLclose$descriptor() { return H5VLclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLclose$handle() { return H5VLclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLclose$address() { return H5VLclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static int H5VLclose(long connector_id)
+ {
+ var mh$ = H5VLclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLclose", connector_id);
+ }
+ return (int)mh$.invokeExact(connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLunregister_connector {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLunregister_connector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLunregister_connector$descriptor()
+ {
+ return H5VLunregister_connector.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLunregister_connector$handle() { return H5VLunregister_connector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLunregister_connector$address() { return H5VLunregister_connector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static int H5VLunregister_connector(long connector_id)
+ {
+ var mh$ = H5VLunregister_connector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLunregister_connector", connector_id);
+ }
+ return (int)mh$.invokeExact(connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLquery_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLquery_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLquery_optional$descriptor() { return H5VLquery_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static MethodHandle H5VLquery_optional$handle() { return H5VLquery_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static MemorySegment H5VLquery_optional$address() { return H5VLquery_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static int H5VLquery_optional(long obj_id, int subcls, int opt_type, MemorySegment flags)
+ {
+ var mh$ = H5VLquery_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLquery_optional", obj_id, subcls, opt_type, flags);
+ }
+ return (int)mh$.invokeExact(obj_id, subcls, opt_type, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_is_native {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_is_native");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_is_native$descriptor() { return H5VLobject_is_native.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static MethodHandle H5VLobject_is_native$handle() { return H5VLobject_is_native.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static MemorySegment H5VLobject_is_native$address() { return H5VLobject_is_native.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static int H5VLobject_is_native(long obj_id, MemorySegment is_native)
+ {
+ var mh$ = H5VLobject_is_native.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_is_native", obj_id, is_native);
+ }
+ return (int)mh$.invokeExact(obj_id, is_native);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5R_BADTYPE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_BADTYPE = -1
+ * }
+ */
+ public static int H5R_BADTYPE() { return H5R_BADTYPE; }
+ private static final int H5R_OBJECT1 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_OBJECT1 = 0
+ * }
+ */
+ public static int H5R_OBJECT1() { return H5R_OBJECT1; }
+ private static final int H5R_DATASET_REGION1 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_DATASET_REGION1 = 1
+ * }
+ */
+ public static int H5R_DATASET_REGION1() { return H5R_DATASET_REGION1; }
+ private static final int H5R_OBJECT2 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_OBJECT2 = 2
+ * }
+ */
+ public static int H5R_OBJECT2() { return H5R_OBJECT2; }
+ private static final int H5R_DATASET_REGION2 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_DATASET_REGION2 = 3
+ * }
+ */
+ public static int H5R_DATASET_REGION2() { return H5R_DATASET_REGION2; }
+ private static final int H5R_ATTR = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_ATTR = 4
+ * }
+ */
+ public static int H5R_ATTR() { return H5R_ATTR; }
+ private static final int H5R_MAXTYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_MAXTYPE = 5
+ * }
+ */
+ public static int H5R_MAXTYPE() { return H5R_MAXTYPE; }
+ /**
+ * {@snippet lang=c :
+ * typedef haddr_t hobj_ref_t
+ * }
+ */
+ public static final OfLong hobj_ref_t = hdf5_h.C_LONG;
+
+ private static class H5Rcreate_object {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate_object$descriptor() { return H5Rcreate_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcreate_object$handle() { return H5Rcreate_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcreate_object$address() { return H5Rcreate_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static int H5Rcreate_object(long loc_id, MemorySegment name, long oapl_id, MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rcreate_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate_object", loc_id, name, oapl_id, ref_ptr);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oapl_id, ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcreate_region {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate_region");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate_region$descriptor() { return H5Rcreate_region.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcreate_region$handle() { return H5Rcreate_region.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcreate_region$address() { return H5Rcreate_region.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static int H5Rcreate_region(long loc_id, MemorySegment name, long space_id, long oapl_id,
+ MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rcreate_region.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate_region", loc_id, name, space_id, oapl_id, ref_ptr);
+ }
+ return (int)mh$.invokeExact(loc_id, name, space_id, oapl_id, ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcreate_attr {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate_attr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate_attr$descriptor() { return H5Rcreate_attr.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcreate_attr$handle() { return H5Rcreate_attr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcreate_attr$address() { return H5Rcreate_attr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static int H5Rcreate_attr(long loc_id, MemorySegment name, MemorySegment attr_name, long oapl_id,
+ MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rcreate_attr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate_attr", loc_id, name, attr_name, oapl_id, ref_ptr);
+ }
+ return (int)mh$.invokeExact(loc_id, name, attr_name, oapl_id, ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rdestroy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rdestroy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rdestroy$descriptor() { return H5Rdestroy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rdestroy$handle() { return H5Rdestroy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rdestroy$address() { return H5Rdestroy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static int H5Rdestroy(MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rdestroy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rdestroy", ref_ptr);
+ }
+ return (int)mh$.invokeExact(ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_type$descriptor() { return H5Rget_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rget_type$handle() { return H5Rget_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rget_type$address() { return H5Rget_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static int H5Rget_type(MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_type", ref_ptr);
+ }
+ return (int)mh$.invokeExact(ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Requal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Requal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Requal$descriptor() { return H5Requal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static MethodHandle H5Requal$handle() { return H5Requal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static MemorySegment H5Requal$address() { return H5Requal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static int H5Requal(MemorySegment ref1_ptr, MemorySegment ref2_ptr)
+ {
+ var mh$ = H5Requal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Requal", ref1_ptr, ref2_ptr);
+ }
+ return (int)mh$.invokeExact(ref1_ptr, ref2_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcopy$descriptor() { return H5Rcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcopy$handle() { return H5Rcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcopy$address() { return H5Rcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static int H5Rcopy(MemorySegment src_ref_ptr, MemorySegment dst_ref_ptr)
+ {
+ var mh$ = H5Rcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcopy", src_ref_ptr, dst_ref_ptr);
+ }
+ return (int)mh$.invokeExact(src_ref_ptr, dst_ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_object$descriptor() { return H5Ropen_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_object$handle() { return H5Ropen_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_object$address() { return H5Ropen_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static long H5Ropen_object(MemorySegment ref_ptr, long rapl_id, long oapl_id)
+ {
+ var mh$ = H5Ropen_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_object", ref_ptr, rapl_id, oapl_id);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, oapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_object_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_object_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_object_async$descriptor() { return H5Ropen_object_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_object_async$handle() { return H5Ropen_object_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_object_async$address() { return H5Ropen_object_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Ropen_object_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment ref_ptr, long rapl_id, long oapl_id, long es_id)
+ {
+ var mh$ = H5Ropen_object_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_object_async", app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_region {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_region");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_region$descriptor() { return H5Ropen_region.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_region$handle() { return H5Ropen_region.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_region$address() { return H5Ropen_region.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static long H5Ropen_region(MemorySegment ref_ptr, long rapl_id, long oapl_id)
+ {
+ var mh$ = H5Ropen_region.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_region", ref_ptr, rapl_id, oapl_id);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, oapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_region_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_region_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_region_async$descriptor() { return H5Ropen_region_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_region_async$handle() { return H5Ropen_region_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_region_async$address() { return H5Ropen_region_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Ropen_region_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment ref_ptr, long rapl_id, long oapl_id, long es_id)
+ {
+ var mh$ = H5Ropen_region_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_region_async", app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_attr {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_attr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_attr$descriptor() { return H5Ropen_attr.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_attr$handle() { return H5Ropen_attr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_attr$address() { return H5Ropen_attr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static long H5Ropen_attr(MemorySegment ref_ptr, long rapl_id, long aapl_id)
+ {
+ var mh$ = H5Ropen_attr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_attr", ref_ptr, rapl_id, aapl_id);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, aapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_attr_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_attr_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_attr_async$descriptor() { return H5Ropen_attr_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_attr_async$handle() { return H5Ropen_attr_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_attr_async$address() { return H5Ropen_attr_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Ropen_attr_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment ref_ptr, long rapl_id, long aapl_id, long es_id)
+ {
+ var mh$ = H5Ropen_attr_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_attr_async", app_file, app_func, app_line, ref_ptr, rapl_id, aapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, ref_ptr, rapl_id, aapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_type3 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_type3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_type3$descriptor() { return H5Rget_obj_type3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_type3$handle() { return H5Rget_obj_type3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_type3$address() { return H5Rget_obj_type3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static int H5Rget_obj_type3(MemorySegment ref_ptr, long rapl_id, MemorySegment obj_type)
+ {
+ var mh$ = H5Rget_obj_type3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_type3", ref_ptr, rapl_id, obj_type);
+ }
+ return (int)mh$.invokeExact(ref_ptr, rapl_id, obj_type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_file_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_file_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_file_name$descriptor() { return H5Rget_file_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_file_name$handle() { return H5Rget_file_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_file_name$address() { return H5Rget_file_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_file_name(MemorySegment ref_ptr, MemorySegment name, long size)
+ {
+ var mh$ = H5Rget_file_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_file_name", ref_ptr, name, size);
+ }
+ return (long)mh$.invokeExact(ref_ptr, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_name$descriptor() { return H5Rget_obj_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_name$handle() { return H5Rget_obj_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_name$address() { return H5Rget_obj_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_obj_name(MemorySegment ref_ptr, long rapl_id, MemorySegment name, long size)
+ {
+ var mh$ = H5Rget_obj_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_name", ref_ptr, rapl_id, name, size);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_attr_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_attr_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_attr_name$descriptor() { return H5Rget_attr_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_attr_name$handle() { return H5Rget_attr_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_attr_name$address() { return H5Rget_attr_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_attr_name(MemorySegment ref_ptr, MemorySegment name, long size)
+ {
+ var mh$ = H5Rget_attr_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_attr_name", ref_ptr, name, size);
+ }
+ return (long)mh$.invokeExact(ref_ptr, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_type1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_type1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_type1$descriptor() { return H5Rget_obj_type1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_type1$handle() { return H5Rget_obj_type1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_type1$address() { return H5Rget_obj_type1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static int H5Rget_obj_type1(long id, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rget_obj_type1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_type1", id, ref_type, ref);
+ }
+ return (int)mh$.invokeExact(id, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rdereference1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rdereference1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rdereference1$descriptor() { return H5Rdereference1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rdereference1$handle() { return H5Rdereference1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rdereference1$address() { return H5Rdereference1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static long H5Rdereference1(long obj_id, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rdereference1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rdereference1", obj_id, ref_type, ref);
+ }
+ return (long)mh$.invokeExact(obj_id, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcreate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate$descriptor() { return H5Rcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Rcreate$handle() { return H5Rcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Rcreate$address() { return H5Rcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static int H5Rcreate(MemorySegment ref, long loc_id, MemorySegment name, int ref_type,
+ long space_id)
+ {
+ var mh$ = H5Rcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate", ref, loc_id, name, ref_type, space_id);
+ }
+ return (int)mh$.invokeExact(ref, loc_id, name, ref_type, space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_type2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_type2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_type2$descriptor() { return H5Rget_obj_type2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_type2$handle() { return H5Rget_obj_type2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_type2$address() { return H5Rget_obj_type2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static int H5Rget_obj_type2(long id, int ref_type, MemorySegment ref, MemorySegment obj_type)
+ {
+ var mh$ = H5Rget_obj_type2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_type2", id, ref_type, ref, obj_type);
+ }
+ return (int)mh$.invokeExact(id, ref_type, ref, obj_type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rdereference2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rdereference2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rdereference2$descriptor() { return H5Rdereference2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rdereference2$handle() { return H5Rdereference2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rdereference2$address() { return H5Rdereference2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static long H5Rdereference2(long obj_id, long oapl_id, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rdereference2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rdereference2", obj_id, oapl_id, ref_type, ref);
+ }
+ return (long)mh$.invokeExact(obj_id, oapl_id, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_region {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_region");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_region$descriptor() { return H5Rget_region.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rget_region$handle() { return H5Rget_region.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rget_region$address() { return H5Rget_region.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static long H5Rget_region(long dataset, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rget_region.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_region", dataset, ref_type, ref);
+ }
+ return (long)mh$.invokeExact(dataset, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_name$descriptor() { return H5Rget_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_name$handle() { return H5Rget_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_name$address() { return H5Rget_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_name(long loc_id, int ref_type, MemorySegment ref, MemorySegment name,
+ long size)
+ {
+ var mh$ = H5Rget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_name", loc_id, ref_type, ref, name, size);
+ }
+ return (long)mh$.invokeExact(loc_id, ref_type, ref, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5VL_OBJECT_BY_SELF = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_SELF = 0
+ * }
+ */
+ public static int H5VL_OBJECT_BY_SELF() { return H5VL_OBJECT_BY_SELF; }
+ private static final int H5VL_OBJECT_BY_NAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_NAME = 1
+ * }
+ */
+ public static int H5VL_OBJECT_BY_NAME() { return H5VL_OBJECT_BY_NAME; }
+ private static final int H5VL_OBJECT_BY_IDX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_IDX = 2
+ * }
+ */
+ public static int H5VL_OBJECT_BY_IDX() { return H5VL_OBJECT_BY_IDX; }
+ private static final int H5VL_OBJECT_BY_TOKEN = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_TOKEN = 3
+ * }
+ */
+ public static int H5VL_OBJECT_BY_TOKEN() { return H5VL_OBJECT_BY_TOKEN; }
+ private static final int H5VL_ATTR_GET_ACPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_ACPL = 0
+ * }
+ */
+ public static int H5VL_ATTR_GET_ACPL() { return H5VL_ATTR_GET_ACPL; }
+ private static final int H5VL_ATTR_GET_INFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_INFO = 1
+ * }
+ */
+ public static int H5VL_ATTR_GET_INFO() { return H5VL_ATTR_GET_INFO; }
+ private static final int H5VL_ATTR_GET_NAME = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_NAME = 2
+ * }
+ */
+ public static int H5VL_ATTR_GET_NAME() { return H5VL_ATTR_GET_NAME; }
+ private static final int H5VL_ATTR_GET_SPACE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_SPACE = 3
+ * }
+ */
+ public static int H5VL_ATTR_GET_SPACE() { return H5VL_ATTR_GET_SPACE; }
+ private static final int H5VL_ATTR_GET_STORAGE_SIZE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_STORAGE_SIZE = 4
+ * }
+ */
+ public static int H5VL_ATTR_GET_STORAGE_SIZE() { return H5VL_ATTR_GET_STORAGE_SIZE; }
+ private static final int H5VL_ATTR_GET_TYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_TYPE = 5
+ * }
+ */
+ public static int H5VL_ATTR_GET_TYPE() { return H5VL_ATTR_GET_TYPE; }
+ private static final int H5VL_ATTR_DELETE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_DELETE = 0
+ * }
+ */
+ public static int H5VL_ATTR_DELETE() { return H5VL_ATTR_DELETE; }
+ private static final int H5VL_ATTR_DELETE_BY_IDX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_DELETE_BY_IDX = 1
+ * }
+ */
+ public static int H5VL_ATTR_DELETE_BY_IDX() { return H5VL_ATTR_DELETE_BY_IDX; }
+ private static final int H5VL_ATTR_EXISTS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_EXISTS = 2
+ * }
+ */
+ public static int H5VL_ATTR_EXISTS() { return H5VL_ATTR_EXISTS; }
+ private static final int H5VL_ATTR_ITER = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_ITER = 3
+ * }
+ */
+ public static int H5VL_ATTR_ITER() { return H5VL_ATTR_ITER; }
+ private static final int H5VL_ATTR_RENAME = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_RENAME = 4
+ * }
+ */
+ public static int H5VL_ATTR_RENAME() { return H5VL_ATTR_RENAME; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_attr_optional_t
+ * }
+ */
+ public static final OfInt H5VL_attr_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_DATASET_GET_DAPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_DAPL = 0
+ * }
+ */
+ public static int H5VL_DATASET_GET_DAPL() { return H5VL_DATASET_GET_DAPL; }
+ private static final int H5VL_DATASET_GET_DCPL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_DCPL = 1
+ * }
+ */
+ public static int H5VL_DATASET_GET_DCPL() { return H5VL_DATASET_GET_DCPL; }
+ private static final int H5VL_DATASET_GET_SPACE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_SPACE = 2
+ * }
+ */
+ public static int H5VL_DATASET_GET_SPACE() { return H5VL_DATASET_GET_SPACE; }
+ private static final int H5VL_DATASET_GET_SPACE_STATUS = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_SPACE_STATUS = 3
+ * }
+ */
+ public static int H5VL_DATASET_GET_SPACE_STATUS() { return H5VL_DATASET_GET_SPACE_STATUS; }
+ private static final int H5VL_DATASET_GET_STORAGE_SIZE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_STORAGE_SIZE = 4
+ * }
+ */
+ public static int H5VL_DATASET_GET_STORAGE_SIZE() { return H5VL_DATASET_GET_STORAGE_SIZE; }
+ private static final int H5VL_DATASET_GET_TYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_TYPE = 5
+ * }
+ */
+ public static int H5VL_DATASET_GET_TYPE() { return H5VL_DATASET_GET_TYPE; }
+ private static final int H5VL_DATASET_SET_EXTENT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_specific_t.H5VL_DATASET_SET_EXTENT = 0
+ * }
+ */
+ public static int H5VL_DATASET_SET_EXTENT() { return H5VL_DATASET_SET_EXTENT; }
+ private static final int H5VL_DATASET_FLUSH = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_specific_t.H5VL_DATASET_FLUSH = 1
+ * }
+ */
+ public static int H5VL_DATASET_FLUSH() { return H5VL_DATASET_FLUSH; }
+ private static final int H5VL_DATASET_REFRESH = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_specific_t.H5VL_DATASET_REFRESH = 2
+ * }
+ */
+ public static int H5VL_DATASET_REFRESH() { return H5VL_DATASET_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_dataset_optional_t
+ * }
+ */
+ public static final OfInt H5VL_dataset_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_DATATYPE_GET_BINARY_SIZE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_get_t.H5VL_DATATYPE_GET_BINARY_SIZE = 0
+ * }
+ */
+ public static int H5VL_DATATYPE_GET_BINARY_SIZE() { return H5VL_DATATYPE_GET_BINARY_SIZE; }
+ private static final int H5VL_DATATYPE_GET_BINARY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_get_t.H5VL_DATATYPE_GET_BINARY = 1
+ * }
+ */
+ public static int H5VL_DATATYPE_GET_BINARY() { return H5VL_DATATYPE_GET_BINARY; }
+ private static final int H5VL_DATATYPE_GET_TCPL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_get_t.H5VL_DATATYPE_GET_TCPL = 2
+ * }
+ */
+ public static int H5VL_DATATYPE_GET_TCPL() { return H5VL_DATATYPE_GET_TCPL; }
+ private static final int H5VL_DATATYPE_FLUSH = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_specific_t.H5VL_DATATYPE_FLUSH = 0
+ * }
+ */
+ public static int H5VL_DATATYPE_FLUSH() { return H5VL_DATATYPE_FLUSH; }
+ private static final int H5VL_DATATYPE_REFRESH = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_specific_t.H5VL_DATATYPE_REFRESH = 1
+ * }
+ */
+ public static int H5VL_DATATYPE_REFRESH() { return H5VL_DATATYPE_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_datatype_optional_t
+ * }
+ */
+ public static final OfInt H5VL_datatype_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_FILE_GET_CONT_INFO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_CONT_INFO = 0
+ * }
+ */
+ public static int H5VL_FILE_GET_CONT_INFO() { return H5VL_FILE_GET_CONT_INFO; }
+ private static final int H5VL_FILE_GET_FAPL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_FAPL = 1
+ * }
+ */
+ public static int H5VL_FILE_GET_FAPL() { return H5VL_FILE_GET_FAPL; }
+ private static final int H5VL_FILE_GET_FCPL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_FCPL = 2
+ * }
+ */
+ public static int H5VL_FILE_GET_FCPL() { return H5VL_FILE_GET_FCPL; }
+ private static final int H5VL_FILE_GET_FILENO = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_FILENO = 3
+ * }
+ */
+ public static int H5VL_FILE_GET_FILENO() { return H5VL_FILE_GET_FILENO; }
+ private static final int H5VL_FILE_GET_INTENT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_INTENT = 4
+ * }
+ */
+ public static int H5VL_FILE_GET_INTENT() { return H5VL_FILE_GET_INTENT; }
+ private static final int H5VL_FILE_GET_NAME = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_NAME = 5
+ * }
+ */
+ public static int H5VL_FILE_GET_NAME() { return H5VL_FILE_GET_NAME; }
+ private static final int H5VL_FILE_GET_OBJ_COUNT = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_OBJ_COUNT = 6
+ * }
+ */
+ public static int H5VL_FILE_GET_OBJ_COUNT() { return H5VL_FILE_GET_OBJ_COUNT; }
+ private static final int H5VL_FILE_GET_OBJ_IDS = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_OBJ_IDS = 7
+ * }
+ */
+ public static int H5VL_FILE_GET_OBJ_IDS() { return H5VL_FILE_GET_OBJ_IDS; }
+ private static final int H5VL_FILE_FLUSH = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_FLUSH = 0
+ * }
+ */
+ public static int H5VL_FILE_FLUSH() { return H5VL_FILE_FLUSH; }
+ private static final int H5VL_FILE_REOPEN = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_REOPEN = 1
+ * }
+ */
+ public static int H5VL_FILE_REOPEN() { return H5VL_FILE_REOPEN; }
+ private static final int H5VL_FILE_IS_ACCESSIBLE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_IS_ACCESSIBLE = 2
+ * }
+ */
+ public static int H5VL_FILE_IS_ACCESSIBLE() { return H5VL_FILE_IS_ACCESSIBLE; }
+ private static final int H5VL_FILE_DELETE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_DELETE = 3
+ * }
+ */
+ public static int H5VL_FILE_DELETE() { return H5VL_FILE_DELETE; }
+ private static final int H5VL_FILE_IS_EQUAL = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_IS_EQUAL = 4
+ * }
+ */
+ public static int H5VL_FILE_IS_EQUAL() { return H5VL_FILE_IS_EQUAL; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_file_optional_t
+ * }
+ */
+ public static final OfInt H5VL_file_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_GROUP_GET_GCPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_get_t.H5VL_GROUP_GET_GCPL = 0
+ * }
+ */
+ public static int H5VL_GROUP_GET_GCPL() { return H5VL_GROUP_GET_GCPL; }
+ private static final int H5VL_GROUP_GET_INFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_get_t.H5VL_GROUP_GET_INFO = 1
+ * }
+ */
+ public static int H5VL_GROUP_GET_INFO() { return H5VL_GROUP_GET_INFO; }
+ private static final int H5VL_GROUP_MOUNT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_MOUNT = 0
+ * }
+ */
+ public static int H5VL_GROUP_MOUNT() { return H5VL_GROUP_MOUNT; }
+ private static final int H5VL_GROUP_UNMOUNT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_UNMOUNT = 1
+ * }
+ */
+ public static int H5VL_GROUP_UNMOUNT() { return H5VL_GROUP_UNMOUNT; }
+ private static final int H5VL_GROUP_FLUSH = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_FLUSH = 2
+ * }
+ */
+ public static int H5VL_GROUP_FLUSH() { return H5VL_GROUP_FLUSH; }
+ private static final int H5VL_GROUP_REFRESH = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_REFRESH = 3
+ * }
+ */
+ public static int H5VL_GROUP_REFRESH() { return H5VL_GROUP_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_group_optional_t
+ * }
+ */
+ public static final OfInt H5VL_group_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_LINK_CREATE_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_create_t.H5VL_LINK_CREATE_HARD = 0
+ * }
+ */
+ public static int H5VL_LINK_CREATE_HARD() { return H5VL_LINK_CREATE_HARD; }
+ private static final int H5VL_LINK_CREATE_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_create_t.H5VL_LINK_CREATE_SOFT = 1
+ * }
+ */
+ public static int H5VL_LINK_CREATE_SOFT() { return H5VL_LINK_CREATE_SOFT; }
+ private static final int H5VL_LINK_CREATE_UD = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_create_t.H5VL_LINK_CREATE_UD = 2
+ * }
+ */
+ public static int H5VL_LINK_CREATE_UD() { return H5VL_LINK_CREATE_UD; }
+ private static final int H5VL_LINK_GET_INFO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_get_t.H5VL_LINK_GET_INFO = 0
+ * }
+ */
+ public static int H5VL_LINK_GET_INFO() { return H5VL_LINK_GET_INFO; }
+ private static final int H5VL_LINK_GET_NAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_get_t.H5VL_LINK_GET_NAME = 1
+ * }
+ */
+ public static int H5VL_LINK_GET_NAME() { return H5VL_LINK_GET_NAME; }
+ private static final int H5VL_LINK_GET_VAL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_get_t.H5VL_LINK_GET_VAL = 2
+ * }
+ */
+ public static int H5VL_LINK_GET_VAL() { return H5VL_LINK_GET_VAL; }
+ private static final int H5VL_LINK_DELETE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_specific_t.H5VL_LINK_DELETE = 0
+ * }
+ */
+ public static int H5VL_LINK_DELETE() { return H5VL_LINK_DELETE; }
+ private static final int H5VL_LINK_EXISTS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_specific_t.H5VL_LINK_EXISTS = 1
+ * }
+ */
+ public static int H5VL_LINK_EXISTS() { return H5VL_LINK_EXISTS; }
+ private static final int H5VL_LINK_ITER = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_specific_t.H5VL_LINK_ITER = 2
+ * }
+ */
+ public static int H5VL_LINK_ITER() { return H5VL_LINK_ITER; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_link_optional_t
+ * }
+ */
+ public static final OfInt H5VL_link_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_OBJECT_GET_FILE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_FILE = 0
+ * }
+ */
+ public static int H5VL_OBJECT_GET_FILE() { return H5VL_OBJECT_GET_FILE; }
+ private static final int H5VL_OBJECT_GET_NAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_NAME = 1
+ * }
+ */
+ public static int H5VL_OBJECT_GET_NAME() { return H5VL_OBJECT_GET_NAME; }
+ private static final int H5VL_OBJECT_GET_TYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_TYPE = 2
+ * }
+ */
+ public static int H5VL_OBJECT_GET_TYPE() { return H5VL_OBJECT_GET_TYPE; }
+ private static final int H5VL_OBJECT_GET_INFO = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_INFO = 3
+ * }
+ */
+ public static int H5VL_OBJECT_GET_INFO() { return H5VL_OBJECT_GET_INFO; }
+ private static final int H5VL_OBJECT_CHANGE_REF_COUNT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_CHANGE_REF_COUNT = 0
+ * }
+ */
+ public static int H5VL_OBJECT_CHANGE_REF_COUNT() { return H5VL_OBJECT_CHANGE_REF_COUNT; }
+ private static final int H5VL_OBJECT_EXISTS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_EXISTS = 1
+ * }
+ */
+ public static int H5VL_OBJECT_EXISTS() { return H5VL_OBJECT_EXISTS; }
+ private static final int H5VL_OBJECT_LOOKUP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_LOOKUP = 2
+ * }
+ */
+ public static int H5VL_OBJECT_LOOKUP() { return H5VL_OBJECT_LOOKUP; }
+ private static final int H5VL_OBJECT_VISIT = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_VISIT = 3
+ * }
+ */
+ public static int H5VL_OBJECT_VISIT() { return H5VL_OBJECT_VISIT; }
+ private static final int H5VL_OBJECT_FLUSH = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_FLUSH = 4
+ * }
+ */
+ public static int H5VL_OBJECT_FLUSH() { return H5VL_OBJECT_FLUSH; }
+ private static final int H5VL_OBJECT_REFRESH = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_REFRESH = 5
+ * }
+ */
+ public static int H5VL_OBJECT_REFRESH() { return H5VL_OBJECT_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_object_optional_t
+ * }
+ */
+ public static final OfInt H5VL_object_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_REQUEST_STATUS_IN_PROGRESS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_IN_PROGRESS = 0
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_IN_PROGRESS() { return H5VL_REQUEST_STATUS_IN_PROGRESS; }
+ private static final int H5VL_REQUEST_STATUS_SUCCEED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_SUCCEED = 1
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_SUCCEED() { return H5VL_REQUEST_STATUS_SUCCEED; }
+ private static final int H5VL_REQUEST_STATUS_FAIL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_FAIL = 2
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_FAIL() { return H5VL_REQUEST_STATUS_FAIL; }
+ private static final int H5VL_REQUEST_STATUS_CANT_CANCEL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_CANT_CANCEL = 3
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_CANT_CANCEL() { return H5VL_REQUEST_STATUS_CANT_CANCEL; }
+ private static final int H5VL_REQUEST_STATUS_CANCELED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_CANCELED = 4
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_CANCELED() { return H5VL_REQUEST_STATUS_CANCELED; }
+ private static final int H5VL_REQUEST_GET_ERR_STACK = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_specific_t.H5VL_REQUEST_GET_ERR_STACK = 0
+ * }
+ */
+ public static int H5VL_REQUEST_GET_ERR_STACK() { return H5VL_REQUEST_GET_ERR_STACK; }
+ private static final int H5VL_REQUEST_GET_EXEC_TIME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_specific_t.H5VL_REQUEST_GET_EXEC_TIME = 1
+ * }
+ */
+ public static int H5VL_REQUEST_GET_EXEC_TIME() { return H5VL_REQUEST_GET_EXEC_TIME; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_request_optional_t
+ * }
+ */
+ public static final OfInt H5VL_request_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_BLOB_DELETE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_blob_specific_t.H5VL_BLOB_DELETE = 0
+ * }
+ */
+ public static int H5VL_BLOB_DELETE() { return H5VL_BLOB_DELETE; }
+ private static final int H5VL_BLOB_ISNULL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_blob_specific_t.H5VL_BLOB_ISNULL = 1
+ * }
+ */
+ public static int H5VL_BLOB_ISNULL() { return H5VL_BLOB_ISNULL; }
+ private static final int H5VL_BLOB_SETNULL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_blob_specific_t.H5VL_BLOB_SETNULL = 2
+ * }
+ */
+ public static int H5VL_BLOB_SETNULL() { return H5VL_BLOB_SETNULL; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_blob_optional_t
+ * }
+ */
+ public static final OfInt H5VL_blob_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_GET_CONN_LVL_CURR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_get_conn_lvl_t.H5VL_GET_CONN_LVL_CURR = 0
+ * }
+ */
+ public static int H5VL_GET_CONN_LVL_CURR() { return H5VL_GET_CONN_LVL_CURR; }
+ private static final int H5VL_GET_CONN_LVL_TERM = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_get_conn_lvl_t.H5VL_GET_CONN_LVL_TERM = 1
+ * }
+ */
+ public static int H5VL_GET_CONN_LVL_TERM() { return H5VL_GET_CONN_LVL_TERM; }
+
+ private static class H5VLregister_connector {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_connector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_connector$descriptor()
+ {
+ return H5VLregister_connector.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLregister_connector$handle() { return H5VLregister_connector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLregister_connector$address() { return H5VLregister_connector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static long H5VLregister_connector(MemorySegment cls, long vipl_id)
+ {
+ var mh$ = H5VLregister_connector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_connector", cls, vipl_id);
+ }
+ return (long)mh$.invokeExact(cls, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject$descriptor() { return H5VLobject.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static MethodHandle H5VLobject$handle() { return H5VLobject.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5VLobject$address() { return H5VLobject.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5VLobject(long obj_id)
+ {
+ var mh$ = H5VLobject.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject", obj_id);
+ }
+ return (MemorySegment)mh$.invokeExact(obj_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_file_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_file_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_file_type$descriptor() { return H5VLget_file_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static MethodHandle H5VLget_file_type$handle() { return H5VLget_file_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static MemorySegment H5VLget_file_type$address() { return H5VLget_file_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static long H5VLget_file_type(MemorySegment file_obj, long connector_id, long dtype_id)
+ {
+ var mh$ = H5VLget_file_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_file_type", file_obj, connector_id, dtype_id);
+ }
+ return (long)mh$.invokeExact(file_obj, connector_id, dtype_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLregister_opt_operation {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_opt_operation");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_opt_operation$descriptor()
+ {
+ return H5VLregister_opt_operation.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MethodHandle H5VLregister_opt_operation$handle()
+ {
+ return H5VLregister_opt_operation.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MemorySegment H5VLregister_opt_operation$address()
+ {
+ return H5VLregister_opt_operation.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static int H5VLregister_opt_operation(int subcls, MemorySegment op_name, MemorySegment op_val)
+ {
+ var mh$ = H5VLregister_opt_operation.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_opt_operation", subcls, op_name, op_val);
+ }
+ return (int)mh$.invokeExact(subcls, op_name, op_val);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfind_opt_operation {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfind_opt_operation");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static FunctionDescriptor H5VLfind_opt_operation$descriptor()
+ {
+ return H5VLfind_opt_operation.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MethodHandle H5VLfind_opt_operation$handle() { return H5VLfind_opt_operation.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MemorySegment H5VLfind_opt_operation$address() { return H5VLfind_opt_operation.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static int H5VLfind_opt_operation(int subcls, MemorySegment op_name, MemorySegment op_val)
+ {
+ var mh$ = H5VLfind_opt_operation.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfind_opt_operation", subcls, op_name, op_val);
+ }
+ return (int)mh$.invokeExact(subcls, op_name, op_val);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLunregister_opt_operation {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLunregister_opt_operation");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static FunctionDescriptor H5VLunregister_opt_operation$descriptor()
+ {
+ return H5VLunregister_opt_operation.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static MethodHandle H5VLunregister_opt_operation$handle()
+ {
+ return H5VLunregister_opt_operation.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static MemorySegment H5VLunregister_opt_operation$address()
+ {
+ return H5VLunregister_opt_operation.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static int H5VLunregister_opt_operation(int subcls, MemorySegment op_name)
+ {
+ var mh$ = H5VLunregister_opt_operation.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLunregister_opt_operation", subcls, op_name);
+ }
+ return (int)mh$.invokeExact(subcls, op_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_optional_op {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_optional_op$descriptor() { return H5VLattr_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLattr_optional_op$handle() { return H5VLattr_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLattr_optional_op$address() { return H5VLattr_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLattr_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long attr_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLattr_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_optional_op", app_file, app_func, app_line, attr_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_optional_op {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_optional_op$descriptor()
+ {
+ return H5VLdataset_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLdataset_optional_op$handle() { return H5VLdataset_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLdataset_optional_op$address() { return H5VLdataset_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLdataset_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLdataset_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_optional_op", app_file, app_func, app_line, dset_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_optional_op {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_optional_op$descriptor()
+ {
+ return H5VLdatatype_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_optional_op$handle() { return H5VLdatatype_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_optional_op$address() { return H5VLdatatype_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLdatatype_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long type_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLdatatype_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_optional_op", app_file, app_func, app_line, type_id, args,
+ dxpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, type_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_optional_op {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_optional_op$descriptor() { return H5VLfile_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLfile_optional_op$handle() { return H5VLfile_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLfile_optional_op$address() { return H5VLfile_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLfile_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long file_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLfile_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_optional_op", app_file, app_func, app_line, file_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, file_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_optional_op {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_optional_op$descriptor() { return H5VLgroup_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLgroup_optional_op$handle() { return H5VLgroup_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLgroup_optional_op$address() { return H5VLgroup_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLgroup_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long group_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLgroup_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_optional_op", app_file, app_func, app_line, group_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, group_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_optional_op$descriptor() { return H5VLlink_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLlink_optional_op$handle() { return H5VLlink_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLlink_optional_op$address() { return H5VLlink_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLlink_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lapl_id, MemorySegment args,
+ long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLlink_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_optional_op", app_file, app_func, app_line, loc_id, name, lapl_id,
+ args, dxpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, args, dxpl_id,
+ es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_optional_op$descriptor()
+ {
+ return H5VLobject_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLobject_optional_op$handle() { return H5VLobject_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLobject_optional_op$address() { return H5VLobject_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLobject_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lapl_id,
+ MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLobject_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_optional_op", app_file, app_func, app_line, loc_id, name, lapl_id,
+ args, dxpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, args, dxpl_id,
+ es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_optional_op {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_optional_op$descriptor()
+ {
+ return H5VLrequest_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLrequest_optional_op$handle() { return H5VLrequest_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLrequest_optional_op$address() { return H5VLrequest_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static int H5VLrequest_optional_op(MemorySegment req, long connector_id, MemorySegment args)
+ {
+ var mh$ = H5VLrequest_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_optional_op", req, connector_id, args);
+ }
+ return (int)mh$.invokeExact(req, connector_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5VL_MAP_GET_MAPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_MAPL = 0
+ * }
+ */
+ public static int H5VL_MAP_GET_MAPL() { return H5VL_MAP_GET_MAPL; }
+ private static final int H5VL_MAP_GET_MCPL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_MCPL = 1
+ * }
+ */
+ public static int H5VL_MAP_GET_MCPL() { return H5VL_MAP_GET_MCPL; }
+ private static final int H5VL_MAP_GET_KEY_TYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_KEY_TYPE = 2
+ * }
+ */
+ public static int H5VL_MAP_GET_KEY_TYPE() { return H5VL_MAP_GET_KEY_TYPE; }
+ private static final int H5VL_MAP_GET_VAL_TYPE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_VAL_TYPE = 3
+ * }
+ */
+ public static int H5VL_MAP_GET_VAL_TYPE() { return H5VL_MAP_GET_VAL_TYPE; }
+ private static final int H5VL_MAP_GET_COUNT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_COUNT = 4
+ * }
+ */
+ public static int H5VL_MAP_GET_COUNT() { return H5VL_MAP_GET_COUNT; }
+ private static final int H5VL_MAP_ITER = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_specific_t.H5VL_MAP_ITER = 0
+ * }
+ */
+ public static int H5VL_MAP_ITER() { return H5VL_MAP_ITER; }
+ private static final int H5VL_MAP_DELETE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_specific_t.H5VL_MAP_DELETE = 1
+ * }
+ */
+ public static int H5VL_MAP_DELETE() { return H5VL_MAP_DELETE; }
+ private static final int H5S_NO_CLASS = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_NO_CLASS = -1
+ * }
+ */
+ public static int H5S_NO_CLASS() { return H5S_NO_CLASS; }
+ private static final int H5S_SCALAR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_SCALAR = 0
+ * }
+ */
+ public static int H5S_SCALAR() { return H5S_SCALAR; }
+ private static final int H5S_SIMPLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_SIMPLE = 1
+ * }
+ */
+ public static int H5S_SIMPLE() { return H5S_SIMPLE; }
+ private static final int H5S_NULL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_NULL = 2
+ * }
+ */
+ public static int H5S_NULL() { return H5S_NULL; }
+ private static final int H5S_SELECT_NOOP = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_NOOP = -1
+ * }
+ */
+ public static int H5S_SELECT_NOOP() { return H5S_SELECT_NOOP; }
+ private static final int H5S_SELECT_SET = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_SET = 0
+ * }
+ */
+ public static int H5S_SELECT_SET() { return H5S_SELECT_SET; }
+ private static final int H5S_SELECT_OR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_OR = 1
+ * }
+ */
+ public static int H5S_SELECT_OR() { return H5S_SELECT_OR; }
+ private static final int H5S_SELECT_AND = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_AND = 2
+ * }
+ */
+ public static int H5S_SELECT_AND() { return H5S_SELECT_AND; }
+ private static final int H5S_SELECT_XOR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_XOR = 3
+ * }
+ */
+ public static int H5S_SELECT_XOR() { return H5S_SELECT_XOR; }
+ private static final int H5S_SELECT_NOTB = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_NOTB = 4
+ * }
+ */
+ public static int H5S_SELECT_NOTB() { return H5S_SELECT_NOTB; }
+ private static final int H5S_SELECT_NOTA = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_NOTA = 5
+ * }
+ */
+ public static int H5S_SELECT_NOTA() { return H5S_SELECT_NOTA; }
+ private static final int H5S_SELECT_APPEND = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_APPEND = 6
+ * }
+ */
+ public static int H5S_SELECT_APPEND() { return H5S_SELECT_APPEND; }
+ private static final int H5S_SELECT_PREPEND = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_PREPEND = 7
+ * }
+ */
+ public static int H5S_SELECT_PREPEND() { return H5S_SELECT_PREPEND; }
+ private static final int H5S_SELECT_INVALID = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_INVALID = 8
+ * }
+ */
+ public static int H5S_SELECT_INVALID() { return H5S_SELECT_INVALID; }
+ private static final int H5S_SEL_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_ERROR = -1
+ * }
+ */
+ public static int H5S_SEL_ERROR() { return H5S_SEL_ERROR; }
+ private static final int H5S_SEL_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_NONE = 0
+ * }
+ */
+ public static int H5S_SEL_NONE() { return H5S_SEL_NONE; }
+ private static final int H5S_SEL_POINTS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_POINTS = 1
+ * }
+ */
+ public static int H5S_SEL_POINTS() { return H5S_SEL_POINTS; }
+ private static final int H5S_SEL_HYPERSLABS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_HYPERSLABS = 2
+ * }
+ */
+ public static int H5S_SEL_HYPERSLABS() { return H5S_SEL_HYPERSLABS; }
+ private static final int H5S_SEL_ALL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_ALL = 3
+ * }
+ */
+ public static int H5S_SEL_ALL() { return H5S_SEL_ALL; }
+ private static final int H5S_SEL_N = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_N = 4
+ * }
+ */
+ public static int H5S_SEL_N() { return H5S_SEL_N; }
+
+ private static class H5Sclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sclose$descriptor() { return H5Sclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sclose$handle() { return H5Sclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sclose$address() { return H5Sclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static int H5Sclose(long space_id)
+ {
+ var mh$ = H5Sclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sclose", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Scombine_hyperslab {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Scombine_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Scombine_hyperslab$descriptor() { return H5Scombine_hyperslab.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Scombine_hyperslab$handle() { return H5Scombine_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Scombine_hyperslab$address() { return H5Scombine_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static long H5Scombine_hyperslab(long space_id, int op, MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Scombine_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Scombine_hyperslab", space_id, op, start, stride, count, block);
+ }
+ return (long)mh$.invokeExact(space_id, op, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Scombine_select {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Scombine_select");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Scombine_select$descriptor() { return H5Scombine_select.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Scombine_select$handle() { return H5Scombine_select.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Scombine_select$address() { return H5Scombine_select.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static long H5Scombine_select(long space1_id, int op, long space2_id)
+ {
+ var mh$ = H5Scombine_select.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Scombine_select", space1_id, op, space2_id);
+ }
+ return (long)mh$.invokeExact(space1_id, op, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Scopy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Scopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Scopy$descriptor() { return H5Scopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Scopy$handle() { return H5Scopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Scopy$address() { return H5Scopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static long H5Scopy(long space_id)
+ {
+ var mh$ = H5Scopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Scopy", space_id);
+ }
+ return (long)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Screate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Screate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Screate$descriptor() { return H5Screate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static MethodHandle H5Screate$handle() { return H5Screate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static MemorySegment H5Screate$address() { return H5Screate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static long H5Screate(int type)
+ {
+ var mh$ = H5Screate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Screate", type);
+ }
+ return (long)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Screate_simple {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Screate_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static FunctionDescriptor H5Screate_simple$descriptor() { return H5Screate_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static MethodHandle H5Screate_simple$handle() { return H5Screate_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static MemorySegment H5Screate_simple$address() { return H5Screate_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static long H5Screate_simple(int rank, MemorySegment dims, MemorySegment maxdims)
+ {
+ var mh$ = H5Screate_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Screate_simple", rank, dims, maxdims);
+ }
+ return (long)mh$.invokeExact(rank, dims, maxdims);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sdecode {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sdecode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Sdecode$descriptor() { return H5Sdecode.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static MethodHandle H5Sdecode$handle() { return H5Sdecode.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static MemorySegment H5Sdecode$address() { return H5Sdecode.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static long H5Sdecode(MemorySegment buf)
+ {
+ var mh$ = H5Sdecode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sdecode", buf);
+ }
+ return (long)mh$.invokeExact(buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sencode2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sencode2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static FunctionDescriptor H5Sencode2$descriptor() { return H5Sencode2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static MethodHandle H5Sencode2$handle() { return H5Sencode2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static MemorySegment H5Sencode2$address() { return H5Sencode2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static int H5Sencode2(long obj_id, MemorySegment buf, MemorySegment nalloc, long fapl)
+ {
+ var mh$ = H5Sencode2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sencode2", obj_id, buf, nalloc, fapl);
+ }
+ return (int)mh$.invokeExact(obj_id, buf, nalloc, fapl);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sextent_copy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sextent_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sextent_copy$descriptor() { return H5Sextent_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MethodHandle H5Sextent_copy$handle() { return H5Sextent_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MemorySegment H5Sextent_copy$address() { return H5Sextent_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static int H5Sextent_copy(long dst_id, long src_id)
+ {
+ var mh$ = H5Sextent_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sextent_copy", dst_id, src_id);
+ }
+ return (int)mh$.invokeExact(dst_id, src_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sextent_equal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sextent_equal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sextent_equal$descriptor() { return H5Sextent_equal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Sextent_equal$handle() { return H5Sextent_equal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Sextent_equal$address() { return H5Sextent_equal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static int H5Sextent_equal(long space1_id, long space2_id)
+ {
+ var mh$ = H5Sextent_equal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sextent_equal", space1_id, space2_id);
+ }
+ return (int)mh$.invokeExact(space1_id, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_regular_hyperslab {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_regular_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_regular_hyperslab$descriptor()
+ {
+ return H5Sget_regular_hyperslab.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Sget_regular_hyperslab$handle() { return H5Sget_regular_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Sget_regular_hyperslab$address() { return H5Sget_regular_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static int H5Sget_regular_hyperslab(long spaceid, MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Sget_regular_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_regular_hyperslab", spaceid, start, stride, count, block);
+ }
+ return (int)mh$.invokeExact(spaceid, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_bounds$descriptor() { return H5Sget_select_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static MethodHandle H5Sget_select_bounds$handle() { return H5Sget_select_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static MemorySegment H5Sget_select_bounds$address() { return H5Sget_select_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static int H5Sget_select_bounds(long spaceid, MemorySegment start, MemorySegment end)
+ {
+ var mh$ = H5Sget_select_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_bounds", spaceid, start, end);
+ }
+ return (int)mh$.invokeExact(spaceid, start, end);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_elem_npoints {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_elem_npoints");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_elem_npoints$descriptor()
+ {
+ return H5Sget_select_elem_npoints.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_elem_npoints$handle()
+ {
+ return H5Sget_select_elem_npoints.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_elem_npoints$address()
+ {
+ return H5Sget_select_elem_npoints.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static long H5Sget_select_elem_npoints(long spaceid)
+ {
+ var mh$ = H5Sget_select_elem_npoints.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_elem_npoints", spaceid);
+ }
+ return (long)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_elem_pointlist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_elem_pointlist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_elem_pointlist$descriptor()
+ {
+ return H5Sget_select_elem_pointlist.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static MethodHandle H5Sget_select_elem_pointlist$handle()
+ {
+ return H5Sget_select_elem_pointlist.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static MemorySegment H5Sget_select_elem_pointlist$address()
+ {
+ return H5Sget_select_elem_pointlist.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static int H5Sget_select_elem_pointlist(long spaceid, long startpoint, long numpoints,
+ MemorySegment buf)
+ {
+ var mh$ = H5Sget_select_elem_pointlist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_elem_pointlist", spaceid, startpoint, numpoints, buf);
+ }
+ return (int)mh$.invokeExact(spaceid, startpoint, numpoints, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_hyper_blocklist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_hyper_blocklist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_hyper_blocklist$descriptor()
+ {
+ return H5Sget_select_hyper_blocklist.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static MethodHandle H5Sget_select_hyper_blocklist$handle()
+ {
+ return H5Sget_select_hyper_blocklist.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static MemorySegment H5Sget_select_hyper_blocklist$address()
+ {
+ return H5Sget_select_hyper_blocklist.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static int H5Sget_select_hyper_blocklist(long spaceid, long startblock, long numblocks,
+ MemorySegment buf)
+ {
+ var mh$ = H5Sget_select_hyper_blocklist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_hyper_blocklist", spaceid, startblock, numblocks, buf);
+ }
+ return (int)mh$.invokeExact(spaceid, startblock, numblocks, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_hyper_nblocks {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_hyper_nblocks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_hyper_nblocks$descriptor()
+ {
+ return H5Sget_select_hyper_nblocks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_hyper_nblocks$handle()
+ {
+ return H5Sget_select_hyper_nblocks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_hyper_nblocks$address()
+ {
+ return H5Sget_select_hyper_nblocks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static long H5Sget_select_hyper_nblocks(long spaceid)
+ {
+ var mh$ = H5Sget_select_hyper_nblocks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_hyper_nblocks", spaceid);
+ }
+ return (long)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_npoints {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_npoints");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_npoints$descriptor() { return H5Sget_select_npoints.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_npoints$handle() { return H5Sget_select_npoints.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_npoints$address() { return H5Sget_select_npoints.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static long H5Sget_select_npoints(long spaceid)
+ {
+ var mh$ = H5Sget_select_npoints.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_npoints", spaceid);
+ }
+ return (long)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_type$descriptor() { return H5Sget_select_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_type$handle() { return H5Sget_select_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_type$address() { return H5Sget_select_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static int H5Sget_select_type(long spaceid)
+ {
+ var mh$ = H5Sget_select_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_type", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_dims {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_dims");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_dims$descriptor()
+ {
+ return H5Sget_simple_extent_dims.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_dims$handle() { return H5Sget_simple_extent_dims.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_dims$address() { return H5Sget_simple_extent_dims.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static int H5Sget_simple_extent_dims(long space_id, MemorySegment dims, MemorySegment maxdims)
+ {
+ var mh$ = H5Sget_simple_extent_dims.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_dims", space_id, dims, maxdims);
+ }
+ return (int)mh$.invokeExact(space_id, dims, maxdims);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_ndims {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_ndims");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_ndims$descriptor()
+ {
+ return H5Sget_simple_extent_ndims.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_ndims$handle()
+ {
+ return H5Sget_simple_extent_ndims.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_ndims$address()
+ {
+ return H5Sget_simple_extent_ndims.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static int H5Sget_simple_extent_ndims(long space_id)
+ {
+ var mh$ = H5Sget_simple_extent_ndims.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_ndims", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_npoints {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_npoints");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_npoints$descriptor()
+ {
+ return H5Sget_simple_extent_npoints.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_npoints$handle()
+ {
+ return H5Sget_simple_extent_npoints.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_npoints$address()
+ {
+ return H5Sget_simple_extent_npoints.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static long H5Sget_simple_extent_npoints(long space_id)
+ {
+ var mh$ = H5Sget_simple_extent_npoints.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_npoints", space_id);
+ }
+ return (long)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_type$descriptor()
+ {
+ return H5Sget_simple_extent_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_type$handle() { return H5Sget_simple_extent_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_type$address() { return H5Sget_simple_extent_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static int H5Sget_simple_extent_type(long space_id)
+ {
+ var mh$ = H5Sget_simple_extent_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_type", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sis_regular_hyperslab {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sis_regular_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sis_regular_hyperslab$descriptor()
+ {
+ return H5Sis_regular_hyperslab.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sis_regular_hyperslab$handle() { return H5Sis_regular_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sis_regular_hyperslab$address() { return H5Sis_regular_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static int H5Sis_regular_hyperslab(long spaceid)
+ {
+ var mh$ = H5Sis_regular_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sis_regular_hyperslab", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sis_simple {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sis_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sis_simple$descriptor() { return H5Sis_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sis_simple$handle() { return H5Sis_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sis_simple$address() { return H5Sis_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static int H5Sis_simple(long space_id)
+ {
+ var mh$ = H5Sis_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sis_simple", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Smodify_select {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Smodify_select");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Smodify_select$descriptor() { return H5Smodify_select.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Smodify_select$handle() { return H5Smodify_select.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Smodify_select$address() { return H5Smodify_select.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static int H5Smodify_select(long space1_id, int op, long space2_id)
+ {
+ var mh$ = H5Smodify_select.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Smodify_select", space1_id, op, space2_id);
+ }
+ return (int)mh$.invokeExact(space1_id, op, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Soffset_simple {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Soffset_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static FunctionDescriptor H5Soffset_simple$descriptor() { return H5Soffset_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static MethodHandle H5Soffset_simple$handle() { return H5Soffset_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static MemorySegment H5Soffset_simple$address() { return H5Soffset_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static int H5Soffset_simple(long space_id, MemorySegment offset)
+ {
+ var mh$ = H5Soffset_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Soffset_simple", space_id, offset);
+ }
+ return (int)mh$.invokeExact(space_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_close$descriptor() { return H5Ssel_iter_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_close$handle() { return H5Ssel_iter_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_close$address() { return H5Ssel_iter_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static int H5Ssel_iter_close(long sel_iter_id)
+ {
+ var mh$ = H5Ssel_iter_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_close", sel_iter_id);
+ }
+ return (int)mh$.invokeExact(sel_iter_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_create$descriptor() { return H5Ssel_iter_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_create$handle() { return H5Ssel_iter_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_create$address() { return H5Ssel_iter_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static long H5Ssel_iter_create(long spaceid, long elmt_size, int flags)
+ {
+ var mh$ = H5Ssel_iter_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_create", spaceid, elmt_size, flags);
+ }
+ return (long)mh$.invokeExact(spaceid, elmt_size, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_get_seq_list {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_get_seq_list");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_get_seq_list$descriptor()
+ {
+ return H5Ssel_iter_get_seq_list.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_get_seq_list$handle() { return H5Ssel_iter_get_seq_list.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_get_seq_list$address() { return H5Ssel_iter_get_seq_list.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static int H5Ssel_iter_get_seq_list(long sel_iter_id, long maxseq, long maxelmts,
+ MemorySegment nseq, MemorySegment nelmts, MemorySegment off,
+ MemorySegment len)
+ {
+ var mh$ = H5Ssel_iter_get_seq_list.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_get_seq_list", sel_iter_id, maxseq, maxelmts, nseq, nelmts, off,
+ len);
+ }
+ return (int)mh$.invokeExact(sel_iter_id, maxseq, maxelmts, nseq, nelmts, off, len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_reset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_reset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_reset$descriptor() { return H5Ssel_iter_reset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_reset$handle() { return H5Ssel_iter_reset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_reset$address() { return H5Ssel_iter_reset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static int H5Ssel_iter_reset(long sel_iter_id, long space_id)
+ {
+ var mh$ = H5Ssel_iter_reset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_reset", sel_iter_id, space_id);
+ }
+ return (int)mh$.invokeExact(sel_iter_id, space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_adjust {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_adjust");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_adjust$descriptor() { return H5Sselect_adjust.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static MethodHandle H5Sselect_adjust$handle() { return H5Sselect_adjust.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static MemorySegment H5Sselect_adjust$address() { return H5Sselect_adjust.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static int H5Sselect_adjust(long spaceid, MemorySegment offset)
+ {
+ var mh$ = H5Sselect_adjust.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_adjust", spaceid, offset);
+ }
+ return (int)mh$.invokeExact(spaceid, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_all {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_all");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_all$descriptor() { return H5Sselect_all.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sselect_all$handle() { return H5Sselect_all.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sselect_all$address() { return H5Sselect_all.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static int H5Sselect_all(long spaceid)
+ {
+ var mh$ = H5Sselect_all.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_all", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_copy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_copy$descriptor() { return H5Sselect_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MethodHandle H5Sselect_copy$handle() { return H5Sselect_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MemorySegment H5Sselect_copy$address() { return H5Sselect_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static int H5Sselect_copy(long dst_id, long src_id)
+ {
+ var mh$ = H5Sselect_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_copy", dst_id, src_id);
+ }
+ return (int)mh$.invokeExact(dst_id, src_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_elements {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_elements");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_elements$descriptor() { return H5Sselect_elements.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static MethodHandle H5Sselect_elements$handle() { return H5Sselect_elements.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static MemorySegment H5Sselect_elements$address() { return H5Sselect_elements.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static int H5Sselect_elements(long space_id, int op, long num_elem, MemorySegment coord)
+ {
+ var mh$ = H5Sselect_elements.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_elements", space_id, op, num_elem, coord);
+ }
+ return (int)mh$.invokeExact(space_id, op, num_elem, coord);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_hyperslab {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_hyperslab$descriptor() { return H5Sselect_hyperslab.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Sselect_hyperslab$handle() { return H5Sselect_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Sselect_hyperslab$address() { return H5Sselect_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static int H5Sselect_hyperslab(long space_id, int op, MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Sselect_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_hyperslab", space_id, op, start, stride, count, block);
+ }
+ return (int)mh$.invokeExact(space_id, op, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_intersect_block {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_intersect_block");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_intersect_block$descriptor()
+ {
+ return H5Sselect_intersect_block.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static MethodHandle H5Sselect_intersect_block$handle() { return H5Sselect_intersect_block.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static MemorySegment H5Sselect_intersect_block$address() { return H5Sselect_intersect_block.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static int H5Sselect_intersect_block(long space_id, MemorySegment start, MemorySegment end)
+ {
+ var mh$ = H5Sselect_intersect_block.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_intersect_block", space_id, start, end);
+ }
+ return (int)mh$.invokeExact(space_id, start, end);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_none {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_none");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_none$descriptor() { return H5Sselect_none.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sselect_none$handle() { return H5Sselect_none.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sselect_none$address() { return H5Sselect_none.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static int H5Sselect_none(long spaceid)
+ {
+ var mh$ = H5Sselect_none.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_none", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_project_intersection {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_project_intersection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_project_intersection$descriptor()
+ {
+ return H5Sselect_project_intersection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static MethodHandle H5Sselect_project_intersection$handle()
+ {
+ return H5Sselect_project_intersection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static MemorySegment H5Sselect_project_intersection$address()
+ {
+ return H5Sselect_project_intersection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static long H5Sselect_project_intersection(long src_space_id, long dst_space_id,
+ long src_intersect_space_id)
+ {
+ var mh$ = H5Sselect_project_intersection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_project_intersection", src_space_id, dst_space_id,
+ src_intersect_space_id);
+ }
+ return (long)mh$.invokeExact(src_space_id, dst_space_id, src_intersect_space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_shape_same {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_shape_same");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_shape_same$descriptor() { return H5Sselect_shape_same.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Sselect_shape_same$handle() { return H5Sselect_shape_same.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Sselect_shape_same$address() { return H5Sselect_shape_same.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static int H5Sselect_shape_same(long space1_id, long space2_id)
+ {
+ var mh$ = H5Sselect_shape_same.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_shape_same", space1_id, space2_id);
+ }
+ return (int)mh$.invokeExact(space1_id, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_valid {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_valid");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_valid$descriptor() { return H5Sselect_valid.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sselect_valid$handle() { return H5Sselect_valid.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sselect_valid$address() { return H5Sselect_valid.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static int H5Sselect_valid(long spaceid)
+ {
+ var mh$ = H5Sselect_valid.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_valid", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sset_extent_none {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sset_extent_none");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sset_extent_none$descriptor() { return H5Sset_extent_none.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sset_extent_none$handle() { return H5Sset_extent_none.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sset_extent_none$address() { return H5Sset_extent_none.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static int H5Sset_extent_none(long space_id)
+ {
+ var mh$ = H5Sset_extent_none.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sset_extent_none", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sset_extent_simple {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sset_extent_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static FunctionDescriptor H5Sset_extent_simple$descriptor() { return H5Sset_extent_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static MethodHandle H5Sset_extent_simple$handle() { return H5Sset_extent_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static MemorySegment H5Sset_extent_simple$address() { return H5Sset_extent_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static int H5Sset_extent_simple(long space_id, int rank, MemorySegment dims, MemorySegment max)
+ {
+ var mh$ = H5Sset_extent_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sset_extent_simple", space_id, rank, dims, max);
+ }
+ return (int)mh$.invokeExact(space_id, rank, dims, max);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sencode1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sencode1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static FunctionDescriptor H5Sencode1$descriptor() { return H5Sencode1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MethodHandle H5Sencode1$handle() { return H5Sencode1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MemorySegment H5Sencode1$address() { return H5Sencode1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static int H5Sencode1(long obj_id, MemorySegment buf, MemorySegment nalloc)
+ {
+ var mh$ = H5Sencode1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sencode1", obj_id, buf, nalloc);
+ }
+ return (int)mh$.invokeExact(obj_id, buf, nalloc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5Z_filter_t
+ * }
+ */
+ public static final OfInt H5Z_filter_t = hdf5_h.C_INT;
+ private static final int H5Z_SO_FLOAT_DSCALE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_SO_scale_type_t.H5Z_SO_FLOAT_DSCALE = 0
+ * }
+ */
+ public static int H5Z_SO_FLOAT_DSCALE() { return H5Z_SO_FLOAT_DSCALE; }
+ private static final int H5Z_SO_FLOAT_ESCALE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_SO_scale_type_t.H5Z_SO_FLOAT_ESCALE = 1
+ * }
+ */
+ public static int H5Z_SO_FLOAT_ESCALE() { return H5Z_SO_FLOAT_ESCALE; }
+ private static final int H5Z_SO_INT = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_SO_scale_type_t.H5Z_SO_INT = 2
+ * }
+ */
+ public static int H5Z_SO_INT() { return H5Z_SO_INT; }
+ private static final int H5Z_ERROR_EDC = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_ERROR_EDC = -1
+ * }
+ */
+ public static int H5Z_ERROR_EDC() { return H5Z_ERROR_EDC; }
+ private static final int H5Z_DISABLE_EDC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_DISABLE_EDC = 0
+ * }
+ */
+ public static int H5Z_DISABLE_EDC() { return H5Z_DISABLE_EDC; }
+ private static final int H5Z_ENABLE_EDC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_ENABLE_EDC = 1
+ * }
+ */
+ public static int H5Z_ENABLE_EDC() { return H5Z_ENABLE_EDC; }
+ private static final int H5Z_NO_EDC = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_NO_EDC = 2
+ * }
+ */
+ public static int H5Z_NO_EDC() { return H5Z_NO_EDC; }
+ private static final int H5Z_CB_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_ERROR = -1
+ * }
+ */
+ public static int H5Z_CB_ERROR() { return H5Z_CB_ERROR; }
+ private static final int H5Z_CB_FAIL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_FAIL = 0
+ * }
+ */
+ public static int H5Z_CB_FAIL() { return H5Z_CB_FAIL; }
+ private static final int H5Z_CB_CONT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_CONT = 1
+ * }
+ */
+ public static int H5Z_CB_CONT() { return H5Z_CB_CONT; }
+ private static final int H5Z_CB_NO = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_NO = 2
+ * }
+ */
+ public static int H5Z_CB_NO() { return H5Z_CB_NO; }
+
+ private static class H5Zfilter_avail {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zfilter_avail");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Zfilter_avail$descriptor() { return H5Zfilter_avail.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static MethodHandle H5Zfilter_avail$handle() { return H5Zfilter_avail.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static MemorySegment H5Zfilter_avail$address() { return H5Zfilter_avail.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static int H5Zfilter_avail(int id)
+ {
+ var mh$ = H5Zfilter_avail.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zfilter_avail", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Zget_filter_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zget_filter_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Zget_filter_info$descriptor() { return H5Zget_filter_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static MethodHandle H5Zget_filter_info$handle() { return H5Zget_filter_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static MemorySegment H5Zget_filter_info$address() { return H5Zget_filter_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static int H5Zget_filter_info(int filter, MemorySegment filter_config_flags)
+ {
+ var mh$ = H5Zget_filter_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zget_filter_info", filter, filter_config_flags);
+ }
+ return (int)mh$.invokeExact(filter, filter_config_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5D_MPIO_NO_CHUNK_OPTIMIZATION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_chunk_opt_mode_t.H5D_MPIO_NO_CHUNK_OPTIMIZATION = 0
+ * }
+ */
+ public static int H5D_MPIO_NO_CHUNK_OPTIMIZATION() { return H5D_MPIO_NO_CHUNK_OPTIMIZATION; }
+ private static final int H5D_MPIO_LINK_CHUNK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_chunk_opt_mode_t.H5D_MPIO_LINK_CHUNK = 1
+ * }
+ */
+ public static int H5D_MPIO_LINK_CHUNK() { return H5D_MPIO_LINK_CHUNK; }
+}
diff --git a/java/jsrc/features/plain/linux/hdf5_h_2.java b/java/jsrc/features/plain/linux/hdf5_h_2.java
new file mode 100644
index 00000000000..8276aa46e18
--- /dev/null
+++ b/java/jsrc/features/plain/linux/hdf5_h_2.java
@@ -0,0 +1,15324 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h_2 {
+
+ hdf5_h_2()
+ {
+ // Should not be called directly
+ }
+
+ static final Arena LIBRARY_ARENA = Arena.ofAuto();
+ static final boolean TRACE_DOWNCALLS = Boolean.getBoolean("jextract.trace.downcalls");
+
+ static void traceDowncall(String name, Object... args)
+ {
+ String traceArgs = Arrays.stream(args).map(Object::toString).collect(Collectors.joining(", "));
+ System.out.printf("%s(%s)\n", name, traceArgs);
+ }
+
+ static MemorySegment findOrThrow(String symbol)
+ {
+ return SYMBOL_LOOKUP.find(symbol).orElseThrow(
+ () -> new UnsatisfiedLinkError("unresolved symbol: " + symbol));
+ }
+
+ static MethodHandle upcallHandle(Class> fi, String name, FunctionDescriptor fdesc)
+ {
+ try {
+ return MethodHandles.lookup().findVirtual(fi, name, fdesc.toMethodType());
+ }
+ catch (ReflectiveOperationException ex) {
+ throw new AssertionError(ex);
+ }
+ }
+
+ static MemoryLayout align(MemoryLayout layout, long align)
+ {
+ return switch (layout)
+ {
+ case PaddingLayout p -> p; case ValueLayout v -> v.withByteAlignment(align);
+ case GroupLayout g
+ -> { MemoryLayout[] alignedMembers =
+ g.memberLayouts().stream().map(m -> align(m, align)).toArray(MemoryLayout[] ::new);
+ yield g instanceof StructLayout ? MemoryLayout.structLayout(alignedMembers):
+ MemoryLayout.unionLayout(alignedMembers);
+ }
+ case SequenceLayout s -> MemoryLayout.sequenceLayout(s.elementCount(), align(s.elementLayout(), align));
+ };
+ }
+
+ static final SymbolLookup SYMBOL_LOOKUP = SymbolLookup.libraryLookup(System.mapLibraryName("hdf5"), LIBRARY_ARENA)
+ .or(SymbolLookup.loaderLookup())
+ .or(Linker.nativeLinker().defaultLookup());
+
+ public static final ValueLayout.OfBoolean C_BOOL = ValueLayout.JAVA_BOOLEAN;
+ public static final ValueLayout.OfByte C_CHAR = ValueLayout.JAVA_BYTE;
+ public static final ValueLayout.OfShort C_SHORT = ValueLayout.JAVA_SHORT;
+ public static final ValueLayout.OfInt C_INT = ValueLayout.JAVA_INT;
+ public static final ValueLayout.OfLong C_LONG_LONG = ValueLayout.JAVA_LONG;
+ public static final ValueLayout.OfFloat C_FLOAT = ValueLayout.JAVA_FLOAT;
+ public static final ValueLayout.OfDouble C_DOUBLE = ValueLayout.JAVA_DOUBLE;
+ public static final AddressLayout C_POINTER = ValueLayout.ADDRESS
+ .withTargetLayout(MemoryLayout.sequenceLayout(java.lang.Long.MAX_VALUE, JAVA_BYTE));
+ public static final ValueLayout.OfLong C_LONG = ValueLayout.JAVA_LONG;
+ private static final int H5_HAVE_ALARM = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_ALARM 1
+ * }
+ */
+ public static int H5_HAVE_ALARM() {
+ return H5_HAVE_ALARM;
+ }
+ private static final int H5_HAVE_ARPA_INET_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_ARPA_INET_H 1
+ * }
+ */
+ public static int H5_HAVE_ARPA_INET_H() {
+ return H5_HAVE_ARPA_INET_H;
+ }
+ private static final int H5_HAVE_ASPRINTF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_ASPRINTF 1
+ * }
+ */
+ public static int H5_HAVE_ASPRINTF() {
+ return H5_HAVE_ASPRINTF;
+ }
+ private static final int H5_HAVE_ATTRIBUTE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_ATTRIBUTE 1
+ * }
+ */
+ public static int H5_HAVE_ATTRIBUTE() {
+ return H5_HAVE_ATTRIBUTE;
+ }
+ private static final int H5_HAVE_C99_COMPLEX_NUMBERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_C99_COMPLEX_NUMBERS 1
+ * }
+ */
+ public static int H5_HAVE_C99_COMPLEX_NUMBERS() {
+ return H5_HAVE_C99_COMPLEX_NUMBERS;
+ }
+ private static final int H5_HAVE_CLOCK_GETTIME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_CLOCK_GETTIME 1
+ * }
+ */
+ public static int H5_HAVE_CLOCK_GETTIME() {
+ return H5_HAVE_CLOCK_GETTIME;
+ }
+ private static final int H5_HAVE_COMPLEX_NUMBERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_COMPLEX_NUMBERS 1
+ * }
+ */
+ public static int H5_HAVE_COMPLEX_NUMBERS() {
+ return H5_HAVE_COMPLEX_NUMBERS;
+ }
+ private static final int H5_HAVE_DIRENT_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_DIRENT_H 1
+ * }
+ */
+ public static int H5_HAVE_DIRENT_H() {
+ return H5_HAVE_DIRENT_H;
+ }
+ private static final int H5_HAVE_DLFCN_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_DLFCN_H 1
+ * }
+ */
+ public static int H5_HAVE_DLFCN_H() {
+ return H5_HAVE_DLFCN_H;
+ }
+ private static final int H5_HAVE_EMBEDDED_LIBINFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_EMBEDDED_LIBINFO 1
+ * }
+ */
+ public static int H5_HAVE_EMBEDDED_LIBINFO() {
+ return H5_HAVE_EMBEDDED_LIBINFO;
+ }
+ private static final int H5_HAVE_FCNTL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_FCNTL 1
+ * }
+ */
+ public static int H5_HAVE_FCNTL() {
+ return H5_HAVE_FCNTL;
+ }
+ private static final int H5_HAVE__FLOAT16 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE__FLOAT16 1
+ * }
+ */
+ public static int H5_HAVE__FLOAT16() {
+ return H5_HAVE__FLOAT16;
+ }
+ private static final int H5_HAVE_FLOCK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_FLOCK 1
+ * }
+ */
+ public static int H5_HAVE_FLOCK() {
+ return H5_HAVE_FLOCK;
+ }
+ private static final int H5_HAVE_FORK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_FORK 1
+ * }
+ */
+ public static int H5_HAVE_FORK() {
+ return H5_HAVE_FORK;
+ }
+ private static final int H5_HAVE_GETHOSTNAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_GETHOSTNAME 1
+ * }
+ */
+ public static int H5_HAVE_GETHOSTNAME() {
+ return H5_HAVE_GETHOSTNAME;
+ }
+ private static final int H5_HAVE_GETRUSAGE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_GETRUSAGE 1
+ * }
+ */
+ public static int H5_HAVE_GETRUSAGE() {
+ return H5_HAVE_GETRUSAGE;
+ }
+ private static final int H5_HAVE_GETTIMEOFDAY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_GETTIMEOFDAY 1
+ * }
+ */
+ public static int H5_HAVE_GETTIMEOFDAY() {
+ return H5_HAVE_GETTIMEOFDAY;
+ }
+ private static final int H5_HAVE_IOCTL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_IOCTL 1
+ * }
+ */
+ public static int H5_HAVE_IOCTL() {
+ return H5_HAVE_IOCTL;
+ }
+ private static final int H5_HAVE_LIBDL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_LIBDL 1
+ * }
+ */
+ public static int H5_HAVE_LIBDL() {
+ return H5_HAVE_LIBDL;
+ }
+ private static final int H5_HAVE_LIBM = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_LIBM 1
+ * }
+ */
+ public static int H5_HAVE_LIBM() {
+ return H5_HAVE_LIBM;
+ }
+ private static final int H5_HAVE_NETDB_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_NETDB_H 1
+ * }
+ */
+ public static int H5_HAVE_NETDB_H() {
+ return H5_HAVE_NETDB_H;
+ }
+ private static final int H5_HAVE_NETINET_IN_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_NETINET_IN_H 1
+ * }
+ */
+ public static int H5_HAVE_NETINET_IN_H() {
+ return H5_HAVE_NETINET_IN_H;
+ }
+ private static final int H5_HAVE_PREADWRITE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_PREADWRITE 1
+ * }
+ */
+ public static int H5_HAVE_PREADWRITE() {
+ return H5_HAVE_PREADWRITE;
+ }
+ private static final int H5_HAVE_PTHREAD_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_PTHREAD_H 1
+ * }
+ */
+ public static int H5_HAVE_PTHREAD_H() {
+ return H5_HAVE_PTHREAD_H;
+ }
+ private static final int H5_HAVE_PWD_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_PWD_H 1
+ * }
+ */
+ public static int H5_HAVE_PWD_H() {
+ return H5_HAVE_PWD_H;
+ }
+ private static final int H5_HAVE_STAT_ST_BLOCKS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_STAT_ST_BLOCKS 1
+ * }
+ */
+ public static int H5_HAVE_STAT_ST_BLOCKS() {
+ return H5_HAVE_STAT_ST_BLOCKS;
+ }
+ private static final int H5_HAVE_STRCASESTR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_STRCASESTR 1
+ * }
+ */
+ public static int H5_HAVE_STRCASESTR() {
+ return H5_HAVE_STRCASESTR;
+ }
+ private static final int H5_HAVE_STRDUP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_STRDUP 1
+ * }
+ */
+ public static int H5_HAVE_STRDUP() {
+ return H5_HAVE_STRDUP;
+ }
+ private static final int H5_HAVE_STDATOMIC_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_STDATOMIC_H 1
+ * }
+ */
+ public static int H5_HAVE_STDATOMIC_H() {
+ return H5_HAVE_STDATOMIC_H;
+ }
+ private static final int H5_HAVE_SYMLINK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYMLINK 1
+ * }
+ */
+ public static int H5_HAVE_SYMLINK() {
+ return H5_HAVE_SYMLINK;
+ }
+ private static final int H5_HAVE_SYS_FILE_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_FILE_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_FILE_H() {
+ return H5_HAVE_SYS_FILE_H;
+ }
+ private static final int H5_HAVE_SYS_IOCTL_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_IOCTL_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_IOCTL_H() {
+ return H5_HAVE_SYS_IOCTL_H;
+ }
+ private static final int H5_HAVE_SYS_RESOURCE_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_RESOURCE_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_RESOURCE_H() {
+ return H5_HAVE_SYS_RESOURCE_H;
+ }
+ private static final int H5_HAVE_SYS_SOCKET_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_SOCKET_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_SOCKET_H() {
+ return H5_HAVE_SYS_SOCKET_H;
+ }
+ private static final int H5_HAVE_SYS_STAT_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_STAT_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_STAT_H() {
+ return H5_HAVE_SYS_STAT_H;
+ }
+ private static final int H5_HAVE_SYS_TIME_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_TIME_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_TIME_H() {
+ return H5_HAVE_SYS_TIME_H;
+ }
+ private static final int H5_HAVE_THREADS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_THREADS 1
+ * }
+ */
+ public static int H5_HAVE_THREADS() {
+ return H5_HAVE_THREADS;
+ }
+ private static final int H5_HAVE_TIMEZONE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TIMEZONE 1
+ * }
+ */
+ public static int H5_HAVE_TIMEZONE() {
+ return H5_HAVE_TIMEZONE;
+ }
+ private static final int H5_HAVE_TIOCGETD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TIOCGETD 1
+ * }
+ */
+ public static int H5_HAVE_TIOCGETD() {
+ return H5_HAVE_TIOCGETD;
+ }
+ private static final int H5_HAVE_TIOCGWINSZ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TIOCGWINSZ 1
+ * }
+ */
+ public static int H5_HAVE_TIOCGWINSZ() {
+ return H5_HAVE_TIOCGWINSZ;
+ }
+ private static final int H5_HAVE_TMPFILE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TMPFILE 1
+ * }
+ */
+ public static int H5_HAVE_TMPFILE() {
+ return H5_HAVE_TMPFILE;
+ }
+ private static final int H5_HAVE_TM_GMTOFF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TM_GMTOFF 1
+ * }
+ */
+ public static int H5_HAVE_TM_GMTOFF() {
+ return H5_HAVE_TM_GMTOFF;
+ }
+ private static final int H5_HAVE_UNISTD_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_UNISTD_H 1
+ * }
+ */
+ public static int H5_HAVE_UNISTD_H() {
+ return H5_HAVE_UNISTD_H;
+ }
+ private static final int H5_HAVE_VASPRINTF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_VASPRINTF 1
+ * }
+ */
+ public static int H5_HAVE_VASPRINTF() {
+ return H5_HAVE_VASPRINTF;
+ }
+ private static final int H5_HAVE_WAITPID = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_WAITPID 1
+ * }
+ */
+ public static int H5_HAVE_WAITPID() {
+ return H5_HAVE_WAITPID;
+ }
+ private static final int H5_IGNORE_DISABLED_FILE_LOCKS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_IGNORE_DISABLED_FILE_LOCKS 1
+ * }
+ */
+ public static int H5_IGNORE_DISABLED_FILE_LOCKS() {
+ return H5_IGNORE_DISABLED_FILE_LOCKS;
+ }
+ private static final int H5_INCLUDE_HL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_INCLUDE_HL 1
+ * }
+ */
+ public static int H5_INCLUDE_HL() {
+ return H5_INCLUDE_HL;
+ }
+ private static final int H5_LDOUBLE_TO_FLOAT16_CORRECT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_LDOUBLE_TO_FLOAT16_CORRECT 1
+ * }
+ */
+ public static int H5_LDOUBLE_TO_FLOAT16_CORRECT() {
+ return H5_LDOUBLE_TO_FLOAT16_CORRECT;
+ }
+ private static final int H5_LDOUBLE_TO_LLONG_ACCURATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_LDOUBLE_TO_LLONG_ACCURATE 1
+ * }
+ */
+ public static int H5_LDOUBLE_TO_LLONG_ACCURATE() {
+ return H5_LDOUBLE_TO_LLONG_ACCURATE;
+ }
+ private static final int H5_LLONG_TO_LDOUBLE_CORRECT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_LLONG_TO_LDOUBLE_CORRECT 1
+ * }
+ */
+ public static int H5_LLONG_TO_LDOUBLE_CORRECT() {
+ return H5_LLONG_TO_LDOUBLE_CORRECT;
+ }
+ private static final int H5_SIZEOF_BOOL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_BOOL 1
+ * }
+ */
+ public static int H5_SIZEOF_BOOL() {
+ return H5_SIZEOF_BOOL;
+ }
+ private static final int H5_SIZEOF_CHAR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_CHAR 1
+ * }
+ */
+ public static int H5_SIZEOF_CHAR() {
+ return H5_SIZEOF_CHAR;
+ }
+ private static final int H5_SIZEOF_DOUBLE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_DOUBLE 8
+ * }
+ */
+ public static int H5_SIZEOF_DOUBLE() {
+ return H5_SIZEOF_DOUBLE;
+ }
+ private static final int H5_SIZEOF_DOUBLE_COMPLEX = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_DOUBLE_COMPLEX 16
+ * }
+ */
+ public static int H5_SIZEOF_DOUBLE_COMPLEX() {
+ return H5_SIZEOF_DOUBLE_COMPLEX;
+ }
+ private static final int H5_SIZEOF_FLOAT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_FLOAT 4
+ * }
+ */
+ public static int H5_SIZEOF_FLOAT() {
+ return H5_SIZEOF_FLOAT;
+ }
+ private static final int H5_SIZEOF_FLOAT_COMPLEX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_FLOAT_COMPLEX 8
+ * }
+ */
+ public static int H5_SIZEOF_FLOAT_COMPLEX() {
+ return H5_SIZEOF_FLOAT_COMPLEX;
+ }
+ private static final int H5_SIZEOF_INT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT 4
+ * }
+ */
+ public static int H5_SIZEOF_INT() {
+ return H5_SIZEOF_INT;
+ }
+ private static final int H5_SIZEOF_INT16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_INT16_T() {
+ return H5_SIZEOF_INT16_T;
+ }
+ private static final int H5_SIZEOF_INT32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_INT32_T() {
+ return H5_SIZEOF_INT32_T;
+ }
+ private static final int H5_SIZEOF_INT64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT64_T() {
+ return H5_SIZEOF_INT64_T;
+ }
+ private static final int H5_SIZEOF_INT8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_INT8_T() {
+ return H5_SIZEOF_INT8_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST16_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST16_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST16_T() {
+ return H5_SIZEOF_INT_FAST16_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST32_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST32_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST32_T() {
+ return H5_SIZEOF_INT_FAST32_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST64_T() {
+ return H5_SIZEOF_INT_FAST64_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST8_T() {
+ return H5_SIZEOF_INT_FAST8_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST16_T() {
+ return H5_SIZEOF_INT_LEAST16_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST32_T() {
+ return H5_SIZEOF_INT_LEAST32_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST64_T() {
+ return H5_SIZEOF_INT_LEAST64_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST8_T() {
+ return H5_SIZEOF_INT_LEAST8_T;
+ }
+ private static final int H5_SIZEOF_SIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_SIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_SIZE_T() {
+ return H5_SIZEOF_SIZE_T;
+ }
+ private static final int H5_SIZEOF_SSIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_SSIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_SSIZE_T() {
+ return H5_SIZEOF_SSIZE_T;
+ }
+ private static final int H5_SIZEOF_LONG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG 8
+ * }
+ */
+ public static int H5_SIZEOF_LONG() {
+ return H5_SIZEOF_LONG;
+ }
+ private static final int H5_SIZEOF_LONG_DOUBLE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG_DOUBLE 16
+ * }
+ */
+ public static int H5_SIZEOF_LONG_DOUBLE() {
+ return H5_SIZEOF_LONG_DOUBLE;
+ }
+ private static final int H5_SIZEOF_LONG_DOUBLE_COMPLEX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG_DOUBLE_COMPLEX 32
+ * }
+ */
+ public static int H5_SIZEOF_LONG_DOUBLE_COMPLEX() {
+ return H5_SIZEOF_LONG_DOUBLE_COMPLEX;
+ }
+ private static final int H5_SIZEOF_LONG_LONG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG_LONG 8
+ * }
+ */
+ public static int H5_SIZEOF_LONG_LONG() {
+ return H5_SIZEOF_LONG_LONG;
+ }
+ private static final int H5_SIZEOF_OFF_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_OFF_T 8
+ * }
+ */
+ public static int H5_SIZEOF_OFF_T() {
+ return H5_SIZEOF_OFF_T;
+ }
+ private static final int H5_SIZEOF_PTRDIFF_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_PTRDIFF_T 8
+ * }
+ */
+ public static int H5_SIZEOF_PTRDIFF_T() {
+ return H5_SIZEOF_PTRDIFF_T;
+ }
+ private static final int H5_SIZEOF_SHORT = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_SHORT 2
+ * }
+ */
+ public static int H5_SIZEOF_SHORT() {
+ return H5_SIZEOF_SHORT;
+ }
+ private static final int H5_SIZEOF_TIME_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_TIME_T 8
+ * }
+ */
+ public static int H5_SIZEOF_TIME_T() {
+ return H5_SIZEOF_TIME_T;
+ }
+ private static final int H5_SIZEOF_UINT16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_UINT16_T() {
+ return H5_SIZEOF_UINT16_T;
+ }
+ private static final int H5_SIZEOF_UINT32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_UINT32_T() {
+ return H5_SIZEOF_UINT32_T;
+ }
+ private static final int H5_SIZEOF_UINT64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT64_T() {
+ return H5_SIZEOF_UINT64_T;
+ }
+ private static final int H5_SIZEOF_UINT8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_UINT8_T() {
+ return H5_SIZEOF_UINT8_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST16_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST16_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST16_T() {
+ return H5_SIZEOF_UINT_FAST16_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST32_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST32_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST32_T() {
+ return H5_SIZEOF_UINT_FAST32_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST64_T() {
+ return H5_SIZEOF_UINT_FAST64_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST8_T() {
+ return H5_SIZEOF_UINT_FAST8_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST16_T() {
+ return H5_SIZEOF_UINT_LEAST16_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST32_T() {
+ return H5_SIZEOF_UINT_LEAST32_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST64_T() {
+ return H5_SIZEOF_UINT_LEAST64_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST8_T() {
+ return H5_SIZEOF_UINT_LEAST8_T;
+ }
+ private static final int H5_SIZEOF_UNSIGNED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UNSIGNED 4
+ * }
+ */
+ public static int H5_SIZEOF_UNSIGNED() {
+ return H5_SIZEOF_UNSIGNED;
+ }
+ private static final int H5_SIZEOF__FLOAT16 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF__FLOAT16 2
+ * }
+ */
+ public static int H5_SIZEOF__FLOAT16() {
+ return H5_SIZEOF__FLOAT16;
+ }
+ private static final int H5_USE_FILE_LOCKING = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_USE_FILE_LOCKING 1
+ * }
+ */
+ public static int H5_USE_FILE_LOCKING() {
+ return H5_USE_FILE_LOCKING;
+ }
+ private static final int H5_WANT_DATA_ACCURACY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_WANT_DATA_ACCURACY 1
+ * }
+ */
+ public static int H5_WANT_DATA_ACCURACY() {
+ return H5_WANT_DATA_ACCURACY;
+ }
+ private static final int H5_WANT_DCONV_EXCEPTION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_WANT_DCONV_EXCEPTION 1
+ * }
+ */
+ public static int H5_WANT_DCONV_EXCEPTION() {
+ return H5_WANT_DCONV_EXCEPTION;
+ }
+ private static final int H5Acreate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Acreate_vers 2
+ * }
+ */
+ public static int H5Acreate_vers() {
+ return H5Acreate_vers;
+ }
+ private static final int H5Aiterate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Aiterate_vers 2
+ * }
+ */
+ public static int H5Aiterate_vers() {
+ return H5Aiterate_vers;
+ }
+ private static final int H5Dcreate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Dcreate_vers 2
+ * }
+ */
+ public static int H5Dcreate_vers() {
+ return H5Dcreate_vers;
+ }
+ private static final int H5Dopen_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Dopen_vers 2
+ * }
+ */
+ public static int H5Dopen_vers() {
+ return H5Dopen_vers;
+ }
+ private static final int H5Dread_chunk_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Dread_chunk_vers 2
+ * }
+ */
+ public static int H5Dread_chunk_vers() {
+ return H5Dread_chunk_vers;
+ }
+ private static final int H5Eclear_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eclear_vers 2
+ * }
+ */
+ public static int H5Eclear_vers() {
+ return H5Eclear_vers;
+ }
+ private static final int H5Eget_auto_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eget_auto_vers 2
+ * }
+ */
+ public static int H5Eget_auto_vers() {
+ return H5Eget_auto_vers;
+ }
+ private static final int H5Eprint_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eprint_vers 2
+ * }
+ */
+ public static int H5Eprint_vers() {
+ return H5Eprint_vers;
+ }
+ private static final int H5Epush_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Epush_vers 2
+ * }
+ */
+ public static int H5Epush_vers() {
+ return H5Epush_vers;
+ }
+ private static final int H5Eset_auto_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eset_auto_vers 2
+ * }
+ */
+ public static int H5Eset_auto_vers() {
+ return H5Eset_auto_vers;
+ }
+ private static final int H5Ewalk_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Ewalk_vers 2
+ * }
+ */
+ public static int H5Ewalk_vers() {
+ return H5Ewalk_vers;
+ }
+ private static final int H5Fget_info_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Fget_info_vers 2
+ * }
+ */
+ public static int H5Fget_info_vers() {
+ return H5Fget_info_vers;
+ }
+ private static final int H5Gcreate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Gcreate_vers 2
+ * }
+ */
+ public static int H5Gcreate_vers() {
+ return H5Gcreate_vers;
+ }
+ private static final int H5Gopen_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Gopen_vers 2
+ * }
+ */
+ public static int H5Gopen_vers() {
+ return H5Gopen_vers;
+ }
+ private static final int H5Iregister_type_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Iregister_type_vers 2
+ * }
+ */
+ public static int H5Iregister_type_vers() {
+ return H5Iregister_type_vers;
+ }
+ private static final int H5Lget_info_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lget_info_vers 2
+ * }
+ */
+ public static int H5Lget_info_vers() {
+ return H5Lget_info_vers;
+ }
+ private static final int H5Lget_info_by_idx_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lget_info_by_idx_vers 2
+ * }
+ */
+ public static int H5Lget_info_by_idx_vers() {
+ return H5Lget_info_by_idx_vers;
+ }
+ private static final int H5Literate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Literate_vers 2
+ * }
+ */
+ public static int H5Literate_vers() {
+ return H5Literate_vers;
+ }
+ private static final int H5Literate_by_name_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Literate_by_name_vers 2
+ * }
+ */
+ public static int H5Literate_by_name_vers() {
+ return H5Literate_by_name_vers;
+ }
+ private static final int H5Lvisit_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lvisit_vers 2
+ * }
+ */
+ public static int H5Lvisit_vers() {
+ return H5Lvisit_vers;
+ }
+ private static final int H5Lvisit_by_name_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lvisit_by_name_vers 2
+ * }
+ */
+ public static int H5Lvisit_by_name_vers() {
+ return H5Lvisit_by_name_vers;
+ }
+ private static final int H5Oget_info_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Oget_info_vers 3
+ * }
+ */
+ public static int H5Oget_info_vers() {
+ return H5Oget_info_vers;
+ }
+ private static final int H5Oget_info_by_idx_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Oget_info_by_idx_vers 3
+ * }
+ */
+ public static int H5Oget_info_by_idx_vers() {
+ return H5Oget_info_by_idx_vers;
+ }
+ private static final int H5Oget_info_by_name_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Oget_info_by_name_vers 3
+ * }
+ */
+ public static int H5Oget_info_by_name_vers() {
+ return H5Oget_info_by_name_vers;
+ }
+ private static final int H5Ovisit_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Ovisit_vers 3
+ * }
+ */
+ public static int H5Ovisit_vers() {
+ return H5Ovisit_vers;
+ }
+ private static final int H5Ovisit_by_name_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Ovisit_by_name_vers 3
+ * }
+ */
+ public static int H5Ovisit_by_name_vers() {
+ return H5Ovisit_by_name_vers;
+ }
+ private static final int H5Pencode_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pencode_vers 2
+ * }
+ */
+ public static int H5Pencode_vers() {
+ return H5Pencode_vers;
+ }
+ private static final int H5Pget_filter_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pget_filter_vers 2
+ * }
+ */
+ public static int H5Pget_filter_vers() {
+ return H5Pget_filter_vers;
+ }
+ private static final int H5Pget_filter_by_id_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pget_filter_by_id_vers 2
+ * }
+ */
+ public static int H5Pget_filter_by_id_vers() {
+ return H5Pget_filter_by_id_vers;
+ }
+ private static final int H5Pinsert_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pinsert_vers 2
+ * }
+ */
+ public static int H5Pinsert_vers() {
+ return H5Pinsert_vers;
+ }
+ private static final int H5Pregister_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pregister_vers 2
+ * }
+ */
+ public static int H5Pregister_vers() {
+ return H5Pregister_vers;
+ }
+ private static final int H5Rdereference_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Rdereference_vers 2
+ * }
+ */
+ public static int H5Rdereference_vers() {
+ return H5Rdereference_vers;
+ }
+ private static final int H5Rget_obj_type_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Rget_obj_type_vers 2
+ * }
+ */
+ public static int H5Rget_obj_type_vers() {
+ return H5Rget_obj_type_vers;
+ }
+ private static final int H5Sencode_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Sencode_vers 2
+ * }
+ */
+ public static int H5Sencode_vers() {
+ return H5Sencode_vers;
+ }
+ private static final int H5Tarray_create_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tarray_create_vers 2
+ * }
+ */
+ public static int H5Tarray_create_vers() {
+ return H5Tarray_create_vers;
+ }
+ private static final int H5Tcommit_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tcommit_vers 2
+ * }
+ */
+ public static int H5Tcommit_vers() {
+ return H5Tcommit_vers;
+ }
+ private static final int H5Tdecode_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tdecode_vers 2
+ * }
+ */
+ public static int H5Tdecode_vers() {
+ return H5Tdecode_vers;
+ }
+ private static final int H5Tget_array_dims_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tget_array_dims_vers 2
+ * }
+ */
+ public static int H5Tget_array_dims_vers() {
+ return H5Tget_array_dims_vers;
+ }
+ private static final int H5Topen_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Topen_vers 2
+ * }
+ */
+ public static int H5Topen_vers() {
+ return H5Topen_vers;
+ }
+ private static final int H5E_auto_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5E_auto_t_vers 2
+ * }
+ */
+ public static int H5E_auto_t_vers() {
+ return H5E_auto_t_vers;
+ }
+ private static final int H5O_info_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_info_t_vers 2
+ * }
+ */
+ public static int H5O_info_t_vers() {
+ return H5O_info_t_vers;
+ }
+ private static final int H5O_iterate_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_iterate_t_vers 2
+ * }
+ */
+ public static int H5O_iterate_t_vers() {
+ return H5O_iterate_t_vers;
+ }
+ private static final int H5Z_class_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_class_t_vers 2
+ * }
+ */
+ public static int H5Z_class_t_vers() {
+ return H5Z_class_t_vers;
+ }
+ private static final int _INTTYPES_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _INTTYPES_H 1
+ * }
+ */
+ public static int _INTTYPES_H() {
+ return _INTTYPES_H;
+ }
+ private static final int _FEATURES_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _FEATURES_H 1
+ * }
+ */
+ public static int _FEATURES_H() {
+ return _FEATURES_H;
+ }
+ private static final int _DEFAULT_SOURCE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _DEFAULT_SOURCE 1
+ * }
+ */
+ public static int _DEFAULT_SOURCE() {
+ return _DEFAULT_SOURCE;
+ }
+ private static final int __GLIBC_USE_ISOC2X = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_ISOC2X 0
+ * }
+ */
+ public static int __GLIBC_USE_ISOC2X() {
+ return __GLIBC_USE_ISOC2X;
+ }
+ private static final int __USE_ISOC11 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_ISOC11 1
+ * }
+ */
+ public static int __USE_ISOC11() {
+ return __USE_ISOC11;
+ }
+ private static final int __USE_ISOC99 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_ISOC99 1
+ * }
+ */
+ public static int __USE_ISOC99() {
+ return __USE_ISOC99;
+ }
+ private static final int __USE_ISOC95 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_ISOC95 1
+ * }
+ */
+ public static int __USE_ISOC95() {
+ return __USE_ISOC95;
+ }
+ private static final int __USE_POSIX_IMPLICITLY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_POSIX_IMPLICITLY 1
+ * }
+ */
+ public static int __USE_POSIX_IMPLICITLY() {
+ return __USE_POSIX_IMPLICITLY;
+ }
+ private static final int _POSIX_SOURCE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SOURCE 1
+ * }
+ */
+ public static int _POSIX_SOURCE() {
+ return _POSIX_SOURCE;
+ }
+ private static final int __USE_POSIX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_POSIX 1
+ * }
+ */
+ public static int __USE_POSIX() {
+ return __USE_POSIX;
+ }
+ private static final int __USE_POSIX2 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_POSIX2 1
+ * }
+ */
+ public static int __USE_POSIX2() {
+ return __USE_POSIX2;
+ }
+ private static final int __USE_POSIX199309 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_POSIX199309 1
+ * }
+ */
+ public static int __USE_POSIX199309() {
+ return __USE_POSIX199309;
+ }
+ private static final int __USE_POSIX199506 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_POSIX199506 1
+ * }
+ */
+ public static int __USE_POSIX199506() {
+ return __USE_POSIX199506;
+ }
+ private static final int __USE_XOPEN2K = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_XOPEN2K 1
+ * }
+ */
+ public static int __USE_XOPEN2K() {
+ return __USE_XOPEN2K;
+ }
+ private static final int __USE_XOPEN2K8 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_XOPEN2K8 1
+ * }
+ */
+ public static int __USE_XOPEN2K8() {
+ return __USE_XOPEN2K8;
+ }
+ private static final int _ATFILE_SOURCE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _ATFILE_SOURCE 1
+ * }
+ */
+ public static int _ATFILE_SOURCE() {
+ return _ATFILE_SOURCE;
+ }
+ private static final int __WORDSIZE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define __WORDSIZE 64
+ * }
+ */
+ public static int __WORDSIZE() {
+ return __WORDSIZE;
+ }
+ private static final int __WORDSIZE_TIME64_COMPAT32 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __WORDSIZE_TIME64_COMPAT32 1
+ * }
+ */
+ public static int __WORDSIZE_TIME64_COMPAT32() {
+ return __WORDSIZE_TIME64_COMPAT32;
+ }
+ private static final int __SYSCALL_WORDSIZE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define __SYSCALL_WORDSIZE 64
+ * }
+ */
+ public static int __SYSCALL_WORDSIZE() {
+ return __SYSCALL_WORDSIZE;
+ }
+ private static final int __USE_MISC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_MISC 1
+ * }
+ */
+ public static int __USE_MISC() {
+ return __USE_MISC;
+ }
+ private static final int __USE_ATFILE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_ATFILE 1
+ * }
+ */
+ public static int __USE_ATFILE() {
+ return __USE_ATFILE;
+ }
+ private static final int __USE_FORTIFY_LEVEL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_FORTIFY_LEVEL 0
+ * }
+ */
+ public static int __USE_FORTIFY_LEVEL() {
+ return __USE_FORTIFY_LEVEL;
+ }
+ private static final int __GLIBC_USE_DEPRECATED_GETS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_DEPRECATED_GETS 0
+ * }
+ */
+ public static int __GLIBC_USE_DEPRECATED_GETS() {
+ return __GLIBC_USE_DEPRECATED_GETS;
+ }
+ private static final int __GLIBC_USE_DEPRECATED_SCANF = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_DEPRECATED_SCANF 0
+ * }
+ */
+ public static int __GLIBC_USE_DEPRECATED_SCANF() {
+ return __GLIBC_USE_DEPRECATED_SCANF;
+ }
+ private static final int __GLIBC_USE_C2X_STRTOL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_C2X_STRTOL 0
+ * }
+ */
+ public static int __GLIBC_USE_C2X_STRTOL() {
+ return __GLIBC_USE_C2X_STRTOL;
+ }
+ private static final int _STDC_PREDEF_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _STDC_PREDEF_H 1
+ * }
+ */
+ public static int _STDC_PREDEF_H() {
+ return _STDC_PREDEF_H;
+ }
+ private static final int __STDC_IEC_559__ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __STDC_IEC_559__ 1
+ * }
+ */
+ public static int __STDC_IEC_559__() {
+ return __STDC_IEC_559__;
+ }
+ private static final int __STDC_IEC_559_COMPLEX__ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __STDC_IEC_559_COMPLEX__ 1
+ * }
+ */
+ public static int __STDC_IEC_559_COMPLEX__() {
+ return __STDC_IEC_559_COMPLEX__;
+ }
+ private static final int __GNU_LIBRARY__ = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define __GNU_LIBRARY__ 6
+ * }
+ */
+ public static int __GNU_LIBRARY__() {
+ return __GNU_LIBRARY__;
+ }
+ private static final int __GLIBC__ = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC__ 2
+ * }
+ */
+ public static int __GLIBC__() {
+ return __GLIBC__;
+ }
+ private static final int __GLIBC_MINOR__ = (int)39L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_MINOR__ 39
+ * }
+ */
+ public static int __GLIBC_MINOR__() {
+ return __GLIBC_MINOR__;
+ }
+ private static final int _SYS_CDEFS_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _SYS_CDEFS_H 1
+ * }
+ */
+ public static int _SYS_CDEFS_H() {
+ return _SYS_CDEFS_H;
+ }
+ private static final int __glibc_c99_flexarr_available = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __glibc_c99_flexarr_available 1
+ * }
+ */
+ public static int __glibc_c99_flexarr_available() {
+ return __glibc_c99_flexarr_available;
+ }
+ private static final int __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI 0
+ * }
+ */
+ public static int __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI() {
+ return __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI;
+ }
+ private static final int __HAVE_GENERIC_SELECTION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_GENERIC_SELECTION 1
+ * }
+ */
+ public static int __HAVE_GENERIC_SELECTION() {
+ return __HAVE_GENERIC_SELECTION;
+ }
+ private static final int _STDINT_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _STDINT_H 1
+ * }
+ */
+ public static int _STDINT_H() {
+ return _STDINT_H;
+ }
+ private static final int __GLIBC_USE_LIB_EXT2 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_LIB_EXT2 0
+ * }
+ */
+ public static int __GLIBC_USE_LIB_EXT2() {
+ return __GLIBC_USE_LIB_EXT2;
+ }
+ private static final int __GLIBC_USE_IEC_60559_BFP_EXT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_IEC_60559_BFP_EXT 0
+ * }
+ */
+ public static int __GLIBC_USE_IEC_60559_BFP_EXT() {
+ return __GLIBC_USE_IEC_60559_BFP_EXT;
+ }
+ private static final int __GLIBC_USE_IEC_60559_BFP_EXT_C2X = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_IEC_60559_BFP_EXT_C2X 0
+ * }
+ */
+ public static int __GLIBC_USE_IEC_60559_BFP_EXT_C2X() {
+ return __GLIBC_USE_IEC_60559_BFP_EXT_C2X;
+ }
+ private static final int __GLIBC_USE_IEC_60559_EXT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_IEC_60559_EXT 0
+ * }
+ */
+ public static int __GLIBC_USE_IEC_60559_EXT() {
+ return __GLIBC_USE_IEC_60559_EXT;
+ }
+ private static final int __GLIBC_USE_IEC_60559_FUNCS_EXT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_IEC_60559_FUNCS_EXT 0
+ * }
+ */
+ public static int __GLIBC_USE_IEC_60559_FUNCS_EXT() {
+ return __GLIBC_USE_IEC_60559_FUNCS_EXT;
+ }
+ private static final int __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X 0
+ * }
+ */
+ public static int __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X() {
+ return __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X;
+ }
+ private static final int __GLIBC_USE_IEC_60559_TYPES_EXT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_IEC_60559_TYPES_EXT 0
+ * }
+ */
+ public static int __GLIBC_USE_IEC_60559_TYPES_EXT() {
+ return __GLIBC_USE_IEC_60559_TYPES_EXT;
+ }
+ private static final int _BITS_TYPES_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_TYPES_H 1
+ * }
+ */
+ public static int _BITS_TYPES_H() {
+ return _BITS_TYPES_H;
+ }
+ private static final int _BITS_TYPESIZES_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_TYPESIZES_H 1
+ * }
+ */
+ public static int _BITS_TYPESIZES_H() {
+ return _BITS_TYPESIZES_H;
+ }
+ private static final int __OFF_T_MATCHES_OFF64_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __OFF_T_MATCHES_OFF64_T 1
+ * }
+ */
+ public static int __OFF_T_MATCHES_OFF64_T() {
+ return __OFF_T_MATCHES_OFF64_T;
+ }
+ private static final int __INO_T_MATCHES_INO64_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __INO_T_MATCHES_INO64_T 1
+ * }
+ */
+ public static int __INO_T_MATCHES_INO64_T() {
+ return __INO_T_MATCHES_INO64_T;
+ }
+ private static final int __RLIM_T_MATCHES_RLIM64_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __RLIM_T_MATCHES_RLIM64_T 1
+ * }
+ */
+ public static int __RLIM_T_MATCHES_RLIM64_T() {
+ return __RLIM_T_MATCHES_RLIM64_T;
+ }
+ private static final int __STATFS_MATCHES_STATFS64 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __STATFS_MATCHES_STATFS64 1
+ * }
+ */
+ public static int __STATFS_MATCHES_STATFS64() {
+ return __STATFS_MATCHES_STATFS64;
+ }
+ private static final int __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 1
+ * }
+ */
+ public static int __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64() {
+ return __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64;
+ }
+ private static final int __FD_SETSIZE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define __FD_SETSIZE 1024
+ * }
+ */
+ public static int __FD_SETSIZE() {
+ return __FD_SETSIZE;
+ }
+ private static final int _BITS_TIME64_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_TIME64_H 1
+ * }
+ */
+ public static int _BITS_TIME64_H() {
+ return _BITS_TIME64_H;
+ }
+ private static final int _BITS_WCHAR_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_WCHAR_H 1
+ * }
+ */
+ public static int _BITS_WCHAR_H() {
+ return _BITS_WCHAR_H;
+ }
+ private static final int _BITS_STDINT_INTN_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_STDINT_INTN_H 1
+ * }
+ */
+ public static int _BITS_STDINT_INTN_H() {
+ return _BITS_STDINT_INTN_H;
+ }
+ private static final int _BITS_STDINT_UINTN_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_STDINT_UINTN_H 1
+ * }
+ */
+ public static int _BITS_STDINT_UINTN_H() {
+ return _BITS_STDINT_UINTN_H;
+ }
+ private static final int _BITS_STDINT_LEAST_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_STDINT_LEAST_H 1
+ * }
+ */
+ public static int _BITS_STDINT_LEAST_H() {
+ return _BITS_STDINT_LEAST_H;
+ }
+ private static final int ____gwchar_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define ____gwchar_t_defined 1
+ * }
+ */
+ public static int ____gwchar_t_defined() {
+ return ____gwchar_t_defined;
+ }
+ private static final int _LIBC_LIMITS_H_ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _LIBC_LIMITS_H_ 1
+ * }
+ */
+ public static int _LIBC_LIMITS_H_() {
+ return _LIBC_LIMITS_H_;
+ }
+ private static final int MB_LEN_MAX = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define MB_LEN_MAX 16
+ * }
+ */
+ public static int MB_LEN_MAX() {
+ return MB_LEN_MAX;
+ }
+ private static final int _BITS_POSIX1_LIM_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_POSIX1_LIM_H 1
+ * }
+ */
+ public static int _BITS_POSIX1_LIM_H() {
+ return _BITS_POSIX1_LIM_H;
+ }
+ private static final int _POSIX_AIO_LISTIO_MAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_AIO_LISTIO_MAX 2
+ * }
+ */
+ public static int _POSIX_AIO_LISTIO_MAX() {
+ return _POSIX_AIO_LISTIO_MAX;
+ }
+ private static final int _POSIX_AIO_MAX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_AIO_MAX 1
+ * }
+ */
+ public static int _POSIX_AIO_MAX() {
+ return _POSIX_AIO_MAX;
+ }
+ private static final int _POSIX_ARG_MAX = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_ARG_MAX 4096
+ * }
+ */
+ public static int _POSIX_ARG_MAX() {
+ return _POSIX_ARG_MAX;
+ }
+ private static final int _POSIX_CHILD_MAX = (int)25L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_CHILD_MAX 25
+ * }
+ */
+ public static int _POSIX_CHILD_MAX() {
+ return _POSIX_CHILD_MAX;
+ }
+ private static final int _POSIX_DELAYTIMER_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_DELAYTIMER_MAX 32
+ * }
+ */
+ public static int _POSIX_DELAYTIMER_MAX() {
+ return _POSIX_DELAYTIMER_MAX;
+ }
+ private static final int _POSIX_HOST_NAME_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_HOST_NAME_MAX 255
+ * }
+ */
+ public static int _POSIX_HOST_NAME_MAX() {
+ return _POSIX_HOST_NAME_MAX;
+ }
+ private static final int _POSIX_LINK_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_LINK_MAX 8
+ * }
+ */
+ public static int _POSIX_LINK_MAX() {
+ return _POSIX_LINK_MAX;
+ }
+ private static final int _POSIX_LOGIN_NAME_MAX = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_LOGIN_NAME_MAX 9
+ * }
+ */
+ public static int _POSIX_LOGIN_NAME_MAX() {
+ return _POSIX_LOGIN_NAME_MAX;
+ }
+ private static final int _POSIX_MAX_CANON = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_MAX_CANON 255
+ * }
+ */
+ public static int _POSIX_MAX_CANON() {
+ return _POSIX_MAX_CANON;
+ }
+ private static final int _POSIX_MAX_INPUT = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_MAX_INPUT 255
+ * }
+ */
+ public static int _POSIX_MAX_INPUT() {
+ return _POSIX_MAX_INPUT;
+ }
+ private static final int _POSIX_MQ_OPEN_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_MQ_OPEN_MAX 8
+ * }
+ */
+ public static int _POSIX_MQ_OPEN_MAX() {
+ return _POSIX_MQ_OPEN_MAX;
+ }
+ private static final int _POSIX_MQ_PRIO_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_MQ_PRIO_MAX 32
+ * }
+ */
+ public static int _POSIX_MQ_PRIO_MAX() {
+ return _POSIX_MQ_PRIO_MAX;
+ }
+ private static final int _POSIX_NAME_MAX = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_NAME_MAX 14
+ * }
+ */
+ public static int _POSIX_NAME_MAX() {
+ return _POSIX_NAME_MAX;
+ }
+ private static final int _POSIX_NGROUPS_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_NGROUPS_MAX 8
+ * }
+ */
+ public static int _POSIX_NGROUPS_MAX() {
+ return _POSIX_NGROUPS_MAX;
+ }
+ private static final int _POSIX_OPEN_MAX = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_OPEN_MAX 20
+ * }
+ */
+ public static int _POSIX_OPEN_MAX() {
+ return _POSIX_OPEN_MAX;
+ }
+ private static final int _POSIX_PATH_MAX = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_PATH_MAX 256
+ * }
+ */
+ public static int _POSIX_PATH_MAX() {
+ return _POSIX_PATH_MAX;
+ }
+ private static final int _POSIX_PIPE_BUF = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_PIPE_BUF 512
+ * }
+ */
+ public static int _POSIX_PIPE_BUF() {
+ return _POSIX_PIPE_BUF;
+ }
+ private static final int _POSIX_RE_DUP_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_RE_DUP_MAX 255
+ * }
+ */
+ public static int _POSIX_RE_DUP_MAX() {
+ return _POSIX_RE_DUP_MAX;
+ }
+ private static final int _POSIX_RTSIG_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_RTSIG_MAX 8
+ * }
+ */
+ public static int _POSIX_RTSIG_MAX() {
+ return _POSIX_RTSIG_MAX;
+ }
+ private static final int _POSIX_SEM_NSEMS_MAX = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SEM_NSEMS_MAX 256
+ * }
+ */
+ public static int _POSIX_SEM_NSEMS_MAX() {
+ return _POSIX_SEM_NSEMS_MAX;
+ }
+ private static final int _POSIX_SEM_VALUE_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SEM_VALUE_MAX 32767
+ * }
+ */
+ public static int _POSIX_SEM_VALUE_MAX() {
+ return _POSIX_SEM_VALUE_MAX;
+ }
+ private static final int _POSIX_SIGQUEUE_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SIGQUEUE_MAX 32
+ * }
+ */
+ public static int _POSIX_SIGQUEUE_MAX() {
+ return _POSIX_SIGQUEUE_MAX;
+ }
+ private static final int _POSIX_SSIZE_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SSIZE_MAX 32767
+ * }
+ */
+ public static int _POSIX_SSIZE_MAX() {
+ return _POSIX_SSIZE_MAX;
+ }
+ private static final int _POSIX_STREAM_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_STREAM_MAX 8
+ * }
+ */
+ public static int _POSIX_STREAM_MAX() {
+ return _POSIX_STREAM_MAX;
+ }
+ private static final int _POSIX_SYMLINK_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SYMLINK_MAX 255
+ * }
+ */
+ public static int _POSIX_SYMLINK_MAX() {
+ return _POSIX_SYMLINK_MAX;
+ }
+ private static final int _POSIX_SYMLOOP_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SYMLOOP_MAX 8
+ * }
+ */
+ public static int _POSIX_SYMLOOP_MAX() {
+ return _POSIX_SYMLOOP_MAX;
+ }
+ private static final int _POSIX_TIMER_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TIMER_MAX 32
+ * }
+ */
+ public static int _POSIX_TIMER_MAX() {
+ return _POSIX_TIMER_MAX;
+ }
+ private static final int _POSIX_TTY_NAME_MAX = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TTY_NAME_MAX 9
+ * }
+ */
+ public static int _POSIX_TTY_NAME_MAX() {
+ return _POSIX_TTY_NAME_MAX;
+ }
+ private static final int _POSIX_TZNAME_MAX = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TZNAME_MAX 6
+ * }
+ */
+ public static int _POSIX_TZNAME_MAX() {
+ return _POSIX_TZNAME_MAX;
+ }
+ private static final int _POSIX_CLOCKRES_MIN = (int)20000000L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_CLOCKRES_MIN 20000000
+ * }
+ */
+ public static int _POSIX_CLOCKRES_MIN() {
+ return _POSIX_CLOCKRES_MIN;
+ }
+ private static final int NR_OPEN = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define NR_OPEN 1024
+ * }
+ */
+ public static int NR_OPEN() {
+ return NR_OPEN;
+ }
+ private static final int NGROUPS_MAX = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define NGROUPS_MAX 65536
+ * }
+ */
+ public static int NGROUPS_MAX() {
+ return NGROUPS_MAX;
+ }
+ private static final int ARG_MAX = (int)131072L;
+ /**
+ * {@snippet lang=c :
+ * #define ARG_MAX 131072
+ * }
+ */
+ public static int ARG_MAX() {
+ return ARG_MAX;
+ }
+ private static final int LINK_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define LINK_MAX 127
+ * }
+ */
+ public static int LINK_MAX() {
+ return LINK_MAX;
+ }
+ private static final int MAX_CANON = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define MAX_CANON 255
+ * }
+ */
+ public static int MAX_CANON() {
+ return MAX_CANON;
+ }
+ private static final int MAX_INPUT = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define MAX_INPUT 255
+ * }
+ */
+ public static int MAX_INPUT() {
+ return MAX_INPUT;
+ }
+ private static final int NAME_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define NAME_MAX 255
+ * }
+ */
+ public static int NAME_MAX() {
+ return NAME_MAX;
+ }
+ private static final int PATH_MAX = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define PATH_MAX 4096
+ * }
+ */
+ public static int PATH_MAX() {
+ return PATH_MAX;
+ }
+ private static final int PIPE_BUF = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define PIPE_BUF 4096
+ * }
+ */
+ public static int PIPE_BUF() {
+ return PIPE_BUF;
+ }
+ private static final int XATTR_NAME_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define XATTR_NAME_MAX 255
+ * }
+ */
+ public static int XATTR_NAME_MAX() {
+ return XATTR_NAME_MAX;
+ }
+ private static final int XATTR_SIZE_MAX = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define XATTR_SIZE_MAX 65536
+ * }
+ */
+ public static int XATTR_SIZE_MAX() {
+ return XATTR_SIZE_MAX;
+ }
+ private static final int XATTR_LIST_MAX = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define XATTR_LIST_MAX 65536
+ * }
+ */
+ public static int XATTR_LIST_MAX() {
+ return XATTR_LIST_MAX;
+ }
+ private static final int RTSIG_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define RTSIG_MAX 32
+ * }
+ */
+ public static int RTSIG_MAX() {
+ return RTSIG_MAX;
+ }
+ private static final int _POSIX_THREAD_KEYS_MAX = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_THREAD_KEYS_MAX 128
+ * }
+ */
+ public static int _POSIX_THREAD_KEYS_MAX() {
+ return _POSIX_THREAD_KEYS_MAX;
+ }
+ private static final int PTHREAD_KEYS_MAX = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define PTHREAD_KEYS_MAX 1024
+ * }
+ */
+ public static int PTHREAD_KEYS_MAX() {
+ return PTHREAD_KEYS_MAX;
+ }
+ private static final int _POSIX_THREAD_DESTRUCTOR_ITERATIONS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4
+ * }
+ */
+ public static int _POSIX_THREAD_DESTRUCTOR_ITERATIONS() {
+ return _POSIX_THREAD_DESTRUCTOR_ITERATIONS;
+ }
+ private static final int _POSIX_THREAD_THREADS_MAX = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_THREAD_THREADS_MAX 64
+ * }
+ */
+ public static int _POSIX_THREAD_THREADS_MAX() {
+ return _POSIX_THREAD_THREADS_MAX;
+ }
+ private static final int AIO_PRIO_DELTA_MAX = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define AIO_PRIO_DELTA_MAX 20
+ * }
+ */
+ public static int AIO_PRIO_DELTA_MAX() {
+ return AIO_PRIO_DELTA_MAX;
+ }
+ private static final int PTHREAD_STACK_MIN = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define PTHREAD_STACK_MIN 16384
+ * }
+ */
+ public static int PTHREAD_STACK_MIN() {
+ return PTHREAD_STACK_MIN;
+ }
+ private static final int DELAYTIMER_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define DELAYTIMER_MAX 2147483647
+ * }
+ */
+ public static int DELAYTIMER_MAX() {
+ return DELAYTIMER_MAX;
+ }
+ private static final int TTY_NAME_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define TTY_NAME_MAX 32
+ * }
+ */
+ public static int TTY_NAME_MAX() {
+ return TTY_NAME_MAX;
+ }
+ private static final int LOGIN_NAME_MAX = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define LOGIN_NAME_MAX 256
+ * }
+ */
+ public static int LOGIN_NAME_MAX() {
+ return LOGIN_NAME_MAX;
+ }
+ private static final int HOST_NAME_MAX = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define HOST_NAME_MAX 64
+ * }
+ */
+ public static int HOST_NAME_MAX() {
+ return HOST_NAME_MAX;
+ }
+ private static final int MQ_PRIO_MAX = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define MQ_PRIO_MAX 32768
+ * }
+ */
+ public static int MQ_PRIO_MAX() {
+ return MQ_PRIO_MAX;
+ }
+ private static final int _BITS_POSIX2_LIM_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_POSIX2_LIM_H 1
+ * }
+ */
+ public static int _BITS_POSIX2_LIM_H() {
+ return _BITS_POSIX2_LIM_H;
+ }
+ private static final int _POSIX2_BC_BASE_MAX = (int)99L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_BC_BASE_MAX 99
+ * }
+ */
+ public static int _POSIX2_BC_BASE_MAX() {
+ return _POSIX2_BC_BASE_MAX;
+ }
+ private static final int _POSIX2_BC_DIM_MAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_BC_DIM_MAX 2048
+ * }
+ */
+ public static int _POSIX2_BC_DIM_MAX() {
+ return _POSIX2_BC_DIM_MAX;
+ }
+ private static final int _POSIX2_BC_SCALE_MAX = (int)99L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_BC_SCALE_MAX 99
+ * }
+ */
+ public static int _POSIX2_BC_SCALE_MAX() {
+ return _POSIX2_BC_SCALE_MAX;
+ }
+ private static final int _POSIX2_BC_STRING_MAX = (int)1000L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_BC_STRING_MAX 1000
+ * }
+ */
+ public static int _POSIX2_BC_STRING_MAX() {
+ return _POSIX2_BC_STRING_MAX;
+ }
+ private static final int _POSIX2_COLL_WEIGHTS_MAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_COLL_WEIGHTS_MAX 2
+ * }
+ */
+ public static int _POSIX2_COLL_WEIGHTS_MAX() {
+ return _POSIX2_COLL_WEIGHTS_MAX;
+ }
+ private static final int _POSIX2_EXPR_NEST_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_EXPR_NEST_MAX 32
+ * }
+ */
+ public static int _POSIX2_EXPR_NEST_MAX() {
+ return _POSIX2_EXPR_NEST_MAX;
+ }
+ private static final int _POSIX2_LINE_MAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_LINE_MAX 2048
+ * }
+ */
+ public static int _POSIX2_LINE_MAX() {
+ return _POSIX2_LINE_MAX;
+ }
+ private static final int _POSIX2_RE_DUP_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_RE_DUP_MAX 255
+ * }
+ */
+ public static int _POSIX2_RE_DUP_MAX() {
+ return _POSIX2_RE_DUP_MAX;
+ }
+ private static final int _POSIX2_CHARCLASS_NAME_MAX = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_CHARCLASS_NAME_MAX 14
+ * }
+ */
+ public static int _POSIX2_CHARCLASS_NAME_MAX() {
+ return _POSIX2_CHARCLASS_NAME_MAX;
+ }
+ private static final int COLL_WEIGHTS_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define COLL_WEIGHTS_MAX 255
+ * }
+ */
+ public static int COLL_WEIGHTS_MAX() {
+ return COLL_WEIGHTS_MAX;
+ }
+ private static final int CHARCLASS_NAME_MAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define CHARCLASS_NAME_MAX 2048
+ * }
+ */
+ public static int CHARCLASS_NAME_MAX() {
+ return CHARCLASS_NAME_MAX;
+ }
+ private static final int __GNUC_VA_LIST = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __GNUC_VA_LIST 1
+ * }
+ */
+ public static int __GNUC_VA_LIST() {
+ return __GNUC_VA_LIST;
+ }
+ private static final int true_ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define true 1
+ * }
+ */
+ public static int true_() {
+ return true_;
+ }
+ private static final int false_ = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define false 0
+ * }
+ */
+ public static int false_() {
+ return false_;
+ }
+ private static final int __bool_true_false_are_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __bool_true_false_are_defined 1
+ * }
+ */
+ public static int __bool_true_false_are_defined() {
+ return __bool_true_false_are_defined;
+ }
+ private static final int _SYS_TYPES_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _SYS_TYPES_H 1
+ * }
+ */
+ public static int _SYS_TYPES_H() {
+ return _SYS_TYPES_H;
+ }
+ private static final int __clock_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __clock_t_defined 1
+ * }
+ */
+ public static int __clock_t_defined() {
+ return __clock_t_defined;
+ }
+ private static final int __clockid_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __clockid_t_defined 1
+ * }
+ */
+ public static int __clockid_t_defined() {
+ return __clockid_t_defined;
+ }
+ private static final int __time_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __time_t_defined 1
+ * }
+ */
+ public static int __time_t_defined() {
+ return __time_t_defined;
+ }
+ private static final int __timer_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __timer_t_defined 1
+ * }
+ */
+ public static int __timer_t_defined() {
+ return __timer_t_defined;
+ }
+ private static final int __BIT_TYPES_DEFINED__ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __BIT_TYPES_DEFINED__ 1
+ * }
+ */
+ public static int __BIT_TYPES_DEFINED__() {
+ return __BIT_TYPES_DEFINED__;
+ }
+ private static final int _ENDIAN_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _ENDIAN_H 1
+ * }
+ */
+ public static int _ENDIAN_H() {
+ return _ENDIAN_H;
+ }
+ private static final int _BITS_ENDIAN_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_ENDIAN_H 1
+ * }
+ */
+ public static int _BITS_ENDIAN_H() {
+ return _BITS_ENDIAN_H;
+ }
+ private static final int __LITTLE_ENDIAN = (int)1234L;
+ /**
+ * {@snippet lang=c :
+ * #define __LITTLE_ENDIAN 1234
+ * }
+ */
+ public static int __LITTLE_ENDIAN() {
+ return __LITTLE_ENDIAN;
+ }
+ private static final int __BIG_ENDIAN = (int)4321L;
+ /**
+ * {@snippet lang=c :
+ * #define __BIG_ENDIAN 4321
+ * }
+ */
+ public static int __BIG_ENDIAN() {
+ return __BIG_ENDIAN;
+ }
+ private static final int __PDP_ENDIAN = (int)3412L;
+ /**
+ * {@snippet lang=c :
+ * #define __PDP_ENDIAN 3412
+ * }
+ */
+ public static int __PDP_ENDIAN() {
+ return __PDP_ENDIAN;
+ }
+ private static final int _BITS_ENDIANNESS_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_ENDIANNESS_H 1
+ * }
+ */
+ public static int _BITS_ENDIANNESS_H() {
+ return _BITS_ENDIANNESS_H;
+ }
+ private static final int _BITS_BYTESWAP_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_BYTESWAP_H 1
+ * }
+ */
+ public static int _BITS_BYTESWAP_H() {
+ return _BITS_BYTESWAP_H;
+ }
+ private static final int _BITS_UINTN_IDENTITY_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_UINTN_IDENTITY_H 1
+ * }
+ */
+ public static int _BITS_UINTN_IDENTITY_H() {
+ return _BITS_UINTN_IDENTITY_H;
+ }
+ private static final int _SYS_SELECT_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _SYS_SELECT_H 1
+ * }
+ */
+ public static int _SYS_SELECT_H() {
+ return _SYS_SELECT_H;
+ }
+ private static final int __sigset_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __sigset_t_defined 1
+ * }
+ */
+ public static int __sigset_t_defined() {
+ return __sigset_t_defined;
+ }
+ private static final int __timeval_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __timeval_defined 1
+ * }
+ */
+ public static int __timeval_defined() {
+ return __timeval_defined;
+ }
+ private static final int _STRUCT_TIMESPEC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _STRUCT_TIMESPEC 1
+ * }
+ */
+ public static int _STRUCT_TIMESPEC() {
+ return _STRUCT_TIMESPEC;
+ }
+ private static final int _BITS_PTHREADTYPES_COMMON_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_PTHREADTYPES_COMMON_H 1
+ * }
+ */
+ public static int _BITS_PTHREADTYPES_COMMON_H() {
+ return _BITS_PTHREADTYPES_COMMON_H;
+ }
+ private static final int _THREAD_SHARED_TYPES_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _THREAD_SHARED_TYPES_H 1
+ * }
+ */
+ public static int _THREAD_SHARED_TYPES_H() {
+ return _THREAD_SHARED_TYPES_H;
+ }
+ private static final int _BITS_PTHREADTYPES_ARCH_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_PTHREADTYPES_ARCH_H 1
+ * }
+ */
+ public static int _BITS_PTHREADTYPES_ARCH_H() {
+ return _BITS_PTHREADTYPES_ARCH_H;
+ }
+ private static final int __SIZEOF_PTHREAD_MUTEX_T = (int)40L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIZEOF_PTHREAD_MUTEX_T 40
+ * }
+ */
+ public static int __SIZEOF_PTHREAD_MUTEX_T() {
+ return __SIZEOF_PTHREAD_MUTEX_T;
+ }
+ private static final int __SIZEOF_PTHREAD_ATTR_T = (int)56L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIZEOF_PTHREAD_ATTR_T 56
+ * }
+ */
+ public static int __SIZEOF_PTHREAD_ATTR_T() {
+ return __SIZEOF_PTHREAD_ATTR_T;
+ }
+ private static final int __SIZEOF_PTHREAD_RWLOCK_T = (int)56L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIZEOF_PTHREAD_RWLOCK_T 56
+ * }
+ */
+ public static int __SIZEOF_PTHREAD_RWLOCK_T() {
+ return __SIZEOF_PTHREAD_RWLOCK_T;
+ }
+ private static final int __SIZEOF_PTHREAD_BARRIER_T = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIZEOF_PTHREAD_BARRIER_T 32
+ * }
+ */
+ public static int __SIZEOF_PTHREAD_BARRIER_T() {
+ return __SIZEOF_PTHREAD_BARRIER_T;
+ }
+ private static final int __SIZEOF_PTHREAD_MUTEXATTR_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIZEOF_PTHREAD_MUTEXATTR_T 4
+ * }
+ */
+ public static int __SIZEOF_PTHREAD_MUTEXATTR_T() {
+ return __SIZEOF_PTHREAD_MUTEXATTR_T;
+ }
+ private static final int __SIZEOF_PTHREAD_COND_T = (int)48L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIZEOF_PTHREAD_COND_T 48
+ * }
+ */
+ public static int __SIZEOF_PTHREAD_COND_T() {
+ return __SIZEOF_PTHREAD_COND_T;
+ }
+ private static final int __SIZEOF_PTHREAD_CONDATTR_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIZEOF_PTHREAD_CONDATTR_T 4
+ * }
+ */
+ public static int __SIZEOF_PTHREAD_CONDATTR_T() {
+ return __SIZEOF_PTHREAD_CONDATTR_T;
+ }
+ private static final int __SIZEOF_PTHREAD_RWLOCKATTR_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8
+ * }
+ */
+ public static int __SIZEOF_PTHREAD_RWLOCKATTR_T() {
+ return __SIZEOF_PTHREAD_RWLOCKATTR_T;
+ }
+ private static final int __SIZEOF_PTHREAD_BARRIERATTR_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIZEOF_PTHREAD_BARRIERATTR_T 4
+ * }
+ */
+ public static int __SIZEOF_PTHREAD_BARRIERATTR_T() {
+ return __SIZEOF_PTHREAD_BARRIERATTR_T;
+ }
+ private static final int _THREAD_MUTEX_INTERNAL_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _THREAD_MUTEX_INTERNAL_H 1
+ * }
+ */
+ public static int _THREAD_MUTEX_INTERNAL_H() {
+ return _THREAD_MUTEX_INTERNAL_H;
+ }
+ private static final int __PTHREAD_MUTEX_HAVE_PREV = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_MUTEX_HAVE_PREV 1
+ * }
+ */
+ public static int __PTHREAD_MUTEX_HAVE_PREV() {
+ return __PTHREAD_MUTEX_HAVE_PREV;
+ }
+ private static final int __have_pthread_attr_t = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __have_pthread_attr_t 1
+ * }
+ */
+ public static int __have_pthread_attr_t() {
+ return __have_pthread_attr_t;
+ }
+ private static final int H5_VERS_MAJOR = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_MAJOR 2
+ * }
+ */
+ public static int H5_VERS_MAJOR() {
+ return H5_VERS_MAJOR;
+ }
+ private static final int H5_VERS_MINOR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_MINOR 0
+ * }
+ */
+ public static int H5_VERS_MINOR() {
+ return H5_VERS_MINOR;
+ }
+ private static final int H5_VERS_RELEASE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_RELEASE 0
+ * }
+ */
+ public static int H5_VERS_RELEASE() {
+ return H5_VERS_RELEASE;
+ }
+ private static final int H5_SIZEOF_HSIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HSIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HSIZE_T() {
+ return H5_SIZEOF_HSIZE_T;
+ }
+ private static final int H5_SIZEOF_HSSIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HSSIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HSSIZE_T() {
+ return H5_SIZEOF_HSSIZE_T;
+ }
+ private static final int H5_SIZEOF_HADDR_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HADDR_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HADDR_T() {
+ return H5_SIZEOF_HADDR_T;
+ }
+ private static final int H5_HAVE_BUILTIN_EXPECT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_BUILTIN_EXPECT 1
+ * }
+ */
+ public static int H5_HAVE_BUILTIN_EXPECT() {
+ return H5_HAVE_BUILTIN_EXPECT;
+ }
+ private static final int H5O_SHMESG_NONE_FLAG = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_NONE_FLAG 0
+ * }
+ */
+ public static int H5O_SHMESG_NONE_FLAG() {
+ return H5O_SHMESG_NONE_FLAG;
+ }
+ private static final int H5O_HDR_CHUNK0_SIZE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_CHUNK0_SIZE 3
+ * }
+ */
+ public static int H5O_HDR_CHUNK0_SIZE() {
+ return H5O_HDR_CHUNK0_SIZE;
+ }
+ private static final int H5O_HDR_ATTR_CRT_ORDER_TRACKED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ATTR_CRT_ORDER_TRACKED 4
+ * }
+ */
+ public static int H5O_HDR_ATTR_CRT_ORDER_TRACKED() {
+ return H5O_HDR_ATTR_CRT_ORDER_TRACKED;
+ }
+ private static final int H5O_HDR_ATTR_CRT_ORDER_INDEXED = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ATTR_CRT_ORDER_INDEXED 8
+ * }
+ */
+ public static int H5O_HDR_ATTR_CRT_ORDER_INDEXED() {
+ return H5O_HDR_ATTR_CRT_ORDER_INDEXED;
+ }
+ private static final int H5O_HDR_ATTR_STORE_PHASE_CHANGE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ATTR_STORE_PHASE_CHANGE 16
+ * }
+ */
+ public static int H5O_HDR_ATTR_STORE_PHASE_CHANGE() {
+ return H5O_HDR_ATTR_STORE_PHASE_CHANGE;
+ }
+ private static final int H5O_HDR_STORE_TIMES = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_STORE_TIMES 32
+ * }
+ */
+ public static int H5O_HDR_STORE_TIMES() {
+ return H5O_HDR_STORE_TIMES;
+ }
+ private static final int H5O_SHMESG_MAX_NINDEXES = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_MAX_NINDEXES 8
+ * }
+ */
+ public static int H5O_SHMESG_MAX_NINDEXES() {
+ return H5O_SHMESG_MAX_NINDEXES;
+ }
+ private static final int H5O_SHMESG_MAX_LIST_SIZE = (int)5000L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_MAX_LIST_SIZE 5000
+ * }
+ */
+ public static int H5O_SHMESG_MAX_LIST_SIZE() {
+ return H5O_SHMESG_MAX_LIST_SIZE;
+ }
+ private static final int H5T_OPAQUE_TAG_MAX = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_OPAQUE_TAG_MAX 256
+ * }
+ */
+ public static int H5T_OPAQUE_TAG_MAX() {
+ return H5T_OPAQUE_TAG_MAX;
+ }
+ private static final int H5AC__CURR_CACHE_CONFIG_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CURR_CACHE_CONFIG_VERSION 1
+ * }
+ */
+ public static int H5AC__CURR_CACHE_CONFIG_VERSION() {
+ return H5AC__CURR_CACHE_CONFIG_VERSION;
+ }
+ private static final int H5AC__MAX_TRACE_FILE_NAME_LEN = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__MAX_TRACE_FILE_NAME_LEN 1024
+ * }
+ */
+ public static int H5AC__MAX_TRACE_FILE_NAME_LEN() {
+ return H5AC__MAX_TRACE_FILE_NAME_LEN;
+ }
+ private static final int H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY 0
+ * }
+ */
+ public static int H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY() {
+ return H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY;
+ }
+ private static final int H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED 1
+ * }
+ */
+ public static int H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED() {
+ return H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED;
+ }
+ private static final int H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION 1
+ * }
+ */
+ public static int H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION() {
+ return H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION;
+ }
+ private static final int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX = (int)100L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX 100
+ * }
+ */
+ public static int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX() {
+ return H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX;
+ }
+ private static final int _STDIO_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _STDIO_H 1
+ * }
+ */
+ public static int _STDIO_H() {
+ return _STDIO_H;
+ }
+ private static final int _____fpos_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _____fpos_t_defined 1
+ * }
+ */
+ public static int _____fpos_t_defined() {
+ return _____fpos_t_defined;
+ }
+ private static final int ____mbstate_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define ____mbstate_t_defined 1
+ * }
+ */
+ public static int ____mbstate_t_defined() {
+ return ____mbstate_t_defined;
+ }
+ private static final int _____fpos64_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _____fpos64_t_defined 1
+ * }
+ */
+ public static int _____fpos64_t_defined() {
+ return _____fpos64_t_defined;
+ }
+ private static final int ____FILE_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define ____FILE_defined 1
+ * }
+ */
+ public static int ____FILE_defined() {
+ return ____FILE_defined;
+ }
+ private static final int __FILE_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __FILE_defined 1
+ * }
+ */
+ public static int __FILE_defined() {
+ return __FILE_defined;
+ }
+ private static final int __struct_FILE_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __struct_FILE_defined 1
+ * }
+ */
+ public static int __struct_FILE_defined() {
+ return __struct_FILE_defined;
+ }
+ private static final int _IO_EOF_SEEN = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define _IO_EOF_SEEN 16
+ * }
+ */
+ public static int _IO_EOF_SEEN() {
+ return _IO_EOF_SEEN;
+ }
+ private static final int _IO_ERR_SEEN = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _IO_ERR_SEEN 32
+ * }
+ */
+ public static int _IO_ERR_SEEN() {
+ return _IO_ERR_SEEN;
+ }
+ private static final int _IO_USER_LOCK = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define _IO_USER_LOCK 32768
+ * }
+ */
+ public static int _IO_USER_LOCK() {
+ return _IO_USER_LOCK;
+ }
+ private static final int __cookie_io_functions_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __cookie_io_functions_t_defined 1
+ * }
+ */
+ public static int __cookie_io_functions_t_defined() {
+ return __cookie_io_functions_t_defined;
+ }
+ private static final int _IOFBF = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _IOFBF 0
+ * }
+ */
+ public static int _IOFBF() {
+ return _IOFBF;
+ }
+ private static final int _IOLBF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _IOLBF 1
+ * }
+ */
+ public static int _IOLBF() {
+ return _IOLBF;
+ }
+ private static final int _IONBF = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define _IONBF 2
+ * }
+ */
+ public static int _IONBF() {
+ return _IONBF;
+ }
+ private static final int BUFSIZ = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define BUFSIZ 8192
+ * }
+ */
+ public static int BUFSIZ() {
+ return BUFSIZ;
+ }
+ private static final int SEEK_SET = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_SET 0
+ * }
+ */
+ public static int SEEK_SET() {
+ return SEEK_SET;
+ }
+ private static final int SEEK_CUR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_CUR 1
+ * }
+ */
+ public static int SEEK_CUR() {
+ return SEEK_CUR;
+ }
+ private static final int SEEK_END = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_END 2
+ * }
+ */
+ public static int SEEK_END() {
+ return SEEK_END;
+ }
+ private static final int L_tmpnam = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define L_tmpnam 20
+ * }
+ */
+ public static int L_tmpnam() {
+ return L_tmpnam;
+ }
+ private static final int TMP_MAX = (int)238328L;
+ /**
+ * {@snippet lang=c :
+ * #define TMP_MAX 238328
+ * }
+ */
+ public static int TMP_MAX() {
+ return TMP_MAX;
+ }
+ private static final int _BITS_STDIO_LIM_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_STDIO_LIM_H 1
+ * }
+ */
+ public static int _BITS_STDIO_LIM_H() {
+ return _BITS_STDIO_LIM_H;
+ }
+ private static final int FILENAME_MAX = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define FILENAME_MAX 4096
+ * }
+ */
+ public static int FILENAME_MAX() {
+ return FILENAME_MAX;
+ }
+ private static final int L_ctermid = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define L_ctermid 9
+ * }
+ */
+ public static int L_ctermid() {
+ return L_ctermid;
+ }
+ private static final int FOPEN_MAX = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define FOPEN_MAX 16
+ * }
+ */
+ public static int FOPEN_MAX() {
+ return FOPEN_MAX;
+ }
+ private static final int __HAVE_FLOAT128 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOAT128 0
+ * }
+ */
+ public static int __HAVE_FLOAT128() {
+ return __HAVE_FLOAT128;
+ }
+ private static final int __HAVE_DISTINCT_FLOAT128 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_DISTINCT_FLOAT128 0
+ * }
+ */
+ public static int __HAVE_DISTINCT_FLOAT128() {
+ return __HAVE_DISTINCT_FLOAT128;
+ }
+ private static final int __HAVE_FLOAT64X = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOAT64X 1
+ * }
+ */
+ public static int __HAVE_FLOAT64X() {
+ return __HAVE_FLOAT64X;
+ }
+ private static final int __HAVE_FLOAT64X_LONG_DOUBLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOAT64X_LONG_DOUBLE 1
+ * }
+ */
+ public static int __HAVE_FLOAT64X_LONG_DOUBLE() {
+ return __HAVE_FLOAT64X_LONG_DOUBLE;
+ }
+ private static final int __HAVE_FLOAT16 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOAT16 0
+ * }
+ */
+ public static int __HAVE_FLOAT16() {
+ return __HAVE_FLOAT16;
+ }
+ private static final int __HAVE_FLOAT32 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOAT32 1
+ * }
+ */
+ public static int __HAVE_FLOAT32() {
+ return __HAVE_FLOAT32;
+ }
+ private static final int __HAVE_FLOAT64 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOAT64 1
+ * }
+ */
+ public static int __HAVE_FLOAT64() {
+ return __HAVE_FLOAT64;
+ }
+ private static final int __HAVE_FLOAT32X = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOAT32X 1
+ * }
+ */
+ public static int __HAVE_FLOAT32X() {
+ return __HAVE_FLOAT32X;
+ }
+ private static final int __HAVE_FLOAT128X = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOAT128X 0
+ * }
+ */
+ public static int __HAVE_FLOAT128X() {
+ return __HAVE_FLOAT128X;
+ }
+ private static final int __HAVE_DISTINCT_FLOAT32 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_DISTINCT_FLOAT32 0
+ * }
+ */
+ public static int __HAVE_DISTINCT_FLOAT32() {
+ return __HAVE_DISTINCT_FLOAT32;
+ }
+ private static final int __HAVE_DISTINCT_FLOAT64 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_DISTINCT_FLOAT64 0
+ * }
+ */
+ public static int __HAVE_DISTINCT_FLOAT64() {
+ return __HAVE_DISTINCT_FLOAT64;
+ }
+ private static final int __HAVE_DISTINCT_FLOAT32X = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_DISTINCT_FLOAT32X 0
+ * }
+ */
+ public static int __HAVE_DISTINCT_FLOAT32X() {
+ return __HAVE_DISTINCT_FLOAT32X;
+ }
+ private static final int __HAVE_DISTINCT_FLOAT64X = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_DISTINCT_FLOAT64X 0
+ * }
+ */
+ public static int __HAVE_DISTINCT_FLOAT64X() {
+ return __HAVE_DISTINCT_FLOAT64X;
+ }
+ private static final int __HAVE_FLOATN_NOT_TYPEDEF = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOATN_NOT_TYPEDEF 0
+ * }
+ */
+ public static int __HAVE_FLOATN_NOT_TYPEDEF() {
+ return __HAVE_FLOATN_NOT_TYPEDEF;
+ }
+ private static final int H5E_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5E_DEFAULT 0
+ * }
+ */
+ public static int H5E_DEFAULT() {
+ return H5E_DEFAULT;
+ }
+ private static final int H5ES_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5ES_NONE 0
+ * }
+ */
+ public static int H5ES_NONE() {
+ return H5ES_NONE;
+ }
+ private static final int H5F_FAMILY_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_FAMILY_DEFAULT 0
+ * }
+ */
+ public static int H5F_FAMILY_DEFAULT() {
+ return H5F_FAMILY_DEFAULT;
+ }
+ private static final int H5F_NUM_METADATA_READ_RETRY_TYPES = (int)21L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_NUM_METADATA_READ_RETRY_TYPES 21
+ * }
+ */
+ public static int H5F_NUM_METADATA_READ_RETRY_TYPES() {
+ return H5F_NUM_METADATA_READ_RETRY_TYPES;
+ }
+ private static final int H5FD_VFD_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_VFD_DEFAULT 0
+ * }
+ */
+ public static int H5FD_VFD_DEFAULT() {
+ return H5FD_VFD_DEFAULT;
+ }
+ private static final int H5_VFD_RESERVED = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_RESERVED 256
+ * }
+ */
+ public static int H5_VFD_RESERVED() {
+ return H5_VFD_RESERVED;
+ }
+ private static final int H5_VFD_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MAX 65535
+ * }
+ */
+ public static int H5_VFD_MAX() {
+ return H5_VFD_MAX;
+ }
+ private static final int H5FD_FEAT_AGGREGATE_METADATA = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_AGGREGATE_METADATA 1
+ * }
+ */
+ public static int H5FD_FEAT_AGGREGATE_METADATA() {
+ return H5FD_FEAT_AGGREGATE_METADATA;
+ }
+ private static final int H5FD_FEAT_ACCUMULATE_METADATA_WRITE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ACCUMULATE_METADATA_WRITE 2
+ * }
+ */
+ public static int H5FD_FEAT_ACCUMULATE_METADATA_WRITE() {
+ return H5FD_FEAT_ACCUMULATE_METADATA_WRITE;
+ }
+ private static final int H5FD_FEAT_ACCUMULATE_METADATA_READ = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ACCUMULATE_METADATA_READ 4
+ * }
+ */
+ public static int H5FD_FEAT_ACCUMULATE_METADATA_READ() {
+ return H5FD_FEAT_ACCUMULATE_METADATA_READ;
+ }
+ private static final int H5FD_FEAT_DATA_SIEVE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_DATA_SIEVE 8
+ * }
+ */
+ public static int H5FD_FEAT_DATA_SIEVE() {
+ return H5FD_FEAT_DATA_SIEVE;
+ }
+ private static final int H5FD_FEAT_AGGREGATE_SMALLDATA = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_AGGREGATE_SMALLDATA 16
+ * }
+ */
+ public static int H5FD_FEAT_AGGREGATE_SMALLDATA() {
+ return H5FD_FEAT_AGGREGATE_SMALLDATA;
+ }
+ private static final int H5FD_FEAT_IGNORE_DRVRINFO = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_IGNORE_DRVRINFO 32
+ * }
+ */
+ public static int H5FD_FEAT_IGNORE_DRVRINFO() {
+ return H5FD_FEAT_IGNORE_DRVRINFO;
+ }
+ private static final int H5FD_FEAT_DIRTY_DRVRINFO_LOAD = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_DIRTY_DRVRINFO_LOAD 64
+ * }
+ */
+ public static int H5FD_FEAT_DIRTY_DRVRINFO_LOAD() {
+ return H5FD_FEAT_DIRTY_DRVRINFO_LOAD;
+ }
+ private static final int H5FD_FEAT_POSIX_COMPAT_HANDLE = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_POSIX_COMPAT_HANDLE 128
+ * }
+ */
+ public static int H5FD_FEAT_POSIX_COMPAT_HANDLE() {
+ return H5FD_FEAT_POSIX_COMPAT_HANDLE;
+ }
+ private static final int H5FD_FEAT_HAS_MPI = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_HAS_MPI 256
+ * }
+ */
+ public static int H5FD_FEAT_HAS_MPI() {
+ return H5FD_FEAT_HAS_MPI;
+ }
+ private static final int H5FD_FEAT_ALLOCATE_EARLY = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ALLOCATE_EARLY 512
+ * }
+ */
+ public static int H5FD_FEAT_ALLOCATE_EARLY() {
+ return H5FD_FEAT_ALLOCATE_EARLY;
+ }
+ private static final int H5FD_FEAT_ALLOW_FILE_IMAGE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ALLOW_FILE_IMAGE 1024
+ * }
+ */
+ public static int H5FD_FEAT_ALLOW_FILE_IMAGE() {
+ return H5FD_FEAT_ALLOW_FILE_IMAGE;
+ }
+ private static final int H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS 2048
+ * }
+ */
+ public static int H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS() {
+ return H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS;
+ }
+ private static final int H5FD_FEAT_SUPPORTS_SWMR_IO = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_SUPPORTS_SWMR_IO 4096
+ * }
+ */
+ public static int H5FD_FEAT_SUPPORTS_SWMR_IO() {
+ return H5FD_FEAT_SUPPORTS_SWMR_IO;
+ }
+ private static final int H5FD_FEAT_USE_ALLOC_SIZE = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_USE_ALLOC_SIZE 8192
+ * }
+ */
+ public static int H5FD_FEAT_USE_ALLOC_SIZE() {
+ return H5FD_FEAT_USE_ALLOC_SIZE;
+ }
+ private static final int H5FD_FEAT_PAGED_AGGR = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_PAGED_AGGR 16384
+ * }
+ */
+ public static int H5FD_FEAT_PAGED_AGGR() {
+ return H5FD_FEAT_PAGED_AGGR;
+ }
+ private static final int H5FD_FEAT_DEFAULT_VFD_COMPATIBLE = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_DEFAULT_VFD_COMPATIBLE 32768
+ * }
+ */
+ public static int H5FD_FEAT_DEFAULT_VFD_COMPATIBLE() {
+ return H5FD_FEAT_DEFAULT_VFD_COMPATIBLE;
+ }
+ private static final int H5FD_FEAT_MEMMANAGE = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_MEMMANAGE 65536
+ * }
+ */
+ public static int H5FD_FEAT_MEMMANAGE() {
+ return H5FD_FEAT_MEMMANAGE;
+ }
+ private static final int H5FD_CTL_OPC_RESERVED = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_OPC_RESERVED 512
+ * }
+ */
+ public static int H5FD_CTL_OPC_RESERVED() {
+ return H5FD_CTL_OPC_RESERVED;
+ }
+ private static final int H5FD_CTL_INVALID_OPCODE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_INVALID_OPCODE 0
+ * }
+ */
+ public static int H5FD_CTL_INVALID_OPCODE() {
+ return H5FD_CTL_INVALID_OPCODE;
+ }
+ private static final int H5FD_CTL_TEST_OPCODE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_TEST_OPCODE 1
+ * }
+ */
+ public static int H5FD_CTL_TEST_OPCODE() {
+ return H5FD_CTL_TEST_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE 2
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE() {
+ return H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_INFO_OPCODE = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_INFO_OPCODE 9
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_INFO_OPCODE() {
+ return H5FD_CTL_GET_MPI_INFO_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_RANK_OPCODE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_RANK_OPCODE 3
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_RANK_OPCODE() {
+ return H5FD_CTL_GET_MPI_RANK_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_SIZE_OPCODE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_SIZE_OPCODE 4
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_SIZE_OPCODE() {
+ return H5FD_CTL_GET_MPI_SIZE_OPCODE;
+ }
+ private static final int H5FD_CTL_MEM_ALLOC = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_MEM_ALLOC 5
+ * }
+ */
+ public static int H5FD_CTL_MEM_ALLOC() {
+ return H5FD_CTL_MEM_ALLOC;
+ }
+ private static final int H5FD_CTL_MEM_FREE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_MEM_FREE 6
+ * }
+ */
+ public static int H5FD_CTL_MEM_FREE() {
+ return H5FD_CTL_MEM_FREE;
+ }
+ private static final int H5FD_CTL_MEM_COPY = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_MEM_COPY 7
+ * }
+ */
+ public static int H5FD_CTL_MEM_COPY() {
+ return H5FD_CTL_MEM_COPY;
+ }
+ private static final int H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE 8
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE() {
+ return H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE;
+ }
+ private static final int H5FD_CTL_FAIL_IF_UNKNOWN_FLAG = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_FAIL_IF_UNKNOWN_FLAG 1
+ * }
+ */
+ public static int H5FD_CTL_FAIL_IF_UNKNOWN_FLAG() {
+ return H5FD_CTL_FAIL_IF_UNKNOWN_FLAG;
+ }
+ private static final int H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG 2
+ * }
+ */
+ public static int H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG() {
+ return H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG;
+ }
+ private static final int H5L_SAME_LOC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_SAME_LOC 0
+ * }
+ */
+ public static int H5L_SAME_LOC() {
+ return H5L_SAME_LOC;
+ }
+ private static final int H5G_NTYPES = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_NTYPES 256
+ * }
+ */
+ public static int H5G_NTYPES() {
+ return H5G_NTYPES;
+ }
+ private static final int H5G_NLIBTYPES = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_NLIBTYPES 8
+ * }
+ */
+ public static int H5G_NLIBTYPES() {
+ return H5G_NLIBTYPES;
+ }
+ private static final int H5VL_VERSION = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_VERSION 3
+ * }
+ */
+ public static int H5VL_VERSION() {
+ return H5VL_VERSION;
+ }
+ private static final int H5_VOL_NATIVE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_NATIVE 0
+ * }
+ */
+ public static int H5_VOL_NATIVE() {
+ return H5_VOL_NATIVE;
+ }
+ private static final int H5_VOL_RESERVED = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_RESERVED 256
+ * }
+ */
+ public static int H5_VOL_RESERVED() {
+ return H5_VOL_RESERVED;
+ }
+ private static final int H5_VOL_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_MAX 65535
+ * }
+ */
+ public static int H5_VOL_MAX() {
+ return H5_VOL_MAX;
+ }
+ private static final int H5VL_CAP_FLAG_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_NONE 0
+ * }
+ */
+ public static int H5VL_CAP_FLAG_NONE() {
+ return H5VL_CAP_FLAG_NONE;
+ }
+ private static final int H5VL_CAP_FLAG_THREADSAFE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_THREADSAFE 1
+ * }
+ */
+ public static int H5VL_CAP_FLAG_THREADSAFE() {
+ return H5VL_CAP_FLAG_THREADSAFE;
+ }
+ private static final int H5VL_CAP_FLAG_ASYNC = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ASYNC 2
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ASYNC() {
+ return H5VL_CAP_FLAG_ASYNC;
+ }
+ private static final int H5VL_CAP_FLAG_NATIVE_FILES = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_NATIVE_FILES 4
+ * }
+ */
+ public static int H5VL_CAP_FLAG_NATIVE_FILES() {
+ return H5VL_CAP_FLAG_NATIVE_FILES;
+ }
+ private static final int H5VL_CAP_FLAG_ATTR_BASIC = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ATTR_BASIC 8
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ATTR_BASIC() {
+ return H5VL_CAP_FLAG_ATTR_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_ATTR_MORE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ATTR_MORE 16
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ATTR_MORE() {
+ return H5VL_CAP_FLAG_ATTR_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_DATASET_BASIC = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_DATASET_BASIC 32
+ * }
+ */
+ public static int H5VL_CAP_FLAG_DATASET_BASIC() {
+ return H5VL_CAP_FLAG_DATASET_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_DATASET_MORE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_DATASET_MORE 64
+ * }
+ */
+ public static int H5VL_CAP_FLAG_DATASET_MORE() {
+ return H5VL_CAP_FLAG_DATASET_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_FILE_BASIC = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILE_BASIC 128
+ * }
+ */
+ public static int H5VL_CAP_FLAG_FILE_BASIC() {
+ return H5VL_CAP_FLAG_FILE_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_FILE_MORE = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILE_MORE 256
+ * }
+ */
+ public static int H5VL_CAP_FLAG_FILE_MORE() {
+ return H5VL_CAP_FLAG_FILE_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_GROUP_BASIC = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_GROUP_BASIC 512
+ * }
+ */
+ public static int H5VL_CAP_FLAG_GROUP_BASIC() {
+ return H5VL_CAP_FLAG_GROUP_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_GROUP_MORE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_GROUP_MORE 1024
+ * }
+ */
+ public static int H5VL_CAP_FLAG_GROUP_MORE() {
+ return H5VL_CAP_FLAG_GROUP_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_LINK_BASIC = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_LINK_BASIC 2048
+ * }
+ */
+ public static int H5VL_CAP_FLAG_LINK_BASIC() {
+ return H5VL_CAP_FLAG_LINK_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_LINK_MORE = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_LINK_MORE 4096
+ * }
+ */
+ public static int H5VL_CAP_FLAG_LINK_MORE() {
+ return H5VL_CAP_FLAG_LINK_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_MAP_BASIC = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_MAP_BASIC 8192
+ * }
+ */
+ public static int H5VL_CAP_FLAG_MAP_BASIC() {
+ return H5VL_CAP_FLAG_MAP_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_MAP_MORE = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_MAP_MORE 16384
+ * }
+ */
+ public static int H5VL_CAP_FLAG_MAP_MORE() {
+ return H5VL_CAP_FLAG_MAP_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_OBJECT_BASIC = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_OBJECT_BASIC 32768
+ * }
+ */
+ public static int H5VL_CAP_FLAG_OBJECT_BASIC() {
+ return H5VL_CAP_FLAG_OBJECT_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_OBJECT_MORE = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_OBJECT_MORE 65536
+ * }
+ */
+ public static int H5VL_CAP_FLAG_OBJECT_MORE() {
+ return H5VL_CAP_FLAG_OBJECT_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_REF_BASIC = (int)131072L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_REF_BASIC 131072
+ * }
+ */
+ public static int H5VL_CAP_FLAG_REF_BASIC() {
+ return H5VL_CAP_FLAG_REF_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_REF_MORE = (int)262144L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_REF_MORE 262144
+ * }
+ */
+ public static int H5VL_CAP_FLAG_REF_MORE() {
+ return H5VL_CAP_FLAG_REF_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_OBJ_REF = (int)524288L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_OBJ_REF 524288
+ * }
+ */
+ public static int H5VL_CAP_FLAG_OBJ_REF() {
+ return H5VL_CAP_FLAG_OBJ_REF;
+ }
+ private static final int H5VL_CAP_FLAG_REG_REF = (int)1048576L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_REG_REF 1048576
+ * }
+ */
+ public static int H5VL_CAP_FLAG_REG_REF() {
+ return H5VL_CAP_FLAG_REG_REF;
+ }
+ private static final int H5VL_CAP_FLAG_ATTR_REF = (int)2097152L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ATTR_REF 2097152
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ATTR_REF() {
+ return H5VL_CAP_FLAG_ATTR_REF;
+ }
+ private static final int H5VL_CAP_FLAG_STORED_DATATYPES = (int)4194304L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_STORED_DATATYPES 4194304
+ * }
+ */
+ public static int H5VL_CAP_FLAG_STORED_DATATYPES() {
+ return H5VL_CAP_FLAG_STORED_DATATYPES;
+ }
+ private static final int H5VL_CAP_FLAG_CREATION_ORDER = (int)8388608L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_CREATION_ORDER 8388608
+ * }
+ */
+ public static int H5VL_CAP_FLAG_CREATION_ORDER() {
+ return H5VL_CAP_FLAG_CREATION_ORDER;
+ }
+ private static final int H5VL_CAP_FLAG_ITERATE = (int)16777216L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ITERATE 16777216
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ITERATE() {
+ return H5VL_CAP_FLAG_ITERATE;
+ }
+ private static final int H5VL_CAP_FLAG_STORAGE_SIZE = (int)33554432L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_STORAGE_SIZE 33554432
+ * }
+ */
+ public static int H5VL_CAP_FLAG_STORAGE_SIZE() {
+ return H5VL_CAP_FLAG_STORAGE_SIZE;
+ }
+ private static final int H5VL_CAP_FLAG_BY_IDX = (int)67108864L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_BY_IDX 67108864
+ * }
+ */
+ public static int H5VL_CAP_FLAG_BY_IDX() {
+ return H5VL_CAP_FLAG_BY_IDX;
+ }
+ private static final int H5VL_CAP_FLAG_GET_PLIST = (int)134217728L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_GET_PLIST 134217728
+ * }
+ */
+ public static int H5VL_CAP_FLAG_GET_PLIST() {
+ return H5VL_CAP_FLAG_GET_PLIST;
+ }
+ private static final int H5VL_CAP_FLAG_FLUSH_REFRESH = (int)268435456L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FLUSH_REFRESH 268435456
+ * }
+ */
+ public static int H5VL_CAP_FLAG_FLUSH_REFRESH() {
+ return H5VL_CAP_FLAG_FLUSH_REFRESH;
+ }
+ private static final int H5VL_CAP_FLAG_EXTERNAL_LINKS = (int)536870912L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_EXTERNAL_LINKS 536870912
+ * }
+ */
+ public static int H5VL_CAP_FLAG_EXTERNAL_LINKS() {
+ return H5VL_CAP_FLAG_EXTERNAL_LINKS;
+ }
+ private static final int H5VL_CAP_FLAG_HARD_LINKS = (int)1073741824L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_HARD_LINKS 1073741824
+ * }
+ */
+ public static int H5VL_CAP_FLAG_HARD_LINKS() {
+ return H5VL_CAP_FLAG_HARD_LINKS;
+ }
+ private static final int H5VL_OPT_QUERY_SUPPORTED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_SUPPORTED 1
+ * }
+ */
+ public static int H5VL_OPT_QUERY_SUPPORTED() {
+ return H5VL_OPT_QUERY_SUPPORTED;
+ }
+ private static final int H5VL_OPT_QUERY_READ_DATA = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_READ_DATA 2
+ * }
+ */
+ public static int H5VL_OPT_QUERY_READ_DATA() {
+ return H5VL_OPT_QUERY_READ_DATA;
+ }
+ private static final int H5VL_OPT_QUERY_WRITE_DATA = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_WRITE_DATA 4
+ * }
+ */
+ public static int H5VL_OPT_QUERY_WRITE_DATA() {
+ return H5VL_OPT_QUERY_WRITE_DATA;
+ }
+ private static final int H5VL_OPT_QUERY_QUERY_METADATA = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_QUERY_METADATA 8
+ * }
+ */
+ public static int H5VL_OPT_QUERY_QUERY_METADATA() {
+ return H5VL_OPT_QUERY_QUERY_METADATA;
+ }
+ private static final int H5VL_OPT_QUERY_MODIFY_METADATA = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_MODIFY_METADATA 16
+ * }
+ */
+ public static int H5VL_OPT_QUERY_MODIFY_METADATA() {
+ return H5VL_OPT_QUERY_MODIFY_METADATA;
+ }
+ private static final int H5VL_OPT_QUERY_COLLECTIVE = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_COLLECTIVE 32
+ * }
+ */
+ public static int H5VL_OPT_QUERY_COLLECTIVE() {
+ return H5VL_OPT_QUERY_COLLECTIVE;
+ }
+ private static final int H5VL_OPT_QUERY_NO_ASYNC = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_NO_ASYNC 64
+ * }
+ */
+ public static int H5VL_OPT_QUERY_NO_ASYNC() {
+ return H5VL_OPT_QUERY_NO_ASYNC;
+ }
+ private static final int H5VL_OPT_QUERY_MULTI_OBJ = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_MULTI_OBJ 128
+ * }
+ */
+ public static int H5VL_OPT_QUERY_MULTI_OBJ() {
+ return H5VL_OPT_QUERY_MULTI_OBJ;
+ }
+ private static final int H5VL_CONTAINER_INFO_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CONTAINER_INFO_VERSION 1
+ * }
+ */
+ public static int H5VL_CONTAINER_INFO_VERSION() {
+ return H5VL_CONTAINER_INFO_VERSION;
+ }
+ private static final int H5VL_RESERVED_NATIVE_OPTIONAL = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_RESERVED_NATIVE_OPTIONAL 1024
+ * }
+ */
+ public static int H5VL_RESERVED_NATIVE_OPTIONAL() {
+ return H5VL_RESERVED_NATIVE_OPTIONAL;
+ }
+ private static final int H5VL_MAP_CREATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_CREATE 1
+ * }
+ */
+ public static int H5VL_MAP_CREATE() {
+ return H5VL_MAP_CREATE;
+ }
+ private static final int H5VL_MAP_OPEN = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_OPEN 2
+ * }
+ */
+ public static int H5VL_MAP_OPEN() {
+ return H5VL_MAP_OPEN;
+ }
+ private static final int H5VL_MAP_GET_VAL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_GET_VAL 3
+ * }
+ */
+ public static int H5VL_MAP_GET_VAL() {
+ return H5VL_MAP_GET_VAL;
+ }
+ private static final int H5VL_MAP_EXISTS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_EXISTS 4
+ * }
+ */
+ public static int H5VL_MAP_EXISTS() {
+ return H5VL_MAP_EXISTS;
+ }
+ private static final int H5VL_MAP_PUT = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_PUT 5
+ * }
+ */
+ public static int H5VL_MAP_PUT() {
+ return H5VL_MAP_PUT;
+ }
+ private static final int H5VL_MAP_GET = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_GET 6
+ * }
+ */
+ public static int H5VL_MAP_GET() {
+ return H5VL_MAP_GET;
+ }
+ private static final int H5VL_MAP_SPECIFIC = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_SPECIFIC 7
+ * }
+ */
+ public static int H5VL_MAP_SPECIFIC() {
+ return H5VL_MAP_SPECIFIC;
+ }
+ private static final int H5VL_MAP_OPTIONAL = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_OPTIONAL 8
+ * }
+ */
+ public static int H5VL_MAP_OPTIONAL() {
+ return H5VL_MAP_OPTIONAL;
+ }
+ private static final int H5VL_MAP_CLOSE = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_CLOSE 9
+ * }
+ */
+ public static int H5VL_MAP_CLOSE() {
+ return H5VL_MAP_CLOSE;
+ }
+ private static final int H5S_ALL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_ALL 0
+ * }
+ */
+ public static int H5S_ALL() {
+ return H5S_ALL;
+ }
+ private static final int H5S_BLOCK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_BLOCK 1
+ * }
+ */
+ public static int H5S_BLOCK() {
+ return H5S_BLOCK;
+ }
+ private static final int H5S_PLIST = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_PLIST 2
+ * }
+ */
+ public static int H5S_PLIST() {
+ return H5S_PLIST;
+ }
+ private static final int H5S_MAX_RANK = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_MAX_RANK 32
+ * }
+ */
+ public static int H5S_MAX_RANK() {
+ return H5S_MAX_RANK;
+ }
+ private static final int H5S_SEL_ITER_GET_SEQ_LIST_SORTED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_SEL_ITER_GET_SEQ_LIST_SORTED 1
+ * }
+ */
+ public static int H5S_SEL_ITER_GET_SEQ_LIST_SORTED() {
+ return H5S_SEL_ITER_GET_SEQ_LIST_SORTED;
+ }
+ private static final int H5S_SEL_ITER_SHARE_WITH_DATASPACE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_SEL_ITER_SHARE_WITH_DATASPACE 2
+ * }
+ */
+ public static int H5S_SEL_ITER_SHARE_WITH_DATASPACE() {
+ return H5S_SEL_ITER_SHARE_WITH_DATASPACE;
+ }
+ private static final int H5Z_FILTER_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_NONE 0
+ * }
+ */
+ public static int H5Z_FILTER_NONE() {
+ return H5Z_FILTER_NONE;
+ }
+ private static final int H5Z_FILTER_DEFLATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_DEFLATE 1
+ * }
+ */
+ public static int H5Z_FILTER_DEFLATE() {
+ return H5Z_FILTER_DEFLATE;
+ }
+ private static final int H5Z_FILTER_SHUFFLE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_SHUFFLE 2
+ * }
+ */
+ public static int H5Z_FILTER_SHUFFLE() {
+ return H5Z_FILTER_SHUFFLE;
+ }
+ private static final int H5Z_FILTER_FLETCHER32 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_FLETCHER32 3
+ * }
+ */
+ public static int H5Z_FILTER_FLETCHER32() {
+ return H5Z_FILTER_FLETCHER32;
+ }
+ private static final int H5Z_FILTER_SZIP = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_SZIP 4
+ * }
+ */
+ public static int H5Z_FILTER_SZIP() {
+ return H5Z_FILTER_SZIP;
+ }
+ private static final int H5Z_FILTER_NBIT = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_NBIT 5
+ * }
+ */
+ public static int H5Z_FILTER_NBIT() {
+ return H5Z_FILTER_NBIT;
+ }
+ private static final int H5Z_FILTER_SCALEOFFSET = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_SCALEOFFSET 6
+ * }
+ */
+ public static int H5Z_FILTER_SCALEOFFSET() {
+ return H5Z_FILTER_SCALEOFFSET;
+ }
+ private static final int H5Z_FILTER_RESERVED = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_RESERVED 256
+ * }
+ */
+ public static int H5Z_FILTER_RESERVED() {
+ return H5Z_FILTER_RESERVED;
+ }
+ private static final int H5Z_FILTER_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_MAX 65535
+ * }
+ */
+ public static int H5Z_FILTER_MAX() {
+ return H5Z_FILTER_MAX;
+ }
+ private static final int H5Z_FILTER_ALL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_ALL 0
+ * }
+ */
+ public static int H5Z_FILTER_ALL() {
+ return H5Z_FILTER_ALL;
+ }
+ private static final int H5Z_MAX_NFILTERS = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_MAX_NFILTERS 32
+ * }
+ */
+ public static int H5Z_MAX_NFILTERS() {
+ return H5Z_MAX_NFILTERS;
+ }
+ private static final int H5Z_FLAG_DEFMASK = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_DEFMASK 255
+ * }
+ */
+ public static int H5Z_FLAG_DEFMASK() {
+ return H5Z_FLAG_DEFMASK;
+ }
+ private static final int H5Z_FLAG_MANDATORY = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_MANDATORY 0
+ * }
+ */
+ public static int H5Z_FLAG_MANDATORY() {
+ return H5Z_FLAG_MANDATORY;
+ }
+ private static final int H5Z_FLAG_OPTIONAL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_OPTIONAL 1
+ * }
+ */
+ public static int H5Z_FLAG_OPTIONAL() {
+ return H5Z_FLAG_OPTIONAL;
+ }
+ private static final int H5Z_FLAG_INVMASK = (int)65280L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_INVMASK 65280
+ * }
+ */
+ public static int H5Z_FLAG_INVMASK() {
+ return H5Z_FLAG_INVMASK;
+ }
+ private static final int H5Z_FLAG_REVERSE = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_REVERSE 256
+ * }
+ */
+ public static int H5Z_FLAG_REVERSE() {
+ return H5Z_FLAG_REVERSE;
+ }
+ private static final int H5Z_FLAG_SKIP_EDC = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_SKIP_EDC 512
+ * }
+ */
+ public static int H5Z_FLAG_SKIP_EDC() {
+ return H5Z_FLAG_SKIP_EDC;
+ }
+ private static final int H5_SZIP_ALLOW_K13_OPTION_MASK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_ALLOW_K13_OPTION_MASK 1
+ * }
+ */
+ public static int H5_SZIP_ALLOW_K13_OPTION_MASK() {
+ return H5_SZIP_ALLOW_K13_OPTION_MASK;
+ }
+ private static final int H5_SZIP_CHIP_OPTION_MASK = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_CHIP_OPTION_MASK 2
+ * }
+ */
+ public static int H5_SZIP_CHIP_OPTION_MASK() {
+ return H5_SZIP_CHIP_OPTION_MASK;
+ }
+ private static final int H5_SZIP_EC_OPTION_MASK = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_EC_OPTION_MASK 4
+ * }
+ */
+ public static int H5_SZIP_EC_OPTION_MASK() {
+ return H5_SZIP_EC_OPTION_MASK;
+ }
+ private static final int H5_SZIP_NN_OPTION_MASK = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_NN_OPTION_MASK 32
+ * }
+ */
+ public static int H5_SZIP_NN_OPTION_MASK() {
+ return H5_SZIP_NN_OPTION_MASK;
+ }
+ private static final int H5_SZIP_MAX_PIXELS_PER_BLOCK = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_MAX_PIXELS_PER_BLOCK 32
+ * }
+ */
+ public static int H5_SZIP_MAX_PIXELS_PER_BLOCK() {
+ return H5_SZIP_MAX_PIXELS_PER_BLOCK;
+ }
+ private static final int H5Z_SHUFFLE_USER_NPARMS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SHUFFLE_USER_NPARMS 0
+ * }
+ */
+ public static int H5Z_SHUFFLE_USER_NPARMS() {
+ return H5Z_SHUFFLE_USER_NPARMS;
+ }
+ private static final int H5Z_SHUFFLE_TOTAL_NPARMS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SHUFFLE_TOTAL_NPARMS 1
+ * }
+ */
+ public static int H5Z_SHUFFLE_TOTAL_NPARMS() {
+ return H5Z_SHUFFLE_TOTAL_NPARMS;
+ }
+ private static final int H5Z_SZIP_USER_NPARMS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_USER_NPARMS 2
+ * }
+ */
+ public static int H5Z_SZIP_USER_NPARMS() {
+ return H5Z_SZIP_USER_NPARMS;
+ }
+ private static final int H5Z_SZIP_TOTAL_NPARMS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_TOTAL_NPARMS 4
+ * }
+ */
+ public static int H5Z_SZIP_TOTAL_NPARMS() {
+ return H5Z_SZIP_TOTAL_NPARMS;
+ }
+ private static final int H5Z_SZIP_PARM_MASK = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_MASK 0
+ * }
+ */
+ public static int H5Z_SZIP_PARM_MASK() {
+ return H5Z_SZIP_PARM_MASK;
+ }
+ private static final int H5Z_SZIP_PARM_PPB = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_PPB 1
+ * }
+ */
+ public static int H5Z_SZIP_PARM_PPB() {
+ return H5Z_SZIP_PARM_PPB;
+ }
+ private static final int H5Z_SZIP_PARM_BPP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_BPP 2
+ * }
+ */
+ public static int H5Z_SZIP_PARM_BPP() {
+ return H5Z_SZIP_PARM_BPP;
+ }
+ private static final int H5Z_SZIP_PARM_PPS = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_PPS 3
+ * }
+ */
+ public static int H5Z_SZIP_PARM_PPS() {
+ return H5Z_SZIP_PARM_PPS;
+ }
+ private static final int H5Z_NBIT_USER_NPARMS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_NBIT_USER_NPARMS 0
+ * }
+ */
+ public static int H5Z_NBIT_USER_NPARMS() {
+ return H5Z_NBIT_USER_NPARMS;
+ }
+ private static final int H5Z_SCALEOFFSET_USER_NPARMS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SCALEOFFSET_USER_NPARMS 2
+ * }
+ */
+ public static int H5Z_SCALEOFFSET_USER_NPARMS() {
+ return H5Z_SCALEOFFSET_USER_NPARMS;
+ }
+ private static final int H5Z_SO_INT_MINBITS_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SO_INT_MINBITS_DEFAULT 0
+ * }
+ */
+ public static int H5Z_SO_INT_MINBITS_DEFAULT() {
+ return H5Z_SO_INT_MINBITS_DEFAULT;
+ }
+ private static final int H5P_CRT_ORDER_TRACKED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5P_CRT_ORDER_TRACKED 1
+ * }
+ */
+ public static int H5P_CRT_ORDER_TRACKED() {
+ return H5P_CRT_ORDER_TRACKED;
+ }
+ private static final int H5P_CRT_ORDER_INDEXED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5P_CRT_ORDER_INDEXED 2
+ * }
+ */
+ public static int H5P_CRT_ORDER_INDEXED() {
+ return H5P_CRT_ORDER_INDEXED;
+ }
+ private static final int H5P_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5P_DEFAULT 0
+ * }
+ */
+ public static int H5P_DEFAULT() {
+ return H5P_DEFAULT;
+ }
+ private static final int H5PL_FILTER_PLUGIN = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_FILTER_PLUGIN 1
+ * }
+ */
+ public static int H5PL_FILTER_PLUGIN() {
+ return H5PL_FILTER_PLUGIN;
+ }
+ private static final int H5PL_VOL_PLUGIN = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_VOL_PLUGIN 2
+ * }
+ */
+ public static int H5PL_VOL_PLUGIN() {
+ return H5PL_VOL_PLUGIN;
+ }
+ private static final int H5PL_VFD_PLUGIN = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_VFD_PLUGIN 4
+ * }
+ */
+ public static int H5PL_VFD_PLUGIN() {
+ return H5PL_VFD_PLUGIN;
+ }
+ private static final int H5PL_ALL_PLUGIN = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_ALL_PLUGIN 65535
+ * }
+ */
+ public static int H5PL_ALL_PLUGIN() {
+ return H5PL_ALL_PLUGIN;
+ }
+ private static final int H5FD_CLASS_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CLASS_VERSION 1
+ * }
+ */
+ public static int H5FD_CLASS_VERSION() {
+ return H5FD_CLASS_VERSION;
+ }
+ private static final int H5L_LINK_CLASS_T_VERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_LINK_CLASS_T_VERS 1
+ * }
+ */
+ public static int H5L_LINK_CLASS_T_VERS() {
+ return H5L_LINK_CLASS_T_VERS;
+ }
+ private static final int H5L_EXT_VERSION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_EXT_VERSION 0
+ * }
+ */
+ public static int H5L_EXT_VERSION() {
+ return H5L_EXT_VERSION;
+ }
+ private static final int H5L_EXT_FLAGS_ALL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_EXT_FLAGS_ALL 0
+ * }
+ */
+ public static int H5L_EXT_FLAGS_ALL() {
+ return H5L_EXT_FLAGS_ALL;
+ }
+ private static final int H5L_LINK_CLASS_T_VERS_0 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_LINK_CLASS_T_VERS_0 0
+ * }
+ */
+ public static int H5L_LINK_CLASS_T_VERS_0() {
+ return H5L_LINK_CLASS_T_VERS_0;
+ }
+ private static final int H5VL_NATIVE_VERSION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_VERSION 0
+ * }
+ */
+ public static int H5VL_NATIVE_VERSION() {
+ return H5VL_NATIVE_VERSION;
+ }
+ private static final int H5VL_NATIVE_ATTR_ITERATE_OLD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_ATTR_ITERATE_OLD 0
+ * }
+ */
+ public static int H5VL_NATIVE_ATTR_ITERATE_OLD() {
+ return H5VL_NATIVE_ATTR_ITERATE_OLD;
+ }
+ private static final int H5VL_NATIVE_DATASET_FORMAT_CONVERT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_FORMAT_CONVERT 0
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_FORMAT_CONVERT() {
+ return H5VL_NATIVE_DATASET_FORMAT_CONVERT;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE 1
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE 2
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_NUM_CHUNKS = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_NUM_CHUNKS 3
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_NUM_CHUNKS() {
+ return H5VL_NATIVE_DATASET_GET_NUM_CHUNKS;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX 4
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD 5
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD;
+ }
+ private static final int H5VL_NATIVE_DATASET_CHUNK_READ = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_CHUNK_READ 6
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_CHUNK_READ() {
+ return H5VL_NATIVE_DATASET_CHUNK_READ;
+ }
+ private static final int H5VL_NATIVE_DATASET_CHUNK_WRITE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_CHUNK_WRITE 7
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_CHUNK_WRITE() {
+ return H5VL_NATIVE_DATASET_CHUNK_WRITE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE 8
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE() {
+ return H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_OFFSET = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_OFFSET 9
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_OFFSET() {
+ return H5VL_NATIVE_DATASET_GET_OFFSET;
+ }
+ private static final int H5VL_NATIVE_DATASET_CHUNK_ITER = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_CHUNK_ITER 10
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_CHUNK_ITER() {
+ return H5VL_NATIVE_DATASET_CHUNK_ITER;
+ }
+ private static final int H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE 0
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE() {
+ return H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_FILE_IMAGE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_FILE_IMAGE 1
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_FILE_IMAGE() {
+ return H5VL_NATIVE_FILE_GET_FILE_IMAGE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_FREE_SECTIONS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_FREE_SECTIONS 2
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_FREE_SECTIONS() {
+ return H5VL_NATIVE_FILE_GET_FREE_SECTIONS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_FREE_SPACE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_FREE_SPACE 3
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_FREE_SPACE() {
+ return H5VL_NATIVE_FILE_GET_FREE_SPACE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_INFO = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_INFO 4
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_INFO() {
+ return H5VL_NATIVE_FILE_GET_INFO;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_CONF = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_CONF 5
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_CONF() {
+ return H5VL_NATIVE_FILE_GET_MDC_CONF;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_HR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_HR 6
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_HR() {
+ return H5VL_NATIVE_FILE_GET_MDC_HR;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_SIZE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_SIZE 7
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_SIZE() {
+ return H5VL_NATIVE_FILE_GET_MDC_SIZE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_SIZE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_SIZE 8
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_SIZE() {
+ return H5VL_NATIVE_FILE_GET_SIZE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_VFD_HANDLE = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_VFD_HANDLE 9
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_VFD_HANDLE() {
+ return H5VL_NATIVE_FILE_GET_VFD_HANDLE;
+ }
+ private static final int H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE 10
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE() {
+ return H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE;
+ }
+ private static final int H5VL_NATIVE_FILE_SET_MDC_CONFIG = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_SET_MDC_CONFIG 11
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_SET_MDC_CONFIG() {
+ return H5VL_NATIVE_FILE_SET_MDC_CONFIG;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO 12
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO() {
+ return H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO;
+ }
+ private static final int H5VL_NATIVE_FILE_START_SWMR_WRITE = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_START_SWMR_WRITE 13
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_START_SWMR_WRITE() {
+ return H5VL_NATIVE_FILE_START_SWMR_WRITE;
+ }
+ private static final int H5VL_NATIVE_FILE_START_MDC_LOGGING = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_START_MDC_LOGGING 14
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_START_MDC_LOGGING() {
+ return H5VL_NATIVE_FILE_START_MDC_LOGGING;
+ }
+ private static final int H5VL_NATIVE_FILE_STOP_MDC_LOGGING = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_STOP_MDC_LOGGING 15
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_STOP_MDC_LOGGING() {
+ return H5VL_NATIVE_FILE_STOP_MDC_LOGGING;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS 16
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS() {
+ return H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS;
+ }
+ private static final int H5VL_NATIVE_FILE_FORMAT_CONVERT = (int)17L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_FORMAT_CONVERT 17
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_FORMAT_CONVERT() {
+ return H5VL_NATIVE_FILE_FORMAT_CONVERT;
+ }
+ private static final int H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS = (int)18L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS 18
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS() {
+ return H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS = (int)19L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS 19
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS() {
+ return H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO 20
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO() {
+ return H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_EOA = (int)21L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_EOA 21
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_EOA() {
+ return H5VL_NATIVE_FILE_GET_EOA;
+ }
+ private static final int H5VL_NATIVE_FILE_INCR_FILESIZE = (int)22L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_INCR_FILESIZE 22
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_INCR_FILESIZE() {
+ return H5VL_NATIVE_FILE_INCR_FILESIZE;
+ }
+ private static final int H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS = (int)23L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS 23
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS() {
+ return H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG = (int)24L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG 24
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG() {
+ return H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG;
+ }
+ private static final int H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG = (int)25L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG 25
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG() {
+ return H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG;
+ }
+ private static final int H5VL_NATIVE_FILE_POST_OPEN = (int)28L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_POST_OPEN 28
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_POST_OPEN() {
+ return H5VL_NATIVE_FILE_POST_OPEN;
+ }
+ private static final int H5VL_NATIVE_GROUP_ITERATE_OLD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_GROUP_ITERATE_OLD 0
+ * }
+ */
+ public static int H5VL_NATIVE_GROUP_ITERATE_OLD() {
+ return H5VL_NATIVE_GROUP_ITERATE_OLD;
+ }
+ private static final int H5VL_NATIVE_GROUP_GET_OBJINFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_GROUP_GET_OBJINFO 1
+ * }
+ */
+ public static int H5VL_NATIVE_GROUP_GET_OBJINFO() {
+ return H5VL_NATIVE_GROUP_GET_OBJINFO;
+ }
+ private static final int H5VL_NATIVE_OBJECT_GET_COMMENT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_GET_COMMENT 0
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_GET_COMMENT() {
+ return H5VL_NATIVE_OBJECT_GET_COMMENT;
+ }
+ private static final int H5VL_NATIVE_OBJECT_SET_COMMENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_SET_COMMENT 1
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_SET_COMMENT() {
+ return H5VL_NATIVE_OBJECT_SET_COMMENT;
+ }
+ private static final int H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES 2
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES() {
+ return H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES;
+ }
+ private static final int H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES 3
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES() {
+ return H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES;
+ }
+ private static final int H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED 4
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED() {
+ return H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED;
+ }
+ private static final int H5VL_NATIVE_OBJECT_GET_NATIVE_INFO = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_GET_NATIVE_INFO 5
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_GET_NATIVE_INFO() {
+ return H5VL_NATIVE_OBJECT_GET_NATIVE_INFO;
+ }
+ private static final int MBOUNDARY_DEF = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define MBOUNDARY_DEF 4096
+ * }
+ */
+ public static int MBOUNDARY_DEF() {
+ return MBOUNDARY_DEF;
+ }
+ private static final int FBSIZE_DEF = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define FBSIZE_DEF 4096
+ * }
+ */
+ public static int FBSIZE_DEF() {
+ return FBSIZE_DEF;
+ }
+ private static final int H5FD_LOG_TRUNCATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TRUNCATE 1
+ * }
+ */
+ public static int H5FD_LOG_TRUNCATE() {
+ return H5FD_LOG_TRUNCATE;
+ }
+ private static final int H5FD_LOG_LOC_READ = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_READ 2
+ * }
+ */
+ public static int H5FD_LOG_LOC_READ() {
+ return H5FD_LOG_LOC_READ;
+ }
+ private static final int H5FD_LOG_LOC_WRITE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_WRITE 4
+ * }
+ */
+ public static int H5FD_LOG_LOC_WRITE() {
+ return H5FD_LOG_LOC_WRITE;
+ }
+ private static final int H5FD_LOG_LOC_SEEK = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_SEEK 8
+ * }
+ */
+ public static int H5FD_LOG_LOC_SEEK() {
+ return H5FD_LOG_LOC_SEEK;
+ }
+ private static final int H5FD_LOG_FILE_READ = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FILE_READ 16
+ * }
+ */
+ public static int H5FD_LOG_FILE_READ() {
+ return H5FD_LOG_FILE_READ;
+ }
+ private static final int H5FD_LOG_FILE_WRITE = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FILE_WRITE 32
+ * }
+ */
+ public static int H5FD_LOG_FILE_WRITE() {
+ return H5FD_LOG_FILE_WRITE;
+ }
+ private static final int H5FD_LOG_FLAVOR = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FLAVOR 64
+ * }
+ */
+ public static int H5FD_LOG_FLAVOR() {
+ return H5FD_LOG_FLAVOR;
+ }
+ private static final int H5FD_LOG_NUM_READ = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_READ 128
+ * }
+ */
+ public static int H5FD_LOG_NUM_READ() {
+ return H5FD_LOG_NUM_READ;
+ }
+ private static final int H5FD_LOG_NUM_WRITE = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_WRITE 256
+ * }
+ */
+ public static int H5FD_LOG_NUM_WRITE() {
+ return H5FD_LOG_NUM_WRITE;
+ }
+ private static final int H5FD_LOG_NUM_SEEK = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_SEEK 512
+ * }
+ */
+ public static int H5FD_LOG_NUM_SEEK() {
+ return H5FD_LOG_NUM_SEEK;
+ }
+ private static final int H5FD_LOG_NUM_TRUNCATE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_TRUNCATE 1024
+ * }
+ */
+ public static int H5FD_LOG_NUM_TRUNCATE() {
+ return H5FD_LOG_NUM_TRUNCATE;
+ }
+ private static final int H5FD_LOG_TIME_OPEN = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_OPEN 2048
+ * }
+ */
+ public static int H5FD_LOG_TIME_OPEN() {
+ return H5FD_LOG_TIME_OPEN;
+ }
+ private static final int H5FD_LOG_TIME_STAT = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_STAT 4096
+ * }
+ */
+ public static int H5FD_LOG_TIME_STAT() {
+ return H5FD_LOG_TIME_STAT;
+ }
+ private static final int H5FD_LOG_TIME_READ = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_READ 8192
+ * }
+ */
+ public static int H5FD_LOG_TIME_READ() {
+ return H5FD_LOG_TIME_READ;
+ }
+ private static final int H5FD_LOG_TIME_WRITE = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_WRITE 16384
+ * }
+ */
+ public static int H5FD_LOG_TIME_WRITE() {
+ return H5FD_LOG_TIME_WRITE;
+ }
+ private static final int H5FD_LOG_TIME_SEEK = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_SEEK 32768
+ * }
+ */
+ public static int H5FD_LOG_TIME_SEEK() {
+ return H5FD_LOG_TIME_SEEK;
+ }
+ private static final int H5FD_LOG_TIME_TRUNCATE = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_TRUNCATE 65536
+ * }
+ */
+ public static int H5FD_LOG_TIME_TRUNCATE() {
+ return H5FD_LOG_TIME_TRUNCATE;
+ }
+ private static final int H5FD_LOG_TIME_CLOSE = (int)131072L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_CLOSE 131072
+ * }
+ */
+ public static int H5FD_LOG_TIME_CLOSE() {
+ return H5FD_LOG_TIME_CLOSE;
+ }
+ private static final int H5FD_LOG_ALLOC = (int)262144L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_ALLOC 262144
+ * }
+ */
+ public static int H5FD_LOG_ALLOC() {
+ return H5FD_LOG_ALLOC;
+ }
+ private static final int H5FD_LOG_FREE = (int)524288L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FREE 524288
+ * }
+ */
+ public static int H5FD_LOG_FREE() {
+ return H5FD_LOG_FREE;
+ }
+ private static final int H5D_ONE_LINK_CHUNK_IO_THRESHOLD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_ONE_LINK_CHUNK_IO_THRESHOLD 0
+ * }
+ */
+ public static int H5D_ONE_LINK_CHUNK_IO_THRESHOLD() {
+ return H5D_ONE_LINK_CHUNK_IO_THRESHOLD;
+ }
+ private static final int H5D_MULTI_CHUNK_IO_COL_THRESHOLD = (int)60L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_MULTI_CHUNK_IO_COL_THRESHOLD 60
+ * }
+ */
+ public static int H5D_MULTI_CHUNK_IO_COL_THRESHOLD() {
+ return H5D_MULTI_CHUNK_IO_COL_THRESHOLD;
+ }
+ private static final int H5FD_ONION_FAPL_INFO_VERSION_CURR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_VERSION_CURR 1
+ * }
+ */
+ public static int H5FD_ONION_FAPL_INFO_VERSION_CURR() {
+ return H5FD_ONION_FAPL_INFO_VERSION_CURR;
+ }
+ private static final int H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN 255
+ * }
+ */
+ public static int H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN() {
+ return H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN;
+ }
+ private static final int H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION 1
+ * }
+ */
+ public static int H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION() {
+ return H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION;
+ }
+ private static final int H5FD_SPLITTER_PATH_MAX = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SPLITTER_PATH_MAX 4096
+ * }
+ */
+ public static int H5FD_SPLITTER_PATH_MAX() {
+ return H5FD_SPLITTER_PATH_MAX;
+ }
+ private static final int H5FD_SPLITTER_MAGIC = (int)730949760L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SPLITTER_MAGIC 730949760
+ * }
+ */
+ public static int H5FD_SPLITTER_MAGIC() {
+ return H5FD_SPLITTER_MAGIC;
+ }
+ private static final int H5VL_PASSTHRU_VALUE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_PASSTHRU_VALUE 1
+ * }
+ */
+ public static int H5VL_PASSTHRU_VALUE() {
+ return H5VL_PASSTHRU_VALUE;
+ }
+ private static final int H5VL_PASSTHRU_VERSION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_PASSTHRU_VERSION 0
+ * }
+ */
+ public static int H5VL_PASSTHRU_VERSION() {
+ return H5VL_PASSTHRU_VERSION;
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char __u_char
+ * }
+ */
+ public static final OfByte __u_char = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short __u_short
+ * }
+ */
+ public static final OfShort __u_short = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __u_int
+ * }
+ */
+ public static final OfInt __u_int = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __u_long
+ * }
+ */
+ public static final OfLong __u_long = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef signed char __int8_t
+ * }
+ */
+ public static final OfByte __int8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char __uint8_t
+ * }
+ */
+ public static final OfByte __uint8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef short __int16_t
+ * }
+ */
+ public static final OfShort __int16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short __uint16_t
+ * }
+ */
+ public static final OfShort __uint16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef int __int32_t
+ * }
+ */
+ public static final OfInt __int32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __uint32_t
+ * }
+ */
+ public static final OfInt __uint32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long __int64_t
+ * }
+ */
+ public static final OfLong __int64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __uint64_t
+ * }
+ */
+ public static final OfLong __uint64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __int8_t __int_least8_t
+ * }
+ */
+ public static final OfByte __int_least8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint8_t __uint_least8_t
+ * }
+ */
+ public static final OfByte __uint_least8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef __int16_t __int_least16_t
+ * }
+ */
+ public static final OfShort __int_least16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint16_t __uint_least16_t
+ * }
+ */
+ public static final OfShort __uint_least16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int32_t __int_least32_t
+ * }
+ */
+ public static final OfInt __int_least32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t __uint_least32_t
+ * }
+ */
+ public static final OfInt __uint_least32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int64_t __int_least64_t
+ * }
+ */
+ public static final OfLong __int_least64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint64_t __uint_least64_t
+ * }
+ */
+ public static final OfLong __uint_least64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __quad_t
+ * }
+ */
+ public static final OfLong __quad_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __u_quad_t
+ * }
+ */
+ public static final OfLong __u_quad_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __intmax_t
+ * }
+ */
+ public static final OfLong __intmax_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __uintmax_t
+ * }
+ */
+ public static final OfLong __uintmax_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __dev_t
+ * }
+ */
+ public static final OfLong __dev_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __uid_t
+ * }
+ */
+ public static final OfInt __uid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __gid_t
+ * }
+ */
+ public static final OfInt __gid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __ino_t
+ * }
+ */
+ public static final OfLong __ino_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __ino64_t
+ * }
+ */
+ public static final OfLong __ino64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __mode_t
+ * }
+ */
+ public static final OfInt __mode_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __nlink_t
+ * }
+ */
+ public static final OfLong __nlink_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __off_t
+ * }
+ */
+ public static final OfLong __off_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __off64_t
+ * }
+ */
+ public static final OfLong __off64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int __pid_t
+ * }
+ */
+ public static final OfInt __pid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long __clock_t
+ * }
+ */
+ public static final OfLong __clock_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __rlim_t
+ * }
+ */
+ public static final OfLong __rlim_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __rlim64_t
+ * }
+ */
+ public static final OfLong __rlim64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __id_t
+ * }
+ */
+ public static final OfInt __id_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long __time_t
+ * }
+ */
+ public static final OfLong __time_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __useconds_t
+ * }
+ */
+ public static final OfInt __useconds_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long __suseconds_t
+ * }
+ */
+ public static final OfLong __suseconds_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __suseconds64_t
+ * }
+ */
+ public static final OfLong __suseconds64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int __daddr_t
+ * }
+ */
+ public static final OfInt __daddr_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int __key_t
+ * }
+ */
+ public static final OfInt __key_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int __clockid_t
+ * }
+ */
+ public static final OfInt __clockid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef void *__timer_t
+ * }
+ */
+ public static final AddressLayout __timer_t = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef long __blksize_t
+ * }
+ */
+ public static final OfLong __blksize_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __blkcnt_t
+ * }
+ */
+ public static final OfLong __blkcnt_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __blkcnt64_t
+ * }
+ */
+ public static final OfLong __blkcnt64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __fsblkcnt_t
+ * }
+ */
+ public static final OfLong __fsblkcnt_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __fsblkcnt64_t
+ * }
+ */
+ public static final OfLong __fsblkcnt64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __fsfilcnt_t
+ * }
+ */
+ public static final OfLong __fsfilcnt_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __fsfilcnt64_t
+ * }
+ */
+ public static final OfLong __fsfilcnt64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __fsword_t
+ * }
+ */
+ public static final OfLong __fsword_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __ssize_t
+ * }
+ */
+ public static final OfLong __ssize_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __syscall_slong_t
+ * }
+ */
+ public static final OfLong __syscall_slong_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __syscall_ulong_t
+ * }
+ */
+ public static final OfLong __syscall_ulong_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __off64_t __loff_t
+ * }
+ */
+ public static final OfLong __loff_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef char *__caddr_t
+ * }
+ */
+ public static final AddressLayout __caddr_t = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef long __intptr_t
+ * }
+ */
+ public static final OfLong __intptr_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __socklen_t
+ * }
+ */
+ public static final OfInt __socklen_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int __sig_atomic_t
+ * }
+ */
+ public static final OfInt __sig_atomic_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int8_t int8_t
+ * }
+ */
+ public static final OfByte int8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef __int16_t int16_t
+ * }
+ */
+ public static final OfShort int16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int32_t int32_t
+ * }
+ */
+ public static final OfInt int32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int64_t int64_t
+ * }
+ */
+ public static final OfLong int64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint8_t uint8_t
+ * }
+ */
+ public static final OfByte uint8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint16_t uint16_t
+ * }
+ */
+ public static final OfShort uint16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t uint32_t
+ * }
+ */
+ public static final OfInt uint32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint64_t uint64_t
+ * }
+ */
+ public static final OfLong uint64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __int_least8_t int_least8_t
+ * }
+ */
+ public static final OfByte int_least8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef __int_least16_t int_least16_t
+ * }
+ */
+ public static final OfShort int_least16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int_least32_t int_least32_t
+ * }
+ */
+ public static final OfInt int_least32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int_least64_t int_least64_t
+ * }
+ */
+ public static final OfLong int_least64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint_least8_t uint_least8_t
+ * }
+ */
+ public static final OfByte uint_least8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint_least16_t uint_least16_t
+ * }
+ */
+ public static final OfShort uint_least16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint_least32_t uint_least32_t
+ * }
+ */
+ public static final OfInt uint_least32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint_least64_t uint_least64_t
+ * }
+ */
+ public static final OfLong uint_least64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef signed char int_fast8_t
+ * }
+ */
+ public static final OfByte int_fast8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef long int_fast16_t
+ * }
+ */
+ public static final OfLong int_fast16_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long int_fast32_t
+ * }
+ */
+ public static final OfLong int_fast32_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long int_fast64_t
+ * }
+ */
+ public static final OfLong int_fast64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char uint_fast8_t
+ * }
+ */
+ public static final OfByte uint_fast8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long uint_fast16_t
+ * }
+ */
+ public static final OfLong uint_fast16_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long uint_fast32_t
+ * }
+ */
+ public static final OfLong uint_fast32_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long uint_fast64_t
+ * }
+ */
+ public static final OfLong uint_fast64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long intptr_t
+ * }
+ */
+ public static final OfLong intptr_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long uintptr_t
+ * }
+ */
+ public static final OfLong uintptr_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __intmax_t intmax_t
+ * }
+ */
+ public static final OfLong intmax_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __uintmax_t uintmax_t
+ * }
+ */
+ public static final OfLong uintmax_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int __gwchar_t
+ * }
+ */
+ public static final OfInt __gwchar_t = hdf5_h.C_INT;
+
+ private static class imaxabs {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("imaxabs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern intmax_t imaxabs(intmax_t __n)
+ * }
+ */
+ public static FunctionDescriptor imaxabs$descriptor() {
+ return imaxabs.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern intmax_t imaxabs(intmax_t __n)
+ * }
+ */
+ public static MethodHandle imaxabs$handle() {
+ return imaxabs.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern intmax_t imaxabs(intmax_t __n)
+ * }
+ */
+ public static MemorySegment imaxabs$address() {
+ return imaxabs.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern intmax_t imaxabs(intmax_t __n)
+ * }
+ */
+ public static long imaxabs(long __n) {
+ var mh$ = imaxabs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("imaxabs", __n);
+ }
+ return (long)mh$.invokeExact(__n);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class imaxdiv {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ imaxdiv_t.layout(),
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("imaxdiv");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denom)
+ * }
+ */
+ public static FunctionDescriptor imaxdiv$descriptor() {
+ return imaxdiv.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denom)
+ * }
+ */
+ public static MethodHandle imaxdiv$handle() {
+ return imaxdiv.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denom)
+ * }
+ */
+ public static MemorySegment imaxdiv$address() {
+ return imaxdiv.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denom)
+ * }
+ */
+ public static MemorySegment imaxdiv(SegmentAllocator allocator, long __numer, long __denom) {
+ var mh$ = imaxdiv.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("imaxdiv", allocator, __numer, __denom);
+ }
+ return (MemorySegment)mh$.invokeExact(allocator, __numer, __denom);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class strtoimax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("strtoimax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern intmax_t strtoimax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static FunctionDescriptor strtoimax$descriptor() {
+ return strtoimax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern intmax_t strtoimax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static MethodHandle strtoimax$handle() {
+ return strtoimax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern intmax_t strtoimax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static MemorySegment strtoimax$address() {
+ return strtoimax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern intmax_t strtoimax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static long strtoimax(MemorySegment __nptr, MemorySegment __endptr, int __base) {
+ var mh$ = strtoimax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("strtoimax", __nptr, __endptr, __base);
+ }
+ return (long)mh$.invokeExact(__nptr, __endptr, __base);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class strtoumax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("strtoumax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern uintmax_t strtoumax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static FunctionDescriptor strtoumax$descriptor() {
+ return strtoumax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern uintmax_t strtoumax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static MethodHandle strtoumax$handle() {
+ return strtoumax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern uintmax_t strtoumax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static MemorySegment strtoumax$address() {
+ return strtoumax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern uintmax_t strtoumax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static long strtoumax(MemorySegment __nptr, MemorySegment __endptr, int __base) {
+ var mh$ = strtoumax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("strtoumax", __nptr, __endptr, __base);
+ }
+ return (long)mh$.invokeExact(__nptr, __endptr, __base);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class wcstoimax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("wcstoimax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern intmax_t wcstoimax(const __gwchar_t *restrict __nptr, __gwchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static FunctionDescriptor wcstoimax$descriptor() {
+ return wcstoimax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern intmax_t wcstoimax(const __gwchar_t *restrict __nptr, __gwchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static MethodHandle wcstoimax$handle() {
+ return wcstoimax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern intmax_t wcstoimax(const __gwchar_t *restrict __nptr, __gwchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static MemorySegment wcstoimax$address() {
+ return wcstoimax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern intmax_t wcstoimax(const __gwchar_t *restrict __nptr, __gwchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static long wcstoimax(MemorySegment __nptr, MemorySegment __endptr, int __base) {
+ var mh$ = wcstoimax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("wcstoimax", __nptr, __endptr, __base);
+ }
+ return (long)mh$.invokeExact(__nptr, __endptr, __base);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class wcstoumax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("wcstoumax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern uintmax_t wcstoumax(const __gwchar_t *restrict __nptr, __gwchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static FunctionDescriptor wcstoumax$descriptor() {
+ return wcstoumax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern uintmax_t wcstoumax(const __gwchar_t *restrict __nptr, __gwchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static MethodHandle wcstoumax$handle() {
+ return wcstoumax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern uintmax_t wcstoumax(const __gwchar_t *restrict __nptr, __gwchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static MemorySegment wcstoumax$address() {
+ return wcstoumax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern uintmax_t wcstoumax(const __gwchar_t *restrict __nptr, __gwchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static long wcstoumax(MemorySegment __nptr, MemorySegment __endptr, int __base) {
+ var mh$ = wcstoumax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("wcstoumax", __nptr, __endptr, __base);
+ }
+ return (long)mh$.invokeExact(__nptr, __endptr, __base);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef long ptrdiff_t
+ * }
+ */
+ public static final OfLong ptrdiff_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long size_t
+ * }
+ */
+ public static final OfLong size_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int wchar_t
+ * }
+ */
+ public static final OfInt wchar_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __u_char u_char
+ * }
+ */
+ public static final OfByte u_char = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef __u_short u_short
+ * }
+ */
+ public static final OfShort u_short = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __u_int u_int
+ * }
+ */
+ public static final OfInt u_int = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __u_long u_long
+ * }
+ */
+ public static final OfLong u_long = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __quad_t quad_t
+ * }
+ */
+ public static final OfLong quad_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __u_quad_t u_quad_t
+ * }
+ */
+ public static final OfLong u_quad_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __loff_t loff_t
+ * }
+ */
+ public static final OfLong loff_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __ino_t ino_t
+ * }
+ */
+ public static final OfLong ino_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __dev_t dev_t
+ * }
+ */
+ public static final OfLong dev_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __gid_t gid_t
+ * }
+ */
+ public static final OfInt gid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __mode_t mode_t
+ * }
+ */
+ public static final OfInt mode_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __nlink_t nlink_t
+ * }
+ */
+ public static final OfLong nlink_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __uid_t uid_t
+ * }
+ */
+ public static final OfInt uid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __off_t off_t
+ * }
+ */
+ public static final OfLong off_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __pid_t pid_t
+ * }
+ */
+ public static final OfInt pid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __id_t id_t
+ * }
+ */
+ public static final OfInt id_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __ssize_t ssize_t
+ * }
+ */
+ public static final OfLong ssize_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __daddr_t daddr_t
+ * }
+ */
+ public static final OfInt daddr_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __caddr_t caddr_t
+ * }
+ */
+ public static final AddressLayout caddr_t = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef __key_t key_t
+ * }
+ */
+ public static final OfInt key_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __clock_t clock_t
+ * }
+ */
+ public static final OfLong clock_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __clockid_t clockid_t
+ * }
+ */
+ public static final OfInt clockid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __time_t time_t
+ * }
+ */
+ public static final OfLong time_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __timer_t timer_t
+ * }
+ */
+ public static final AddressLayout timer_t = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long ulong
+ * }
+ */
+ public static final OfLong ulong = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short ushort
+ * }
+ */
+ public static final OfShort ushort = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int uint
+ * }
+ */
+ public static final OfInt uint = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint8_t u_int8_t
+ * }
+ */
+ public static final OfByte u_int8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint16_t u_int16_t
+ * }
+ */
+ public static final OfShort u_int16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t u_int32_t
+ * }
+ */
+ public static final OfInt u_int32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint64_t u_int64_t
+ * }
+ */
+ public static final OfLong u_int64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int register_t
+ * }
+ */
+ public static final OfLong register_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __suseconds_t suseconds_t
+ * }
+ */
+ public static final OfLong suseconds_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __fd_mask
+ * }
+ */
+ public static final OfLong __fd_mask = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __fd_mask fd_mask
+ * }
+ */
+ public static final OfLong fd_mask = hdf5_h.C_LONG;
+
+ private static class select {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("select");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int select(int __nfds, fd_set *restrict __readfds, fd_set *restrict __writefds, fd_set *restrict __exceptfds, struct timeval *restrict __timeout)
+ * }
+ */
+ public static FunctionDescriptor select$descriptor() {
+ return select.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int select(int __nfds, fd_set *restrict __readfds, fd_set *restrict __writefds, fd_set *restrict __exceptfds, struct timeval *restrict __timeout)
+ * }
+ */
+ public static MethodHandle select$handle() {
+ return select.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int select(int __nfds, fd_set *restrict __readfds, fd_set *restrict __writefds, fd_set *restrict __exceptfds, struct timeval *restrict __timeout)
+ * }
+ */
+ public static MemorySegment select$address() {
+ return select.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern int select(int __nfds, fd_set *restrict __readfds, fd_set *restrict __writefds, fd_set *restrict __exceptfds, struct timeval *restrict __timeout)
+ * }
+ */
+ public static int select(int __nfds, MemorySegment __readfds, MemorySegment __writefds, MemorySegment __exceptfds, MemorySegment __timeout) {
+ var mh$ = select.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("select", __nfds, __readfds, __writefds, __exceptfds, __timeout);
+ }
+ return (int)mh$.invokeExact(__nfds, __readfds, __writefds, __exceptfds, __timeout);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class pselect {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("pselect");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int pselect(int __nfds, fd_set *restrict __readfds, fd_set *restrict __writefds, fd_set *restrict __exceptfds, const struct timespec *restrict __timeout, const __sigset_t *restrict __sigmask)
+ * }
+ */
+ public static FunctionDescriptor pselect$descriptor() {
+ return pselect.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int pselect(int __nfds, fd_set *restrict __readfds, fd_set *restrict __writefds, fd_set *restrict __exceptfds, const struct timespec *restrict __timeout, const __sigset_t *restrict __sigmask)
+ * }
+ */
+ public static MethodHandle pselect$handle() {
+ return pselect.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int pselect(int __nfds, fd_set *restrict __readfds, fd_set *restrict __writefds, fd_set *restrict __exceptfds, const struct timespec *restrict __timeout, const __sigset_t *restrict __sigmask)
+ * }
+ */
+ public static MemorySegment pselect$address() {
+ return pselect.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern int pselect(int __nfds, fd_set *restrict __readfds, fd_set *restrict __writefds, fd_set *restrict __exceptfds, const struct timespec *restrict __timeout, const __sigset_t *restrict __sigmask)
+ * }
+ */
+ public static int pselect(int __nfds, MemorySegment __readfds, MemorySegment __writefds, MemorySegment __exceptfds, MemorySegment __timeout, MemorySegment __sigmask) {
+ var mh$ = pselect.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("pselect", __nfds, __readfds, __writefds, __exceptfds, __timeout, __sigmask);
+ }
+ return (int)mh$.invokeExact(__nfds, __readfds, __writefds, __exceptfds, __timeout, __sigmask);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef __blksize_t blksize_t
+ * }
+ */
+ public static final OfLong blksize_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __blkcnt_t blkcnt_t
+ * }
+ */
+ public static final OfLong blkcnt_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __fsblkcnt_t fsblkcnt_t
+ * }
+ */
+ public static final OfLong fsblkcnt_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __fsfilcnt_t fsfilcnt_t
+ * }
+ */
+ public static final OfLong fsfilcnt_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __tss_t
+ * }
+ */
+ public static final OfInt __tss_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __thrd_t
+ * }
+ */
+ public static final OfLong __thrd_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long pthread_t
+ * }
+ */
+ public static final OfLong pthread_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int pthread_key_t
+ * }
+ */
+ public static final OfInt pthread_key_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int pthread_once_t
+ * }
+ */
+ public static final OfInt pthread_once_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef volatile int pthread_spinlock_t
+ * }
+ */
+ public static final OfInt pthread_spinlock_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int herr_t
+ * }
+ */
+ public static final OfInt herr_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef bool hbool_t
+ * }
+ */
+ public static final OfBoolean hbool_t = hdf5_h.C_BOOL;
+ /**
+ * {@snippet lang=c :
+ * typedef int htri_t
+ * }
+ */
+ public static final OfInt htri_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef uint64_t hsize_t
+ * }
+ */
+ public static final OfLong hsize_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef off_t HDoff_t
+ * }
+ */
+ public static final OfLong HDoff_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t hssize_t
+ * }
+ */
+ public static final OfLong hssize_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef uint64_t haddr_t
+ * }
+ */
+ public static final OfLong haddr_t = hdf5_h.C_LONG;
+ private static final int H5_ITER_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_UNKNOWN = -1
+ * }
+ */
+ public static int H5_ITER_UNKNOWN() {
+ return H5_ITER_UNKNOWN;
+ }
+ private static final int H5_ITER_INC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_INC = 0
+ * }
+ */
+ public static int H5_ITER_INC() {
+ return H5_ITER_INC;
+ }
+ private static final int H5_ITER_DEC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_DEC = 1
+ * }
+ */
+ public static int H5_ITER_DEC() {
+ return H5_ITER_DEC;
+ }
+ private static final int H5_ITER_NATIVE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_NATIVE = 2
+ * }
+ */
+ public static int H5_ITER_NATIVE() {
+ return H5_ITER_NATIVE;
+ }
+ private static final int H5_ITER_N = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_N = 3
+ * }
+ */
+ public static int H5_ITER_N() {
+ return H5_ITER_N;
+ }
+ private static final int H5_INDEX_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_UNKNOWN = -1
+ * }
+ */
+ public static int H5_INDEX_UNKNOWN() {
+ return H5_INDEX_UNKNOWN;
+ }
+ private static final int H5_INDEX_NAME = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_NAME = 0
+ * }
+ */
+ public static int H5_INDEX_NAME() {
+ return H5_INDEX_NAME;
+ }
+ private static final int H5_INDEX_CRT_ORDER = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_CRT_ORDER = 1
+ * }
+ */
+ public static int H5_INDEX_CRT_ORDER() {
+ return H5_INDEX_CRT_ORDER;
+ }
+ private static final int H5_INDEX_N = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_N = 2
+ * }
+ */
+ public static int H5_INDEX_N() {
+ return H5_INDEX_N;
+ }
+
+ private static class H5_libinit_g$constants {
+ public static final OfBoolean LAYOUT = hdf5_h.C_BOOL;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5_libinit_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static OfBoolean H5_libinit_g$layout() {
+ return H5_libinit_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static MemorySegment H5_libinit_g$segment() {
+ return H5_libinit_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static boolean H5_libinit_g() {
+ return H5_libinit_g$constants.SEGMENT.get(H5_libinit_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static void H5_libinit_g(boolean varValue) {
+ H5_libinit_g$constants.SEGMENT.set(H5_libinit_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5_libterm_g$constants {
+ public static final OfBoolean LAYOUT = hdf5_h.C_BOOL;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5_libterm_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static OfBoolean H5_libterm_g$layout() {
+ return H5_libterm_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static MemorySegment H5_libterm_g$segment() {
+ return H5_libterm_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static boolean H5_libterm_g() {
+ return H5_libterm_g$constants.SEGMENT.get(H5_libterm_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static void H5_libterm_g(boolean varValue) {
+ H5_libterm_g$constants.SEGMENT.set(H5_libterm_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5open {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static FunctionDescriptor H5open$descriptor() {
+ return H5open.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static MethodHandle H5open$handle() {
+ return H5open.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static MemorySegment H5open$address() {
+ return H5open.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static int H5open() {
+ var mh$ = H5open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5open");
+ }
+ return (int)mh$.invokeExact();
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5atclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5atclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5atclose$descriptor() {
+ return H5atclose.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static MethodHandle H5atclose$handle() {
+ return H5atclose.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static MemorySegment H5atclose$address() {
+ return H5atclose.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static int H5atclose(MemorySegment func, MemorySegment ctx) {
+ var mh$ = H5atclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5atclose", func, ctx);
+ }
+ return (int)mh$.invokeExact(func, ctx);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static FunctionDescriptor H5close$descriptor() {
+ return H5close.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static MethodHandle H5close$handle() {
+ return H5close.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static MemorySegment H5close$address() {
+ return H5close.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static int H5close() {
+ var mh$ = H5close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5close");
+ }
+ return (int)mh$.invokeExact();
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5dont_atexit {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5dont_atexit");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static FunctionDescriptor H5dont_atexit$descriptor() {
+ return H5dont_atexit.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static MethodHandle H5dont_atexit$handle() {
+ return H5dont_atexit.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static MemorySegment H5dont_atexit$address() {
+ return H5dont_atexit.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static int H5dont_atexit() {
+ var mh$ = H5dont_atexit.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5dont_atexit");
+ }
+ return (int)mh$.invokeExact();
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5garbage_collect {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5garbage_collect");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static FunctionDescriptor H5garbage_collect$descriptor() {
+ return H5garbage_collect.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static MethodHandle H5garbage_collect$handle() {
+ return H5garbage_collect.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static MemorySegment H5garbage_collect$address() {
+ return H5garbage_collect.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static int H5garbage_collect() {
+ var mh$ = H5garbage_collect.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5garbage_collect");
+ }
+ return (int)mh$.invokeExact();
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5set_free_list_limits {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5set_free_list_limits");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static FunctionDescriptor H5set_free_list_limits$descriptor() {
+ return H5set_free_list_limits.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static MethodHandle H5set_free_list_limits$handle() {
+ return H5set_free_list_limits.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static MemorySegment H5set_free_list_limits$address() {
+ return H5set_free_list_limits.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static int H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim) {
+ var mh$ = H5set_free_list_limits.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5set_free_list_limits", reg_global_lim, reg_list_lim, arr_global_lim, arr_list_lim, blk_global_lim, blk_list_lim);
+ }
+ return (int)mh$.invokeExact(reg_global_lim, reg_list_lim, arr_global_lim, arr_list_lim, blk_global_lim, blk_list_lim);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5get_free_list_sizes {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5get_free_list_sizes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static FunctionDescriptor H5get_free_list_sizes$descriptor() {
+ return H5get_free_list_sizes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static MethodHandle H5get_free_list_sizes$handle() {
+ return H5get_free_list_sizes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static MemorySegment H5get_free_list_sizes$address() {
+ return H5get_free_list_sizes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static int H5get_free_list_sizes(MemorySegment reg_size, MemorySegment arr_size, MemorySegment blk_size, MemorySegment fac_size) {
+ var mh$ = H5get_free_list_sizes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5get_free_list_sizes", reg_size, arr_size, blk_size, fac_size);
+ }
+ return (int)mh$.invokeExact(reg_size, arr_size, blk_size, fac_size);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5get_libversion {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5get_libversion");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static FunctionDescriptor H5get_libversion$descriptor() {
+ return H5get_libversion.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static MethodHandle H5get_libversion$handle() {
+ return H5get_libversion.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static MemorySegment H5get_libversion$address() {
+ return H5get_libversion.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static int H5get_libversion(MemorySegment majnum, MemorySegment minnum, MemorySegment relnum) {
+ var mh$ = H5get_libversion.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5get_libversion", majnum, minnum, relnum);
+ }
+ return (int)mh$.invokeExact(majnum, minnum, relnum);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5check_version {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5check_version");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static FunctionDescriptor H5check_version$descriptor() {
+ return H5check_version.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static MethodHandle H5check_version$handle() {
+ return H5check_version.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static MemorySegment H5check_version$address() {
+ return H5check_version.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static int H5check_version(int majnum, int minnum, int relnum) {
+ var mh$ = H5check_version.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5check_version", majnum, minnum, relnum);
+ }
+ return (int)mh$.invokeExact(majnum, minnum, relnum);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5is_library_terminating {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5is_library_terminating");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static FunctionDescriptor H5is_library_terminating$descriptor() {
+ return H5is_library_terminating.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static MethodHandle H5is_library_terminating$handle() {
+ return H5is_library_terminating.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static MemorySegment H5is_library_terminating$address() {
+ return H5is_library_terminating.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static int H5is_library_terminating(MemorySegment is_terminating) {
+ var mh$ = H5is_library_terminating.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5is_library_terminating", is_terminating);
+ }
+ return (int)mh$.invokeExact(is_terminating);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5is_library_threadsafe {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5is_library_threadsafe");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static FunctionDescriptor H5is_library_threadsafe$descriptor() {
+ return H5is_library_threadsafe.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static MethodHandle H5is_library_threadsafe$handle() {
+ return H5is_library_threadsafe.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static MemorySegment H5is_library_threadsafe$address() {
+ return H5is_library_threadsafe.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static int H5is_library_threadsafe(MemorySegment is_ts) {
+ var mh$ = H5is_library_threadsafe.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5is_library_threadsafe", is_ts);
+ }
+ return (int)mh$.invokeExact(is_ts);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5free_memory {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5free_memory");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static FunctionDescriptor H5free_memory$descriptor() {
+ return H5free_memory.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static MethodHandle H5free_memory$handle() {
+ return H5free_memory.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static MemorySegment H5free_memory$address() {
+ return H5free_memory.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static int H5free_memory(MemorySegment mem) {
+ var mh$ = H5free_memory.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5free_memory", mem);
+ }
+ return (int)mh$.invokeExact(mem);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5allocate_memory {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_BOOL
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5allocate_memory");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static FunctionDescriptor H5allocate_memory$descriptor() {
+ return H5allocate_memory.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static MethodHandle H5allocate_memory$handle() {
+ return H5allocate_memory.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static MemorySegment H5allocate_memory$address() {
+ return H5allocate_memory.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static MemorySegment H5allocate_memory(long size, boolean clear) {
+ var mh$ = H5allocate_memory.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5allocate_memory", size, clear);
+ }
+ return (MemorySegment)mh$.invokeExact(size, clear);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5resize_memory {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5resize_memory");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5resize_memory$descriptor() {
+ return H5resize_memory.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static MethodHandle H5resize_memory$handle() {
+ return H5resize_memory.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static MemorySegment H5resize_memory$address() {
+ return H5resize_memory.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static MemorySegment H5resize_memory(MemorySegment mem, long size) {
+ var mh$ = H5resize_memory.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5resize_memory", mem, size);
+ }
+ return (MemorySegment)mh$.invokeExact(mem, size);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5I_UNINIT = (int)-2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_UNINIT = -2
+ * }
+ */
+ public static int H5I_UNINIT() {
+ return H5I_UNINIT;
+ }
+ private static final int H5I_BADID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_BADID = -1
+ * }
+ */
+ public static int H5I_BADID() {
+ return H5I_BADID;
+ }
+ private static final int H5I_FILE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_FILE = 1
+ * }
+ */
+ public static int H5I_FILE() {
+ return H5I_FILE;
+ }
+ private static final int H5I_GROUP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_GROUP = 2
+ * }
+ */
+ public static int H5I_GROUP() {
+ return H5I_GROUP;
+ }
+ private static final int H5I_DATATYPE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_DATATYPE = 3
+ * }
+ */
+ public static int H5I_DATATYPE() {
+ return H5I_DATATYPE;
+ }
+ private static final int H5I_DATASPACE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_DATASPACE = 4
+ * }
+ */
+ public static int H5I_DATASPACE() {
+ return H5I_DATASPACE;
+ }
+ private static final int H5I_DATASET = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_DATASET = 5
+ * }
+ */
+ public static int H5I_DATASET() {
+ return H5I_DATASET;
+ }
+ private static final int H5I_MAP = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_MAP = 6
+ * }
+ */
+ public static int H5I_MAP() {
+ return H5I_MAP;
+ }
+ private static final int H5I_ATTR = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ATTR = 7
+ * }
+ */
+ public static int H5I_ATTR() {
+ return H5I_ATTR;
+ }
+ private static final int H5I_VFL = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_VFL = 8
+ * }
+ */
+ public static int H5I_VFL() {
+ return H5I_VFL;
+ }
+ private static final int H5I_VOL = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_VOL = 9
+ * }
+ */
+ public static int H5I_VOL() {
+ return H5I_VOL;
+ }
+ private static final int H5I_GENPROP_CLS = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_GENPROP_CLS = 10
+ * }
+ */
+ public static int H5I_GENPROP_CLS() {
+ return H5I_GENPROP_CLS;
+ }
+ private static final int H5I_GENPROP_LST = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_GENPROP_LST = 11
+ * }
+ */
+ public static int H5I_GENPROP_LST() {
+ return H5I_GENPROP_LST;
+ }
+ private static final int H5I_ERROR_CLASS = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ERROR_CLASS = 12
+ * }
+ */
+ public static int H5I_ERROR_CLASS() {
+ return H5I_ERROR_CLASS;
+ }
+ private static final int H5I_ERROR_MSG = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ERROR_MSG = 13
+ * }
+ */
+ public static int H5I_ERROR_MSG() {
+ return H5I_ERROR_MSG;
+ }
+ private static final int H5I_ERROR_STACK = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ERROR_STACK = 14
+ * }
+ */
+ public static int H5I_ERROR_STACK() {
+ return H5I_ERROR_STACK;
+ }
+ private static final int H5I_SPACE_SEL_ITER = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_SPACE_SEL_ITER = 15
+ * }
+ */
+ public static int H5I_SPACE_SEL_ITER() {
+ return H5I_SPACE_SEL_ITER;
+ }
+ private static final int H5I_EVENTSET = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_EVENTSET = 16
+ * }
+ */
+ public static int H5I_EVENTSET() {
+ return H5I_EVENTSET;
+ }
+ private static final int H5I_NTYPES = (int)17L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_NTYPES = 17
+ * }
+ */
+ public static int H5I_NTYPES() {
+ return H5I_NTYPES;
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t hid_t
+ * }
+ */
+ public static final OfLong hid_t = hdf5_h.C_LONG;
+
+ private static class H5Iregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister$descriptor() {
+ return H5Iregister.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static MethodHandle H5Iregister$handle() {
+ return H5Iregister.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static MemorySegment H5Iregister$address() {
+ return H5Iregister.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static long H5Iregister(int type, MemorySegment object) {
+ var mh$ = H5Iregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister", type, object);
+ }
+ return (long)mh$.invokeExact(type, object);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iobject_verify {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iobject_verify");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iobject_verify$descriptor() {
+ return H5Iobject_verify.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iobject_verify$handle() {
+ return H5Iobject_verify.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iobject_verify$address() {
+ return H5Iobject_verify.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iobject_verify(long id, int type) {
+ var mh$ = H5Iobject_verify.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iobject_verify", id, type);
+ }
+ return (MemorySegment)mh$.invokeExact(id, type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iremove_verify {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iremove_verify");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iremove_verify$descriptor() {
+ return H5Iremove_verify.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iremove_verify$handle() {
+ return H5Iremove_verify.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iremove_verify$address() {
+ return H5Iremove_verify.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iremove_verify(long id, int type) {
+ var mh$ = H5Iremove_verify.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iremove_verify", id, type);
+ }
+ return (MemorySegment)mh$.invokeExact(id, type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_type$descriptor() {
+ return H5Iget_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iget_type$handle() {
+ return H5Iget_type.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iget_type$address() {
+ return H5Iget_type.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static int H5Iget_type(long id) {
+ var mh$ = H5Iget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_type", id);
+ }
+ return (int)mh$.invokeExact(id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_file_id {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_file_id");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_file_id$descriptor() {
+ return H5Iget_file_id.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iget_file_id$handle() {
+ return H5Iget_file_id.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iget_file_id$address() {
+ return H5Iget_file_id.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static long H5Iget_file_id(long id) {
+ var mh$ = H5Iget_file_id.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_file_id", id);
+ }
+ return (long)mh$.invokeExact(id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_name$descriptor() {
+ return H5Iget_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Iget_name$handle() {
+ return H5Iget_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Iget_name$address() {
+ return H5Iget_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static long H5Iget_name(long id, MemorySegment name, long size) {
+ var mh$ = H5Iget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_name", id, name, size);
+ }
+ return (long)mh$.invokeExact(id, name, size);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iinc_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iinc_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iinc_ref$descriptor() {
+ return H5Iinc_ref.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iinc_ref$handle() {
+ return H5Iinc_ref.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iinc_ref$address() {
+ return H5Iinc_ref.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static int H5Iinc_ref(long id) {
+ var mh$ = H5Iinc_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iinc_ref", id);
+ }
+ return (int)mh$.invokeExact(id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Idec_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Idec_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Idec_ref$descriptor() {
+ return H5Idec_ref.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Idec_ref$handle() {
+ return H5Idec_ref.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Idec_ref$address() {
+ return H5Idec_ref.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static int H5Idec_ref(long id) {
+ var mh$ = H5Idec_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Idec_ref", id);
+ }
+ return (int)mh$.invokeExact(id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_ref$descriptor() {
+ return H5Iget_ref.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iget_ref$handle() {
+ return H5Iget_ref.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iget_ref$address() {
+ return H5Iget_ref.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static int H5Iget_ref(long id) {
+ var mh$ = H5Iget_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_ref", id);
+ }
+ return (int)mh$.invokeExact(id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iregister_type2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister_type2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister_type2$descriptor() {
+ return H5Iregister_type2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MethodHandle H5Iregister_type2$handle() {
+ return H5Iregister_type2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MemorySegment H5Iregister_type2$address() {
+ return H5Iregister_type2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static int H5Iregister_type2(int reserved, MemorySegment free_func) {
+ var mh$ = H5Iregister_type2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister_type2", reserved, free_func);
+ }
+ return (int)mh$.invokeExact(reserved, free_func);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iclear_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_BOOL
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iclear_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static FunctionDescriptor H5Iclear_type$descriptor() {
+ return H5Iclear_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static MethodHandle H5Iclear_type$handle() {
+ return H5Iclear_type.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static MemorySegment H5Iclear_type$address() {
+ return H5Iclear_type.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static int H5Iclear_type(int type, boolean force) {
+ var mh$ = H5Iclear_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iclear_type", type, force);
+ }
+ return (int)mh$.invokeExact(type, force);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Idestroy_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Idestroy_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Idestroy_type$descriptor() {
+ return H5Idestroy_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Idestroy_type$handle() {
+ return H5Idestroy_type.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Idestroy_type$address() {
+ return H5Idestroy_type.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static int H5Idestroy_type(int type) {
+ var mh$ = H5Idestroy_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Idestroy_type", type);
+ }
+ return (int)mh$.invokeExact(type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iinc_type_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iinc_type_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iinc_type_ref$descriptor() {
+ return H5Iinc_type_ref.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iinc_type_ref$handle() {
+ return H5Iinc_type_ref.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iinc_type_ref$address() {
+ return H5Iinc_type_ref.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static int H5Iinc_type_ref(int type) {
+ var mh$ = H5Iinc_type_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iinc_type_ref", type);
+ }
+ return (int)mh$.invokeExact(type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Idec_type_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Idec_type_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Idec_type_ref$descriptor() {
+ return H5Idec_type_ref.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Idec_type_ref$handle() {
+ return H5Idec_type_ref.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Idec_type_ref$address() {
+ return H5Idec_type_ref.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static int H5Idec_type_ref(int type) {
+ var mh$ = H5Idec_type_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Idec_type_ref", type);
+ }
+ return (int)mh$.invokeExact(type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_type_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_type_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_type_ref$descriptor() {
+ return H5Iget_type_ref.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iget_type_ref$handle() {
+ return H5Iget_type_ref.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iget_type_ref$address() {
+ return H5Iget_type_ref.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static int H5Iget_type_ref(int type) {
+ var mh$ = H5Iget_type_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_type_ref", type);
+ }
+ return (int)mh$.invokeExact(type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Isearch {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Isearch");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static FunctionDescriptor H5Isearch$descriptor() {
+ return H5Isearch.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static MethodHandle H5Isearch$handle() {
+ return H5Isearch.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static MemorySegment H5Isearch$address() {
+ return H5Isearch.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static MemorySegment H5Isearch(int type, MemorySegment func, MemorySegment key) {
+ var mh$ = H5Isearch.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Isearch", type, func, key);
+ }
+ return (MemorySegment)mh$.invokeExact(type, func, key);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iiterate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iiterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Iiterate$descriptor() {
+ return H5Iiterate.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Iiterate$handle() {
+ return H5Iiterate.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Iiterate$address() {
+ return H5Iiterate.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static int H5Iiterate(int type, MemorySegment op, MemorySegment op_data) {
+ var mh$ = H5Iiterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iiterate", type, op, op_data);
+ }
+ return (int)mh$.invokeExact(type, op, op_data);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Inmembers {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Inmembers");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static FunctionDescriptor H5Inmembers$descriptor() {
+ return H5Inmembers.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static MethodHandle H5Inmembers$handle() {
+ return H5Inmembers.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static MemorySegment H5Inmembers$address() {
+ return H5Inmembers.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static int H5Inmembers(int type, MemorySegment num_members) {
+ var mh$ = H5Inmembers.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Inmembers", type, num_members);
+ }
+ return (int)mh$.invokeExact(type, num_members);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Itype_exists {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Itype_exists");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Itype_exists$descriptor() {
+ return H5Itype_exists.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Itype_exists$handle() {
+ return H5Itype_exists.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Itype_exists$address() {
+ return H5Itype_exists.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static int H5Itype_exists(int type) {
+ var mh$ = H5Itype_exists.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Itype_exists", type);
+ }
+ return (int)mh$.invokeExact(type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iis_valid {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iis_valid");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iis_valid$descriptor() {
+ return H5Iis_valid.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iis_valid$handle() {
+ return H5Iis_valid.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iis_valid$address() {
+ return H5Iis_valid.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static int H5Iis_valid(long id) {
+ var mh$ = H5Iis_valid.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iis_valid", id);
+ }
+ return (int)mh$.invokeExact(id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iregister_type1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister_type1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister_type1$descriptor() {
+ return H5Iregister_type1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MethodHandle H5Iregister_type1$handle() {
+ return H5Iregister_type1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MemorySegment H5Iregister_type1$address() {
+ return H5Iregister_type1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static int H5Iregister_type1(long hash_size, int reserved, MemorySegment free_func) {
+ var mh$ = H5Iregister_type1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister_type1", hash_size, reserved, free_func);
+ }
+ return (int)mh$.invokeExact(hash_size, reserved, free_func);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5O_TYPE_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_UNKNOWN = -1
+ * }
+ */
+ public static int H5O_TYPE_UNKNOWN() {
+ return H5O_TYPE_UNKNOWN;
+ }
+ private static final int H5O_TYPE_GROUP = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_GROUP = 0
+ * }
+ */
+ public static int H5O_TYPE_GROUP() {
+ return H5O_TYPE_GROUP;
+ }
+ private static final int H5O_TYPE_DATASET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_DATASET = 1
+ * }
+ */
+ public static int H5O_TYPE_DATASET() {
+ return H5O_TYPE_DATASET;
+ }
+ private static final int H5O_TYPE_NAMED_DATATYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_NAMED_DATATYPE = 2
+ * }
+ */
+ public static int H5O_TYPE_NAMED_DATATYPE() {
+ return H5O_TYPE_NAMED_DATATYPE;
+ }
+ private static final int H5O_TYPE_MAP = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_MAP = 3
+ * }
+ */
+ public static int H5O_TYPE_MAP() {
+ return H5O_TYPE_MAP;
+ }
+ private static final int H5O_TYPE_NTYPES = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_NTYPES = 4
+ * }
+ */
+ public static int H5O_TYPE_NTYPES() {
+ return H5O_TYPE_NTYPES;
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef uint32_t H5O_msg_crt_idx_t
+ * }
+ */
+ public static final OfInt H5O_msg_crt_idx_t = hdf5_h.C_INT;
+ private static final int H5O_MCDT_SEARCH_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_mcdt_search_ret_t.H5O_MCDT_SEARCH_ERROR = -1
+ * }
+ */
+ public static int H5O_MCDT_SEARCH_ERROR() {
+ return H5O_MCDT_SEARCH_ERROR;
+ }
+ private static final int H5O_MCDT_SEARCH_CONT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_mcdt_search_ret_t.H5O_MCDT_SEARCH_CONT = 0
+ * }
+ */
+ public static int H5O_MCDT_SEARCH_CONT() {
+ return H5O_MCDT_SEARCH_CONT;
+ }
+ private static final int H5O_MCDT_SEARCH_STOP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_mcdt_search_ret_t.H5O_MCDT_SEARCH_STOP = 1
+ * }
+ */
+ public static int H5O_MCDT_SEARCH_STOP() {
+ return H5O_MCDT_SEARCH_STOP;
+ }
+
+ private static class H5Oopen {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen$descriptor() {
+ return H5Oopen.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oopen$handle() {
+ return H5Oopen.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oopen$address() {
+ return H5Oopen.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static long H5Oopen(long loc_id, MemorySegment name, long lapl_id) {
+ var mh$ = H5Oopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen", loc_id, name, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_async$descriptor() {
+ return H5Oopen_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oopen_async$handle() {
+ return H5Oopen_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oopen_async$address() {
+ return H5Oopen_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Oopen_async(MemorySegment app_file, MemorySegment app_func, int app_line, long loc_id, MemorySegment name, long lapl_id, long es_id) {
+ var mh$ = H5Oopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_async", app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_by_token {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ H5O_token_t.layout()
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_token");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_token$descriptor() {
+ return H5Oopen_by_token.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_token$handle() {
+ return H5Oopen_by_token.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_token$address() {
+ return H5Oopen_by_token.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static long H5Oopen_by_token(long loc_id, MemorySegment token) {
+ var mh$ = H5Oopen_by_token.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_token", loc_id, token);
+ }
+ return (long)mh$.invokeExact(loc_id, token);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_idx$descriptor() {
+ return H5Oopen_by_idx.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_idx$handle() {
+ return H5Oopen_by_idx.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_idx$address() {
+ return H5Oopen_by_idx.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static long H5Oopen_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order, long n, long lapl_id) {
+ var mh$ = H5Oopen_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_idx", loc_id, group_name, idx_type, order, n, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, group_name, idx_type, order, n, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_by_idx_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_idx_async$descriptor() {
+ return H5Oopen_by_idx_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_idx_async$handle() {
+ return H5Oopen_by_idx_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_idx_async$address() {
+ return H5Oopen_by_idx_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Oopen_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line, long loc_id, MemorySegment group_name, int idx_type, int order, long n, long lapl_id, long es_id) {
+ var mh$ = H5Oopen_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_idx_async", app_file, app_func, app_line, loc_id, group_name, idx_type, order, n, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, group_name, idx_type, order, n, lapl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oexists_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oexists_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oexists_by_name$descriptor() {
+ return H5Oexists_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oexists_by_name$handle() {
+ return H5Oexists_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oexists_by_name$address() {
+ return H5Oexists_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oexists_by_name(long loc_id, MemorySegment name, long lapl_id) {
+ var mh$ = H5Oexists_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oexists_by_name", loc_id, name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info3$descriptor() {
+ return H5Oget_info3.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Oget_info3$handle() {
+ return H5Oget_info3.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Oget_info3$address() {
+ return H5Oget_info3.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static int H5Oget_info3(long loc_id, MemorySegment oinfo, int fields) {
+ var mh$ = H5Oget_info3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info3", loc_id, oinfo, fields);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo, fields);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name3$descriptor() {
+ return H5Oget_info_by_name3.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name3$handle() {
+ return H5Oget_info_by_name3.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name3$address() {
+ return H5Oget_info_by_name3.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_name3(long loc_id, MemorySegment name, MemorySegment oinfo, int fields, long lapl_id) {
+ var mh$ = H5Oget_info_by_name3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name3", loc_id, name, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name_async$descriptor() {
+ return H5Oget_info_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name_async$handle() {
+ return H5Oget_info_by_name_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name_async$address() {
+ return H5Oget_info_by_name_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Oget_info_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line, long loc_id, MemorySegment name, MemorySegment oinfo, int fields, long lapl_id, long es_id) {
+ var mh$ = H5Oget_info_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name_async", app_file, app_func, app_line, loc_id, name, oinfo, fields, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, oinfo, fields, lapl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_idx3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_idx3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_idx3$descriptor() {
+ return H5Oget_info_by_idx3.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_idx3$handle() {
+ return H5Oget_info_by_idx3.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_idx3$address() {
+ return H5Oget_info_by_idx3.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_idx3(long loc_id, MemorySegment group_name, int idx_type, int order, long n, MemorySegment oinfo, int fields, long lapl_id) {
+ var mh$ = H5Oget_info_by_idx3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_idx3", loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_native_info {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_native_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_native_info$descriptor() {
+ return H5Oget_native_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Oget_native_info$handle() {
+ return H5Oget_native_info.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Oget_native_info$address() {
+ return H5Oget_native_info.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static int H5Oget_native_info(long loc_id, MemorySegment oinfo, int fields) {
+ var mh$ = H5Oget_native_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_native_info", loc_id, oinfo, fields);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo, fields);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_native_info_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_native_info_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_native_info_by_name$descriptor() {
+ return H5Oget_native_info_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_native_info_by_name$handle() {
+ return H5Oget_native_info_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_native_info_by_name$address() {
+ return H5Oget_native_info_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_native_info_by_name(long loc_id, MemorySegment name, MemorySegment oinfo, int fields, long lapl_id) {
+ var mh$ = H5Oget_native_info_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_native_info_by_name", loc_id, name, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_native_info_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_native_info_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_native_info_by_idx$descriptor() {
+ return H5Oget_native_info_by_idx.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_native_info_by_idx$handle() {
+ return H5Oget_native_info_by_idx.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_native_info_by_idx$address() {
+ return H5Oget_native_info_by_idx.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_native_info_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order, long n, MemorySegment oinfo, int fields, long lapl_id) {
+ var mh$ = H5Oget_native_info_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_native_info_by_idx", loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Olink {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Olink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Olink$descriptor() {
+ return H5Olink.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Olink$handle() {
+ return H5Olink.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Olink$address() {
+ return H5Olink.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Olink(long obj_id, long new_loc_id, MemorySegment new_name, long lcpl_id, long lapl_id) {
+ var mh$ = H5Olink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Olink", obj_id, new_loc_id, new_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(obj_id, new_loc_id, new_name, lcpl_id, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oincr_refcount {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oincr_refcount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oincr_refcount$descriptor() {
+ return H5Oincr_refcount.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Oincr_refcount$handle() {
+ return H5Oincr_refcount.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Oincr_refcount$address() {
+ return H5Oincr_refcount.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static int H5Oincr_refcount(long object_id) {
+ var mh$ = H5Oincr_refcount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oincr_refcount", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Odecr_refcount {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Odecr_refcount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Odecr_refcount$descriptor() {
+ return H5Odecr_refcount.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Odecr_refcount$handle() {
+ return H5Odecr_refcount.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Odecr_refcount$address() {
+ return H5Odecr_refcount.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static int H5Odecr_refcount(long object_id) {
+ var mh$ = H5Odecr_refcount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Odecr_refcount", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ocopy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ocopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ocopy$descriptor() {
+ return H5Ocopy.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static MethodHandle H5Ocopy$handle() {
+ return H5Ocopy.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static MemorySegment H5Ocopy$address() {
+ return H5Ocopy.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static int H5Ocopy(long src_loc_id, MemorySegment src_name, long dst_loc_id, MemorySegment dst_name, long ocpypl_id, long lcpl_id) {
+ var mh$ = H5Ocopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ocopy", src_loc_id, src_name, dst_loc_id, dst_name, ocpypl_id, lcpl_id);
+ }
+ return (int)mh$.invokeExact(src_loc_id, src_name, dst_loc_id, dst_name, ocpypl_id, lcpl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ocopy_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ocopy_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ocopy_async$descriptor() {
+ return H5Ocopy_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ocopy_async$handle() {
+ return H5Ocopy_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ocopy_async$address() {
+ return H5Ocopy_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Ocopy_async(MemorySegment app_file, MemorySegment app_func, int app_line, long src_loc_id, MemorySegment src_name, long dst_loc_id, MemorySegment dst_name, long ocpypl_id, long lcpl_id, long es_id) {
+ var mh$ = H5Ocopy_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ocopy_async", app_file, app_func, app_line, src_loc_id, src_name, dst_loc_id, dst_name, ocpypl_id, lcpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, src_loc_id, src_name, dst_loc_id, dst_name, ocpypl_id, lcpl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oset_comment {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oset_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static FunctionDescriptor H5Oset_comment$descriptor() {
+ return H5Oset_comment.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static MethodHandle H5Oset_comment$handle() {
+ return H5Oset_comment.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static MemorySegment H5Oset_comment$address() {
+ return H5Oset_comment.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static int H5Oset_comment(long obj_id, MemorySegment comment) {
+ var mh$ = H5Oset_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oset_comment", obj_id, comment);
+ }
+ return (int)mh$.invokeExact(obj_id, comment);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oset_comment_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oset_comment_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oset_comment_by_name$descriptor() {
+ return H5Oset_comment_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oset_comment_by_name$handle() {
+ return H5Oset_comment_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oset_comment_by_name$address() {
+ return H5Oset_comment_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oset_comment_by_name(long loc_id, MemorySegment name, MemorySegment comment, long lapl_id) {
+ var mh$ = H5Oset_comment_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oset_comment_by_name", loc_id, name, comment, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, comment, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_comment {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_comment$descriptor() {
+ return H5Oget_comment.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static MethodHandle H5Oget_comment$handle() {
+ return H5Oget_comment.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static MemorySegment H5Oget_comment$address() {
+ return H5Oget_comment.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static long H5Oget_comment(long obj_id, MemorySegment comment, long bufsize) {
+ var mh$ = H5Oget_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_comment", obj_id, comment, bufsize);
+ }
+ return (long)mh$.invokeExact(obj_id, comment, bufsize);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_comment_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_comment_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_comment_by_name$descriptor() {
+ return H5Oget_comment_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_comment_by_name$handle() {
+ return H5Oget_comment_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_comment_by_name$address() {
+ return H5Oget_comment_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t lapl_id)
+ * }
+ */
+ public static long H5Oget_comment_by_name(long loc_id, MemorySegment name, MemorySegment comment, long bufsize, long lapl_id) {
+ var mh$ = H5Oget_comment_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_comment_by_name", loc_id, name, comment, bufsize, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, comment, bufsize, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit3$descriptor() {
+ return H5Ovisit3.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Ovisit3$handle() {
+ return H5Ovisit3.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Ovisit3$address() {
+ return H5Ovisit3.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static int H5Ovisit3(long obj_id, int idx_type, int order, MemorySegment op, MemorySegment op_data, int fields) {
+ var mh$ = H5Ovisit3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit3", obj_id, idx_type, order, op, op_data, fields);
+ }
+ return (int)mh$.invokeExact(obj_id, idx_type, order, op, op_data, fields);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit_by_name3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit_by_name3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit_by_name3$descriptor() {
+ return H5Ovisit_by_name3.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ovisit_by_name3$handle() {
+ return H5Ovisit_by_name3.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ovisit_by_name3$address() {
+ return H5Ovisit_by_name3.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ovisit_by_name3(long loc_id, MemorySegment obj_name, int idx_type, int order, MemorySegment op, MemorySegment op_data, int fields, long lapl_id) {
+ var mh$ = H5Ovisit_by_name3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit_by_name3", loc_id, obj_name, idx_type, order, op, op_data, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, op, op_data, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oclose$descriptor() {
+ return H5Oclose.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Oclose$handle() {
+ return H5Oclose.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Oclose$address() {
+ return H5Oclose.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static int H5Oclose(long object_id) {
+ var mh$ = H5Oclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oclose", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oclose_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t object_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oclose_async$descriptor() {
+ return H5Oclose_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t object_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oclose_async$handle() {
+ return H5Oclose_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t object_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oclose_async$address() {
+ return H5Oclose_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t object_id, hid_t es_id)
+ * }
+ */
+ public static int H5Oclose_async(MemorySegment app_file, MemorySegment app_func, int app_line, long object_id, long es_id) {
+ var mh$ = H5Oclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oclose_async", app_file, app_func, app_line, object_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, object_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oflush$descriptor() {
+ return H5Oflush.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static MethodHandle H5Oflush$handle() {
+ return H5Oflush.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5Oflush$address() {
+ return H5Oflush.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static int H5Oflush(long obj_id) {
+ var mh$ = H5Oflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oflush", obj_id);
+ }
+ return (int)mh$.invokeExact(obj_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oflush_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oflush_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oflush_async$descriptor() {
+ return H5Oflush_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oflush_async$handle() {
+ return H5Oflush_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oflush_async$address() {
+ return H5Oflush_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, hid_t es_id)
+ * }
+ */
+ public static int H5Oflush_async(MemorySegment app_file, MemorySegment app_func, int app_line, long obj_id, long es_id) {
+ var mh$ = H5Oflush_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oflush_async", app_file, app_func, app_line, obj_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, obj_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Orefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Orefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static FunctionDescriptor H5Orefresh$descriptor() {
+ return H5Orefresh.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static MethodHandle H5Orefresh$handle() {
+ return H5Orefresh.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static MemorySegment H5Orefresh$address() {
+ return H5Orefresh.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static int H5Orefresh(long oid) {
+ var mh$ = H5Orefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Orefresh", oid);
+ }
+ return (int)mh$.invokeExact(oid);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Orefresh_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Orefresh_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Orefresh_async$descriptor() {
+ return H5Orefresh_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Orefresh_async$handle() {
+ return H5Orefresh_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Orefresh_async$address() {
+ return H5Orefresh_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid, hid_t es_id)
+ * }
+ */
+ public static int H5Orefresh_async(MemorySegment app_file, MemorySegment app_func, int app_line, long oid, long es_id) {
+ var mh$ = H5Orefresh_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Orefresh_async", app_file, app_func, app_line, oid, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, oid, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Odisable_mdc_flushes {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Odisable_mdc_flushes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Odisable_mdc_flushes$descriptor() {
+ return H5Odisable_mdc_flushes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Odisable_mdc_flushes$handle() {
+ return H5Odisable_mdc_flushes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Odisable_mdc_flushes$address() {
+ return H5Odisable_mdc_flushes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static int H5Odisable_mdc_flushes(long object_id) {
+ var mh$ = H5Odisable_mdc_flushes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Odisable_mdc_flushes", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oenable_mdc_flushes {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oenable_mdc_flushes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oenable_mdc_flushes$descriptor() {
+ return H5Oenable_mdc_flushes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Oenable_mdc_flushes$handle() {
+ return H5Oenable_mdc_flushes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Oenable_mdc_flushes$address() {
+ return H5Oenable_mdc_flushes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static int H5Oenable_mdc_flushes(long object_id) {
+ var mh$ = H5Oenable_mdc_flushes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oenable_mdc_flushes", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oare_mdc_flushes_disabled {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oare_mdc_flushes_disabled");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static FunctionDescriptor H5Oare_mdc_flushes_disabled$descriptor() {
+ return H5Oare_mdc_flushes_disabled.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static MethodHandle H5Oare_mdc_flushes_disabled$handle() {
+ return H5Oare_mdc_flushes_disabled.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static MemorySegment H5Oare_mdc_flushes_disabled$address() {
+ return H5Oare_mdc_flushes_disabled.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static int H5Oare_mdc_flushes_disabled(long object_id, MemorySegment are_disabled) {
+ var mh$ = H5Oare_mdc_flushes_disabled.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oare_mdc_flushes_disabled", object_id, are_disabled);
+ }
+ return (int)mh$.invokeExact(object_id, are_disabled);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Otoken_cmp {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Otoken_cmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static FunctionDescriptor H5Otoken_cmp$descriptor() {
+ return H5Otoken_cmp.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static MethodHandle H5Otoken_cmp$handle() {
+ return H5Otoken_cmp.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static MemorySegment H5Otoken_cmp$address() {
+ return H5Otoken_cmp.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static int H5Otoken_cmp(long loc_id, MemorySegment token1, MemorySegment token2, MemorySegment cmp_value) {
+ var mh$ = H5Otoken_cmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Otoken_cmp", loc_id, token1, token2, cmp_value);
+ }
+ return (int)mh$.invokeExact(loc_id, token1, token2, cmp_value);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Otoken_to_str {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Otoken_to_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static FunctionDescriptor H5Otoken_to_str$descriptor() {
+ return H5Otoken_to_str.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static MethodHandle H5Otoken_to_str$handle() {
+ return H5Otoken_to_str.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static MemorySegment H5Otoken_to_str$address() {
+ return H5Otoken_to_str.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static int H5Otoken_to_str(long loc_id, MemorySegment token, MemorySegment token_str) {
+ var mh$ = H5Otoken_to_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Otoken_to_str", loc_id, token, token_str);
+ }
+ return (int)mh$.invokeExact(loc_id, token, token_str);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Otoken_from_str {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Otoken_from_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static FunctionDescriptor H5Otoken_from_str$descriptor() {
+ return H5Otoken_from_str.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static MethodHandle H5Otoken_from_str$handle() {
+ return H5Otoken_from_str.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static MemorySegment H5Otoken_from_str$address() {
+ return H5Otoken_from_str.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static int H5Otoken_from_str(long loc_id, MemorySegment token_str, MemorySegment token) {
+ var mh$ = H5Otoken_from_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Otoken_from_str", loc_id, token_str, token);
+ }
+ return (int)mh$.invokeExact(loc_id, token_str, token);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5O_TOKEN_UNDEF_g$constants {
+ public static final GroupLayout LAYOUT = H5O_token_t.layout();
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5O_TOKEN_UNDEF_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern const H5O_token_t H5O_TOKEN_UNDEF_g
+ * }
+ */
+ public static GroupLayout H5O_TOKEN_UNDEF_g$layout() {
+ return H5O_TOKEN_UNDEF_g$constants.LAYOUT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern const H5O_token_t H5O_TOKEN_UNDEF_g
+ * }
+ */
+ public static MemorySegment H5O_TOKEN_UNDEF_g() {
+ return H5O_TOKEN_UNDEF_g$constants.SEGMENT;
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern const H5O_token_t H5O_TOKEN_UNDEF_g
+ * }
+ */
+ public static void H5O_TOKEN_UNDEF_g(MemorySegment varValue) {
+ MemorySegment.copy(varValue, 0L, H5O_TOKEN_UNDEF_g$constants.SEGMENT, 0L, H5O_TOKEN_UNDEF_g$constants.LAYOUT.byteSize());
+ }
+
+ private static class H5Oopen_by_addr {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_addr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_addr$descriptor() {
+ return H5Oopen_by_addr.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_addr$handle() {
+ return H5Oopen_by_addr.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_addr$address() {
+ return H5Oopen_by_addr.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static long H5Oopen_by_addr(long loc_id, long addr) {
+ var mh$ = H5Oopen_by_addr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_addr", loc_id, addr);
+ }
+ return (long)mh$.invokeExact(loc_id, addr);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info1$descriptor() {
+ return H5Oget_info1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static MethodHandle H5Oget_info1$handle() {
+ return H5Oget_info1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static MemorySegment H5Oget_info1$address() {
+ return H5Oget_info1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static int H5Oget_info1(long loc_id, MemorySegment oinfo) {
+ var mh$ = H5Oget_info1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info1", loc_id, oinfo);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name1$descriptor() {
+ return H5Oget_info_by_name1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name1$handle() {
+ return H5Oget_info_by_name1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name1$address() {
+ return H5Oget_info_by_name1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_name1(long loc_id, MemorySegment name, MemorySegment oinfo, long lapl_id) {
+ var mh$ = H5Oget_info_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name1", loc_id, name, oinfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_idx1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_idx1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_idx1$descriptor() {
+ return H5Oget_info_by_idx1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_idx1$handle() {
+ return H5Oget_info_by_idx1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_idx1$address() {
+ return H5Oget_info_by_idx1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_idx1(long loc_id, MemorySegment group_name, int idx_type, int order, long n, MemorySegment oinfo, long lapl_id) {
+ var mh$ = H5Oget_info_by_idx1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_idx1", loc_id, group_name, idx_type, order, n, oinfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info2$descriptor() {
+ return H5Oget_info2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Oget_info2$handle() {
+ return H5Oget_info2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Oget_info2$address() {
+ return H5Oget_info2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static int H5Oget_info2(long loc_id, MemorySegment oinfo, int fields) {
+ var mh$ = H5Oget_info2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info2", loc_id, oinfo, fields);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo, fields);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name2$descriptor() {
+ return H5Oget_info_by_name2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name2$handle() {
+ return H5Oget_info_by_name2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name2$address() {
+ return H5Oget_info_by_name2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_name2(long loc_id, MemorySegment name, MemorySegment oinfo, int fields, long lapl_id) {
+ var mh$ = H5Oget_info_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name2", loc_id, name, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_idx2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_idx2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_idx2$descriptor() {
+ return H5Oget_info_by_idx2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_idx2$handle() {
+ return H5Oget_info_by_idx2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_idx2$address() {
+ return H5Oget_info_by_idx2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_idx2(long loc_id, MemorySegment group_name, int idx_type, int order, long n, MemorySegment oinfo, int fields, long lapl_id) {
+ var mh$ = H5Oget_info_by_idx2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_idx2", loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit1$descriptor() {
+ return H5Ovisit1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Ovisit1$handle() {
+ return H5Ovisit1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Ovisit1$address() {
+ return H5Ovisit1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data)
+ * }
+ */
+ public static int H5Ovisit1(long obj_id, int idx_type, int order, MemorySegment op, MemorySegment op_data) {
+ var mh$ = H5Ovisit1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit1", obj_id, idx_type, order, op, op_data);
+ }
+ return (int)mh$.invokeExact(obj_id, idx_type, order, op, op_data);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit_by_name1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit_by_name1$descriptor() {
+ return H5Ovisit_by_name1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ovisit_by_name1$handle() {
+ return H5Ovisit_by_name1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ovisit_by_name1$address() {
+ return H5Ovisit_by_name1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ovisit_by_name1(long loc_id, MemorySegment obj_name, int idx_type, int order, MemorySegment op, MemorySegment op_data, long lapl_id) {
+ var mh$ = H5Ovisit_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit_by_name1", loc_id, obj_name, idx_type, order, op, op_data, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, op, op_data, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit2$descriptor() {
+ return H5Ovisit2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Ovisit2$handle() {
+ return H5Ovisit2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Ovisit2$address() {
+ return H5Ovisit2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static int H5Ovisit2(long obj_id, int idx_type, int order, MemorySegment op, MemorySegment op_data, int fields) {
+ var mh$ = H5Ovisit2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit2", obj_id, idx_type, order, op, op_data, fields);
+ }
+ return (int)mh$.invokeExact(obj_id, idx_type, order, op, op_data, fields);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit_by_name2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit_by_name2$descriptor() {
+ return H5Ovisit_by_name2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ovisit_by_name2$handle() {
+ return H5Ovisit_by_name2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ovisit_by_name2$address() {
+ return H5Ovisit_by_name2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ovisit_by_name2(long loc_id, MemorySegment obj_name, int idx_type, int order, MemorySegment op, MemorySegment op_data, int fields, long lapl_id) {
+ var mh$ = H5Ovisit_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit_by_name2", loc_id, obj_name, idx_type, order, op, op_data, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, op, op_data, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5T_NO_CLASS = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_NO_CLASS = -1
+ * }
+ */
+ public static int H5T_NO_CLASS() {
+ return H5T_NO_CLASS;
+ }
+ private static final int H5T_INTEGER = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_INTEGER = 0
+ * }
+ */
+ public static int H5T_INTEGER() {
+ return H5T_INTEGER;
+ }
+ private static final int H5T_FLOAT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_FLOAT = 1
+ * }
+ */
+ public static int H5T_FLOAT() {
+ return H5T_FLOAT;
+ }
+ private static final int H5T_TIME = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_TIME = 2
+ * }
+ */
+ public static int H5T_TIME() {
+ return H5T_TIME;
+ }
+ private static final int H5T_STRING = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_STRING = 3
+ * }
+ */
+ public static int H5T_STRING() {
+ return H5T_STRING;
+ }
+ private static final int H5T_BITFIELD = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_BITFIELD = 4
+ * }
+ */
+ public static int H5T_BITFIELD() {
+ return H5T_BITFIELD;
+ }
+ private static final int H5T_OPAQUE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_OPAQUE = 5
+ * }
+ */
+ public static int H5T_OPAQUE() {
+ return H5T_OPAQUE;
+ }
+ private static final int H5T_COMPOUND = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_COMPOUND = 6
+ * }
+ */
+ public static int H5T_COMPOUND() {
+ return H5T_COMPOUND;
+ }
+ private static final int H5T_REFERENCE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_REFERENCE = 7
+ * }
+ */
+ public static int H5T_REFERENCE() {
+ return H5T_REFERENCE;
+ }
+ private static final int H5T_ENUM = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_ENUM = 8
+ * }
+ */
+ public static int H5T_ENUM() {
+ return H5T_ENUM;
+ }
+ private static final int H5T_VLEN = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_VLEN = 9
+ * }
+ */
+ public static int H5T_VLEN() {
+ return H5T_VLEN;
+ }
+ private static final int H5T_ARRAY = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_ARRAY = 10
+ * }
+ */
+ public static int H5T_ARRAY() {
+ return H5T_ARRAY;
+ }
+ private static final int H5T_COMPLEX = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_COMPLEX = 11
+ * }
+ */
+ public static int H5T_COMPLEX() {
+ return H5T_COMPLEX;
+ }
+ private static final int H5T_NCLASSES = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_NCLASSES = 12
+ * }
+ */
+ public static int H5T_NCLASSES() {
+ return H5T_NCLASSES;
+ }
+ private static final int H5T_ORDER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_ERROR = -1
+ * }
+ */
+ public static int H5T_ORDER_ERROR() {
+ return H5T_ORDER_ERROR;
+ }
+ private static final int H5T_ORDER_LE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_LE = 0
+ * }
+ */
+ public static int H5T_ORDER_LE() {
+ return H5T_ORDER_LE;
+ }
+ private static final int H5T_ORDER_BE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_BE = 1
+ * }
+ */
+ public static int H5T_ORDER_BE() {
+ return H5T_ORDER_BE;
+ }
+ private static final int H5T_ORDER_VAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_VAX = 2
+ * }
+ */
+ public static int H5T_ORDER_VAX() {
+ return H5T_ORDER_VAX;
+ }
+ private static final int H5T_ORDER_MIXED = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_MIXED = 3
+ * }
+ */
+ public static int H5T_ORDER_MIXED() {
+ return H5T_ORDER_MIXED;
+ }
+ private static final int H5T_ORDER_NONE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_NONE = 4
+ * }
+ */
+ public static int H5T_ORDER_NONE() {
+ return H5T_ORDER_NONE;
+ }
+ private static final int H5T_SGN_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_SGN_ERROR = -1
+ * }
+ */
+ public static int H5T_SGN_ERROR() {
+ return H5T_SGN_ERROR;
+ }
+ private static final int H5T_SGN_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_SGN_NONE = 0
+ * }
+ */
+ public static int H5T_SGN_NONE() {
+ return H5T_SGN_NONE;
+ }
+ private static final int H5T_SGN_2 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_SGN_2 = 1
+ * }
+ */
+ public static int H5T_SGN_2() {
+ return H5T_SGN_2;
+ }
+ private static final int H5T_NSGN = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_NSGN = 2
+ * }
+ */
+ public static int H5T_NSGN() {
+ return H5T_NSGN;
+ }
+ private static final int H5T_NORM_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_ERROR = -1
+ * }
+ */
+ public static int H5T_NORM_ERROR() {
+ return H5T_NORM_ERROR;
+ }
+ private static final int H5T_NORM_IMPLIED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_IMPLIED = 0
+ * }
+ */
+ public static int H5T_NORM_IMPLIED() {
+ return H5T_NORM_IMPLIED;
+ }
+ private static final int H5T_NORM_MSBSET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_MSBSET = 1
+ * }
+ */
+ public static int H5T_NORM_MSBSET() {
+ return H5T_NORM_MSBSET;
+ }
+ private static final int H5T_NORM_NONE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_NONE = 2
+ * }
+ */
+ public static int H5T_NORM_NONE() {
+ return H5T_NORM_NONE;
+ }
+ private static final int H5T_CSET_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_ERROR = -1
+ * }
+ */
+ public static int H5T_CSET_ERROR() {
+ return H5T_CSET_ERROR;
+ }
+ private static final int H5T_CSET_ASCII = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_ASCII = 0
+ * }
+ */
+ public static int H5T_CSET_ASCII() {
+ return H5T_CSET_ASCII;
+ }
+ private static final int H5T_CSET_UTF8 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_UTF8 = 1
+ * }
+ */
+ public static int H5T_CSET_UTF8() {
+ return H5T_CSET_UTF8;
+ }
+ private static final int H5T_CSET_RESERVED_2 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_2 = 2
+ * }
+ */
+ public static int H5T_CSET_RESERVED_2() {
+ return H5T_CSET_RESERVED_2;
+ }
+ private static final int H5T_CSET_RESERVED_3 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_3 = 3
+ * }
+ */
+ public static int H5T_CSET_RESERVED_3() {
+ return H5T_CSET_RESERVED_3;
+ }
+ private static final int H5T_CSET_RESERVED_4 = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_4 = 4
+ * }
+ */
+ public static int H5T_CSET_RESERVED_4() {
+ return H5T_CSET_RESERVED_4;
+ }
+ private static final int H5T_CSET_RESERVED_5 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_5 = 5
+ * }
+ */
+ public static int H5T_CSET_RESERVED_5() {
+ return H5T_CSET_RESERVED_5;
+ }
+ private static final int H5T_CSET_RESERVED_6 = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_6 = 6
+ * }
+ */
+ public static int H5T_CSET_RESERVED_6() {
+ return H5T_CSET_RESERVED_6;
+ }
+ private static final int H5T_CSET_RESERVED_7 = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_7 = 7
+ * }
+ */
+ public static int H5T_CSET_RESERVED_7() {
+ return H5T_CSET_RESERVED_7;
+ }
+ private static final int H5T_CSET_RESERVED_8 = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_8 = 8
+ * }
+ */
+ public static int H5T_CSET_RESERVED_8() {
+ return H5T_CSET_RESERVED_8;
+ }
+ private static final int H5T_CSET_RESERVED_9 = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_9 = 9
+ * }
+ */
+ public static int H5T_CSET_RESERVED_9() {
+ return H5T_CSET_RESERVED_9;
+ }
+ private static final int H5T_CSET_RESERVED_10 = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_10 = 10
+ * }
+ */
+ public static int H5T_CSET_RESERVED_10() {
+ return H5T_CSET_RESERVED_10;
+ }
+ private static final int H5T_CSET_RESERVED_11 = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_11 = 11
+ * }
+ */
+ public static int H5T_CSET_RESERVED_11() {
+ return H5T_CSET_RESERVED_11;
+ }
+ private static final int H5T_CSET_RESERVED_12 = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_12 = 12
+ * }
+ */
+ public static int H5T_CSET_RESERVED_12() {
+ return H5T_CSET_RESERVED_12;
+ }
+ private static final int H5T_CSET_RESERVED_13 = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_13 = 13
+ * }
+ */
+ public static int H5T_CSET_RESERVED_13() {
+ return H5T_CSET_RESERVED_13;
+ }
+ private static final int H5T_CSET_RESERVED_14 = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_14 = 14
+ * }
+ */
+ public static int H5T_CSET_RESERVED_14() {
+ return H5T_CSET_RESERVED_14;
+ }
+ private static final int H5T_CSET_RESERVED_15 = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_15 = 15
+ * }
+ */
+ public static int H5T_CSET_RESERVED_15() {
+ return H5T_CSET_RESERVED_15;
+ }
+ private static final int H5T_STR_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_ERROR = -1
+ * }
+ */
+ public static int H5T_STR_ERROR() {
+ return H5T_STR_ERROR;
+ }
+ private static final int H5T_STR_NULLTERM = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_NULLTERM = 0
+ * }
+ */
+ public static int H5T_STR_NULLTERM() {
+ return H5T_STR_NULLTERM;
+ }
+ private static final int H5T_STR_NULLPAD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_NULLPAD = 1
+ * }
+ */
+ public static int H5T_STR_NULLPAD() {
+ return H5T_STR_NULLPAD;
+ }
+ private static final int H5T_STR_SPACEPAD = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_SPACEPAD = 2
+ * }
+ */
+ public static int H5T_STR_SPACEPAD() {
+ return H5T_STR_SPACEPAD;
+ }
+ private static final int H5T_STR_RESERVED_3 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_3 = 3
+ * }
+ */
+ public static int H5T_STR_RESERVED_3() {
+ return H5T_STR_RESERVED_3;
+ }
+ private static final int H5T_STR_RESERVED_4 = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_4 = 4
+ * }
+ */
+ public static int H5T_STR_RESERVED_4() {
+ return H5T_STR_RESERVED_4;
+ }
+ private static final int H5T_STR_RESERVED_5 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_5 = 5
+ * }
+ */
+ public static int H5T_STR_RESERVED_5() {
+ return H5T_STR_RESERVED_5;
+ }
+ private static final int H5T_STR_RESERVED_6 = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_6 = 6
+ * }
+ */
+ public static int H5T_STR_RESERVED_6() {
+ return H5T_STR_RESERVED_6;
+ }
+ private static final int H5T_STR_RESERVED_7 = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_7 = 7
+ * }
+ */
+ public static int H5T_STR_RESERVED_7() {
+ return H5T_STR_RESERVED_7;
+ }
+ private static final int H5T_STR_RESERVED_8 = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_8 = 8
+ * }
+ */
+ public static int H5T_STR_RESERVED_8() {
+ return H5T_STR_RESERVED_8;
+ }
+ private static final int H5T_STR_RESERVED_9 = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_9 = 9
+ * }
+ */
+ public static int H5T_STR_RESERVED_9() {
+ return H5T_STR_RESERVED_9;
+ }
+ private static final int H5T_STR_RESERVED_10 = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_10 = 10
+ * }
+ */
+ public static int H5T_STR_RESERVED_10() {
+ return H5T_STR_RESERVED_10;
+ }
+ private static final int H5T_STR_RESERVED_11 = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_11 = 11
+ * }
+ */
+ public static int H5T_STR_RESERVED_11() {
+ return H5T_STR_RESERVED_11;
+ }
+ private static final int H5T_STR_RESERVED_12 = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_12 = 12
+ * }
+ */
+ public static int H5T_STR_RESERVED_12() {
+ return H5T_STR_RESERVED_12;
+ }
+ private static final int H5T_STR_RESERVED_13 = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_13 = 13
+ * }
+ */
+ public static int H5T_STR_RESERVED_13() {
+ return H5T_STR_RESERVED_13;
+ }
+ private static final int H5T_STR_RESERVED_14 = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_14 = 14
+ * }
+ */
+ public static int H5T_STR_RESERVED_14() {
+ return H5T_STR_RESERVED_14;
+ }
+ private static final int H5T_STR_RESERVED_15 = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_15 = 15
+ * }
+ */
+ public static int H5T_STR_RESERVED_15() {
+ return H5T_STR_RESERVED_15;
+ }
+ private static final int H5T_PAD_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_ERROR = -1
+ * }
+ */
+ public static int H5T_PAD_ERROR() {
+ return H5T_PAD_ERROR;
+ }
+ private static final int H5T_PAD_ZERO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_ZERO = 0
+ * }
+ */
+ public static int H5T_PAD_ZERO() {
+ return H5T_PAD_ZERO;
+ }
+ private static final int H5T_PAD_ONE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_ONE = 1
+ * }
+ */
+ public static int H5T_PAD_ONE() {
+ return H5T_PAD_ONE;
+ }
+ private static final int H5T_PAD_BACKGROUND = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_BACKGROUND = 2
+ * }
+ */
+ public static int H5T_PAD_BACKGROUND() {
+ return H5T_PAD_BACKGROUND;
+ }
+ private static final int H5T_NPAD = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_NPAD = 3
+ * }
+ */
+ public static int H5T_NPAD() {
+ return H5T_NPAD;
+ }
+ private static final int H5T_DIR_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_direction_t.H5T_DIR_DEFAULT = 0
+ * }
+ */
+ public static int H5T_DIR_DEFAULT() {
+ return H5T_DIR_DEFAULT;
+ }
+ private static final int H5T_DIR_ASCEND = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_direction_t.H5T_DIR_ASCEND = 1
+ * }
+ */
+ public static int H5T_DIR_ASCEND() {
+ return H5T_DIR_ASCEND;
+ }
+ private static final int H5T_DIR_DESCEND = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_direction_t.H5T_DIR_DESCEND = 2
+ * }
+ */
+ public static int H5T_DIR_DESCEND() {
+ return H5T_DIR_DESCEND;
+ }
+ private static final int H5T_CONV_EXCEPT_RANGE_HI = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_RANGE_HI = 0
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_RANGE_HI() {
+ return H5T_CONV_EXCEPT_RANGE_HI;
+ }
+ private static final int H5T_CONV_EXCEPT_RANGE_LOW = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_RANGE_LOW = 1
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_RANGE_LOW() {
+ return H5T_CONV_EXCEPT_RANGE_LOW;
+ }
+ private static final int H5T_CONV_EXCEPT_PRECISION = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_PRECISION = 2
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_PRECISION() {
+ return H5T_CONV_EXCEPT_PRECISION;
+ }
+ private static final int H5T_CONV_EXCEPT_TRUNCATE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_TRUNCATE = 3
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_TRUNCATE() {
+ return H5T_CONV_EXCEPT_TRUNCATE;
+ }
+ private static final int H5T_CONV_EXCEPT_PINF = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_PINF = 4
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_PINF() {
+ return H5T_CONV_EXCEPT_PINF;
+ }
+ private static final int H5T_CONV_EXCEPT_NINF = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_NINF = 5
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_NINF() {
+ return H5T_CONV_EXCEPT_NINF;
+ }
+ private static final int H5T_CONV_EXCEPT_NAN = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_NAN = 6
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_NAN() {
+ return H5T_CONV_EXCEPT_NAN;
+ }
+ private static final int H5T_CONV_ABORT = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_ret_t.H5T_CONV_ABORT = -1
+ * }
+ */
+ public static int H5T_CONV_ABORT() {
+ return H5T_CONV_ABORT;
+ }
+ private static final int H5T_CONV_UNHANDLED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_ret_t.H5T_CONV_UNHANDLED = 0
+ * }
+ */
+ public static int H5T_CONV_UNHANDLED() {
+ return H5T_CONV_UNHANDLED;
+ }
+ private static final int H5T_CONV_HANDLED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_ret_t.H5T_CONV_HANDLED = 1
+ * }
+ */
+ public static int H5T_CONV_HANDLED() {
+ return H5T_CONV_HANDLED;
+ }
+
+ private static class H5T_IEEE_F16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_IEEE_F16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F16BE_g$layout() {
+ return H5T_IEEE_F16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F16BE_g$segment() {
+ return H5T_IEEE_F16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static long H5T_IEEE_F16BE_g() {
+ return H5T_IEEE_F16BE_g$constants.SEGMENT.get(H5T_IEEE_F16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static void H5T_IEEE_F16BE_g(long varValue) {
+ H5T_IEEE_F16BE_g$constants.SEGMENT.set(H5T_IEEE_F16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_IEEE_F16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F16LE_g$layout() {
+ return H5T_IEEE_F16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F16LE_g$segment() {
+ return H5T_IEEE_F16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static long H5T_IEEE_F16LE_g() {
+ return H5T_IEEE_F16LE_g$constants.SEGMENT.get(H5T_IEEE_F16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static void H5T_IEEE_F16LE_g(long varValue) {
+ H5T_IEEE_F16LE_g$constants.SEGMENT.set(H5T_IEEE_F16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_IEEE_F32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F32BE_g$layout() {
+ return H5T_IEEE_F32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F32BE_g$segment() {
+ return H5T_IEEE_F32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static long H5T_IEEE_F32BE_g() {
+ return H5T_IEEE_F32BE_g$constants.SEGMENT.get(H5T_IEEE_F32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static void H5T_IEEE_F32BE_g(long varValue) {
+ H5T_IEEE_F32BE_g$constants.SEGMENT.set(H5T_IEEE_F32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_IEEE_F32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F32LE_g$layout() {
+ return H5T_IEEE_F32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F32LE_g$segment() {
+ return H5T_IEEE_F32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static long H5T_IEEE_F32LE_g() {
+ return H5T_IEEE_F32LE_g$constants.SEGMENT.get(H5T_IEEE_F32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static void H5T_IEEE_F32LE_g(long varValue) {
+ H5T_IEEE_F32LE_g$constants.SEGMENT.set(H5T_IEEE_F32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_IEEE_F64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F64BE_g$layout() {
+ return H5T_IEEE_F64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F64BE_g$segment() {
+ return H5T_IEEE_F64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static long H5T_IEEE_F64BE_g() {
+ return H5T_IEEE_F64BE_g$constants.SEGMENT.get(H5T_IEEE_F64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static void H5T_IEEE_F64BE_g(long varValue) {
+ H5T_IEEE_F64BE_g$constants.SEGMENT.set(H5T_IEEE_F64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_IEEE_F64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F64LE_g$layout() {
+ return H5T_IEEE_F64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F64LE_g$segment() {
+ return H5T_IEEE_F64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static long H5T_IEEE_F64LE_g() {
+ return H5T_IEEE_F64LE_g$constants.SEGMENT.get(H5T_IEEE_F64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static void H5T_IEEE_F64LE_g(long varValue) {
+ H5T_IEEE_F64LE_g$constants.SEGMENT.set(H5T_IEEE_F64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_FLOAT_BFLOAT16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_FLOAT_BFLOAT16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static OfLong H5T_FLOAT_BFLOAT16BE_g$layout() {
+ return H5T_FLOAT_BFLOAT16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static MemorySegment H5T_FLOAT_BFLOAT16BE_g$segment() {
+ return H5T_FLOAT_BFLOAT16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static long H5T_FLOAT_BFLOAT16BE_g() {
+ return H5T_FLOAT_BFLOAT16BE_g$constants.SEGMENT.get(H5T_FLOAT_BFLOAT16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static void H5T_FLOAT_BFLOAT16BE_g(long varValue) {
+ H5T_FLOAT_BFLOAT16BE_g$constants.SEGMENT.set(H5T_FLOAT_BFLOAT16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_FLOAT_BFLOAT16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_FLOAT_BFLOAT16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static OfLong H5T_FLOAT_BFLOAT16LE_g$layout() {
+ return H5T_FLOAT_BFLOAT16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static MemorySegment H5T_FLOAT_BFLOAT16LE_g$segment() {
+ return H5T_FLOAT_BFLOAT16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static long H5T_FLOAT_BFLOAT16LE_g() {
+ return H5T_FLOAT_BFLOAT16LE_g$constants.SEGMENT.get(H5T_FLOAT_BFLOAT16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static void H5T_FLOAT_BFLOAT16LE_g(long varValue) {
+ H5T_FLOAT_BFLOAT16LE_g$constants.SEGMENT.set(H5T_FLOAT_BFLOAT16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F16BE_g$layout() {
+ return H5T_COMPLEX_IEEE_F16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F16BE_g$segment() {
+ return H5T_COMPLEX_IEEE_F16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F16BE_g() {
+ return H5T_COMPLEX_IEEE_F16BE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F16BE_g(long varValue) {
+ H5T_COMPLEX_IEEE_F16BE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F16LE_g$layout() {
+ return H5T_COMPLEX_IEEE_F16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F16LE_g$segment() {
+ return H5T_COMPLEX_IEEE_F16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F16LE_g() {
+ return H5T_COMPLEX_IEEE_F16LE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F16LE_g(long varValue) {
+ H5T_COMPLEX_IEEE_F16LE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F32BE_g$layout() {
+ return H5T_COMPLEX_IEEE_F32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F32BE_g$segment() {
+ return H5T_COMPLEX_IEEE_F32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F32BE_g() {
+ return H5T_COMPLEX_IEEE_F32BE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F32BE_g(long varValue) {
+ H5T_COMPLEX_IEEE_F32BE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F32LE_g$layout() {
+ return H5T_COMPLEX_IEEE_F32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F32LE_g$segment() {
+ return H5T_COMPLEX_IEEE_F32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F32LE_g() {
+ return H5T_COMPLEX_IEEE_F32LE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F32LE_g(long varValue) {
+ H5T_COMPLEX_IEEE_F32LE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F64BE_g$layout() {
+ return H5T_COMPLEX_IEEE_F64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F64BE_g$segment() {
+ return H5T_COMPLEX_IEEE_F64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F64BE_g() {
+ return H5T_COMPLEX_IEEE_F64BE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F64BE_g(long varValue) {
+ H5T_COMPLEX_IEEE_F64BE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F64LE_g$layout() {
+ return H5T_COMPLEX_IEEE_F64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F64LE_g$segment() {
+ return H5T_COMPLEX_IEEE_F64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F64LE_g() {
+ return H5T_COMPLEX_IEEE_F64LE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F64LE_g(long varValue) {
+ H5T_COMPLEX_IEEE_F64LE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I8BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I8BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I8BE_g$layout() {
+ return H5T_STD_I8BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I8BE_g$segment() {
+ return H5T_STD_I8BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static long H5T_STD_I8BE_g() {
+ return H5T_STD_I8BE_g$constants.SEGMENT.get(H5T_STD_I8BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static void H5T_STD_I8BE_g(long varValue) {
+ H5T_STD_I8BE_g$constants.SEGMENT.set(H5T_STD_I8BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I8LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I8LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I8LE_g$layout() {
+ return H5T_STD_I8LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I8LE_g$segment() {
+ return H5T_STD_I8LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static long H5T_STD_I8LE_g() {
+ return H5T_STD_I8LE_g$constants.SEGMENT.get(H5T_STD_I8LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static void H5T_STD_I8LE_g(long varValue) {
+ H5T_STD_I8LE_g$constants.SEGMENT.set(H5T_STD_I8LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I16BE_g$layout() {
+ return H5T_STD_I16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I16BE_g$segment() {
+ return H5T_STD_I16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static long H5T_STD_I16BE_g() {
+ return H5T_STD_I16BE_g$constants.SEGMENT.get(H5T_STD_I16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static void H5T_STD_I16BE_g(long varValue) {
+ H5T_STD_I16BE_g$constants.SEGMENT.set(H5T_STD_I16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I16LE_g$layout() {
+ return H5T_STD_I16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I16LE_g$segment() {
+ return H5T_STD_I16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static long H5T_STD_I16LE_g() {
+ return H5T_STD_I16LE_g$constants.SEGMENT.get(H5T_STD_I16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static void H5T_STD_I16LE_g(long varValue) {
+ H5T_STD_I16LE_g$constants.SEGMENT.set(H5T_STD_I16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I32BE_g$layout() {
+ return H5T_STD_I32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I32BE_g$segment() {
+ return H5T_STD_I32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static long H5T_STD_I32BE_g() {
+ return H5T_STD_I32BE_g$constants.SEGMENT.get(H5T_STD_I32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static void H5T_STD_I32BE_g(long varValue) {
+ H5T_STD_I32BE_g$constants.SEGMENT.set(H5T_STD_I32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I32LE_g$layout() {
+ return H5T_STD_I32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I32LE_g$segment() {
+ return H5T_STD_I32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static long H5T_STD_I32LE_g() {
+ return H5T_STD_I32LE_g$constants.SEGMENT.get(H5T_STD_I32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static void H5T_STD_I32LE_g(long varValue) {
+ H5T_STD_I32LE_g$constants.SEGMENT.set(H5T_STD_I32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I64BE_g$layout() {
+ return H5T_STD_I64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I64BE_g$segment() {
+ return H5T_STD_I64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static long H5T_STD_I64BE_g() {
+ return H5T_STD_I64BE_g$constants.SEGMENT.get(H5T_STD_I64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static void H5T_STD_I64BE_g(long varValue) {
+ H5T_STD_I64BE_g$constants.SEGMENT.set(H5T_STD_I64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I64LE_g$layout() {
+ return H5T_STD_I64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I64LE_g$segment() {
+ return H5T_STD_I64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static long H5T_STD_I64LE_g() {
+ return H5T_STD_I64LE_g$constants.SEGMENT.get(H5T_STD_I64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static void H5T_STD_I64LE_g(long varValue) {
+ H5T_STD_I64LE_g$constants.SEGMENT.set(H5T_STD_I64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U8BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U8BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U8BE_g$layout() {
+ return H5T_STD_U8BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U8BE_g$segment() {
+ return H5T_STD_U8BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static long H5T_STD_U8BE_g() {
+ return H5T_STD_U8BE_g$constants.SEGMENT.get(H5T_STD_U8BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static void H5T_STD_U8BE_g(long varValue) {
+ H5T_STD_U8BE_g$constants.SEGMENT.set(H5T_STD_U8BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U8LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U8LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U8LE_g$layout() {
+ return H5T_STD_U8LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U8LE_g$segment() {
+ return H5T_STD_U8LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static long H5T_STD_U8LE_g() {
+ return H5T_STD_U8LE_g$constants.SEGMENT.get(H5T_STD_U8LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static void H5T_STD_U8LE_g(long varValue) {
+ H5T_STD_U8LE_g$constants.SEGMENT.set(H5T_STD_U8LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U16BE_g$layout() {
+ return H5T_STD_U16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U16BE_g$segment() {
+ return H5T_STD_U16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static long H5T_STD_U16BE_g() {
+ return H5T_STD_U16BE_g$constants.SEGMENT.get(H5T_STD_U16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static void H5T_STD_U16BE_g(long varValue) {
+ H5T_STD_U16BE_g$constants.SEGMENT.set(H5T_STD_U16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U16LE_g$layout() {
+ return H5T_STD_U16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U16LE_g$segment() {
+ return H5T_STD_U16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static long H5T_STD_U16LE_g() {
+ return H5T_STD_U16LE_g$constants.SEGMENT.get(H5T_STD_U16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static void H5T_STD_U16LE_g(long varValue) {
+ H5T_STD_U16LE_g$constants.SEGMENT.set(H5T_STD_U16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U32BE_g$layout() {
+ return H5T_STD_U32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U32BE_g$segment() {
+ return H5T_STD_U32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static long H5T_STD_U32BE_g() {
+ return H5T_STD_U32BE_g$constants.SEGMENT.get(H5T_STD_U32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static void H5T_STD_U32BE_g(long varValue) {
+ H5T_STD_U32BE_g$constants.SEGMENT.set(H5T_STD_U32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U32LE_g$layout() {
+ return H5T_STD_U32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U32LE_g$segment() {
+ return H5T_STD_U32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static long H5T_STD_U32LE_g() {
+ return H5T_STD_U32LE_g$constants.SEGMENT.get(H5T_STD_U32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static void H5T_STD_U32LE_g(long varValue) {
+ H5T_STD_U32LE_g$constants.SEGMENT.set(H5T_STD_U32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U64BE_g$layout() {
+ return H5T_STD_U64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U64BE_g$segment() {
+ return H5T_STD_U64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static long H5T_STD_U64BE_g() {
+ return H5T_STD_U64BE_g$constants.SEGMENT.get(H5T_STD_U64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static void H5T_STD_U64BE_g(long varValue) {
+ H5T_STD_U64BE_g$constants.SEGMENT.set(H5T_STD_U64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U64LE_g$layout() {
+ return H5T_STD_U64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U64LE_g$segment() {
+ return H5T_STD_U64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static long H5T_STD_U64LE_g() {
+ return H5T_STD_U64LE_g$constants.SEGMENT.get(H5T_STD_U64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static void H5T_STD_U64LE_g(long varValue) {
+ H5T_STD_U64LE_g$constants.SEGMENT.set(H5T_STD_U64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B8BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B8BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B8BE_g$layout() {
+ return H5T_STD_B8BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B8BE_g$segment() {
+ return H5T_STD_B8BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static long H5T_STD_B8BE_g() {
+ return H5T_STD_B8BE_g$constants.SEGMENT.get(H5T_STD_B8BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static void H5T_STD_B8BE_g(long varValue) {
+ H5T_STD_B8BE_g$constants.SEGMENT.set(H5T_STD_B8BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B8LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B8LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B8LE_g$layout() {
+ return H5T_STD_B8LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B8LE_g$segment() {
+ return H5T_STD_B8LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static long H5T_STD_B8LE_g() {
+ return H5T_STD_B8LE_g$constants.SEGMENT.get(H5T_STD_B8LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static void H5T_STD_B8LE_g(long varValue) {
+ H5T_STD_B8LE_g$constants.SEGMENT.set(H5T_STD_B8LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B16BE_g$layout() {
+ return H5T_STD_B16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B16BE_g$segment() {
+ return H5T_STD_B16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static long H5T_STD_B16BE_g() {
+ return H5T_STD_B16BE_g$constants.SEGMENT.get(H5T_STD_B16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static void H5T_STD_B16BE_g(long varValue) {
+ H5T_STD_B16BE_g$constants.SEGMENT.set(H5T_STD_B16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B16LE_g$layout() {
+ return H5T_STD_B16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B16LE_g$segment() {
+ return H5T_STD_B16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static long H5T_STD_B16LE_g() {
+ return H5T_STD_B16LE_g$constants.SEGMENT.get(H5T_STD_B16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static void H5T_STD_B16LE_g(long varValue) {
+ H5T_STD_B16LE_g$constants.SEGMENT.set(H5T_STD_B16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B32BE_g$layout() {
+ return H5T_STD_B32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B32BE_g$segment() {
+ return H5T_STD_B32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static long H5T_STD_B32BE_g() {
+ return H5T_STD_B32BE_g$constants.SEGMENT.get(H5T_STD_B32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static void H5T_STD_B32BE_g(long varValue) {
+ H5T_STD_B32BE_g$constants.SEGMENT.set(H5T_STD_B32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B32LE_g$layout() {
+ return H5T_STD_B32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B32LE_g$segment() {
+ return H5T_STD_B32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static long H5T_STD_B32LE_g() {
+ return H5T_STD_B32LE_g$constants.SEGMENT.get(H5T_STD_B32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static void H5T_STD_B32LE_g(long varValue) {
+ H5T_STD_B32LE_g$constants.SEGMENT.set(H5T_STD_B32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B64BE_g$layout() {
+ return H5T_STD_B64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B64BE_g$segment() {
+ return H5T_STD_B64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static long H5T_STD_B64BE_g() {
+ return H5T_STD_B64BE_g$constants.SEGMENT.get(H5T_STD_B64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static void H5T_STD_B64BE_g(long varValue) {
+ H5T_STD_B64BE_g$constants.SEGMENT.set(H5T_STD_B64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B64LE_g$layout() {
+ return H5T_STD_B64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B64LE_g$segment() {
+ return H5T_STD_B64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static long H5T_STD_B64LE_g() {
+ return H5T_STD_B64LE_g$constants.SEGMENT.get(H5T_STD_B64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static void H5T_STD_B64LE_g(long varValue) {
+ H5T_STD_B64LE_g$constants.SEGMENT.set(H5T_STD_B64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_REF_OBJ_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_REF_OBJ_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static OfLong H5T_STD_REF_OBJ_g$layout() {
+ return H5T_STD_REF_OBJ_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static MemorySegment H5T_STD_REF_OBJ_g$segment() {
+ return H5T_STD_REF_OBJ_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static long H5T_STD_REF_OBJ_g() {
+ return H5T_STD_REF_OBJ_g$constants.SEGMENT.get(H5T_STD_REF_OBJ_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static void H5T_STD_REF_OBJ_g(long varValue) {
+ H5T_STD_REF_OBJ_g$constants.SEGMENT.set(H5T_STD_REF_OBJ_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_REF_DSETREG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_REF_DSETREG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static OfLong H5T_STD_REF_DSETREG_g$layout() {
+ return H5T_STD_REF_DSETREG_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static MemorySegment H5T_STD_REF_DSETREG_g$segment() {
+ return H5T_STD_REF_DSETREG_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static long H5T_STD_REF_DSETREG_g() {
+ return H5T_STD_REF_DSETREG_g$constants.SEGMENT.get(H5T_STD_REF_DSETREG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static void H5T_STD_REF_DSETREG_g(long varValue) {
+ H5T_STD_REF_DSETREG_g$constants.SEGMENT.set(H5T_STD_REF_DSETREG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_REF_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_REF_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static OfLong H5T_STD_REF_g$layout() {
+ return H5T_STD_REF_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static MemorySegment H5T_STD_REF_g$segment() {
+ return H5T_STD_REF_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static long H5T_STD_REF_g() {
+ return H5T_STD_REF_g$constants.SEGMENT.get(H5T_STD_REF_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static void H5T_STD_REF_g(long varValue) {
+ H5T_STD_REF_g$constants.SEGMENT.set(H5T_STD_REF_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_UNIX_D32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D32BE_g$layout() {
+ return H5T_UNIX_D32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D32BE_g$segment() {
+ return H5T_UNIX_D32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static long H5T_UNIX_D32BE_g() {
+ return H5T_UNIX_D32BE_g$constants.SEGMENT.get(H5T_UNIX_D32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static void H5T_UNIX_D32BE_g(long varValue) {
+ H5T_UNIX_D32BE_g$constants.SEGMENT.set(H5T_UNIX_D32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_UNIX_D32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D32LE_g$layout() {
+ return H5T_UNIX_D32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D32LE_g$segment() {
+ return H5T_UNIX_D32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static long H5T_UNIX_D32LE_g() {
+ return H5T_UNIX_D32LE_g$constants.SEGMENT.get(H5T_UNIX_D32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static void H5T_UNIX_D32LE_g(long varValue) {
+ H5T_UNIX_D32LE_g$constants.SEGMENT.set(H5T_UNIX_D32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_UNIX_D64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D64BE_g$layout() {
+ return H5T_UNIX_D64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D64BE_g$segment() {
+ return H5T_UNIX_D64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static long H5T_UNIX_D64BE_g() {
+ return H5T_UNIX_D64BE_g$constants.SEGMENT.get(H5T_UNIX_D64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static void H5T_UNIX_D64BE_g(long varValue) {
+ H5T_UNIX_D64BE_g$constants.SEGMENT.set(H5T_UNIX_D64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_UNIX_D64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D64LE_g$layout() {
+ return H5T_UNIX_D64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D64LE_g$segment() {
+ return H5T_UNIX_D64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static long H5T_UNIX_D64LE_g() {
+ return H5T_UNIX_D64LE_g$constants.SEGMENT.get(H5T_UNIX_D64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static void H5T_UNIX_D64LE_g(long varValue) {
+ H5T_UNIX_D64LE_g$constants.SEGMENT.set(H5T_UNIX_D64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_C_S1_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_C_S1_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static OfLong H5T_C_S1_g$layout() {
+ return H5T_C_S1_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static MemorySegment H5T_C_S1_g$segment() {
+ return H5T_C_S1_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static long H5T_C_S1_g() {
+ return H5T_C_S1_g$constants.SEGMENT.get(H5T_C_S1_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static void H5T_C_S1_g(long varValue) {
+ H5T_C_S1_g$constants.SEGMENT.set(H5T_C_S1_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_FORTRAN_S1_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_FORTRAN_S1_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static OfLong H5T_FORTRAN_S1_g$layout() {
+ return H5T_FORTRAN_S1_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static MemorySegment H5T_FORTRAN_S1_g$segment() {
+ return H5T_FORTRAN_S1_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static long H5T_FORTRAN_S1_g() {
+ return H5T_FORTRAN_S1_g$constants.SEGMENT.get(H5T_FORTRAN_S1_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static void H5T_FORTRAN_S1_g(long varValue) {
+ H5T_FORTRAN_S1_g$constants.SEGMENT.set(H5T_FORTRAN_S1_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_VAX_F32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_VAX_F32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static OfLong H5T_VAX_F32_g$layout() {
+ return H5T_VAX_F32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static MemorySegment H5T_VAX_F32_g$segment() {
+ return H5T_VAX_F32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static long H5T_VAX_F32_g() {
+ return H5T_VAX_F32_g$constants.SEGMENT.get(H5T_VAX_F32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static void H5T_VAX_F32_g(long varValue) {
+ H5T_VAX_F32_g$constants.SEGMENT.set(H5T_VAX_F32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_VAX_F64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_VAX_F64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static OfLong H5T_VAX_F64_g$layout() {
+ return H5T_VAX_F64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static MemorySegment H5T_VAX_F64_g$segment() {
+ return H5T_VAX_F64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static long H5T_VAX_F64_g() {
+ return H5T_VAX_F64_g$constants.SEGMENT.get(H5T_VAX_F64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static void H5T_VAX_F64_g(long varValue) {
+ H5T_VAX_F64_g$constants.SEGMENT.set(H5T_VAX_F64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_SCHAR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_SCHAR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_SCHAR_g$layout() {
+ return H5T_NATIVE_SCHAR_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_SCHAR_g$segment() {
+ return H5T_NATIVE_SCHAR_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static long H5T_NATIVE_SCHAR_g() {
+ return H5T_NATIVE_SCHAR_g$constants.SEGMENT.get(H5T_NATIVE_SCHAR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static void H5T_NATIVE_SCHAR_g(long varValue) {
+ H5T_NATIVE_SCHAR_g$constants.SEGMENT.set(H5T_NATIVE_SCHAR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UCHAR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_UCHAR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UCHAR_g$layout() {
+ return H5T_NATIVE_UCHAR_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UCHAR_g$segment() {
+ return H5T_NATIVE_UCHAR_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static long H5T_NATIVE_UCHAR_g() {
+ return H5T_NATIVE_UCHAR_g$constants.SEGMENT.get(H5T_NATIVE_UCHAR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static void H5T_NATIVE_UCHAR_g(long varValue) {
+ H5T_NATIVE_UCHAR_g$constants.SEGMENT.set(H5T_NATIVE_UCHAR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_SHORT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_SHORT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_SHORT_g$layout() {
+ return H5T_NATIVE_SHORT_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_SHORT_g$segment() {
+ return H5T_NATIVE_SHORT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static long H5T_NATIVE_SHORT_g() {
+ return H5T_NATIVE_SHORT_g$constants.SEGMENT.get(H5T_NATIVE_SHORT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static void H5T_NATIVE_SHORT_g(long varValue) {
+ H5T_NATIVE_SHORT_g$constants.SEGMENT.set(H5T_NATIVE_SHORT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_USHORT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_USHORT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_USHORT_g$layout() {
+ return H5T_NATIVE_USHORT_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_USHORT_g$segment() {
+ return H5T_NATIVE_USHORT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static long H5T_NATIVE_USHORT_g() {
+ return H5T_NATIVE_USHORT_g$constants.SEGMENT.get(H5T_NATIVE_USHORT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static void H5T_NATIVE_USHORT_g(long varValue) {
+ H5T_NATIVE_USHORT_g$constants.SEGMENT.set(H5T_NATIVE_USHORT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_INT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_g$layout() {
+ return H5T_NATIVE_INT_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_g$segment() {
+ return H5T_NATIVE_INT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_g() {
+ return H5T_NATIVE_INT_g$constants.SEGMENT.get(H5T_NATIVE_INT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_g(long varValue) {
+ H5T_NATIVE_INT_g$constants.SEGMENT.set(H5T_NATIVE_INT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_UINT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_g$layout() {
+ return H5T_NATIVE_UINT_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_g$segment() {
+ return H5T_NATIVE_UINT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_g() {
+ return H5T_NATIVE_UINT_g$constants.SEGMENT.get(H5T_NATIVE_UINT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_g(long varValue) {
+ H5T_NATIVE_UINT_g$constants.SEGMENT.set(H5T_NATIVE_UINT_g$constants.LAYOUT, 0L, varValue);
+ }
+}
diff --git a/java/jsrc/features/plain/macos/hdf5_h.java b/java/jsrc/features/plain/macos/hdf5_h.java
new file mode 100644
index 00000000000..cd60c94e349
--- /dev/null
+++ b/java/jsrc/features/plain/macos/hdf5_h.java
@@ -0,0 +1,2428 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h extends hdf5_h_1 {
+
+ hdf5_h()
+ {
+ // Should not be called directly
+ }
+ private static final int MAC_OS_VERSION_14_3 = (int)140300L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_14_3 140300
+ * }
+ */
+ public static int MAC_OS_VERSION_14_3() { return MAC_OS_VERSION_14_3; }
+ private static final int MAC_OS_VERSION_14_4 = (int)140400L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_14_4 140400
+ * }
+ */
+ public static int MAC_OS_VERSION_14_4() { return MAC_OS_VERSION_14_4; }
+ private static final int MAC_OS_VERSION_14_5 = (int)140500L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_14_5 140500
+ * }
+ */
+ public static int MAC_OS_VERSION_14_5() { return MAC_OS_VERSION_14_5; }
+ private static final int MAC_OS_VERSION_14_6 = (int)140600L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_14_6 140600
+ * }
+ */
+ public static int MAC_OS_VERSION_14_6() { return MAC_OS_VERSION_14_6; }
+ private static final int MAC_OS_VERSION_14_7 = (int)140700L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_14_7 140700
+ * }
+ */
+ public static int MAC_OS_VERSION_14_7() { return MAC_OS_VERSION_14_7; }
+ private static final int MAC_OS_VERSION_15_0 = (int)150000L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_15_0 150000
+ * }
+ */
+ public static int MAC_OS_VERSION_15_0() { return MAC_OS_VERSION_15_0; }
+ private static final int MAC_OS_VERSION_15_1 = (int)150100L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_15_1 150100
+ * }
+ */
+ public static int MAC_OS_VERSION_15_1() { return MAC_OS_VERSION_15_1; }
+ private static final int MAC_OS_VERSION_15_2 = (int)150200L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_15_2 150200
+ * }
+ */
+ public static int MAC_OS_VERSION_15_2() { return MAC_OS_VERSION_15_2; }
+ private static final int MAC_OS_VERSION_15_3 = (int)150300L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_15_3 150300
+ * }
+ */
+ public static int MAC_OS_VERSION_15_3() { return MAC_OS_VERSION_15_3; }
+ private static final int MAC_OS_VERSION_15_4 = (int)150400L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_15_4 150400
+ * }
+ */
+ public static int MAC_OS_VERSION_15_4() { return MAC_OS_VERSION_15_4; }
+ private static final int MAC_OS_VERSION_15_5 = (int)150500L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_15_5 150500
+ * }
+ */
+ public static int MAC_OS_VERSION_15_5() { return MAC_OS_VERSION_15_5; }
+ private static final int __AVAILABILITY_VERSIONS_VERSION_HASH = (int)93585900L;
+ /**
+ * {@snippet lang=c :
+ * #define __AVAILABILITY_VERSIONS_VERSION_HASH 93585900
+ * }
+ */
+ public static int __AVAILABILITY_VERSIONS_VERSION_HASH() { return __AVAILABILITY_VERSIONS_VERSION_HASH; }
+ /**
+ * {@snippet lang=c :
+ * #define __AVAILABILITY_VERSIONS_VERSION_STRING "Local"
+ * }
+ */
+ public static MemorySegment __AVAILABILITY_VERSIONS_VERSION_STRING()
+ {
+ class Holder {
+ static final MemorySegment __AVAILABILITY_VERSIONS_VERSION_STRING =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("Local");
+ }
+ return Holder.__AVAILABILITY_VERSIONS_VERSION_STRING;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __AVAILABILITY_FILE "AvailabilityVersions.h"
+ * }
+ */
+ public static MemorySegment __AVAILABILITY_FILE()
+ {
+ class Holder {
+ static final MemorySegment __AVAILABILITY_FILE =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("AvailabilityVersions.h");
+ }
+ return Holder.__AVAILABILITY_FILE;
+ }
+ private static final int __MAC_OS_X_VERSION_MAX_ALLOWED = (int)150500L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_OS_X_VERSION_MAX_ALLOWED 150500
+ * }
+ */
+ public static int __MAC_OS_X_VERSION_MAX_ALLOWED() { return __MAC_OS_X_VERSION_MAX_ALLOWED; }
+ private static final MemorySegment __DARWIN_NULL = MemorySegment.ofAddress(0L);
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_NULL (void*) 0
+ * }
+ */
+ public static MemorySegment __DARWIN_NULL() { return __DARWIN_NULL; }
+ private static final int __DARWIN_WCHAR_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_WCHAR_MAX 2147483647
+ * }
+ */
+ public static int __DARWIN_WCHAR_MAX() { return __DARWIN_WCHAR_MAX; }
+ private static final int __DARWIN_WCHAR_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_WCHAR_MIN -2147483648
+ * }
+ */
+ public static int __DARWIN_WCHAR_MIN() { return __DARWIN_WCHAR_MIN; }
+ private static final int __DARWIN_WEOF = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_WEOF -1
+ * }
+ */
+ public static int __DARWIN_WEOF() { return __DARWIN_WEOF; }
+ private static final long INT64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT64_MAX 9223372036854775807
+ * }
+ */
+ public static long INT64_MAX() { return INT64_MAX; }
+ private static final int INT8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define INT8_MIN -128
+ * }
+ */
+ public static int INT8_MIN() { return INT8_MIN; }
+ private static final int INT16_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define INT16_MIN -32768
+ * }
+ */
+ public static int INT16_MIN() { return INT16_MIN; }
+ private static final int INT32_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT32_MIN -2147483648
+ * }
+ */
+ public static int INT32_MIN() { return INT32_MIN; }
+ private static final long INT64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT64_MIN -9223372036854775808
+ * }
+ */
+ public static long INT64_MIN() { return INT64_MIN; }
+ private static final int UINT32_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT32_MAX 4294967295
+ * }
+ */
+ public static int UINT32_MAX() { return UINT32_MAX; }
+ private static final long UINT64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT64_MAX -1
+ * }
+ */
+ public static long UINT64_MAX() { return UINT64_MAX; }
+ private static final int INT_LEAST8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST8_MIN -128
+ * }
+ */
+ public static int INT_LEAST8_MIN() { return INT_LEAST8_MIN; }
+ private static final int INT_LEAST16_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST16_MIN -32768
+ * }
+ */
+ public static int INT_LEAST16_MIN() { return INT_LEAST16_MIN; }
+ private static final int INT_LEAST32_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST32_MIN -2147483648
+ * }
+ */
+ public static int INT_LEAST32_MIN() { return INT_LEAST32_MIN; }
+ private static final long INT_LEAST64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST64_MIN -9223372036854775808
+ * }
+ */
+ public static long INT_LEAST64_MIN() { return INT_LEAST64_MIN; }
+ private static final int INT_LEAST8_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST8_MAX 127
+ * }
+ */
+ public static int INT_LEAST8_MAX() { return INT_LEAST8_MAX; }
+ private static final int INT_LEAST16_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST16_MAX 32767
+ * }
+ */
+ public static int INT_LEAST16_MAX() { return INT_LEAST16_MAX; }
+ private static final int INT_LEAST32_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST32_MAX 2147483647
+ * }
+ */
+ public static int INT_LEAST32_MAX() { return INT_LEAST32_MAX; }
+ private static final long INT_LEAST64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST64_MAX 9223372036854775807
+ * }
+ */
+ public static long INT_LEAST64_MAX() { return INT_LEAST64_MAX; }
+ private static final int UINT_LEAST8_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST8_MAX 255
+ * }
+ */
+ public static int UINT_LEAST8_MAX() { return UINT_LEAST8_MAX; }
+ private static final int UINT_LEAST16_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST16_MAX 65535
+ * }
+ */
+ public static int UINT_LEAST16_MAX() { return UINT_LEAST16_MAX; }
+ private static final int UINT_LEAST32_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST32_MAX 4294967295
+ * }
+ */
+ public static int UINT_LEAST32_MAX() { return UINT_LEAST32_MAX; }
+ private static final long UINT_LEAST64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST64_MAX -1
+ * }
+ */
+ public static long UINT_LEAST64_MAX() { return UINT_LEAST64_MAX; }
+ private static final int INT_FAST8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST8_MIN -128
+ * }
+ */
+ public static int INT_FAST8_MIN() { return INT_FAST8_MIN; }
+ private static final int INT_FAST16_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST16_MIN -32768
+ * }
+ */
+ public static int INT_FAST16_MIN() { return INT_FAST16_MIN; }
+ private static final int INT_FAST32_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST32_MIN -2147483648
+ * }
+ */
+ public static int INT_FAST32_MIN() { return INT_FAST32_MIN; }
+ private static final long INT_FAST64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST64_MIN -9223372036854775808
+ * }
+ */
+ public static long INT_FAST64_MIN() { return INT_FAST64_MIN; }
+ private static final int INT_FAST8_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST8_MAX 127
+ * }
+ */
+ public static int INT_FAST8_MAX() { return INT_FAST8_MAX; }
+ private static final int INT_FAST16_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST16_MAX 32767
+ * }
+ */
+ public static int INT_FAST16_MAX() { return INT_FAST16_MAX; }
+ private static final int INT_FAST32_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST32_MAX 2147483647
+ * }
+ */
+ public static int INT_FAST32_MAX() { return INT_FAST32_MAX; }
+ private static final long INT_FAST64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST64_MAX 9223372036854775807
+ * }
+ */
+ public static long INT_FAST64_MAX() { return INT_FAST64_MAX; }
+ private static final int UINT_FAST8_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST8_MAX 255
+ * }
+ */
+ public static int UINT_FAST8_MAX() { return UINT_FAST8_MAX; }
+ private static final int UINT_FAST16_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST16_MAX 65535
+ * }
+ */
+ public static int UINT_FAST16_MAX() { return UINT_FAST16_MAX; }
+ private static final int UINT_FAST32_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST32_MAX 4294967295
+ * }
+ */
+ public static int UINT_FAST32_MAX() { return UINT_FAST32_MAX; }
+ private static final long UINT_FAST64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST64_MAX -1
+ * }
+ */
+ public static long UINT_FAST64_MAX() { return UINT_FAST64_MAX; }
+ private static final long INTPTR_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INTPTR_MAX 9223372036854775807
+ * }
+ */
+ public static long INTPTR_MAX() { return INTPTR_MAX; }
+ private static final long INTPTR_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INTPTR_MIN -9223372036854775808
+ * }
+ */
+ public static long INTPTR_MIN() { return INTPTR_MIN; }
+ private static final long UINTPTR_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINTPTR_MAX -1
+ * }
+ */
+ public static long UINTPTR_MAX() { return UINTPTR_MAX; }
+ private static final long INTMAX_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INTMAX_MAX 9223372036854775807
+ * }
+ */
+ public static long INTMAX_MAX() { return INTMAX_MAX; }
+ private static final long UINTMAX_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINTMAX_MAX -1
+ * }
+ */
+ public static long UINTMAX_MAX() { return UINTMAX_MAX; }
+ private static final long INTMAX_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INTMAX_MIN -9223372036854775808
+ * }
+ */
+ public static long INTMAX_MIN() { return INTMAX_MIN; }
+ private static final long PTRDIFF_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define PTRDIFF_MIN -9223372036854775808
+ * }
+ */
+ public static long PTRDIFF_MIN() { return PTRDIFF_MIN; }
+ private static final long PTRDIFF_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define PTRDIFF_MAX 9223372036854775807
+ * }
+ */
+ public static long PTRDIFF_MAX() { return PTRDIFF_MAX; }
+ private static final long SIZE_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define SIZE_MAX -1
+ * }
+ */
+ public static long SIZE_MAX() { return SIZE_MAX; }
+ private static final long RSIZE_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define RSIZE_MAX 9223372036854775807
+ * }
+ */
+ public static long RSIZE_MAX() { return RSIZE_MAX; }
+ private static final int WCHAR_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define WCHAR_MAX 2147483647
+ * }
+ */
+ public static int WCHAR_MAX() { return WCHAR_MAX; }
+ private static final int WCHAR_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define WCHAR_MIN -2147483648
+ * }
+ */
+ public static int WCHAR_MIN() { return WCHAR_MIN; }
+ private static final int WINT_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define WINT_MIN -2147483648
+ * }
+ */
+ public static int WINT_MIN() { return WINT_MIN; }
+ private static final int WINT_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define WINT_MAX 2147483647
+ * }
+ */
+ public static int WINT_MAX() { return WINT_MAX; }
+ private static final int SIG_ATOMIC_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define SIG_ATOMIC_MIN -2147483648
+ * }
+ */
+ public static int SIG_ATOMIC_MIN() { return SIG_ATOMIC_MIN; }
+ private static final int SIG_ATOMIC_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define SIG_ATOMIC_MAX 2147483647
+ * }
+ */
+ public static int SIG_ATOMIC_MAX() { return SIG_ATOMIC_MAX; }
+ private static final int CLK_TCK = (int)100L;
+ /**
+ * {@snippet lang=c :
+ * #define CLK_TCK 100
+ * }
+ */
+ public static int CLK_TCK() { return CLK_TCK; }
+ private static final int SCHAR_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define SCHAR_MIN -128
+ * }
+ */
+ public static int SCHAR_MIN() { return SCHAR_MIN; }
+ private static final int CHAR_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define CHAR_MIN -128
+ * }
+ */
+ public static int CHAR_MIN() { return CHAR_MIN; }
+ private static final int SHRT_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define SHRT_MIN -32768
+ * }
+ */
+ public static int SHRT_MIN() { return SHRT_MIN; }
+ private static final int UINT_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_MAX 4294967295
+ * }
+ */
+ public static int UINT_MAX() { return UINT_MAX; }
+ private static final int INT_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_MIN -2147483648
+ * }
+ */
+ public static int INT_MIN() { return INT_MIN; }
+ private static final long ULONG_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define ULONG_MAX -1
+ * }
+ */
+ public static long ULONG_MAX() { return ULONG_MAX; }
+ private static final long LONG_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_MAX 9223372036854775807
+ * }
+ */
+ public static long LONG_MAX() { return LONG_MAX; }
+ private static final long LONG_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_MIN -9223372036854775808
+ * }
+ */
+ public static long LONG_MIN() { return LONG_MIN; }
+ private static final long ULLONG_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define ULLONG_MAX -1
+ * }
+ */
+ public static long ULLONG_MAX() { return ULLONG_MAX; }
+ private static final long LLONG_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define LLONG_MAX 9223372036854775807
+ * }
+ */
+ public static long LLONG_MAX() { return LLONG_MAX; }
+ private static final long LLONG_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define LLONG_MIN -9223372036854775808
+ * }
+ */
+ public static long LLONG_MIN() { return LLONG_MIN; }
+ private static final long SSIZE_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define SSIZE_MAX 9223372036854775807
+ * }
+ */
+ public static long SSIZE_MAX() { return SSIZE_MAX; }
+ private static final long SIZE_T_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define SIZE_T_MAX -1
+ * }
+ */
+ public static long SIZE_T_MAX() { return SIZE_T_MAX; }
+ private static final long UQUAD_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UQUAD_MAX -1
+ * }
+ */
+ public static long UQUAD_MAX() { return UQUAD_MAX; }
+ private static final long QUAD_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define QUAD_MAX 9223372036854775807
+ * }
+ */
+ public static long QUAD_MAX() { return QUAD_MAX; }
+ private static final long QUAD_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define QUAD_MIN -9223372036854775808
+ * }
+ */
+ public static long QUAD_MIN() { return QUAD_MIN; }
+ private static final int ARG_MAX = (int)1048576L;
+ /**
+ * {@snippet lang=c :
+ * #define ARG_MAX 1048576
+ * }
+ */
+ public static int ARG_MAX() { return ARG_MAX; }
+ private static final int GID_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define GID_MAX 2147483647
+ * }
+ */
+ public static int GID_MAX() { return GID_MAX; }
+ private static final int UID_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define UID_MAX 2147483647
+ * }
+ */
+ public static int UID_MAX() { return UID_MAX; }
+ private static final int _POSIX_RE_DUP_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_RE_DUP_MAX 255
+ * }
+ */
+ public static int _POSIX_RE_DUP_MAX() { return _POSIX_RE_DUP_MAX; }
+ private static final long OFF_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define OFF_MIN -9223372036854775808
+ * }
+ */
+ public static long OFF_MIN() { return OFF_MIN; }
+ private static final long OFF_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define OFF_MAX 9223372036854775807
+ * }
+ */
+ public static long OFF_MAX() { return OFF_MAX; }
+ private static final long LONG_LONG_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_LONG_MAX 9223372036854775807
+ * }
+ */
+ public static long LONG_LONG_MAX() { return LONG_LONG_MAX; }
+ private static final long LONG_LONG_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_LONG_MIN -9223372036854775808
+ * }
+ */
+ public static long LONG_LONG_MIN() { return LONG_LONG_MIN; }
+ private static final long ULONG_LONG_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define ULONG_LONG_MAX -1
+ * }
+ */
+ public static long ULONG_LONG_MAX() { return ULONG_LONG_MAX; }
+ private static final MemorySegment NULL = MemorySegment.ofAddress(0L);
+ /**
+ * {@snippet lang=c :
+ * #define NULL (void*) 0
+ * }
+ */
+ public static MemorySegment NULL() { return NULL; }
+ private static final long USER_ADDR_NULL = 0L;
+ /**
+ * {@snippet lang=c :
+ * #define USER_ADDR_NULL 0
+ * }
+ */
+ public static long USER_ADDR_NULL() { return USER_ADDR_NULL; }
+ private static final int LITTLE_ENDIAN = (int)1234L;
+ /**
+ * {@snippet lang=c :
+ * #define LITTLE_ENDIAN 1234
+ * }
+ */
+ public static int LITTLE_ENDIAN() { return LITTLE_ENDIAN; }
+ private static final int BIG_ENDIAN = (int)4321L;
+ /**
+ * {@snippet lang=c :
+ * #define BIG_ENDIAN 4321
+ * }
+ */
+ public static int BIG_ENDIAN() { return BIG_ENDIAN; }
+ private static final int PDP_ENDIAN = (int)3412L;
+ /**
+ * {@snippet lang=c :
+ * #define PDP_ENDIAN 3412
+ * }
+ */
+ public static int PDP_ENDIAN() { return PDP_ENDIAN; }
+ private static final int __DARWIN_BYTE_ORDER = (int)1234L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_BYTE_ORDER 1234
+ * }
+ */
+ public static int __DARWIN_BYTE_ORDER() { return __DARWIN_BYTE_ORDER; }
+ private static final int BYTE_ORDER = (int)1234L;
+ /**
+ * {@snippet lang=c :
+ * #define BYTE_ORDER 1234
+ * }
+ */
+ public static int BYTE_ORDER() { return BYTE_ORDER; }
+ private static final long __DARWIN_NFDBITS = 32L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_NFDBITS 32
+ * }
+ */
+ public static long __DARWIN_NFDBITS() { return __DARWIN_NFDBITS; }
+ private static final int NBBY = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define NBBY 8
+ * }
+ */
+ public static int NBBY() { return NBBY; }
+ private static final long NFDBITS = 32L;
+ /**
+ * {@snippet lang=c :
+ * #define NFDBITS 32
+ * }
+ */
+ public static long NFDBITS() { return NFDBITS; }
+ private static final int FD_SETSIZE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define FD_SETSIZE 1024
+ * }
+ */
+ public static int FD_SETSIZE() { return FD_SETSIZE; }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_SUBRELEASE "4"
+ * }
+ */
+ public static MemorySegment H5_VERS_SUBRELEASE()
+ {
+ class Holder {
+ static final MemorySegment H5_VERS_SUBRELEASE = hdf5_h.LIBRARY_ARENA.allocateFrom("4");
+ }
+ return Holder.H5_VERS_SUBRELEASE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_STR "2.0.0-4"
+ * }
+ */
+ public static MemorySegment H5_VERS_STR()
+ {
+ class Holder {
+ static final MemorySegment H5_VERS_STR = hdf5_h.LIBRARY_ARENA.allocateFrom("2.0.0-4");
+ }
+ return Holder.H5_VERS_STR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_INFO "HDF5 library version: 2.0.0-4"
+ * }
+ */
+ public static MemorySegment H5_VERS_INFO()
+ {
+ class Holder {
+ static final MemorySegment H5_VERS_INFO =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5 library version: 2.0.0-4");
+ }
+ return Holder.H5_VERS_INFO;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_DRIVER "HDF5_DRIVER"
+ * }
+ */
+ public static MemorySegment HDF5_DRIVER()
+ {
+ class Holder {
+ static final MemorySegment HDF5_DRIVER = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_DRIVER");
+ }
+ return Holder.HDF5_DRIVER;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_DRIVER_CONFIG "HDF5_DRIVER_CONFIG"
+ * }
+ */
+ public static MemorySegment HDF5_DRIVER_CONFIG()
+ {
+ class Holder {
+ static final MemorySegment HDF5_DRIVER_CONFIG =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_DRIVER_CONFIG");
+ }
+ return Holder.HDF5_DRIVER_CONFIG;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_VOL_CONNECTOR "HDF5_VOL_CONNECTOR"
+ * }
+ */
+ public static MemorySegment HDF5_VOL_CONNECTOR()
+ {
+ class Holder {
+ static final MemorySegment HDF5_VOL_CONNECTOR =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_VOL_CONNECTOR");
+ }
+ return Holder.HDF5_VOL_CONNECTOR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_PLUGIN_PATH "HDF5_PLUGIN_PATH"
+ * }
+ */
+ public static MemorySegment HDF5_PLUGIN_PATH()
+ {
+ class Holder {
+ static final MemorySegment HDF5_PLUGIN_PATH =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_PLUGIN_PATH");
+ }
+ return Holder.HDF5_PLUGIN_PATH;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_PLUGIN_PRELOAD "HDF5_PLUGIN_PRELOAD"
+ * }
+ */
+ public static MemorySegment HDF5_PLUGIN_PRELOAD()
+ {
+ class Holder {
+ static final MemorySegment HDF5_PLUGIN_PRELOAD =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_PLUGIN_PRELOAD");
+ }
+ return Holder.HDF5_PLUGIN_PRELOAD;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_USE_FILE_LOCKING "HDF5_USE_FILE_LOCKING"
+ * }
+ */
+ public static MemorySegment HDF5_USE_FILE_LOCKING()
+ {
+ class Holder {
+ static final MemorySegment HDF5_USE_FILE_LOCKING =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_USE_FILE_LOCKING");
+ }
+ return Holder.HDF5_USE_FILE_LOCKING;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_NOCLEANUP "HDF5_NOCLEANUP"
+ * }
+ */
+ public static MemorySegment HDF5_NOCLEANUP()
+ {
+ class Holder {
+ static final MemorySegment HDF5_NOCLEANUP = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_NOCLEANUP");
+ }
+ return Holder.HDF5_NOCLEANUP;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_PREFER_WINDOWS_CODE_PAGE "HDF5_PREFER_WINDOWS_CODE_PAGE"
+ * }
+ */
+ public static MemorySegment HDF5_PREFER_WINDOWS_CODE_PAGE()
+ {
+ class Holder {
+ static final MemorySegment HDF5_PREFER_WINDOWS_CODE_PAGE =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_PREFER_WINDOWS_CODE_PAGE");
+ }
+ return Holder.HDF5_PREFER_WINDOWS_CODE_PAGE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdHSIZE "lld"
+ * }
+ */
+ public static MemorySegment PRIdHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIdHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiHSIZE "lli"
+ * }
+ */
+ public static MemorySegment PRIiHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIiHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIiHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoHSIZE "llo"
+ * }
+ */
+ public static MemorySegment PRIoHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIoHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuHSIZE "llu"
+ * }
+ */
+ public static MemorySegment PRIuHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIuHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxHSIZE "llx"
+ * }
+ */
+ public static MemorySegment PRIxHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIxHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXHSIZE "llX"
+ * }
+ */
+ public static MemorySegment PRIXHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIXHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXHSIZE;
+ }
+ private static final long HSIZE_UNDEF = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define HSIZE_UNDEF -1
+ * }
+ */
+ public static long HSIZE_UNDEF() { return HSIZE_UNDEF; }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdHADDR "lld"
+ * }
+ */
+ public static MemorySegment PRIdHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIdHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoHADDR "llo"
+ * }
+ */
+ public static MemorySegment PRIoHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIoHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuHADDR "llu"
+ * }
+ */
+ public static MemorySegment PRIuHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIuHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxHADDR "llx"
+ * }
+ */
+ public static MemorySegment PRIxHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIxHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXHADDR "llX"
+ * }
+ */
+ public static MemorySegment PRIXHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIXHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXHADDR;
+ }
+ private static final long HADDR_UNDEF = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define HADDR_UNDEF -1
+ * }
+ */
+ public static long HADDR_UNDEF() { return HADDR_UNDEF; }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PRINTF_HADDR_FMT "%llu"
+ * }
+ */
+ public static MemorySegment H5_PRINTF_HADDR_FMT()
+ {
+ class Holder {
+ static final MemorySegment H5_PRINTF_HADDR_FMT = hdf5_h.LIBRARY_ARENA.allocateFrom("%llu");
+ }
+ return Holder.H5_PRINTF_HADDR_FMT;
+ }
+ private static final long HADDR_MAX = -2L;
+ /**
+ * {@snippet lang=c :
+ * #define HADDR_MAX -2
+ * }
+ */
+ public static long HADDR_MAX() { return HADDR_MAX; }
+ private static final int H5_ITER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_ITER_ERROR -1
+ * }
+ */
+ public static int H5_ITER_ERROR() { return H5_ITER_ERROR; }
+ private static final int H5_ITER_CONT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_ITER_CONT 0
+ * }
+ */
+ public static int H5_ITER_CONT() { return H5_ITER_CONT; }
+ private static final int H5_ITER_STOP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_ITER_STOP 1
+ * }
+ */
+ public static int H5_ITER_STOP() { return H5_ITER_STOP; }
+ private static final int H5O_MAX_TOKEN_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_MAX_TOKEN_SIZE 16
+ * }
+ */
+ public static int H5O_MAX_TOKEN_SIZE() { return H5O_MAX_TOKEN_SIZE; }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdHID "lld"
+ * }
+ */
+ public static MemorySegment PRIdHID()
+ {
+ class Holder {
+ static final MemorySegment PRIdHID = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdHID;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxHID "llx"
+ * }
+ */
+ public static MemorySegment PRIxHID()
+ {
+ class Holder {
+ static final MemorySegment PRIxHID = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxHID;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXHID "llX"
+ * }
+ */
+ public static MemorySegment PRIXHID()
+ {
+ class Holder {
+ static final MemorySegment PRIXHID = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXHID;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoHID "llo"
+ * }
+ */
+ public static MemorySegment PRIoHID()
+ {
+ class Holder {
+ static final MemorySegment PRIoHID = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoHID;
+ }
+ private static final int H5_SIZEOF_HID_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HID_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HID_T() { return H5_SIZEOF_HID_T; }
+ private static final int H5I_INVALID_HID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5I_INVALID_HID -1
+ * }
+ */
+ public static int H5I_INVALID_HID() { return H5I_INVALID_HID; }
+ private static final int H5O_COPY_SHALLOW_HIERARCHY_FLAG = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_SHALLOW_HIERARCHY_FLAG 1
+ * }
+ */
+ public static int H5O_COPY_SHALLOW_HIERARCHY_FLAG() { return H5O_COPY_SHALLOW_HIERARCHY_FLAG; }
+ private static final int H5O_COPY_EXPAND_SOFT_LINK_FLAG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_EXPAND_SOFT_LINK_FLAG 2
+ * }
+ */
+ public static int H5O_COPY_EXPAND_SOFT_LINK_FLAG() { return H5O_COPY_EXPAND_SOFT_LINK_FLAG; }
+ private static final int H5O_COPY_EXPAND_EXT_LINK_FLAG = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_EXPAND_EXT_LINK_FLAG 4
+ * }
+ */
+ public static int H5O_COPY_EXPAND_EXT_LINK_FLAG() { return H5O_COPY_EXPAND_EXT_LINK_FLAG; }
+ private static final int H5O_COPY_EXPAND_REFERENCE_FLAG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_EXPAND_REFERENCE_FLAG 8
+ * }
+ */
+ public static int H5O_COPY_EXPAND_REFERENCE_FLAG() { return H5O_COPY_EXPAND_REFERENCE_FLAG; }
+ private static final int H5O_COPY_WITHOUT_ATTR_FLAG = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_WITHOUT_ATTR_FLAG 16
+ * }
+ */
+ public static int H5O_COPY_WITHOUT_ATTR_FLAG() { return H5O_COPY_WITHOUT_ATTR_FLAG; }
+ private static final int H5O_COPY_PRESERVE_NULL_FLAG = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_PRESERVE_NULL_FLAG 32
+ * }
+ */
+ public static int H5O_COPY_PRESERVE_NULL_FLAG() { return H5O_COPY_PRESERVE_NULL_FLAG; }
+ private static final int H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG 64
+ * }
+ */
+ public static int H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG() { return H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG; }
+ private static final int H5O_COPY_ALL = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_ALL 127
+ * }
+ */
+ public static int H5O_COPY_ALL() { return H5O_COPY_ALL; }
+ private static final int H5O_SHMESG_SDSPACE_FLAG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_SDSPACE_FLAG 2
+ * }
+ */
+ public static int H5O_SHMESG_SDSPACE_FLAG() { return H5O_SHMESG_SDSPACE_FLAG; }
+ private static final int H5O_SHMESG_DTYPE_FLAG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_DTYPE_FLAG 8
+ * }
+ */
+ public static int H5O_SHMESG_DTYPE_FLAG() { return H5O_SHMESG_DTYPE_FLAG; }
+ private static final int H5O_SHMESG_FILL_FLAG = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_FILL_FLAG 32
+ * }
+ */
+ public static int H5O_SHMESG_FILL_FLAG() { return H5O_SHMESG_FILL_FLAG; }
+ private static final int H5O_SHMESG_PLINE_FLAG = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_PLINE_FLAG 2048
+ * }
+ */
+ public static int H5O_SHMESG_PLINE_FLAG() { return H5O_SHMESG_PLINE_FLAG; }
+ private static final int H5O_SHMESG_ATTR_FLAG = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_ATTR_FLAG 4096
+ * }
+ */
+ public static int H5O_SHMESG_ATTR_FLAG() { return H5O_SHMESG_ATTR_FLAG; }
+ private static final int H5O_SHMESG_ALL_FLAG = (int)6186L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_ALL_FLAG 6186
+ * }
+ */
+ public static int H5O_SHMESG_ALL_FLAG() { return H5O_SHMESG_ALL_FLAG; }
+ private static final int H5O_HDR_ALL_FLAGS = (int)63L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ALL_FLAGS 63
+ * }
+ */
+ public static int H5O_HDR_ALL_FLAGS() { return H5O_HDR_ALL_FLAGS; }
+ private static final int H5O_INFO_BASIC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_BASIC 1
+ * }
+ */
+ public static int H5O_INFO_BASIC() { return H5O_INFO_BASIC; }
+ private static final int H5O_INFO_TIME = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_TIME 2
+ * }
+ */
+ public static int H5O_INFO_TIME() { return H5O_INFO_TIME; }
+ private static final int H5O_INFO_NUM_ATTRS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_NUM_ATTRS 4
+ * }
+ */
+ public static int H5O_INFO_NUM_ATTRS() { return H5O_INFO_NUM_ATTRS; }
+ private static final int H5O_INFO_ALL = (int)31L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_ALL 31
+ * }
+ */
+ public static int H5O_INFO_ALL() { return H5O_INFO_ALL; }
+ private static final int H5O_NATIVE_INFO_HDR = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_NATIVE_INFO_HDR 8
+ * }
+ */
+ public static int H5O_NATIVE_INFO_HDR() { return H5O_NATIVE_INFO_HDR; }
+ private static final int H5O_NATIVE_INFO_META_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_NATIVE_INFO_META_SIZE 16
+ * }
+ */
+ public static int H5O_NATIVE_INFO_META_SIZE() { return H5O_NATIVE_INFO_META_SIZE; }
+ private static final int H5O_NATIVE_INFO_ALL = (int)24L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_NATIVE_INFO_ALL 24
+ * }
+ */
+ public static int H5O_NATIVE_INFO_ALL() { return H5O_NATIVE_INFO_ALL; }
+ private static final int H5O_INFO_HDR = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_HDR 8
+ * }
+ */
+ public static int H5O_INFO_HDR() { return H5O_INFO_HDR; }
+ private static final int H5O_INFO_META_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_META_SIZE 16
+ * }
+ */
+ public static int H5O_INFO_META_SIZE() { return H5O_INFO_META_SIZE; }
+ private static final int H5T_NCSET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_NCSET 2
+ * }
+ */
+ public static int H5T_NCSET() { return H5T_NCSET; }
+ private static final int H5T_NSTR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_NSTR 3
+ * }
+ */
+ public static int H5T_NSTR() { return H5T_NSTR; }
+ private static final long H5T_VARIABLE = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_VARIABLE -1
+ * }
+ */
+ public static long H5T_VARIABLE() { return H5T_VARIABLE; }
+ private static final int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE -1
+ * }
+ */
+ public static int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE()
+ {
+ return H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE;
+ }
+ private static final long H5D_CHUNK_CACHE_NSLOTS_DEFAULT = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_CACHE_NSLOTS_DEFAULT -1
+ * }
+ */
+ public static long H5D_CHUNK_CACHE_NSLOTS_DEFAULT() { return H5D_CHUNK_CACHE_NSLOTS_DEFAULT; }
+ private static final long H5D_CHUNK_CACHE_NBYTES_DEFAULT = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_CACHE_NBYTES_DEFAULT -1
+ * }
+ */
+ public static long H5D_CHUNK_CACHE_NBYTES_DEFAULT() { return H5D_CHUNK_CACHE_NBYTES_DEFAULT; }
+ private static final double H5D_CHUNK_CACHE_W0_DEFAULT = -1.0d;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_CACHE_W0_DEFAULT -1.0
+ * }
+ */
+ public static double H5D_CHUNK_CACHE_W0_DEFAULT() { return H5D_CHUNK_CACHE_W0_DEFAULT; }
+ private static final int H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS 2
+ * }
+ */
+ public static int H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS() { return H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS; }
+ private static final int H5D_CHUNK_BTREE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_BTREE 0
+ * }
+ */
+ public static int H5D_CHUNK_BTREE() { return H5D_CHUNK_BTREE; }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME "direct_chunk_flag"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_flag");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME "direct_chunk_filters"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_filters");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME "direct_chunk_offset"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_offset");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME "direct_chunk_datasize"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_datasize");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME "direct_chunk_read_flag"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_read_flag");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME "direct_chunk_read_offset"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_read_offset");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME "direct_chunk_read_filters"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_read_filters");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME;
+ }
+ private static final int EOF = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define EOF -1
+ * }
+ */
+ public static int EOF() { return EOF; }
+ /**
+ * {@snippet lang=c :
+ * #define P_tmpdir "/var/tmp/"
+ * }
+ */
+ public static MemorySegment P_tmpdir()
+ {
+ class Holder {
+ static final MemorySegment P_tmpdir = hdf5_h.LIBRARY_ARENA.allocateFrom("/var/tmp/");
+ }
+ return Holder.P_tmpdir;
+ }
+ private static final long H5ES_WAIT_FOREVER = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5ES_WAIT_FOREVER -1
+ * }
+ */
+ public static long H5ES_WAIT_FOREVER() { return H5ES_WAIT_FOREVER; }
+ private static final int H5ES_WAIT_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5ES_WAIT_NONE 0
+ * }
+ */
+ public static int H5ES_WAIT_NONE() { return H5ES_WAIT_NONE; }
+ private static final int H5F_ACC_RDONLY = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_RDONLY 0
+ * }
+ */
+ public static int H5F_ACC_RDONLY() { return H5F_ACC_RDONLY; }
+ private static final int H5F_ACC_RDWR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_RDWR 1
+ * }
+ */
+ public static int H5F_ACC_RDWR() { return H5F_ACC_RDWR; }
+ private static final int H5F_ACC_TRUNC = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_TRUNC 2
+ * }
+ */
+ public static int H5F_ACC_TRUNC() { return H5F_ACC_TRUNC; }
+ private static final int H5F_ACC_EXCL = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_EXCL 4
+ * }
+ */
+ public static int H5F_ACC_EXCL() { return H5F_ACC_EXCL; }
+ private static final int H5F_ACC_CREAT = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_CREAT 16
+ * }
+ */
+ public static int H5F_ACC_CREAT() { return H5F_ACC_CREAT; }
+ private static final int H5F_ACC_SWMR_WRITE = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_SWMR_WRITE 32
+ * }
+ */
+ public static int H5F_ACC_SWMR_WRITE() { return H5F_ACC_SWMR_WRITE; }
+ private static final int H5F_ACC_SWMR_READ = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_SWMR_READ 64
+ * }
+ */
+ public static int H5F_ACC_SWMR_READ() { return H5F_ACC_SWMR_READ; }
+ private static final int H5F_ACC_DEFAULT = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_DEFAULT 65535
+ * }
+ */
+ public static int H5F_ACC_DEFAULT() { return H5F_ACC_DEFAULT; }
+ private static final int H5F_OBJ_FILE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_FILE 1
+ * }
+ */
+ public static int H5F_OBJ_FILE() { return H5F_OBJ_FILE; }
+ private static final int H5F_OBJ_DATASET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_DATASET 2
+ * }
+ */
+ public static int H5F_OBJ_DATASET() { return H5F_OBJ_DATASET; }
+ private static final int H5F_OBJ_GROUP = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_GROUP 4
+ * }
+ */
+ public static int H5F_OBJ_GROUP() { return H5F_OBJ_GROUP; }
+ private static final int H5F_OBJ_DATATYPE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_DATATYPE 8
+ * }
+ */
+ public static int H5F_OBJ_DATATYPE() { return H5F_OBJ_DATATYPE; }
+ private static final int H5F_OBJ_ATTR = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_ATTR 16
+ * }
+ */
+ public static int H5F_OBJ_ATTR() { return H5F_OBJ_ATTR; }
+ private static final int H5F_OBJ_ALL = (int)31L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_ALL 31
+ * }
+ */
+ public static int H5F_OBJ_ALL() { return H5F_OBJ_ALL; }
+ private static final int H5F_OBJ_LOCAL = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_LOCAL 32
+ * }
+ */
+ public static int H5F_OBJ_LOCAL() { return H5F_OBJ_LOCAL; }
+ private static final long H5F_PAGE_BUFFER_SIZE_DEFAULT = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_PAGE_BUFFER_SIZE_DEFAULT -1
+ * }
+ */
+ public static long H5F_PAGE_BUFFER_SIZE_DEFAULT() { return H5F_PAGE_BUFFER_SIZE_DEFAULT; }
+ private static final long H5F_UNLIMITED = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_UNLIMITED -1
+ * }
+ */
+ public static long H5F_UNLIMITED() { return H5F_UNLIMITED; }
+ private static final int H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS 1
+ * }
+ */
+ public static int H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS()
+ {
+ return H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS;
+ }
+ private static final int H5F_RFIC_ALL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_RFIC_ALL 1
+ * }
+ */
+ public static int H5F_RFIC_ALL() { return H5F_RFIC_ALL; }
+ private static final int H5F_ACC_DEBUG = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_DEBUG 0
+ * }
+ */
+ public static int H5F_ACC_DEBUG() { return H5F_ACC_DEBUG; }
+ private static final int H5_VFD_INVALID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_INVALID -1
+ * }
+ */
+ public static int H5_VFD_INVALID() { return H5_VFD_INVALID; }
+ private static final int H5_VFD_SEC2 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_SEC2 0
+ * }
+ */
+ public static int H5_VFD_SEC2() { return H5_VFD_SEC2; }
+ private static final int H5_VFD_CORE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_CORE 1
+ * }
+ */
+ public static int H5_VFD_CORE() { return H5_VFD_CORE; }
+ private static final int H5_VFD_LOG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_LOG 2
+ * }
+ */
+ public static int H5_VFD_LOG() { return H5_VFD_LOG; }
+ private static final int H5_VFD_FAMILY = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_FAMILY 3
+ * }
+ */
+ public static int H5_VFD_FAMILY() { return H5_VFD_FAMILY; }
+ private static final int H5_VFD_MULTI = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MULTI 4
+ * }
+ */
+ public static int H5_VFD_MULTI() { return H5_VFD_MULTI; }
+ private static final int H5_VFD_STDIO = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_STDIO 5
+ * }
+ */
+ public static int H5_VFD_STDIO() { return H5_VFD_STDIO; }
+ private static final int H5_VFD_SPLITTER = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_SPLITTER 6
+ * }
+ */
+ public static int H5_VFD_SPLITTER() { return H5_VFD_SPLITTER; }
+ private static final int H5_VFD_MPIO = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MPIO 7
+ * }
+ */
+ public static int H5_VFD_MPIO() { return H5_VFD_MPIO; }
+ private static final int H5_VFD_DIRECT = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_DIRECT 8
+ * }
+ */
+ public static int H5_VFD_DIRECT() { return H5_VFD_DIRECT; }
+ private static final int H5_VFD_MIRROR = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MIRROR 9
+ * }
+ */
+ public static int H5_VFD_MIRROR() { return H5_VFD_MIRROR; }
+ private static final int H5_VFD_HDFS = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_HDFS 10
+ * }
+ */
+ public static int H5_VFD_HDFS() { return H5_VFD_HDFS; }
+ private static final int H5_VFD_ROS3 = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_ROS3 11
+ * }
+ */
+ public static int H5_VFD_ROS3() { return H5_VFD_ROS3; }
+ private static final int H5_VFD_SUBFILING = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_SUBFILING 12
+ * }
+ */
+ public static int H5_VFD_SUBFILING() { return H5_VFD_SUBFILING; }
+ private static final int H5_VFD_IOC = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_IOC 13
+ * }
+ */
+ public static int H5_VFD_IOC() { return H5_VFD_IOC; }
+ private static final int H5_VFD_ONION = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_ONION 14
+ * }
+ */
+ public static int H5_VFD_ONION() { return H5_VFD_ONION; }
+ private static final int H5FD_FEAT_ACCUMULATE_METADATA = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ACCUMULATE_METADATA 6
+ * }
+ */
+ public static int H5FD_FEAT_ACCUMULATE_METADATA() { return H5FD_FEAT_ACCUMULATE_METADATA; }
+ private static final int H5FD_CTL_OPC_EXPER_MIN = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_OPC_EXPER_MIN 512
+ * }
+ */
+ public static int H5FD_CTL_OPC_EXPER_MIN() { return H5FD_CTL_OPC_EXPER_MIN; }
+ private static final int H5FD_CTL_OPC_EXPER_MAX = (int)1023L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_OPC_EXPER_MAX 1023
+ * }
+ */
+ public static int H5FD_CTL_OPC_EXPER_MAX() { return H5FD_CTL_OPC_EXPER_MAX; }
+ private static final int H5L_MAX_LINK_NAME_LEN = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_MAX_LINK_NAME_LEN 4294967295
+ * }
+ */
+ public static int H5L_MAX_LINK_NAME_LEN() { return H5L_MAX_LINK_NAME_LEN; }
+ private static final int H5L_TYPE_BUILTIN_MAX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_TYPE_BUILTIN_MAX 1
+ * }
+ */
+ public static int H5L_TYPE_BUILTIN_MAX() { return H5L_TYPE_BUILTIN_MAX; }
+ private static final int H5L_TYPE_UD_MIN = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_TYPE_UD_MIN 64
+ * }
+ */
+ public static int H5L_TYPE_UD_MIN() { return H5L_TYPE_UD_MIN; }
+ private static final int H5L_TYPE_UD_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_TYPE_UD_MAX 255
+ * }
+ */
+ public static int H5L_TYPE_UD_MAX() { return H5L_TYPE_UD_MAX; }
+ private static final int H5G_SAME_LOC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_SAME_LOC 0
+ * }
+ */
+ public static int H5G_SAME_LOC() { return H5G_SAME_LOC; }
+ private static final int H5G_LINK_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_LINK_ERROR -1
+ * }
+ */
+ public static int H5G_LINK_ERROR() { return H5G_LINK_ERROR; }
+ private static final int H5G_LINK_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_LINK_HARD 0
+ * }
+ */
+ public static int H5G_LINK_HARD() { return H5G_LINK_HARD; }
+ private static final int H5G_LINK_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_LINK_SOFT 1
+ * }
+ */
+ public static int H5G_LINK_SOFT() { return H5G_LINK_SOFT; }
+ private static final int H5G_NUSERTYPES = (int)248L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_NUSERTYPES 248
+ * }
+ */
+ public static int H5G_NUSERTYPES() { return H5G_NUSERTYPES; }
+ private static final int H5_VOL_INVALID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_INVALID -1
+ * }
+ */
+ public static int H5_VOL_INVALID() { return H5_VOL_INVALID; }
+ private static final int H5VL_CAP_FLAG_SOFT_LINKS = (int)2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_SOFT_LINKS 2147483648
+ * }
+ */
+ public static int H5VL_CAP_FLAG_SOFT_LINKS() { return H5VL_CAP_FLAG_SOFT_LINKS; }
+ private static final long H5VL_CAP_FLAG_UD_LINKS = 4294967296L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_UD_LINKS 4294967296
+ * }
+ */
+ public static long H5VL_CAP_FLAG_UD_LINKS() { return H5VL_CAP_FLAG_UD_LINKS; }
+ private static final long H5VL_CAP_FLAG_TRACK_TIMES = 8589934592L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_TRACK_TIMES 8589934592
+ * }
+ */
+ public static long H5VL_CAP_FLAG_TRACK_TIMES() { return H5VL_CAP_FLAG_TRACK_TIMES; }
+ private static final long H5VL_CAP_FLAG_MOUNT = 17179869184L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_MOUNT 17179869184
+ * }
+ */
+ public static long H5VL_CAP_FLAG_MOUNT() { return H5VL_CAP_FLAG_MOUNT; }
+ private static final long H5VL_CAP_FLAG_FILTERS = 34359738368L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILTERS 34359738368
+ * }
+ */
+ public static long H5VL_CAP_FLAG_FILTERS() { return H5VL_CAP_FLAG_FILTERS; }
+ private static final long H5VL_CAP_FLAG_FILL_VALUES = 68719476736L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILL_VALUES 68719476736
+ * }
+ */
+ public static long H5VL_CAP_FLAG_FILL_VALUES() { return H5VL_CAP_FLAG_FILL_VALUES; }
+ private static final long H5R_OBJ_REF_BUF_SIZE = 8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_OBJ_REF_BUF_SIZE 8
+ * }
+ */
+ public static long H5R_OBJ_REF_BUF_SIZE() { return H5R_OBJ_REF_BUF_SIZE; }
+ private static final long H5R_DSET_REG_REF_BUF_SIZE = 12L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_DSET_REG_REF_BUF_SIZE 12
+ * }
+ */
+ public static long H5R_DSET_REG_REF_BUF_SIZE() { return H5R_DSET_REG_REF_BUF_SIZE; }
+ private static final int H5R_REF_BUF_SIZE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_REF_BUF_SIZE 64
+ * }
+ */
+ public static int H5R_REF_BUF_SIZE() { return H5R_REF_BUF_SIZE; }
+ private static final int H5R_OBJECT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_OBJECT 0
+ * }
+ */
+ public static int H5R_OBJECT() { return H5R_OBJECT; }
+ private static final int H5R_DATASET_REGION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_DATASET_REGION 1
+ * }
+ */
+ public static int H5R_DATASET_REGION() { return H5R_DATASET_REGION; }
+ private static final int H5VL_MAX_BLOB_ID_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAX_BLOB_ID_SIZE 16
+ * }
+ */
+ public static int H5VL_MAX_BLOB_ID_SIZE() { return H5VL_MAX_BLOB_ID_SIZE; }
+ private static final long H5S_UNLIMITED = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_UNLIMITED -1
+ * }
+ */
+ public static long H5S_UNLIMITED() { return H5S_UNLIMITED; }
+ private static final int H5Z_FILTER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_ERROR -1
+ * }
+ */
+ public static int H5Z_FILTER_ERROR() { return H5Z_FILTER_ERROR; }
+ private static final int H5Z_FILTER_CONFIG_ENCODE_ENABLED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_CONFIG_ENCODE_ENABLED 1
+ * }
+ */
+ public static int H5Z_FILTER_CONFIG_ENCODE_ENABLED() { return H5Z_FILTER_CONFIG_ENCODE_ENABLED; }
+ private static final int H5Z_FILTER_CONFIG_DECODE_ENABLED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_CONFIG_DECODE_ENABLED 2
+ * }
+ */
+ public static int H5Z_FILTER_CONFIG_DECODE_ENABLED() { return H5Z_FILTER_CONFIG_DECODE_ENABLED; }
+ private static final int H5D_SEL_IO_DISABLE_BY_API = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_DISABLE_BY_API 1
+ * }
+ */
+ public static int H5D_SEL_IO_DISABLE_BY_API() { return H5D_SEL_IO_DISABLE_BY_API; }
+ private static final int H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET 2
+ * }
+ */
+ public static int H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET()
+ {
+ return H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET;
+ }
+ private static final int H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER 4
+ * }
+ */
+ public static int H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER() { return H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER; }
+ private static final int H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB 8
+ * }
+ */
+ public static int H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB()
+ {
+ return H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB;
+ }
+ private static final int H5D_SEL_IO_PAGE_BUFFER = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_PAGE_BUFFER 16
+ * }
+ */
+ public static int H5D_SEL_IO_PAGE_BUFFER() { return H5D_SEL_IO_PAGE_BUFFER; }
+ private static final int H5D_SEL_IO_DATASET_FILTER = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_DATASET_FILTER 32
+ * }
+ */
+ public static int H5D_SEL_IO_DATASET_FILTER() { return H5D_SEL_IO_DATASET_FILTER; }
+ private static final int H5D_SEL_IO_CHUNK_CACHE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_CHUNK_CACHE 64
+ * }
+ */
+ public static int H5D_SEL_IO_CHUNK_CACHE() { return H5D_SEL_IO_CHUNK_CACHE; }
+ private static final int H5D_SEL_IO_TCONV_BUF_TOO_SMALL = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_TCONV_BUF_TOO_SMALL 128
+ * }
+ */
+ public static int H5D_SEL_IO_TCONV_BUF_TOO_SMALL() { return H5D_SEL_IO_TCONV_BUF_TOO_SMALL; }
+ private static final int H5D_SEL_IO_BKG_BUF_TOO_SMALL = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_BKG_BUF_TOO_SMALL 256
+ * }
+ */
+ public static int H5D_SEL_IO_BKG_BUF_TOO_SMALL() { return H5D_SEL_IO_BKG_BUF_TOO_SMALL; }
+ private static final int H5D_SEL_IO_DEFAULT_OFF = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_DEFAULT_OFF 512
+ * }
+ */
+ public static int H5D_SEL_IO_DEFAULT_OFF() { return H5D_SEL_IO_DEFAULT_OFF; }
+ private static final int H5D_MPIO_NO_SELECTION_IO_CAUSES = (int)481L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_MPIO_NO_SELECTION_IO_CAUSES 481
+ * }
+ */
+ public static int H5D_MPIO_NO_SELECTION_IO_CAUSES() { return H5D_MPIO_NO_SELECTION_IO_CAUSES; }
+ private static final int H5D_SCALAR_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SCALAR_IO 1
+ * }
+ */
+ public static int H5D_SCALAR_IO() { return H5D_SCALAR_IO; }
+ private static final int H5D_VECTOR_IO = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_VECTOR_IO 2
+ * }
+ */
+ public static int H5D_VECTOR_IO() { return H5D_VECTOR_IO; }
+ private static final int H5D_SELECTION_IO = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SELECTION_IO 4
+ * }
+ */
+ public static int H5D_SELECTION_IO() { return H5D_SELECTION_IO; }
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_NO_PLUGIN "::"
+ * }
+ */
+ public static MemorySegment H5PL_NO_PLUGIN()
+ {
+ class Holder {
+ static final MemorySegment H5PL_NO_PLUGIN = hdf5_h.LIBRARY_ARENA.allocateFrom("::");
+ }
+ return Holder.H5PL_NO_PLUGIN;
+ }
+ private static final int H5FD_MEM_FHEAP_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_HDR() { return H5FD_MEM_FHEAP_HDR; }
+ private static final int H5FD_MEM_FHEAP_IBLOCK = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_IBLOCK 6
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_IBLOCK() { return H5FD_MEM_FHEAP_IBLOCK; }
+ private static final int H5FD_MEM_FHEAP_DBLOCK = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_DBLOCK 5
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_DBLOCK() { return H5FD_MEM_FHEAP_DBLOCK; }
+ private static final int H5FD_MEM_FHEAP_HUGE_OBJ = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_HUGE_OBJ 3
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_HUGE_OBJ() { return H5FD_MEM_FHEAP_HUGE_OBJ; }
+ private static final int H5FD_MEM_FSPACE_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FSPACE_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_FSPACE_HDR() { return H5FD_MEM_FSPACE_HDR; }
+ private static final int H5FD_MEM_FSPACE_SINFO = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FSPACE_SINFO 5
+ * }
+ */
+ public static int H5FD_MEM_FSPACE_SINFO() { return H5FD_MEM_FSPACE_SINFO; }
+ private static final int H5FD_MEM_SOHM_TABLE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_SOHM_TABLE 6
+ * }
+ */
+ public static int H5FD_MEM_SOHM_TABLE() { return H5FD_MEM_SOHM_TABLE; }
+ private static final int H5FD_MEM_SOHM_INDEX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_SOHM_INDEX 2
+ * }
+ */
+ public static int H5FD_MEM_SOHM_INDEX() { return H5FD_MEM_SOHM_INDEX; }
+ private static final int H5FD_MEM_EARRAY_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_HDR() { return H5FD_MEM_EARRAY_HDR; }
+ private static final int H5FD_MEM_EARRAY_IBLOCK = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_IBLOCK 6
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_IBLOCK() { return H5FD_MEM_EARRAY_IBLOCK; }
+ private static final int H5FD_MEM_EARRAY_SBLOCK = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_SBLOCK 2
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_SBLOCK() { return H5FD_MEM_EARRAY_SBLOCK; }
+ private static final int H5FD_MEM_EARRAY_DBLOCK = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_DBLOCK 5
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_DBLOCK() { return H5FD_MEM_EARRAY_DBLOCK; }
+ private static final int H5FD_MEM_EARRAY_DBLK_PAGE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_DBLK_PAGE 5
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_DBLK_PAGE() { return H5FD_MEM_EARRAY_DBLK_PAGE; }
+ private static final int H5FD_MEM_FARRAY_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FARRAY_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_FARRAY_HDR() { return H5FD_MEM_FARRAY_HDR; }
+ private static final int H5FD_MEM_FARRAY_DBLOCK = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FARRAY_DBLOCK 5
+ * }
+ */
+ public static int H5FD_MEM_FARRAY_DBLOCK() { return H5FD_MEM_FARRAY_DBLOCK; }
+ private static final int H5FD_MEM_FARRAY_DBLK_PAGE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FARRAY_DBLK_PAGE 5
+ * }
+ */
+ public static int H5FD_MEM_FARRAY_DBLK_PAGE() { return H5FD_MEM_FARRAY_DBLK_PAGE; }
+ private static final int H5Z_CLASS_T_VERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_CLASS_T_VERS 1
+ * }
+ */
+ public static int H5Z_CLASS_T_VERS() { return H5Z_CLASS_T_VERS; }
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_NAME "native"
+ * }
+ */
+ public static MemorySegment H5VL_NATIVE_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5VL_NATIVE_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("native");
+ }
+ return Holder.H5VL_NATIVE_NAME;
+ }
+ private static final int H5VL_NATIVE_VALUE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_VALUE 0
+ * }
+ */
+ public static int H5VL_NATIVE_VALUE() { return H5VL_NATIVE_VALUE; }
+ private static final int H5FD_CORE_VALUE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CORE_VALUE 1
+ * }
+ */
+ public static int H5FD_CORE_VALUE() { return H5FD_CORE_VALUE; }
+ private static final int H5FD_DIRECT = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_DIRECT -1
+ * }
+ */
+ public static int H5FD_DIRECT() { return H5FD_DIRECT; }
+ private static final int H5FD_DIRECT_VALUE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_DIRECT_VALUE -1
+ * }
+ */
+ public static int H5FD_DIRECT_VALUE() { return H5FD_DIRECT_VALUE; }
+ private static final int CBSIZE_DEF = (int)16777216L;
+ /**
+ * {@snippet lang=c :
+ * #define CBSIZE_DEF 16777216
+ * }
+ */
+ public static int CBSIZE_DEF() { return CBSIZE_DEF; }
+ private static final int H5FD_FAMILY_VALUE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FAMILY_VALUE 3
+ * }
+ */
+ public static int H5FD_FAMILY_VALUE() { return H5FD_FAMILY_VALUE; }
+ private static final int H5FD_HDFS = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_HDFS -1
+ * }
+ */
+ public static int H5FD_HDFS() { return H5FD_HDFS; }
+ private static final int H5FD_HDFS_VALUE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_HDFS_VALUE -1
+ * }
+ */
+ public static int H5FD_HDFS_VALUE() { return H5FD_HDFS_VALUE; }
+ private static final int H5FD_LOG_VALUE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_VALUE 2
+ * }
+ */
+ public static int H5FD_LOG_VALUE() { return H5FD_LOG_VALUE; }
+ private static final int H5FD_LOG_META_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_META_IO 1
+ * }
+ */
+ public static int H5FD_LOG_META_IO() { return H5FD_LOG_META_IO; }
+ private static final int H5FD_LOG_LOC_IO = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_IO 14
+ * }
+ */
+ public static int H5FD_LOG_LOC_IO() { return H5FD_LOG_LOC_IO; }
+ private static final int H5FD_LOG_FILE_IO = (int)48L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FILE_IO 48
+ * }
+ */
+ public static int H5FD_LOG_FILE_IO() { return H5FD_LOG_FILE_IO; }
+ private static final int H5FD_LOG_NUM_IO = (int)1920L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_IO 1920
+ * }
+ */
+ public static int H5FD_LOG_NUM_IO() { return H5FD_LOG_NUM_IO; }
+ private static final int H5FD_LOG_TIME_IO = (int)260096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_IO 260096
+ * }
+ */
+ public static int H5FD_LOG_TIME_IO() { return H5FD_LOG_TIME_IO; }
+ private static final int H5FD_LOG_ALL = (int)1048575L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_ALL 1048575
+ * }
+ */
+ public static int H5FD_LOG_ALL() { return H5FD_LOG_ALL; }
+ private static final int H5FD_MPIO = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MPIO -1
+ * }
+ */
+ public static int H5FD_MPIO() { return H5FD_MPIO; }
+ private static final int H5FD_ONION_VALUE = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_VALUE 14
+ * }
+ */
+ public static int H5FD_ONION_VALUE() { return H5FD_ONION_VALUE; }
+ private static final int H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT 1
+ * }
+ */
+ public static int H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT()
+ {
+ return H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT;
+ }
+ private static final long H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST -1
+ * }
+ */
+ public static long H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST()
+ {
+ return H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST;
+ }
+ private static final int H5FD_ROS3 = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3 -1
+ * }
+ */
+ public static int H5FD_ROS3() { return H5FD_ROS3; }
+ private static final int H5FD_ROS3_VALUE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3_VALUE -1
+ * }
+ */
+ public static int H5FD_ROS3_VALUE() { return H5FD_ROS3_VALUE; }
+ private static final int H5FD_SEC2_VALUE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SEC2_VALUE 0
+ * }
+ */
+ public static int H5FD_SEC2_VALUE() { return H5FD_SEC2_VALUE; }
+ private static final int H5FD_SPLITTER_VALUE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SPLITTER_VALUE 6
+ * }
+ */
+ public static int H5FD_SPLITTER_VALUE() { return H5FD_SPLITTER_VALUE; }
+ private static final int H5FD_SUBFILING = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SUBFILING -1
+ * }
+ */
+ public static int H5FD_SUBFILING() { return H5FD_SUBFILING; }
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SUBFILING_NAME "subfiling"
+ * }
+ */
+ public static MemorySegment H5FD_SUBFILING_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5FD_SUBFILING_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("subfiling");
+ }
+ return Holder.H5FD_SUBFILING_NAME;
+ }
+ private static final int H5FD_IOC = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_IOC -1
+ * }
+ */
+ public static int H5FD_IOC() { return H5FD_IOC; }
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_IOC_NAME "ioc"
+ * }
+ */
+ public static MemorySegment H5FD_IOC_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5FD_IOC_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("ioc");
+ }
+ return Holder.H5FD_IOC_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_PASSTHRU_NAME "pass_through"
+ * }
+ */
+ public static MemorySegment H5VL_PASSTHRU_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5VL_PASSTHRU_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("pass_through");
+ }
+ return Holder.H5VL_PASSTHRU_NAME;
+ }
+}
diff --git a/java/jsrc/features/plain/macos/hdf5_h_1.java b/java/jsrc/features/plain/macos/hdf5_h_1.java
new file mode 100644
index 00000000000..960822189a1
--- /dev/null
+++ b/java/jsrc/features/plain/macos/hdf5_h_1.java
@@ -0,0 +1,34647 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h_1 extends hdf5_h_2 {
+
+ hdf5_h_1()
+ {
+ // Should not be called directly
+ }
+
+ private static class H5Lget_info_by_idx2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info_by_idx2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info_by_idx2$descriptor() { return H5Lget_info_by_idx2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info_by_idx2$handle() { return H5Lget_info_by_idx2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info_by_idx2$address() { return H5Lget_info_by_idx2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info_by_idx2(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info_by_idx2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info_by_idx2", loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_name_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_name_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_name_by_idx$descriptor() { return H5Lget_name_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_name_by_idx$handle() { return H5Lget_name_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_name_by_idx$address() { return H5Lget_name_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static long H5Lget_name_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment name, long size, long lapl_id)
+ {
+ var mh$ = H5Lget_name_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_name_by_idx", loc_id, group_name, idx_type, order, n, name, size,
+ lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, group_name, idx_type, order, n, name, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Literate2$descriptor() { return H5Literate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Literate2$handle() { return H5Literate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Literate2$address() { return H5Literate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static int H5Literate2(long grp_id, int idx_type, int order, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Literate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate2", grp_id, idx_type, order, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Literate_async$descriptor() { return H5Literate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Literate_async$handle() { return H5Literate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Literate_async$address() { return H5Literate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Literate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long group_id, int idx_type, int order, MemorySegment idx_p,
+ MemorySegment op, MemorySegment op_data, long es_id)
+ {
+ var mh$ = H5Literate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate_async", app_file, app_func, app_line, group_id, idx_type, order,
+ idx_p, op, op_data, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, group_id, idx_type, order, idx_p, op,
+ op_data, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate_by_name2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Literate_by_name2$descriptor() { return H5Literate_by_name2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Literate_by_name2$handle() { return H5Literate_by_name2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Literate_by_name2$address() { return H5Literate_by_name2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Literate_by_name2(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment idx, MemorySegment op, MemorySegment op_data,
+ long lapl_id)
+ {
+ var mh$ = H5Literate_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate_by_name2", loc_id, group_name, idx_type, order, idx, op, op_data,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, idx, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit2$descriptor() { return H5Lvisit2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static MethodHandle H5Lvisit2$handle() { return H5Lvisit2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static MemorySegment H5Lvisit2$address() { return H5Lvisit2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static int H5Lvisit2(long grp_id, int idx_type, int order, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Lvisit2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit2", grp_id, idx_type, order, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit_by_name2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit_by_name2$descriptor() { return H5Lvisit_by_name2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lvisit_by_name2$handle() { return H5Lvisit_by_name2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lvisit_by_name2$address() { return H5Lvisit_by_name2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lvisit_by_name2(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment op, MemorySegment op_data, long lapl_id)
+ {
+ var mh$ = H5Lvisit_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit_by_name2", loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_ud {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_ud");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_ud$descriptor() { return H5Lcreate_ud.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_ud$handle() { return H5Lcreate_ud.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_ud$address() { return H5Lcreate_ud.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_ud(long link_loc_id, MemorySegment link_name, int link_type,
+ MemorySegment udata, long udata_size, long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_ud.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_ud", link_loc_id, link_name, link_type, udata, udata_size, lcpl_id,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(link_loc_id, link_name, link_type, udata, udata_size, lcpl_id,
+ lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lis_registered {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lis_registered");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Lis_registered$descriptor() { return H5Lis_registered.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static MethodHandle H5Lis_registered$handle() { return H5Lis_registered.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static MemorySegment H5Lis_registered$address() { return H5Lis_registered.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static int H5Lis_registered(int id)
+ {
+ var mh$ = H5Lis_registered.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lis_registered", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lunpack_elink_val {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lunpack_elink_val");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static FunctionDescriptor H5Lunpack_elink_val$descriptor() { return H5Lunpack_elink_val.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static MethodHandle H5Lunpack_elink_val$handle() { return H5Lunpack_elink_val.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static MemorySegment H5Lunpack_elink_val$address() { return H5Lunpack_elink_val.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static int H5Lunpack_elink_val(MemorySegment ext_linkval, long link_size, MemorySegment flags,
+ MemorySegment filename, MemorySegment obj_path)
+ {
+ var mh$ = H5Lunpack_elink_val.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lunpack_elink_val", ext_linkval, link_size, flags, filename, obj_path);
+ }
+ return (int)mh$.invokeExact(ext_linkval, link_size, flags, filename, obj_path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_external {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_external");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_external$descriptor() { return H5Lcreate_external.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_external$handle() { return H5Lcreate_external.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_external$address() { return H5Lcreate_external.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_external(MemorySegment file_name, MemorySegment obj_name, long link_loc_id,
+ MemorySegment link_name, long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_external.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_external", file_name, obj_name, link_loc_id, link_name, lcpl_id,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(file_name, obj_name, link_loc_id, link_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info1$descriptor() { return H5Lget_info1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info1$handle() { return H5Lget_info1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info1$address() { return H5Lget_info1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info1(long loc_id, MemorySegment name, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info1", loc_id, name, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info_by_idx1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info_by_idx1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info_by_idx1$descriptor() { return H5Lget_info_by_idx1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info_by_idx1$handle() { return H5Lget_info_by_idx1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info_by_idx1$address() { return H5Lget_info_by_idx1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info_by_idx1(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info_by_idx1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info_by_idx1", loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Literate1$descriptor() { return H5Literate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Literate1$handle() { return H5Literate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Literate1$address() { return H5Literate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static int H5Literate1(long grp_id, int idx_type, int order, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Literate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate1", grp_id, idx_type, order, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate_by_name1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Literate_by_name1$descriptor() { return H5Literate_by_name1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Literate_by_name1$handle() { return H5Literate_by_name1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Literate_by_name1$address() { return H5Literate_by_name1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Literate_by_name1(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment idx, MemorySegment op, MemorySegment op_data,
+ long lapl_id)
+ {
+ var mh$ = H5Literate_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate_by_name1", loc_id, group_name, idx_type, order, idx, op, op_data,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, idx, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit1$descriptor() { return H5Lvisit1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static MethodHandle H5Lvisit1$handle() { return H5Lvisit1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static MemorySegment H5Lvisit1$address() { return H5Lvisit1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static int H5Lvisit1(long grp_id, int idx_type, int order, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Lvisit1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit1", grp_id, idx_type, order, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit_by_name1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit_by_name1$descriptor() { return H5Lvisit_by_name1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lvisit_by_name1$handle() { return H5Lvisit_by_name1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lvisit_by_name1$address() { return H5Lvisit_by_name1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lvisit_by_name1(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment op, MemorySegment op_data, long lapl_id)
+ {
+ var mh$ = H5Lvisit_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit_by_name1", loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5G_STORAGE_TYPE_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_UNKNOWN = -1
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_UNKNOWN() { return H5G_STORAGE_TYPE_UNKNOWN; }
+ private static final int H5G_STORAGE_TYPE_SYMBOL_TABLE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_SYMBOL_TABLE = 0
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_SYMBOL_TABLE() { return H5G_STORAGE_TYPE_SYMBOL_TABLE; }
+ private static final int H5G_STORAGE_TYPE_COMPACT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_COMPACT = 1
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_COMPACT() { return H5G_STORAGE_TYPE_COMPACT; }
+ private static final int H5G_STORAGE_TYPE_DENSE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_DENSE = 2
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_DENSE() { return H5G_STORAGE_TYPE_DENSE; }
+
+ private static class H5Gcreate2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate2$descriptor() { return H5Gcreate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MethodHandle H5Gcreate2$handle() { return H5Gcreate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MemorySegment H5Gcreate2$address() { return H5Gcreate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static long H5Gcreate2(long loc_id, MemorySegment name, long lcpl_id, long gcpl_id, long gapl_id)
+ {
+ var mh$ = H5Gcreate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate2", loc_id, name, lcpl_id, gcpl_id, gapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, lcpl_id, gcpl_id, gapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gcreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate_async$descriptor() { return H5Gcreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gcreate_async$handle() { return H5Gcreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gcreate_async$address() { return H5Gcreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Gcreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lcpl_id, long gcpl_id,
+ long gapl_id, long es_id)
+ {
+ var mh$ = H5Gcreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate_async", app_file, app_func, app_line, loc_id, name, lcpl_id, gcpl_id,
+ gapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lcpl_id, gcpl_id,
+ gapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gcreate_anon {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate_anon");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate_anon$descriptor() { return H5Gcreate_anon.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MethodHandle H5Gcreate_anon$handle() { return H5Gcreate_anon.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MemorySegment H5Gcreate_anon$address() { return H5Gcreate_anon.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static long H5Gcreate_anon(long loc_id, long gcpl_id, long gapl_id)
+ {
+ var mh$ = H5Gcreate_anon.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate_anon", loc_id, gcpl_id, gapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, gcpl_id, gapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gopen2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gopen2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gopen2$descriptor() { return H5Gopen2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static MethodHandle H5Gopen2$handle() { return H5Gopen2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static MemorySegment H5Gopen2$address() { return H5Gopen2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static long H5Gopen2(long loc_id, MemorySegment name, long gapl_id)
+ {
+ var mh$ = H5Gopen2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gopen2", loc_id, name, gapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, gapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gopen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gopen_async$descriptor() { return H5Gopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gopen_async$handle() { return H5Gopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gopen_async$address() { return H5Gopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Gopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long gapl_id, long es_id)
+ {
+ var mh$ = H5Gopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gopen_async", app_file, app_func, app_line, loc_id, name, gapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, gapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_create_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_create_plist$descriptor() { return H5Gget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Gget_create_plist$handle() { return H5Gget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Gget_create_plist$address() { return H5Gget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static long H5Gget_create_plist(long group_id)
+ {
+ var mh$ = H5Gget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_create_plist", group_id);
+ }
+ return (long)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info$descriptor() { return H5Gget_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static MethodHandle H5Gget_info$handle() { return H5Gget_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static MemorySegment H5Gget_info$address() { return H5Gget_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static int H5Gget_info(long loc_id, MemorySegment ginfo)
+ {
+ var mh$ = H5Gget_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info", loc_id, ginfo);
+ }
+ return (int)mh$.invokeExact(loc_id, ginfo);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_async$descriptor() { return H5Gget_info_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_async$handle() { return H5Gget_info_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_async$address() { return H5Gget_info_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static int H5Gget_info_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment ginfo, long es_id)
+ {
+ var mh$ = H5Gget_info_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_async", app_file, app_func, app_line, loc_id, ginfo, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, ginfo, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_name$descriptor() { return H5Gget_info_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_name$handle() { return H5Gget_info_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_name$address() { return H5Gget_info_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Gget_info_by_name(long loc_id, MemorySegment name, MemorySegment ginfo, long lapl_id)
+ {
+ var mh$ = H5Gget_info_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_name", loc_id, name, ginfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, ginfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_name_async$descriptor()
+ {
+ return H5Gget_info_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_name_async$handle() { return H5Gget_info_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_name_async$address() { return H5Gget_info_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Gget_info_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, MemorySegment ginfo,
+ long lapl_id, long es_id)
+ {
+ var mh$ = H5Gget_info_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_name_async", app_file, app_func, app_line, loc_id, name, ginfo,
+ lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, ginfo, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_idx$descriptor() { return H5Gget_info_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_idx$handle() { return H5Gget_info_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_idx$address() { return H5Gget_info_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Gget_info_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment ginfo, long lapl_id)
+ {
+ var mh$ = H5Gget_info_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_idx", loc_id, group_name, idx_type, order, n, ginfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, ginfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_idx_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_idx_async$descriptor()
+ {
+ return H5Gget_info_by_idx_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_idx_async$handle() { return H5Gget_info_by_idx_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_idx_async$address() { return H5Gget_info_by_idx_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Gget_info_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment ginfo, long lapl_id, long es_id)
+ {
+ var mh$ = H5Gget_info_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_idx_async", app_file, app_func, app_line, loc_id, group_name,
+ idx_type, order, n, ginfo, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, group_name, idx_type, order, n,
+ ginfo, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gflush$descriptor() { return H5Gflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Gflush$handle() { return H5Gflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Gflush$address() { return H5Gflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static int H5Gflush(long group_id)
+ {
+ var mh$ = H5Gflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gflush", group_id);
+ }
+ return (int)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Grefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Grefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Grefresh$descriptor() { return H5Grefresh.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Grefresh$handle() { return H5Grefresh.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Grefresh$address() { return H5Grefresh.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static int H5Grefresh(long group_id)
+ {
+ var mh$ = H5Grefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Grefresh", group_id);
+ }
+ return (int)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gclose$descriptor() { return H5Gclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Gclose$handle() { return H5Gclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Gclose$address() { return H5Gclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static int H5Gclose(long group_id)
+ {
+ var mh$ = H5Gclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gclose", group_id);
+ }
+ return (int)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gclose_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gclose_async$descriptor() { return H5Gclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gclose_async$handle() { return H5Gclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gclose_async$address() { return H5Gclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static int H5Gclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long group_id, long es_id)
+ {
+ var mh$ = H5Gclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gclose_async", app_file, app_func, app_line, group_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, group_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5G_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_UNKNOWN = -1
+ * }
+ */
+ public static int H5G_UNKNOWN() { return H5G_UNKNOWN; }
+ private static final int H5G_GROUP = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_GROUP = 0
+ * }
+ */
+ public static int H5G_GROUP() { return H5G_GROUP; }
+ private static final int H5G_DATASET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_DATASET = 1
+ * }
+ */
+ public static int H5G_DATASET() { return H5G_DATASET; }
+ private static final int H5G_TYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_TYPE = 2
+ * }
+ */
+ public static int H5G_TYPE() { return H5G_TYPE; }
+ private static final int H5G_LINK = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_LINK = 3
+ * }
+ */
+ public static int H5G_LINK() { return H5G_LINK; }
+ private static final int H5G_UDLINK = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_UDLINK = 4
+ * }
+ */
+ public static int H5G_UDLINK() { return H5G_UDLINK; }
+ private static final int H5G_RESERVED_5 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_RESERVED_5 = 5
+ * }
+ */
+ public static int H5G_RESERVED_5() { return H5G_RESERVED_5; }
+ private static final int H5G_RESERVED_6 = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_RESERVED_6 = 6
+ * }
+ */
+ public static int H5G_RESERVED_6() { return H5G_RESERVED_6; }
+ private static final int H5G_RESERVED_7 = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_RESERVED_7 = 7
+ * }
+ */
+ public static int H5G_RESERVED_7() { return H5G_RESERVED_7; }
+
+ private static class H5Gcreate1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate1$descriptor() { return H5Gcreate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static MethodHandle H5Gcreate1$handle() { return H5Gcreate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static MemorySegment H5Gcreate1$address() { return H5Gcreate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static long H5Gcreate1(long loc_id, MemorySegment name, long size_hint)
+ {
+ var mh$ = H5Gcreate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate1", loc_id, name, size_hint);
+ }
+ return (long)mh$.invokeExact(loc_id, name, size_hint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gopen1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gopen1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Gopen1$descriptor() { return H5Gopen1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Gopen1$handle() { return H5Gopen1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Gopen1$address() { return H5Gopen1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Gopen1(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Gopen1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gopen1", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Glink {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Glink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static FunctionDescriptor H5Glink$descriptor() { return H5Glink.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static MethodHandle H5Glink$handle() { return H5Glink.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static MemorySegment H5Glink$address() { return H5Glink.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static int H5Glink(long cur_loc_id, int type, MemorySegment cur_name, MemorySegment new_name)
+ {
+ var mh$ = H5Glink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Glink", cur_loc_id, type, cur_name, new_name);
+ }
+ return (int)mh$.invokeExact(cur_loc_id, type, cur_name, new_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Glink2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Glink2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static FunctionDescriptor H5Glink2$descriptor() { return H5Glink2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static MethodHandle H5Glink2$handle() { return H5Glink2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static MemorySegment H5Glink2$address() { return H5Glink2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static int H5Glink2(long cur_loc_id, MemorySegment cur_name, int type, long new_loc_id,
+ MemorySegment new_name)
+ {
+ var mh$ = H5Glink2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Glink2", cur_loc_id, cur_name, type, new_loc_id, new_name);
+ }
+ return (int)mh$.invokeExact(cur_loc_id, cur_name, type, new_loc_id, new_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gmove {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gmove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static FunctionDescriptor H5Gmove$descriptor() { return H5Gmove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static MethodHandle H5Gmove$handle() { return H5Gmove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static MemorySegment H5Gmove$address() { return H5Gmove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static int H5Gmove(long src_loc_id, MemorySegment src_name, MemorySegment dst_name)
+ {
+ var mh$ = H5Gmove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gmove", src_loc_id, src_name, dst_name);
+ }
+ return (int)mh$.invokeExact(src_loc_id, src_name, dst_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gmove2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gmove2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static FunctionDescriptor H5Gmove2$descriptor() { return H5Gmove2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static MethodHandle H5Gmove2$handle() { return H5Gmove2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static MemorySegment H5Gmove2$address() { return H5Gmove2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static int H5Gmove2(long src_loc_id, MemorySegment src_name, long dst_loc_id,
+ MemorySegment dst_name)
+ {
+ var mh$ = H5Gmove2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gmove2", src_loc_id, src_name, dst_loc_id, dst_name);
+ }
+ return (int)mh$.invokeExact(src_loc_id, src_name, dst_loc_id, dst_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gunlink {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gunlink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Gunlink$descriptor() { return H5Gunlink.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Gunlink$handle() { return H5Gunlink.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Gunlink$address() { return H5Gunlink.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static int H5Gunlink(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Gunlink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gunlink", loc_id, name);
+ }
+ return (int)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_linkval {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_linkval");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_linkval$descriptor() { return H5Gget_linkval.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static MethodHandle H5Gget_linkval$handle() { return H5Gget_linkval.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static MemorySegment H5Gget_linkval$address() { return H5Gget_linkval.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static int H5Gget_linkval(long loc_id, MemorySegment name, long size, MemorySegment buf)
+ {
+ var mh$ = H5Gget_linkval.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_linkval", loc_id, name, size, buf);
+ }
+ return (int)mh$.invokeExact(loc_id, name, size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gset_comment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gset_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static FunctionDescriptor H5Gset_comment$descriptor() { return H5Gset_comment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static MethodHandle H5Gset_comment$handle() { return H5Gset_comment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static MemorySegment H5Gset_comment$address() { return H5Gset_comment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static int H5Gset_comment(long loc_id, MemorySegment name, MemorySegment comment)
+ {
+ var mh$ = H5Gset_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gset_comment", loc_id, name, comment);
+ }
+ return (int)mh$.invokeExact(loc_id, name, comment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_comment {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_comment$descriptor() { return H5Gget_comment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static MethodHandle H5Gget_comment$handle() { return H5Gget_comment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static MemorySegment H5Gget_comment$address() { return H5Gget_comment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static int H5Gget_comment(long loc_id, MemorySegment name, long bufsize, MemorySegment buf)
+ {
+ var mh$ = H5Gget_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_comment", loc_id, name, bufsize, buf);
+ }
+ return (int)mh$.invokeExact(loc_id, name, bufsize, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Giterate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Giterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Giterate$descriptor() { return H5Giterate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Giterate$handle() { return H5Giterate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Giterate$address() { return H5Giterate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static int H5Giterate(long loc_id, MemorySegment name, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Giterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Giterate", loc_id, name, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(loc_id, name, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_num_objs {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_num_objs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_num_objs$descriptor() { return H5Gget_num_objs.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static MethodHandle H5Gget_num_objs$handle() { return H5Gget_num_objs.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static MemorySegment H5Gget_num_objs$address() { return H5Gget_num_objs.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static int H5Gget_num_objs(long loc_id, MemorySegment num_objs)
+ {
+ var mh$ = H5Gget_num_objs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_num_objs", loc_id, num_objs);
+ }
+ return (int)mh$.invokeExact(loc_id, num_objs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_objinfo {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_BOOL, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_objinfo");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_objinfo$descriptor() { return H5Gget_objinfo.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static MethodHandle H5Gget_objinfo$handle() { return H5Gget_objinfo.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static MemorySegment H5Gget_objinfo$address() { return H5Gget_objinfo.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static int H5Gget_objinfo(long loc_id, MemorySegment name, boolean follow_link,
+ MemorySegment statbuf)
+ {
+ var mh$ = H5Gget_objinfo.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_objinfo", loc_id, name, follow_link, statbuf);
+ }
+ return (int)mh$.invokeExact(loc_id, name, follow_link, statbuf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_objname_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_objname_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_objname_by_idx$descriptor() { return H5Gget_objname_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Gget_objname_by_idx$handle() { return H5Gget_objname_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Gget_objname_by_idx$address() { return H5Gget_objname_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static long H5Gget_objname_by_idx(long loc_id, long idx, MemorySegment name, long size)
+ {
+ var mh$ = H5Gget_objname_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_objname_by_idx", loc_id, idx, name, size);
+ }
+ return (long)mh$.invokeExact(loc_id, idx, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_objtype_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_objtype_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_objtype_by_idx$descriptor() { return H5Gget_objtype_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static MethodHandle H5Gget_objtype_by_idx$handle() { return H5Gget_objtype_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static MemorySegment H5Gget_objtype_by_idx$address() { return H5Gget_objtype_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static int H5Gget_objtype_by_idx(long loc_id, long idx)
+ {
+ var mh$ = H5Gget_objtype_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_objtype_by_idx", loc_id, idx);
+ }
+ return (int)mh$.invokeExact(loc_id, idx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_class_value_t
+ * }
+ */
+ public static final OfInt H5VL_class_value_t = hdf5_h.C_INT;
+ private static final int H5VL_SUBCLS_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_NONE = 0
+ * }
+ */
+ public static int H5VL_SUBCLS_NONE() { return H5VL_SUBCLS_NONE; }
+ private static final int H5VL_SUBCLS_INFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_INFO = 1
+ * }
+ */
+ public static int H5VL_SUBCLS_INFO() { return H5VL_SUBCLS_INFO; }
+ private static final int H5VL_SUBCLS_WRAP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_WRAP = 2
+ * }
+ */
+ public static int H5VL_SUBCLS_WRAP() { return H5VL_SUBCLS_WRAP; }
+ private static final int H5VL_SUBCLS_ATTR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_ATTR = 3
+ * }
+ */
+ public static int H5VL_SUBCLS_ATTR() { return H5VL_SUBCLS_ATTR; }
+ private static final int H5VL_SUBCLS_DATASET = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_DATASET = 4
+ * }
+ */
+ public static int H5VL_SUBCLS_DATASET() { return H5VL_SUBCLS_DATASET; }
+ private static final int H5VL_SUBCLS_DATATYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_DATATYPE = 5
+ * }
+ */
+ public static int H5VL_SUBCLS_DATATYPE() { return H5VL_SUBCLS_DATATYPE; }
+ private static final int H5VL_SUBCLS_FILE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_FILE = 6
+ * }
+ */
+ public static int H5VL_SUBCLS_FILE() { return H5VL_SUBCLS_FILE; }
+ private static final int H5VL_SUBCLS_GROUP = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_GROUP = 7
+ * }
+ */
+ public static int H5VL_SUBCLS_GROUP() { return H5VL_SUBCLS_GROUP; }
+ private static final int H5VL_SUBCLS_LINK = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_LINK = 8
+ * }
+ */
+ public static int H5VL_SUBCLS_LINK() { return H5VL_SUBCLS_LINK; }
+ private static final int H5VL_SUBCLS_OBJECT = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_OBJECT = 9
+ * }
+ */
+ public static int H5VL_SUBCLS_OBJECT() { return H5VL_SUBCLS_OBJECT; }
+ private static final int H5VL_SUBCLS_REQUEST = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_REQUEST = 10
+ * }
+ */
+ public static int H5VL_SUBCLS_REQUEST() { return H5VL_SUBCLS_REQUEST; }
+ private static final int H5VL_SUBCLS_BLOB = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_BLOB = 11
+ * }
+ */
+ public static int H5VL_SUBCLS_BLOB() { return H5VL_SUBCLS_BLOB; }
+ private static final int H5VL_SUBCLS_TOKEN = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_TOKEN = 12
+ * }
+ */
+ public static int H5VL_SUBCLS_TOKEN() { return H5VL_SUBCLS_TOKEN; }
+
+ private static class H5VLregister_connector_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_connector_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_connector_by_name$descriptor()
+ {
+ return H5VLregister_connector_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLregister_connector_by_name$handle()
+ {
+ return H5VLregister_connector_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLregister_connector_by_name$address()
+ {
+ return H5VLregister_connector_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static long H5VLregister_connector_by_name(MemorySegment connector_name, long vipl_id)
+ {
+ var mh$ = H5VLregister_connector_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_connector_by_name", connector_name, vipl_id);
+ }
+ return (long)mh$.invokeExact(connector_name, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLregister_connector_by_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_connector_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_connector_by_value$descriptor()
+ {
+ return H5VLregister_connector_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLregister_connector_by_value$handle()
+ {
+ return H5VLregister_connector_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLregister_connector_by_value$address()
+ {
+ return H5VLregister_connector_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static long H5VLregister_connector_by_value(int connector_value, long vipl_id)
+ {
+ var mh$ = H5VLregister_connector_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_connector_by_value", connector_value, vipl_id);
+ }
+ return (long)mh$.invokeExact(connector_value, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLis_connector_registered_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLis_connector_registered_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5VLis_connector_registered_by_name$descriptor()
+ {
+ return H5VLis_connector_registered_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static MethodHandle H5VLis_connector_registered_by_name$handle()
+ {
+ return H5VLis_connector_registered_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static MemorySegment H5VLis_connector_registered_by_name$address()
+ {
+ return H5VLis_connector_registered_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static int H5VLis_connector_registered_by_name(MemorySegment name)
+ {
+ var mh$ = H5VLis_connector_registered_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLis_connector_registered_by_name", name);
+ }
+ return (int)mh$.invokeExact(name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLis_connector_registered_by_value {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLis_connector_registered_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLis_connector_registered_by_value$descriptor()
+ {
+ return H5VLis_connector_registered_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MethodHandle H5VLis_connector_registered_by_value$handle()
+ {
+ return H5VLis_connector_registered_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MemorySegment H5VLis_connector_registered_by_value$address()
+ {
+ return H5VLis_connector_registered_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static int H5VLis_connector_registered_by_value(int connector_value)
+ {
+ var mh$ = H5VLis_connector_registered_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLis_connector_registered_by_value", connector_value);
+ }
+ return (int)mh$.invokeExact(connector_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_id {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_id");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_id$descriptor() { return H5VLget_connector_id.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_id$handle() { return H5VLget_connector_id.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_id$address() { return H5VLget_connector_id.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static long H5VLget_connector_id(long obj_id)
+ {
+ var mh$ = H5VLget_connector_id.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_id", obj_id);
+ }
+ return (long)mh$.invokeExact(obj_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_id_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_id_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_id_by_name$descriptor()
+ {
+ return H5VLget_connector_id_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_id_by_name$handle()
+ {
+ return H5VLget_connector_id_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_id_by_name$address()
+ {
+ return H5VLget_connector_id_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static long H5VLget_connector_id_by_name(MemorySegment name)
+ {
+ var mh$ = H5VLget_connector_id_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_id_by_name", name);
+ }
+ return (long)mh$.invokeExact(name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_id_by_value {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_id_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_id_by_value$descriptor()
+ {
+ return H5VLget_connector_id_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_id_by_value$handle()
+ {
+ return H5VLget_connector_id_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_id_by_value$address()
+ {
+ return H5VLget_connector_id_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static long H5VLget_connector_id_by_value(int connector_value)
+ {
+ var mh$ = H5VLget_connector_id_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_id_by_value", connector_value);
+ }
+ return (long)mh$.invokeExact(connector_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_name$descriptor()
+ {
+ return H5VLget_connector_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_name$handle() { return H5VLget_connector_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_name$address() { return H5VLget_connector_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static long H5VLget_connector_name(long id, MemorySegment name, long size)
+ {
+ var mh$ = H5VLget_connector_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_name", id, name, size);
+ }
+ return (long)mh$.invokeExact(id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLclose$descriptor() { return H5VLclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLclose$handle() { return H5VLclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLclose$address() { return H5VLclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static int H5VLclose(long connector_id)
+ {
+ var mh$ = H5VLclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLclose", connector_id);
+ }
+ return (int)mh$.invokeExact(connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLunregister_connector {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLunregister_connector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLunregister_connector$descriptor()
+ {
+ return H5VLunregister_connector.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLunregister_connector$handle() { return H5VLunregister_connector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLunregister_connector$address() { return H5VLunregister_connector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static int H5VLunregister_connector(long connector_id)
+ {
+ var mh$ = H5VLunregister_connector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLunregister_connector", connector_id);
+ }
+ return (int)mh$.invokeExact(connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLquery_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLquery_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLquery_optional$descriptor() { return H5VLquery_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static MethodHandle H5VLquery_optional$handle() { return H5VLquery_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static MemorySegment H5VLquery_optional$address() { return H5VLquery_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static int H5VLquery_optional(long obj_id, int subcls, int opt_type, MemorySegment flags)
+ {
+ var mh$ = H5VLquery_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLquery_optional", obj_id, subcls, opt_type, flags);
+ }
+ return (int)mh$.invokeExact(obj_id, subcls, opt_type, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_is_native {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_is_native");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_is_native$descriptor() { return H5VLobject_is_native.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static MethodHandle H5VLobject_is_native$handle() { return H5VLobject_is_native.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static MemorySegment H5VLobject_is_native$address() { return H5VLobject_is_native.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static int H5VLobject_is_native(long obj_id, MemorySegment is_native)
+ {
+ var mh$ = H5VLobject_is_native.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_is_native", obj_id, is_native);
+ }
+ return (int)mh$.invokeExact(obj_id, is_native);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5R_BADTYPE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_BADTYPE = -1
+ * }
+ */
+ public static int H5R_BADTYPE() { return H5R_BADTYPE; }
+ private static final int H5R_OBJECT1 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_OBJECT1 = 0
+ * }
+ */
+ public static int H5R_OBJECT1() { return H5R_OBJECT1; }
+ private static final int H5R_DATASET_REGION1 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_DATASET_REGION1 = 1
+ * }
+ */
+ public static int H5R_DATASET_REGION1() { return H5R_DATASET_REGION1; }
+ private static final int H5R_OBJECT2 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_OBJECT2 = 2
+ * }
+ */
+ public static int H5R_OBJECT2() { return H5R_OBJECT2; }
+ private static final int H5R_DATASET_REGION2 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_DATASET_REGION2 = 3
+ * }
+ */
+ public static int H5R_DATASET_REGION2() { return H5R_DATASET_REGION2; }
+ private static final int H5R_ATTR = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_ATTR = 4
+ * }
+ */
+ public static int H5R_ATTR() { return H5R_ATTR; }
+ private static final int H5R_MAXTYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_MAXTYPE = 5
+ * }
+ */
+ public static int H5R_MAXTYPE() { return H5R_MAXTYPE; }
+ /**
+ * {@snippet lang=c :
+ * typedef haddr_t hobj_ref_t
+ * }
+ */
+ public static final OfLong hobj_ref_t = hdf5_h.C_LONG_LONG;
+
+ private static class H5Rcreate_object {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate_object$descriptor() { return H5Rcreate_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcreate_object$handle() { return H5Rcreate_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcreate_object$address() { return H5Rcreate_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static int H5Rcreate_object(long loc_id, MemorySegment name, long oapl_id, MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rcreate_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate_object", loc_id, name, oapl_id, ref_ptr);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oapl_id, ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcreate_region {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate_region");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate_region$descriptor() { return H5Rcreate_region.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcreate_region$handle() { return H5Rcreate_region.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcreate_region$address() { return H5Rcreate_region.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static int H5Rcreate_region(long loc_id, MemorySegment name, long space_id, long oapl_id,
+ MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rcreate_region.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate_region", loc_id, name, space_id, oapl_id, ref_ptr);
+ }
+ return (int)mh$.invokeExact(loc_id, name, space_id, oapl_id, ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcreate_attr {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate_attr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate_attr$descriptor() { return H5Rcreate_attr.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcreate_attr$handle() { return H5Rcreate_attr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcreate_attr$address() { return H5Rcreate_attr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static int H5Rcreate_attr(long loc_id, MemorySegment name, MemorySegment attr_name, long oapl_id,
+ MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rcreate_attr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate_attr", loc_id, name, attr_name, oapl_id, ref_ptr);
+ }
+ return (int)mh$.invokeExact(loc_id, name, attr_name, oapl_id, ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rdestroy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rdestroy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rdestroy$descriptor() { return H5Rdestroy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rdestroy$handle() { return H5Rdestroy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rdestroy$address() { return H5Rdestroy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static int H5Rdestroy(MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rdestroy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rdestroy", ref_ptr);
+ }
+ return (int)mh$.invokeExact(ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_type$descriptor() { return H5Rget_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rget_type$handle() { return H5Rget_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rget_type$address() { return H5Rget_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static int H5Rget_type(MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_type", ref_ptr);
+ }
+ return (int)mh$.invokeExact(ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Requal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Requal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Requal$descriptor() { return H5Requal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static MethodHandle H5Requal$handle() { return H5Requal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static MemorySegment H5Requal$address() { return H5Requal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static int H5Requal(MemorySegment ref1_ptr, MemorySegment ref2_ptr)
+ {
+ var mh$ = H5Requal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Requal", ref1_ptr, ref2_ptr);
+ }
+ return (int)mh$.invokeExact(ref1_ptr, ref2_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcopy$descriptor() { return H5Rcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcopy$handle() { return H5Rcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcopy$address() { return H5Rcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static int H5Rcopy(MemorySegment src_ref_ptr, MemorySegment dst_ref_ptr)
+ {
+ var mh$ = H5Rcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcopy", src_ref_ptr, dst_ref_ptr);
+ }
+ return (int)mh$.invokeExact(src_ref_ptr, dst_ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_object {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_object$descriptor() { return H5Ropen_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_object$handle() { return H5Ropen_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_object$address() { return H5Ropen_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static long H5Ropen_object(MemorySegment ref_ptr, long rapl_id, long oapl_id)
+ {
+ var mh$ = H5Ropen_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_object", ref_ptr, rapl_id, oapl_id);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, oapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_object_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_object_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_object_async$descriptor() { return H5Ropen_object_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_object_async$handle() { return H5Ropen_object_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_object_async$address() { return H5Ropen_object_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Ropen_object_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment ref_ptr, long rapl_id, long oapl_id, long es_id)
+ {
+ var mh$ = H5Ropen_object_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_object_async", app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_region {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_region");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_region$descriptor() { return H5Ropen_region.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_region$handle() { return H5Ropen_region.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_region$address() { return H5Ropen_region.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static long H5Ropen_region(MemorySegment ref_ptr, long rapl_id, long oapl_id)
+ {
+ var mh$ = H5Ropen_region.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_region", ref_ptr, rapl_id, oapl_id);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, oapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_region_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_region_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_region_async$descriptor() { return H5Ropen_region_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_region_async$handle() { return H5Ropen_region_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_region_async$address() { return H5Ropen_region_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Ropen_region_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment ref_ptr, long rapl_id, long oapl_id, long es_id)
+ {
+ var mh$ = H5Ropen_region_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_region_async", app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_attr {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_attr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_attr$descriptor() { return H5Ropen_attr.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_attr$handle() { return H5Ropen_attr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_attr$address() { return H5Ropen_attr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static long H5Ropen_attr(MemorySegment ref_ptr, long rapl_id, long aapl_id)
+ {
+ var mh$ = H5Ropen_attr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_attr", ref_ptr, rapl_id, aapl_id);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, aapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_attr_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_attr_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_attr_async$descriptor() { return H5Ropen_attr_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_attr_async$handle() { return H5Ropen_attr_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_attr_async$address() { return H5Ropen_attr_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Ropen_attr_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment ref_ptr, long rapl_id, long aapl_id, long es_id)
+ {
+ var mh$ = H5Ropen_attr_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_attr_async", app_file, app_func, app_line, ref_ptr, rapl_id, aapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, ref_ptr, rapl_id, aapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_type3 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_type3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_type3$descriptor() { return H5Rget_obj_type3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_type3$handle() { return H5Rget_obj_type3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_type3$address() { return H5Rget_obj_type3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static int H5Rget_obj_type3(MemorySegment ref_ptr, long rapl_id, MemorySegment obj_type)
+ {
+ var mh$ = H5Rget_obj_type3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_type3", ref_ptr, rapl_id, obj_type);
+ }
+ return (int)mh$.invokeExact(ref_ptr, rapl_id, obj_type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_file_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_file_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_file_name$descriptor() { return H5Rget_file_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_file_name$handle() { return H5Rget_file_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_file_name$address() { return H5Rget_file_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_file_name(MemorySegment ref_ptr, MemorySegment name, long size)
+ {
+ var mh$ = H5Rget_file_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_file_name", ref_ptr, name, size);
+ }
+ return (long)mh$.invokeExact(ref_ptr, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_name$descriptor() { return H5Rget_obj_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_name$handle() { return H5Rget_obj_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_name$address() { return H5Rget_obj_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_obj_name(MemorySegment ref_ptr, long rapl_id, MemorySegment name, long size)
+ {
+ var mh$ = H5Rget_obj_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_name", ref_ptr, rapl_id, name, size);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_attr_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_attr_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_attr_name$descriptor() { return H5Rget_attr_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_attr_name$handle() { return H5Rget_attr_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_attr_name$address() { return H5Rget_attr_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_attr_name(MemorySegment ref_ptr, MemorySegment name, long size)
+ {
+ var mh$ = H5Rget_attr_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_attr_name", ref_ptr, name, size);
+ }
+ return (long)mh$.invokeExact(ref_ptr, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_type1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_type1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_type1$descriptor() { return H5Rget_obj_type1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_type1$handle() { return H5Rget_obj_type1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_type1$address() { return H5Rget_obj_type1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static int H5Rget_obj_type1(long id, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rget_obj_type1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_type1", id, ref_type, ref);
+ }
+ return (int)mh$.invokeExact(id, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rdereference1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rdereference1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rdereference1$descriptor() { return H5Rdereference1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rdereference1$handle() { return H5Rdereference1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rdereference1$address() { return H5Rdereference1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static long H5Rdereference1(long obj_id, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rdereference1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rdereference1", obj_id, ref_type, ref);
+ }
+ return (long)mh$.invokeExact(obj_id, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcreate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate$descriptor() { return H5Rcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Rcreate$handle() { return H5Rcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Rcreate$address() { return H5Rcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static int H5Rcreate(MemorySegment ref, long loc_id, MemorySegment name, int ref_type,
+ long space_id)
+ {
+ var mh$ = H5Rcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate", ref, loc_id, name, ref_type, space_id);
+ }
+ return (int)mh$.invokeExact(ref, loc_id, name, ref_type, space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_type2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_type2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_type2$descriptor() { return H5Rget_obj_type2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_type2$handle() { return H5Rget_obj_type2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_type2$address() { return H5Rget_obj_type2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static int H5Rget_obj_type2(long id, int ref_type, MemorySegment ref, MemorySegment obj_type)
+ {
+ var mh$ = H5Rget_obj_type2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_type2", id, ref_type, ref, obj_type);
+ }
+ return (int)mh$.invokeExact(id, ref_type, ref, obj_type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rdereference2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rdereference2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rdereference2$descriptor() { return H5Rdereference2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rdereference2$handle() { return H5Rdereference2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rdereference2$address() { return H5Rdereference2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static long H5Rdereference2(long obj_id, long oapl_id, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rdereference2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rdereference2", obj_id, oapl_id, ref_type, ref);
+ }
+ return (long)mh$.invokeExact(obj_id, oapl_id, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_region {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_region");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_region$descriptor() { return H5Rget_region.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rget_region$handle() { return H5Rget_region.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rget_region$address() { return H5Rget_region.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static long H5Rget_region(long dataset, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rget_region.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_region", dataset, ref_type, ref);
+ }
+ return (long)mh$.invokeExact(dataset, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_name$descriptor() { return H5Rget_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_name$handle() { return H5Rget_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_name$address() { return H5Rget_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_name(long loc_id, int ref_type, MemorySegment ref, MemorySegment name,
+ long size)
+ {
+ var mh$ = H5Rget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_name", loc_id, ref_type, ref, name, size);
+ }
+ return (long)mh$.invokeExact(loc_id, ref_type, ref, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5VL_OBJECT_BY_SELF = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_SELF = 0
+ * }
+ */
+ public static int H5VL_OBJECT_BY_SELF() { return H5VL_OBJECT_BY_SELF; }
+ private static final int H5VL_OBJECT_BY_NAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_NAME = 1
+ * }
+ */
+ public static int H5VL_OBJECT_BY_NAME() { return H5VL_OBJECT_BY_NAME; }
+ private static final int H5VL_OBJECT_BY_IDX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_IDX = 2
+ * }
+ */
+ public static int H5VL_OBJECT_BY_IDX() { return H5VL_OBJECT_BY_IDX; }
+ private static final int H5VL_OBJECT_BY_TOKEN = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_TOKEN = 3
+ * }
+ */
+ public static int H5VL_OBJECT_BY_TOKEN() { return H5VL_OBJECT_BY_TOKEN; }
+ private static final int H5VL_ATTR_GET_ACPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_ACPL = 0
+ * }
+ */
+ public static int H5VL_ATTR_GET_ACPL() { return H5VL_ATTR_GET_ACPL; }
+ private static final int H5VL_ATTR_GET_INFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_INFO = 1
+ * }
+ */
+ public static int H5VL_ATTR_GET_INFO() { return H5VL_ATTR_GET_INFO; }
+ private static final int H5VL_ATTR_GET_NAME = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_NAME = 2
+ * }
+ */
+ public static int H5VL_ATTR_GET_NAME() { return H5VL_ATTR_GET_NAME; }
+ private static final int H5VL_ATTR_GET_SPACE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_SPACE = 3
+ * }
+ */
+ public static int H5VL_ATTR_GET_SPACE() { return H5VL_ATTR_GET_SPACE; }
+ private static final int H5VL_ATTR_GET_STORAGE_SIZE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_STORAGE_SIZE = 4
+ * }
+ */
+ public static int H5VL_ATTR_GET_STORAGE_SIZE() { return H5VL_ATTR_GET_STORAGE_SIZE; }
+ private static final int H5VL_ATTR_GET_TYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_TYPE = 5
+ * }
+ */
+ public static int H5VL_ATTR_GET_TYPE() { return H5VL_ATTR_GET_TYPE; }
+ private static final int H5VL_ATTR_DELETE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_DELETE = 0
+ * }
+ */
+ public static int H5VL_ATTR_DELETE() { return H5VL_ATTR_DELETE; }
+ private static final int H5VL_ATTR_DELETE_BY_IDX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_DELETE_BY_IDX = 1
+ * }
+ */
+ public static int H5VL_ATTR_DELETE_BY_IDX() { return H5VL_ATTR_DELETE_BY_IDX; }
+ private static final int H5VL_ATTR_EXISTS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_EXISTS = 2
+ * }
+ */
+ public static int H5VL_ATTR_EXISTS() { return H5VL_ATTR_EXISTS; }
+ private static final int H5VL_ATTR_ITER = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_ITER = 3
+ * }
+ */
+ public static int H5VL_ATTR_ITER() { return H5VL_ATTR_ITER; }
+ private static final int H5VL_ATTR_RENAME = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_RENAME = 4
+ * }
+ */
+ public static int H5VL_ATTR_RENAME() { return H5VL_ATTR_RENAME; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_attr_optional_t
+ * }
+ */
+ public static final OfInt H5VL_attr_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_DATASET_GET_DAPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_DAPL = 0
+ * }
+ */
+ public static int H5VL_DATASET_GET_DAPL() { return H5VL_DATASET_GET_DAPL; }
+ private static final int H5VL_DATASET_GET_DCPL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_DCPL = 1
+ * }
+ */
+ public static int H5VL_DATASET_GET_DCPL() { return H5VL_DATASET_GET_DCPL; }
+ private static final int H5VL_DATASET_GET_SPACE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_SPACE = 2
+ * }
+ */
+ public static int H5VL_DATASET_GET_SPACE() { return H5VL_DATASET_GET_SPACE; }
+ private static final int H5VL_DATASET_GET_SPACE_STATUS = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_SPACE_STATUS = 3
+ * }
+ */
+ public static int H5VL_DATASET_GET_SPACE_STATUS() { return H5VL_DATASET_GET_SPACE_STATUS; }
+ private static final int H5VL_DATASET_GET_STORAGE_SIZE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_STORAGE_SIZE = 4
+ * }
+ */
+ public static int H5VL_DATASET_GET_STORAGE_SIZE() { return H5VL_DATASET_GET_STORAGE_SIZE; }
+ private static final int H5VL_DATASET_GET_TYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_TYPE = 5
+ * }
+ */
+ public static int H5VL_DATASET_GET_TYPE() { return H5VL_DATASET_GET_TYPE; }
+ private static final int H5VL_DATASET_SET_EXTENT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_specific_t.H5VL_DATASET_SET_EXTENT = 0
+ * }
+ */
+ public static int H5VL_DATASET_SET_EXTENT() { return H5VL_DATASET_SET_EXTENT; }
+ private static final int H5VL_DATASET_FLUSH = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_specific_t.H5VL_DATASET_FLUSH = 1
+ * }
+ */
+ public static int H5VL_DATASET_FLUSH() { return H5VL_DATASET_FLUSH; }
+ private static final int H5VL_DATASET_REFRESH = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_specific_t.H5VL_DATASET_REFRESH = 2
+ * }
+ */
+ public static int H5VL_DATASET_REFRESH() { return H5VL_DATASET_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_dataset_optional_t
+ * }
+ */
+ public static final OfInt H5VL_dataset_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_DATATYPE_GET_BINARY_SIZE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_get_t.H5VL_DATATYPE_GET_BINARY_SIZE = 0
+ * }
+ */
+ public static int H5VL_DATATYPE_GET_BINARY_SIZE() { return H5VL_DATATYPE_GET_BINARY_SIZE; }
+ private static final int H5VL_DATATYPE_GET_BINARY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_get_t.H5VL_DATATYPE_GET_BINARY = 1
+ * }
+ */
+ public static int H5VL_DATATYPE_GET_BINARY() { return H5VL_DATATYPE_GET_BINARY; }
+ private static final int H5VL_DATATYPE_GET_TCPL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_get_t.H5VL_DATATYPE_GET_TCPL = 2
+ * }
+ */
+ public static int H5VL_DATATYPE_GET_TCPL() { return H5VL_DATATYPE_GET_TCPL; }
+ private static final int H5VL_DATATYPE_FLUSH = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_specific_t.H5VL_DATATYPE_FLUSH = 0
+ * }
+ */
+ public static int H5VL_DATATYPE_FLUSH() { return H5VL_DATATYPE_FLUSH; }
+ private static final int H5VL_DATATYPE_REFRESH = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_specific_t.H5VL_DATATYPE_REFRESH = 1
+ * }
+ */
+ public static int H5VL_DATATYPE_REFRESH() { return H5VL_DATATYPE_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_datatype_optional_t
+ * }
+ */
+ public static final OfInt H5VL_datatype_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_FILE_GET_CONT_INFO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_CONT_INFO = 0
+ * }
+ */
+ public static int H5VL_FILE_GET_CONT_INFO() { return H5VL_FILE_GET_CONT_INFO; }
+ private static final int H5VL_FILE_GET_FAPL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_FAPL = 1
+ * }
+ */
+ public static int H5VL_FILE_GET_FAPL() { return H5VL_FILE_GET_FAPL; }
+ private static final int H5VL_FILE_GET_FCPL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_FCPL = 2
+ * }
+ */
+ public static int H5VL_FILE_GET_FCPL() { return H5VL_FILE_GET_FCPL; }
+ private static final int H5VL_FILE_GET_FILENO = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_FILENO = 3
+ * }
+ */
+ public static int H5VL_FILE_GET_FILENO() { return H5VL_FILE_GET_FILENO; }
+ private static final int H5VL_FILE_GET_INTENT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_INTENT = 4
+ * }
+ */
+ public static int H5VL_FILE_GET_INTENT() { return H5VL_FILE_GET_INTENT; }
+ private static final int H5VL_FILE_GET_NAME = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_NAME = 5
+ * }
+ */
+ public static int H5VL_FILE_GET_NAME() { return H5VL_FILE_GET_NAME; }
+ private static final int H5VL_FILE_GET_OBJ_COUNT = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_OBJ_COUNT = 6
+ * }
+ */
+ public static int H5VL_FILE_GET_OBJ_COUNT() { return H5VL_FILE_GET_OBJ_COUNT; }
+ private static final int H5VL_FILE_GET_OBJ_IDS = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_OBJ_IDS = 7
+ * }
+ */
+ public static int H5VL_FILE_GET_OBJ_IDS() { return H5VL_FILE_GET_OBJ_IDS; }
+ private static final int H5VL_FILE_FLUSH = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_FLUSH = 0
+ * }
+ */
+ public static int H5VL_FILE_FLUSH() { return H5VL_FILE_FLUSH; }
+ private static final int H5VL_FILE_REOPEN = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_REOPEN = 1
+ * }
+ */
+ public static int H5VL_FILE_REOPEN() { return H5VL_FILE_REOPEN; }
+ private static final int H5VL_FILE_IS_ACCESSIBLE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_IS_ACCESSIBLE = 2
+ * }
+ */
+ public static int H5VL_FILE_IS_ACCESSIBLE() { return H5VL_FILE_IS_ACCESSIBLE; }
+ private static final int H5VL_FILE_DELETE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_DELETE = 3
+ * }
+ */
+ public static int H5VL_FILE_DELETE() { return H5VL_FILE_DELETE; }
+ private static final int H5VL_FILE_IS_EQUAL = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_IS_EQUAL = 4
+ * }
+ */
+ public static int H5VL_FILE_IS_EQUAL() { return H5VL_FILE_IS_EQUAL; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_file_optional_t
+ * }
+ */
+ public static final OfInt H5VL_file_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_GROUP_GET_GCPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_get_t.H5VL_GROUP_GET_GCPL = 0
+ * }
+ */
+ public static int H5VL_GROUP_GET_GCPL() { return H5VL_GROUP_GET_GCPL; }
+ private static final int H5VL_GROUP_GET_INFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_get_t.H5VL_GROUP_GET_INFO = 1
+ * }
+ */
+ public static int H5VL_GROUP_GET_INFO() { return H5VL_GROUP_GET_INFO; }
+ private static final int H5VL_GROUP_MOUNT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_MOUNT = 0
+ * }
+ */
+ public static int H5VL_GROUP_MOUNT() { return H5VL_GROUP_MOUNT; }
+ private static final int H5VL_GROUP_UNMOUNT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_UNMOUNT = 1
+ * }
+ */
+ public static int H5VL_GROUP_UNMOUNT() { return H5VL_GROUP_UNMOUNT; }
+ private static final int H5VL_GROUP_FLUSH = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_FLUSH = 2
+ * }
+ */
+ public static int H5VL_GROUP_FLUSH() { return H5VL_GROUP_FLUSH; }
+ private static final int H5VL_GROUP_REFRESH = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_REFRESH = 3
+ * }
+ */
+ public static int H5VL_GROUP_REFRESH() { return H5VL_GROUP_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_group_optional_t
+ * }
+ */
+ public static final OfInt H5VL_group_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_LINK_CREATE_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_create_t.H5VL_LINK_CREATE_HARD = 0
+ * }
+ */
+ public static int H5VL_LINK_CREATE_HARD() { return H5VL_LINK_CREATE_HARD; }
+ private static final int H5VL_LINK_CREATE_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_create_t.H5VL_LINK_CREATE_SOFT = 1
+ * }
+ */
+ public static int H5VL_LINK_CREATE_SOFT() { return H5VL_LINK_CREATE_SOFT; }
+ private static final int H5VL_LINK_CREATE_UD = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_create_t.H5VL_LINK_CREATE_UD = 2
+ * }
+ */
+ public static int H5VL_LINK_CREATE_UD() { return H5VL_LINK_CREATE_UD; }
+ private static final int H5VL_LINK_GET_INFO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_get_t.H5VL_LINK_GET_INFO = 0
+ * }
+ */
+ public static int H5VL_LINK_GET_INFO() { return H5VL_LINK_GET_INFO; }
+ private static final int H5VL_LINK_GET_NAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_get_t.H5VL_LINK_GET_NAME = 1
+ * }
+ */
+ public static int H5VL_LINK_GET_NAME() { return H5VL_LINK_GET_NAME; }
+ private static final int H5VL_LINK_GET_VAL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_get_t.H5VL_LINK_GET_VAL = 2
+ * }
+ */
+ public static int H5VL_LINK_GET_VAL() { return H5VL_LINK_GET_VAL; }
+ private static final int H5VL_LINK_DELETE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_specific_t.H5VL_LINK_DELETE = 0
+ * }
+ */
+ public static int H5VL_LINK_DELETE() { return H5VL_LINK_DELETE; }
+ private static final int H5VL_LINK_EXISTS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_specific_t.H5VL_LINK_EXISTS = 1
+ * }
+ */
+ public static int H5VL_LINK_EXISTS() { return H5VL_LINK_EXISTS; }
+ private static final int H5VL_LINK_ITER = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_specific_t.H5VL_LINK_ITER = 2
+ * }
+ */
+ public static int H5VL_LINK_ITER() { return H5VL_LINK_ITER; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_link_optional_t
+ * }
+ */
+ public static final OfInt H5VL_link_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_OBJECT_GET_FILE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_FILE = 0
+ * }
+ */
+ public static int H5VL_OBJECT_GET_FILE() { return H5VL_OBJECT_GET_FILE; }
+ private static final int H5VL_OBJECT_GET_NAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_NAME = 1
+ * }
+ */
+ public static int H5VL_OBJECT_GET_NAME() { return H5VL_OBJECT_GET_NAME; }
+ private static final int H5VL_OBJECT_GET_TYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_TYPE = 2
+ * }
+ */
+ public static int H5VL_OBJECT_GET_TYPE() { return H5VL_OBJECT_GET_TYPE; }
+ private static final int H5VL_OBJECT_GET_INFO = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_INFO = 3
+ * }
+ */
+ public static int H5VL_OBJECT_GET_INFO() { return H5VL_OBJECT_GET_INFO; }
+ private static final int H5VL_OBJECT_CHANGE_REF_COUNT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_CHANGE_REF_COUNT = 0
+ * }
+ */
+ public static int H5VL_OBJECT_CHANGE_REF_COUNT() { return H5VL_OBJECT_CHANGE_REF_COUNT; }
+ private static final int H5VL_OBJECT_EXISTS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_EXISTS = 1
+ * }
+ */
+ public static int H5VL_OBJECT_EXISTS() { return H5VL_OBJECT_EXISTS; }
+ private static final int H5VL_OBJECT_LOOKUP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_LOOKUP = 2
+ * }
+ */
+ public static int H5VL_OBJECT_LOOKUP() { return H5VL_OBJECT_LOOKUP; }
+ private static final int H5VL_OBJECT_VISIT = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_VISIT = 3
+ * }
+ */
+ public static int H5VL_OBJECT_VISIT() { return H5VL_OBJECT_VISIT; }
+ private static final int H5VL_OBJECT_FLUSH = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_FLUSH = 4
+ * }
+ */
+ public static int H5VL_OBJECT_FLUSH() { return H5VL_OBJECT_FLUSH; }
+ private static final int H5VL_OBJECT_REFRESH = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_REFRESH = 5
+ * }
+ */
+ public static int H5VL_OBJECT_REFRESH() { return H5VL_OBJECT_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_object_optional_t
+ * }
+ */
+ public static final OfInt H5VL_object_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_REQUEST_STATUS_IN_PROGRESS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_IN_PROGRESS = 0
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_IN_PROGRESS() { return H5VL_REQUEST_STATUS_IN_PROGRESS; }
+ private static final int H5VL_REQUEST_STATUS_SUCCEED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_SUCCEED = 1
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_SUCCEED() { return H5VL_REQUEST_STATUS_SUCCEED; }
+ private static final int H5VL_REQUEST_STATUS_FAIL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_FAIL = 2
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_FAIL() { return H5VL_REQUEST_STATUS_FAIL; }
+ private static final int H5VL_REQUEST_STATUS_CANT_CANCEL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_CANT_CANCEL = 3
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_CANT_CANCEL() { return H5VL_REQUEST_STATUS_CANT_CANCEL; }
+ private static final int H5VL_REQUEST_STATUS_CANCELED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_CANCELED = 4
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_CANCELED() { return H5VL_REQUEST_STATUS_CANCELED; }
+ private static final int H5VL_REQUEST_GET_ERR_STACK = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_specific_t.H5VL_REQUEST_GET_ERR_STACK = 0
+ * }
+ */
+ public static int H5VL_REQUEST_GET_ERR_STACK() { return H5VL_REQUEST_GET_ERR_STACK; }
+ private static final int H5VL_REQUEST_GET_EXEC_TIME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_specific_t.H5VL_REQUEST_GET_EXEC_TIME = 1
+ * }
+ */
+ public static int H5VL_REQUEST_GET_EXEC_TIME() { return H5VL_REQUEST_GET_EXEC_TIME; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_request_optional_t
+ * }
+ */
+ public static final OfInt H5VL_request_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_BLOB_DELETE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_blob_specific_t.H5VL_BLOB_DELETE = 0
+ * }
+ */
+ public static int H5VL_BLOB_DELETE() { return H5VL_BLOB_DELETE; }
+ private static final int H5VL_BLOB_ISNULL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_blob_specific_t.H5VL_BLOB_ISNULL = 1
+ * }
+ */
+ public static int H5VL_BLOB_ISNULL() { return H5VL_BLOB_ISNULL; }
+ private static final int H5VL_BLOB_SETNULL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_blob_specific_t.H5VL_BLOB_SETNULL = 2
+ * }
+ */
+ public static int H5VL_BLOB_SETNULL() { return H5VL_BLOB_SETNULL; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_blob_optional_t
+ * }
+ */
+ public static final OfInt H5VL_blob_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_GET_CONN_LVL_CURR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_get_conn_lvl_t.H5VL_GET_CONN_LVL_CURR = 0
+ * }
+ */
+ public static int H5VL_GET_CONN_LVL_CURR() { return H5VL_GET_CONN_LVL_CURR; }
+ private static final int H5VL_GET_CONN_LVL_TERM = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_get_conn_lvl_t.H5VL_GET_CONN_LVL_TERM = 1
+ * }
+ */
+ public static int H5VL_GET_CONN_LVL_TERM() { return H5VL_GET_CONN_LVL_TERM; }
+
+ private static class H5VLregister_connector {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_connector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_connector$descriptor()
+ {
+ return H5VLregister_connector.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLregister_connector$handle() { return H5VLregister_connector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLregister_connector$address() { return H5VLregister_connector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static long H5VLregister_connector(MemorySegment cls, long vipl_id)
+ {
+ var mh$ = H5VLregister_connector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_connector", cls, vipl_id);
+ }
+ return (long)mh$.invokeExact(cls, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject$descriptor() { return H5VLobject.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static MethodHandle H5VLobject$handle() { return H5VLobject.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5VLobject$address() { return H5VLobject.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5VLobject(long obj_id)
+ {
+ var mh$ = H5VLobject.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject", obj_id);
+ }
+ return (MemorySegment)mh$.invokeExact(obj_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_file_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_file_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_file_type$descriptor() { return H5VLget_file_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static MethodHandle H5VLget_file_type$handle() { return H5VLget_file_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static MemorySegment H5VLget_file_type$address() { return H5VLget_file_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static long H5VLget_file_type(MemorySegment file_obj, long connector_id, long dtype_id)
+ {
+ var mh$ = H5VLget_file_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_file_type", file_obj, connector_id, dtype_id);
+ }
+ return (long)mh$.invokeExact(file_obj, connector_id, dtype_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLregister_opt_operation {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_opt_operation");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_opt_operation$descriptor()
+ {
+ return H5VLregister_opt_operation.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MethodHandle H5VLregister_opt_operation$handle()
+ {
+ return H5VLregister_opt_operation.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MemorySegment H5VLregister_opt_operation$address()
+ {
+ return H5VLregister_opt_operation.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static int H5VLregister_opt_operation(int subcls, MemorySegment op_name, MemorySegment op_val)
+ {
+ var mh$ = H5VLregister_opt_operation.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_opt_operation", subcls, op_name, op_val);
+ }
+ return (int)mh$.invokeExact(subcls, op_name, op_val);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfind_opt_operation {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfind_opt_operation");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static FunctionDescriptor H5VLfind_opt_operation$descriptor()
+ {
+ return H5VLfind_opt_operation.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MethodHandle H5VLfind_opt_operation$handle() { return H5VLfind_opt_operation.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MemorySegment H5VLfind_opt_operation$address() { return H5VLfind_opt_operation.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static int H5VLfind_opt_operation(int subcls, MemorySegment op_name, MemorySegment op_val)
+ {
+ var mh$ = H5VLfind_opt_operation.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfind_opt_operation", subcls, op_name, op_val);
+ }
+ return (int)mh$.invokeExact(subcls, op_name, op_val);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLunregister_opt_operation {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLunregister_opt_operation");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static FunctionDescriptor H5VLunregister_opt_operation$descriptor()
+ {
+ return H5VLunregister_opt_operation.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static MethodHandle H5VLunregister_opt_operation$handle()
+ {
+ return H5VLunregister_opt_operation.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static MemorySegment H5VLunregister_opt_operation$address()
+ {
+ return H5VLunregister_opt_operation.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static int H5VLunregister_opt_operation(int subcls, MemorySegment op_name)
+ {
+ var mh$ = H5VLunregister_opt_operation.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLunregister_opt_operation", subcls, op_name);
+ }
+ return (int)mh$.invokeExact(subcls, op_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_optional_op$descriptor() { return H5VLattr_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLattr_optional_op$handle() { return H5VLattr_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLattr_optional_op$address() { return H5VLattr_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLattr_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long attr_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLattr_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_optional_op", app_file, app_func, app_line, attr_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_optional_op$descriptor()
+ {
+ return H5VLdataset_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLdataset_optional_op$handle() { return H5VLdataset_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLdataset_optional_op$address() { return H5VLdataset_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLdataset_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLdataset_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_optional_op", app_file, app_func, app_line, dset_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_optional_op$descriptor()
+ {
+ return H5VLdatatype_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_optional_op$handle() { return H5VLdatatype_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_optional_op$address() { return H5VLdatatype_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLdatatype_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long type_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLdatatype_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_optional_op", app_file, app_func, app_line, type_id, args,
+ dxpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, type_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_optional_op$descriptor() { return H5VLfile_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLfile_optional_op$handle() { return H5VLfile_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLfile_optional_op$address() { return H5VLfile_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLfile_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long file_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLfile_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_optional_op", app_file, app_func, app_line, file_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, file_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_optional_op$descriptor() { return H5VLgroup_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLgroup_optional_op$handle() { return H5VLgroup_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLgroup_optional_op$address() { return H5VLgroup_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLgroup_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long group_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLgroup_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_optional_op", app_file, app_func, app_line, group_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, group_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_optional_op$descriptor() { return H5VLlink_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLlink_optional_op$handle() { return H5VLlink_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLlink_optional_op$address() { return H5VLlink_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLlink_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lapl_id, MemorySegment args,
+ long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLlink_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_optional_op", app_file, app_func, app_line, loc_id, name, lapl_id,
+ args, dxpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, args, dxpl_id,
+ es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_optional_op$descriptor()
+ {
+ return H5VLobject_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLobject_optional_op$handle() { return H5VLobject_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLobject_optional_op$address() { return H5VLobject_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLobject_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lapl_id,
+ MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLobject_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_optional_op", app_file, app_func, app_line, loc_id, name, lapl_id,
+ args, dxpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, args, dxpl_id,
+ es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_optional_op {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_optional_op$descriptor()
+ {
+ return H5VLrequest_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLrequest_optional_op$handle() { return H5VLrequest_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLrequest_optional_op$address() { return H5VLrequest_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static int H5VLrequest_optional_op(MemorySegment req, long connector_id, MemorySegment args)
+ {
+ var mh$ = H5VLrequest_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_optional_op", req, connector_id, args);
+ }
+ return (int)mh$.invokeExact(req, connector_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5VL_MAP_GET_MAPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_MAPL = 0
+ * }
+ */
+ public static int H5VL_MAP_GET_MAPL() { return H5VL_MAP_GET_MAPL; }
+ private static final int H5VL_MAP_GET_MCPL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_MCPL = 1
+ * }
+ */
+ public static int H5VL_MAP_GET_MCPL() { return H5VL_MAP_GET_MCPL; }
+ private static final int H5VL_MAP_GET_KEY_TYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_KEY_TYPE = 2
+ * }
+ */
+ public static int H5VL_MAP_GET_KEY_TYPE() { return H5VL_MAP_GET_KEY_TYPE; }
+ private static final int H5VL_MAP_GET_VAL_TYPE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_VAL_TYPE = 3
+ * }
+ */
+ public static int H5VL_MAP_GET_VAL_TYPE() { return H5VL_MAP_GET_VAL_TYPE; }
+ private static final int H5VL_MAP_GET_COUNT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_COUNT = 4
+ * }
+ */
+ public static int H5VL_MAP_GET_COUNT() { return H5VL_MAP_GET_COUNT; }
+ private static final int H5VL_MAP_ITER = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_specific_t.H5VL_MAP_ITER = 0
+ * }
+ */
+ public static int H5VL_MAP_ITER() { return H5VL_MAP_ITER; }
+ private static final int H5VL_MAP_DELETE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_specific_t.H5VL_MAP_DELETE = 1
+ * }
+ */
+ public static int H5VL_MAP_DELETE() { return H5VL_MAP_DELETE; }
+ private static final int H5S_NO_CLASS = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_NO_CLASS = -1
+ * }
+ */
+ public static int H5S_NO_CLASS() { return H5S_NO_CLASS; }
+ private static final int H5S_SCALAR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_SCALAR = 0
+ * }
+ */
+ public static int H5S_SCALAR() { return H5S_SCALAR; }
+ private static final int H5S_SIMPLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_SIMPLE = 1
+ * }
+ */
+ public static int H5S_SIMPLE() { return H5S_SIMPLE; }
+ private static final int H5S_NULL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_NULL = 2
+ * }
+ */
+ public static int H5S_NULL() { return H5S_NULL; }
+ private static final int H5S_SELECT_NOOP = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_NOOP = -1
+ * }
+ */
+ public static int H5S_SELECT_NOOP() { return H5S_SELECT_NOOP; }
+ private static final int H5S_SELECT_SET = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_SET = 0
+ * }
+ */
+ public static int H5S_SELECT_SET() { return H5S_SELECT_SET; }
+ private static final int H5S_SELECT_OR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_OR = 1
+ * }
+ */
+ public static int H5S_SELECT_OR() { return H5S_SELECT_OR; }
+ private static final int H5S_SELECT_AND = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_AND = 2
+ * }
+ */
+ public static int H5S_SELECT_AND() { return H5S_SELECT_AND; }
+ private static final int H5S_SELECT_XOR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_XOR = 3
+ * }
+ */
+ public static int H5S_SELECT_XOR() { return H5S_SELECT_XOR; }
+ private static final int H5S_SELECT_NOTB = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_NOTB = 4
+ * }
+ */
+ public static int H5S_SELECT_NOTB() { return H5S_SELECT_NOTB; }
+ private static final int H5S_SELECT_NOTA = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_NOTA = 5
+ * }
+ */
+ public static int H5S_SELECT_NOTA() { return H5S_SELECT_NOTA; }
+ private static final int H5S_SELECT_APPEND = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_APPEND = 6
+ * }
+ */
+ public static int H5S_SELECT_APPEND() { return H5S_SELECT_APPEND; }
+ private static final int H5S_SELECT_PREPEND = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_PREPEND = 7
+ * }
+ */
+ public static int H5S_SELECT_PREPEND() { return H5S_SELECT_PREPEND; }
+ private static final int H5S_SELECT_INVALID = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_INVALID = 8
+ * }
+ */
+ public static int H5S_SELECT_INVALID() { return H5S_SELECT_INVALID; }
+ private static final int H5S_SEL_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_ERROR = -1
+ * }
+ */
+ public static int H5S_SEL_ERROR() { return H5S_SEL_ERROR; }
+ private static final int H5S_SEL_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_NONE = 0
+ * }
+ */
+ public static int H5S_SEL_NONE() { return H5S_SEL_NONE; }
+ private static final int H5S_SEL_POINTS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_POINTS = 1
+ * }
+ */
+ public static int H5S_SEL_POINTS() { return H5S_SEL_POINTS; }
+ private static final int H5S_SEL_HYPERSLABS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_HYPERSLABS = 2
+ * }
+ */
+ public static int H5S_SEL_HYPERSLABS() { return H5S_SEL_HYPERSLABS; }
+ private static final int H5S_SEL_ALL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_ALL = 3
+ * }
+ */
+ public static int H5S_SEL_ALL() { return H5S_SEL_ALL; }
+ private static final int H5S_SEL_N = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_N = 4
+ * }
+ */
+ public static int H5S_SEL_N() { return H5S_SEL_N; }
+
+ private static class H5Sclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sclose$descriptor() { return H5Sclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sclose$handle() { return H5Sclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sclose$address() { return H5Sclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static int H5Sclose(long space_id)
+ {
+ var mh$ = H5Sclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sclose", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Scombine_hyperslab {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Scombine_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Scombine_hyperslab$descriptor() { return H5Scombine_hyperslab.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Scombine_hyperslab$handle() { return H5Scombine_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Scombine_hyperslab$address() { return H5Scombine_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static long H5Scombine_hyperslab(long space_id, int op, MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Scombine_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Scombine_hyperslab", space_id, op, start, stride, count, block);
+ }
+ return (long)mh$.invokeExact(space_id, op, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Scombine_select {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Scombine_select");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Scombine_select$descriptor() { return H5Scombine_select.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Scombine_select$handle() { return H5Scombine_select.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Scombine_select$address() { return H5Scombine_select.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static long H5Scombine_select(long space1_id, int op, long space2_id)
+ {
+ var mh$ = H5Scombine_select.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Scombine_select", space1_id, op, space2_id);
+ }
+ return (long)mh$.invokeExact(space1_id, op, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Scopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Scopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Scopy$descriptor() { return H5Scopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Scopy$handle() { return H5Scopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Scopy$address() { return H5Scopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static long H5Scopy(long space_id)
+ {
+ var mh$ = H5Scopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Scopy", space_id);
+ }
+ return (long)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Screate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Screate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Screate$descriptor() { return H5Screate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static MethodHandle H5Screate$handle() { return H5Screate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static MemorySegment H5Screate$address() { return H5Screate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static long H5Screate(int type)
+ {
+ var mh$ = H5Screate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Screate", type);
+ }
+ return (long)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Screate_simple {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Screate_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static FunctionDescriptor H5Screate_simple$descriptor() { return H5Screate_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static MethodHandle H5Screate_simple$handle() { return H5Screate_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static MemorySegment H5Screate_simple$address() { return H5Screate_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static long H5Screate_simple(int rank, MemorySegment dims, MemorySegment maxdims)
+ {
+ var mh$ = H5Screate_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Screate_simple", rank, dims, maxdims);
+ }
+ return (long)mh$.invokeExact(rank, dims, maxdims);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sdecode {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sdecode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Sdecode$descriptor() { return H5Sdecode.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static MethodHandle H5Sdecode$handle() { return H5Sdecode.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static MemorySegment H5Sdecode$address() { return H5Sdecode.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static long H5Sdecode(MemorySegment buf)
+ {
+ var mh$ = H5Sdecode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sdecode", buf);
+ }
+ return (long)mh$.invokeExact(buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sencode2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sencode2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static FunctionDescriptor H5Sencode2$descriptor() { return H5Sencode2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static MethodHandle H5Sencode2$handle() { return H5Sencode2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static MemorySegment H5Sencode2$address() { return H5Sencode2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static int H5Sencode2(long obj_id, MemorySegment buf, MemorySegment nalloc, long fapl)
+ {
+ var mh$ = H5Sencode2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sencode2", obj_id, buf, nalloc, fapl);
+ }
+ return (int)mh$.invokeExact(obj_id, buf, nalloc, fapl);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sextent_copy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sextent_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sextent_copy$descriptor() { return H5Sextent_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MethodHandle H5Sextent_copy$handle() { return H5Sextent_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MemorySegment H5Sextent_copy$address() { return H5Sextent_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static int H5Sextent_copy(long dst_id, long src_id)
+ {
+ var mh$ = H5Sextent_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sextent_copy", dst_id, src_id);
+ }
+ return (int)mh$.invokeExact(dst_id, src_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sextent_equal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sextent_equal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sextent_equal$descriptor() { return H5Sextent_equal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Sextent_equal$handle() { return H5Sextent_equal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Sextent_equal$address() { return H5Sextent_equal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static int H5Sextent_equal(long space1_id, long space2_id)
+ {
+ var mh$ = H5Sextent_equal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sextent_equal", space1_id, space2_id);
+ }
+ return (int)mh$.invokeExact(space1_id, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_regular_hyperslab {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_regular_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_regular_hyperslab$descriptor()
+ {
+ return H5Sget_regular_hyperslab.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Sget_regular_hyperslab$handle() { return H5Sget_regular_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Sget_regular_hyperslab$address() { return H5Sget_regular_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static int H5Sget_regular_hyperslab(long spaceid, MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Sget_regular_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_regular_hyperslab", spaceid, start, stride, count, block);
+ }
+ return (int)mh$.invokeExact(spaceid, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_bounds$descriptor() { return H5Sget_select_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static MethodHandle H5Sget_select_bounds$handle() { return H5Sget_select_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static MemorySegment H5Sget_select_bounds$address() { return H5Sget_select_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static int H5Sget_select_bounds(long spaceid, MemorySegment start, MemorySegment end)
+ {
+ var mh$ = H5Sget_select_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_bounds", spaceid, start, end);
+ }
+ return (int)mh$.invokeExact(spaceid, start, end);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_elem_npoints {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_elem_npoints");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_elem_npoints$descriptor()
+ {
+ return H5Sget_select_elem_npoints.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_elem_npoints$handle()
+ {
+ return H5Sget_select_elem_npoints.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_elem_npoints$address()
+ {
+ return H5Sget_select_elem_npoints.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static long H5Sget_select_elem_npoints(long spaceid)
+ {
+ var mh$ = H5Sget_select_elem_npoints.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_elem_npoints", spaceid);
+ }
+ return (long)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_elem_pointlist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_elem_pointlist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_elem_pointlist$descriptor()
+ {
+ return H5Sget_select_elem_pointlist.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static MethodHandle H5Sget_select_elem_pointlist$handle()
+ {
+ return H5Sget_select_elem_pointlist.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static MemorySegment H5Sget_select_elem_pointlist$address()
+ {
+ return H5Sget_select_elem_pointlist.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static int H5Sget_select_elem_pointlist(long spaceid, long startpoint, long numpoints,
+ MemorySegment buf)
+ {
+ var mh$ = H5Sget_select_elem_pointlist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_elem_pointlist", spaceid, startpoint, numpoints, buf);
+ }
+ return (int)mh$.invokeExact(spaceid, startpoint, numpoints, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_hyper_blocklist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_hyper_blocklist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_hyper_blocklist$descriptor()
+ {
+ return H5Sget_select_hyper_blocklist.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static MethodHandle H5Sget_select_hyper_blocklist$handle()
+ {
+ return H5Sget_select_hyper_blocklist.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static MemorySegment H5Sget_select_hyper_blocklist$address()
+ {
+ return H5Sget_select_hyper_blocklist.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static int H5Sget_select_hyper_blocklist(long spaceid, long startblock, long numblocks,
+ MemorySegment buf)
+ {
+ var mh$ = H5Sget_select_hyper_blocklist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_hyper_blocklist", spaceid, startblock, numblocks, buf);
+ }
+ return (int)mh$.invokeExact(spaceid, startblock, numblocks, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_hyper_nblocks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_hyper_nblocks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_hyper_nblocks$descriptor()
+ {
+ return H5Sget_select_hyper_nblocks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_hyper_nblocks$handle()
+ {
+ return H5Sget_select_hyper_nblocks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_hyper_nblocks$address()
+ {
+ return H5Sget_select_hyper_nblocks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static long H5Sget_select_hyper_nblocks(long spaceid)
+ {
+ var mh$ = H5Sget_select_hyper_nblocks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_hyper_nblocks", spaceid);
+ }
+ return (long)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_npoints {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_npoints");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_npoints$descriptor() { return H5Sget_select_npoints.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_npoints$handle() { return H5Sget_select_npoints.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_npoints$address() { return H5Sget_select_npoints.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static long H5Sget_select_npoints(long spaceid)
+ {
+ var mh$ = H5Sget_select_npoints.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_npoints", spaceid);
+ }
+ return (long)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_type$descriptor() { return H5Sget_select_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_type$handle() { return H5Sget_select_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_type$address() { return H5Sget_select_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static int H5Sget_select_type(long spaceid)
+ {
+ var mh$ = H5Sget_select_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_type", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_dims {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_dims");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_dims$descriptor()
+ {
+ return H5Sget_simple_extent_dims.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_dims$handle() { return H5Sget_simple_extent_dims.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_dims$address() { return H5Sget_simple_extent_dims.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static int H5Sget_simple_extent_dims(long space_id, MemorySegment dims, MemorySegment maxdims)
+ {
+ var mh$ = H5Sget_simple_extent_dims.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_dims", space_id, dims, maxdims);
+ }
+ return (int)mh$.invokeExact(space_id, dims, maxdims);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_ndims {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_ndims");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_ndims$descriptor()
+ {
+ return H5Sget_simple_extent_ndims.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_ndims$handle()
+ {
+ return H5Sget_simple_extent_ndims.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_ndims$address()
+ {
+ return H5Sget_simple_extent_ndims.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static int H5Sget_simple_extent_ndims(long space_id)
+ {
+ var mh$ = H5Sget_simple_extent_ndims.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_ndims", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_npoints {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_npoints");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_npoints$descriptor()
+ {
+ return H5Sget_simple_extent_npoints.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_npoints$handle()
+ {
+ return H5Sget_simple_extent_npoints.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_npoints$address()
+ {
+ return H5Sget_simple_extent_npoints.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static long H5Sget_simple_extent_npoints(long space_id)
+ {
+ var mh$ = H5Sget_simple_extent_npoints.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_npoints", space_id);
+ }
+ return (long)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_type$descriptor()
+ {
+ return H5Sget_simple_extent_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_type$handle() { return H5Sget_simple_extent_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_type$address() { return H5Sget_simple_extent_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static int H5Sget_simple_extent_type(long space_id)
+ {
+ var mh$ = H5Sget_simple_extent_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_type", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sis_regular_hyperslab {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sis_regular_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sis_regular_hyperslab$descriptor()
+ {
+ return H5Sis_regular_hyperslab.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sis_regular_hyperslab$handle() { return H5Sis_regular_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sis_regular_hyperslab$address() { return H5Sis_regular_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static int H5Sis_regular_hyperslab(long spaceid)
+ {
+ var mh$ = H5Sis_regular_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sis_regular_hyperslab", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sis_simple {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sis_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sis_simple$descriptor() { return H5Sis_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sis_simple$handle() { return H5Sis_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sis_simple$address() { return H5Sis_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static int H5Sis_simple(long space_id)
+ {
+ var mh$ = H5Sis_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sis_simple", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Smodify_select {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Smodify_select");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Smodify_select$descriptor() { return H5Smodify_select.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Smodify_select$handle() { return H5Smodify_select.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Smodify_select$address() { return H5Smodify_select.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static int H5Smodify_select(long space1_id, int op, long space2_id)
+ {
+ var mh$ = H5Smodify_select.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Smodify_select", space1_id, op, space2_id);
+ }
+ return (int)mh$.invokeExact(space1_id, op, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Soffset_simple {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Soffset_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static FunctionDescriptor H5Soffset_simple$descriptor() { return H5Soffset_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static MethodHandle H5Soffset_simple$handle() { return H5Soffset_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static MemorySegment H5Soffset_simple$address() { return H5Soffset_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static int H5Soffset_simple(long space_id, MemorySegment offset)
+ {
+ var mh$ = H5Soffset_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Soffset_simple", space_id, offset);
+ }
+ return (int)mh$.invokeExact(space_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_close$descriptor() { return H5Ssel_iter_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_close$handle() { return H5Ssel_iter_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_close$address() { return H5Ssel_iter_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static int H5Ssel_iter_close(long sel_iter_id)
+ {
+ var mh$ = H5Ssel_iter_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_close", sel_iter_id);
+ }
+ return (int)mh$.invokeExact(sel_iter_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_create$descriptor() { return H5Ssel_iter_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_create$handle() { return H5Ssel_iter_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_create$address() { return H5Ssel_iter_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static long H5Ssel_iter_create(long spaceid, long elmt_size, int flags)
+ {
+ var mh$ = H5Ssel_iter_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_create", spaceid, elmt_size, flags);
+ }
+ return (long)mh$.invokeExact(spaceid, elmt_size, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_get_seq_list {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_get_seq_list");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_get_seq_list$descriptor()
+ {
+ return H5Ssel_iter_get_seq_list.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_get_seq_list$handle() { return H5Ssel_iter_get_seq_list.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_get_seq_list$address() { return H5Ssel_iter_get_seq_list.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static int H5Ssel_iter_get_seq_list(long sel_iter_id, long maxseq, long maxelmts,
+ MemorySegment nseq, MemorySegment nelmts, MemorySegment off,
+ MemorySegment len)
+ {
+ var mh$ = H5Ssel_iter_get_seq_list.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_get_seq_list", sel_iter_id, maxseq, maxelmts, nseq, nelmts, off,
+ len);
+ }
+ return (int)mh$.invokeExact(sel_iter_id, maxseq, maxelmts, nseq, nelmts, off, len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_reset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_reset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_reset$descriptor() { return H5Ssel_iter_reset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_reset$handle() { return H5Ssel_iter_reset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_reset$address() { return H5Ssel_iter_reset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static int H5Ssel_iter_reset(long sel_iter_id, long space_id)
+ {
+ var mh$ = H5Ssel_iter_reset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_reset", sel_iter_id, space_id);
+ }
+ return (int)mh$.invokeExact(sel_iter_id, space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_adjust {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_adjust");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_adjust$descriptor() { return H5Sselect_adjust.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static MethodHandle H5Sselect_adjust$handle() { return H5Sselect_adjust.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static MemorySegment H5Sselect_adjust$address() { return H5Sselect_adjust.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static int H5Sselect_adjust(long spaceid, MemorySegment offset)
+ {
+ var mh$ = H5Sselect_adjust.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_adjust", spaceid, offset);
+ }
+ return (int)mh$.invokeExact(spaceid, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_all {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_all");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_all$descriptor() { return H5Sselect_all.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sselect_all$handle() { return H5Sselect_all.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sselect_all$address() { return H5Sselect_all.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static int H5Sselect_all(long spaceid)
+ {
+ var mh$ = H5Sselect_all.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_all", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_copy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_copy$descriptor() { return H5Sselect_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MethodHandle H5Sselect_copy$handle() { return H5Sselect_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MemorySegment H5Sselect_copy$address() { return H5Sselect_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static int H5Sselect_copy(long dst_id, long src_id)
+ {
+ var mh$ = H5Sselect_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_copy", dst_id, src_id);
+ }
+ return (int)mh$.invokeExact(dst_id, src_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_elements {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_elements");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_elements$descriptor() { return H5Sselect_elements.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static MethodHandle H5Sselect_elements$handle() { return H5Sselect_elements.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static MemorySegment H5Sselect_elements$address() { return H5Sselect_elements.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static int H5Sselect_elements(long space_id, int op, long num_elem, MemorySegment coord)
+ {
+ var mh$ = H5Sselect_elements.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_elements", space_id, op, num_elem, coord);
+ }
+ return (int)mh$.invokeExact(space_id, op, num_elem, coord);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_hyperslab {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_hyperslab$descriptor() { return H5Sselect_hyperslab.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Sselect_hyperslab$handle() { return H5Sselect_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Sselect_hyperslab$address() { return H5Sselect_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static int H5Sselect_hyperslab(long space_id, int op, MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Sselect_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_hyperslab", space_id, op, start, stride, count, block);
+ }
+ return (int)mh$.invokeExact(space_id, op, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_intersect_block {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_intersect_block");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_intersect_block$descriptor()
+ {
+ return H5Sselect_intersect_block.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static MethodHandle H5Sselect_intersect_block$handle() { return H5Sselect_intersect_block.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static MemorySegment H5Sselect_intersect_block$address() { return H5Sselect_intersect_block.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static int H5Sselect_intersect_block(long space_id, MemorySegment start, MemorySegment end)
+ {
+ var mh$ = H5Sselect_intersect_block.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_intersect_block", space_id, start, end);
+ }
+ return (int)mh$.invokeExact(space_id, start, end);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_none {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_none");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_none$descriptor() { return H5Sselect_none.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sselect_none$handle() { return H5Sselect_none.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sselect_none$address() { return H5Sselect_none.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static int H5Sselect_none(long spaceid)
+ {
+ var mh$ = H5Sselect_none.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_none", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_project_intersection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_project_intersection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_project_intersection$descriptor()
+ {
+ return H5Sselect_project_intersection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static MethodHandle H5Sselect_project_intersection$handle()
+ {
+ return H5Sselect_project_intersection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static MemorySegment H5Sselect_project_intersection$address()
+ {
+ return H5Sselect_project_intersection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static long H5Sselect_project_intersection(long src_space_id, long dst_space_id,
+ long src_intersect_space_id)
+ {
+ var mh$ = H5Sselect_project_intersection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_project_intersection", src_space_id, dst_space_id,
+ src_intersect_space_id);
+ }
+ return (long)mh$.invokeExact(src_space_id, dst_space_id, src_intersect_space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_shape_same {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_shape_same");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_shape_same$descriptor() { return H5Sselect_shape_same.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Sselect_shape_same$handle() { return H5Sselect_shape_same.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Sselect_shape_same$address() { return H5Sselect_shape_same.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static int H5Sselect_shape_same(long space1_id, long space2_id)
+ {
+ var mh$ = H5Sselect_shape_same.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_shape_same", space1_id, space2_id);
+ }
+ return (int)mh$.invokeExact(space1_id, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_valid {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_valid");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_valid$descriptor() { return H5Sselect_valid.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sselect_valid$handle() { return H5Sselect_valid.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sselect_valid$address() { return H5Sselect_valid.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static int H5Sselect_valid(long spaceid)
+ {
+ var mh$ = H5Sselect_valid.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_valid", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sset_extent_none {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sset_extent_none");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sset_extent_none$descriptor() { return H5Sset_extent_none.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sset_extent_none$handle() { return H5Sset_extent_none.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sset_extent_none$address() { return H5Sset_extent_none.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static int H5Sset_extent_none(long space_id)
+ {
+ var mh$ = H5Sset_extent_none.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sset_extent_none", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sset_extent_simple {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sset_extent_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static FunctionDescriptor H5Sset_extent_simple$descriptor() { return H5Sset_extent_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static MethodHandle H5Sset_extent_simple$handle() { return H5Sset_extent_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static MemorySegment H5Sset_extent_simple$address() { return H5Sset_extent_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static int H5Sset_extent_simple(long space_id, int rank, MemorySegment dims, MemorySegment max)
+ {
+ var mh$ = H5Sset_extent_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sset_extent_simple", space_id, rank, dims, max);
+ }
+ return (int)mh$.invokeExact(space_id, rank, dims, max);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sencode1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sencode1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static FunctionDescriptor H5Sencode1$descriptor() { return H5Sencode1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MethodHandle H5Sencode1$handle() { return H5Sencode1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MemorySegment H5Sencode1$address() { return H5Sencode1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static int H5Sencode1(long obj_id, MemorySegment buf, MemorySegment nalloc)
+ {
+ var mh$ = H5Sencode1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sencode1", obj_id, buf, nalloc);
+ }
+ return (int)mh$.invokeExact(obj_id, buf, nalloc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5Z_filter_t
+ * }
+ */
+ public static final OfInt H5Z_filter_t = hdf5_h.C_INT;
+ private static final int H5Z_SO_FLOAT_DSCALE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_SO_scale_type_t.H5Z_SO_FLOAT_DSCALE = 0
+ * }
+ */
+ public static int H5Z_SO_FLOAT_DSCALE() { return H5Z_SO_FLOAT_DSCALE; }
+ private static final int H5Z_SO_FLOAT_ESCALE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_SO_scale_type_t.H5Z_SO_FLOAT_ESCALE = 1
+ * }
+ */
+ public static int H5Z_SO_FLOAT_ESCALE() { return H5Z_SO_FLOAT_ESCALE; }
+ private static final int H5Z_SO_INT = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_SO_scale_type_t.H5Z_SO_INT = 2
+ * }
+ */
+ public static int H5Z_SO_INT() { return H5Z_SO_INT; }
+ private static final int H5Z_ERROR_EDC = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_ERROR_EDC = -1
+ * }
+ */
+ public static int H5Z_ERROR_EDC() { return H5Z_ERROR_EDC; }
+ private static final int H5Z_DISABLE_EDC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_DISABLE_EDC = 0
+ * }
+ */
+ public static int H5Z_DISABLE_EDC() { return H5Z_DISABLE_EDC; }
+ private static final int H5Z_ENABLE_EDC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_ENABLE_EDC = 1
+ * }
+ */
+ public static int H5Z_ENABLE_EDC() { return H5Z_ENABLE_EDC; }
+ private static final int H5Z_NO_EDC = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_NO_EDC = 2
+ * }
+ */
+ public static int H5Z_NO_EDC() { return H5Z_NO_EDC; }
+ private static final int H5Z_CB_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_ERROR = -1
+ * }
+ */
+ public static int H5Z_CB_ERROR() { return H5Z_CB_ERROR; }
+ private static final int H5Z_CB_FAIL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_FAIL = 0
+ * }
+ */
+ public static int H5Z_CB_FAIL() { return H5Z_CB_FAIL; }
+ private static final int H5Z_CB_CONT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_CONT = 1
+ * }
+ */
+ public static int H5Z_CB_CONT() { return H5Z_CB_CONT; }
+ private static final int H5Z_CB_NO = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_NO = 2
+ * }
+ */
+ public static int H5Z_CB_NO() { return H5Z_CB_NO; }
+
+ private static class H5Zfilter_avail {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zfilter_avail");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Zfilter_avail$descriptor() { return H5Zfilter_avail.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static MethodHandle H5Zfilter_avail$handle() { return H5Zfilter_avail.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static MemorySegment H5Zfilter_avail$address() { return H5Zfilter_avail.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static int H5Zfilter_avail(int id)
+ {
+ var mh$ = H5Zfilter_avail.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zfilter_avail", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Zget_filter_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zget_filter_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Zget_filter_info$descriptor() { return H5Zget_filter_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static MethodHandle H5Zget_filter_info$handle() { return H5Zget_filter_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static MemorySegment H5Zget_filter_info$address() { return H5Zget_filter_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static int H5Zget_filter_info(int filter, MemorySegment filter_config_flags)
+ {
+ var mh$ = H5Zget_filter_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zget_filter_info", filter, filter_config_flags);
+ }
+ return (int)mh$.invokeExact(filter, filter_config_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5D_MPIO_NO_CHUNK_OPTIMIZATION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_chunk_opt_mode_t.H5D_MPIO_NO_CHUNK_OPTIMIZATION = 0
+ * }
+ */
+ public static int H5D_MPIO_NO_CHUNK_OPTIMIZATION() { return H5D_MPIO_NO_CHUNK_OPTIMIZATION; }
+ private static final int H5D_MPIO_LINK_CHUNK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_chunk_opt_mode_t.H5D_MPIO_LINK_CHUNK = 1
+ * }
+ */
+ public static int H5D_MPIO_LINK_CHUNK() { return H5D_MPIO_LINK_CHUNK; }
+ private static final int H5D_MPIO_MULTI_CHUNK = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_chunk_opt_mode_t.H5D_MPIO_MULTI_CHUNK = 2
+ * }
+ */
+ public static int H5D_MPIO_MULTI_CHUNK() { return H5D_MPIO_MULTI_CHUNK; }
+ private static final int H5D_MPIO_NO_COLLECTIVE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_NO_COLLECTIVE = 0
+ * }
+ */
+ public static int H5D_MPIO_NO_COLLECTIVE() { return H5D_MPIO_NO_COLLECTIVE; }
+ private static final int H5D_MPIO_CHUNK_INDEPENDENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CHUNK_INDEPENDENT = 1
+ * }
+ */
+ public static int H5D_MPIO_CHUNK_INDEPENDENT() { return H5D_MPIO_CHUNK_INDEPENDENT; }
+ private static final int H5D_MPIO_CHUNK_COLLECTIVE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CHUNK_COLLECTIVE = 2
+ * }
+ */
+ public static int H5D_MPIO_CHUNK_COLLECTIVE() { return H5D_MPIO_CHUNK_COLLECTIVE; }
+ private static final int H5D_MPIO_CHUNK_MIXED = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CHUNK_MIXED = 3
+ * }
+ */
+ public static int H5D_MPIO_CHUNK_MIXED() { return H5D_MPIO_CHUNK_MIXED; }
+ private static final int H5D_MPIO_CONTIGUOUS_COLLECTIVE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CONTIGUOUS_COLLECTIVE = 4
+ * }
+ */
+ public static int H5D_MPIO_CONTIGUOUS_COLLECTIVE() { return H5D_MPIO_CONTIGUOUS_COLLECTIVE; }
+ private static final int H5D_MPIO_COLLECTIVE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_COLLECTIVE = 0
+ * }
+ */
+ public static int H5D_MPIO_COLLECTIVE() { return H5D_MPIO_COLLECTIVE; }
+ private static final int H5D_MPIO_SET_INDEPENDENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_SET_INDEPENDENT = 1
+ * }
+ */
+ public static int H5D_MPIO_SET_INDEPENDENT() { return H5D_MPIO_SET_INDEPENDENT; }
+ private static final int H5D_MPIO_DATATYPE_CONVERSION = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_DATATYPE_CONVERSION = 2
+ * }
+ */
+ public static int H5D_MPIO_DATATYPE_CONVERSION() { return H5D_MPIO_DATATYPE_CONVERSION; }
+ private static final int H5D_MPIO_DATA_TRANSFORMS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_DATA_TRANSFORMS = 4
+ * }
+ */
+ public static int H5D_MPIO_DATA_TRANSFORMS() { return H5D_MPIO_DATA_TRANSFORMS; }
+ private static final int H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED = 8
+ * }
+ */
+ public static int H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED()
+ {
+ return H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED;
+ }
+ private static final int H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES = 16
+ * }
+ */
+ public static int H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES()
+ {
+ return H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES;
+ }
+ private static final int H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET = 32
+ * }
+ */
+ public static int H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET()
+ {
+ return H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET;
+ }
+ private static final int H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED = 64
+ * }
+ */
+ public static int H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED()
+ {
+ return H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED;
+ }
+ private static final int H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE = 128
+ * }
+ */
+ public static int H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE()
+ {
+ return H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE;
+ }
+ private static final int H5D_MPIO_NO_SELECTION_IO = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NO_SELECTION_IO = 256
+ * }
+ */
+ public static int H5D_MPIO_NO_SELECTION_IO() { return H5D_MPIO_NO_SELECTION_IO; }
+ private static final int H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE = 512
+ * }
+ */
+ public static int H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE() { return H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE; }
+ private static final int H5D_SELECTION_IO_MODE_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_selection_io_mode_t.H5D_SELECTION_IO_MODE_DEFAULT = 0
+ * }
+ */
+ public static int H5D_SELECTION_IO_MODE_DEFAULT() { return H5D_SELECTION_IO_MODE_DEFAULT; }
+ private static final int H5D_SELECTION_IO_MODE_OFF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_selection_io_mode_t.H5D_SELECTION_IO_MODE_OFF = 1
+ * }
+ */
+ public static int H5D_SELECTION_IO_MODE_OFF() { return H5D_SELECTION_IO_MODE_OFF; }
+ private static final int H5D_SELECTION_IO_MODE_ON = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_selection_io_mode_t.H5D_SELECTION_IO_MODE_ON = 2
+ * }
+ */
+ public static int H5D_SELECTION_IO_MODE_ON() { return H5D_SELECTION_IO_MODE_ON; }
+
+ private static class H5P_CLS_ROOT_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_ROOT_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_ROOT_ID_g$layout() { return H5P_CLS_ROOT_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_ROOT_ID_g$segment() { return H5P_CLS_ROOT_ID_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static long H5P_CLS_ROOT_ID_g()
+ {
+ return H5P_CLS_ROOT_ID_g$constants.SEGMENT.get(H5P_CLS_ROOT_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static void H5P_CLS_ROOT_ID_g(long varValue)
+ {
+ H5P_CLS_ROOT_ID_g$constants.SEGMENT.set(H5P_CLS_ROOT_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_OBJECT_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_OBJECT_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_OBJECT_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_OBJECT_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_OBJECT_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_OBJECT_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_OBJECT_CREATE_ID_g()
+ {
+ return H5P_CLS_OBJECT_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_OBJECT_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_OBJECT_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_OBJECT_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_OBJECT_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_FILE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_FILE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_FILE_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_FILE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_FILE_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_FILE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_FILE_CREATE_ID_g()
+ {
+ return H5P_CLS_FILE_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_FILE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_FILE_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_FILE_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_FILE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_FILE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_FILE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_FILE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_FILE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_FILE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_FILE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_FILE_ACCESS_ID_g()
+ {
+ return H5P_CLS_FILE_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_FILE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_FILE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_FILE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_FILE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATASET_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATASET_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATASET_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_DATASET_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATASET_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_DATASET_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATASET_CREATE_ID_g()
+ {
+ return H5P_CLS_DATASET_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_DATASET_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATASET_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_DATASET_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_DATASET_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATASET_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATASET_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATASET_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_DATASET_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATASET_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_DATASET_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATASET_ACCESS_ID_g()
+ {
+ return H5P_CLS_DATASET_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_DATASET_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATASET_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_DATASET_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_DATASET_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATASET_XFER_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATASET_XFER_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATASET_XFER_ID_g$layout()
+ {
+ return H5P_CLS_DATASET_XFER_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATASET_XFER_ID_g$segment()
+ {
+ return H5P_CLS_DATASET_XFER_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATASET_XFER_ID_g()
+ {
+ return H5P_CLS_DATASET_XFER_ID_g$constants.SEGMENT.get(H5P_CLS_DATASET_XFER_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATASET_XFER_ID_g(long varValue)
+ {
+ H5P_CLS_DATASET_XFER_ID_g$constants.SEGMENT.set(H5P_CLS_DATASET_XFER_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_FILE_MOUNT_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_FILE_MOUNT_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_FILE_MOUNT_ID_g$layout() { return H5P_CLS_FILE_MOUNT_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_FILE_MOUNT_ID_g$segment()
+ {
+ return H5P_CLS_FILE_MOUNT_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static long H5P_CLS_FILE_MOUNT_ID_g()
+ {
+ return H5P_CLS_FILE_MOUNT_ID_g$constants.SEGMENT.get(H5P_CLS_FILE_MOUNT_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static void H5P_CLS_FILE_MOUNT_ID_g(long varValue)
+ {
+ H5P_CLS_FILE_MOUNT_ID_g$constants.SEGMENT.set(H5P_CLS_FILE_MOUNT_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_GROUP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_GROUP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_GROUP_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_GROUP_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_GROUP_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_GROUP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_GROUP_CREATE_ID_g()
+ {
+ return H5P_CLS_GROUP_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_GROUP_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_GROUP_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_GROUP_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_GROUP_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_GROUP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_GROUP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_GROUP_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_GROUP_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_GROUP_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_GROUP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_GROUP_ACCESS_ID_g()
+ {
+ return H5P_CLS_GROUP_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_GROUP_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_GROUP_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_GROUP_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_GROUP_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATATYPE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATATYPE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATATYPE_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_DATATYPE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATATYPE_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_DATATYPE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATATYPE_CREATE_ID_g()
+ {
+ return H5P_CLS_DATATYPE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_CLS_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATATYPE_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_DATATYPE_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATATYPE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATATYPE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATATYPE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_DATATYPE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATATYPE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_DATATYPE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATATYPE_ACCESS_ID_g()
+ {
+ return H5P_CLS_DATATYPE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_CLS_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATATYPE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_DATATYPE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_MAP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_MAP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_MAP_CREATE_ID_g$layout() { return H5P_CLS_MAP_CREATE_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_MAP_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_MAP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_MAP_CREATE_ID_g()
+ {
+ return H5P_CLS_MAP_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_MAP_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_MAP_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_MAP_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_MAP_CREATE_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_MAP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_MAP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_MAP_ACCESS_ID_g$layout() { return H5P_CLS_MAP_ACCESS_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_MAP_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_MAP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_MAP_ACCESS_ID_g()
+ {
+ return H5P_CLS_MAP_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_MAP_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_MAP_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_MAP_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_MAP_ACCESS_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_STRING_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_STRING_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_STRING_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_STRING_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_STRING_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_STRING_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_STRING_CREATE_ID_g()
+ {
+ return H5P_CLS_STRING_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_STRING_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_STRING_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_STRING_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_STRING_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_ATTRIBUTE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_ATTRIBUTE_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_ATTRIBUTE_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_ATTRIBUTE_CREATE_ID_g()
+ {
+ return H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_ATTRIBUTE_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_ATTRIBUTE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_ATTRIBUTE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_ATTRIBUTE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_ATTRIBUTE_ACCESS_ID_g()
+ {
+ return H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_ATTRIBUTE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_CLS_OBJECT_COPY_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_OBJECT_COPY_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_OBJECT_COPY_ID_g$layout()
+ {
+ return H5P_CLS_OBJECT_COPY_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_OBJECT_COPY_ID_g$segment()
+ {
+ return H5P_CLS_OBJECT_COPY_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static long H5P_CLS_OBJECT_COPY_ID_g()
+ {
+ return H5P_CLS_OBJECT_COPY_ID_g$constants.SEGMENT.get(H5P_CLS_OBJECT_COPY_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static void H5P_CLS_OBJECT_COPY_ID_g(long varValue)
+ {
+ H5P_CLS_OBJECT_COPY_ID_g$constants.SEGMENT.set(H5P_CLS_OBJECT_COPY_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_LINK_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_LINK_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_LINK_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_LINK_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_LINK_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_LINK_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_LINK_CREATE_ID_g()
+ {
+ return H5P_CLS_LINK_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_LINK_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_LINK_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_LINK_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_LINK_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_LINK_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_LINK_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_LINK_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_LINK_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_LINK_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_LINK_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_LINK_ACCESS_ID_g()
+ {
+ return H5P_CLS_LINK_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_LINK_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_LINK_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_LINK_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_LINK_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_VOL_INITIALIZE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_VOL_INITIALIZE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_VOL_INITIALIZE_ID_g$layout()
+ {
+ return H5P_CLS_VOL_INITIALIZE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_VOL_INITIALIZE_ID_g$segment()
+ {
+ return H5P_CLS_VOL_INITIALIZE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static long H5P_CLS_VOL_INITIALIZE_ID_g()
+ {
+ return H5P_CLS_VOL_INITIALIZE_ID_g$constants.SEGMENT.get(H5P_CLS_VOL_INITIALIZE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static void H5P_CLS_VOL_INITIALIZE_ID_g(long varValue)
+ {
+ H5P_CLS_VOL_INITIALIZE_ID_g$constants.SEGMENT.set(H5P_CLS_VOL_INITIALIZE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_REFERENCE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_REFERENCE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_REFERENCE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_REFERENCE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_REFERENCE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_REFERENCE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_REFERENCE_ACCESS_ID_g()
+ {
+ return H5P_CLS_REFERENCE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_CLS_REFERENCE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_REFERENCE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_REFERENCE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_REFERENCE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_LST_FILE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_FILE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_FILE_CREATE_ID_g$layout()
+ {
+ return H5P_LST_FILE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_FILE_CREATE_ID_g$segment()
+ {
+ return H5P_LST_FILE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_FILE_CREATE_ID_g()
+ {
+ return H5P_LST_FILE_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_FILE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_FILE_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_FILE_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_FILE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_FILE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_FILE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_FILE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_FILE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_FILE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_FILE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_FILE_ACCESS_ID_g()
+ {
+ return H5P_LST_FILE_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_FILE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_FILE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_FILE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_FILE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATASET_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATASET_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATASET_CREATE_ID_g$layout()
+ {
+ return H5P_LST_DATASET_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATASET_CREATE_ID_g$segment()
+ {
+ return H5P_LST_DATASET_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_DATASET_CREATE_ID_g()
+ {
+ return H5P_LST_DATASET_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_DATASET_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_DATASET_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_DATASET_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_DATASET_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATASET_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATASET_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATASET_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_DATASET_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATASET_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_DATASET_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_DATASET_ACCESS_ID_g()
+ {
+ return H5P_LST_DATASET_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_DATASET_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_DATASET_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_DATASET_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_DATASET_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATASET_XFER_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATASET_XFER_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATASET_XFER_ID_g$layout()
+ {
+ return H5P_LST_DATASET_XFER_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATASET_XFER_ID_g$segment()
+ {
+ return H5P_LST_DATASET_XFER_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static long H5P_LST_DATASET_XFER_ID_g()
+ {
+ return H5P_LST_DATASET_XFER_ID_g$constants.SEGMENT.get(H5P_LST_DATASET_XFER_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static void H5P_LST_DATASET_XFER_ID_g(long varValue)
+ {
+ H5P_LST_DATASET_XFER_ID_g$constants.SEGMENT.set(H5P_LST_DATASET_XFER_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_FILE_MOUNT_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_FILE_MOUNT_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_FILE_MOUNT_ID_g$layout() { return H5P_LST_FILE_MOUNT_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_FILE_MOUNT_ID_g$segment()
+ {
+ return H5P_LST_FILE_MOUNT_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static long H5P_LST_FILE_MOUNT_ID_g()
+ {
+ return H5P_LST_FILE_MOUNT_ID_g$constants.SEGMENT.get(H5P_LST_FILE_MOUNT_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static void H5P_LST_FILE_MOUNT_ID_g(long varValue)
+ {
+ H5P_LST_FILE_MOUNT_ID_g$constants.SEGMENT.set(H5P_LST_FILE_MOUNT_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_LST_GROUP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_GROUP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_GROUP_CREATE_ID_g$layout()
+ {
+ return H5P_LST_GROUP_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_GROUP_CREATE_ID_g$segment()
+ {
+ return H5P_LST_GROUP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_GROUP_CREATE_ID_g()
+ {
+ return H5P_LST_GROUP_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_GROUP_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_GROUP_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_GROUP_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_GROUP_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_GROUP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_GROUP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_GROUP_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_GROUP_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_GROUP_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_GROUP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_GROUP_ACCESS_ID_g()
+ {
+ return H5P_LST_GROUP_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_GROUP_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_GROUP_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_GROUP_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_GROUP_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATATYPE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATATYPE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATATYPE_CREATE_ID_g$layout()
+ {
+ return H5P_LST_DATATYPE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATATYPE_CREATE_ID_g$segment()
+ {
+ return H5P_LST_DATATYPE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_DATATYPE_CREATE_ID_g()
+ {
+ return H5P_LST_DATATYPE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_LST_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_DATATYPE_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_DATATYPE_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATATYPE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATATYPE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATATYPE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_DATATYPE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATATYPE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_DATATYPE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_DATATYPE_ACCESS_ID_g()
+ {
+ return H5P_LST_DATATYPE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_LST_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_DATATYPE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_DATATYPE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_MAP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_MAP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_MAP_CREATE_ID_g$layout() { return H5P_LST_MAP_CREATE_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_MAP_CREATE_ID_g$segment()
+ {
+ return H5P_LST_MAP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_MAP_CREATE_ID_g()
+ {
+ return H5P_LST_MAP_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_MAP_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_MAP_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_MAP_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_MAP_CREATE_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_LST_MAP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_MAP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_MAP_ACCESS_ID_g$layout() { return H5P_LST_MAP_ACCESS_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_MAP_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_MAP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_MAP_ACCESS_ID_g()
+ {
+ return H5P_LST_MAP_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_MAP_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_MAP_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_MAP_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_MAP_ACCESS_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_LST_ATTRIBUTE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_ATTRIBUTE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_ATTRIBUTE_CREATE_ID_g$layout()
+ {
+ return H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_ATTRIBUTE_CREATE_ID_g$segment()
+ {
+ return H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_ATTRIBUTE_CREATE_ID_g()
+ {
+ return H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_ATTRIBUTE_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_ATTRIBUTE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_ATTRIBUTE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_ATTRIBUTE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_ATTRIBUTE_ACCESS_ID_g()
+ {
+ return H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_ATTRIBUTE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_LST_OBJECT_COPY_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_OBJECT_COPY_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_OBJECT_COPY_ID_g$layout()
+ {
+ return H5P_LST_OBJECT_COPY_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_OBJECT_COPY_ID_g$segment()
+ {
+ return H5P_LST_OBJECT_COPY_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static long H5P_LST_OBJECT_COPY_ID_g()
+ {
+ return H5P_LST_OBJECT_COPY_ID_g$constants.SEGMENT.get(H5P_LST_OBJECT_COPY_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static void H5P_LST_OBJECT_COPY_ID_g(long varValue)
+ {
+ H5P_LST_OBJECT_COPY_ID_g$constants.SEGMENT.set(H5P_LST_OBJECT_COPY_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_LINK_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_LINK_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_LINK_CREATE_ID_g$layout()
+ {
+ return H5P_LST_LINK_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_LINK_CREATE_ID_g$segment()
+ {
+ return H5P_LST_LINK_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_LINK_CREATE_ID_g()
+ {
+ return H5P_LST_LINK_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_LINK_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_LINK_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_LINK_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_LINK_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_LINK_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_LINK_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_LINK_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_LINK_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_LINK_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_LINK_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_LINK_ACCESS_ID_g()
+ {
+ return H5P_LST_LINK_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_LINK_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_LINK_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_LINK_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_LINK_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_VOL_INITIALIZE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_VOL_INITIALIZE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_VOL_INITIALIZE_ID_g$layout()
+ {
+ return H5P_LST_VOL_INITIALIZE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_VOL_INITIALIZE_ID_g$segment()
+ {
+ return H5P_LST_VOL_INITIALIZE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static long H5P_LST_VOL_INITIALIZE_ID_g()
+ {
+ return H5P_LST_VOL_INITIALIZE_ID_g$constants.SEGMENT.get(H5P_LST_VOL_INITIALIZE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static void H5P_LST_VOL_INITIALIZE_ID_g(long varValue)
+ {
+ H5P_LST_VOL_INITIALIZE_ID_g$constants.SEGMENT.set(H5P_LST_VOL_INITIALIZE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_REFERENCE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_REFERENCE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_REFERENCE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_REFERENCE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_REFERENCE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_REFERENCE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_REFERENCE_ACCESS_ID_g()
+ {
+ return H5P_LST_REFERENCE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_LST_REFERENCE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_REFERENCE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_REFERENCE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_REFERENCE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5Pclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pclose$descriptor() { return H5Pclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pclose$handle() { return H5Pclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pclose$address() { return H5Pclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static int H5Pclose(long plist_id)
+ {
+ var mh$ = H5Pclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pclose", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pclose_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pclose_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pclose_class$descriptor() { return H5Pclose_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pclose_class$handle() { return H5Pclose_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pclose_class$address() { return H5Pclose_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static int H5Pclose_class(long plist_id)
+ {
+ var mh$ = H5Pclose_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pclose_class", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pcopy$descriptor() { return H5Pcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pcopy$handle() { return H5Pcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pcopy$address() { return H5Pcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static long H5Pcopy(long plist_id)
+ {
+ var mh$ = H5Pcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcopy", plist_id);
+ }
+ return (long)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcopy_prop {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcopy_prop");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Pcopy_prop$descriptor() { return H5Pcopy_prop.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Pcopy_prop$handle() { return H5Pcopy_prop.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Pcopy_prop$address() { return H5Pcopy_prop.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static int H5Pcopy_prop(long dst_id, long src_id, MemorySegment name)
+ {
+ var mh$ = H5Pcopy_prop.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcopy_prop", dst_id, src_id, name);
+ }
+ return (int)mh$.invokeExact(dst_id, src_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcreate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pcreate$descriptor() { return H5Pcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static MethodHandle H5Pcreate$handle() { return H5Pcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static MemorySegment H5Pcreate$address() { return H5Pcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static long H5Pcreate(long cls_id)
+ {
+ var mh$ = H5Pcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcreate", cls_id);
+ }
+ return (long)mh$.invokeExact(cls_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcreate_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcreate_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pcreate_class$descriptor() { return H5Pcreate_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static MethodHandle H5Pcreate_class$handle() { return H5Pcreate_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static MemorySegment H5Pcreate_class$address() { return H5Pcreate_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static long H5Pcreate_class(long parent, MemorySegment name, MemorySegment create,
+ MemorySegment create_data, MemorySegment copy, MemorySegment copy_data,
+ MemorySegment close, MemorySegment close_data)
+ {
+ var mh$ = H5Pcreate_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcreate_class", parent, name, create, create_data, copy, copy_data, close,
+ close_data);
+ }
+ return (long)mh$.invokeExact(parent, name, create, create_data, copy, copy_data, close,
+ close_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pdecode {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pdecode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Pdecode$descriptor() { return H5Pdecode.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static MethodHandle H5Pdecode$handle() { return H5Pdecode.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static MemorySegment H5Pdecode$address() { return H5Pdecode.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static long H5Pdecode(MemorySegment buf)
+ {
+ var mh$ = H5Pdecode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pdecode", buf);
+ }
+ return (long)mh$.invokeExact(buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pencode2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pencode2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pencode2$descriptor() { return H5Pencode2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pencode2$handle() { return H5Pencode2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pencode2$address() { return H5Pencode2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static int H5Pencode2(long plist_id, MemorySegment buf, MemorySegment nalloc, long fapl_id)
+ {
+ var mh$ = H5Pencode2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pencode2", plist_id, buf, nalloc, fapl_id);
+ }
+ return (int)mh$.invokeExact(plist_id, buf, nalloc, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pequal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pequal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static FunctionDescriptor H5Pequal$descriptor() { return H5Pequal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static MethodHandle H5Pequal$handle() { return H5Pequal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static MemorySegment H5Pequal$address() { return H5Pequal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static int H5Pequal(long id1, long id2)
+ {
+ var mh$ = H5Pequal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pequal", id1, id2);
+ }
+ return (int)mh$.invokeExact(id1, id2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pexist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pexist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Pexist$descriptor() { return H5Pexist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Pexist$handle() { return H5Pexist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Pexist$address() { return H5Pexist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static int H5Pexist(long plist_id, MemorySegment name)
+ {
+ var mh$ = H5Pexist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pexist", plist_id, name);
+ }
+ return (int)mh$.invokeExact(plist_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pget$descriptor() { return H5Pget.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static MethodHandle H5Pget$handle() { return H5Pget.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static MemorySegment H5Pget$address() { return H5Pget.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static int H5Pget(long plist_id, MemorySegment name, MemorySegment value)
+ {
+ var mh$ = H5Pget.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget", plist_id, name, value);
+ }
+ return (int)mh$.invokeExact(plist_id, name, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_class$descriptor() { return H5Pget_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_class$handle() { return H5Pget_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class$address() { return H5Pget_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static long H5Pget_class(long plist_id)
+ {
+ var mh$ = H5Pget_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_class", plist_id);
+ }
+ return (long)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_class_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_class_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_class_name$descriptor() { return H5Pget_class_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static MethodHandle H5Pget_class_name$handle() { return H5Pget_class_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class_name$address() { return H5Pget_class_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class_name(long pclass_id)
+ {
+ var mh$ = H5Pget_class_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_class_name", pclass_id);
+ }
+ return (MemorySegment)mh$.invokeExact(pclass_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_class_parent {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_class_parent");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_class_parent$descriptor() { return H5Pget_class_parent.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static MethodHandle H5Pget_class_parent$handle() { return H5Pget_class_parent.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class_parent$address() { return H5Pget_class_parent.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static long H5Pget_class_parent(long pclass_id)
+ {
+ var mh$ = H5Pget_class_parent.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_class_parent", pclass_id);
+ }
+ return (long)mh$.invokeExact(pclass_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_nprops {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_nprops");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_nprops$descriptor() { return H5Pget_nprops.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static MethodHandle H5Pget_nprops$handle() { return H5Pget_nprops.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static MemorySegment H5Pget_nprops$address() { return H5Pget_nprops.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static int H5Pget_nprops(long id, MemorySegment nprops)
+ {
+ var mh$ = H5Pget_nprops.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_nprops", id, nprops);
+ }
+ return (int)mh$.invokeExact(id, nprops);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_size$descriptor() { return H5Pget_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_size$handle() { return H5Pget_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_size$address() { return H5Pget_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static int H5Pget_size(long id, MemorySegment name, MemorySegment size)
+ {
+ var mh$ = H5Pget_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_size", id, name, size);
+ }
+ return (int)mh$.invokeExact(id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pinsert2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pinsert2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static FunctionDescriptor H5Pinsert2$descriptor() { return H5Pinsert2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MethodHandle H5Pinsert2$handle() { return H5Pinsert2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MemorySegment H5Pinsert2$address() { return H5Pinsert2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static int H5Pinsert2(long plist_id, MemorySegment name, long size, MemorySegment value,
+ MemorySegment set, MemorySegment get, MemorySegment prp_del,
+ MemorySegment copy, MemorySegment compare, MemorySegment close)
+ {
+ var mh$ = H5Pinsert2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pinsert2", plist_id, name, size, value, set, get, prp_del, copy, compare,
+ close);
+ }
+ return (int)mh$.invokeExact(plist_id, name, size, value, set, get, prp_del, copy, compare, close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pisa_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pisa_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pisa_class$descriptor() { return H5Pisa_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static MethodHandle H5Pisa_class$handle() { return H5Pisa_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pisa_class$address() { return H5Pisa_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static int H5Pisa_class(long plist_id, long pclass_id)
+ {
+ var mh$ = H5Pisa_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pisa_class", plist_id, pclass_id);
+ }
+ return (int)mh$.invokeExact(plist_id, pclass_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Piterate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Piterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static FunctionDescriptor H5Piterate$descriptor() { return H5Piterate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static MethodHandle H5Piterate$handle() { return H5Piterate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static MemorySegment H5Piterate$address() { return H5Piterate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static int H5Piterate(long id, MemorySegment idx, MemorySegment iter_func, MemorySegment iter_data)
+ {
+ var mh$ = H5Piterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Piterate", id, idx, iter_func, iter_data);
+ }
+ return (int)mh$.invokeExact(id, idx, iter_func, iter_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pregister2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pregister2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static FunctionDescriptor H5Pregister2$descriptor() { return H5Pregister2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MethodHandle H5Pregister2$handle() { return H5Pregister2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MemorySegment H5Pregister2$address() { return H5Pregister2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static int H5Pregister2(long cls_id, MemorySegment name, long size, MemorySegment def_value,
+ MemorySegment create, MemorySegment set, MemorySegment get,
+ MemorySegment prp_del, MemorySegment copy, MemorySegment compare,
+ MemorySegment close)
+ {
+ var mh$ = H5Pregister2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pregister2", cls_id, name, size, def_value, create, set, get, prp_del, copy,
+ compare, close);
+ }
+ return (int)mh$.invokeExact(cls_id, name, size, def_value, create, set, get, prp_del, copy,
+ compare, close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Premove {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Premove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Premove$descriptor() { return H5Premove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Premove$handle() { return H5Premove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Premove$address() { return H5Premove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static int H5Premove(long plist_id, MemorySegment name)
+ {
+ var mh$ = H5Premove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Premove", plist_id, name);
+ }
+ return (int)mh$.invokeExact(plist_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pset$descriptor() { return H5Pset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static MethodHandle H5Pset$handle() { return H5Pset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static MemorySegment H5Pset$address() { return H5Pset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static int H5Pset(long plist_id, MemorySegment name, MemorySegment value)
+ {
+ var mh$ = H5Pset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset", plist_id, name, value);
+ }
+ return (int)mh$.invokeExact(plist_id, name, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Punregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Punregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Punregister$descriptor() { return H5Punregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Punregister$handle() { return H5Punregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Punregister$address() { return H5Punregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static int H5Punregister(long pclass_id, MemorySegment name)
+ {
+ var mh$ = H5Punregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Punregister", pclass_id, name);
+ }
+ return (int)mh$.invokeExact(pclass_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pall_filters_avail {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pall_filters_avail");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pall_filters_avail$descriptor() { return H5Pall_filters_avail.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pall_filters_avail$handle() { return H5Pall_filters_avail.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pall_filters_avail$address() { return H5Pall_filters_avail.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static int H5Pall_filters_avail(long plist_id)
+ {
+ var mh$ = H5Pall_filters_avail.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pall_filters_avail", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_attr_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_attr_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_attr_creation_order$descriptor()
+ {
+ return H5Pget_attr_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pget_attr_creation_order$handle()
+ {
+ return H5Pget_attr_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pget_attr_creation_order$address()
+ {
+ return H5Pget_attr_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static int H5Pget_attr_creation_order(long plist_id, MemorySegment crt_order_flags)
+ {
+ var mh$ = H5Pget_attr_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_attr_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_attr_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_attr_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_attr_phase_change$descriptor()
+ {
+ return H5Pget_attr_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MethodHandle H5Pget_attr_phase_change$handle() { return H5Pget_attr_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MemorySegment H5Pget_attr_phase_change$address() { return H5Pget_attr_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static int H5Pget_attr_phase_change(long plist_id, MemorySegment max_compact,
+ MemorySegment min_dense)
+ {
+ var mh$ = H5Pget_attr_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_attr_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter2$descriptor() { return H5Pget_filter2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MethodHandle H5Pget_filter2$handle() { return H5Pget_filter2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MemorySegment H5Pget_filter2$address() { return H5Pget_filter2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static int H5Pget_filter2(long plist_id, int idx, MemorySegment flags, MemorySegment cd_nelmts,
+ MemorySegment cd_values, long namelen, MemorySegment name,
+ MemorySegment filter_config)
+ {
+ var mh$ = H5Pget_filter2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter2", plist_id, idx, flags, cd_nelmts, cd_values, namelen, name,
+ filter_config);
+ }
+ return (int)mh$.invokeExact(plist_id, idx, flags, cd_nelmts, cd_values, namelen, name,
+ filter_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter_by_id2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter_by_id2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter_by_id2$descriptor() { return H5Pget_filter_by_id2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MethodHandle H5Pget_filter_by_id2$handle() { return H5Pget_filter_by_id2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MemorySegment H5Pget_filter_by_id2$address() { return H5Pget_filter_by_id2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static int H5Pget_filter_by_id2(long plist_id, int filter_id, MemorySegment flags,
+ MemorySegment cd_nelmts, MemorySegment cd_values, long namelen,
+ MemorySegment name, MemorySegment filter_config)
+ {
+ var mh$ = H5Pget_filter_by_id2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter_by_id2", plist_id, filter_id, flags, cd_nelmts, cd_values,
+ namelen, name, filter_config);
+ }
+ return (int)mh$.invokeExact(plist_id, filter_id, flags, cd_nelmts, cd_values, namelen, name,
+ filter_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_nfilters {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_nfilters");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_nfilters$descriptor() { return H5Pget_nfilters.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_nfilters$handle() { return H5Pget_nfilters.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_nfilters$address() { return H5Pget_nfilters.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_nfilters(long plist_id)
+ {
+ var mh$ = H5Pget_nfilters.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_nfilters", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_obj_track_times {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_obj_track_times");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_obj_track_times$descriptor()
+ {
+ return H5Pget_obj_track_times.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static MethodHandle H5Pget_obj_track_times$handle() { return H5Pget_obj_track_times.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static MemorySegment H5Pget_obj_track_times$address() { return H5Pget_obj_track_times.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static int H5Pget_obj_track_times(long plist_id, MemorySegment track_times)
+ {
+ var mh$ = H5Pget_obj_track_times.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_obj_track_times", plist_id, track_times);
+ }
+ return (int)mh$.invokeExact(plist_id, track_times);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pmodify_filter {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pmodify_filter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static FunctionDescriptor H5Pmodify_filter$descriptor() { return H5Pmodify_filter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static MethodHandle H5Pmodify_filter$handle() { return H5Pmodify_filter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static MemorySegment H5Pmodify_filter$address() { return H5Pmodify_filter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static int H5Pmodify_filter(long plist_id, int filter, int flags, long cd_nelmts,
+ MemorySegment cd_values)
+ {
+ var mh$ = H5Pmodify_filter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pmodify_filter", plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ return (int)mh$.invokeExact(plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Premove_filter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Premove_filter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static FunctionDescriptor H5Premove_filter$descriptor() { return H5Premove_filter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static MethodHandle H5Premove_filter$handle() { return H5Premove_filter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static MemorySegment H5Premove_filter$address() { return H5Premove_filter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static int H5Premove_filter(long plist_id, int filter)
+ {
+ var mh$ = H5Premove_filter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Premove_filter", plist_id, filter);
+ }
+ return (int)mh$.invokeExact(plist_id, filter);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_attr_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_attr_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_attr_creation_order$descriptor()
+ {
+ return H5Pset_attr_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pset_attr_creation_order$handle()
+ {
+ return H5Pset_attr_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pset_attr_creation_order$address()
+ {
+ return H5Pset_attr_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static int H5Pset_attr_creation_order(long plist_id, int crt_order_flags)
+ {
+ var mh$ = H5Pset_attr_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_attr_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_attr_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_attr_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_attr_phase_change$descriptor()
+ {
+ return H5Pset_attr_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MethodHandle H5Pset_attr_phase_change$handle() { return H5Pset_attr_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MemorySegment H5Pset_attr_phase_change$address() { return H5Pset_attr_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static int H5Pset_attr_phase_change(long plist_id, int max_compact, int min_dense)
+ {
+ var mh$ = H5Pset_attr_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_attr_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_deflate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_deflate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_deflate$descriptor() { return H5Pset_deflate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static MethodHandle H5Pset_deflate$handle() { return H5Pset_deflate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static MemorySegment H5Pset_deflate$address() { return H5Pset_deflate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static int H5Pset_deflate(long plist_id, int level)
+ {
+ var mh$ = H5Pset_deflate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_deflate", plist_id, level);
+ }
+ return (int)mh$.invokeExact(plist_id, level);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_filter {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_filter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static FunctionDescriptor H5Pset_filter$descriptor() { return H5Pset_filter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static MethodHandle H5Pset_filter$handle() { return H5Pset_filter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static MemorySegment H5Pset_filter$address() { return H5Pset_filter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static int H5Pset_filter(long plist_id, int filter, int flags, long cd_nelmts,
+ MemorySegment cd_values)
+ {
+ var mh$ = H5Pset_filter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_filter", plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ return (int)mh$.invokeExact(plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fletcher32 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fletcher32");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fletcher32$descriptor() { return H5Pset_fletcher32.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fletcher32$handle() { return H5Pset_fletcher32.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fletcher32$address() { return H5Pset_fletcher32.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static int H5Pset_fletcher32(long plist_id)
+ {
+ var mh$ = H5Pset_fletcher32.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fletcher32", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_obj_track_times {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_obj_track_times");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_obj_track_times$descriptor()
+ {
+ return H5Pset_obj_track_times.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static MethodHandle H5Pset_obj_track_times$handle() { return H5Pset_obj_track_times.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static MemorySegment H5Pset_obj_track_times$address() { return H5Pset_obj_track_times.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static int H5Pset_obj_track_times(long plist_id, boolean track_times)
+ {
+ var mh$ = H5Pset_obj_track_times.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_obj_track_times", plist_id, track_times);
+ }
+ return (int)mh$.invokeExact(plist_id, track_times);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_space_page_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_space_page_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_space_page_size$descriptor()
+ {
+ return H5Pget_file_space_page_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static MethodHandle H5Pget_file_space_page_size$handle()
+ {
+ return H5Pget_file_space_page_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static MemorySegment H5Pget_file_space_page_size$address()
+ {
+ return H5Pget_file_space_page_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static int H5Pget_file_space_page_size(long plist_id, MemorySegment fsp_size)
+ {
+ var mh$ = H5Pget_file_space_page_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_space_page_size", plist_id, fsp_size);
+ }
+ return (int)mh$.invokeExact(plist_id, fsp_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_space_strategy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_space_strategy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_space_strategy$descriptor()
+ {
+ return H5Pget_file_space_strategy.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static MethodHandle H5Pget_file_space_strategy$handle()
+ {
+ return H5Pget_file_space_strategy.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static MemorySegment H5Pget_file_space_strategy$address()
+ {
+ return H5Pget_file_space_strategy.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static int H5Pget_file_space_strategy(long plist_id, MemorySegment strategy, MemorySegment persist,
+ MemorySegment threshold)
+ {
+ var mh$ = H5Pget_file_space_strategy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_space_strategy", plist_id, strategy, persist, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, persist, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_istore_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_istore_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_istore_k$descriptor() { return H5Pget_istore_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static MethodHandle H5Pget_istore_k$handle() { return H5Pget_istore_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static MemorySegment H5Pget_istore_k$address() { return H5Pget_istore_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static int H5Pget_istore_k(long plist_id, MemorySegment ik)
+ {
+ var mh$ = H5Pget_istore_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_istore_k", plist_id, ik);
+ }
+ return (int)mh$.invokeExact(plist_id, ik);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_shared_mesg_index {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_shared_mesg_index");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_shared_mesg_index$descriptor()
+ {
+ return H5Pget_shared_mesg_index.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static MethodHandle H5Pget_shared_mesg_index$handle() { return H5Pget_shared_mesg_index.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static MemorySegment H5Pget_shared_mesg_index$address() { return H5Pget_shared_mesg_index.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static int H5Pget_shared_mesg_index(long plist_id, int index_num, MemorySegment mesg_type_flags,
+ MemorySegment min_mesg_size)
+ {
+ var mh$ = H5Pget_shared_mesg_index.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_shared_mesg_index", plist_id, index_num, mesg_type_flags,
+ min_mesg_size);
+ }
+ return (int)mh$.invokeExact(plist_id, index_num, mesg_type_flags, min_mesg_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_shared_mesg_nindexes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_shared_mesg_nindexes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_shared_mesg_nindexes$descriptor()
+ {
+ return H5Pget_shared_mesg_nindexes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static MethodHandle H5Pget_shared_mesg_nindexes$handle()
+ {
+ return H5Pget_shared_mesg_nindexes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static MemorySegment H5Pget_shared_mesg_nindexes$address()
+ {
+ return H5Pget_shared_mesg_nindexes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static int H5Pget_shared_mesg_nindexes(long plist_id, MemorySegment nindexes)
+ {
+ var mh$ = H5Pget_shared_mesg_nindexes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_shared_mesg_nindexes", plist_id, nindexes);
+ }
+ return (int)mh$.invokeExact(plist_id, nindexes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_shared_mesg_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_shared_mesg_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_shared_mesg_phase_change$descriptor()
+ {
+ return H5Pget_shared_mesg_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static MethodHandle H5Pget_shared_mesg_phase_change$handle()
+ {
+ return H5Pget_shared_mesg_phase_change.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static MemorySegment H5Pget_shared_mesg_phase_change$address()
+ {
+ return H5Pget_shared_mesg_phase_change.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static int H5Pget_shared_mesg_phase_change(long plist_id, MemorySegment max_list,
+ MemorySegment min_btree)
+ {
+ var mh$ = H5Pget_shared_mesg_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_shared_mesg_phase_change", plist_id, max_list, min_btree);
+ }
+ return (int)mh$.invokeExact(plist_id, max_list, min_btree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_sizes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_sizes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_sizes$descriptor() { return H5Pget_sizes.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static MethodHandle H5Pget_sizes$handle() { return H5Pget_sizes.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static MemorySegment H5Pget_sizes$address() { return H5Pget_sizes.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static int H5Pget_sizes(long plist_id, MemorySegment sizeof_addr, MemorySegment sizeof_size)
+ {
+ var mh$ = H5Pget_sizes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_sizes", plist_id, sizeof_addr, sizeof_size);
+ }
+ return (int)mh$.invokeExact(plist_id, sizeof_addr, sizeof_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_sym_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_sym_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_sym_k$descriptor() { return H5Pget_sym_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static MethodHandle H5Pget_sym_k$handle() { return H5Pget_sym_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static MemorySegment H5Pget_sym_k$address() { return H5Pget_sym_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static int H5Pget_sym_k(long plist_id, MemorySegment ik, MemorySegment lk)
+ {
+ var mh$ = H5Pget_sym_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_sym_k", plist_id, ik, lk);
+ }
+ return (int)mh$.invokeExact(plist_id, ik, lk);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_userblock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_userblock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_userblock$descriptor() { return H5Pget_userblock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_userblock$handle() { return H5Pget_userblock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_userblock$address() { return H5Pget_userblock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static int H5Pget_userblock(long plist_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_userblock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_userblock", plist_id, size);
+ }
+ return (int)mh$.invokeExact(plist_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_space_page_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_space_page_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_space_page_size$descriptor()
+ {
+ return H5Pset_file_space_page_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static MethodHandle H5Pset_file_space_page_size$handle()
+ {
+ return H5Pset_file_space_page_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static MemorySegment H5Pset_file_space_page_size$address()
+ {
+ return H5Pset_file_space_page_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static int H5Pset_file_space_page_size(long plist_id, long fsp_size)
+ {
+ var mh$ = H5Pset_file_space_page_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_space_page_size", plist_id, fsp_size);
+ }
+ return (int)mh$.invokeExact(plist_id, fsp_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_space_strategy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_BOOL, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_space_strategy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_space_strategy$descriptor()
+ {
+ return H5Pset_file_space_strategy.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static MethodHandle H5Pset_file_space_strategy$handle()
+ {
+ return H5Pset_file_space_strategy.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static MemorySegment H5Pset_file_space_strategy$address()
+ {
+ return H5Pset_file_space_strategy.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static int H5Pset_file_space_strategy(long plist_id, int strategy, boolean persist, long threshold)
+ {
+ var mh$ = H5Pset_file_space_strategy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_space_strategy", plist_id, strategy, persist, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, persist, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_istore_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_istore_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_istore_k$descriptor() { return H5Pset_istore_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static MethodHandle H5Pset_istore_k$handle() { return H5Pset_istore_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static MemorySegment H5Pset_istore_k$address() { return H5Pset_istore_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static int H5Pset_istore_k(long plist_id, int ik)
+ {
+ var mh$ = H5Pset_istore_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_istore_k", plist_id, ik);
+ }
+ return (int)mh$.invokeExact(plist_id, ik);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shared_mesg_index {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shared_mesg_index");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shared_mesg_index$descriptor()
+ {
+ return H5Pset_shared_mesg_index.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static MethodHandle H5Pset_shared_mesg_index$handle() { return H5Pset_shared_mesg_index.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static MemorySegment H5Pset_shared_mesg_index$address() { return H5Pset_shared_mesg_index.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static int H5Pset_shared_mesg_index(long plist_id, int index_num, int mesg_type_flags,
+ int min_mesg_size)
+ {
+ var mh$ = H5Pset_shared_mesg_index.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shared_mesg_index", plist_id, index_num, mesg_type_flags,
+ min_mesg_size);
+ }
+ return (int)mh$.invokeExact(plist_id, index_num, mesg_type_flags, min_mesg_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shared_mesg_nindexes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shared_mesg_nindexes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shared_mesg_nindexes$descriptor()
+ {
+ return H5Pset_shared_mesg_nindexes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static MethodHandle H5Pset_shared_mesg_nindexes$handle()
+ {
+ return H5Pset_shared_mesg_nindexes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static MemorySegment H5Pset_shared_mesg_nindexes$address()
+ {
+ return H5Pset_shared_mesg_nindexes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static int H5Pset_shared_mesg_nindexes(long plist_id, int nindexes)
+ {
+ var mh$ = H5Pset_shared_mesg_nindexes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shared_mesg_nindexes", plist_id, nindexes);
+ }
+ return (int)mh$.invokeExact(plist_id, nindexes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shared_mesg_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shared_mesg_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shared_mesg_phase_change$descriptor()
+ {
+ return H5Pset_shared_mesg_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static MethodHandle H5Pset_shared_mesg_phase_change$handle()
+ {
+ return H5Pset_shared_mesg_phase_change.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static MemorySegment H5Pset_shared_mesg_phase_change$address()
+ {
+ return H5Pset_shared_mesg_phase_change.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static int H5Pset_shared_mesg_phase_change(long plist_id, int max_list, int min_btree)
+ {
+ var mh$ = H5Pset_shared_mesg_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shared_mesg_phase_change", plist_id, max_list, min_btree);
+ }
+ return (int)mh$.invokeExact(plist_id, max_list, min_btree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_sizes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_sizes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_sizes$descriptor() { return H5Pset_sizes.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static MethodHandle H5Pset_sizes$handle() { return H5Pset_sizes.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static MemorySegment H5Pset_sizes$address() { return H5Pset_sizes.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static int H5Pset_sizes(long plist_id, long sizeof_addr, long sizeof_size)
+ {
+ var mh$ = H5Pset_sizes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_sizes", plist_id, sizeof_addr, sizeof_size);
+ }
+ return (int)mh$.invokeExact(plist_id, sizeof_addr, sizeof_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_sym_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_sym_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_sym_k$descriptor() { return H5Pset_sym_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static MethodHandle H5Pset_sym_k$handle() { return H5Pset_sym_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static MemorySegment H5Pset_sym_k$address() { return H5Pset_sym_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static int H5Pset_sym_k(long plist_id, int ik, int lk)
+ {
+ var mh$ = H5Pset_sym_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_sym_k", plist_id, ik, lk);
+ }
+ return (int)mh$.invokeExact(plist_id, ik, lk);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_userblock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_userblock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_userblock$descriptor() { return H5Pset_userblock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_userblock$handle() { return H5Pset_userblock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_userblock$address() { return H5Pset_userblock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static int H5Pset_userblock(long plist_id, long size)
+ {
+ var mh$ = H5Pset_userblock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_userblock", plist_id, size);
+ }
+ return (int)mh$.invokeExact(plist_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_alignment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_alignment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_alignment$descriptor() { return H5Pget_alignment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static MethodHandle H5Pget_alignment$handle() { return H5Pget_alignment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static MemorySegment H5Pget_alignment$address() { return H5Pget_alignment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static int H5Pget_alignment(long fapl_id, MemorySegment threshold, MemorySegment alignment)
+ {
+ var mh$ = H5Pget_alignment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_alignment", fapl_id, threshold, alignment);
+ }
+ return (int)mh$.invokeExact(fapl_id, threshold, alignment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_cache {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_cache$descriptor() { return H5Pget_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pget_cache$handle() { return H5Pget_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pget_cache$address() { return H5Pget_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static int H5Pget_cache(long plist_id, MemorySegment mdc_nelmts, MemorySegment rdcc_nslots,
+ MemorySegment rdcc_nbytes, MemorySegment rdcc_w0)
+ {
+ var mh$ = H5Pget_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_cache", plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_core_write_tracking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_core_write_tracking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_core_write_tracking$descriptor()
+ {
+ return H5Pget_core_write_tracking.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static MethodHandle H5Pget_core_write_tracking$handle()
+ {
+ return H5Pget_core_write_tracking.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static MemorySegment H5Pget_core_write_tracking$address()
+ {
+ return H5Pget_core_write_tracking.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static int H5Pget_core_write_tracking(long fapl_id, MemorySegment is_enabled,
+ MemorySegment page_size)
+ {
+ var mh$ = H5Pget_core_write_tracking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_core_write_tracking", fapl_id, is_enabled, page_size);
+ }
+ return (int)mh$.invokeExact(fapl_id, is_enabled, page_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_driver {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_driver");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_driver$descriptor() { return H5Pget_driver.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_driver$handle() { return H5Pget_driver.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_driver$address() { return H5Pget_driver.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static long H5Pget_driver(long plist_id)
+ {
+ var mh$ = H5Pget_driver.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_driver", plist_id);
+ }
+ return (long)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_driver_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_driver_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_driver_info$descriptor() { return H5Pget_driver_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_driver_info$handle() { return H5Pget_driver_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_driver_info$address() { return H5Pget_driver_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_driver_info(long plist_id)
+ {
+ var mh$ = H5Pget_driver_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_driver_info", plist_id);
+ }
+ return (MemorySegment)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_driver_config_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_driver_config_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_driver_config_str$descriptor()
+ {
+ return H5Pget_driver_config_str.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5Pget_driver_config_str$handle() { return H5Pget_driver_config_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5Pget_driver_config_str$address() { return H5Pget_driver_config_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static long H5Pget_driver_config_str(long fapl_id, MemorySegment config_buf, long buf_size)
+ {
+ var mh$ = H5Pget_driver_config_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_driver_config_str", fapl_id, config_buf, buf_size);
+ }
+ return (long)mh$.invokeExact(fapl_id, config_buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_file_cache_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_file_cache_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_file_cache_size$descriptor()
+ {
+ return H5Pget_elink_file_cache_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_file_cache_size$handle()
+ {
+ return H5Pget_elink_file_cache_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_file_cache_size$address()
+ {
+ return H5Pget_elink_file_cache_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static int H5Pget_elink_file_cache_size(long plist_id, MemorySegment efc_size)
+ {
+ var mh$ = H5Pget_elink_file_cache_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_file_cache_size", plist_id, efc_size);
+ }
+ return (int)mh$.invokeExact(plist_id, efc_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_evict_on_close {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_evict_on_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_evict_on_close$descriptor() { return H5Pget_evict_on_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static MethodHandle H5Pget_evict_on_close$handle() { return H5Pget_evict_on_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static MemorySegment H5Pget_evict_on_close$address() { return H5Pget_evict_on_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static int H5Pget_evict_on_close(long fapl_id, MemorySegment evict_on_close)
+ {
+ var mh$ = H5Pget_evict_on_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_evict_on_close", fapl_id, evict_on_close);
+ }
+ return (int)mh$.invokeExact(fapl_id, evict_on_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_family_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_family_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_family_offset$descriptor() { return H5Pget_family_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static MethodHandle H5Pget_family_offset$handle() { return H5Pget_family_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static MemorySegment H5Pget_family_offset$address() { return H5Pget_family_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static int H5Pget_family_offset(long fapl_id, MemorySegment offset)
+ {
+ var mh$ = H5Pget_family_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_family_offset", fapl_id, offset);
+ }
+ return (int)mh$.invokeExact(fapl_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fclose_degree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fclose_degree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fclose_degree$descriptor() { return H5Pget_fclose_degree.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static MethodHandle H5Pget_fclose_degree$handle() { return H5Pget_fclose_degree.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static MemorySegment H5Pget_fclose_degree$address() { return H5Pget_fclose_degree.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static int H5Pget_fclose_degree(long fapl_id, MemorySegment degree)
+ {
+ var mh$ = H5Pget_fclose_degree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fclose_degree", fapl_id, degree);
+ }
+ return (int)mh$.invokeExact(fapl_id, degree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_image {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_image");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_image$descriptor() { return H5Pget_file_image.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_file_image$handle() { return H5Pget_file_image.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_file_image$address() { return H5Pget_file_image.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static int H5Pget_file_image(long fapl_id, MemorySegment buf_ptr_ptr, MemorySegment buf_len_ptr)
+ {
+ var mh$ = H5Pget_file_image.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_image", fapl_id, buf_ptr_ptr, buf_len_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, buf_ptr_ptr, buf_len_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_image_callbacks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_image_callbacks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_image_callbacks$descriptor()
+ {
+ return H5Pget_file_image_callbacks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_file_image_callbacks$handle()
+ {
+ return H5Pget_file_image_callbacks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_file_image_callbacks$address()
+ {
+ return H5Pget_file_image_callbacks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static int H5Pget_file_image_callbacks(long fapl_id, MemorySegment callbacks_ptr)
+ {
+ var mh$ = H5Pget_file_image_callbacks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_image_callbacks", fapl_id, callbacks_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, callbacks_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_locking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_locking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_locking$descriptor() { return H5Pget_file_locking.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static MethodHandle H5Pget_file_locking$handle() { return H5Pget_file_locking.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static MemorySegment H5Pget_file_locking$address() { return H5Pget_file_locking.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static int H5Pget_file_locking(long fapl_id, MemorySegment use_file_locking,
+ MemorySegment ignore_when_disabled)
+ {
+ var mh$ = H5Pget_file_locking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_locking", fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ return (int)mh$.invokeExact(fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_gc_references {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_gc_references");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_gc_references$descriptor() { return H5Pget_gc_references.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static MethodHandle H5Pget_gc_references$handle() { return H5Pget_gc_references.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static MemorySegment H5Pget_gc_references$address() { return H5Pget_gc_references.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static int H5Pget_gc_references(long fapl_id, MemorySegment gc_ref)
+ {
+ var mh$ = H5Pget_gc_references.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_gc_references", fapl_id, gc_ref);
+ }
+ return (int)mh$.invokeExact(fapl_id, gc_ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_libver_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_libver_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_libver_bounds$descriptor() { return H5Pget_libver_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static MethodHandle H5Pget_libver_bounds$handle() { return H5Pget_libver_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static MemorySegment H5Pget_libver_bounds$address() { return H5Pget_libver_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static int H5Pget_libver_bounds(long plist_id, MemorySegment low, MemorySegment high)
+ {
+ var mh$ = H5Pget_libver_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_libver_bounds", plist_id, low, high);
+ }
+ return (int)mh$.invokeExact(plist_id, low, high);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mdc_config$descriptor() { return H5Pget_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_mdc_config$handle() { return H5Pget_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_mdc_config$address() { return H5Pget_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pget_mdc_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pget_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mdc_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mdc_image_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mdc_image_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mdc_image_config$descriptor()
+ {
+ return H5Pget_mdc_image_config.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_mdc_image_config$handle() { return H5Pget_mdc_image_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_mdc_image_config$address() { return H5Pget_mdc_image_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pget_mdc_image_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pget_mdc_image_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mdc_image_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mdc_log_options {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mdc_log_options");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mdc_log_options$descriptor()
+ {
+ return H5Pget_mdc_log_options.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static MethodHandle H5Pget_mdc_log_options$handle() { return H5Pget_mdc_log_options.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static MemorySegment H5Pget_mdc_log_options$address() { return H5Pget_mdc_log_options.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static int H5Pget_mdc_log_options(long plist_id, MemorySegment is_enabled, MemorySegment location,
+ MemorySegment location_size, MemorySegment start_on_access)
+ {
+ var mh$ = H5Pget_mdc_log_options.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mdc_log_options", plist_id, is_enabled, location, location_size,
+ start_on_access);
+ }
+ return (int)mh$.invokeExact(plist_id, is_enabled, location, location_size, start_on_access);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_meta_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_meta_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_meta_block_size$descriptor()
+ {
+ return H5Pget_meta_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_meta_block_size$handle() { return H5Pget_meta_block_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_meta_block_size$address() { return H5Pget_meta_block_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static int H5Pget_meta_block_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_meta_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_meta_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_metadata_read_attempts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_metadata_read_attempts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_metadata_read_attempts$descriptor()
+ {
+ return H5Pget_metadata_read_attempts.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static MethodHandle H5Pget_metadata_read_attempts$handle()
+ {
+ return H5Pget_metadata_read_attempts.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static MemorySegment H5Pget_metadata_read_attempts$address()
+ {
+ return H5Pget_metadata_read_attempts.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static int H5Pget_metadata_read_attempts(long plist_id, MemorySegment attempts)
+ {
+ var mh$ = H5Pget_metadata_read_attempts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_metadata_read_attempts", plist_id, attempts);
+ }
+ return (int)mh$.invokeExact(plist_id, attempts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_multi_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_multi_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_multi_type$descriptor() { return H5Pget_multi_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static MethodHandle H5Pget_multi_type$handle() { return H5Pget_multi_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static MemorySegment H5Pget_multi_type$address() { return H5Pget_multi_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static int H5Pget_multi_type(long fapl_id, MemorySegment type)
+ {
+ var mh$ = H5Pget_multi_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_multi_type", fapl_id, type);
+ }
+ return (int)mh$.invokeExact(fapl_id, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_object_flush_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_object_flush_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_object_flush_cb$descriptor()
+ {
+ return H5Pget_object_flush_cb.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static MethodHandle H5Pget_object_flush_cb$handle() { return H5Pget_object_flush_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static MemorySegment H5Pget_object_flush_cb$address() { return H5Pget_object_flush_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static int H5Pget_object_flush_cb(long plist_id, MemorySegment func, MemorySegment udata)
+ {
+ var mh$ = H5Pget_object_flush_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_object_flush_cb", plist_id, func, udata);
+ }
+ return (int)mh$.invokeExact(plist_id, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_page_buffer_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_page_buffer_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_page_buffer_size$descriptor()
+ {
+ return H5Pget_page_buffer_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static MethodHandle H5Pget_page_buffer_size$handle() { return H5Pget_page_buffer_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static MemorySegment H5Pget_page_buffer_size$address() { return H5Pget_page_buffer_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static int H5Pget_page_buffer_size(long plist_id, MemorySegment buf_size,
+ MemorySegment min_meta_perc, MemorySegment min_raw_perc)
+ {
+ var mh$ = H5Pget_page_buffer_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_page_buffer_size", plist_id, buf_size, min_meta_perc, min_raw_perc);
+ }
+ return (int)mh$.invokeExact(plist_id, buf_size, min_meta_perc, min_raw_perc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_sieve_buf_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_sieve_buf_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_sieve_buf_size$descriptor() { return H5Pget_sieve_buf_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_sieve_buf_size$handle() { return H5Pget_sieve_buf_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_sieve_buf_size$address() { return H5Pget_sieve_buf_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static int H5Pget_sieve_buf_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_sieve_buf_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_sieve_buf_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_small_data_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_small_data_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_small_data_block_size$descriptor()
+ {
+ return H5Pget_small_data_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_small_data_block_size$handle()
+ {
+ return H5Pget_small_data_block_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_small_data_block_size$address()
+ {
+ return H5Pget_small_data_block_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static int H5Pget_small_data_block_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_small_data_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_small_data_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vol_id {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vol_id");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vol_id$descriptor() { return H5Pget_vol_id.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static MethodHandle H5Pget_vol_id$handle() { return H5Pget_vol_id.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static MemorySegment H5Pget_vol_id$address() { return H5Pget_vol_id.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static int H5Pget_vol_id(long plist_id, MemorySegment vol_id)
+ {
+ var mh$ = H5Pget_vol_id.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vol_id", plist_id, vol_id);
+ }
+ return (int)mh$.invokeExact(plist_id, vol_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vol_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vol_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vol_info$descriptor() { return H5Pget_vol_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static MethodHandle H5Pget_vol_info$handle() { return H5Pget_vol_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static MemorySegment H5Pget_vol_info$address() { return H5Pget_vol_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static int H5Pget_vol_info(long plist_id, MemorySegment vol_info)
+ {
+ var mh$ = H5Pget_vol_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vol_info", plist_id, vol_info);
+ }
+ return (int)mh$.invokeExact(plist_id, vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_alignment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_alignment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_alignment$descriptor() { return H5Pset_alignment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static MethodHandle H5Pset_alignment$handle() { return H5Pset_alignment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static MemorySegment H5Pset_alignment$address() { return H5Pset_alignment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static int H5Pset_alignment(long fapl_id, long threshold, long alignment)
+ {
+ var mh$ = H5Pset_alignment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_alignment", fapl_id, threshold, alignment);
+ }
+ return (int)mh$.invokeExact(fapl_id, threshold, alignment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_DOUBLE);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_cache$descriptor() { return H5Pset_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pset_cache$handle() { return H5Pset_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pset_cache$address() { return H5Pset_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static int H5Pset_cache(long plist_id, int mdc_nelmts, long rdcc_nslots, long rdcc_nbytes,
+ double rdcc_w0)
+ {
+ var mh$ = H5Pset_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_cache", plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_core_write_tracking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_core_write_tracking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_core_write_tracking$descriptor()
+ {
+ return H5Pset_core_write_tracking.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static MethodHandle H5Pset_core_write_tracking$handle()
+ {
+ return H5Pset_core_write_tracking.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static MemorySegment H5Pset_core_write_tracking$address()
+ {
+ return H5Pset_core_write_tracking.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static int H5Pset_core_write_tracking(long fapl_id, boolean is_enabled, long page_size)
+ {
+ var mh$ = H5Pset_core_write_tracking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_core_write_tracking", fapl_id, is_enabled, page_size);
+ }
+ return (int)mh$.invokeExact(fapl_id, is_enabled, page_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_driver {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_driver");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_driver$descriptor() { return H5Pset_driver.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static MethodHandle H5Pset_driver$handle() { return H5Pset_driver.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static MemorySegment H5Pset_driver$address() { return H5Pset_driver.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static int H5Pset_driver(long plist_id, long driver_id, MemorySegment driver_info)
+ {
+ var mh$ = H5Pset_driver.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_driver", plist_id, driver_id, driver_info);
+ }
+ return (int)mh$.invokeExact(plist_id, driver_id, driver_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_driver_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_driver_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_driver_by_name$descriptor() { return H5Pset_driver_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static MethodHandle H5Pset_driver_by_name$handle() { return H5Pset_driver_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static MemorySegment H5Pset_driver_by_name$address() { return H5Pset_driver_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static int H5Pset_driver_by_name(long plist_id, MemorySegment driver_name,
+ MemorySegment driver_config)
+ {
+ var mh$ = H5Pset_driver_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_driver_by_name", plist_id, driver_name, driver_config);
+ }
+ return (int)mh$.invokeExact(plist_id, driver_name, driver_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_driver_by_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_driver_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_driver_by_value$descriptor()
+ {
+ return H5Pset_driver_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static MethodHandle H5Pset_driver_by_value$handle() { return H5Pset_driver_by_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static MemorySegment H5Pset_driver_by_value$address() { return H5Pset_driver_by_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static int H5Pset_driver_by_value(long plist_id, int driver_value, MemorySegment driver_config)
+ {
+ var mh$ = H5Pset_driver_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_driver_by_value", plist_id, driver_value, driver_config);
+ }
+ return (int)mh$.invokeExact(plist_id, driver_value, driver_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_file_cache_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_file_cache_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_file_cache_size$descriptor()
+ {
+ return H5Pset_elink_file_cache_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_file_cache_size$handle()
+ {
+ return H5Pset_elink_file_cache_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_file_cache_size$address()
+ {
+ return H5Pset_elink_file_cache_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static int H5Pset_elink_file_cache_size(long plist_id, int efc_size)
+ {
+ var mh$ = H5Pset_elink_file_cache_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_file_cache_size", plist_id, efc_size);
+ }
+ return (int)mh$.invokeExact(plist_id, efc_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_evict_on_close {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_evict_on_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_evict_on_close$descriptor() { return H5Pset_evict_on_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static MethodHandle H5Pset_evict_on_close$handle() { return H5Pset_evict_on_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static MemorySegment H5Pset_evict_on_close$address() { return H5Pset_evict_on_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static int H5Pset_evict_on_close(long fapl_id, boolean evict_on_close)
+ {
+ var mh$ = H5Pset_evict_on_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_evict_on_close", fapl_id, evict_on_close);
+ }
+ return (int)mh$.invokeExact(fapl_id, evict_on_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_family_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_family_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_family_offset$descriptor() { return H5Pset_family_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static MethodHandle H5Pset_family_offset$handle() { return H5Pset_family_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static MemorySegment H5Pset_family_offset$address() { return H5Pset_family_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static int H5Pset_family_offset(long fapl_id, long offset)
+ {
+ var mh$ = H5Pset_family_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_family_offset", fapl_id, offset);
+ }
+ return (int)mh$.invokeExact(fapl_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fclose_degree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fclose_degree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fclose_degree$descriptor() { return H5Pset_fclose_degree.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static MethodHandle H5Pset_fclose_degree$handle() { return H5Pset_fclose_degree.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static MemorySegment H5Pset_fclose_degree$address() { return H5Pset_fclose_degree.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static int H5Pset_fclose_degree(long fapl_id, int degree)
+ {
+ var mh$ = H5Pset_fclose_degree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fclose_degree", fapl_id, degree);
+ }
+ return (int)mh$.invokeExact(fapl_id, degree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_image {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_image");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_image$descriptor() { return H5Pset_file_image.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MethodHandle H5Pset_file_image$handle() { return H5Pset_file_image.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MemorySegment H5Pset_file_image$address() { return H5Pset_file_image.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static int H5Pset_file_image(long fapl_id, MemorySegment buf_ptr, long buf_len)
+ {
+ var mh$ = H5Pset_file_image.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_image", fapl_id, buf_ptr, buf_len);
+ }
+ return (int)mh$.invokeExact(fapl_id, buf_ptr, buf_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_image_callbacks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_image_callbacks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_image_callbacks$descriptor()
+ {
+ return H5Pset_file_image_callbacks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_file_image_callbacks$handle()
+ {
+ return H5Pset_file_image_callbacks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_file_image_callbacks$address()
+ {
+ return H5Pset_file_image_callbacks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static int H5Pset_file_image_callbacks(long fapl_id, MemorySegment callbacks_ptr)
+ {
+ var mh$ = H5Pset_file_image_callbacks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_image_callbacks", fapl_id, callbacks_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, callbacks_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_locking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_locking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_locking$descriptor() { return H5Pset_file_locking.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static MethodHandle H5Pset_file_locking$handle() { return H5Pset_file_locking.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static MemorySegment H5Pset_file_locking$address() { return H5Pset_file_locking.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static int H5Pset_file_locking(long fapl_id, boolean use_file_locking,
+ boolean ignore_when_disabled)
+ {
+ var mh$ = H5Pset_file_locking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_locking", fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ return (int)mh$.invokeExact(fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_gc_references {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_gc_references");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_gc_references$descriptor() { return H5Pset_gc_references.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static MethodHandle H5Pset_gc_references$handle() { return H5Pset_gc_references.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static MemorySegment H5Pset_gc_references$address() { return H5Pset_gc_references.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static int H5Pset_gc_references(long fapl_id, int gc_ref)
+ {
+ var mh$ = H5Pset_gc_references.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_gc_references", fapl_id, gc_ref);
+ }
+ return (int)mh$.invokeExact(fapl_id, gc_ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_libver_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_libver_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_libver_bounds$descriptor() { return H5Pset_libver_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MethodHandle H5Pset_libver_bounds$handle() { return H5Pset_libver_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MemorySegment H5Pset_libver_bounds$address() { return H5Pset_libver_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static int H5Pset_libver_bounds(long plist_id, int low, int high)
+ {
+ var mh$ = H5Pset_libver_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_libver_bounds", plist_id, low, high);
+ }
+ return (int)mh$.invokeExact(plist_id, low, high);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mdc_config$descriptor() { return H5Pset_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_mdc_config$handle() { return H5Pset_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_mdc_config$address() { return H5Pset_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pset_mdc_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pset_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mdc_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mdc_log_options {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL, hdf5_h.C_POINTER, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mdc_log_options");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mdc_log_options$descriptor()
+ {
+ return H5Pset_mdc_log_options.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static MethodHandle H5Pset_mdc_log_options$handle() { return H5Pset_mdc_log_options.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static MemorySegment H5Pset_mdc_log_options$address() { return H5Pset_mdc_log_options.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static int H5Pset_mdc_log_options(long plist_id, boolean is_enabled, MemorySegment location,
+ boolean start_on_access)
+ {
+ var mh$ = H5Pset_mdc_log_options.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mdc_log_options", plist_id, is_enabled, location, start_on_access);
+ }
+ return (int)mh$.invokeExact(plist_id, is_enabled, location, start_on_access);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_meta_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_meta_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_meta_block_size$descriptor()
+ {
+ return H5Pset_meta_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_meta_block_size$handle() { return H5Pset_meta_block_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_meta_block_size$address() { return H5Pset_meta_block_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static int H5Pset_meta_block_size(long fapl_id, long size)
+ {
+ var mh$ = H5Pset_meta_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_meta_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_metadata_read_attempts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_metadata_read_attempts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_metadata_read_attempts$descriptor()
+ {
+ return H5Pset_metadata_read_attempts.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static MethodHandle H5Pset_metadata_read_attempts$handle()
+ {
+ return H5Pset_metadata_read_attempts.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static MemorySegment H5Pset_metadata_read_attempts$address()
+ {
+ return H5Pset_metadata_read_attempts.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static int H5Pset_metadata_read_attempts(long plist_id, int attempts)
+ {
+ var mh$ = H5Pset_metadata_read_attempts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_metadata_read_attempts", plist_id, attempts);
+ }
+ return (int)mh$.invokeExact(plist_id, attempts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_multi_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_multi_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_multi_type$descriptor() { return H5Pset_multi_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static MethodHandle H5Pset_multi_type$handle() { return H5Pset_multi_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static MemorySegment H5Pset_multi_type$address() { return H5Pset_multi_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static int H5Pset_multi_type(long fapl_id, int type)
+ {
+ var mh$ = H5Pset_multi_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_multi_type", fapl_id, type);
+ }
+ return (int)mh$.invokeExact(fapl_id, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_object_flush_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_object_flush_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_object_flush_cb$descriptor()
+ {
+ return H5Pset_object_flush_cb.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static MethodHandle H5Pset_object_flush_cb$handle() { return H5Pset_object_flush_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static MemorySegment H5Pset_object_flush_cb$address() { return H5Pset_object_flush_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static int H5Pset_object_flush_cb(long plist_id, MemorySegment func, MemorySegment udata)
+ {
+ var mh$ = H5Pset_object_flush_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_object_flush_cb", plist_id, func, udata);
+ }
+ return (int)mh$.invokeExact(plist_id, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_sieve_buf_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_sieve_buf_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_sieve_buf_size$descriptor() { return H5Pset_sieve_buf_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_sieve_buf_size$handle() { return H5Pset_sieve_buf_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_sieve_buf_size$address() { return H5Pset_sieve_buf_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static int H5Pset_sieve_buf_size(long fapl_id, long size)
+ {
+ var mh$ = H5Pset_sieve_buf_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_sieve_buf_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_small_data_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_small_data_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_small_data_block_size$descriptor()
+ {
+ return H5Pset_small_data_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_small_data_block_size$handle()
+ {
+ return H5Pset_small_data_block_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_small_data_block_size$address()
+ {
+ return H5Pset_small_data_block_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static int H5Pset_small_data_block_size(long fapl_id, long size)
+ {
+ var mh$ = H5Pset_small_data_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_small_data_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_vol {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_vol");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_vol$descriptor() { return H5Pset_vol.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static MethodHandle H5Pset_vol$handle() { return H5Pset_vol.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static MemorySegment H5Pset_vol$address() { return H5Pset_vol.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static int H5Pset_vol(long plist_id, long new_vol_id, MemorySegment new_vol_info)
+ {
+ var mh$ = H5Pset_vol.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_vol", plist_id, new_vol_id, new_vol_info);
+ }
+ return (int)mh$.invokeExact(plist_id, new_vol_id, new_vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vol_cap_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vol_cap_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vol_cap_flags$descriptor() { return H5Pget_vol_cap_flags.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MethodHandle H5Pget_vol_cap_flags$handle() { return H5Pget_vol_cap_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MemorySegment H5Pget_vol_cap_flags$address() { return H5Pget_vol_cap_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static int H5Pget_vol_cap_flags(long plist_id, MemorySegment cap_flags)
+ {
+ var mh$ = H5Pget_vol_cap_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vol_cap_flags", plist_id, cap_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, cap_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mdc_image_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mdc_image_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mdc_image_config$descriptor()
+ {
+ return H5Pset_mdc_image_config.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_mdc_image_config$handle() { return H5Pset_mdc_image_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_mdc_image_config$address() { return H5Pset_mdc_image_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pset_mdc_image_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pset_mdc_image_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mdc_image_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_page_buffer_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_page_buffer_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_page_buffer_size$descriptor()
+ {
+ return H5Pset_page_buffer_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static MethodHandle H5Pset_page_buffer_size$handle() { return H5Pset_page_buffer_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static MemorySegment H5Pset_page_buffer_size$address() { return H5Pset_page_buffer_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static int H5Pset_page_buffer_size(long plist_id, long buf_size, int min_meta_per, int min_raw_per)
+ {
+ var mh$ = H5Pset_page_buffer_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_page_buffer_size", plist_id, buf_size, min_meta_per, min_raw_per);
+ }
+ return (int)mh$.invokeExact(plist_id, buf_size, min_meta_per, min_raw_per);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_relax_file_integrity_checks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_relax_file_integrity_checks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_relax_file_integrity_checks$descriptor()
+ {
+ return H5Pset_relax_file_integrity_checks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static MethodHandle H5Pset_relax_file_integrity_checks$handle()
+ {
+ return H5Pset_relax_file_integrity_checks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static MemorySegment H5Pset_relax_file_integrity_checks$address()
+ {
+ return H5Pset_relax_file_integrity_checks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static int H5Pset_relax_file_integrity_checks(long plist_id, long flags)
+ {
+ var mh$ = H5Pset_relax_file_integrity_checks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_relax_file_integrity_checks", plist_id, flags);
+ }
+ return (int)mh$.invokeExact(plist_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_relax_file_integrity_checks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_relax_file_integrity_checks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_relax_file_integrity_checks$descriptor()
+ {
+ return H5Pget_relax_file_integrity_checks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static MethodHandle H5Pget_relax_file_integrity_checks$handle()
+ {
+ return H5Pget_relax_file_integrity_checks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static MemorySegment H5Pget_relax_file_integrity_checks$address()
+ {
+ return H5Pget_relax_file_integrity_checks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static int H5Pget_relax_file_integrity_checks(long plist_id, MemorySegment flags)
+ {
+ var mh$ = H5Pget_relax_file_integrity_checks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_relax_file_integrity_checks", plist_id, flags);
+ }
+ return (int)mh$.invokeExact(plist_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pfill_value_defined {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pfill_value_defined");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static FunctionDescriptor H5Pfill_value_defined$descriptor() { return H5Pfill_value_defined.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static MethodHandle H5Pfill_value_defined$handle() { return H5Pfill_value_defined.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static MemorySegment H5Pfill_value_defined$address() { return H5Pfill_value_defined.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static int H5Pfill_value_defined(long plist, MemorySegment status)
+ {
+ var mh$ = H5Pfill_value_defined.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pfill_value_defined", plist, status);
+ }
+ return (int)mh$.invokeExact(plist, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_alloc_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_alloc_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_alloc_time$descriptor() { return H5Pget_alloc_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static MethodHandle H5Pget_alloc_time$handle() { return H5Pget_alloc_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static MemorySegment H5Pget_alloc_time$address() { return H5Pget_alloc_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static int H5Pget_alloc_time(long plist_id, MemorySegment alloc_time)
+ {
+ var mh$ = H5Pget_alloc_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_alloc_time", plist_id, alloc_time);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_chunk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_chunk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static FunctionDescriptor H5Pget_chunk$descriptor() { return H5Pget_chunk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static MethodHandle H5Pget_chunk$handle() { return H5Pget_chunk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static MemorySegment H5Pget_chunk$address() { return H5Pget_chunk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static int H5Pget_chunk(long plist_id, int max_ndims, MemorySegment dim)
+ {
+ var mh$ = H5Pget_chunk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_chunk", plist_id, max_ndims, dim);
+ }
+ return (int)mh$.invokeExact(plist_id, max_ndims, dim);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_chunk_opts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_chunk_opts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_chunk_opts$descriptor() { return H5Pget_chunk_opts.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static MethodHandle H5Pget_chunk_opts$handle() { return H5Pget_chunk_opts.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static MemorySegment H5Pget_chunk_opts$address() { return H5Pget_chunk_opts.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static int H5Pget_chunk_opts(long plist_id, MemorySegment opts)
+ {
+ var mh$ = H5Pget_chunk_opts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_chunk_opts", plist_id, opts);
+ }
+ return (int)mh$.invokeExact(plist_id, opts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_dset_no_attrs_hint$descriptor()
+ {
+ return H5Pget_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static MethodHandle H5Pget_dset_no_attrs_hint$handle() { return H5Pget_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static MemorySegment H5Pget_dset_no_attrs_hint$address() { return H5Pget_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static int H5Pget_dset_no_attrs_hint(long dcpl_id, MemorySegment minimize)
+ {
+ var mh$ = H5Pget_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_dset_no_attrs_hint", dcpl_id, minimize);
+ }
+ return (int)mh$.invokeExact(dcpl_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_spatial_tree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_spatial_tree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_spatial_tree$descriptor()
+ {
+ return H5Pget_virtual_spatial_tree.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_spatial_tree$handle()
+ {
+ return H5Pget_virtual_spatial_tree.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_spatial_tree$address()
+ {
+ return H5Pget_virtual_spatial_tree.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static int H5Pget_virtual_spatial_tree(long dcpl_id, MemorySegment use_tree)
+ {
+ var mh$ = H5Pget_virtual_spatial_tree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_spatial_tree", dcpl_id, use_tree);
+ }
+ return (int)mh$.invokeExact(dcpl_id, use_tree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_external {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_external");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_external$descriptor() { return H5Pget_external.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_external$handle() { return H5Pget_external.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_external$address() { return H5Pget_external.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static int H5Pget_external(long plist_id, int idx, long name_size, MemorySegment name,
+ MemorySegment offset, MemorySegment size)
+ {
+ var mh$ = H5Pget_external.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_external", plist_id, idx, name_size, name, offset, size);
+ }
+ return (int)mh$.invokeExact(plist_id, idx, name_size, name, offset, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_external_count {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_external_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_external_count$descriptor() { return H5Pget_external_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_external_count$handle() { return H5Pget_external_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_external_count$address() { return H5Pget_external_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_external_count(long plist_id)
+ {
+ var mh$ = H5Pget_external_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_external_count", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fill_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fill_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fill_time$descriptor() { return H5Pget_fill_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static MethodHandle H5Pget_fill_time$handle() { return H5Pget_fill_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static MemorySegment H5Pget_fill_time$address() { return H5Pget_fill_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static int H5Pget_fill_time(long plist_id, MemorySegment fill_time)
+ {
+ var mh$ = H5Pget_fill_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fill_time", plist_id, fill_time);
+ }
+ return (int)mh$.invokeExact(plist_id, fill_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fill_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fill_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fill_value$descriptor() { return H5Pget_fill_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static MethodHandle H5Pget_fill_value$handle() { return H5Pget_fill_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static MemorySegment H5Pget_fill_value$address() { return H5Pget_fill_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static int H5Pget_fill_value(long plist_id, long type_id, MemorySegment value)
+ {
+ var mh$ = H5Pget_fill_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fill_value", plist_id, type_id, value);
+ }
+ return (int)mh$.invokeExact(plist_id, type_id, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_layout {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_layout");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_layout$descriptor() { return H5Pget_layout.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_layout$handle() { return H5Pget_layout.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_layout$address() { return H5Pget_layout.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_layout(long plist_id)
+ {
+ var mh$ = H5Pget_layout.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_layout", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_count$descriptor() { return H5Pget_virtual_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_count$handle() { return H5Pget_virtual_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_count$address() { return H5Pget_virtual_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static int H5Pget_virtual_count(long dcpl_id, MemorySegment count)
+ {
+ var mh$ = H5Pget_virtual_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_count", dcpl_id, count);
+ }
+ return (int)mh$.invokeExact(dcpl_id, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_dsetname {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_dsetname");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_dsetname$descriptor()
+ {
+ return H5Pget_virtual_dsetname.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_dsetname$handle() { return H5Pget_virtual_dsetname.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_dsetname$address() { return H5Pget_virtual_dsetname.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static long H5Pget_virtual_dsetname(long dcpl_id, long index, MemorySegment name, long size)
+ {
+ var mh$ = H5Pget_virtual_dsetname.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_dsetname", dcpl_id, index, name, size);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_filename {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_filename");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_filename$descriptor()
+ {
+ return H5Pget_virtual_filename.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_filename$handle() { return H5Pget_virtual_filename.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_filename$address() { return H5Pget_virtual_filename.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static long H5Pget_virtual_filename(long dcpl_id, long index, MemorySegment name, long size)
+ {
+ var mh$ = H5Pget_virtual_filename.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_filename", dcpl_id, index, name, size);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_srcspace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_srcspace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_srcspace$descriptor()
+ {
+ return H5Pget_virtual_srcspace.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_srcspace$handle() { return H5Pget_virtual_srcspace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_srcspace$address() { return H5Pget_virtual_srcspace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static long H5Pget_virtual_srcspace(long dcpl_id, long index)
+ {
+ var mh$ = H5Pget_virtual_srcspace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_srcspace", dcpl_id, index);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_vspace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_vspace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_vspace$descriptor() { return H5Pget_virtual_vspace.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_vspace$handle() { return H5Pget_virtual_vspace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_vspace$address() { return H5Pget_virtual_vspace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static long H5Pget_virtual_vspace(long dcpl_id, long index)
+ {
+ var mh$ = H5Pget_virtual_vspace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_vspace", dcpl_id, index);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_alloc_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_alloc_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_alloc_time$descriptor() { return H5Pset_alloc_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static MethodHandle H5Pset_alloc_time$handle() { return H5Pset_alloc_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static MemorySegment H5Pset_alloc_time$address() { return H5Pset_alloc_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static int H5Pset_alloc_time(long plist_id, int alloc_time)
+ {
+ var mh$ = H5Pset_alloc_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_alloc_time", plist_id, alloc_time);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_chunk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_chunk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static FunctionDescriptor H5Pset_chunk$descriptor() { return H5Pset_chunk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MethodHandle H5Pset_chunk$handle() { return H5Pset_chunk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MemorySegment H5Pset_chunk$address() { return H5Pset_chunk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static int H5Pset_chunk(long plist_id, int ndims, MemorySegment dim)
+ {
+ var mh$ = H5Pset_chunk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_chunk", plist_id, ndims, dim);
+ }
+ return (int)mh$.invokeExact(plist_id, ndims, dim);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_chunk_opts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_chunk_opts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_chunk_opts$descriptor() { return H5Pset_chunk_opts.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static MethodHandle H5Pset_chunk_opts$handle() { return H5Pset_chunk_opts.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static MemorySegment H5Pset_chunk_opts$address() { return H5Pset_chunk_opts.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static int H5Pset_chunk_opts(long plist_id, int opts)
+ {
+ var mh$ = H5Pset_chunk_opts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_chunk_opts", plist_id, opts);
+ }
+ return (int)mh$.invokeExact(plist_id, opts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_dset_no_attrs_hint$descriptor()
+ {
+ return H5Pset_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static MethodHandle H5Pset_dset_no_attrs_hint$handle() { return H5Pset_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static MemorySegment H5Pset_dset_no_attrs_hint$address() { return H5Pset_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static int H5Pset_dset_no_attrs_hint(long dcpl_id, boolean minimize)
+ {
+ var mh$ = H5Pset_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_dset_no_attrs_hint", dcpl_id, minimize);
+ }
+ return (int)mh$.invokeExact(dcpl_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_spatial_tree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_spatial_tree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_spatial_tree$descriptor()
+ {
+ return H5Pset_virtual_spatial_tree.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_spatial_tree$handle()
+ {
+ return H5Pset_virtual_spatial_tree.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_spatial_tree$address()
+ {
+ return H5Pset_virtual_spatial_tree.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static int H5Pset_virtual_spatial_tree(long dcpl_id, boolean use_tree)
+ {
+ var mh$ = H5Pset_virtual_spatial_tree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_spatial_tree", dcpl_id, use_tree);
+ }
+ return (int)mh$.invokeExact(dcpl_id, use_tree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_external {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_external");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_external$descriptor() { return H5Pset_external.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_external$handle() { return H5Pset_external.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_external$address() { return H5Pset_external.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static int H5Pset_external(long plist_id, MemorySegment name, long offset, long size)
+ {
+ var mh$ = H5Pset_external.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_external", plist_id, name, offset, size);
+ }
+ return (int)mh$.invokeExact(plist_id, name, offset, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fill_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fill_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fill_time$descriptor() { return H5Pset_fill_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static MethodHandle H5Pset_fill_time$handle() { return H5Pset_fill_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static MemorySegment H5Pset_fill_time$address() { return H5Pset_fill_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static int H5Pset_fill_time(long plist_id, int fill_time)
+ {
+ var mh$ = H5Pset_fill_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fill_time", plist_id, fill_time);
+ }
+ return (int)mh$.invokeExact(plist_id, fill_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fill_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fill_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fill_value$descriptor() { return H5Pset_fill_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static MethodHandle H5Pset_fill_value$handle() { return H5Pset_fill_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static MemorySegment H5Pset_fill_value$address() { return H5Pset_fill_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static int H5Pset_fill_value(long plist_id, long type_id, MemorySegment value)
+ {
+ var mh$ = H5Pset_fill_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fill_value", plist_id, type_id, value);
+ }
+ return (int)mh$.invokeExact(plist_id, type_id, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shuffle {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shuffle");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shuffle$descriptor() { return H5Pset_shuffle.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_shuffle$handle() { return H5Pset_shuffle.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_shuffle$address() { return H5Pset_shuffle.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static int H5Pset_shuffle(long plist_id)
+ {
+ var mh$ = H5Pset_shuffle.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shuffle", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_layout {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_layout");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_layout$descriptor() { return H5Pset_layout.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static MethodHandle H5Pset_layout$handle() { return H5Pset_layout.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static MemorySegment H5Pset_layout$address() { return H5Pset_layout.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static int H5Pset_layout(long plist_id, int layout)
+ {
+ var mh$ = H5Pset_layout.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_layout", plist_id, layout);
+ }
+ return (int)mh$.invokeExact(plist_id, layout);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_nbit {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_nbit");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_nbit$descriptor() { return H5Pset_nbit.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_nbit$handle() { return H5Pset_nbit.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_nbit$address() { return H5Pset_nbit.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static int H5Pset_nbit(long plist_id)
+ {
+ var mh$ = H5Pset_nbit.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_nbit", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_scaleoffset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_scaleoffset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_scaleoffset$descriptor() { return H5Pset_scaleoffset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static MethodHandle H5Pset_scaleoffset$handle() { return H5Pset_scaleoffset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static MemorySegment H5Pset_scaleoffset$address() { return H5Pset_scaleoffset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static int H5Pset_scaleoffset(long plist_id, int scale_type, int scale_factor)
+ {
+ var mh$ = H5Pset_scaleoffset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_scaleoffset", plist_id, scale_type, scale_factor);
+ }
+ return (int)mh$.invokeExact(plist_id, scale_type, scale_factor);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_szip {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_szip");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_szip$descriptor() { return H5Pset_szip.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static MethodHandle H5Pset_szip$handle() { return H5Pset_szip.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static MemorySegment H5Pset_szip$address() { return H5Pset_szip.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static int H5Pset_szip(long plist_id, int options_mask, int pixels_per_block)
+ {
+ var mh$ = H5Pset_szip.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_szip", plist_id, options_mask, pixels_per_block);
+ }
+ return (int)mh$.invokeExact(plist_id, options_mask, pixels_per_block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual$descriptor() { return H5Pset_virtual.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual$handle() { return H5Pset_virtual.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual$address() { return H5Pset_virtual.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static int H5Pset_virtual(long dcpl_id, long vspace_id, MemorySegment src_file_name,
+ MemorySegment src_dset_name, long src_space_id)
+ {
+ var mh$ = H5Pset_virtual.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual", dcpl_id, vspace_id, src_file_name, src_dset_name,
+ src_space_id);
+ }
+ return (int)mh$.invokeExact(dcpl_id, vspace_id, src_file_name, src_dset_name, src_space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_append_flush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_append_flush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_append_flush$descriptor() { return H5Pget_append_flush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static MethodHandle H5Pget_append_flush$handle() { return H5Pget_append_flush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static MemorySegment H5Pget_append_flush$address() { return H5Pget_append_flush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static int H5Pget_append_flush(long dapl_id, int dims, MemorySegment boundary, MemorySegment func,
+ MemorySegment udata)
+ {
+ var mh$ = H5Pget_append_flush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_append_flush", dapl_id, dims, boundary, func, udata);
+ }
+ return (int)mh$.invokeExact(dapl_id, dims, boundary, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_chunk_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_chunk_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_chunk_cache$descriptor() { return H5Pget_chunk_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pget_chunk_cache$handle() { return H5Pget_chunk_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pget_chunk_cache$address() { return H5Pget_chunk_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static int H5Pget_chunk_cache(long dapl_id, MemorySegment rdcc_nslots, MemorySegment rdcc_nbytes,
+ MemorySegment rdcc_w0)
+ {
+ var mh$ = H5Pget_chunk_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_chunk_cache", dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_efile_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_efile_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_efile_prefix$descriptor() { return H5Pget_efile_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_efile_prefix$handle() { return H5Pget_efile_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_efile_prefix$address() { return H5Pget_efile_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static long H5Pget_efile_prefix(long dapl_id, MemorySegment prefix, long size)
+ {
+ var mh$ = H5Pget_efile_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_efile_prefix", dapl_id, prefix, size);
+ }
+ return (long)mh$.invokeExact(dapl_id, prefix, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_prefix$descriptor() { return H5Pget_virtual_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_prefix$handle() { return H5Pget_virtual_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_prefix$address() { return H5Pget_virtual_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static long H5Pget_virtual_prefix(long dapl_id, MemorySegment prefix, long size)
+ {
+ var mh$ = H5Pget_virtual_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_prefix", dapl_id, prefix, size);
+ }
+ return (long)mh$.invokeExact(dapl_id, prefix, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_printf_gap {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_printf_gap");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_printf_gap$descriptor()
+ {
+ return H5Pget_virtual_printf_gap.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_printf_gap$handle() { return H5Pget_virtual_printf_gap.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_printf_gap$address() { return H5Pget_virtual_printf_gap.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static int H5Pget_virtual_printf_gap(long dapl_id, MemorySegment gap_size)
+ {
+ var mh$ = H5Pget_virtual_printf_gap.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_printf_gap", dapl_id, gap_size);
+ }
+ return (int)mh$.invokeExact(dapl_id, gap_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_view {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_view");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_view$descriptor() { return H5Pget_virtual_view.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_view$handle() { return H5Pget_virtual_view.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_view$address() { return H5Pget_virtual_view.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static int H5Pget_virtual_view(long dapl_id, MemorySegment view)
+ {
+ var mh$ = H5Pget_virtual_view.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_view", dapl_id, view);
+ }
+ return (int)mh$.invokeExact(dapl_id, view);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_append_flush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_append_flush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_append_flush$descriptor() { return H5Pset_append_flush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static MethodHandle H5Pset_append_flush$handle() { return H5Pset_append_flush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static MemorySegment H5Pset_append_flush$address() { return H5Pset_append_flush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static int H5Pset_append_flush(long dapl_id, int ndims, MemorySegment boundary, MemorySegment func,
+ MemorySegment udata)
+ {
+ var mh$ = H5Pset_append_flush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_append_flush", dapl_id, ndims, boundary, func, udata);
+ }
+ return (int)mh$.invokeExact(dapl_id, ndims, boundary, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_chunk_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_DOUBLE);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_chunk_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_chunk_cache$descriptor() { return H5Pset_chunk_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pset_chunk_cache$handle() { return H5Pset_chunk_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pset_chunk_cache$address() { return H5Pset_chunk_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static int H5Pset_chunk_cache(long dapl_id, long rdcc_nslots, long rdcc_nbytes, double rdcc_w0)
+ {
+ var mh$ = H5Pset_chunk_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_chunk_cache", dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_efile_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_efile_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_efile_prefix$descriptor() { return H5Pset_efile_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MethodHandle H5Pset_efile_prefix$handle() { return H5Pset_efile_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MemorySegment H5Pset_efile_prefix$address() { return H5Pset_efile_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static int H5Pset_efile_prefix(long dapl_id, MemorySegment prefix)
+ {
+ var mh$ = H5Pset_efile_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_efile_prefix", dapl_id, prefix);
+ }
+ return (int)mh$.invokeExact(dapl_id, prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_prefix$descriptor() { return H5Pset_virtual_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_prefix$handle() { return H5Pset_virtual_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_prefix$address() { return H5Pset_virtual_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static int H5Pset_virtual_prefix(long dapl_id, MemorySegment prefix)
+ {
+ var mh$ = H5Pset_virtual_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_prefix", dapl_id, prefix);
+ }
+ return (int)mh$.invokeExact(dapl_id, prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_printf_gap {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_printf_gap");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_printf_gap$descriptor()
+ {
+ return H5Pset_virtual_printf_gap.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_printf_gap$handle() { return H5Pset_virtual_printf_gap.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_printf_gap$address() { return H5Pset_virtual_printf_gap.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static int H5Pset_virtual_printf_gap(long dapl_id, long gap_size)
+ {
+ var mh$ = H5Pset_virtual_printf_gap.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_printf_gap", dapl_id, gap_size);
+ }
+ return (int)mh$.invokeExact(dapl_id, gap_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_view {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_view");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_view$descriptor() { return H5Pset_virtual_view.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_view$handle() { return H5Pset_virtual_view.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_view$address() { return H5Pset_virtual_view.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static int H5Pset_virtual_view(long dapl_id, int view)
+ {
+ var mh$ = H5Pset_virtual_view.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_view", dapl_id, view);
+ }
+ return (int)mh$.invokeExact(dapl_id, view);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_btree_ratios {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_btree_ratios");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_btree_ratios$descriptor() { return H5Pget_btree_ratios.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static MethodHandle H5Pget_btree_ratios$handle() { return H5Pget_btree_ratios.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static MemorySegment H5Pget_btree_ratios$address() { return H5Pget_btree_ratios.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static int H5Pget_btree_ratios(long plist_id, MemorySegment left, MemorySegment middle,
+ MemorySegment right)
+ {
+ var mh$ = H5Pget_btree_ratios.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_btree_ratios", plist_id, left, middle, right);
+ }
+ return (int)mh$.invokeExact(plist_id, left, middle, right);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_buffer {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_buffer");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_buffer$descriptor() { return H5Pget_buffer.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static MethodHandle H5Pget_buffer$handle() { return H5Pget_buffer.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static MemorySegment H5Pget_buffer$address() { return H5Pget_buffer.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static long H5Pget_buffer(long plist_id, MemorySegment tconv, MemorySegment bkg)
+ {
+ var mh$ = H5Pget_buffer.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_buffer", plist_id, tconv, bkg);
+ }
+ return (long)mh$.invokeExact(plist_id, tconv, bkg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_data_transform {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_data_transform");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_data_transform$descriptor() { return H5Pget_data_transform.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_data_transform$handle() { return H5Pget_data_transform.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_data_transform$address() { return H5Pget_data_transform.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static long H5Pget_data_transform(long plist_id, MemorySegment expression, long size)
+ {
+ var mh$ = H5Pget_data_transform.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_data_transform", plist_id, expression, size);
+ }
+ return (long)mh$.invokeExact(plist_id, expression, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_edc_check {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_edc_check");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_edc_check$descriptor() { return H5Pget_edc_check.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_edc_check$handle() { return H5Pget_edc_check.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_edc_check$address() { return H5Pget_edc_check.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_edc_check(long plist_id)
+ {
+ var mh$ = H5Pget_edc_check.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_edc_check", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_hyper_vector_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_hyper_vector_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_hyper_vector_size$descriptor()
+ {
+ return H5Pget_hyper_vector_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_hyper_vector_size$handle() { return H5Pget_hyper_vector_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_hyper_vector_size$address() { return H5Pget_hyper_vector_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static int H5Pget_hyper_vector_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_hyper_vector_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_hyper_vector_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_preserve {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_preserve");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_preserve$descriptor() { return H5Pget_preserve.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_preserve$handle() { return H5Pget_preserve.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_preserve$address() { return H5Pget_preserve.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_preserve(long plist_id)
+ {
+ var mh$ = H5Pget_preserve.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_preserve", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_type_conv_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_type_conv_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_type_conv_cb$descriptor() { return H5Pget_type_conv_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static MethodHandle H5Pget_type_conv_cb$handle() { return H5Pget_type_conv_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static MemorySegment H5Pget_type_conv_cb$address() { return H5Pget_type_conv_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static int H5Pget_type_conv_cb(long dxpl_id, MemorySegment op, MemorySegment operate_data)
+ {
+ var mh$ = H5Pget_type_conv_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_type_conv_cb", dxpl_id, op, operate_data);
+ }
+ return (int)mh$.invokeExact(dxpl_id, op, operate_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vlen_mem_manager {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vlen_mem_manager");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vlen_mem_manager$descriptor()
+ {
+ return H5Pget_vlen_mem_manager.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static MethodHandle H5Pget_vlen_mem_manager$handle() { return H5Pget_vlen_mem_manager.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static MemorySegment H5Pget_vlen_mem_manager$address() { return H5Pget_vlen_mem_manager.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static int H5Pget_vlen_mem_manager(long plist_id, MemorySegment alloc_func,
+ MemorySegment alloc_info, MemorySegment free_func,
+ MemorySegment free_info)
+ {
+ var mh$ = H5Pget_vlen_mem_manager.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vlen_mem_manager", plist_id, alloc_func, alloc_info, free_func,
+ free_info);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_func, alloc_info, free_func, free_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_btree_ratios {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_DOUBLE, hdf5_h.C_DOUBLE, hdf5_h.C_DOUBLE);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_btree_ratios");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_btree_ratios$descriptor() { return H5Pset_btree_ratios.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static MethodHandle H5Pset_btree_ratios$handle() { return H5Pset_btree_ratios.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static MemorySegment H5Pset_btree_ratios$address() { return H5Pset_btree_ratios.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static int H5Pset_btree_ratios(long plist_id, double left, double middle, double right)
+ {
+ var mh$ = H5Pset_btree_ratios.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_btree_ratios", plist_id, left, middle, right);
+ }
+ return (int)mh$.invokeExact(plist_id, left, middle, right);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_buffer {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_buffer");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_buffer$descriptor() { return H5Pset_buffer.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static MethodHandle H5Pset_buffer$handle() { return H5Pset_buffer.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static MemorySegment H5Pset_buffer$address() { return H5Pset_buffer.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static int H5Pset_buffer(long plist_id, long size, MemorySegment tconv, MemorySegment bkg)
+ {
+ var mh$ = H5Pset_buffer.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_buffer", plist_id, size, tconv, bkg);
+ }
+ return (int)mh$.invokeExact(plist_id, size, tconv, bkg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_data_transform {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_data_transform");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_data_transform$descriptor() { return H5Pset_data_transform.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static MethodHandle H5Pset_data_transform$handle() { return H5Pset_data_transform.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static MemorySegment H5Pset_data_transform$address() { return H5Pset_data_transform.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static int H5Pset_data_transform(long plist_id, MemorySegment expression)
+ {
+ var mh$ = H5Pset_data_transform.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_data_transform", plist_id, expression);
+ }
+ return (int)mh$.invokeExact(plist_id, expression);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_edc_check {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_edc_check");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_edc_check$descriptor() { return H5Pset_edc_check.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static MethodHandle H5Pset_edc_check$handle() { return H5Pset_edc_check.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static MemorySegment H5Pset_edc_check$address() { return H5Pset_edc_check.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static int H5Pset_edc_check(long plist_id, int check)
+ {
+ var mh$ = H5Pset_edc_check.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_edc_check", plist_id, check);
+ }
+ return (int)mh$.invokeExact(plist_id, check);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_filter_callback {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_filter_callback");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_filter_callback$descriptor()
+ {
+ return H5Pset_filter_callback.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Pset_filter_callback$handle() { return H5Pset_filter_callback.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Pset_filter_callback$address() { return H5Pset_filter_callback.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static int H5Pset_filter_callback(long plist_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pset_filter_callback.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_filter_callback", plist_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(plist_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_hyper_vector_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_hyper_vector_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_hyper_vector_size$descriptor()
+ {
+ return H5Pset_hyper_vector_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_hyper_vector_size$handle() { return H5Pset_hyper_vector_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_hyper_vector_size$address() { return H5Pset_hyper_vector_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static int H5Pset_hyper_vector_size(long plist_id, long size)
+ {
+ var mh$ = H5Pset_hyper_vector_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_hyper_vector_size", plist_id, size);
+ }
+ return (int)mh$.invokeExact(plist_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_preserve {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_preserve");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_preserve$descriptor() { return H5Pset_preserve.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static MethodHandle H5Pset_preserve$handle() { return H5Pset_preserve.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static MemorySegment H5Pset_preserve$address() { return H5Pset_preserve.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static int H5Pset_preserve(long plist_id, boolean status)
+ {
+ var mh$ = H5Pset_preserve.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_preserve", plist_id, status);
+ }
+ return (int)mh$.invokeExact(plist_id, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_type_conv_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_type_conv_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_type_conv_cb$descriptor() { return H5Pset_type_conv_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static MethodHandle H5Pset_type_conv_cb$handle() { return H5Pset_type_conv_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static MemorySegment H5Pset_type_conv_cb$address() { return H5Pset_type_conv_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static int H5Pset_type_conv_cb(long dxpl_id, MemorySegment op, MemorySegment operate_data)
+ {
+ var mh$ = H5Pset_type_conv_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_type_conv_cb", dxpl_id, op, operate_data);
+ }
+ return (int)mh$.invokeExact(dxpl_id, op, operate_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_vlen_mem_manager {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_vlen_mem_manager");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_vlen_mem_manager$descriptor()
+ {
+ return H5Pset_vlen_mem_manager.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static MethodHandle H5Pset_vlen_mem_manager$handle() { return H5Pset_vlen_mem_manager.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static MemorySegment H5Pset_vlen_mem_manager$address() { return H5Pset_vlen_mem_manager.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static int H5Pset_vlen_mem_manager(long plist_id, MemorySegment alloc_func,
+ MemorySegment alloc_info, MemorySegment free_func,
+ MemorySegment free_info)
+ {
+ var mh$ = H5Pset_vlen_mem_manager.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_vlen_mem_manager", plist_id, alloc_func, alloc_info, free_func,
+ free_info);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_func, alloc_info, free_func, free_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_dataset_io_hyperslab_selection {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_dataset_io_hyperslab_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Pset_dataset_io_hyperslab_selection$descriptor()
+ {
+ return H5Pset_dataset_io_hyperslab_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Pset_dataset_io_hyperslab_selection$handle()
+ {
+ return H5Pset_dataset_io_hyperslab_selection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Pset_dataset_io_hyperslab_selection$address()
+ {
+ return H5Pset_dataset_io_hyperslab_selection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static int H5Pset_dataset_io_hyperslab_selection(long plist_id, int rank, int op,
+ MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Pset_dataset_io_hyperslab_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_dataset_io_hyperslab_selection", plist_id, rank, op, start, stride,
+ count, block);
+ }
+ return (int)mh$.invokeExact(plist_id, rank, op, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_selection_io {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_selection_io");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_selection_io$descriptor() { return H5Pset_selection_io.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static MethodHandle H5Pset_selection_io$handle() { return H5Pset_selection_io.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static MemorySegment H5Pset_selection_io$address() { return H5Pset_selection_io.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static int H5Pset_selection_io(long plist_id, int selection_io_mode)
+ {
+ var mh$ = H5Pset_selection_io.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_selection_io", plist_id, selection_io_mode);
+ }
+ return (int)mh$.invokeExact(plist_id, selection_io_mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_selection_io {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_selection_io");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_selection_io$descriptor() { return H5Pget_selection_io.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static MethodHandle H5Pget_selection_io$handle() { return H5Pget_selection_io.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static MemorySegment H5Pget_selection_io$address() { return H5Pget_selection_io.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static int H5Pget_selection_io(long plist_id, MemorySegment selection_io_mode)
+ {
+ var mh$ = H5Pget_selection_io.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_selection_io", plist_id, selection_io_mode);
+ }
+ return (int)mh$.invokeExact(plist_id, selection_io_mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_no_selection_io_cause {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_no_selection_io_cause");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_no_selection_io_cause$descriptor()
+ {
+ return H5Pget_no_selection_io_cause.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static MethodHandle H5Pget_no_selection_io_cause$handle()
+ {
+ return H5Pget_no_selection_io_cause.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static MemorySegment H5Pget_no_selection_io_cause$address()
+ {
+ return H5Pget_no_selection_io_cause.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static int H5Pget_no_selection_io_cause(long plist_id, MemorySegment no_selection_io_cause)
+ {
+ var mh$ = H5Pget_no_selection_io_cause.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_no_selection_io_cause", plist_id, no_selection_io_cause);
+ }
+ return (int)mh$.invokeExact(plist_id, no_selection_io_cause);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_actual_selection_io_mode {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_actual_selection_io_mode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_actual_selection_io_mode$descriptor()
+ {
+ return H5Pget_actual_selection_io_mode.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static MethodHandle H5Pget_actual_selection_io_mode$handle()
+ {
+ return H5Pget_actual_selection_io_mode.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static MemorySegment H5Pget_actual_selection_io_mode$address()
+ {
+ return H5Pget_actual_selection_io_mode.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static int H5Pget_actual_selection_io_mode(long plist_id, MemorySegment actual_selection_io_mode)
+ {
+ var mh$ = H5Pget_actual_selection_io_mode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_actual_selection_io_mode", plist_id, actual_selection_io_mode);
+ }
+ return (int)mh$.invokeExact(plist_id, actual_selection_io_mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_modify_write_buf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_modify_write_buf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_modify_write_buf$descriptor()
+ {
+ return H5Pset_modify_write_buf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static MethodHandle H5Pset_modify_write_buf$handle() { return H5Pset_modify_write_buf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static MemorySegment H5Pset_modify_write_buf$address() { return H5Pset_modify_write_buf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static int H5Pset_modify_write_buf(long plist_id, boolean modify_write_buf)
+ {
+ var mh$ = H5Pset_modify_write_buf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_modify_write_buf", plist_id, modify_write_buf);
+ }
+ return (int)mh$.invokeExact(plist_id, modify_write_buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_modify_write_buf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_modify_write_buf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_modify_write_buf$descriptor()
+ {
+ return H5Pget_modify_write_buf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static MethodHandle H5Pget_modify_write_buf$handle() { return H5Pget_modify_write_buf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static MemorySegment H5Pget_modify_write_buf$address() { return H5Pget_modify_write_buf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static int H5Pget_modify_write_buf(long plist_id, MemorySegment modify_write_buf)
+ {
+ var mh$ = H5Pget_modify_write_buf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_modify_write_buf", plist_id, modify_write_buf);
+ }
+ return (int)mh$.invokeExact(plist_id, modify_write_buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_create_intermediate_group {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_create_intermediate_group");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_create_intermediate_group$descriptor()
+ {
+ return H5Pget_create_intermediate_group.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static MethodHandle H5Pget_create_intermediate_group$handle()
+ {
+ return H5Pget_create_intermediate_group.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static MemorySegment H5Pget_create_intermediate_group$address()
+ {
+ return H5Pget_create_intermediate_group.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static int H5Pget_create_intermediate_group(long plist_id, MemorySegment crt_intmd)
+ {
+ var mh$ = H5Pget_create_intermediate_group.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_create_intermediate_group", plist_id, crt_intmd);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_intmd);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_create_intermediate_group {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_create_intermediate_group");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_create_intermediate_group$descriptor()
+ {
+ return H5Pset_create_intermediate_group.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static MethodHandle H5Pset_create_intermediate_group$handle()
+ {
+ return H5Pset_create_intermediate_group.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static MemorySegment H5Pset_create_intermediate_group$address()
+ {
+ return H5Pset_create_intermediate_group.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static int H5Pset_create_intermediate_group(long plist_id, int crt_intmd)
+ {
+ var mh$ = H5Pset_create_intermediate_group.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_create_intermediate_group", plist_id, crt_intmd);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_intmd);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_est_link_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_est_link_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_est_link_info$descriptor() { return H5Pget_est_link_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static MethodHandle H5Pget_est_link_info$handle() { return H5Pget_est_link_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static MemorySegment H5Pget_est_link_info$address() { return H5Pget_est_link_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static int H5Pget_est_link_info(long plist_id, MemorySegment est_num_entries,
+ MemorySegment est_name_len)
+ {
+ var mh$ = H5Pget_est_link_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_est_link_info", plist_id, est_num_entries, est_name_len);
+ }
+ return (int)mh$.invokeExact(plist_id, est_num_entries, est_name_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_link_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_link_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_link_creation_order$descriptor()
+ {
+ return H5Pget_link_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pget_link_creation_order$handle()
+ {
+ return H5Pget_link_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pget_link_creation_order$address()
+ {
+ return H5Pget_link_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static int H5Pget_link_creation_order(long plist_id, MemorySegment crt_order_flags)
+ {
+ var mh$ = H5Pget_link_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_link_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_link_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_link_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_link_phase_change$descriptor()
+ {
+ return H5Pget_link_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MethodHandle H5Pget_link_phase_change$handle() { return H5Pget_link_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MemorySegment H5Pget_link_phase_change$address() { return H5Pget_link_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static int H5Pget_link_phase_change(long plist_id, MemorySegment max_compact,
+ MemorySegment min_dense)
+ {
+ var mh$ = H5Pget_link_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_link_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_local_heap_size_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_local_heap_size_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_local_heap_size_hint$descriptor()
+ {
+ return H5Pget_local_heap_size_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static MethodHandle H5Pget_local_heap_size_hint$handle()
+ {
+ return H5Pget_local_heap_size_hint.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static MemorySegment H5Pget_local_heap_size_hint$address()
+ {
+ return H5Pget_local_heap_size_hint.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static int H5Pget_local_heap_size_hint(long plist_id, MemorySegment size_hint)
+ {
+ var mh$ = H5Pget_local_heap_size_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_local_heap_size_hint", plist_id, size_hint);
+ }
+ return (int)mh$.invokeExact(plist_id, size_hint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_est_link_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_est_link_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_est_link_info$descriptor() { return H5Pset_est_link_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static MethodHandle H5Pset_est_link_info$handle() { return H5Pset_est_link_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static MemorySegment H5Pset_est_link_info$address() { return H5Pset_est_link_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static int H5Pset_est_link_info(long plist_id, int est_num_entries, int est_name_len)
+ {
+ var mh$ = H5Pset_est_link_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_est_link_info", plist_id, est_num_entries, est_name_len);
+ }
+ return (int)mh$.invokeExact(plist_id, est_num_entries, est_name_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_link_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_link_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_link_creation_order$descriptor()
+ {
+ return H5Pset_link_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pset_link_creation_order$handle()
+ {
+ return H5Pset_link_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pset_link_creation_order$address()
+ {
+ return H5Pset_link_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static int H5Pset_link_creation_order(long plist_id, int crt_order_flags)
+ {
+ var mh$ = H5Pset_link_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_link_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_link_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_link_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_link_phase_change$descriptor()
+ {
+ return H5Pset_link_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MethodHandle H5Pset_link_phase_change$handle() { return H5Pset_link_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MemorySegment H5Pset_link_phase_change$address() { return H5Pset_link_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static int H5Pset_link_phase_change(long plist_id, int max_compact, int min_dense)
+ {
+ var mh$ = H5Pset_link_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_link_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_local_heap_size_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_local_heap_size_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_local_heap_size_hint$descriptor()
+ {
+ return H5Pset_local_heap_size_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static MethodHandle H5Pset_local_heap_size_hint$handle()
+ {
+ return H5Pset_local_heap_size_hint.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static MemorySegment H5Pset_local_heap_size_hint$address()
+ {
+ return H5Pset_local_heap_size_hint.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static int H5Pset_local_heap_size_hint(long plist_id, long size_hint)
+ {
+ var mh$ = H5Pset_local_heap_size_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_local_heap_size_hint", plist_id, size_hint);
+ }
+ return (int)mh$.invokeExact(plist_id, size_hint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_char_encoding {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_char_encoding");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_char_encoding$descriptor() { return H5Pget_char_encoding.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static MethodHandle H5Pget_char_encoding$handle() { return H5Pget_char_encoding.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static MemorySegment H5Pget_char_encoding$address() { return H5Pget_char_encoding.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static int H5Pget_char_encoding(long plist_id, MemorySegment encoding)
+ {
+ var mh$ = H5Pget_char_encoding.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_char_encoding", plist_id, encoding);
+ }
+ return (int)mh$.invokeExact(plist_id, encoding);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_char_encoding {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_char_encoding");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_char_encoding$descriptor() { return H5Pset_char_encoding.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static MethodHandle H5Pset_char_encoding$handle() { return H5Pset_char_encoding.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static MemorySegment H5Pset_char_encoding$address() { return H5Pset_char_encoding.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static int H5Pset_char_encoding(long plist_id, int encoding)
+ {
+ var mh$ = H5Pset_char_encoding.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_char_encoding", plist_id, encoding);
+ }
+ return (int)mh$.invokeExact(plist_id, encoding);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_acc_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_acc_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_acc_flags$descriptor()
+ {
+ return H5Pget_elink_acc_flags.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_acc_flags$handle() { return H5Pget_elink_acc_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_acc_flags$address() { return H5Pget_elink_acc_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static int H5Pget_elink_acc_flags(long lapl_id, MemorySegment flags)
+ {
+ var mh$ = H5Pget_elink_acc_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_acc_flags", lapl_id, flags);
+ }
+ return (int)mh$.invokeExact(lapl_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_cb$descriptor() { return H5Pget_elink_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_cb$handle() { return H5Pget_elink_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_cb$address() { return H5Pget_elink_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static int H5Pget_elink_cb(long lapl_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pget_elink_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_cb", lapl_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(lapl_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_fapl {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_fapl");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_fapl$descriptor() { return H5Pget_elink_fapl.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_fapl$handle() { return H5Pget_elink_fapl.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_fapl$address() { return H5Pget_elink_fapl.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static long H5Pget_elink_fapl(long lapl_id)
+ {
+ var mh$ = H5Pget_elink_fapl.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_fapl", lapl_id);
+ }
+ return (long)mh$.invokeExact(lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_prefix$descriptor() { return H5Pget_elink_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_prefix$handle() { return H5Pget_elink_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_prefix$address() { return H5Pget_elink_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static long H5Pget_elink_prefix(long plist_id, MemorySegment prefix, long size)
+ {
+ var mh$ = H5Pget_elink_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_prefix", plist_id, prefix, size);
+ }
+ return (long)mh$.invokeExact(plist_id, prefix, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_nlinks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_nlinks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_nlinks$descriptor() { return H5Pget_nlinks.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static MethodHandle H5Pget_nlinks$handle() { return H5Pget_nlinks.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static MemorySegment H5Pget_nlinks$address() { return H5Pget_nlinks.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static int H5Pget_nlinks(long plist_id, MemorySegment nlinks)
+ {
+ var mh$ = H5Pget_nlinks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_nlinks", plist_id, nlinks);
+ }
+ return (int)mh$.invokeExact(plist_id, nlinks);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_acc_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_acc_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_acc_flags$descriptor()
+ {
+ return H5Pset_elink_acc_flags.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_acc_flags$handle() { return H5Pset_elink_acc_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_acc_flags$address() { return H5Pset_elink_acc_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static int H5Pset_elink_acc_flags(long lapl_id, int flags)
+ {
+ var mh$ = H5Pset_elink_acc_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_acc_flags", lapl_id, flags);
+ }
+ return (int)mh$.invokeExact(lapl_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_cb$descriptor() { return H5Pset_elink_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_cb$handle() { return H5Pset_elink_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_cb$address() { return H5Pset_elink_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static int H5Pset_elink_cb(long lapl_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pset_elink_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_cb", lapl_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(lapl_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_fapl {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_fapl");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_fapl$descriptor() { return H5Pset_elink_fapl.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_fapl$handle() { return H5Pset_elink_fapl.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_fapl$address() { return H5Pset_elink_fapl.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_elink_fapl(long lapl_id, long fapl_id)
+ {
+ var mh$ = H5Pset_elink_fapl.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_fapl", lapl_id, fapl_id);
+ }
+ return (int)mh$.invokeExact(lapl_id, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_prefix$descriptor() { return H5Pset_elink_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_prefix$handle() { return H5Pset_elink_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_prefix$address() { return H5Pset_elink_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static int H5Pset_elink_prefix(long plist_id, MemorySegment prefix)
+ {
+ var mh$ = H5Pset_elink_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_prefix", plist_id, prefix);
+ }
+ return (int)mh$.invokeExact(plist_id, prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_nlinks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_nlinks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_nlinks$descriptor() { return H5Pset_nlinks.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static MethodHandle H5Pset_nlinks$handle() { return H5Pset_nlinks.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static MemorySegment H5Pset_nlinks$address() { return H5Pset_nlinks.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static int H5Pset_nlinks(long plist_id, long nlinks)
+ {
+ var mh$ = H5Pset_nlinks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_nlinks", plist_id, nlinks);
+ }
+ return (int)mh$.invokeExact(plist_id, nlinks);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Padd_merge_committed_dtype_path {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Padd_merge_committed_dtype_path");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static FunctionDescriptor H5Padd_merge_committed_dtype_path$descriptor()
+ {
+ return H5Padd_merge_committed_dtype_path.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static MethodHandle H5Padd_merge_committed_dtype_path$handle()
+ {
+ return H5Padd_merge_committed_dtype_path.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static MemorySegment H5Padd_merge_committed_dtype_path$address()
+ {
+ return H5Padd_merge_committed_dtype_path.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static int H5Padd_merge_committed_dtype_path(long plist_id, MemorySegment path)
+ {
+ var mh$ = H5Padd_merge_committed_dtype_path.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Padd_merge_committed_dtype_path", plist_id, path);
+ }
+ return (int)mh$.invokeExact(plist_id, path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pfree_merge_committed_dtype_paths {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pfree_merge_committed_dtype_paths");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pfree_merge_committed_dtype_paths$descriptor()
+ {
+ return H5Pfree_merge_committed_dtype_paths.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pfree_merge_committed_dtype_paths$handle()
+ {
+ return H5Pfree_merge_committed_dtype_paths.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pfree_merge_committed_dtype_paths$address()
+ {
+ return H5Pfree_merge_committed_dtype_paths.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static int H5Pfree_merge_committed_dtype_paths(long plist_id)
+ {
+ var mh$ = H5Pfree_merge_committed_dtype_paths.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pfree_merge_committed_dtype_paths", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_copy_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_copy_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_copy_object$descriptor() { return H5Pget_copy_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static MethodHandle H5Pget_copy_object$handle() { return H5Pget_copy_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static MemorySegment H5Pget_copy_object$address() { return H5Pget_copy_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static int H5Pget_copy_object(long plist_id, MemorySegment copy_options)
+ {
+ var mh$ = H5Pget_copy_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_copy_object", plist_id, copy_options);
+ }
+ return (int)mh$.invokeExact(plist_id, copy_options);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mcdt_search_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mcdt_search_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mcdt_search_cb$descriptor() { return H5Pget_mcdt_search_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static MethodHandle H5Pget_mcdt_search_cb$handle() { return H5Pget_mcdt_search_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static MemorySegment H5Pget_mcdt_search_cb$address() { return H5Pget_mcdt_search_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static int H5Pget_mcdt_search_cb(long plist_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pget_mcdt_search_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mcdt_search_cb", plist_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(plist_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_copy_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_copy_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_copy_object$descriptor() { return H5Pset_copy_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static MethodHandle H5Pset_copy_object$handle() { return H5Pset_copy_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static MemorySegment H5Pset_copy_object$address() { return H5Pset_copy_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static int H5Pset_copy_object(long plist_id, int copy_options)
+ {
+ var mh$ = H5Pset_copy_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_copy_object", plist_id, copy_options);
+ }
+ return (int)mh$.invokeExact(plist_id, copy_options);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mcdt_search_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mcdt_search_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mcdt_search_cb$descriptor() { return H5Pset_mcdt_search_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Pset_mcdt_search_cb$handle() { return H5Pset_mcdt_search_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Pset_mcdt_search_cb$address() { return H5Pset_mcdt_search_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static int H5Pset_mcdt_search_cb(long plist_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pset_mcdt_search_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mcdt_search_cb", plist_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(plist_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pregister1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pregister1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pregister1$descriptor() { return H5Pregister1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MethodHandle H5Pregister1$handle() { return H5Pregister1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MemorySegment H5Pregister1$address() { return H5Pregister1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static int H5Pregister1(long cls_id, MemorySegment name, long size, MemorySegment def_value,
+ MemorySegment prp_create, MemorySegment prp_set, MemorySegment prp_get,
+ MemorySegment prp_del, MemorySegment prp_copy, MemorySegment prp_close)
+ {
+ var mh$ = H5Pregister1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pregister1", cls_id, name, size, def_value, prp_create, prp_set, prp_get,
+ prp_del, prp_copy, prp_close);
+ }
+ return (int)mh$.invokeExact(cls_id, name, size, def_value, prp_create, prp_set, prp_get, prp_del,
+ prp_copy, prp_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pinsert1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pinsert1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pinsert1$descriptor() { return H5Pinsert1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MethodHandle H5Pinsert1$handle() { return H5Pinsert1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MemorySegment H5Pinsert1$address() { return H5Pinsert1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static int H5Pinsert1(long plist_id, MemorySegment name, long size, MemorySegment value,
+ MemorySegment prp_set, MemorySegment prp_get, MemorySegment prp_delete,
+ MemorySegment prp_copy, MemorySegment prp_close)
+ {
+ var mh$ = H5Pinsert1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pinsert1", plist_id, name, size, value, prp_set, prp_get, prp_delete,
+ prp_copy, prp_close);
+ }
+ return (int)mh$.invokeExact(plist_id, name, size, value, prp_set, prp_get, prp_delete, prp_copy,
+ prp_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pencode1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pencode1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static FunctionDescriptor H5Pencode1$descriptor() { return H5Pencode1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MethodHandle H5Pencode1$handle() { return H5Pencode1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MemorySegment H5Pencode1$address() { return H5Pencode1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static int H5Pencode1(long plist_id, MemorySegment buf, MemorySegment nalloc)
+ {
+ var mh$ = H5Pencode1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pencode1", plist_id, buf, nalloc);
+ }
+ return (int)mh$.invokeExact(plist_id, buf, nalloc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter1$descriptor() { return H5Pget_filter1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MethodHandle H5Pget_filter1$handle() { return H5Pget_filter1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MemorySegment H5Pget_filter1$address() { return H5Pget_filter1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static int H5Pget_filter1(long plist_id, int filter, MemorySegment flags, MemorySegment cd_nelmts,
+ MemorySegment cd_values, long namelen, MemorySegment name)
+ {
+ var mh$ = H5Pget_filter1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter1", plist_id, filter, flags, cd_nelmts, cd_values, namelen, name);
+ }
+ return (int)mh$.invokeExact(plist_id, filter, flags, cd_nelmts, cd_values, namelen, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter_by_id1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter_by_id1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter_by_id1$descriptor() { return H5Pget_filter_by_id1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MethodHandle H5Pget_filter_by_id1$handle() { return H5Pget_filter_by_id1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MemorySegment H5Pget_filter_by_id1$address() { return H5Pget_filter_by_id1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static int H5Pget_filter_by_id1(long plist_id, int id, MemorySegment flags,
+ MemorySegment cd_nelmts, MemorySegment cd_values, long namelen,
+ MemorySegment name)
+ {
+ var mh$ = H5Pget_filter_by_id1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter_by_id1", plist_id, id, flags, cd_nelmts, cd_values, namelen,
+ name);
+ }
+ return (int)mh$.invokeExact(plist_id, id, flags, cd_nelmts, cd_values, namelen, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_version {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_version");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_version$descriptor() { return H5Pget_version.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static MethodHandle H5Pget_version$handle() { return H5Pget_version.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static MemorySegment H5Pget_version$address() { return H5Pget_version.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static int H5Pget_version(long plist_id, MemorySegment boot, MemorySegment freelist,
+ MemorySegment stab, MemorySegment shhdr)
+ {
+ var mh$ = H5Pget_version.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_version", plist_id, boot, freelist, stab, shhdr);
+ }
+ return (int)mh$.invokeExact(plist_id, boot, freelist, stab, shhdr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_space {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_space$descriptor() { return H5Pset_file_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static MethodHandle H5Pset_file_space$handle() { return H5Pset_file_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static MemorySegment H5Pset_file_space$address() { return H5Pset_file_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static int H5Pset_file_space(long plist_id, int strategy, long threshold)
+ {
+ var mh$ = H5Pset_file_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_space", plist_id, strategy, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_space {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_space$descriptor() { return H5Pget_file_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static MethodHandle H5Pget_file_space$handle() { return H5Pget_file_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static MemorySegment H5Pget_file_space$address() { return H5Pget_file_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static int H5Pget_file_space(long plist_id, MemorySegment strategy, MemorySegment threshold)
+ {
+ var mh$ = H5Pget_file_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_space", plist_id, strategy, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5PL_TYPE_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_ERROR = -1
+ * }
+ */
+ public static int H5PL_TYPE_ERROR() { return H5PL_TYPE_ERROR; }
+ private static final int H5PL_TYPE_FILTER = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_FILTER = 0
+ * }
+ */
+ public static int H5PL_TYPE_FILTER() { return H5PL_TYPE_FILTER; }
+ private static final int H5PL_TYPE_VOL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_VOL = 1
+ * }
+ */
+ public static int H5PL_TYPE_VOL() { return H5PL_TYPE_VOL; }
+ private static final int H5PL_TYPE_VFD = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_VFD = 2
+ * }
+ */
+ public static int H5PL_TYPE_VFD() { return H5PL_TYPE_VFD; }
+ private static final int H5PL_TYPE_NONE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_NONE = 3
+ * }
+ */
+ public static int H5PL_TYPE_NONE() { return H5PL_TYPE_NONE; }
+
+ private static class H5PLset_loading_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLset_loading_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static FunctionDescriptor H5PLset_loading_state$descriptor() { return H5PLset_loading_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static MethodHandle H5PLset_loading_state$handle() { return H5PLset_loading_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static MemorySegment H5PLset_loading_state$address() { return H5PLset_loading_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static int H5PLset_loading_state(int plugin_control_mask)
+ {
+ var mh$ = H5PLset_loading_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLset_loading_state", plugin_control_mask);
+ }
+ return (int)mh$.invokeExact(plugin_control_mask);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLget_loading_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLget_loading_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static FunctionDescriptor H5PLget_loading_state$descriptor() { return H5PLget_loading_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static MethodHandle H5PLget_loading_state$handle() { return H5PLget_loading_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static MemorySegment H5PLget_loading_state$address() { return H5PLget_loading_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static int H5PLget_loading_state(MemorySegment plugin_control_mask)
+ {
+ var mh$ = H5PLget_loading_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLget_loading_state", plugin_control_mask);
+ }
+ return (int)mh$.invokeExact(plugin_control_mask);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLappend {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLappend");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static FunctionDescriptor H5PLappend$descriptor() { return H5PLappend.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static MethodHandle H5PLappend$handle() { return H5PLappend.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static MemorySegment H5PLappend$address() { return H5PLappend.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static int H5PLappend(MemorySegment search_path)
+ {
+ var mh$ = H5PLappend.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLappend", search_path);
+ }
+ return (int)mh$.invokeExact(search_path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLprepend {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLprepend");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static FunctionDescriptor H5PLprepend$descriptor() { return H5PLprepend.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static MethodHandle H5PLprepend$handle() { return H5PLprepend.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static MemorySegment H5PLprepend$address() { return H5PLprepend.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static int H5PLprepend(MemorySegment search_path)
+ {
+ var mh$ = H5PLprepend.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLprepend", search_path);
+ }
+ return (int)mh$.invokeExact(search_path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLreplace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLreplace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static FunctionDescriptor H5PLreplace$descriptor() { return H5PLreplace.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MethodHandle H5PLreplace$handle() { return H5PLreplace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MemorySegment H5PLreplace$address() { return H5PLreplace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static int H5PLreplace(MemorySegment search_path, int index)
+ {
+ var mh$ = H5PLreplace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLreplace", search_path, index);
+ }
+ return (int)mh$.invokeExact(search_path, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLinsert {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLinsert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static FunctionDescriptor H5PLinsert$descriptor() { return H5PLinsert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MethodHandle H5PLinsert$handle() { return H5PLinsert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MemorySegment H5PLinsert$address() { return H5PLinsert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static int H5PLinsert(MemorySegment search_path, int index)
+ {
+ var mh$ = H5PLinsert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLinsert", search_path, index);
+ }
+ return (int)mh$.invokeExact(search_path, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLremove {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLremove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static FunctionDescriptor H5PLremove$descriptor() { return H5PLremove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static MethodHandle H5PLremove$handle() { return H5PLremove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static MemorySegment H5PLremove$address() { return H5PLremove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static int H5PLremove(int index)
+ {
+ var mh$ = H5PLremove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLremove", index);
+ }
+ return (int)mh$.invokeExact(index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLget {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLget");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5PLget$descriptor() { return H5PLget.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5PLget$handle() { return H5PLget.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5PLget$address() { return H5PLget.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static long H5PLget(int index, MemorySegment path_buf, long buf_size)
+ {
+ var mh$ = H5PLget.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLget", index, path_buf, buf_size);
+ }
+ return (long)mh$.invokeExact(index, path_buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLsize {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLsize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static FunctionDescriptor H5PLsize$descriptor() { return H5PLsize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static MethodHandle H5PLsize$handle() { return H5PLsize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static MemorySegment H5PLsize$address() { return H5PLsize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static int H5PLsize(MemorySegment num_paths)
+ {
+ var mh$ = H5PLsize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLsize", num_paths);
+ }
+ return (int)mh$.invokeExact(num_paths);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESinsert_request {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESinsert_request");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static FunctionDescriptor H5ESinsert_request$descriptor() { return H5ESinsert_request.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static MethodHandle H5ESinsert_request$handle() { return H5ESinsert_request.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static MemorySegment H5ESinsert_request$address() { return H5ESinsert_request.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static int H5ESinsert_request(long es_id, long connector_id, MemorySegment request)
+ {
+ var mh$ = H5ESinsert_request.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESinsert_request", es_id, connector_id, request);
+ }
+ return (int)mh$.invokeExact(es_id, connector_id, request);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_requests {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_requests");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_requests$descriptor() { return H5ESget_requests.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static MethodHandle H5ESget_requests$handle() { return H5ESget_requests.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static MemorySegment H5ESget_requests$address() { return H5ESget_requests.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static int H5ESget_requests(long es_id, int order, MemorySegment connector_ids,
+ MemorySegment requests, long array_len, MemorySegment count)
+ {
+ var mh$ = H5ESget_requests.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_requests", es_id, order, connector_ids, requests, array_len, count);
+ }
+ return (int)mh$.invokeExact(es_id, order, connector_ids, requests, array_len, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static FunctionDescriptor H5FDregister$descriptor() { return H5FDregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static MethodHandle H5FDregister$handle() { return H5FDregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static MemorySegment H5FDregister$address() { return H5FDregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static long H5FDregister(MemorySegment cls)
+ {
+ var mh$ = H5FDregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDregister", cls);
+ }
+ return (long)mh$.invokeExact(cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDis_driver_registered_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDis_driver_registered_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static FunctionDescriptor H5FDis_driver_registered_by_name$descriptor()
+ {
+ return H5FDis_driver_registered_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static MethodHandle H5FDis_driver_registered_by_name$handle()
+ {
+ return H5FDis_driver_registered_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static MemorySegment H5FDis_driver_registered_by_name$address()
+ {
+ return H5FDis_driver_registered_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static int H5FDis_driver_registered_by_name(MemorySegment driver_name)
+ {
+ var mh$ = H5FDis_driver_registered_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDis_driver_registered_by_name", driver_name);
+ }
+ return (int)mh$.invokeExact(driver_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDis_driver_registered_by_value {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDis_driver_registered_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static FunctionDescriptor H5FDis_driver_registered_by_value$descriptor()
+ {
+ return H5FDis_driver_registered_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static MethodHandle H5FDis_driver_registered_by_value$handle()
+ {
+ return H5FDis_driver_registered_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static MemorySegment H5FDis_driver_registered_by_value$address()
+ {
+ return H5FDis_driver_registered_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static int H5FDis_driver_registered_by_value(int driver_value)
+ {
+ var mh$ = H5FDis_driver_registered_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDis_driver_registered_by_value", driver_value);
+ }
+ return (int)mh$.invokeExact(driver_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static FunctionDescriptor H5FDunregister$descriptor() { return H5FDunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static MethodHandle H5FDunregister$handle() { return H5FDunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static MemorySegment H5FDunregister$address() { return H5FDunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static int H5FDunregister(long driver_id)
+ {
+ var mh$ = H5FDunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDunregister", driver_id);
+ }
+ return (int)mh$.invokeExact(driver_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDopen {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static FunctionDescriptor H5FDopen$descriptor() { return H5FDopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static MethodHandle H5FDopen$handle() { return H5FDopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static MemorySegment H5FDopen$address() { return H5FDopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static MemorySegment H5FDopen(MemorySegment name, int flags, long fapl_id, long maxaddr)
+ {
+ var mh$ = H5FDopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDopen", name, flags, fapl_id, maxaddr);
+ }
+ return (MemorySegment)mh$.invokeExact(name, flags, fapl_id, maxaddr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static FunctionDescriptor H5FDclose$descriptor() { return H5FDclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static MethodHandle H5FDclose$handle() { return H5FDclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static MemorySegment H5FDclose$address() { return H5FDclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static int H5FDclose(MemorySegment file)
+ {
+ var mh$ = H5FDclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDclose", file);
+ }
+ return (int)mh$.invokeExact(file);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDcmp {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDcmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static FunctionDescriptor H5FDcmp$descriptor() { return H5FDcmp.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static MethodHandle H5FDcmp$handle() { return H5FDcmp.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static MemorySegment H5FDcmp$address() { return H5FDcmp.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static int H5FDcmp(MemorySegment f1, MemorySegment f2)
+ {
+ var mh$ = H5FDcmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDcmp", f1, f2);
+ }
+ return (int)mh$.invokeExact(f1, f2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDquery {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDquery");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static FunctionDescriptor H5FDquery$descriptor() { return H5FDquery.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static MethodHandle H5FDquery$handle() { return H5FDquery.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static MemorySegment H5FDquery$address() { return H5FDquery.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static int H5FDquery(MemorySegment f, MemorySegment flags)
+ {
+ var mh$ = H5FDquery.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDquery", f, flags);
+ }
+ return (int)mh$.invokeExact(f, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDalloc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDalloc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5FDalloc$descriptor() { return H5FDalloc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5FDalloc$handle() { return H5FDalloc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5FDalloc$address() { return H5FDalloc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static long H5FDalloc(MemorySegment file, int type, long dxpl_id, long size)
+ {
+ var mh$ = H5FDalloc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDalloc", file, type, dxpl_id, size);
+ }
+ return (long)mh$.invokeExact(file, type, dxpl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDfree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDfree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5FDfree$descriptor() { return H5FDfree.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5FDfree$handle() { return H5FDfree.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5FDfree$address() { return H5FDfree.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static int H5FDfree(MemorySegment file, int type, long dxpl_id, long addr, long size)
+ {
+ var mh$ = H5FDfree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDfree", file, type, dxpl_id, addr, size);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, addr, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDget_eoa {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDget_eoa");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static FunctionDescriptor H5FDget_eoa$descriptor() { return H5FDget_eoa.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MethodHandle H5FDget_eoa$handle() { return H5FDget_eoa.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MemorySegment H5FDget_eoa$address() { return H5FDget_eoa.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static long H5FDget_eoa(MemorySegment file, int type)
+ {
+ var mh$ = H5FDget_eoa.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDget_eoa", file, type);
+ }
+ return (long)mh$.invokeExact(file, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDset_eoa {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDset_eoa");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static FunctionDescriptor H5FDset_eoa$descriptor() { return H5FDset_eoa.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static MethodHandle H5FDset_eoa$handle() { return H5FDset_eoa.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static MemorySegment H5FDset_eoa$address() { return H5FDset_eoa.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static int H5FDset_eoa(MemorySegment file, int type, long eoa)
+ {
+ var mh$ = H5FDset_eoa.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDset_eoa", file, type, eoa);
+ }
+ return (int)mh$.invokeExact(file, type, eoa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDget_eof {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDget_eof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static FunctionDescriptor H5FDget_eof$descriptor() { return H5FDget_eof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MethodHandle H5FDget_eof$handle() { return H5FDget_eof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MemorySegment H5FDget_eof$address() { return H5FDget_eof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static long H5FDget_eof(MemorySegment file, int type)
+ {
+ var mh$ = H5FDget_eof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDget_eof", file, type);
+ }
+ return (long)mh$.invokeExact(file, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDget_vfd_handle {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDget_vfd_handle");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static FunctionDescriptor H5FDget_vfd_handle$descriptor() { return H5FDget_vfd_handle.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MethodHandle H5FDget_vfd_handle$handle() { return H5FDget_vfd_handle.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MemorySegment H5FDget_vfd_handle$address() { return H5FDget_vfd_handle.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static int H5FDget_vfd_handle(MemorySegment file, long fapl, MemorySegment file_handle)
+ {
+ var mh$ = H5FDget_vfd_handle.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDget_vfd_handle", file, fapl, file_handle);
+ }
+ return (int)mh$.invokeExact(file, fapl, file_handle);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5FDread$descriptor() { return H5FDread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static MethodHandle H5FDread$handle() { return H5FDread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static MemorySegment H5FDread$address() { return H5FDread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static int H5FDread(MemorySegment file, int type, long dxpl_id, long addr, long size,
+ MemorySegment buf)
+ {
+ var mh$ = H5FDread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread", file, type, dxpl_id, addr, size, buf);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, addr, size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite$descriptor() { return H5FDwrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static MethodHandle H5FDwrite$handle() { return H5FDwrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static MemorySegment H5FDwrite$address() { return H5FDwrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static int H5FDwrite(MemorySegment file, int type, long dxpl_id, long addr, long size,
+ MemorySegment buf)
+ {
+ var mh$ = H5FDwrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite", file, type, dxpl_id, addr, size, buf);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, addr, size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_vector {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_vector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_vector$descriptor() { return H5FDread_vector.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_vector$handle() { return H5FDread_vector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_vector$address() { return H5FDread_vector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_vector(MemorySegment file, long dxpl_id, int count, MemorySegment types,
+ MemorySegment addrs, MemorySegment sizes, MemorySegment bufs)
+ {
+ var mh$ = H5FDread_vector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_vector", file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_vector {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_vector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_vector$descriptor() { return H5FDwrite_vector.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_vector$handle() { return H5FDwrite_vector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_vector$address() { return H5FDwrite_vector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_vector(MemorySegment file, long dxpl_id, int count, MemorySegment types,
+ MemorySegment addrs, MemorySegment sizes, MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_vector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_vector", file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_selection$descriptor() { return H5FDread_selection.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_selection$handle() { return H5FDread_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_selection$address() { return H5FDread_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDread_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_selection", file, type, dxpl_id, count, mem_spaces, file_spaces,
+ offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_selection$descriptor() { return H5FDwrite_selection.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_selection$handle() { return H5FDwrite_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_selection$address() { return H5FDwrite_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_selection", file, type, dxpl_id, count, mem_spaces, file_spaces,
+ offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_vector_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_vector_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_vector_from_selection$descriptor()
+ {
+ return H5FDread_vector_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_vector_from_selection$handle()
+ {
+ return H5FDread_vector_from_selection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_vector_from_selection$address()
+ {
+ return H5FDread_vector_from_selection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_vector_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDread_vector_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_vector_from_selection", file, type, dxpl_id, count, mem_spaces,
+ file_spaces, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_vector_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_vector_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_vector_from_selection$descriptor()
+ {
+ return H5FDwrite_vector_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_vector_from_selection$handle()
+ {
+ return H5FDwrite_vector_from_selection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_vector_from_selection$address()
+ {
+ return H5FDwrite_vector_from_selection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_vector_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_vector_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_vector_from_selection", file, type, dxpl_id, count, mem_spaces,
+ file_spaces, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_from_selection$descriptor()
+ {
+ return H5FDread_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_from_selection$handle() { return H5FDread_from_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_from_selection$address() { return H5FDread_from_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_space_ids, MemorySegment file_space_ids,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDread_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_from_selection", file, type, dxpl_id, count, mem_space_ids,
+ file_space_ids, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_space_ids, file_space_ids, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_from_selection$descriptor()
+ {
+ return H5FDwrite_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_from_selection$handle() { return H5FDwrite_from_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_from_selection$address() { return H5FDwrite_from_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_space_ids, MemorySegment file_space_ids,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_from_selection", file, type, dxpl_id, count, mem_space_ids,
+ file_space_ids, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_space_ids, file_space_ids, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDflush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static FunctionDescriptor H5FDflush$descriptor() { return H5FDflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MethodHandle H5FDflush$handle() { return H5FDflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MemorySegment H5FDflush$address() { return H5FDflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static int H5FDflush(MemorySegment file, long dxpl_id, boolean closing)
+ {
+ var mh$ = H5FDflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDflush", file, dxpl_id, closing);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, closing);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDtruncate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDtruncate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static FunctionDescriptor H5FDtruncate$descriptor() { return H5FDtruncate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MethodHandle H5FDtruncate$handle() { return H5FDtruncate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MemorySegment H5FDtruncate$address() { return H5FDtruncate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static int H5FDtruncate(MemorySegment file, long dxpl_id, boolean closing)
+ {
+ var mh$ = H5FDtruncate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDtruncate", file, dxpl_id, closing);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, closing);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDlock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDlock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static FunctionDescriptor H5FDlock$descriptor() { return H5FDlock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static MethodHandle H5FDlock$handle() { return H5FDlock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static MemorySegment H5FDlock$address() { return H5FDlock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static int H5FDlock(MemorySegment file, boolean rw)
+ {
+ var mh$ = H5FDlock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDlock", file, rw);
+ }
+ return (int)mh$.invokeExact(file, rw);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDunlock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDunlock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static FunctionDescriptor H5FDunlock$descriptor() { return H5FDunlock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static MethodHandle H5FDunlock$handle() { return H5FDunlock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static MemorySegment H5FDunlock$address() { return H5FDunlock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static int H5FDunlock(MemorySegment file)
+ {
+ var mh$ = H5FDunlock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDunlock", file);
+ }
+ return (int)mh$.invokeExact(file);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDdelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDdelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5FDdelete$descriptor() { return H5FDdelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5FDdelete$handle() { return H5FDdelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5FDdelete$address() { return H5FDdelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static int H5FDdelete(MemorySegment name, long fapl_id)
+ {
+ var mh$ = H5FDdelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDdelete", name, fapl_id);
+ }
+ return (int)mh$.invokeExact(name, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDctl {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDctl");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static FunctionDescriptor H5FDctl$descriptor() { return H5FDctl.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static MethodHandle H5FDctl$handle() { return H5FDctl.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static MemorySegment H5FDctl$address() { return H5FDctl.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static int H5FDctl(MemorySegment file, long op_code, long flags, MemorySegment input,
+ MemorySegment output)
+ {
+ var mh$ = H5FDctl.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDctl", file, op_code, flags, input, output);
+ }
+ return (int)mh$.invokeExact(file, op_code, flags, input, output);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iregister_future {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister_future");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister_future$descriptor() { return H5Iregister_future.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static MethodHandle H5Iregister_future$handle() { return H5Iregister_future.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static MemorySegment H5Iregister_future$address() { return H5Iregister_future.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static long H5Iregister_future(int type, MemorySegment object, MemorySegment realize_cb,
+ MemorySegment discard_cb)
+ {
+ var mh$ = H5Iregister_future.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister_future", type, object, realize_cb, discard_cb);
+ }
+ return (long)mh$.invokeExact(type, object, realize_cb, discard_cb);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static FunctionDescriptor H5Lregister$descriptor() { return H5Lregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static MethodHandle H5Lregister$handle() { return H5Lregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static MemorySegment H5Lregister$address() { return H5Lregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static int H5Lregister(MemorySegment cls)
+ {
+ var mh$ = H5Lregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lregister", cls);
+ }
+ return (int)mh$.invokeExact(cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Lunregister$descriptor() { return H5Lunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static MethodHandle H5Lunregister$handle() { return H5Lunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static MemorySegment H5Lunregister$address() { return H5Lunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static int H5Lunregister(int id)
+ {
+ var mh$ = H5Lunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lunregister", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5T_CONV_INIT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cmd_t.H5T_CONV_INIT = 0
+ * }
+ */
+ public static int H5T_CONV_INIT() { return H5T_CONV_INIT; }
+ private static final int H5T_CONV_CONV = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cmd_t.H5T_CONV_CONV = 1
+ * }
+ */
+ public static int H5T_CONV_CONV() { return H5T_CONV_CONV; }
+ private static final int H5T_CONV_FREE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cmd_t.H5T_CONV_FREE = 2
+ * }
+ */
+ public static int H5T_CONV_FREE() { return H5T_CONV_FREE; }
+ private static final int H5T_BKG_NO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_bkg_t.H5T_BKG_NO = 0
+ * }
+ */
+ public static int H5T_BKG_NO() { return H5T_BKG_NO; }
+ private static final int H5T_BKG_TEMP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_bkg_t.H5T_BKG_TEMP = 1
+ * }
+ */
+ public static int H5T_BKG_TEMP() { return H5T_BKG_TEMP; }
+ private static final int H5T_BKG_YES = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_bkg_t.H5T_BKG_YES = 2
+ * }
+ */
+ public static int H5T_BKG_YES() { return H5T_BKG_YES; }
+ private static final int H5T_PERS_DONTCARE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pers_t.H5T_PERS_DONTCARE = -1
+ * }
+ */
+ public static int H5T_PERS_DONTCARE() { return H5T_PERS_DONTCARE; }
+ private static final int H5T_PERS_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pers_t.H5T_PERS_HARD = 0
+ * }
+ */
+ public static int H5T_PERS_HARD() { return H5T_PERS_HARD; }
+ private static final int H5T_PERS_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pers_t.H5T_PERS_SOFT = 1
+ * }
+ */
+ public static int H5T_PERS_SOFT() { return H5T_PERS_SOFT; }
+
+ private static class H5Tregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static FunctionDescriptor H5Tregister$descriptor() { return H5Tregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MethodHandle H5Tregister$handle() { return H5Tregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MemorySegment H5Tregister$address() { return H5Tregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static int H5Tregister(int pers, MemorySegment name, long src_id, long dst_id, MemorySegment func)
+ {
+ var mh$ = H5Tregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tregister", pers, name, src_id, dst_id, func);
+ }
+ return (int)mh$.invokeExact(pers, name, src_id, dst_id, func);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tunregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static FunctionDescriptor H5Tunregister$descriptor() { return H5Tunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MethodHandle H5Tunregister$handle() { return H5Tunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MemorySegment H5Tunregister$address() { return H5Tunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static int H5Tunregister(int pers, MemorySegment name, long src_id, long dst_id,
+ MemorySegment func)
+ {
+ var mh$ = H5Tunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tunregister", pers, name, src_id, dst_id, func);
+ }
+ return (int)mh$.invokeExact(pers, name, src_id, dst_id, func);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tfind {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tfind");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static FunctionDescriptor H5Tfind$descriptor() { return H5Tfind.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static MethodHandle H5Tfind$handle() { return H5Tfind.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static MemorySegment H5Tfind$address() { return H5Tfind.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static MemorySegment H5Tfind(long src_id, long dst_id, MemorySegment pcdata)
+ {
+ var mh$ = H5Tfind.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tfind", src_id, dst_id, pcdata);
+ }
+ return (MemorySegment)mh$.invokeExact(src_id, dst_id, pcdata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcompiler_conv {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcompiler_conv");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcompiler_conv$descriptor() { return H5Tcompiler_conv.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static MethodHandle H5Tcompiler_conv$handle() { return H5Tcompiler_conv.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static MemorySegment H5Tcompiler_conv$address() { return H5Tcompiler_conv.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static int H5Tcompiler_conv(long src_id, long dst_id)
+ {
+ var mh$ = H5Tcompiler_conv.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcompiler_conv", src_id, dst_id);
+ }
+ return (int)mh$.invokeExact(src_id, dst_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5TSmutex_acquire {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5TSmutex_acquire");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static FunctionDescriptor H5TSmutex_acquire$descriptor() { return H5TSmutex_acquire.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static MethodHandle H5TSmutex_acquire$handle() { return H5TSmutex_acquire.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static MemorySegment H5TSmutex_acquire$address() { return H5TSmutex_acquire.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static int H5TSmutex_acquire(int lock_count, MemorySegment acquired)
+ {
+ var mh$ = H5TSmutex_acquire.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5TSmutex_acquire", lock_count, acquired);
+ }
+ return (int)mh$.invokeExact(lock_count, acquired);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5TSmutex_release {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5TSmutex_release");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static FunctionDescriptor H5TSmutex_release$descriptor() { return H5TSmutex_release.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static MethodHandle H5TSmutex_release$handle() { return H5TSmutex_release.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static MemorySegment H5TSmutex_release$address() { return H5TSmutex_release.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static int H5TSmutex_release(MemorySegment lock_count)
+ {
+ var mh$ = H5TSmutex_release.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5TSmutex_release", lock_count);
+ }
+ return (int)mh$.invokeExact(lock_count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5TSmutex_get_attempt_count {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5TSmutex_get_attempt_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static FunctionDescriptor H5TSmutex_get_attempt_count$descriptor()
+ {
+ return H5TSmutex_get_attempt_count.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static MethodHandle H5TSmutex_get_attempt_count$handle()
+ {
+ return H5TSmutex_get_attempt_count.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static MemorySegment H5TSmutex_get_attempt_count$address()
+ {
+ return H5TSmutex_get_attempt_count.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static int H5TSmutex_get_attempt_count(MemorySegment count)
+ {
+ var mh$ = H5TSmutex_get_attempt_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5TSmutex_get_attempt_count", count);
+ }
+ return (int)mh$.invokeExact(count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Zregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static FunctionDescriptor H5Zregister$descriptor() { return H5Zregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static MethodHandle H5Zregister$handle() { return H5Zregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static MemorySegment H5Zregister$address() { return H5Zregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static int H5Zregister(MemorySegment cls)
+ {
+ var mh$ = H5Zregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zregister", cls);
+ }
+ return (int)mh$.invokeExact(cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Zunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Zunregister$descriptor() { return H5Zunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static MethodHandle H5Zunregister$handle() { return H5Zunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static MemorySegment H5Zunregister$address() { return H5Zunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static int H5Zunregister(int id)
+ {
+ var mh$ = H5Zunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zunregister", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLcmp_connector_cls {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLcmp_connector_cls");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static FunctionDescriptor H5VLcmp_connector_cls$descriptor() { return H5VLcmp_connector_cls.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static MethodHandle H5VLcmp_connector_cls$handle() { return H5VLcmp_connector_cls.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static MemorySegment H5VLcmp_connector_cls$address() { return H5VLcmp_connector_cls.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static int H5VLcmp_connector_cls(MemorySegment cmp, long connector_id1, long connector_id2)
+ {
+ var mh$ = H5VLcmp_connector_cls.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLcmp_connector_cls", cmp, connector_id1, connector_id2);
+ }
+ return (int)mh$.invokeExact(cmp, connector_id1, connector_id2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLwrap_register {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLwrap_register");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5VLwrap_register$descriptor() { return H5VLwrap_register.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5VLwrap_register$handle() { return H5VLwrap_register.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5VLwrap_register$address() { return H5VLwrap_register.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static long H5VLwrap_register(MemorySegment obj, int type)
+ {
+ var mh$ = H5VLwrap_register.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLwrap_register", obj, type);
+ }
+ return (long)mh$.invokeExact(obj, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLretrieve_lib_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLretrieve_lib_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static FunctionDescriptor H5VLretrieve_lib_state$descriptor()
+ {
+ return H5VLretrieve_lib_state.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static MethodHandle H5VLretrieve_lib_state$handle() { return H5VLretrieve_lib_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static MemorySegment H5VLretrieve_lib_state$address() { return H5VLretrieve_lib_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static int H5VLretrieve_lib_state(MemorySegment state)
+ {
+ var mh$ = H5VLretrieve_lib_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLretrieve_lib_state", state);
+ }
+ return (int)mh$.invokeExact(state);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLopen_lib_context {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLopen_lib_context");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static FunctionDescriptor H5VLopen_lib_context$descriptor() { return H5VLopen_lib_context.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static MethodHandle H5VLopen_lib_context$handle() { return H5VLopen_lib_context.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static MemorySegment H5VLopen_lib_context$address() { return H5VLopen_lib_context.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static int H5VLopen_lib_context(MemorySegment context)
+ {
+ var mh$ = H5VLopen_lib_context.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLopen_lib_context", context);
+ }
+ return (int)mh$.invokeExact(context);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrestore_lib_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrestore_lib_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static FunctionDescriptor H5VLrestore_lib_state$descriptor() { return H5VLrestore_lib_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static MethodHandle H5VLrestore_lib_state$handle() { return H5VLrestore_lib_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static MemorySegment H5VLrestore_lib_state$address() { return H5VLrestore_lib_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static int H5VLrestore_lib_state(MemorySegment state)
+ {
+ var mh$ = H5VLrestore_lib_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrestore_lib_state", state);
+ }
+ return (int)mh$.invokeExact(state);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLclose_lib_context {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLclose_lib_context");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static FunctionDescriptor H5VLclose_lib_context$descriptor() { return H5VLclose_lib_context.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static MethodHandle H5VLclose_lib_context$handle() { return H5VLclose_lib_context.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static MemorySegment H5VLclose_lib_context$address() { return H5VLclose_lib_context.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static int H5VLclose_lib_context(MemorySegment context)
+ {
+ var mh$ = H5VLclose_lib_context.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLclose_lib_context", context);
+ }
+ return (int)mh$.invokeExact(context);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfree_lib_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfree_lib_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static FunctionDescriptor H5VLfree_lib_state$descriptor() { return H5VLfree_lib_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static MethodHandle H5VLfree_lib_state$handle() { return H5VLfree_lib_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static MemorySegment H5VLfree_lib_state$address() { return H5VLfree_lib_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static int H5VLfree_lib_state(MemorySegment state)
+ {
+ var mh$ = H5VLfree_lib_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfree_lib_state", state);
+ }
+ return (int)mh$.invokeExact(state);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_object$descriptor() { return H5VLget_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLget_object$handle() { return H5VLget_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLget_object$address() { return H5VLget_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLget_object(MemorySegment obj, long connector_id)
+ {
+ var mh$ = H5VLget_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_object", obj, connector_id);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_wrap_ctx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_wrap_ctx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_wrap_ctx$descriptor() { return H5VLget_wrap_ctx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static MethodHandle H5VLget_wrap_ctx$handle() { return H5VLget_wrap_ctx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static MemorySegment H5VLget_wrap_ctx$address() { return H5VLget_wrap_ctx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static int H5VLget_wrap_ctx(MemorySegment obj, long connector_id, MemorySegment wrap_ctx)
+ {
+ var mh$ = H5VLget_wrap_ctx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_wrap_ctx", obj, connector_id, wrap_ctx);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, wrap_ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLwrap_object {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLwrap_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLwrap_object$descriptor() { return H5VLwrap_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static MethodHandle H5VLwrap_object$handle() { return H5VLwrap_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static MemorySegment H5VLwrap_object$address() { return H5VLwrap_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static MemorySegment H5VLwrap_object(MemorySegment obj, int obj_type, long connector_id,
+ MemorySegment wrap_ctx)
+ {
+ var mh$ = H5VLwrap_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLwrap_object", obj, obj_type, connector_id, wrap_ctx);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, obj_type, connector_id, wrap_ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLunwrap_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLunwrap_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLunwrap_object$descriptor() { return H5VLunwrap_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLunwrap_object$handle() { return H5VLunwrap_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLunwrap_object$address() { return H5VLunwrap_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLunwrap_object(MemorySegment obj, long connector_id)
+ {
+ var mh$ = H5VLunwrap_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLunwrap_object", obj, connector_id);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfree_wrap_ctx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfree_wrap_ctx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLfree_wrap_ctx$descriptor() { return H5VLfree_wrap_ctx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLfree_wrap_ctx$handle() { return H5VLfree_wrap_ctx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLfree_wrap_ctx$address() { return H5VLfree_wrap_ctx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static int H5VLfree_wrap_ctx(MemorySegment wrap_ctx, long connector_id)
+ {
+ var mh$ = H5VLfree_wrap_ctx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfree_wrap_ctx", wrap_ctx, connector_id);
+ }
+ return (int)mh$.invokeExact(wrap_ctx, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLinitialize {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLinitialize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLinitialize$descriptor() { return H5VLinitialize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLinitialize$handle() { return H5VLinitialize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLinitialize$address() { return H5VLinitialize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static int H5VLinitialize(long connector_id, long vipl_id)
+ {
+ var mh$ = H5VLinitialize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLinitialize", connector_id, vipl_id);
+ }
+ return (int)mh$.invokeExact(connector_id, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLterminate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLterminate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLterminate$descriptor() { return H5VLterminate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLterminate$handle() { return H5VLterminate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLterminate$address() { return H5VLterminate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static int H5VLterminate(long connector_id)
+ {
+ var mh$ = H5VLterminate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLterminate", connector_id);
+ }
+ return (int)mh$.invokeExact(connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_cap_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_cap_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_cap_flags$descriptor() { return H5VLget_cap_flags.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MethodHandle H5VLget_cap_flags$handle() { return H5VLget_cap_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MemorySegment H5VLget_cap_flags$address() { return H5VLget_cap_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static int H5VLget_cap_flags(long connector_id, MemorySegment cap_flags)
+ {
+ var mh$ = H5VLget_cap_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_cap_flags", connector_id, cap_flags);
+ }
+ return (int)mh$.invokeExact(connector_id, cap_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_value$descriptor() { return H5VLget_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static MethodHandle H5VLget_value$handle() { return H5VLget_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static MemorySegment H5VLget_value$address() { return H5VLget_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static int H5VLget_value(long connector_id, MemorySegment conn_value)
+ {
+ var mh$ = H5VLget_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_value", connector_id, conn_value);
+ }
+ return (int)mh$.invokeExact(connector_id, conn_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLcopy_connector_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLcopy_connector_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5VLcopy_connector_info$descriptor()
+ {
+ return H5VLcopy_connector_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static MethodHandle H5VLcopy_connector_info$handle() { return H5VLcopy_connector_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static MemorySegment H5VLcopy_connector_info$address() { return H5VLcopy_connector_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static int H5VLcopy_connector_info(long connector_id, MemorySegment dst_vol_info,
+ MemorySegment src_vol_info)
+ {
+ var mh$ = H5VLcopy_connector_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLcopy_connector_info", connector_id, dst_vol_info, src_vol_info);
+ }
+ return (int)mh$.invokeExact(connector_id, dst_vol_info, src_vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLcmp_connector_info {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLcmp_connector_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static FunctionDescriptor H5VLcmp_connector_info$descriptor()
+ {
+ return H5VLcmp_connector_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static MethodHandle H5VLcmp_connector_info$handle() { return H5VLcmp_connector_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static MemorySegment H5VLcmp_connector_info$address() { return H5VLcmp_connector_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static int H5VLcmp_connector_info(MemorySegment cmp, long connector_id, MemorySegment info1,
+ MemorySegment info2)
+ {
+ var mh$ = H5VLcmp_connector_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLcmp_connector_info", cmp, connector_id, info1, info2);
+ }
+ return (int)mh$.invokeExact(cmp, connector_id, info1, info2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfree_connector_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfree_connector_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5VLfree_connector_info$descriptor()
+ {
+ return H5VLfree_connector_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static MethodHandle H5VLfree_connector_info$handle() { return H5VLfree_connector_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static MemorySegment H5VLfree_connector_info$address() { return H5VLfree_connector_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static int H5VLfree_connector_info(long connector_id, MemorySegment vol_info)
+ {
+ var mh$ = H5VLfree_connector_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfree_connector_info", connector_id, vol_info);
+ }
+ return (int)mh$.invokeExact(connector_id, vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLconnector_info_to_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLconnector_info_to_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static FunctionDescriptor H5VLconnector_info_to_str$descriptor()
+ {
+ return H5VLconnector_info_to_str.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static MethodHandle H5VLconnector_info_to_str$handle() { return H5VLconnector_info_to_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static MemorySegment H5VLconnector_info_to_str$address() { return H5VLconnector_info_to_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static int H5VLconnector_info_to_str(MemorySegment info, long connector_id, MemorySegment str)
+ {
+ var mh$ = H5VLconnector_info_to_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLconnector_info_to_str", info, connector_id, str);
+ }
+ return (int)mh$.invokeExact(info, connector_id, str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLconnector_str_to_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLconnector_str_to_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static FunctionDescriptor H5VLconnector_str_to_info$descriptor()
+ {
+ return H5VLconnector_str_to_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static MethodHandle H5VLconnector_str_to_info$handle() { return H5VLconnector_str_to_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static MemorySegment H5VLconnector_str_to_info$address() { return H5VLconnector_str_to_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static int H5VLconnector_str_to_info(MemorySegment str, long connector_id, MemorySegment info)
+ {
+ var mh$ = H5VLconnector_str_to_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLconnector_str_to_info", str, connector_id, info);
+ }
+ return (int)mh$.invokeExact(str, connector_id, info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_create$descriptor() { return H5VLattr_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_create$handle() { return H5VLattr_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_create$address() { return H5VLattr_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_create(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment attr_name, long type_id,
+ long space_id, long acpl_id, long aapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLattr_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_create", obj, loc_params, connector_id, attr_name, type_id, space_id,
+ acpl_id, aapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, attr_name, type_id, space_id,
+ acpl_id, aapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_open$descriptor() { return H5VLattr_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_open$handle() { return H5VLattr_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_open$address() { return H5VLattr_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_open(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment name, long aapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLattr_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_open", obj, loc_params, connector_id, name, aapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, aapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_read {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_read");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_read$descriptor() { return H5VLattr_read.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_read$handle() { return H5VLattr_read.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_read$address() { return H5VLattr_read.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLattr_read(MemorySegment attr, long connector_id, long dtype_id, MemorySegment buf,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_read.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_read", attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_write {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_write");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_write$descriptor() { return H5VLattr_write.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_write$handle() { return H5VLattr_write.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_write$address() { return H5VLattr_write.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLattr_write(MemorySegment attr, long connector_id, long dtype_id, MemorySegment buf,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_write.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_write", attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_get$descriptor() { return H5VLattr_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_get$handle() { return H5VLattr_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_get$address() { return H5VLattr_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLattr_get(MemorySegment obj, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLattr_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_get", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_specific$descriptor() { return H5VLattr_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_specific$handle() { return H5VLattr_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_specific$address() { return H5VLattr_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLattr_specific(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_specific", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_optional$descriptor() { return H5VLattr_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_optional$handle() { return H5VLattr_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_optional$address() { return H5VLattr_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLattr_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_close$descriptor() { return H5VLattr_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_close$handle() { return H5VLattr_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_close$address() { return H5VLattr_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLattr_close(MemorySegment attr, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_close", attr, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(attr, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_create$descriptor() { return H5VLdataset_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_create$handle() { return H5VLdataset_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_create$address() { return H5VLdataset_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_create(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long lcpl_id,
+ long type_id, long space_id, long dcpl_id, long dapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_create", obj, loc_params, connector_id, name, lcpl_id, type_id,
+ space_id, dcpl_id, dapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, lcpl_id, type_id,
+ space_id, dcpl_id, dapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_open$descriptor() { return H5VLdataset_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_open$handle() { return H5VLdataset_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_open$address() { return H5VLdataset_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_open(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long dapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_open", obj, loc_params, connector_id, name, dapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, dapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_read {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_read");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_read$descriptor() { return H5VLdataset_read.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_read$handle() { return H5VLdataset_read.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_read$address() { return H5VLdataset_read.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static int H5VLdataset_read(long count, MemorySegment dset, long connector_id,
+ MemorySegment mem_type_id, MemorySegment mem_space_id,
+ MemorySegment file_space_id, long plist_id, MemorySegment buf,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_read.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_read", count, dset, connector_id, mem_type_id, mem_space_id,
+ file_space_id, plist_id, buf, req);
+ }
+ return (int)mh$.invokeExact(count, dset, connector_id, mem_type_id, mem_space_id, file_space_id,
+ plist_id, buf, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_write {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_write");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_write$descriptor() { return H5VLdataset_write.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_write$handle() { return H5VLdataset_write.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_write$address() { return H5VLdataset_write.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static int H5VLdataset_write(long count, MemorySegment dset, long connector_id,
+ MemorySegment mem_type_id, MemorySegment mem_space_id,
+ MemorySegment file_space_id, long plist_id, MemorySegment buf,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_write.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_write", count, dset, connector_id, mem_type_id, mem_space_id,
+ file_space_id, plist_id, buf, req);
+ }
+ return (int)mh$.invokeExact(count, dset, connector_id, mem_type_id, mem_space_id, file_space_id,
+ plist_id, buf, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_get$descriptor() { return H5VLdataset_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_get$handle() { return H5VLdataset_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_get$address() { return H5VLdataset_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdataset_get(MemorySegment dset, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_get", dset, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dset, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_specific$descriptor() { return H5VLdataset_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_specific$handle() { return H5VLdataset_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_specific$address() { return H5VLdataset_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdataset_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_optional$descriptor() { return H5VLdataset_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_optional$handle() { return H5VLdataset_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_optional$address() { return H5VLdataset_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdataset_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_close$descriptor() { return H5VLdataset_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_close$handle() { return H5VLdataset_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_close$address() { return H5VLdataset_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdataset_close(MemorySegment dset, long connector_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_close", dset, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dset, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_commit {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_commit");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_commit$descriptor() { return H5VLdatatype_commit.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_commit$handle() { return H5VLdatatype_commit.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_commit$address() { return H5VLdatatype_commit.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_commit(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long type_id,
+ long lcpl_id, long tcpl_id, long tapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_commit.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_commit", obj, loc_params, connector_id, name, type_id, lcpl_id,
+ tcpl_id, tapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, type_id, lcpl_id,
+ tcpl_id, tapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_open$descriptor() { return H5VLdatatype_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_open$handle() { return H5VLdatatype_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_open$address() { return H5VLdatatype_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_open(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long tapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_open", obj, loc_params, connector_id, name, tapl_id, dxpl_id,
+ req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, tapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_get$descriptor() { return H5VLdatatype_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_get$handle() { return H5VLdatatype_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_get$address() { return H5VLdatatype_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdatatype_get(MemorySegment dt, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_get", dt, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dt, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_specific$descriptor() { return H5VLdatatype_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_specific$handle() { return H5VLdatatype_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_specific$address() { return H5VLdatatype_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdatatype_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_optional$descriptor() { return H5VLdatatype_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_optional$handle() { return H5VLdatatype_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_optional$address() { return H5VLdatatype_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdatatype_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_close$descriptor() { return H5VLdatatype_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_close$handle() { return H5VLdatatype_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_close$address() { return H5VLdatatype_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdatatype_close(MemorySegment dt, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_close", dt, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dt, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_create$descriptor() { return H5VLfile_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_create$handle() { return H5VLfile_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_create$address() { return H5VLfile_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_create(MemorySegment name, int flags, long fcpl_id, long fapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_create", name, flags, fcpl_id, fapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(name, flags, fcpl_id, fapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_open$descriptor() { return H5VLfile_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_open$handle() { return H5VLfile_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_open$address() { return H5VLfile_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_open(MemorySegment name, int flags, long fapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLfile_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_open", name, flags, fapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(name, flags, fapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_get$descriptor() { return H5VLfile_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_get$handle() { return H5VLfile_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_get$address() { return H5VLfile_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLfile_get(MemorySegment file, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLfile_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_get", file, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(file, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_specific$descriptor() { return H5VLfile_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_specific$handle() { return H5VLfile_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_specific$address() { return H5VLfile_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLfile_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_optional$descriptor() { return H5VLfile_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_optional$handle() { return H5VLfile_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_optional$address() { return H5VLfile_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLfile_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_close$descriptor() { return H5VLfile_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_close$handle() { return H5VLfile_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_close$address() { return H5VLfile_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLfile_close(MemorySegment file, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_close", file, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(file, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_create$descriptor() { return H5VLgroup_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_create$handle() { return H5VLgroup_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_create$address() { return H5VLgroup_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_create(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long lcpl_id,
+ long gcpl_id, long gapl_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_create", obj, loc_params, connector_id, name, lcpl_id, gcpl_id,
+ gapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, lcpl_id, gcpl_id,
+ gapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_open$descriptor() { return H5VLgroup_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_open$handle() { return H5VLgroup_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_open$address() { return H5VLgroup_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_open(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment name, long gapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLgroup_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_open", obj, loc_params, connector_id, name, gapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, gapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_get$descriptor() { return H5VLgroup_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_get$handle() { return H5VLgroup_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_get$address() { return H5VLgroup_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLgroup_get(MemorySegment obj, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLgroup_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_get", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_specific$descriptor() { return H5VLgroup_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_specific$handle() { return H5VLgroup_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_specific$address() { return H5VLgroup_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLgroup_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_optional$descriptor() { return H5VLgroup_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_optional$handle() { return H5VLgroup_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_optional$address() { return H5VLgroup_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLgroup_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_close$descriptor() { return H5VLgroup_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_close$handle() { return H5VLgroup_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_close$address() { return H5VLgroup_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLgroup_close(MemorySegment grp, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_close", grp, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(grp, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_create$descriptor() { return H5VLlink_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_create$handle() { return H5VLlink_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_create$address() { return H5VLlink_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_create(MemorySegment args, MemorySegment obj, MemorySegment loc_params,
+ long connector_id, long lcpl_id, long lapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLlink_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_create", args, obj, loc_params, connector_id, lcpl_id, lapl_id,
+ dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(args, obj, loc_params, connector_id, lcpl_id, lapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_copy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_copy$descriptor() { return H5VLlink_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_copy$handle() { return H5VLlink_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_copy$address() { return H5VLlink_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLlink_copy(MemorySegment src_obj, MemorySegment loc_params1, MemorySegment dst_obj,
+ MemorySegment loc_params2, long connector_id, long lcpl_id, long lapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_copy", src_obj, loc_params1, dst_obj, loc_params2, connector_id,
+ lcpl_id, lapl_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(src_obj, loc_params1, dst_obj, loc_params2, connector_id, lcpl_id,
+ lapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_move {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_move");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_move$descriptor() { return H5VLlink_move.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_move$handle() { return H5VLlink_move.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_move$address() { return H5VLlink_move.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLlink_move(MemorySegment src_obj, MemorySegment loc_params1, MemorySegment dst_obj,
+ MemorySegment loc_params2, long connector_id, long lcpl_id, long lapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_move.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_move", src_obj, loc_params1, dst_obj, loc_params2, connector_id,
+ lcpl_id, lapl_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(src_obj, loc_params1, dst_obj, loc_params2, connector_id, lcpl_id,
+ lapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_get$descriptor() { return H5VLlink_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_get$handle() { return H5VLlink_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_get$address() { return H5VLlink_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_get(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_get", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_specific$descriptor() { return H5VLlink_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_specific$handle() { return H5VLlink_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_specific$address() { return H5VLlink_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_specific(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_specific", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_optional$descriptor() { return H5VLlink_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_optional$handle() { return H5VLlink_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_optional$address() { return H5VLlink_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_optional(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_optional", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_open$descriptor() { return H5VLobject_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_open$handle() { return H5VLobject_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_open$address() { return H5VLobject_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_open(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment opened_type, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLobject_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_open", obj, loc_params, connector_id, opened_type, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, opened_type, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_copy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_copy$descriptor() { return H5VLobject_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_copy$handle() { return H5VLobject_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_copy$address() { return H5VLobject_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_copy(MemorySegment src_obj, MemorySegment loc_params1,
+ MemorySegment src_name, MemorySegment dst_obj,
+ MemorySegment loc_params2, MemorySegment dst_name, long connector_id,
+ long ocpypl_id, long lcpl_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_copy", src_obj, loc_params1, src_name, dst_obj, loc_params2,
+ dst_name, connector_id, ocpypl_id, lcpl_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(src_obj, loc_params1, src_name, dst_obj, loc_params2, dst_name,
+ connector_id, ocpypl_id, lcpl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_get$descriptor() { return H5VLobject_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_get$handle() { return H5VLobject_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_get$address() { return H5VLobject_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_get(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_get", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_specific$descriptor() { return H5VLobject_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_specific$handle() { return H5VLobject_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_specific$address() { return H5VLobject_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_specific(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_specific", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_optional$descriptor() { return H5VLobject_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_optional$handle() { return H5VLobject_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_optional$address() { return H5VLobject_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_optional(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_optional", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLintrospect_get_conn_cls {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLintrospect_get_conn_cls");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static FunctionDescriptor H5VLintrospect_get_conn_cls$descriptor()
+ {
+ return H5VLintrospect_get_conn_cls.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static MethodHandle H5VLintrospect_get_conn_cls$handle()
+ {
+ return H5VLintrospect_get_conn_cls.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static MemorySegment H5VLintrospect_get_conn_cls$address()
+ {
+ return H5VLintrospect_get_conn_cls.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static int H5VLintrospect_get_conn_cls(MemorySegment obj, long connector_id, int lvl,
+ MemorySegment conn_cls)
+ {
+ var mh$ = H5VLintrospect_get_conn_cls.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLintrospect_get_conn_cls", obj, connector_id, lvl, conn_cls);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, lvl, conn_cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLintrospect_get_cap_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLintrospect_get_cap_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLintrospect_get_cap_flags$descriptor()
+ {
+ return H5VLintrospect_get_cap_flags.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MethodHandle H5VLintrospect_get_cap_flags$handle()
+ {
+ return H5VLintrospect_get_cap_flags.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MemorySegment H5VLintrospect_get_cap_flags$address()
+ {
+ return H5VLintrospect_get_cap_flags.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static int H5VLintrospect_get_cap_flags(MemorySegment info, long connector_id,
+ MemorySegment cap_flags)
+ {
+ var mh$ = H5VLintrospect_get_cap_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLintrospect_get_cap_flags", info, connector_id, cap_flags);
+ }
+ return (int)mh$.invokeExact(info, connector_id, cap_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLintrospect_opt_query {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLintrospect_opt_query");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLintrospect_opt_query$descriptor()
+ {
+ return H5VLintrospect_opt_query.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static MethodHandle H5VLintrospect_opt_query$handle() { return H5VLintrospect_opt_query.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static MemorySegment H5VLintrospect_opt_query$address() { return H5VLintrospect_opt_query.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static int H5VLintrospect_opt_query(MemorySegment obj, long connector_id, int subcls, int opt_type,
+ MemorySegment flags)
+ {
+ var mh$ = H5VLintrospect_opt_query.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLintrospect_opt_query", obj, connector_id, subcls, opt_type, flags);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, subcls, opt_type, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_wait {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_wait");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_wait$descriptor() { return H5VLrequest_wait.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static MethodHandle H5VLrequest_wait$handle() { return H5VLrequest_wait.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static MemorySegment H5VLrequest_wait$address() { return H5VLrequest_wait.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static int H5VLrequest_wait(MemorySegment req, long connector_id, long timeout,
+ MemorySegment status)
+ {
+ var mh$ = H5VLrequest_wait.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_wait", req, connector_id, timeout, status);
+ }
+ return (int)mh$.invokeExact(req, connector_id, timeout, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_notify {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_notify");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_notify$descriptor() { return H5VLrequest_notify.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static MethodHandle H5VLrequest_notify$handle() { return H5VLrequest_notify.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static MemorySegment H5VLrequest_notify$address() { return H5VLrequest_notify.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static int H5VLrequest_notify(MemorySegment req, long connector_id, MemorySegment cb,
+ MemorySegment ctx)
+ {
+ var mh$ = H5VLrequest_notify.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_notify", req, connector_id, cb, ctx);
+ }
+ return (int)mh$.invokeExact(req, connector_id, cb, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_cancel {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_cancel");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_cancel$descriptor() { return H5VLrequest_cancel.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static MethodHandle H5VLrequest_cancel$handle() { return H5VLrequest_cancel.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static MemorySegment H5VLrequest_cancel$address() { return H5VLrequest_cancel.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static int H5VLrequest_cancel(MemorySegment req, long connector_id, MemorySegment status)
+ {
+ var mh$ = H5VLrequest_cancel.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_cancel", req, connector_id, status);
+ }
+ return (int)mh$.invokeExact(req, connector_id, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_specific$descriptor() { return H5VLrequest_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLrequest_specific$handle() { return H5VLrequest_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLrequest_specific$address() { return H5VLrequest_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static int H5VLrequest_specific(MemorySegment req, long connector_id, MemorySegment args)
+ {
+ var mh$ = H5VLrequest_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_specific", req, connector_id, args);
+ }
+ return (int)mh$.invokeExact(req, connector_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_optional$descriptor() { return H5VLrequest_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLrequest_optional$handle() { return H5VLrequest_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLrequest_optional$address() { return H5VLrequest_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static int H5VLrequest_optional(MemorySegment req, long connector_id, MemorySegment args)
+ {
+ var mh$ = H5VLrequest_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_optional", req, connector_id, args);
+ }
+ return (int)mh$.invokeExact(req, connector_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_free {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_free");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_free$descriptor() { return H5VLrequest_free.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLrequest_free$handle() { return H5VLrequest_free.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLrequest_free$address() { return H5VLrequest_free.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static int H5VLrequest_free(MemorySegment req, long connector_id)
+ {
+ var mh$ = H5VLrequest_free.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_free", req, connector_id);
+ }
+ return (int)mh$.invokeExact(req, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_put {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_put");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_put$descriptor() { return H5VLblob_put.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static MethodHandle H5VLblob_put$handle() { return H5VLblob_put.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static MemorySegment H5VLblob_put$address() { return H5VLblob_put.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static int H5VLblob_put(MemorySegment obj, long connector_id, MemorySegment buf, long size,
+ MemorySegment blob_id, MemorySegment ctx)
+ {
+ var mh$ = H5VLblob_put.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_put", obj, connector_id, buf, size, blob_id, ctx);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, buf, size, blob_id, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_get$descriptor() { return H5VLblob_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static MethodHandle H5VLblob_get$handle() { return H5VLblob_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static MemorySegment H5VLblob_get$address() { return H5VLblob_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static int H5VLblob_get(MemorySegment obj, long connector_id, MemorySegment blob_id,
+ MemorySegment buf, long size, MemorySegment ctx)
+ {
+ var mh$ = H5VLblob_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_get", obj, connector_id, blob_id, buf, size, ctx);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, blob_id, buf, size, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_specific {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_specific$descriptor() { return H5VLblob_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLblob_specific$handle() { return H5VLblob_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLblob_specific$address() { return H5VLblob_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static int H5VLblob_specific(MemorySegment obj, long connector_id, MemorySegment blob_id,
+ MemorySegment args)
+ {
+ var mh$ = H5VLblob_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_specific", obj, connector_id, blob_id, args);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, blob_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_optional$descriptor() { return H5VLblob_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLblob_optional$handle() { return H5VLblob_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLblob_optional$address() { return H5VLblob_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static int H5VLblob_optional(MemorySegment obj, long connector_id, MemorySegment blob_id,
+ MemorySegment args)
+ {
+ var mh$ = H5VLblob_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_optional", obj, connector_id, blob_id, args);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, blob_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLtoken_cmp {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLtoken_cmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLtoken_cmp$descriptor() { return H5VLtoken_cmp.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static MethodHandle H5VLtoken_cmp$handle() { return H5VLtoken_cmp.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static MemorySegment H5VLtoken_cmp$address() { return H5VLtoken_cmp.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static int H5VLtoken_cmp(MemorySegment obj, long connector_id, MemorySegment token1,
+ MemorySegment token2, MemorySegment cmp_value)
+ {
+ var mh$ = H5VLtoken_cmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLtoken_cmp", obj, connector_id, token1, token2, cmp_value);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, token1, token2, cmp_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLtoken_to_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLtoken_to_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static FunctionDescriptor H5VLtoken_to_str$descriptor() { return H5VLtoken_to_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static MethodHandle H5VLtoken_to_str$handle() { return H5VLtoken_to_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static MemorySegment H5VLtoken_to_str$address() { return H5VLtoken_to_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static int H5VLtoken_to_str(MemorySegment obj, int obj_type, long connector_id,
+ MemorySegment token, MemorySegment token_str)
+ {
+ var mh$ = H5VLtoken_to_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLtoken_to_str", obj, obj_type, connector_id, token, token_str);
+ }
+ return (int)mh$.invokeExact(obj, obj_type, connector_id, token, token_str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLtoken_from_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLtoken_from_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static FunctionDescriptor H5VLtoken_from_str$descriptor() { return H5VLtoken_from_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static MethodHandle H5VLtoken_from_str$handle() { return H5VLtoken_from_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static MemorySegment H5VLtoken_from_str$address() { return H5VLtoken_from_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static int H5VLtoken_from_str(MemorySegment obj, int obj_type, long connector_id,
+ MemorySegment token_str, MemorySegment token)
+ {
+ var mh$ = H5VLtoken_from_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLtoken_from_str", obj, obj_type, connector_id, token_str, token);
+ }
+ return (int)mh$.invokeExact(obj, obj_type, connector_id, token_str, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLoptional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLoptional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLoptional$descriptor() { return H5VLoptional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLoptional$handle() { return H5VLoptional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLoptional$address() { return H5VLoptional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLoptional(MemorySegment obj, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLoptional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLoptional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VL_NATIVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5VL_NATIVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static OfLong H5VL_NATIVE_g$layout() { return H5VL_NATIVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static MemorySegment H5VL_NATIVE_g$segment() { return H5VL_NATIVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static long H5VL_NATIVE_g()
+ {
+ return H5VL_NATIVE_g$constants.SEGMENT.get(H5VL_NATIVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static void H5VL_NATIVE_g(long varValue)
+ {
+ H5VL_NATIVE_g$constants.SEGMENT.set(H5VL_NATIVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5VLnative_addr_to_token {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLnative_addr_to_token");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static FunctionDescriptor H5VLnative_addr_to_token$descriptor()
+ {
+ return H5VLnative_addr_to_token.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static MethodHandle H5VLnative_addr_to_token$handle() { return H5VLnative_addr_to_token.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static MemorySegment H5VLnative_addr_to_token$address() { return H5VLnative_addr_to_token.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static int H5VLnative_addr_to_token(long loc_id, long addr, MemorySegment token)
+ {
+ var mh$ = H5VLnative_addr_to_token.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLnative_addr_to_token", loc_id, addr, token);
+ }
+ return (int)mh$.invokeExact(loc_id, addr, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLnative_token_to_addr {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, H5O_token_t.layout(), hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLnative_token_to_addr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static FunctionDescriptor H5VLnative_token_to_addr$descriptor()
+ {
+ return H5VLnative_token_to_addr.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static MethodHandle H5VLnative_token_to_addr$handle() { return H5VLnative_token_to_addr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static MemorySegment H5VLnative_token_to_addr$address() { return H5VLnative_token_to_addr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static int H5VLnative_token_to_addr(long loc_id, MemorySegment token, MemorySegment addr)
+ {
+ var mh$ = H5VLnative_token_to_addr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLnative_token_to_addr", loc_id, token, addr);
+ }
+ return (int)mh$.invokeExact(loc_id, token, addr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_CORE_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_CORE_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static OfLong H5FD_CORE_id_g$layout() { return H5FD_CORE_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static MemorySegment H5FD_CORE_id_g$segment() { return H5FD_CORE_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static long H5FD_CORE_id_g()
+ {
+ return H5FD_CORE_id_g$constants.SEGMENT.get(H5FD_CORE_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static void H5FD_CORE_id_g(long varValue)
+ {
+ H5FD_CORE_id_g$constants.SEGMENT.set(H5FD_CORE_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_core {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_core");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_core$descriptor() { return H5Pset_fapl_core.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_core$handle() { return H5Pset_fapl_core.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_core$address() { return H5Pset_fapl_core.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static int H5Pset_fapl_core(long fapl_id, long increment, boolean backing_store)
+ {
+ var mh$ = H5Pset_fapl_core.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_core", fapl_id, increment, backing_store);
+ }
+ return (int)mh$.invokeExact(fapl_id, increment, backing_store);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_core {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_core");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_core$descriptor() { return H5Pget_fapl_core.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_core$handle() { return H5Pget_fapl_core.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_core$address() { return H5Pget_fapl_core.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static int H5Pget_fapl_core(long fapl_id, MemorySegment increment, MemorySegment backing_store)
+ {
+ var mh$ = H5Pget_fapl_core.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_core", fapl_id, increment, backing_store);
+ }
+ return (int)mh$.invokeExact(fapl_id, increment, backing_store);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_FAMILY_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_FAMILY_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static OfLong H5FD_FAMILY_id_g$layout() { return H5FD_FAMILY_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static MemorySegment H5FD_FAMILY_id_g$segment() { return H5FD_FAMILY_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static long H5FD_FAMILY_id_g()
+ {
+ return H5FD_FAMILY_id_g$constants.SEGMENT.get(H5FD_FAMILY_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static void H5FD_FAMILY_id_g(long varValue)
+ {
+ H5FD_FAMILY_id_g$constants.SEGMENT.set(H5FD_FAMILY_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_family {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_family");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_family$descriptor() { return H5Pset_fapl_family.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_family$handle() { return H5Pset_fapl_family.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_family$address() { return H5Pset_fapl_family.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_family(long fapl_id, long memb_size, long memb_fapl_id)
+ {
+ var mh$ = H5Pset_fapl_family.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_family", fapl_id, memb_size, memb_fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_size, memb_fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_family {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_family");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_family$descriptor() { return H5Pget_fapl_family.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_family$handle() { return H5Pget_fapl_family.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_family$address() { return H5Pget_fapl_family.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static int H5Pget_fapl_family(long fapl_id, MemorySegment memb_size, MemorySegment memb_fapl_id)
+ {
+ var mh$ = H5Pget_fapl_family.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_family", fapl_id, memb_size, memb_fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_size, memb_fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_LOG_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_LOG_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static OfLong H5FD_LOG_id_g$layout() { return H5FD_LOG_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static MemorySegment H5FD_LOG_id_g$segment() { return H5FD_LOG_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static long H5FD_LOG_id_g()
+ {
+ return H5FD_LOG_id_g$constants.SEGMENT.get(H5FD_LOG_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static void H5FD_LOG_id_g(long varValue)
+ {
+ H5FD_LOG_id_g$constants.SEGMENT.set(H5FD_LOG_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_log {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_log");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_log$descriptor() { return H5Pset_fapl_log.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_log$handle() { return H5Pset_fapl_log.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_log$address() { return H5Pset_fapl_log.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static int H5Pset_fapl_log(long fapl_id, MemorySegment logfile, long flags, long buf_size)
+ {
+ var mh$ = H5Pset_fapl_log.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_log", fapl_id, logfile, flags, buf_size);
+ }
+ return (int)mh$.invokeExact(fapl_id, logfile, flags, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5FD_MPIO_INDEPENDENT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_xfer_t.H5FD_MPIO_INDEPENDENT = 0
+ * }
+ */
+ public static int H5FD_MPIO_INDEPENDENT() { return H5FD_MPIO_INDEPENDENT; }
+ private static final int H5FD_MPIO_COLLECTIVE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_xfer_t.H5FD_MPIO_COLLECTIVE = 1
+ * }
+ */
+ public static int H5FD_MPIO_COLLECTIVE() { return H5FD_MPIO_COLLECTIVE; }
+ private static final int H5FD_MPIO_CHUNK_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_chunk_opt_t.H5FD_MPIO_CHUNK_DEFAULT = 0
+ * }
+ */
+ public static int H5FD_MPIO_CHUNK_DEFAULT() { return H5FD_MPIO_CHUNK_DEFAULT; }
+ private static final int H5FD_MPIO_CHUNK_ONE_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_chunk_opt_t.H5FD_MPIO_CHUNK_ONE_IO = 1
+ * }
+ */
+ public static int H5FD_MPIO_CHUNK_ONE_IO() { return H5FD_MPIO_CHUNK_ONE_IO; }
+ private static final int H5FD_MPIO_CHUNK_MULTI_IO = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_chunk_opt_t.H5FD_MPIO_CHUNK_MULTI_IO = 2
+ * }
+ */
+ public static int H5FD_MPIO_CHUNK_MULTI_IO() { return H5FD_MPIO_CHUNK_MULTI_IO; }
+ private static final int H5FD_MPIO_COLLECTIVE_IO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_collective_opt_t.H5FD_MPIO_COLLECTIVE_IO = 0
+ * }
+ */
+ public static int H5FD_MPIO_COLLECTIVE_IO() { return H5FD_MPIO_COLLECTIVE_IO; }
+ private static final int H5FD_MPIO_INDIVIDUAL_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_collective_opt_t.H5FD_MPIO_INDIVIDUAL_IO = 1
+ * }
+ */
+ public static int H5FD_MPIO_INDIVIDUAL_IO() { return H5FD_MPIO_INDIVIDUAL_IO; }
+
+ private static class H5FD_MULTI_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_MULTI_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static OfLong H5FD_MULTI_id_g$layout() { return H5FD_MULTI_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static MemorySegment H5FD_MULTI_id_g$segment() { return H5FD_MULTI_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static long H5FD_MULTI_id_g()
+ {
+ return H5FD_MULTI_id_g$constants.SEGMENT.get(H5FD_MULTI_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static void H5FD_MULTI_id_g(long varValue)
+ {
+ H5FD_MULTI_id_g$constants.SEGMENT.set(H5FD_MULTI_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_multi$descriptor() { return H5Pset_fapl_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_multi$handle() { return H5Pset_fapl_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_multi$address() { return H5Pset_fapl_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static int H5Pset_fapl_multi(long fapl_id, MemorySegment memb_map, MemorySegment memb_fapl,
+ MemorySegment memb_name, MemorySegment memb_addr, boolean relax)
+ {
+ var mh$ = H5Pset_fapl_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_multi", fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_multi$descriptor() { return H5Pget_fapl_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_multi$handle() { return H5Pget_fapl_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_multi$address() { return H5Pget_fapl_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static int H5Pget_fapl_multi(long fapl_id, MemorySegment memb_map, MemorySegment memb_fapl,
+ MemorySegment memb_name, MemorySegment memb_addr, MemorySegment relax)
+ {
+ var mh$ = H5Pget_fapl_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_multi", fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_split {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_split");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_split$descriptor() { return H5Pset_fapl_split.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_split$handle() { return H5Pset_fapl_split.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_split$address() { return H5Pset_fapl_split.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static int H5Pset_fapl_split(long fapl, MemorySegment meta_ext, long meta_plist_id,
+ MemorySegment raw_ext, long raw_plist_id)
+ {
+ var mh$ = H5Pset_fapl_split.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_split", fapl, meta_ext, meta_plist_id, raw_ext, raw_plist_id);
+ }
+ return (int)mh$.invokeExact(fapl, meta_ext, meta_plist_id, raw_ext, raw_plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5FD_ONION_STORE_TARGET_ONION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_onion_target_file_constant_t.H5FD_ONION_STORE_TARGET_ONION = 0
+ * }
+ */
+ public static int H5FD_ONION_STORE_TARGET_ONION() { return H5FD_ONION_STORE_TARGET_ONION; }
+
+ private static class H5FD_ONION_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_ONION_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static OfLong H5FD_ONION_id_g$layout() { return H5FD_ONION_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static MemorySegment H5FD_ONION_id_g$segment() { return H5FD_ONION_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static long H5FD_ONION_id_g()
+ {
+ return H5FD_ONION_id_g$constants.SEGMENT.get(H5FD_ONION_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static void H5FD_ONION_id_g(long varValue)
+ {
+ H5FD_ONION_id_g$constants.SEGMENT.set(H5FD_ONION_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pget_fapl_onion {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_onion");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_onion$descriptor() { return H5Pget_fapl_onion.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_onion$handle() { return H5Pget_fapl_onion.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_onion$address() { return H5Pget_fapl_onion.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static int H5Pget_fapl_onion(long fapl_id, MemorySegment fa_out)
+ {
+ var mh$ = H5Pget_fapl_onion.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_onion", fapl_id, fa_out);
+ }
+ return (int)mh$.invokeExact(fapl_id, fa_out);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_onion {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_onion");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_onion$descriptor() { return H5Pset_fapl_onion.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_onion$handle() { return H5Pset_fapl_onion.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_onion$address() { return H5Pset_fapl_onion.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static int H5Pset_fapl_onion(long fapl_id, MemorySegment fa)
+ {
+ var mh$ = H5Pset_fapl_onion.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_onion", fapl_id, fa);
+ }
+ return (int)mh$.invokeExact(fapl_id, fa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDonion_get_revision_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDonion_get_revision_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static FunctionDescriptor H5FDonion_get_revision_count$descriptor()
+ {
+ return H5FDonion_get_revision_count.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static MethodHandle H5FDonion_get_revision_count$handle()
+ {
+ return H5FDonion_get_revision_count.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static MemorySegment H5FDonion_get_revision_count$address()
+ {
+ return H5FDonion_get_revision_count.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static int H5FDonion_get_revision_count(MemorySegment filename, long fapl_id,
+ MemorySegment revision_count)
+ {
+ var mh$ = H5FDonion_get_revision_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDonion_get_revision_count", filename, fapl_id, revision_count);
+ }
+ return (int)mh$.invokeExact(filename, fapl_id, revision_count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_SEC2_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_SEC2_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static OfLong H5FD_SEC2_id_g$layout() { return H5FD_SEC2_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static MemorySegment H5FD_SEC2_id_g$segment() { return H5FD_SEC2_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static long H5FD_SEC2_id_g()
+ {
+ return H5FD_SEC2_id_g$constants.SEGMENT.get(H5FD_SEC2_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static void H5FD_SEC2_id_g(long varValue)
+ {
+ H5FD_SEC2_id_g$constants.SEGMENT.set(H5FD_SEC2_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_sec2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_sec2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_sec2$descriptor() { return H5Pset_fapl_sec2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_sec2$handle() { return H5Pset_fapl_sec2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_sec2$address() { return H5Pset_fapl_sec2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_sec2(long fapl_id)
+ {
+ var mh$ = H5Pset_fapl_sec2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_sec2", fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_SPLITTER_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_SPLITTER_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static OfLong H5FD_SPLITTER_id_g$layout() { return H5FD_SPLITTER_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static MemorySegment H5FD_SPLITTER_id_g$segment() { return H5FD_SPLITTER_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static long H5FD_SPLITTER_id_g()
+ {
+ return H5FD_SPLITTER_id_g$constants.SEGMENT.get(H5FD_SPLITTER_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static void H5FD_SPLITTER_id_g(long varValue)
+ {
+ H5FD_SPLITTER_id_g$constants.SEGMENT.set(H5FD_SPLITTER_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_splitter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_splitter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_splitter$descriptor() { return H5Pset_fapl_splitter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_splitter$handle() { return H5Pset_fapl_splitter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_splitter$address() { return H5Pset_fapl_splitter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pset_fapl_splitter(long fapl_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pset_fapl_splitter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_splitter", fapl_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_splitter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_splitter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_splitter$descriptor() { return H5Pget_fapl_splitter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_splitter$handle() { return H5Pget_fapl_splitter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_splitter$address() { return H5Pget_fapl_splitter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pget_fapl_splitter(long fapl_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pget_fapl_splitter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_splitter", fapl_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_STDIO_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_STDIO_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static OfLong H5FD_STDIO_id_g$layout() { return H5FD_STDIO_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static MemorySegment H5FD_STDIO_id_g$segment() { return H5FD_STDIO_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static long H5FD_STDIO_id_g()
+ {
+ return H5FD_STDIO_id_g$constants.SEGMENT.get(H5FD_STDIO_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static void H5FD_STDIO_id_g(long varValue)
+ {
+ H5FD_STDIO_id_g$constants.SEGMENT.set(H5FD_STDIO_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_stdio {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_stdio");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_stdio$descriptor() { return H5Pset_fapl_stdio.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_stdio$handle() { return H5Pset_fapl_stdio.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_stdio$address() { return H5Pset_fapl_stdio.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_stdio(long fapl_id)
+ {
+ var mh$ = H5Pset_fapl_stdio.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_stdio", fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VL_PASSTHRU_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5VL_PASSTHRU_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static OfLong H5VL_PASSTHRU_g$layout() { return H5VL_PASSTHRU_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static MemorySegment H5VL_PASSTHRU_g$segment() { return H5VL_PASSTHRU_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static long H5VL_PASSTHRU_g()
+ {
+ return H5VL_PASSTHRU_g$constants.SEGMENT.get(H5VL_PASSTHRU_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static void H5VL_PASSTHRU_g(long varValue)
+ {
+ H5VL_PASSTHRU_g$constants.SEGMENT.set(H5VL_PASSTHRU_g$constants.LAYOUT, 0L, varValue);
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_DEFAULT_PLUGINDIR
+ * "/Users/runner/work/hdf5/hdf5/install/lib/plugin:/usr/local/hdf5/lib/plugin"
+ * }
+ */
+ public static MemorySegment H5_DEFAULT_PLUGINDIR()
+ {
+ class Holder {
+ static final MemorySegment H5_DEFAULT_PLUGINDIR = hdf5_h.LIBRARY_ARENA.allocateFrom(
+ "/Users/runner/work/hdf5/hdf5/install/lib/plugin:/usr/local/hdf5/lib/plugin");
+ }
+ return Holder.H5_DEFAULT_PLUGINDIR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE "hdf5"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE = hdf5_h.LIBRARY_ARENA.allocateFrom("hdf5");
+ }
+ return Holder.H5_PACKAGE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_BUGREPORT "help@hdfgroup.org"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_BUGREPORT()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_BUGREPORT =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("help@hdfgroup.org");
+ }
+ return Holder.H5_PACKAGE_BUGREPORT;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_NAME "HDF5"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5");
+ }
+ return Holder.H5_PACKAGE_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_STRING "HDF5 2.0.0.4"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_STRING()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_STRING = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5 2.0.0.4");
+ }
+ return Holder.H5_PACKAGE_STRING;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_TARNAME "hdf5"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_TARNAME()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_TARNAME = hdf5_h.LIBRARY_ARENA.allocateFrom("hdf5");
+ }
+ return Holder.H5_PACKAGE_TARNAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_URL "https://www.hdfgroup.org"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_URL()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_URL =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("https://www.hdfgroup.org");
+ }
+ return Holder.H5_PACKAGE_URL;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_VERSION "2.0.0.4"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_VERSION()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_VERSION = hdf5_h.LIBRARY_ARENA.allocateFrom("2.0.0.4");
+ }
+ return Holder.H5_PACKAGE_VERSION;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERSION "2.0.0.4"
+ * }
+ */
+ public static MemorySegment H5_VERSION()
+ {
+ class Holder {
+ static final MemorySegment H5_VERSION = hdf5_h.LIBRARY_ARENA.allocateFrom("2.0.0.4");
+ }
+ return Holder.H5_VERSION;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __PRI_8_LENGTH_MODIFIER__ "hh"
+ * }
+ */
+ public static MemorySegment __PRI_8_LENGTH_MODIFIER__()
+ {
+ class Holder {
+ static final MemorySegment __PRI_8_LENGTH_MODIFIER__ = hdf5_h.LIBRARY_ARENA.allocateFrom("hh");
+ }
+ return Holder.__PRI_8_LENGTH_MODIFIER__;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __PRI_64_LENGTH_MODIFIER__ "ll"
+ * }
+ */
+ public static MemorySegment __PRI_64_LENGTH_MODIFIER__()
+ {
+ class Holder {
+ static final MemorySegment __PRI_64_LENGTH_MODIFIER__ = hdf5_h.LIBRARY_ARENA.allocateFrom("ll");
+ }
+ return Holder.__PRI_64_LENGTH_MODIFIER__;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __SCN_64_LENGTH_MODIFIER__ "ll"
+ * }
+ */
+ public static MemorySegment __SCN_64_LENGTH_MODIFIER__()
+ {
+ class Holder {
+ static final MemorySegment __SCN_64_LENGTH_MODIFIER__ = hdf5_h.LIBRARY_ARENA.allocateFrom("ll");
+ }
+ return Holder.__SCN_64_LENGTH_MODIFIER__;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __PRI_MAX_LENGTH_MODIFIER__ "j"
+ * }
+ */
+ public static MemorySegment __PRI_MAX_LENGTH_MODIFIER__()
+ {
+ class Holder {
+ static final MemorySegment __PRI_MAX_LENGTH_MODIFIER__ = hdf5_h.LIBRARY_ARENA.allocateFrom("j");
+ }
+ return Holder.__PRI_MAX_LENGTH_MODIFIER__;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __SCN_MAX_LENGTH_MODIFIER__ "j"
+ * }
+ */
+ public static MemorySegment __SCN_MAX_LENGTH_MODIFIER__()
+ {
+ class Holder {
+ static final MemorySegment __SCN_MAX_LENGTH_MODIFIER__ = hdf5_h.LIBRARY_ARENA.allocateFrom("j");
+ }
+ return Holder.__SCN_MAX_LENGTH_MODIFIER__;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId8 "hhd"
+ * }
+ */
+ public static MemorySegment PRId8()
+ {
+ class Holder {
+ static final MemorySegment PRId8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.PRId8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi8 "hhi"
+ * }
+ */
+ public static MemorySegment PRIi8()
+ {
+ class Holder {
+ static final MemorySegment PRIi8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.PRIi8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo8 "hho"
+ * }
+ */
+ public static MemorySegment PRIo8()
+ {
+ class Holder {
+ static final MemorySegment PRIo8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.PRIo8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu8 "hhu"
+ * }
+ */
+ public static MemorySegment PRIu8()
+ {
+ class Holder {
+ static final MemorySegment PRIu8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.PRIu8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx8 "hhx"
+ * }
+ */
+ public static MemorySegment PRIx8()
+ {
+ class Holder {
+ static final MemorySegment PRIx8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.PRIx8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX8 "hhX"
+ * }
+ */
+ public static MemorySegment PRIX8()
+ {
+ class Holder {
+ static final MemorySegment PRIX8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhX");
+ }
+ return Holder.PRIX8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId16 "hd"
+ * }
+ */
+ public static MemorySegment PRId16()
+ {
+ class Holder {
+ static final MemorySegment PRId16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.PRId16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi16 "hi"
+ * }
+ */
+ public static MemorySegment PRIi16()
+ {
+ class Holder {
+ static final MemorySegment PRIi16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.PRIi16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo16 "ho"
+ * }
+ */
+ public static MemorySegment PRIo16()
+ {
+ class Holder {
+ static final MemorySegment PRIo16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.PRIo16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu16 "hu"
+ * }
+ */
+ public static MemorySegment PRIu16()
+ {
+ class Holder {
+ static final MemorySegment PRIu16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.PRIu16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx16 "hx"
+ * }
+ */
+ public static MemorySegment PRIx16()
+ {
+ class Holder {
+ static final MemorySegment PRIx16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.PRIx16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX16 "hX"
+ * }
+ */
+ public static MemorySegment PRIX16()
+ {
+ class Holder {
+ static final MemorySegment PRIX16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hX");
+ }
+ return Holder.PRIX16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId32 "d"
+ * }
+ */
+ public static MemorySegment PRId32()
+ {
+ class Holder {
+ static final MemorySegment PRId32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRId32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi32 "i"
+ * }
+ */
+ public static MemorySegment PRIi32()
+ {
+ class Holder {
+ static final MemorySegment PRIi32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIi32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo32 "o"
+ * }
+ */
+ public static MemorySegment PRIo32()
+ {
+ class Holder {
+ static final MemorySegment PRIo32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIo32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu32 "u"
+ * }
+ */
+ public static MemorySegment PRIu32()
+ {
+ class Holder {
+ static final MemorySegment PRIu32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIu32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx32 "x"
+ * }
+ */
+ public static MemorySegment PRIx32()
+ {
+ class Holder {
+ static final MemorySegment PRIx32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIx32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX32 "X"
+ * }
+ */
+ public static MemorySegment PRIX32()
+ {
+ class Holder {
+ static final MemorySegment PRIX32 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIX32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId64 "lld"
+ * }
+ */
+ public static MemorySegment PRId64()
+ {
+ class Holder {
+ static final MemorySegment PRId64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRId64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi64 "lli"
+ * }
+ */
+ public static MemorySegment PRIi64()
+ {
+ class Holder {
+ static final MemorySegment PRIi64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIi64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo64 "llo"
+ * }
+ */
+ public static MemorySegment PRIo64()
+ {
+ class Holder {
+ static final MemorySegment PRIo64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIo64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu64 "llu"
+ * }
+ */
+ public static MemorySegment PRIu64()
+ {
+ class Holder {
+ static final MemorySegment PRIu64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIu64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx64 "llx"
+ * }
+ */
+ public static MemorySegment PRIx64()
+ {
+ class Holder {
+ static final MemorySegment PRIx64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIx64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX64 "llX"
+ * }
+ */
+ public static MemorySegment PRIX64()
+ {
+ class Holder {
+ static final MemorySegment PRIX64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIX64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST8 "hhd"
+ * }
+ */
+ public static MemorySegment PRIdLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.PRIdLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST8 "hhi"
+ * }
+ */
+ public static MemorySegment PRIiLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.PRIiLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST8 "hho"
+ * }
+ */
+ public static MemorySegment PRIoLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.PRIoLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST8 "hhu"
+ * }
+ */
+ public static MemorySegment PRIuLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.PRIuLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST8 "hhx"
+ * }
+ */
+ public static MemorySegment PRIxLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.PRIxLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST8 "hhX"
+ * }
+ */
+ public static MemorySegment PRIXLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhX");
+ }
+ return Holder.PRIXLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST16 "hd"
+ * }
+ */
+ public static MemorySegment PRIdLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.PRIdLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST16 "hi"
+ * }
+ */
+ public static MemorySegment PRIiLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.PRIiLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST16 "ho"
+ * }
+ */
+ public static MemorySegment PRIoLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.PRIoLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST16 "hu"
+ * }
+ */
+ public static MemorySegment PRIuLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.PRIuLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST16 "hx"
+ * }
+ */
+ public static MemorySegment PRIxLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.PRIxLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST16 "hX"
+ * }
+ */
+ public static MemorySegment PRIXLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hX");
+ }
+ return Holder.PRIXLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST32 "d"
+ * }
+ */
+ public static MemorySegment PRIdLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRIdLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST32 "i"
+ * }
+ */
+ public static MemorySegment PRIiLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIiLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST32 "o"
+ * }
+ */
+ public static MemorySegment PRIoLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIoLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST32 "u"
+ * }
+ */
+ public static MemorySegment PRIuLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIuLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST32 "x"
+ * }
+ */
+ public static MemorySegment PRIxLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIxLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST32 "X"
+ * }
+ */
+ public static MemorySegment PRIXLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIXLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST64 "lld"
+ * }
+ */
+ public static MemorySegment PRIdLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST64 "lli"
+ * }
+ */
+ public static MemorySegment PRIiLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIiLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST64 "llo"
+ * }
+ */
+ public static MemorySegment PRIoLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST64 "llu"
+ * }
+ */
+ public static MemorySegment PRIuLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST64 "llx"
+ * }
+ */
+ public static MemorySegment PRIxLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST64 "llX"
+ * }
+ */
+ public static MemorySegment PRIXLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST8 "hhd"
+ * }
+ */
+ public static MemorySegment PRIdFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.PRIdFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST8 "hhi"
+ * }
+ */
+ public static MemorySegment PRIiFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.PRIiFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST8 "hho"
+ * }
+ */
+ public static MemorySegment PRIoFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.PRIoFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST8 "hhu"
+ * }
+ */
+ public static MemorySegment PRIuFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.PRIuFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST8 "hhx"
+ * }
+ */
+ public static MemorySegment PRIxFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.PRIxFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST8 "hhX"
+ * }
+ */
+ public static MemorySegment PRIXFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhX");
+ }
+ return Holder.PRIXFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST16 "hd"
+ * }
+ */
+ public static MemorySegment PRIdFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.PRIdFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST16 "hi"
+ * }
+ */
+ public static MemorySegment PRIiFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.PRIiFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST16 "ho"
+ * }
+ */
+ public static MemorySegment PRIoFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.PRIoFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST16 "hu"
+ * }
+ */
+ public static MemorySegment PRIuFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.PRIuFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST16 "hx"
+ * }
+ */
+ public static MemorySegment PRIxFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.PRIxFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST16 "hX"
+ * }
+ */
+ public static MemorySegment PRIXFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hX");
+ }
+ return Holder.PRIXFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST32 "d"
+ * }
+ */
+ public static MemorySegment PRIdFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRIdFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST32 "i"
+ * }
+ */
+ public static MemorySegment PRIiFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIiFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST32 "o"
+ * }
+ */
+ public static MemorySegment PRIoFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIoFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST32 "u"
+ * }
+ */
+ public static MemorySegment PRIuFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIuFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST32 "x"
+ * }
+ */
+ public static MemorySegment PRIxFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIxFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST32 "X"
+ * }
+ */
+ public static MemorySegment PRIXFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIXFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST64 "lld"
+ * }
+ */
+ public static MemorySegment PRIdFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST64 "lli"
+ * }
+ */
+ public static MemorySegment PRIiFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIiFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST64 "llo"
+ * }
+ */
+ public static MemorySegment PRIoFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST64 "llu"
+ * }
+ */
+ public static MemorySegment PRIuFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST64 "llx"
+ * }
+ */
+ public static MemorySegment PRIxFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST64 "llX"
+ * }
+ */
+ public static MemorySegment PRIXFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdPTR "ld"
+ * }
+ */
+ public static MemorySegment PRIdPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIdPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiPTR "li"
+ * }
+ */
+ public static MemorySegment PRIiPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIiPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.PRIiPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoPTR "lo"
+ * }
+ */
+ public static MemorySegment PRIoPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIoPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuPTR "lu"
+ * }
+ */
+ public static MemorySegment PRIuPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIuPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIuPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxPTR "lx"
+ * }
+ */
+ public static MemorySegment PRIxPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIxPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXPTR "lX"
+ * }
+ */
+ public static MemorySegment PRIXPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIXPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdMAX "jd"
+ * }
+ */
+ public static MemorySegment PRIdMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIdMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("jd");
+ }
+ return Holder.PRIdMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiMAX "ji"
+ * }
+ */
+ public static MemorySegment PRIiMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIiMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("ji");
+ }
+ return Holder.PRIiMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoMAX "jo"
+ * }
+ */
+ public static MemorySegment PRIoMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIoMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("jo");
+ }
+ return Holder.PRIoMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuMAX "ju"
+ * }
+ */
+ public static MemorySegment PRIuMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIuMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("ju");
+ }
+ return Holder.PRIuMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxMAX "jx"
+ * }
+ */
+ public static MemorySegment PRIxMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIxMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("jx");
+ }
+ return Holder.PRIxMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXMAX "jX"
+ * }
+ */
+ public static MemorySegment PRIXMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIXMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("jX");
+ }
+ return Holder.PRIXMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd8 "hhd"
+ * }
+ */
+ public static MemorySegment SCNd8()
+ {
+ class Holder {
+ static final MemorySegment SCNd8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.SCNd8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi8 "hhi"
+ * }
+ */
+ public static MemorySegment SCNi8()
+ {
+ class Holder {
+ static final MemorySegment SCNi8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.SCNi8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo8 "hho"
+ * }
+ */
+ public static MemorySegment SCNo8()
+ {
+ class Holder {
+ static final MemorySegment SCNo8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.SCNo8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu8 "hhu"
+ * }
+ */
+ public static MemorySegment SCNu8()
+ {
+ class Holder {
+ static final MemorySegment SCNu8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.SCNu8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx8 "hhx"
+ * }
+ */
+ public static MemorySegment SCNx8()
+ {
+ class Holder {
+ static final MemorySegment SCNx8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.SCNx8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd16 "hd"
+ * }
+ */
+ public static MemorySegment SCNd16()
+ {
+ class Holder {
+ static final MemorySegment SCNd16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.SCNd16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi16 "hi"
+ * }
+ */
+ public static MemorySegment SCNi16()
+ {
+ class Holder {
+ static final MemorySegment SCNi16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.SCNi16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo16 "ho"
+ * }
+ */
+ public static MemorySegment SCNo16()
+ {
+ class Holder {
+ static final MemorySegment SCNo16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.SCNo16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu16 "hu"
+ * }
+ */
+ public static MemorySegment SCNu16()
+ {
+ class Holder {
+ static final MemorySegment SCNu16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.SCNu16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx16 "hx"
+ * }
+ */
+ public static MemorySegment SCNx16()
+ {
+ class Holder {
+ static final MemorySegment SCNx16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.SCNx16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd32 "d"
+ * }
+ */
+ public static MemorySegment SCNd32()
+ {
+ class Holder {
+ static final MemorySegment SCNd32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.SCNd32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi32 "i"
+ * }
+ */
+ public static MemorySegment SCNi32()
+ {
+ class Holder {
+ static final MemorySegment SCNi32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.SCNi32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo32 "o"
+ * }
+ */
+ public static MemorySegment SCNo32()
+ {
+ class Holder {
+ static final MemorySegment SCNo32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.SCNo32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu32 "u"
+ * }
+ */
+ public static MemorySegment SCNu32()
+ {
+ class Holder {
+ static final MemorySegment SCNu32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.SCNu32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx32 "x"
+ * }
+ */
+ public static MemorySegment SCNx32()
+ {
+ class Holder {
+ static final MemorySegment SCNx32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.SCNx32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd64 "lld"
+ * }
+ */
+ public static MemorySegment SCNd64()
+ {
+ class Holder {
+ static final MemorySegment SCNd64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.SCNd64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi64 "lli"
+ * }
+ */
+ public static MemorySegment SCNi64()
+ {
+ class Holder {
+ static final MemorySegment SCNi64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.SCNi64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo64 "llo"
+ * }
+ */
+ public static MemorySegment SCNo64()
+ {
+ class Holder {
+ static final MemorySegment SCNo64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.SCNo64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu64 "llu"
+ * }
+ */
+ public static MemorySegment SCNu64()
+ {
+ class Holder {
+ static final MemorySegment SCNu64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.SCNu64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx64 "llx"
+ * }
+ */
+ public static MemorySegment SCNx64()
+ {
+ class Holder {
+ static final MemorySegment SCNx64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.SCNx64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST8 "hhd"
+ * }
+ */
+ public static MemorySegment SCNdLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.SCNdLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST8 "hhi"
+ * }
+ */
+ public static MemorySegment SCNiLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.SCNiLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST8 "hho"
+ * }
+ */
+ public static MemorySegment SCNoLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.SCNoLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST8 "hhu"
+ * }
+ */
+ public static MemorySegment SCNuLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.SCNuLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST8 "hhx"
+ * }
+ */
+ public static MemorySegment SCNxLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.SCNxLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST16 "hd"
+ * }
+ */
+ public static MemorySegment SCNdLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.SCNdLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST16 "hi"
+ * }
+ */
+ public static MemorySegment SCNiLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.SCNiLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST16 "ho"
+ * }
+ */
+ public static MemorySegment SCNoLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.SCNoLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST16 "hu"
+ * }
+ */
+ public static MemorySegment SCNuLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.SCNuLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST16 "hx"
+ * }
+ */
+ public static MemorySegment SCNxLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.SCNxLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST32 "d"
+ * }
+ */
+ public static MemorySegment SCNdLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.SCNdLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST32 "i"
+ * }
+ */
+ public static MemorySegment SCNiLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.SCNiLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST32 "o"
+ * }
+ */
+ public static MemorySegment SCNoLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.SCNoLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST32 "u"
+ * }
+ */
+ public static MemorySegment SCNuLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.SCNuLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST32 "x"
+ * }
+ */
+ public static MemorySegment SCNxLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.SCNxLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST64 "lld"
+ * }
+ */
+ public static MemorySegment SCNdLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.SCNdLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST64 "lli"
+ * }
+ */
+ public static MemorySegment SCNiLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.SCNiLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST64 "llo"
+ * }
+ */
+ public static MemorySegment SCNoLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.SCNoLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST64 "llu"
+ * }
+ */
+ public static MemorySegment SCNuLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.SCNuLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST64 "llx"
+ * }
+ */
+ public static MemorySegment SCNxLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.SCNxLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST8 "hhd"
+ * }
+ */
+ public static MemorySegment SCNdFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.SCNdFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST8 "hhi"
+ * }
+ */
+ public static MemorySegment SCNiFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.SCNiFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST8 "hho"
+ * }
+ */
+ public static MemorySegment SCNoFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.SCNoFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST8 "hhu"
+ * }
+ */
+ public static MemorySegment SCNuFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.SCNuFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST8 "hhx"
+ * }
+ */
+ public static MemorySegment SCNxFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.SCNxFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST16 "hd"
+ * }
+ */
+ public static MemorySegment SCNdFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.SCNdFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST16 "hi"
+ * }
+ */
+ public static MemorySegment SCNiFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.SCNiFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST16 "ho"
+ * }
+ */
+ public static MemorySegment SCNoFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.SCNoFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST16 "hu"
+ * }
+ */
+ public static MemorySegment SCNuFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.SCNuFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST16 "hx"
+ * }
+ */
+ public static MemorySegment SCNxFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.SCNxFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST32 "d"
+ * }
+ */
+ public static MemorySegment SCNdFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.SCNdFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST32 "i"
+ * }
+ */
+ public static MemorySegment SCNiFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.SCNiFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST32 "o"
+ * }
+ */
+ public static MemorySegment SCNoFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.SCNoFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST32 "u"
+ * }
+ */
+ public static MemorySegment SCNuFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.SCNuFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST32 "x"
+ * }
+ */
+ public static MemorySegment SCNxFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.SCNxFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST64 "lld"
+ * }
+ */
+ public static MemorySegment SCNdFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.SCNdFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST64 "lli"
+ * }
+ */
+ public static MemorySegment SCNiFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.SCNiFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST64 "llo"
+ * }
+ */
+ public static MemorySegment SCNoFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.SCNoFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST64 "llu"
+ * }
+ */
+ public static MemorySegment SCNuFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.SCNuFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST64 "llx"
+ * }
+ */
+ public static MemorySegment SCNxFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.SCNxFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdPTR "ld"
+ * }
+ */
+ public static MemorySegment SCNdPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNdPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.SCNdPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiPTR "li"
+ * }
+ */
+ public static MemorySegment SCNiPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNiPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.SCNiPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoPTR "lo"
+ * }
+ */
+ public static MemorySegment SCNoPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNoPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.SCNoPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuPTR "lu"
+ * }
+ */
+ public static MemorySegment SCNuPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNuPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.SCNuPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxPTR "lx"
+ * }
+ */
+ public static MemorySegment SCNxPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNxPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.SCNxPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdMAX "jd"
+ * }
+ */
+ public static MemorySegment SCNdMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNdMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("jd");
+ }
+ return Holder.SCNdMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiMAX "ji"
+ * }
+ */
+ public static MemorySegment SCNiMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNiMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("ji");
+ }
+ return Holder.SCNiMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoMAX "jo"
+ * }
+ */
+ public static MemorySegment SCNoMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNoMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("jo");
+ }
+ return Holder.SCNoMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuMAX "ju"
+ * }
+ */
+ public static MemorySegment SCNuMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNuMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("ju");
+ }
+ return Holder.SCNuMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxMAX "jx"
+ * }
+ */
+ public static MemorySegment SCNxMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNxMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("jx");
+ }
+ return Holder.SCNxMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_SUF_64_BIT_INO_T "$INODE64"
+ * }
+ */
+ public static MemorySegment __DARWIN_SUF_64_BIT_INO_T()
+ {
+ class Holder {
+ static final MemorySegment __DARWIN_SUF_64_BIT_INO_T =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("$INODE64");
+ }
+ return Holder.__DARWIN_SUF_64_BIT_INO_T;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_SUF_1050 "$1050"
+ * }
+ */
+ public static MemorySegment __DARWIN_SUF_1050()
+ {
+ class Holder {
+ static final MemorySegment __DARWIN_SUF_1050 = hdf5_h.LIBRARY_ARENA.allocateFrom("$1050");
+ }
+ return Holder.__DARWIN_SUF_1050;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_SUF_EXTSN "$DARWIN_EXTSN"
+ * }
+ */
+ public static MemorySegment __DARWIN_SUF_EXTSN()
+ {
+ class Holder {
+ static final MemorySegment __DARWIN_SUF_EXTSN =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("$DARWIN_EXTSN");
+ }
+ return Holder.__DARWIN_SUF_EXTSN;
+ }
+ private static final long __DARWIN_C_ANSI = 4096L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_C_ANSI 4096
+ * }
+ */
+ public static long __DARWIN_C_ANSI() { return __DARWIN_C_ANSI; }
+ private static final long __DARWIN_C_FULL = 900000L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_C_FULL 900000
+ * }
+ */
+ public static long __DARWIN_C_FULL() { return __DARWIN_C_FULL; }
+ private static final long __DARWIN_C_LEVEL = 900000L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_C_LEVEL 900000
+ * }
+ */
+ public static long __DARWIN_C_LEVEL() { return __DARWIN_C_LEVEL; }
+ private static final int MAC_OS_X_VERSION_10_0 = (int)1000L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_0 1000
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_0() { return MAC_OS_X_VERSION_10_0; }
+ private static final int MAC_OS_X_VERSION_10_1 = (int)1010L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_1 1010
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_1() { return MAC_OS_X_VERSION_10_1; }
+ private static final int MAC_OS_X_VERSION_10_2 = (int)1020L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_2 1020
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_2() { return MAC_OS_X_VERSION_10_2; }
+ private static final int MAC_OS_X_VERSION_10_3 = (int)1030L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_3 1030
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_3() { return MAC_OS_X_VERSION_10_3; }
+ private static final int MAC_OS_X_VERSION_10_4 = (int)1040L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_4 1040
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_4() { return MAC_OS_X_VERSION_10_4; }
+ private static final int MAC_OS_X_VERSION_10_5 = (int)1050L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_5 1050
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_5() { return MAC_OS_X_VERSION_10_5; }
+ private static final int MAC_OS_X_VERSION_10_6 = (int)1060L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_6 1060
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_6() { return MAC_OS_X_VERSION_10_6; }
+ private static final int MAC_OS_X_VERSION_10_7 = (int)1070L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_7 1070
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_7() { return MAC_OS_X_VERSION_10_7; }
+ private static final int MAC_OS_X_VERSION_10_8 = (int)1080L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_8 1080
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_8() { return MAC_OS_X_VERSION_10_8; }
+ private static final int MAC_OS_X_VERSION_10_9 = (int)1090L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_9 1090
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_9() { return MAC_OS_X_VERSION_10_9; }
+ private static final int MAC_OS_X_VERSION_10_10 = (int)101000L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_10 101000
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_10() { return MAC_OS_X_VERSION_10_10; }
+ private static final int MAC_OS_X_VERSION_10_10_2 = (int)101002L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_10_2 101002
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_10_2() { return MAC_OS_X_VERSION_10_10_2; }
+ private static final int MAC_OS_X_VERSION_10_10_3 = (int)101003L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_10_3 101003
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_10_3() { return MAC_OS_X_VERSION_10_10_3; }
+ private static final int MAC_OS_X_VERSION_10_11 = (int)101100L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_11 101100
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_11() { return MAC_OS_X_VERSION_10_11; }
+ private static final int MAC_OS_X_VERSION_10_11_2 = (int)101102L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_11_2 101102
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_11_2() { return MAC_OS_X_VERSION_10_11_2; }
+ private static final int MAC_OS_X_VERSION_10_11_3 = (int)101103L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_11_3 101103
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_11_3() { return MAC_OS_X_VERSION_10_11_3; }
+ private static final int MAC_OS_X_VERSION_10_11_4 = (int)101104L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_11_4 101104
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_11_4() { return MAC_OS_X_VERSION_10_11_4; }
+ private static final int MAC_OS_X_VERSION_10_12 = (int)101200L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_12 101200
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_12() { return MAC_OS_X_VERSION_10_12; }
+ private static final int MAC_OS_X_VERSION_10_12_1 = (int)101201L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_12_1 101201
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_12_1() { return MAC_OS_X_VERSION_10_12_1; }
+ private static final int MAC_OS_X_VERSION_10_12_2 = (int)101202L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_12_2 101202
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_12_2() { return MAC_OS_X_VERSION_10_12_2; }
+ private static final int MAC_OS_X_VERSION_10_12_4 = (int)101204L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_12_4 101204
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_12_4() { return MAC_OS_X_VERSION_10_12_4; }
+ private static final int MAC_OS_X_VERSION_10_13 = (int)101300L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_13 101300
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_13() { return MAC_OS_X_VERSION_10_13; }
+ private static final int MAC_OS_X_VERSION_10_13_1 = (int)101301L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_13_1 101301
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_13_1() { return MAC_OS_X_VERSION_10_13_1; }
+ private static final int MAC_OS_X_VERSION_10_13_2 = (int)101302L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_13_2 101302
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_13_2() { return MAC_OS_X_VERSION_10_13_2; }
+ private static final int MAC_OS_X_VERSION_10_13_4 = (int)101304L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_13_4 101304
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_13_4() { return MAC_OS_X_VERSION_10_13_4; }
+ private static final int MAC_OS_X_VERSION_10_14 = (int)101400L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_14 101400
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_14() { return MAC_OS_X_VERSION_10_14; }
+ private static final int MAC_OS_X_VERSION_10_14_1 = (int)101401L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_14_1 101401
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_14_1() { return MAC_OS_X_VERSION_10_14_1; }
+ private static final int MAC_OS_X_VERSION_10_14_4 = (int)101404L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_14_4 101404
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_14_4() { return MAC_OS_X_VERSION_10_14_4; }
+ private static final int MAC_OS_X_VERSION_10_14_5 = (int)101405L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_14_5 101405
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_14_5() { return MAC_OS_X_VERSION_10_14_5; }
+ private static final int MAC_OS_X_VERSION_10_14_6 = (int)101406L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_14_6 101406
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_14_6() { return MAC_OS_X_VERSION_10_14_6; }
+ private static final int MAC_OS_X_VERSION_10_15 = (int)101500L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_15 101500
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_15() { return MAC_OS_X_VERSION_10_15; }
+ private static final int MAC_OS_X_VERSION_10_15_1 = (int)101501L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_15_1 101501
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_15_1() { return MAC_OS_X_VERSION_10_15_1; }
+ private static final int MAC_OS_X_VERSION_10_15_4 = (int)101504L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_15_4 101504
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_15_4() { return MAC_OS_X_VERSION_10_15_4; }
+ private static final int MAC_OS_X_VERSION_10_16 = (int)101600L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_16 101600
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_16() { return MAC_OS_X_VERSION_10_16; }
+ private static final int MAC_OS_VERSION_11_0 = (int)110000L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_11_0 110000
+ * }
+ */
+ public static int MAC_OS_VERSION_11_0() { return MAC_OS_VERSION_11_0; }
+ private static final int MAC_OS_VERSION_11_1 = (int)110100L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_11_1 110100
+ * }
+ */
+ public static int MAC_OS_VERSION_11_1() { return MAC_OS_VERSION_11_1; }
+ private static final int MAC_OS_VERSION_11_3 = (int)110300L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_11_3 110300
+ * }
+ */
+ public static int MAC_OS_VERSION_11_3() { return MAC_OS_VERSION_11_3; }
+ private static final int MAC_OS_VERSION_11_4 = (int)110400L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_11_4 110400
+ * }
+ */
+ public static int MAC_OS_VERSION_11_4() { return MAC_OS_VERSION_11_4; }
+ private static final int MAC_OS_VERSION_11_5 = (int)110500L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_11_5 110500
+ * }
+ */
+ public static int MAC_OS_VERSION_11_5() { return MAC_OS_VERSION_11_5; }
+ private static final int MAC_OS_VERSION_11_6 = (int)110600L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_11_6 110600
+ * }
+ */
+ public static int MAC_OS_VERSION_11_6() { return MAC_OS_VERSION_11_6; }
+ private static final int MAC_OS_VERSION_12_0 = (int)120000L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_12_0 120000
+ * }
+ */
+ public static int MAC_OS_VERSION_12_0() { return MAC_OS_VERSION_12_0; }
+ private static final int MAC_OS_VERSION_12_1 = (int)120100L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_12_1 120100
+ * }
+ */
+ public static int MAC_OS_VERSION_12_1() { return MAC_OS_VERSION_12_1; }
+ private static final int MAC_OS_VERSION_12_2 = (int)120200L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_12_2 120200
+ * }
+ */
+ public static int MAC_OS_VERSION_12_2() { return MAC_OS_VERSION_12_2; }
+ private static final int MAC_OS_VERSION_12_3 = (int)120300L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_12_3 120300
+ * }
+ */
+ public static int MAC_OS_VERSION_12_3() { return MAC_OS_VERSION_12_3; }
+ private static final int MAC_OS_VERSION_12_4 = (int)120400L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_12_4 120400
+ * }
+ */
+ public static int MAC_OS_VERSION_12_4() { return MAC_OS_VERSION_12_4; }
+ private static final int MAC_OS_VERSION_12_5 = (int)120500L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_12_5 120500
+ * }
+ */
+ public static int MAC_OS_VERSION_12_5() { return MAC_OS_VERSION_12_5; }
+ private static final int MAC_OS_VERSION_12_6 = (int)120600L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_12_6 120600
+ * }
+ */
+ public static int MAC_OS_VERSION_12_6() { return MAC_OS_VERSION_12_6; }
+ private static final int MAC_OS_VERSION_12_7 = (int)120700L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_12_7 120700
+ * }
+ */
+ public static int MAC_OS_VERSION_12_7() { return MAC_OS_VERSION_12_7; }
+ private static final int MAC_OS_VERSION_13_0 = (int)130000L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_13_0 130000
+ * }
+ */
+ public static int MAC_OS_VERSION_13_0() { return MAC_OS_VERSION_13_0; }
+ private static final int MAC_OS_VERSION_13_1 = (int)130100L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_13_1 130100
+ * }
+ */
+ public static int MAC_OS_VERSION_13_1() { return MAC_OS_VERSION_13_1; }
+ private static final int MAC_OS_VERSION_13_2 = (int)130200L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_13_2 130200
+ * }
+ */
+ public static int MAC_OS_VERSION_13_2() { return MAC_OS_VERSION_13_2; }
+ private static final int MAC_OS_VERSION_13_3 = (int)130300L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_13_3 130300
+ * }
+ */
+ public static int MAC_OS_VERSION_13_3() { return MAC_OS_VERSION_13_3; }
+ private static final int MAC_OS_VERSION_13_4 = (int)130400L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_13_4 130400
+ * }
+ */
+ public static int MAC_OS_VERSION_13_4() { return MAC_OS_VERSION_13_4; }
+ private static final int MAC_OS_VERSION_13_5 = (int)130500L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_13_5 130500
+ * }
+ */
+ public static int MAC_OS_VERSION_13_5() { return MAC_OS_VERSION_13_5; }
+ private static final int MAC_OS_VERSION_13_6 = (int)130600L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_13_6 130600
+ * }
+ */
+ public static int MAC_OS_VERSION_13_6() { return MAC_OS_VERSION_13_6; }
+ private static final int MAC_OS_VERSION_13_7 = (int)130700L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_13_7 130700
+ * }
+ */
+ public static int MAC_OS_VERSION_13_7() { return MAC_OS_VERSION_13_7; }
+ private static final int MAC_OS_VERSION_14_0 = (int)140000L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_14_0 140000
+ * }
+ */
+ public static int MAC_OS_VERSION_14_0() { return MAC_OS_VERSION_14_0; }
+ private static final int MAC_OS_VERSION_14_1 = (int)140100L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_14_1 140100
+ * }
+ */
+ public static int MAC_OS_VERSION_14_1() { return MAC_OS_VERSION_14_1; }
+ private static final int MAC_OS_VERSION_14_2 = (int)140200L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_14_2 140200
+ * }
+ */
+ public static int MAC_OS_VERSION_14_2() { return MAC_OS_VERSION_14_2; }
+}
diff --git a/java/jsrc/features/plain/macos/hdf5_h_2.java b/java/jsrc/features/plain/macos/hdf5_h_2.java
new file mode 100644
index 00000000000..5320fe9c04c
--- /dev/null
+++ b/java/jsrc/features/plain/macos/hdf5_h_2.java
@@ -0,0 +1,38849 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h_2 extends hdf5_h_3 {
+
+ hdf5_h_2()
+ {
+ // Should not be called directly
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char u_char
+ * }
+ */
+ public static final OfByte u_char = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short u_short
+ * }
+ */
+ public static final OfShort u_short = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int u_int
+ * }
+ */
+ public static final OfInt u_int = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long u_long
+ * }
+ */
+ public static final OfLong u_long = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short ushort
+ * }
+ */
+ public static final OfShort ushort = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int uint
+ * }
+ */
+ public static final OfInt uint = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef u_int64_t u_quad_t
+ * }
+ */
+ public static final OfLong u_quad_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t quad_t
+ * }
+ */
+ public static final OfLong quad_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef quad_t *qaddr_t
+ * }
+ */
+ public static final AddressLayout qaddr_t = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef char *caddr_t
+ * }
+ */
+ public static final AddressLayout caddr_t = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef int32_t daddr_t
+ * }
+ */
+ public static final OfInt daddr_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_dev_t dev_t
+ * }
+ */
+ public static final OfInt dev_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef u_int32_t fixpt_t
+ * }
+ */
+ public static final OfInt fixpt_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_blkcnt_t blkcnt_t
+ * }
+ */
+ public static final OfLong blkcnt_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_blksize_t blksize_t
+ * }
+ */
+ public static final OfInt blksize_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_gid_t gid_t
+ * }
+ */
+ public static final OfInt gid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t in_addr_t
+ * }
+ */
+ public static final OfInt in_addr_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint16_t in_port_t
+ * }
+ */
+ public static final OfShort in_port_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_ino_t ino_t
+ * }
+ */
+ public static final OfLong ino_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_ino64_t ino64_t
+ * }
+ */
+ public static final OfLong ino64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __int32_t key_t
+ * }
+ */
+ public static final OfInt key_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_mode_t mode_t
+ * }
+ */
+ public static final OfShort mode_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint16_t nlink_t
+ * }
+ */
+ public static final OfShort nlink_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_id_t id_t
+ * }
+ */
+ public static final OfInt id_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_pid_t pid_t
+ * }
+ */
+ public static final OfInt pid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_off_t off_t
+ * }
+ */
+ public static final OfLong off_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int32_t segsz_t
+ * }
+ */
+ public static final OfInt segsz_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int32_t swblk_t
+ * }
+ */
+ public static final OfInt swblk_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_uid_t uid_t
+ * }
+ */
+ public static final OfInt uid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_clock_t clock_t
+ * }
+ */
+ public static final OfLong clock_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_ssize_t ssize_t
+ * }
+ */
+ public static final OfLong ssize_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_time_t time_t
+ * }
+ */
+ public static final OfLong time_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_useconds_t useconds_t
+ * }
+ */
+ public static final OfInt useconds_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_suseconds_t suseconds_t
+ * }
+ */
+ public static final OfInt suseconds_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int errno_t
+ * }
+ */
+ public static final OfInt errno_t = hdf5_h.C_INT;
+
+ private static class __darwin_check_fd_set_overflow {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__darwin_check_fd_set_overflow");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __darwin_check_fd_set_overflow(int, const void *, int)
+ * }
+ */
+ public static FunctionDescriptor __darwin_check_fd_set_overflow$descriptor()
+ {
+ return __darwin_check_fd_set_overflow.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __darwin_check_fd_set_overflow(int, const void *, int)
+ * }
+ */
+ public static MethodHandle __darwin_check_fd_set_overflow$handle()
+ {
+ return __darwin_check_fd_set_overflow.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __darwin_check_fd_set_overflow(int, const void *, int)
+ * }
+ */
+ public static MemorySegment __darwin_check_fd_set_overflow$address()
+ {
+ return __darwin_check_fd_set_overflow.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int __darwin_check_fd_set_overflow(int, const void *, int)
+ * }
+ */
+ public static int __darwin_check_fd_set_overflow(int x0, MemorySegment x1, int x2)
+ {
+ var mh$ = __darwin_check_fd_set_overflow.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__darwin_check_fd_set_overflow", x0, x1, x2);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef __int32_t fd_mask
+ * }
+ */
+ public static final OfInt fd_mask = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_pthread_t pthread_t
+ * }
+ */
+ public static final AddressLayout pthread_t = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_pthread_key_t pthread_key_t
+ * }
+ */
+ public static final OfLong pthread_key_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_fsblkcnt_t fsblkcnt_t
+ * }
+ */
+ public static final OfInt fsblkcnt_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_fsfilcnt_t fsfilcnt_t
+ * }
+ */
+ public static final OfInt fsfilcnt_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int herr_t
+ * }
+ */
+ public static final OfInt herr_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef bool hbool_t
+ * }
+ */
+ public static final OfBoolean hbool_t = hdf5_h.C_BOOL;
+ /**
+ * {@snippet lang=c :
+ * typedef int htri_t
+ * }
+ */
+ public static final OfInt htri_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef uint64_t hsize_t
+ * }
+ */
+ public static final OfLong hsize_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef off_t HDoff_t
+ * }
+ */
+ public static final OfLong HDoff_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t hssize_t
+ * }
+ */
+ public static final OfLong hssize_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef uint64_t haddr_t
+ * }
+ */
+ public static final OfLong haddr_t = hdf5_h.C_LONG_LONG;
+ private static final int H5_ITER_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_UNKNOWN = -1
+ * }
+ */
+ public static int H5_ITER_UNKNOWN() { return H5_ITER_UNKNOWN; }
+ private static final int H5_ITER_INC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_INC = 0
+ * }
+ */
+ public static int H5_ITER_INC() { return H5_ITER_INC; }
+ private static final int H5_ITER_DEC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_DEC = 1
+ * }
+ */
+ public static int H5_ITER_DEC() { return H5_ITER_DEC; }
+ private static final int H5_ITER_NATIVE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_NATIVE = 2
+ * }
+ */
+ public static int H5_ITER_NATIVE() { return H5_ITER_NATIVE; }
+ private static final int H5_ITER_N = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_N = 3
+ * }
+ */
+ public static int H5_ITER_N() { return H5_ITER_N; }
+ private static final int H5_INDEX_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_UNKNOWN = -1
+ * }
+ */
+ public static int H5_INDEX_UNKNOWN() { return H5_INDEX_UNKNOWN; }
+ private static final int H5_INDEX_NAME = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_NAME = 0
+ * }
+ */
+ public static int H5_INDEX_NAME() { return H5_INDEX_NAME; }
+ private static final int H5_INDEX_CRT_ORDER = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_CRT_ORDER = 1
+ * }
+ */
+ public static int H5_INDEX_CRT_ORDER() { return H5_INDEX_CRT_ORDER; }
+ private static final int H5_INDEX_N = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_N = 2
+ * }
+ */
+ public static int H5_INDEX_N() { return H5_INDEX_N; }
+
+ private static class H5_libinit_g$constants {
+ public static final OfBoolean LAYOUT = hdf5_h.C_BOOL;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5_libinit_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static OfBoolean H5_libinit_g$layout() { return H5_libinit_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static MemorySegment H5_libinit_g$segment() { return H5_libinit_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static boolean H5_libinit_g()
+ {
+ return H5_libinit_g$constants.SEGMENT.get(H5_libinit_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static void H5_libinit_g(boolean varValue)
+ {
+ H5_libinit_g$constants.SEGMENT.set(H5_libinit_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5_libterm_g$constants {
+ public static final OfBoolean LAYOUT = hdf5_h.C_BOOL;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5_libterm_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static OfBoolean H5_libterm_g$layout() { return H5_libterm_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static MemorySegment H5_libterm_g$segment() { return H5_libterm_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static boolean H5_libterm_g()
+ {
+ return H5_libterm_g$constants.SEGMENT.get(H5_libterm_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static void H5_libterm_g(boolean varValue)
+ {
+ H5_libterm_g$constants.SEGMENT.set(H5_libterm_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5open {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static FunctionDescriptor H5open$descriptor() { return H5open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static MethodHandle H5open$handle() { return H5open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static MemorySegment H5open$address() { return H5open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static int H5open()
+ {
+ var mh$ = H5open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5open");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5atclose {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5atclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5atclose$descriptor() { return H5atclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static MethodHandle H5atclose$handle() { return H5atclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static MemorySegment H5atclose$address() { return H5atclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static int H5atclose(MemorySegment func, MemorySegment ctx)
+ {
+ var mh$ = H5atclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5atclose", func, ctx);
+ }
+ return (int)mh$.invokeExact(func, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static FunctionDescriptor H5close$descriptor() { return H5close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static MethodHandle H5close$handle() { return H5close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static MemorySegment H5close$address() { return H5close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static int H5close()
+ {
+ var mh$ = H5close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5close");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5dont_atexit {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5dont_atexit");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static FunctionDescriptor H5dont_atexit$descriptor() { return H5dont_atexit.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static MethodHandle H5dont_atexit$handle() { return H5dont_atexit.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static MemorySegment H5dont_atexit$address() { return H5dont_atexit.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static int H5dont_atexit()
+ {
+ var mh$ = H5dont_atexit.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5dont_atexit");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5garbage_collect {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5garbage_collect");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static FunctionDescriptor H5garbage_collect$descriptor() { return H5garbage_collect.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static MethodHandle H5garbage_collect$handle() { return H5garbage_collect.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static MemorySegment H5garbage_collect$address() { return H5garbage_collect.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static int H5garbage_collect()
+ {
+ var mh$ = H5garbage_collect.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5garbage_collect");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5set_free_list_limits {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5set_free_list_limits");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int
+ * arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static FunctionDescriptor H5set_free_list_limits$descriptor()
+ {
+ return H5set_free_list_limits.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int
+ * arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static MethodHandle H5set_free_list_limits$handle() { return H5set_free_list_limits.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int
+ * arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static MemorySegment H5set_free_list_limits$address() { return H5set_free_list_limits.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int
+ * arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static int H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim,
+ int arr_list_lim, int blk_global_lim, int blk_list_lim)
+ {
+ var mh$ = H5set_free_list_limits.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5set_free_list_limits", reg_global_lim, reg_list_lim, arr_global_lim,
+ arr_list_lim, blk_global_lim, blk_list_lim);
+ }
+ return (int)mh$.invokeExact(reg_global_lim, reg_list_lim, arr_global_lim, arr_list_lim,
+ blk_global_lim, blk_list_lim);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5get_free_list_sizes {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5get_free_list_sizes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static FunctionDescriptor H5get_free_list_sizes$descriptor() { return H5get_free_list_sizes.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static MethodHandle H5get_free_list_sizes$handle() { return H5get_free_list_sizes.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static MemorySegment H5get_free_list_sizes$address() { return H5get_free_list_sizes.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static int H5get_free_list_sizes(MemorySegment reg_size, MemorySegment arr_size,
+ MemorySegment blk_size, MemorySegment fac_size)
+ {
+ var mh$ = H5get_free_list_sizes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5get_free_list_sizes", reg_size, arr_size, blk_size, fac_size);
+ }
+ return (int)mh$.invokeExact(reg_size, arr_size, blk_size, fac_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5get_libversion {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5get_libversion");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static FunctionDescriptor H5get_libversion$descriptor() { return H5get_libversion.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static MethodHandle H5get_libversion$handle() { return H5get_libversion.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static MemorySegment H5get_libversion$address() { return H5get_libversion.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static int H5get_libversion(MemorySegment majnum, MemorySegment minnum, MemorySegment relnum)
+ {
+ var mh$ = H5get_libversion.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5get_libversion", majnum, minnum, relnum);
+ }
+ return (int)mh$.invokeExact(majnum, minnum, relnum);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5check_version {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5check_version");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static FunctionDescriptor H5check_version$descriptor() { return H5check_version.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static MethodHandle H5check_version$handle() { return H5check_version.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static MemorySegment H5check_version$address() { return H5check_version.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static int H5check_version(int majnum, int minnum, int relnum)
+ {
+ var mh$ = H5check_version.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5check_version", majnum, minnum, relnum);
+ }
+ return (int)mh$.invokeExact(majnum, minnum, relnum);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5is_library_terminating {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5is_library_terminating");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static FunctionDescriptor H5is_library_terminating$descriptor()
+ {
+ return H5is_library_terminating.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static MethodHandle H5is_library_terminating$handle() { return H5is_library_terminating.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static MemorySegment H5is_library_terminating$address() { return H5is_library_terminating.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static int H5is_library_terminating(MemorySegment is_terminating)
+ {
+ var mh$ = H5is_library_terminating.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5is_library_terminating", is_terminating);
+ }
+ return (int)mh$.invokeExact(is_terminating);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5is_library_threadsafe {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5is_library_threadsafe");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static FunctionDescriptor H5is_library_threadsafe$descriptor()
+ {
+ return H5is_library_threadsafe.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static MethodHandle H5is_library_threadsafe$handle() { return H5is_library_threadsafe.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static MemorySegment H5is_library_threadsafe$address() { return H5is_library_threadsafe.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static int H5is_library_threadsafe(MemorySegment is_ts)
+ {
+ var mh$ = H5is_library_threadsafe.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5is_library_threadsafe", is_ts);
+ }
+ return (int)mh$.invokeExact(is_ts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5free_memory {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5free_memory");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static FunctionDescriptor H5free_memory$descriptor() { return H5free_memory.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static MethodHandle H5free_memory$handle() { return H5free_memory.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static MemorySegment H5free_memory$address() { return H5free_memory.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static int H5free_memory(MemorySegment mem)
+ {
+ var mh$ = H5free_memory.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5free_memory", mem);
+ }
+ return (int)mh$.invokeExact(mem);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5allocate_memory {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5allocate_memory");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static FunctionDescriptor H5allocate_memory$descriptor() { return H5allocate_memory.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static MethodHandle H5allocate_memory$handle() { return H5allocate_memory.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static MemorySegment H5allocate_memory$address() { return H5allocate_memory.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static MemorySegment H5allocate_memory(long size, boolean clear)
+ {
+ var mh$ = H5allocate_memory.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5allocate_memory", size, clear);
+ }
+ return (MemorySegment)mh$.invokeExact(size, clear);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5resize_memory {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5resize_memory");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5resize_memory$descriptor() { return H5resize_memory.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static MethodHandle H5resize_memory$handle() { return H5resize_memory.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static MemorySegment H5resize_memory$address() { return H5resize_memory.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static MemorySegment H5resize_memory(MemorySegment mem, long size)
+ {
+ var mh$ = H5resize_memory.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5resize_memory", mem, size);
+ }
+ return (MemorySegment)mh$.invokeExact(mem, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5I_UNINIT = (int)-2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_UNINIT = -2
+ * }
+ */
+ public static int H5I_UNINIT() { return H5I_UNINIT; }
+ private static final int H5I_BADID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_BADID = -1
+ * }
+ */
+ public static int H5I_BADID() { return H5I_BADID; }
+ private static final int H5I_FILE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_FILE = 1
+ * }
+ */
+ public static int H5I_FILE() { return H5I_FILE; }
+ private static final int H5I_GROUP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_GROUP = 2
+ * }
+ */
+ public static int H5I_GROUP() { return H5I_GROUP; }
+ private static final int H5I_DATATYPE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_DATATYPE = 3
+ * }
+ */
+ public static int H5I_DATATYPE() { return H5I_DATATYPE; }
+ private static final int H5I_DATASPACE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_DATASPACE = 4
+ * }
+ */
+ public static int H5I_DATASPACE() { return H5I_DATASPACE; }
+ private static final int H5I_DATASET = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_DATASET = 5
+ * }
+ */
+ public static int H5I_DATASET() { return H5I_DATASET; }
+ private static final int H5I_MAP = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_MAP = 6
+ * }
+ */
+ public static int H5I_MAP() { return H5I_MAP; }
+ private static final int H5I_ATTR = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ATTR = 7
+ * }
+ */
+ public static int H5I_ATTR() { return H5I_ATTR; }
+ private static final int H5I_VFL = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_VFL = 8
+ * }
+ */
+ public static int H5I_VFL() { return H5I_VFL; }
+ private static final int H5I_VOL = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_VOL = 9
+ * }
+ */
+ public static int H5I_VOL() { return H5I_VOL; }
+ private static final int H5I_GENPROP_CLS = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_GENPROP_CLS = 10
+ * }
+ */
+ public static int H5I_GENPROP_CLS() { return H5I_GENPROP_CLS; }
+ private static final int H5I_GENPROP_LST = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_GENPROP_LST = 11
+ * }
+ */
+ public static int H5I_GENPROP_LST() { return H5I_GENPROP_LST; }
+ private static final int H5I_ERROR_CLASS = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ERROR_CLASS = 12
+ * }
+ */
+ public static int H5I_ERROR_CLASS() { return H5I_ERROR_CLASS; }
+ private static final int H5I_ERROR_MSG = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ERROR_MSG = 13
+ * }
+ */
+ public static int H5I_ERROR_MSG() { return H5I_ERROR_MSG; }
+ private static final int H5I_ERROR_STACK = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ERROR_STACK = 14
+ * }
+ */
+ public static int H5I_ERROR_STACK() { return H5I_ERROR_STACK; }
+ private static final int H5I_SPACE_SEL_ITER = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_SPACE_SEL_ITER = 15
+ * }
+ */
+ public static int H5I_SPACE_SEL_ITER() { return H5I_SPACE_SEL_ITER; }
+ private static final int H5I_EVENTSET = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_EVENTSET = 16
+ * }
+ */
+ public static int H5I_EVENTSET() { return H5I_EVENTSET; }
+ private static final int H5I_NTYPES = (int)17L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_NTYPES = 17
+ * }
+ */
+ public static int H5I_NTYPES() { return H5I_NTYPES; }
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t hid_t
+ * }
+ */
+ public static final OfLong hid_t = hdf5_h.C_LONG_LONG;
+
+ private static class H5Iregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister$descriptor() { return H5Iregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static MethodHandle H5Iregister$handle() { return H5Iregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static MemorySegment H5Iregister$address() { return H5Iregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static long H5Iregister(int type, MemorySegment object)
+ {
+ var mh$ = H5Iregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister", type, object);
+ }
+ return (long)mh$.invokeExact(type, object);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iobject_verify {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iobject_verify");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iobject_verify$descriptor() { return H5Iobject_verify.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iobject_verify$handle() { return H5Iobject_verify.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iobject_verify$address() { return H5Iobject_verify.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iobject_verify(long id, int type)
+ {
+ var mh$ = H5Iobject_verify.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iobject_verify", id, type);
+ }
+ return (MemorySegment)mh$.invokeExact(id, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iremove_verify {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iremove_verify");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iremove_verify$descriptor() { return H5Iremove_verify.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iremove_verify$handle() { return H5Iremove_verify.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iremove_verify$address() { return H5Iremove_verify.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iremove_verify(long id, int type)
+ {
+ var mh$ = H5Iremove_verify.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iremove_verify", id, type);
+ }
+ return (MemorySegment)mh$.invokeExact(id, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_type$descriptor() { return H5Iget_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iget_type$handle() { return H5Iget_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iget_type$address() { return H5Iget_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static int H5Iget_type(long id)
+ {
+ var mh$ = H5Iget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_type", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_file_id {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_file_id");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_file_id$descriptor() { return H5Iget_file_id.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iget_file_id$handle() { return H5Iget_file_id.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iget_file_id$address() { return H5Iget_file_id.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static long H5Iget_file_id(long id)
+ {
+ var mh$ = H5Iget_file_id.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_file_id", id);
+ }
+ return (long)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_name$descriptor() { return H5Iget_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Iget_name$handle() { return H5Iget_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Iget_name$address() { return H5Iget_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static long H5Iget_name(long id, MemorySegment name, long size)
+ {
+ var mh$ = H5Iget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_name", id, name, size);
+ }
+ return (long)mh$.invokeExact(id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iinc_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iinc_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iinc_ref$descriptor() { return H5Iinc_ref.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iinc_ref$handle() { return H5Iinc_ref.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iinc_ref$address() { return H5Iinc_ref.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static int H5Iinc_ref(long id)
+ {
+ var mh$ = H5Iinc_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iinc_ref", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Idec_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Idec_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Idec_ref$descriptor() { return H5Idec_ref.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Idec_ref$handle() { return H5Idec_ref.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Idec_ref$address() { return H5Idec_ref.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static int H5Idec_ref(long id)
+ {
+ var mh$ = H5Idec_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Idec_ref", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_ref$descriptor() { return H5Iget_ref.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iget_ref$handle() { return H5Iget_ref.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iget_ref$address() { return H5Iget_ref.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static int H5Iget_ref(long id)
+ {
+ var mh$ = H5Iget_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_ref", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iregister_type2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister_type2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister_type2$descriptor() { return H5Iregister_type2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MethodHandle H5Iregister_type2$handle() { return H5Iregister_type2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MemorySegment H5Iregister_type2$address() { return H5Iregister_type2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static int H5Iregister_type2(int reserved, MemorySegment free_func)
+ {
+ var mh$ = H5Iregister_type2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister_type2", reserved, free_func);
+ }
+ return (int)mh$.invokeExact(reserved, free_func);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iclear_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iclear_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static FunctionDescriptor H5Iclear_type$descriptor() { return H5Iclear_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static MethodHandle H5Iclear_type$handle() { return H5Iclear_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static MemorySegment H5Iclear_type$address() { return H5Iclear_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static int H5Iclear_type(int type, boolean force)
+ {
+ var mh$ = H5Iclear_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iclear_type", type, force);
+ }
+ return (int)mh$.invokeExact(type, force);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Idestroy_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Idestroy_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Idestroy_type$descriptor() { return H5Idestroy_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Idestroy_type$handle() { return H5Idestroy_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Idestroy_type$address() { return H5Idestroy_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static int H5Idestroy_type(int type)
+ {
+ var mh$ = H5Idestroy_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Idestroy_type", type);
+ }
+ return (int)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iinc_type_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iinc_type_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iinc_type_ref$descriptor() { return H5Iinc_type_ref.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iinc_type_ref$handle() { return H5Iinc_type_ref.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iinc_type_ref$address() { return H5Iinc_type_ref.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static int H5Iinc_type_ref(int type)
+ {
+ var mh$ = H5Iinc_type_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iinc_type_ref", type);
+ }
+ return (int)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Idec_type_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Idec_type_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Idec_type_ref$descriptor() { return H5Idec_type_ref.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Idec_type_ref$handle() { return H5Idec_type_ref.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Idec_type_ref$address() { return H5Idec_type_ref.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static int H5Idec_type_ref(int type)
+ {
+ var mh$ = H5Idec_type_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Idec_type_ref", type);
+ }
+ return (int)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_type_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_type_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_type_ref$descriptor() { return H5Iget_type_ref.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iget_type_ref$handle() { return H5Iget_type_ref.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iget_type_ref$address() { return H5Iget_type_ref.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static int H5Iget_type_ref(int type)
+ {
+ var mh$ = H5Iget_type_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_type_ref", type);
+ }
+ return (int)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Isearch {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Isearch");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static FunctionDescriptor H5Isearch$descriptor() { return H5Isearch.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static MethodHandle H5Isearch$handle() { return H5Isearch.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static MemorySegment H5Isearch$address() { return H5Isearch.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static MemorySegment H5Isearch(int type, MemorySegment func, MemorySegment key)
+ {
+ var mh$ = H5Isearch.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Isearch", type, func, key);
+ }
+ return (MemorySegment)mh$.invokeExact(type, func, key);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iiterate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iiterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Iiterate$descriptor() { return H5Iiterate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Iiterate$handle() { return H5Iiterate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Iiterate$address() { return H5Iiterate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static int H5Iiterate(int type, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Iiterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iiterate", type, op, op_data);
+ }
+ return (int)mh$.invokeExact(type, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Inmembers {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Inmembers");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static FunctionDescriptor H5Inmembers$descriptor() { return H5Inmembers.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static MethodHandle H5Inmembers$handle() { return H5Inmembers.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static MemorySegment H5Inmembers$address() { return H5Inmembers.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static int H5Inmembers(int type, MemorySegment num_members)
+ {
+ var mh$ = H5Inmembers.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Inmembers", type, num_members);
+ }
+ return (int)mh$.invokeExact(type, num_members);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Itype_exists {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Itype_exists");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Itype_exists$descriptor() { return H5Itype_exists.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Itype_exists$handle() { return H5Itype_exists.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Itype_exists$address() { return H5Itype_exists.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static int H5Itype_exists(int type)
+ {
+ var mh$ = H5Itype_exists.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Itype_exists", type);
+ }
+ return (int)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iis_valid {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iis_valid");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iis_valid$descriptor() { return H5Iis_valid.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iis_valid$handle() { return H5Iis_valid.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iis_valid$address() { return H5Iis_valid.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static int H5Iis_valid(long id)
+ {
+ var mh$ = H5Iis_valid.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iis_valid", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iregister_type1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister_type1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister_type1$descriptor() { return H5Iregister_type1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MethodHandle H5Iregister_type1$handle() { return H5Iregister_type1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MemorySegment H5Iregister_type1$address() { return H5Iregister_type1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static int H5Iregister_type1(long hash_size, int reserved, MemorySegment free_func)
+ {
+ var mh$ = H5Iregister_type1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister_type1", hash_size, reserved, free_func);
+ }
+ return (int)mh$.invokeExact(hash_size, reserved, free_func);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5O_TYPE_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_UNKNOWN = -1
+ * }
+ */
+ public static int H5O_TYPE_UNKNOWN() { return H5O_TYPE_UNKNOWN; }
+ private static final int H5O_TYPE_GROUP = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_GROUP = 0
+ * }
+ */
+ public static int H5O_TYPE_GROUP() { return H5O_TYPE_GROUP; }
+ private static final int H5O_TYPE_DATASET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_DATASET = 1
+ * }
+ */
+ public static int H5O_TYPE_DATASET() { return H5O_TYPE_DATASET; }
+ private static final int H5O_TYPE_NAMED_DATATYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_NAMED_DATATYPE = 2
+ * }
+ */
+ public static int H5O_TYPE_NAMED_DATATYPE() { return H5O_TYPE_NAMED_DATATYPE; }
+ private static final int H5O_TYPE_MAP = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_MAP = 3
+ * }
+ */
+ public static int H5O_TYPE_MAP() { return H5O_TYPE_MAP; }
+ private static final int H5O_TYPE_NTYPES = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_NTYPES = 4
+ * }
+ */
+ public static int H5O_TYPE_NTYPES() { return H5O_TYPE_NTYPES; }
+ /**
+ * {@snippet lang=c :
+ * typedef uint32_t H5O_msg_crt_idx_t
+ * }
+ */
+ public static final OfInt H5O_msg_crt_idx_t = hdf5_h.C_INT;
+ private static final int H5O_MCDT_SEARCH_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_mcdt_search_ret_t.H5O_MCDT_SEARCH_ERROR = -1
+ * }
+ */
+ public static int H5O_MCDT_SEARCH_ERROR() { return H5O_MCDT_SEARCH_ERROR; }
+ private static final int H5O_MCDT_SEARCH_CONT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_mcdt_search_ret_t.H5O_MCDT_SEARCH_CONT = 0
+ * }
+ */
+ public static int H5O_MCDT_SEARCH_CONT() { return H5O_MCDT_SEARCH_CONT; }
+ private static final int H5O_MCDT_SEARCH_STOP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_mcdt_search_ret_t.H5O_MCDT_SEARCH_STOP = 1
+ * }
+ */
+ public static int H5O_MCDT_SEARCH_STOP() { return H5O_MCDT_SEARCH_STOP; }
+
+ private static class H5Oopen {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen$descriptor() { return H5Oopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oopen$handle() { return H5Oopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oopen$address() { return H5Oopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static long H5Oopen(long loc_id, MemorySegment name, long lapl_id)
+ {
+ var mh$ = H5Oopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen", loc_id, name, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_async$descriptor() { return H5Oopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oopen_async$handle() { return H5Oopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oopen_async$address() { return H5Oopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Oopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lapl_id, long es_id)
+ {
+ var mh$ = H5Oopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_async", app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_by_token {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, H5O_token_t.layout());
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_token");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_token$descriptor() { return H5Oopen_by_token.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_token$handle() { return H5Oopen_by_token.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_token$address() { return H5Oopen_by_token.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static long H5Oopen_by_token(long loc_id, MemorySegment token)
+ {
+ var mh$ = H5Oopen_by_token.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_token", loc_id, token);
+ }
+ return (long)mh$.invokeExact(loc_id, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_idx$descriptor() { return H5Oopen_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_idx$handle() { return H5Oopen_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_idx$address() { return H5Oopen_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static long H5Oopen_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order, long n,
+ long lapl_id)
+ {
+ var mh$ = H5Oopen_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_idx", loc_id, group_name, idx_type, order, n, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, group_name, idx_type, order, n, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_by_idx_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_idx_async$descriptor() { return H5Oopen_by_idx_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_idx_async$handle() { return H5Oopen_by_idx_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_idx_async$address() { return H5Oopen_by_idx_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static long H5Oopen_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, long lapl_id, long es_id)
+ {
+ var mh$ = H5Oopen_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_idx_async", app_file, app_func, app_line, loc_id, group_name,
+ idx_type, order, n, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, group_name, idx_type, order, n,
+ lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oexists_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oexists_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oexists_by_name$descriptor() { return H5Oexists_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oexists_by_name$handle() { return H5Oexists_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oexists_by_name$address() { return H5Oexists_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oexists_by_name(long loc_id, MemorySegment name, long lapl_id)
+ {
+ var mh$ = H5Oexists_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oexists_by_name", loc_id, name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info3 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info3$descriptor() { return H5Oget_info3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Oget_info3$handle() { return H5Oget_info3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Oget_info3$address() { return H5Oget_info3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static int H5Oget_info3(long loc_id, MemorySegment oinfo, int fields)
+ {
+ var mh$ = H5Oget_info3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info3", loc_id, oinfo, fields);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo, fields);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name3 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name3$descriptor() { return H5Oget_info_by_name3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name3$handle() { return H5Oget_info_by_name3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name3$address() { return H5Oget_info_by_name3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_name3(long loc_id, MemorySegment name, MemorySegment oinfo, int fields,
+ long lapl_id)
+ {
+ var mh$ = H5Oget_info_by_name3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name3", loc_id, name, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, fields, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name_async$descriptor()
+ {
+ return H5Oget_info_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name_async$handle() { return H5Oget_info_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name_async$address() { return H5Oget_info_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Oget_info_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, MemorySegment oinfo,
+ int fields, long lapl_id, long es_id)
+ {
+ var mh$ = H5Oget_info_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name_async", app_file, app_func, app_line, loc_id, name, oinfo,
+ fields, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, oinfo, fields, lapl_id,
+ es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_idx3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_idx3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_idx3$descriptor() { return H5Oget_info_by_idx3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_idx3$handle() { return H5Oget_info_by_idx3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_idx3$address() { return H5Oget_info_by_idx3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_idx3(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment oinfo, int fields, long lapl_id)
+ {
+ var mh$ = H5Oget_info_by_idx3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_idx3", loc_id, group_name, idx_type, order, n, oinfo, fields,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_native_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_native_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_native_info$descriptor() { return H5Oget_native_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Oget_native_info$handle() { return H5Oget_native_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Oget_native_info$address() { return H5Oget_native_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static int H5Oget_native_info(long loc_id, MemorySegment oinfo, int fields)
+ {
+ var mh$ = H5Oget_native_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_native_info", loc_id, oinfo, fields);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo, fields);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_native_info_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_native_info_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned
+ * int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_native_info_by_name$descriptor()
+ {
+ return H5Oget_native_info_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned
+ * int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_native_info_by_name$handle()
+ {
+ return H5Oget_native_info_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned
+ * int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_native_info_by_name$address()
+ {
+ return H5Oget_native_info_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned
+ * int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_native_info_by_name(long loc_id, MemorySegment name, MemorySegment oinfo,
+ int fields, long lapl_id)
+ {
+ var mh$ = H5Oget_native_info_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_native_info_by_name", loc_id, name, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, fields, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_native_info_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_native_info_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type,
+ * H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_native_info_by_idx$descriptor()
+ {
+ return H5Oget_native_info_by_idx.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type,
+ * H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_native_info_by_idx$handle() { return H5Oget_native_info_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type,
+ * H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_native_info_by_idx$address() { return H5Oget_native_info_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type,
+ * H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_native_info_by_idx(long loc_id, MemorySegment group_name, int idx_type,
+ int order, long n, MemorySegment oinfo, int fields,
+ long lapl_id)
+ {
+ var mh$ = H5Oget_native_info_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_native_info_by_idx", loc_id, group_name, idx_type, order, n, oinfo,
+ fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Olink {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Olink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Olink$descriptor() { return H5Olink.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Olink$handle() { return H5Olink.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Olink$address() { return H5Olink.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Olink(long obj_id, long new_loc_id, MemorySegment new_name, long lcpl_id,
+ long lapl_id)
+ {
+ var mh$ = H5Olink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Olink", obj_id, new_loc_id, new_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(obj_id, new_loc_id, new_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oincr_refcount {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oincr_refcount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oincr_refcount$descriptor() { return H5Oincr_refcount.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Oincr_refcount$handle() { return H5Oincr_refcount.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Oincr_refcount$address() { return H5Oincr_refcount.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static int H5Oincr_refcount(long object_id)
+ {
+ var mh$ = H5Oincr_refcount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oincr_refcount", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Odecr_refcount {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Odecr_refcount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Odecr_refcount$descriptor() { return H5Odecr_refcount.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Odecr_refcount$handle() { return H5Odecr_refcount.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Odecr_refcount$address() { return H5Odecr_refcount.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static int H5Odecr_refcount(long object_id)
+ {
+ var mh$ = H5Odecr_refcount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Odecr_refcount", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ocopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ocopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t
+ * ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ocopy$descriptor() { return H5Ocopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t
+ * ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static MethodHandle H5Ocopy$handle() { return H5Ocopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t
+ * ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static MemorySegment H5Ocopy$address() { return H5Ocopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t
+ * ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static int H5Ocopy(long src_loc_id, MemorySegment src_name, long dst_loc_id,
+ MemorySegment dst_name, long ocpypl_id, long lcpl_id)
+ {
+ var mh$ = H5Ocopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ocopy", src_loc_id, src_name, dst_loc_id, dst_name, ocpypl_id, lcpl_id);
+ }
+ return (int)mh$.invokeExact(src_loc_id, src_name, dst_loc_id, dst_name, ocpypl_id, lcpl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ocopy_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ocopy_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t
+ * lcpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ocopy_async$descriptor() { return H5Ocopy_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t
+ * lcpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ocopy_async$handle() { return H5Ocopy_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t
+ * lcpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ocopy_async$address() { return H5Ocopy_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t
+ * lcpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Ocopy_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long src_loc_id, MemorySegment src_name, long dst_loc_id,
+ MemorySegment dst_name, long ocpypl_id, long lcpl_id, long es_id)
+ {
+ var mh$ = H5Ocopy_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ocopy_async", app_file, app_func, app_line, src_loc_id, src_name, dst_loc_id,
+ dst_name, ocpypl_id, lcpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, src_loc_id, src_name, dst_loc_id,
+ dst_name, ocpypl_id, lcpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oset_comment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oset_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static FunctionDescriptor H5Oset_comment$descriptor() { return H5Oset_comment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static MethodHandle H5Oset_comment$handle() { return H5Oset_comment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static MemorySegment H5Oset_comment$address() { return H5Oset_comment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static int H5Oset_comment(long obj_id, MemorySegment comment)
+ {
+ var mh$ = H5Oset_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oset_comment", obj_id, comment);
+ }
+ return (int)mh$.invokeExact(obj_id, comment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oset_comment_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oset_comment_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oset_comment_by_name$descriptor()
+ {
+ return H5Oset_comment_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oset_comment_by_name$handle() { return H5Oset_comment_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oset_comment_by_name$address() { return H5Oset_comment_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oset_comment_by_name(long loc_id, MemorySegment name, MemorySegment comment,
+ long lapl_id)
+ {
+ var mh$ = H5Oset_comment_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oset_comment_by_name", loc_id, name, comment, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, comment, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_comment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_comment$descriptor() { return H5Oget_comment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static MethodHandle H5Oget_comment$handle() { return H5Oget_comment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static MemorySegment H5Oget_comment$address() { return H5Oget_comment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static long H5Oget_comment(long obj_id, MemorySegment comment, long bufsize)
+ {
+ var mh$ = H5Oget_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_comment", obj_id, comment, bufsize);
+ }
+ return (long)mh$.invokeExact(obj_id, comment, bufsize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_comment_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_comment_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t
+ * lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_comment_by_name$descriptor()
+ {
+ return H5Oget_comment_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t
+ * lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_comment_by_name$handle() { return H5Oget_comment_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t
+ * lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_comment_by_name$address() { return H5Oget_comment_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t
+ * lapl_id)
+ * }
+ */
+ public static long H5Oget_comment_by_name(long loc_id, MemorySegment name, MemorySegment comment,
+ long bufsize, long lapl_id)
+ {
+ var mh$ = H5Oget_comment_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_comment_by_name", loc_id, name, comment, bufsize, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, comment, bufsize, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit3 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void
+ * *op_data, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit3$descriptor() { return H5Ovisit3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void
+ * *op_data, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Ovisit3$handle() { return H5Ovisit3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void
+ * *op_data, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Ovisit3$address() { return H5Ovisit3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void
+ * *op_data, unsigned int fields)
+ * }
+ */
+ public static int H5Ovisit3(long obj_id, int idx_type, int order, MemorySegment op, MemorySegment op_data,
+ int fields)
+ {
+ var mh$ = H5Ovisit3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit3", obj_id, idx_type, order, op, op_data, fields);
+ }
+ return (int)mh$.invokeExact(obj_id, idx_type, order, op, op_data, fields);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit_by_name3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit_by_name3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit_by_name3$descriptor() { return H5Ovisit_by_name3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ovisit_by_name3$handle() { return H5Ovisit_by_name3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ovisit_by_name3$address() { return H5Ovisit_by_name3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ovisit_by_name3(long loc_id, MemorySegment obj_name, int idx_type, int order,
+ MemorySegment op, MemorySegment op_data, int fields, long lapl_id)
+ {
+ var mh$ = H5Ovisit_by_name3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit_by_name3", loc_id, obj_name, idx_type, order, op, op_data, fields,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, op, op_data, fields, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oclose$descriptor() { return H5Oclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Oclose$handle() { return H5Oclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Oclose$address() { return H5Oclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static int H5Oclose(long object_id)
+ {
+ var mh$ = H5Oclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oclose", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oclose_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oclose_async$descriptor() { return H5Oclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oclose_async$handle() { return H5Oclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oclose_async$address() { return H5Oclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, hid_t es_id)
+ * }
+ */
+ public static int H5Oclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long object_id, long es_id)
+ {
+ var mh$ = H5Oclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oclose_async", app_file, app_func, app_line, object_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, object_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oflush$descriptor() { return H5Oflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static MethodHandle H5Oflush$handle() { return H5Oflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5Oflush$address() { return H5Oflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static int H5Oflush(long obj_id)
+ {
+ var mh$ = H5Oflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oflush", obj_id);
+ }
+ return (int)mh$.invokeExact(obj_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oflush_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oflush_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oflush_async$descriptor() { return H5Oflush_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oflush_async$handle() { return H5Oflush_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oflush_async$address() { return H5Oflush_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Oflush_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long obj_id, long es_id)
+ {
+ var mh$ = H5Oflush_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oflush_async", app_file, app_func, app_line, obj_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, obj_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Orefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Orefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static FunctionDescriptor H5Orefresh$descriptor() { return H5Orefresh.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static MethodHandle H5Orefresh$handle() { return H5Orefresh.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static MemorySegment H5Orefresh$address() { return H5Orefresh.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static int H5Orefresh(long oid)
+ {
+ var mh$ = H5Orefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Orefresh", oid);
+ }
+ return (int)mh$.invokeExact(oid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Orefresh_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Orefresh_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Orefresh_async$descriptor() { return H5Orefresh_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Orefresh_async$handle() { return H5Orefresh_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Orefresh_async$address() { return H5Orefresh_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Orefresh_async(MemorySegment app_file, MemorySegment app_func, int app_line, long oid,
+ long es_id)
+ {
+ var mh$ = H5Orefresh_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Orefresh_async", app_file, app_func, app_line, oid, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, oid, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Odisable_mdc_flushes {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Odisable_mdc_flushes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Odisable_mdc_flushes$descriptor()
+ {
+ return H5Odisable_mdc_flushes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Odisable_mdc_flushes$handle() { return H5Odisable_mdc_flushes.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Odisable_mdc_flushes$address() { return H5Odisable_mdc_flushes.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static int H5Odisable_mdc_flushes(long object_id)
+ {
+ var mh$ = H5Odisable_mdc_flushes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Odisable_mdc_flushes", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oenable_mdc_flushes {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oenable_mdc_flushes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oenable_mdc_flushes$descriptor() { return H5Oenable_mdc_flushes.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Oenable_mdc_flushes$handle() { return H5Oenable_mdc_flushes.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Oenable_mdc_flushes$address() { return H5Oenable_mdc_flushes.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static int H5Oenable_mdc_flushes(long object_id)
+ {
+ var mh$ = H5Oenable_mdc_flushes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oenable_mdc_flushes", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oare_mdc_flushes_disabled {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oare_mdc_flushes_disabled");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static FunctionDescriptor H5Oare_mdc_flushes_disabled$descriptor()
+ {
+ return H5Oare_mdc_flushes_disabled.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static MethodHandle H5Oare_mdc_flushes_disabled$handle()
+ {
+ return H5Oare_mdc_flushes_disabled.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static MemorySegment H5Oare_mdc_flushes_disabled$address()
+ {
+ return H5Oare_mdc_flushes_disabled.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static int H5Oare_mdc_flushes_disabled(long object_id, MemorySegment are_disabled)
+ {
+ var mh$ = H5Oare_mdc_flushes_disabled.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oare_mdc_flushes_disabled", object_id, are_disabled);
+ }
+ return (int)mh$.invokeExact(object_id, are_disabled);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Otoken_cmp {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Otoken_cmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static FunctionDescriptor H5Otoken_cmp$descriptor() { return H5Otoken_cmp.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static MethodHandle H5Otoken_cmp$handle() { return H5Otoken_cmp.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static MemorySegment H5Otoken_cmp$address() { return H5Otoken_cmp.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static int H5Otoken_cmp(long loc_id, MemorySegment token1, MemorySegment token2,
+ MemorySegment cmp_value)
+ {
+ var mh$ = H5Otoken_cmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Otoken_cmp", loc_id, token1, token2, cmp_value);
+ }
+ return (int)mh$.invokeExact(loc_id, token1, token2, cmp_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Otoken_to_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Otoken_to_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static FunctionDescriptor H5Otoken_to_str$descriptor() { return H5Otoken_to_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static MethodHandle H5Otoken_to_str$handle() { return H5Otoken_to_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static MemorySegment H5Otoken_to_str$address() { return H5Otoken_to_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static int H5Otoken_to_str(long loc_id, MemorySegment token, MemorySegment token_str)
+ {
+ var mh$ = H5Otoken_to_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Otoken_to_str", loc_id, token, token_str);
+ }
+ return (int)mh$.invokeExact(loc_id, token, token_str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Otoken_from_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Otoken_from_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static FunctionDescriptor H5Otoken_from_str$descriptor() { return H5Otoken_from_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static MethodHandle H5Otoken_from_str$handle() { return H5Otoken_from_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static MemorySegment H5Otoken_from_str$address() { return H5Otoken_from_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static int H5Otoken_from_str(long loc_id, MemorySegment token_str, MemorySegment token)
+ {
+ var mh$ = H5Otoken_from_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Otoken_from_str", loc_id, token_str, token);
+ }
+ return (int)mh$.invokeExact(loc_id, token_str, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5O_TOKEN_UNDEF_g$constants {
+ public static final GroupLayout LAYOUT = H5O_token_t.layout();
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5O_TOKEN_UNDEF_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern const H5O_token_t H5O_TOKEN_UNDEF_g
+ * }
+ */
+ public static GroupLayout H5O_TOKEN_UNDEF_g$layout() { return H5O_TOKEN_UNDEF_g$constants.LAYOUT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern const H5O_token_t H5O_TOKEN_UNDEF_g
+ * }
+ */
+ public static MemorySegment H5O_TOKEN_UNDEF_g() { return H5O_TOKEN_UNDEF_g$constants.SEGMENT; }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern const H5O_token_t H5O_TOKEN_UNDEF_g
+ * }
+ */
+ public static void H5O_TOKEN_UNDEF_g(MemorySegment varValue)
+ {
+ MemorySegment.copy(varValue, 0L, H5O_TOKEN_UNDEF_g$constants.SEGMENT, 0L,
+ H5O_TOKEN_UNDEF_g$constants.LAYOUT.byteSize());
+ }
+
+ private static class H5Oopen_by_addr {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_addr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_addr$descriptor() { return H5Oopen_by_addr.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_addr$handle() { return H5Oopen_by_addr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_addr$address() { return H5Oopen_by_addr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static long H5Oopen_by_addr(long loc_id, long addr)
+ {
+ var mh$ = H5Oopen_by_addr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_addr", loc_id, addr);
+ }
+ return (long)mh$.invokeExact(loc_id, addr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info1$descriptor() { return H5Oget_info1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static MethodHandle H5Oget_info1$handle() { return H5Oget_info1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static MemorySegment H5Oget_info1$address() { return H5Oget_info1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static int H5Oget_info1(long loc_id, MemorySegment oinfo)
+ {
+ var mh$ = H5Oget_info1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info1", loc_id, oinfo);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name1$descriptor() { return H5Oget_info_by_name1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name1$handle() { return H5Oget_info_by_name1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name1$address() { return H5Oget_info_by_name1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_name1(long loc_id, MemorySegment name, MemorySegment oinfo, long lapl_id)
+ {
+ var mh$ = H5Oget_info_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name1", loc_id, name, oinfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_idx1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_idx1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_idx1$descriptor() { return H5Oget_info_by_idx1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_idx1$handle() { return H5Oget_info_by_idx1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_idx1$address() { return H5Oget_info_by_idx1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_idx1(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment oinfo, long lapl_id)
+ {
+ var mh$ = H5Oget_info_by_idx1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_idx1", loc_id, group_name, idx_type, order, n, oinfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info2$descriptor() { return H5Oget_info2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Oget_info2$handle() { return H5Oget_info2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Oget_info2$address() { return H5Oget_info2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static int H5Oget_info2(long loc_id, MemorySegment oinfo, int fields)
+ {
+ var mh$ = H5Oget_info2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info2", loc_id, oinfo, fields);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo, fields);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name2$descriptor() { return H5Oget_info_by_name2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name2$handle() { return H5Oget_info_by_name2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name2$address() { return H5Oget_info_by_name2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_name2(long loc_id, MemorySegment name, MemorySegment oinfo, int fields,
+ long lapl_id)
+ {
+ var mh$ = H5Oget_info_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name2", loc_id, name, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, fields, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_idx2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_idx2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_idx2$descriptor() { return H5Oget_info_by_idx2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_idx2$handle() { return H5Oget_info_by_idx2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_idx2$address() { return H5Oget_info_by_idx2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_idx2(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment oinfo, int fields, long lapl_id)
+ {
+ var mh$ = H5Oget_info_by_idx2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_idx2", loc_id, group_name, idx_type, order, n, oinfo, fields,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit1$descriptor() { return H5Ovisit1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static MethodHandle H5Ovisit1$handle() { return H5Ovisit1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static MemorySegment H5Ovisit1$address() { return H5Ovisit1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static int H5Ovisit1(long obj_id, int idx_type, int order, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Ovisit1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit1", obj_id, idx_type, order, op, op_data);
+ }
+ return (int)mh$.invokeExact(obj_id, idx_type, order, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit_by_name1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit_by_name1$descriptor() { return H5Ovisit_by_name1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ovisit_by_name1$handle() { return H5Ovisit_by_name1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ovisit_by_name1$address() { return H5Ovisit_by_name1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ovisit_by_name1(long loc_id, MemorySegment obj_name, int idx_type, int order,
+ MemorySegment op, MemorySegment op_data, long lapl_id)
+ {
+ var mh$ = H5Ovisit_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit_by_name1", loc_id, obj_name, idx_type, order, op, op_data, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void
+ * *op_data, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit2$descriptor() { return H5Ovisit2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void
+ * *op_data, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Ovisit2$handle() { return H5Ovisit2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void
+ * *op_data, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Ovisit2$address() { return H5Ovisit2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void
+ * *op_data, unsigned int fields)
+ * }
+ */
+ public static int H5Ovisit2(long obj_id, int idx_type, int order, MemorySegment op, MemorySegment op_data,
+ int fields)
+ {
+ var mh$ = H5Ovisit2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit2", obj_id, idx_type, order, op, op_data, fields);
+ }
+ return (int)mh$.invokeExact(obj_id, idx_type, order, op, op_data, fields);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit_by_name2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit_by_name2$descriptor() { return H5Ovisit_by_name2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ovisit_by_name2$handle() { return H5Ovisit_by_name2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ovisit_by_name2$address() { return H5Ovisit_by_name2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ovisit_by_name2(long loc_id, MemorySegment obj_name, int idx_type, int order,
+ MemorySegment op, MemorySegment op_data, int fields, long lapl_id)
+ {
+ var mh$ = H5Ovisit_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit_by_name2", loc_id, obj_name, idx_type, order, op, op_data, fields,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, op, op_data, fields, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5T_NO_CLASS = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_NO_CLASS = -1
+ * }
+ */
+ public static int H5T_NO_CLASS() { return H5T_NO_CLASS; }
+ private static final int H5T_INTEGER = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_INTEGER = 0
+ * }
+ */
+ public static int H5T_INTEGER() { return H5T_INTEGER; }
+ private static final int H5T_FLOAT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_FLOAT = 1
+ * }
+ */
+ public static int H5T_FLOAT() { return H5T_FLOAT; }
+ private static final int H5T_TIME = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_TIME = 2
+ * }
+ */
+ public static int H5T_TIME() { return H5T_TIME; }
+ private static final int H5T_STRING = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_STRING = 3
+ * }
+ */
+ public static int H5T_STRING() { return H5T_STRING; }
+ private static final int H5T_BITFIELD = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_BITFIELD = 4
+ * }
+ */
+ public static int H5T_BITFIELD() { return H5T_BITFIELD; }
+ private static final int H5T_OPAQUE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_OPAQUE = 5
+ * }
+ */
+ public static int H5T_OPAQUE() { return H5T_OPAQUE; }
+ private static final int H5T_COMPOUND = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_COMPOUND = 6
+ * }
+ */
+ public static int H5T_COMPOUND() { return H5T_COMPOUND; }
+ private static final int H5T_REFERENCE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_REFERENCE = 7
+ * }
+ */
+ public static int H5T_REFERENCE() { return H5T_REFERENCE; }
+ private static final int H5T_ENUM = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_ENUM = 8
+ * }
+ */
+ public static int H5T_ENUM() { return H5T_ENUM; }
+ private static final int H5T_VLEN = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_VLEN = 9
+ * }
+ */
+ public static int H5T_VLEN() { return H5T_VLEN; }
+ private static final int H5T_ARRAY = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_ARRAY = 10
+ * }
+ */
+ public static int H5T_ARRAY() { return H5T_ARRAY; }
+ private static final int H5T_COMPLEX = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_COMPLEX = 11
+ * }
+ */
+ public static int H5T_COMPLEX() { return H5T_COMPLEX; }
+ private static final int H5T_NCLASSES = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_NCLASSES = 12
+ * }
+ */
+ public static int H5T_NCLASSES() { return H5T_NCLASSES; }
+ private static final int H5T_ORDER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_ERROR = -1
+ * }
+ */
+ public static int H5T_ORDER_ERROR() { return H5T_ORDER_ERROR; }
+ private static final int H5T_ORDER_LE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_LE = 0
+ * }
+ */
+ public static int H5T_ORDER_LE() { return H5T_ORDER_LE; }
+ private static final int H5T_ORDER_BE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_BE = 1
+ * }
+ */
+ public static int H5T_ORDER_BE() { return H5T_ORDER_BE; }
+ private static final int H5T_ORDER_VAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_VAX = 2
+ * }
+ */
+ public static int H5T_ORDER_VAX() { return H5T_ORDER_VAX; }
+ private static final int H5T_ORDER_MIXED = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_MIXED = 3
+ * }
+ */
+ public static int H5T_ORDER_MIXED() { return H5T_ORDER_MIXED; }
+ private static final int H5T_ORDER_NONE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_NONE = 4
+ * }
+ */
+ public static int H5T_ORDER_NONE() { return H5T_ORDER_NONE; }
+ private static final int H5T_SGN_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_SGN_ERROR = -1
+ * }
+ */
+ public static int H5T_SGN_ERROR() { return H5T_SGN_ERROR; }
+ private static final int H5T_SGN_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_SGN_NONE = 0
+ * }
+ */
+ public static int H5T_SGN_NONE() { return H5T_SGN_NONE; }
+ private static final int H5T_SGN_2 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_SGN_2 = 1
+ * }
+ */
+ public static int H5T_SGN_2() { return H5T_SGN_2; }
+ private static final int H5T_NSGN = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_NSGN = 2
+ * }
+ */
+ public static int H5T_NSGN() { return H5T_NSGN; }
+ private static final int H5T_NORM_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_ERROR = -1
+ * }
+ */
+ public static int H5T_NORM_ERROR() { return H5T_NORM_ERROR; }
+ private static final int H5T_NORM_IMPLIED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_IMPLIED = 0
+ * }
+ */
+ public static int H5T_NORM_IMPLIED() { return H5T_NORM_IMPLIED; }
+ private static final int H5T_NORM_MSBSET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_MSBSET = 1
+ * }
+ */
+ public static int H5T_NORM_MSBSET() { return H5T_NORM_MSBSET; }
+ private static final int H5T_NORM_NONE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_NONE = 2
+ * }
+ */
+ public static int H5T_NORM_NONE() { return H5T_NORM_NONE; }
+ private static final int H5T_CSET_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_ERROR = -1
+ * }
+ */
+ public static int H5T_CSET_ERROR() { return H5T_CSET_ERROR; }
+ private static final int H5T_CSET_ASCII = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_ASCII = 0
+ * }
+ */
+ public static int H5T_CSET_ASCII() { return H5T_CSET_ASCII; }
+ private static final int H5T_CSET_UTF8 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_UTF8 = 1
+ * }
+ */
+ public static int H5T_CSET_UTF8() { return H5T_CSET_UTF8; }
+ private static final int H5T_CSET_RESERVED_2 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_2 = 2
+ * }
+ */
+ public static int H5T_CSET_RESERVED_2() { return H5T_CSET_RESERVED_2; }
+ private static final int H5T_CSET_RESERVED_3 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_3 = 3
+ * }
+ */
+ public static int H5T_CSET_RESERVED_3() { return H5T_CSET_RESERVED_3; }
+ private static final int H5T_CSET_RESERVED_4 = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_4 = 4
+ * }
+ */
+ public static int H5T_CSET_RESERVED_4() { return H5T_CSET_RESERVED_4; }
+ private static final int H5T_CSET_RESERVED_5 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_5 = 5
+ * }
+ */
+ public static int H5T_CSET_RESERVED_5() { return H5T_CSET_RESERVED_5; }
+ private static final int H5T_CSET_RESERVED_6 = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_6 = 6
+ * }
+ */
+ public static int H5T_CSET_RESERVED_6() { return H5T_CSET_RESERVED_6; }
+ private static final int H5T_CSET_RESERVED_7 = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_7 = 7
+ * }
+ */
+ public static int H5T_CSET_RESERVED_7() { return H5T_CSET_RESERVED_7; }
+ private static final int H5T_CSET_RESERVED_8 = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_8 = 8
+ * }
+ */
+ public static int H5T_CSET_RESERVED_8() { return H5T_CSET_RESERVED_8; }
+ private static final int H5T_CSET_RESERVED_9 = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_9 = 9
+ * }
+ */
+ public static int H5T_CSET_RESERVED_9() { return H5T_CSET_RESERVED_9; }
+ private static final int H5T_CSET_RESERVED_10 = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_10 = 10
+ * }
+ */
+ public static int H5T_CSET_RESERVED_10() { return H5T_CSET_RESERVED_10; }
+ private static final int H5T_CSET_RESERVED_11 = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_11 = 11
+ * }
+ */
+ public static int H5T_CSET_RESERVED_11() { return H5T_CSET_RESERVED_11; }
+ private static final int H5T_CSET_RESERVED_12 = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_12 = 12
+ * }
+ */
+ public static int H5T_CSET_RESERVED_12() { return H5T_CSET_RESERVED_12; }
+ private static final int H5T_CSET_RESERVED_13 = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_13 = 13
+ * }
+ */
+ public static int H5T_CSET_RESERVED_13() { return H5T_CSET_RESERVED_13; }
+ private static final int H5T_CSET_RESERVED_14 = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_14 = 14
+ * }
+ */
+ public static int H5T_CSET_RESERVED_14() { return H5T_CSET_RESERVED_14; }
+ private static final int H5T_CSET_RESERVED_15 = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_15 = 15
+ * }
+ */
+ public static int H5T_CSET_RESERVED_15() { return H5T_CSET_RESERVED_15; }
+ private static final int H5T_STR_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_ERROR = -1
+ * }
+ */
+ public static int H5T_STR_ERROR() { return H5T_STR_ERROR; }
+ private static final int H5T_STR_NULLTERM = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_NULLTERM = 0
+ * }
+ */
+ public static int H5T_STR_NULLTERM() { return H5T_STR_NULLTERM; }
+ private static final int H5T_STR_NULLPAD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_NULLPAD = 1
+ * }
+ */
+ public static int H5T_STR_NULLPAD() { return H5T_STR_NULLPAD; }
+ private static final int H5T_STR_SPACEPAD = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_SPACEPAD = 2
+ * }
+ */
+ public static int H5T_STR_SPACEPAD() { return H5T_STR_SPACEPAD; }
+ private static final int H5T_STR_RESERVED_3 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_3 = 3
+ * }
+ */
+ public static int H5T_STR_RESERVED_3() { return H5T_STR_RESERVED_3; }
+ private static final int H5T_STR_RESERVED_4 = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_4 = 4
+ * }
+ */
+ public static int H5T_STR_RESERVED_4() { return H5T_STR_RESERVED_4; }
+ private static final int H5T_STR_RESERVED_5 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_5 = 5
+ * }
+ */
+ public static int H5T_STR_RESERVED_5() { return H5T_STR_RESERVED_5; }
+ private static final int H5T_STR_RESERVED_6 = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_6 = 6
+ * }
+ */
+ public static int H5T_STR_RESERVED_6() { return H5T_STR_RESERVED_6; }
+ private static final int H5T_STR_RESERVED_7 = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_7 = 7
+ * }
+ */
+ public static int H5T_STR_RESERVED_7() { return H5T_STR_RESERVED_7; }
+ private static final int H5T_STR_RESERVED_8 = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_8 = 8
+ * }
+ */
+ public static int H5T_STR_RESERVED_8() { return H5T_STR_RESERVED_8; }
+ private static final int H5T_STR_RESERVED_9 = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_9 = 9
+ * }
+ */
+ public static int H5T_STR_RESERVED_9() { return H5T_STR_RESERVED_9; }
+ private static final int H5T_STR_RESERVED_10 = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_10 = 10
+ * }
+ */
+ public static int H5T_STR_RESERVED_10() { return H5T_STR_RESERVED_10; }
+ private static final int H5T_STR_RESERVED_11 = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_11 = 11
+ * }
+ */
+ public static int H5T_STR_RESERVED_11() { return H5T_STR_RESERVED_11; }
+ private static final int H5T_STR_RESERVED_12 = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_12 = 12
+ * }
+ */
+ public static int H5T_STR_RESERVED_12() { return H5T_STR_RESERVED_12; }
+ private static final int H5T_STR_RESERVED_13 = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_13 = 13
+ * }
+ */
+ public static int H5T_STR_RESERVED_13() { return H5T_STR_RESERVED_13; }
+ private static final int H5T_STR_RESERVED_14 = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_14 = 14
+ * }
+ */
+ public static int H5T_STR_RESERVED_14() { return H5T_STR_RESERVED_14; }
+ private static final int H5T_STR_RESERVED_15 = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_15 = 15
+ * }
+ */
+ public static int H5T_STR_RESERVED_15() { return H5T_STR_RESERVED_15; }
+ private static final int H5T_PAD_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_ERROR = -1
+ * }
+ */
+ public static int H5T_PAD_ERROR() { return H5T_PAD_ERROR; }
+ private static final int H5T_PAD_ZERO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_ZERO = 0
+ * }
+ */
+ public static int H5T_PAD_ZERO() { return H5T_PAD_ZERO; }
+ private static final int H5T_PAD_ONE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_ONE = 1
+ * }
+ */
+ public static int H5T_PAD_ONE() { return H5T_PAD_ONE; }
+ private static final int H5T_PAD_BACKGROUND = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_BACKGROUND = 2
+ * }
+ */
+ public static int H5T_PAD_BACKGROUND() { return H5T_PAD_BACKGROUND; }
+ private static final int H5T_NPAD = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_NPAD = 3
+ * }
+ */
+ public static int H5T_NPAD() { return H5T_NPAD; }
+ private static final int H5T_DIR_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_direction_t.H5T_DIR_DEFAULT = 0
+ * }
+ */
+ public static int H5T_DIR_DEFAULT() { return H5T_DIR_DEFAULT; }
+ private static final int H5T_DIR_ASCEND = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_direction_t.H5T_DIR_ASCEND = 1
+ * }
+ */
+ public static int H5T_DIR_ASCEND() { return H5T_DIR_ASCEND; }
+ private static final int H5T_DIR_DESCEND = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_direction_t.H5T_DIR_DESCEND = 2
+ * }
+ */
+ public static int H5T_DIR_DESCEND() { return H5T_DIR_DESCEND; }
+ private static final int H5T_CONV_EXCEPT_RANGE_HI = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_RANGE_HI = 0
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_RANGE_HI() { return H5T_CONV_EXCEPT_RANGE_HI; }
+ private static final int H5T_CONV_EXCEPT_RANGE_LOW = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_RANGE_LOW = 1
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_RANGE_LOW() { return H5T_CONV_EXCEPT_RANGE_LOW; }
+ private static final int H5T_CONV_EXCEPT_PRECISION = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_PRECISION = 2
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_PRECISION() { return H5T_CONV_EXCEPT_PRECISION; }
+ private static final int H5T_CONV_EXCEPT_TRUNCATE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_TRUNCATE = 3
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_TRUNCATE() { return H5T_CONV_EXCEPT_TRUNCATE; }
+ private static final int H5T_CONV_EXCEPT_PINF = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_PINF = 4
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_PINF() { return H5T_CONV_EXCEPT_PINF; }
+ private static final int H5T_CONV_EXCEPT_NINF = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_NINF = 5
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_NINF() { return H5T_CONV_EXCEPT_NINF; }
+ private static final int H5T_CONV_EXCEPT_NAN = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_NAN = 6
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_NAN() { return H5T_CONV_EXCEPT_NAN; }
+ private static final int H5T_CONV_ABORT = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_ret_t.H5T_CONV_ABORT = -1
+ * }
+ */
+ public static int H5T_CONV_ABORT() { return H5T_CONV_ABORT; }
+ private static final int H5T_CONV_UNHANDLED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_ret_t.H5T_CONV_UNHANDLED = 0
+ * }
+ */
+ public static int H5T_CONV_UNHANDLED() { return H5T_CONV_UNHANDLED; }
+ private static final int H5T_CONV_HANDLED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_ret_t.H5T_CONV_HANDLED = 1
+ * }
+ */
+ public static int H5T_CONV_HANDLED() { return H5T_CONV_HANDLED; }
+
+ private static class H5T_IEEE_F16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_IEEE_F16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F16BE_g$layout() { return H5T_IEEE_F16BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F16BE_g$segment() { return H5T_IEEE_F16BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static long H5T_IEEE_F16BE_g()
+ {
+ return H5T_IEEE_F16BE_g$constants.SEGMENT.get(H5T_IEEE_F16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static void H5T_IEEE_F16BE_g(long varValue)
+ {
+ H5T_IEEE_F16BE_g$constants.SEGMENT.set(H5T_IEEE_F16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_IEEE_F16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F16LE_g$layout() { return H5T_IEEE_F16LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F16LE_g$segment() { return H5T_IEEE_F16LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static long H5T_IEEE_F16LE_g()
+ {
+ return H5T_IEEE_F16LE_g$constants.SEGMENT.get(H5T_IEEE_F16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static void H5T_IEEE_F16LE_g(long varValue)
+ {
+ H5T_IEEE_F16LE_g$constants.SEGMENT.set(H5T_IEEE_F16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_IEEE_F32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F32BE_g$layout() { return H5T_IEEE_F32BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F32BE_g$segment() { return H5T_IEEE_F32BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static long H5T_IEEE_F32BE_g()
+ {
+ return H5T_IEEE_F32BE_g$constants.SEGMENT.get(H5T_IEEE_F32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static void H5T_IEEE_F32BE_g(long varValue)
+ {
+ H5T_IEEE_F32BE_g$constants.SEGMENT.set(H5T_IEEE_F32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_IEEE_F32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F32LE_g$layout() { return H5T_IEEE_F32LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F32LE_g$segment() { return H5T_IEEE_F32LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static long H5T_IEEE_F32LE_g()
+ {
+ return H5T_IEEE_F32LE_g$constants.SEGMENT.get(H5T_IEEE_F32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static void H5T_IEEE_F32LE_g(long varValue)
+ {
+ H5T_IEEE_F32LE_g$constants.SEGMENT.set(H5T_IEEE_F32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_IEEE_F64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F64BE_g$layout() { return H5T_IEEE_F64BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F64BE_g$segment() { return H5T_IEEE_F64BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static long H5T_IEEE_F64BE_g()
+ {
+ return H5T_IEEE_F64BE_g$constants.SEGMENT.get(H5T_IEEE_F64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static void H5T_IEEE_F64BE_g(long varValue)
+ {
+ H5T_IEEE_F64BE_g$constants.SEGMENT.set(H5T_IEEE_F64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_IEEE_F64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F64LE_g$layout() { return H5T_IEEE_F64LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F64LE_g$segment() { return H5T_IEEE_F64LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static long H5T_IEEE_F64LE_g()
+ {
+ return H5T_IEEE_F64LE_g$constants.SEGMENT.get(H5T_IEEE_F64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static void H5T_IEEE_F64LE_g(long varValue)
+ {
+ H5T_IEEE_F64LE_g$constants.SEGMENT.set(H5T_IEEE_F64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_FLOAT_BFLOAT16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_FLOAT_BFLOAT16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static OfLong H5T_FLOAT_BFLOAT16BE_g$layout() { return H5T_FLOAT_BFLOAT16BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static MemorySegment H5T_FLOAT_BFLOAT16BE_g$segment()
+ {
+ return H5T_FLOAT_BFLOAT16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static long H5T_FLOAT_BFLOAT16BE_g()
+ {
+ return H5T_FLOAT_BFLOAT16BE_g$constants.SEGMENT.get(H5T_FLOAT_BFLOAT16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static void H5T_FLOAT_BFLOAT16BE_g(long varValue)
+ {
+ H5T_FLOAT_BFLOAT16BE_g$constants.SEGMENT.set(H5T_FLOAT_BFLOAT16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_FLOAT_BFLOAT16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_FLOAT_BFLOAT16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static OfLong H5T_FLOAT_BFLOAT16LE_g$layout() { return H5T_FLOAT_BFLOAT16LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static MemorySegment H5T_FLOAT_BFLOAT16LE_g$segment()
+ {
+ return H5T_FLOAT_BFLOAT16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static long H5T_FLOAT_BFLOAT16LE_g()
+ {
+ return H5T_FLOAT_BFLOAT16LE_g$constants.SEGMENT.get(H5T_FLOAT_BFLOAT16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static void H5T_FLOAT_BFLOAT16LE_g(long varValue)
+ {
+ H5T_FLOAT_BFLOAT16LE_g$constants.SEGMENT.set(H5T_FLOAT_BFLOAT16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F16BE_g$layout()
+ {
+ return H5T_COMPLEX_IEEE_F16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F16BE_g$segment()
+ {
+ return H5T_COMPLEX_IEEE_F16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F16BE_g()
+ {
+ return H5T_COMPLEX_IEEE_F16BE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F16BE_g(long varValue)
+ {
+ H5T_COMPLEX_IEEE_F16BE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F16BE_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F16LE_g$layout()
+ {
+ return H5T_COMPLEX_IEEE_F16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F16LE_g$segment()
+ {
+ return H5T_COMPLEX_IEEE_F16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F16LE_g()
+ {
+ return H5T_COMPLEX_IEEE_F16LE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F16LE_g(long varValue)
+ {
+ H5T_COMPLEX_IEEE_F16LE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F16LE_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F32BE_g$layout()
+ {
+ return H5T_COMPLEX_IEEE_F32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F32BE_g$segment()
+ {
+ return H5T_COMPLEX_IEEE_F32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F32BE_g()
+ {
+ return H5T_COMPLEX_IEEE_F32BE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F32BE_g(long varValue)
+ {
+ H5T_COMPLEX_IEEE_F32BE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F32BE_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F32LE_g$layout()
+ {
+ return H5T_COMPLEX_IEEE_F32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F32LE_g$segment()
+ {
+ return H5T_COMPLEX_IEEE_F32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F32LE_g()
+ {
+ return H5T_COMPLEX_IEEE_F32LE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F32LE_g(long varValue)
+ {
+ H5T_COMPLEX_IEEE_F32LE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F32LE_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F64BE_g$layout()
+ {
+ return H5T_COMPLEX_IEEE_F64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F64BE_g$segment()
+ {
+ return H5T_COMPLEX_IEEE_F64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F64BE_g()
+ {
+ return H5T_COMPLEX_IEEE_F64BE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F64BE_g(long varValue)
+ {
+ H5T_COMPLEX_IEEE_F64BE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F64BE_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F64LE_g$layout()
+ {
+ return H5T_COMPLEX_IEEE_F64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F64LE_g$segment()
+ {
+ return H5T_COMPLEX_IEEE_F64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F64LE_g()
+ {
+ return H5T_COMPLEX_IEEE_F64LE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F64LE_g(long varValue)
+ {
+ H5T_COMPLEX_IEEE_F64LE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F64LE_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_STD_I8BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_I8BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I8BE_g$layout() { return H5T_STD_I8BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I8BE_g$segment() { return H5T_STD_I8BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static long H5T_STD_I8BE_g()
+ {
+ return H5T_STD_I8BE_g$constants.SEGMENT.get(H5T_STD_I8BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static void H5T_STD_I8BE_g(long varValue)
+ {
+ H5T_STD_I8BE_g$constants.SEGMENT.set(H5T_STD_I8BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I8LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_I8LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I8LE_g$layout() { return H5T_STD_I8LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I8LE_g$segment() { return H5T_STD_I8LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static long H5T_STD_I8LE_g()
+ {
+ return H5T_STD_I8LE_g$constants.SEGMENT.get(H5T_STD_I8LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static void H5T_STD_I8LE_g(long varValue)
+ {
+ H5T_STD_I8LE_g$constants.SEGMENT.set(H5T_STD_I8LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_I16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I16BE_g$layout() { return H5T_STD_I16BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I16BE_g$segment() { return H5T_STD_I16BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static long H5T_STD_I16BE_g()
+ {
+ return H5T_STD_I16BE_g$constants.SEGMENT.get(H5T_STD_I16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static void H5T_STD_I16BE_g(long varValue)
+ {
+ H5T_STD_I16BE_g$constants.SEGMENT.set(H5T_STD_I16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_I16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I16LE_g$layout() { return H5T_STD_I16LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I16LE_g$segment() { return H5T_STD_I16LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static long H5T_STD_I16LE_g()
+ {
+ return H5T_STD_I16LE_g$constants.SEGMENT.get(H5T_STD_I16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static void H5T_STD_I16LE_g(long varValue)
+ {
+ H5T_STD_I16LE_g$constants.SEGMENT.set(H5T_STD_I16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_I32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I32BE_g$layout() { return H5T_STD_I32BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I32BE_g$segment() { return H5T_STD_I32BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static long H5T_STD_I32BE_g()
+ {
+ return H5T_STD_I32BE_g$constants.SEGMENT.get(H5T_STD_I32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static void H5T_STD_I32BE_g(long varValue)
+ {
+ H5T_STD_I32BE_g$constants.SEGMENT.set(H5T_STD_I32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_I32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I32LE_g$layout() { return H5T_STD_I32LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I32LE_g$segment() { return H5T_STD_I32LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static long H5T_STD_I32LE_g()
+ {
+ return H5T_STD_I32LE_g$constants.SEGMENT.get(H5T_STD_I32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static void H5T_STD_I32LE_g(long varValue)
+ {
+ H5T_STD_I32LE_g$constants.SEGMENT.set(H5T_STD_I32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_I64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I64BE_g$layout() { return H5T_STD_I64BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I64BE_g$segment() { return H5T_STD_I64BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static long H5T_STD_I64BE_g()
+ {
+ return H5T_STD_I64BE_g$constants.SEGMENT.get(H5T_STD_I64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static void H5T_STD_I64BE_g(long varValue)
+ {
+ H5T_STD_I64BE_g$constants.SEGMENT.set(H5T_STD_I64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_I64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I64LE_g$layout() { return H5T_STD_I64LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I64LE_g$segment() { return H5T_STD_I64LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static long H5T_STD_I64LE_g()
+ {
+ return H5T_STD_I64LE_g$constants.SEGMENT.get(H5T_STD_I64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static void H5T_STD_I64LE_g(long varValue)
+ {
+ H5T_STD_I64LE_g$constants.SEGMENT.set(H5T_STD_I64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U8BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_U8BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U8BE_g$layout() { return H5T_STD_U8BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U8BE_g$segment() { return H5T_STD_U8BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static long H5T_STD_U8BE_g()
+ {
+ return H5T_STD_U8BE_g$constants.SEGMENT.get(H5T_STD_U8BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static void H5T_STD_U8BE_g(long varValue)
+ {
+ H5T_STD_U8BE_g$constants.SEGMENT.set(H5T_STD_U8BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U8LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_U8LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U8LE_g$layout() { return H5T_STD_U8LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U8LE_g$segment() { return H5T_STD_U8LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static long H5T_STD_U8LE_g()
+ {
+ return H5T_STD_U8LE_g$constants.SEGMENT.get(H5T_STD_U8LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static void H5T_STD_U8LE_g(long varValue)
+ {
+ H5T_STD_U8LE_g$constants.SEGMENT.set(H5T_STD_U8LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_U16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U16BE_g$layout() { return H5T_STD_U16BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U16BE_g$segment() { return H5T_STD_U16BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static long H5T_STD_U16BE_g()
+ {
+ return H5T_STD_U16BE_g$constants.SEGMENT.get(H5T_STD_U16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static void H5T_STD_U16BE_g(long varValue)
+ {
+ H5T_STD_U16BE_g$constants.SEGMENT.set(H5T_STD_U16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_U16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U16LE_g$layout() { return H5T_STD_U16LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U16LE_g$segment() { return H5T_STD_U16LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static long H5T_STD_U16LE_g()
+ {
+ return H5T_STD_U16LE_g$constants.SEGMENT.get(H5T_STD_U16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static void H5T_STD_U16LE_g(long varValue)
+ {
+ H5T_STD_U16LE_g$constants.SEGMENT.set(H5T_STD_U16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_U32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U32BE_g$layout() { return H5T_STD_U32BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U32BE_g$segment() { return H5T_STD_U32BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static long H5T_STD_U32BE_g()
+ {
+ return H5T_STD_U32BE_g$constants.SEGMENT.get(H5T_STD_U32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static void H5T_STD_U32BE_g(long varValue)
+ {
+ H5T_STD_U32BE_g$constants.SEGMENT.set(H5T_STD_U32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_U32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U32LE_g$layout() { return H5T_STD_U32LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U32LE_g$segment() { return H5T_STD_U32LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static long H5T_STD_U32LE_g()
+ {
+ return H5T_STD_U32LE_g$constants.SEGMENT.get(H5T_STD_U32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static void H5T_STD_U32LE_g(long varValue)
+ {
+ H5T_STD_U32LE_g$constants.SEGMENT.set(H5T_STD_U32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_U64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U64BE_g$layout() { return H5T_STD_U64BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U64BE_g$segment() { return H5T_STD_U64BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static long H5T_STD_U64BE_g()
+ {
+ return H5T_STD_U64BE_g$constants.SEGMENT.get(H5T_STD_U64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static void H5T_STD_U64BE_g(long varValue)
+ {
+ H5T_STD_U64BE_g$constants.SEGMENT.set(H5T_STD_U64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_U64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U64LE_g$layout() { return H5T_STD_U64LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U64LE_g$segment() { return H5T_STD_U64LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static long H5T_STD_U64LE_g()
+ {
+ return H5T_STD_U64LE_g$constants.SEGMENT.get(H5T_STD_U64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static void H5T_STD_U64LE_g(long varValue)
+ {
+ H5T_STD_U64LE_g$constants.SEGMENT.set(H5T_STD_U64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B8BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_B8BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B8BE_g$layout() { return H5T_STD_B8BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B8BE_g$segment() { return H5T_STD_B8BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static long H5T_STD_B8BE_g()
+ {
+ return H5T_STD_B8BE_g$constants.SEGMENT.get(H5T_STD_B8BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static void H5T_STD_B8BE_g(long varValue)
+ {
+ H5T_STD_B8BE_g$constants.SEGMENT.set(H5T_STD_B8BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B8LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_B8LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B8LE_g$layout() { return H5T_STD_B8LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B8LE_g$segment() { return H5T_STD_B8LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static long H5T_STD_B8LE_g()
+ {
+ return H5T_STD_B8LE_g$constants.SEGMENT.get(H5T_STD_B8LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static void H5T_STD_B8LE_g(long varValue)
+ {
+ H5T_STD_B8LE_g$constants.SEGMENT.set(H5T_STD_B8LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_B16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B16BE_g$layout() { return H5T_STD_B16BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B16BE_g$segment() { return H5T_STD_B16BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static long H5T_STD_B16BE_g()
+ {
+ return H5T_STD_B16BE_g$constants.SEGMENT.get(H5T_STD_B16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static void H5T_STD_B16BE_g(long varValue)
+ {
+ H5T_STD_B16BE_g$constants.SEGMENT.set(H5T_STD_B16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_B16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B16LE_g$layout() { return H5T_STD_B16LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B16LE_g$segment() { return H5T_STD_B16LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static long H5T_STD_B16LE_g()
+ {
+ return H5T_STD_B16LE_g$constants.SEGMENT.get(H5T_STD_B16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static void H5T_STD_B16LE_g(long varValue)
+ {
+ H5T_STD_B16LE_g$constants.SEGMENT.set(H5T_STD_B16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_B32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B32BE_g$layout() { return H5T_STD_B32BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B32BE_g$segment() { return H5T_STD_B32BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static long H5T_STD_B32BE_g()
+ {
+ return H5T_STD_B32BE_g$constants.SEGMENT.get(H5T_STD_B32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static void H5T_STD_B32BE_g(long varValue)
+ {
+ H5T_STD_B32BE_g$constants.SEGMENT.set(H5T_STD_B32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_B32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B32LE_g$layout() { return H5T_STD_B32LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B32LE_g$segment() { return H5T_STD_B32LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static long H5T_STD_B32LE_g()
+ {
+ return H5T_STD_B32LE_g$constants.SEGMENT.get(H5T_STD_B32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static void H5T_STD_B32LE_g(long varValue)
+ {
+ H5T_STD_B32LE_g$constants.SEGMENT.set(H5T_STD_B32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_B64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B64BE_g$layout() { return H5T_STD_B64BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B64BE_g$segment() { return H5T_STD_B64BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static long H5T_STD_B64BE_g()
+ {
+ return H5T_STD_B64BE_g$constants.SEGMENT.get(H5T_STD_B64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static void H5T_STD_B64BE_g(long varValue)
+ {
+ H5T_STD_B64BE_g$constants.SEGMENT.set(H5T_STD_B64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_B64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B64LE_g$layout() { return H5T_STD_B64LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B64LE_g$segment() { return H5T_STD_B64LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static long H5T_STD_B64LE_g()
+ {
+ return H5T_STD_B64LE_g$constants.SEGMENT.get(H5T_STD_B64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static void H5T_STD_B64LE_g(long varValue)
+ {
+ H5T_STD_B64LE_g$constants.SEGMENT.set(H5T_STD_B64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_REF_OBJ_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_REF_OBJ_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static OfLong H5T_STD_REF_OBJ_g$layout() { return H5T_STD_REF_OBJ_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static MemorySegment H5T_STD_REF_OBJ_g$segment() { return H5T_STD_REF_OBJ_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static long H5T_STD_REF_OBJ_g()
+ {
+ return H5T_STD_REF_OBJ_g$constants.SEGMENT.get(H5T_STD_REF_OBJ_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static void H5T_STD_REF_OBJ_g(long varValue)
+ {
+ H5T_STD_REF_OBJ_g$constants.SEGMENT.set(H5T_STD_REF_OBJ_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_REF_DSETREG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_REF_DSETREG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static OfLong H5T_STD_REF_DSETREG_g$layout() { return H5T_STD_REF_DSETREG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static MemorySegment H5T_STD_REF_DSETREG_g$segment()
+ {
+ return H5T_STD_REF_DSETREG_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static long H5T_STD_REF_DSETREG_g()
+ {
+ return H5T_STD_REF_DSETREG_g$constants.SEGMENT.get(H5T_STD_REF_DSETREG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static void H5T_STD_REF_DSETREG_g(long varValue)
+ {
+ H5T_STD_REF_DSETREG_g$constants.SEGMENT.set(H5T_STD_REF_DSETREG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_REF_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_REF_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static OfLong H5T_STD_REF_g$layout() { return H5T_STD_REF_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static MemorySegment H5T_STD_REF_g$segment() { return H5T_STD_REF_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static long H5T_STD_REF_g()
+ {
+ return H5T_STD_REF_g$constants.SEGMENT.get(H5T_STD_REF_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static void H5T_STD_REF_g(long varValue)
+ {
+ H5T_STD_REF_g$constants.SEGMENT.set(H5T_STD_REF_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_UNIX_D32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D32BE_g$layout() { return H5T_UNIX_D32BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D32BE_g$segment() { return H5T_UNIX_D32BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static long H5T_UNIX_D32BE_g()
+ {
+ return H5T_UNIX_D32BE_g$constants.SEGMENT.get(H5T_UNIX_D32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static void H5T_UNIX_D32BE_g(long varValue)
+ {
+ H5T_UNIX_D32BE_g$constants.SEGMENT.set(H5T_UNIX_D32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_UNIX_D32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D32LE_g$layout() { return H5T_UNIX_D32LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D32LE_g$segment() { return H5T_UNIX_D32LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static long H5T_UNIX_D32LE_g()
+ {
+ return H5T_UNIX_D32LE_g$constants.SEGMENT.get(H5T_UNIX_D32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static void H5T_UNIX_D32LE_g(long varValue)
+ {
+ H5T_UNIX_D32LE_g$constants.SEGMENT.set(H5T_UNIX_D32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_UNIX_D64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D64BE_g$layout() { return H5T_UNIX_D64BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D64BE_g$segment() { return H5T_UNIX_D64BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static long H5T_UNIX_D64BE_g()
+ {
+ return H5T_UNIX_D64BE_g$constants.SEGMENT.get(H5T_UNIX_D64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static void H5T_UNIX_D64BE_g(long varValue)
+ {
+ H5T_UNIX_D64BE_g$constants.SEGMENT.set(H5T_UNIX_D64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_UNIX_D64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D64LE_g$layout() { return H5T_UNIX_D64LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D64LE_g$segment() { return H5T_UNIX_D64LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static long H5T_UNIX_D64LE_g()
+ {
+ return H5T_UNIX_D64LE_g$constants.SEGMENT.get(H5T_UNIX_D64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static void H5T_UNIX_D64LE_g(long varValue)
+ {
+ H5T_UNIX_D64LE_g$constants.SEGMENT.set(H5T_UNIX_D64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_C_S1_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_C_S1_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static OfLong H5T_C_S1_g$layout() { return H5T_C_S1_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static MemorySegment H5T_C_S1_g$segment() { return H5T_C_S1_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static long H5T_C_S1_g()
+ {
+ return H5T_C_S1_g$constants.SEGMENT.get(H5T_C_S1_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static void H5T_C_S1_g(long varValue)
+ {
+ H5T_C_S1_g$constants.SEGMENT.set(H5T_C_S1_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_FORTRAN_S1_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_FORTRAN_S1_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static OfLong H5T_FORTRAN_S1_g$layout() { return H5T_FORTRAN_S1_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static MemorySegment H5T_FORTRAN_S1_g$segment() { return H5T_FORTRAN_S1_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static long H5T_FORTRAN_S1_g()
+ {
+ return H5T_FORTRAN_S1_g$constants.SEGMENT.get(H5T_FORTRAN_S1_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static void H5T_FORTRAN_S1_g(long varValue)
+ {
+ H5T_FORTRAN_S1_g$constants.SEGMENT.set(H5T_FORTRAN_S1_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_VAX_F32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_VAX_F32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static OfLong H5T_VAX_F32_g$layout() { return H5T_VAX_F32_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static MemorySegment H5T_VAX_F32_g$segment() { return H5T_VAX_F32_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static long H5T_VAX_F32_g()
+ {
+ return H5T_VAX_F32_g$constants.SEGMENT.get(H5T_VAX_F32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static void H5T_VAX_F32_g(long varValue)
+ {
+ H5T_VAX_F32_g$constants.SEGMENT.set(H5T_VAX_F32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_VAX_F64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_VAX_F64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static OfLong H5T_VAX_F64_g$layout() { return H5T_VAX_F64_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static MemorySegment H5T_VAX_F64_g$segment() { return H5T_VAX_F64_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static long H5T_VAX_F64_g()
+ {
+ return H5T_VAX_F64_g$constants.SEGMENT.get(H5T_VAX_F64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static void H5T_VAX_F64_g(long varValue)
+ {
+ H5T_VAX_F64_g$constants.SEGMENT.set(H5T_VAX_F64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_SCHAR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_SCHAR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_SCHAR_g$layout() { return H5T_NATIVE_SCHAR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_SCHAR_g$segment() { return H5T_NATIVE_SCHAR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static long H5T_NATIVE_SCHAR_g()
+ {
+ return H5T_NATIVE_SCHAR_g$constants.SEGMENT.get(H5T_NATIVE_SCHAR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static void H5T_NATIVE_SCHAR_g(long varValue)
+ {
+ H5T_NATIVE_SCHAR_g$constants.SEGMENT.set(H5T_NATIVE_SCHAR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UCHAR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UCHAR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UCHAR_g$layout() { return H5T_NATIVE_UCHAR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UCHAR_g$segment() { return H5T_NATIVE_UCHAR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static long H5T_NATIVE_UCHAR_g()
+ {
+ return H5T_NATIVE_UCHAR_g$constants.SEGMENT.get(H5T_NATIVE_UCHAR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static void H5T_NATIVE_UCHAR_g(long varValue)
+ {
+ H5T_NATIVE_UCHAR_g$constants.SEGMENT.set(H5T_NATIVE_UCHAR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_SHORT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_SHORT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_SHORT_g$layout() { return H5T_NATIVE_SHORT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_SHORT_g$segment() { return H5T_NATIVE_SHORT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static long H5T_NATIVE_SHORT_g()
+ {
+ return H5T_NATIVE_SHORT_g$constants.SEGMENT.get(H5T_NATIVE_SHORT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static void H5T_NATIVE_SHORT_g(long varValue)
+ {
+ H5T_NATIVE_SHORT_g$constants.SEGMENT.set(H5T_NATIVE_SHORT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_USHORT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_USHORT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_USHORT_g$layout() { return H5T_NATIVE_USHORT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_USHORT_g$segment()
+ {
+ return H5T_NATIVE_USHORT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static long H5T_NATIVE_USHORT_g()
+ {
+ return H5T_NATIVE_USHORT_g$constants.SEGMENT.get(H5T_NATIVE_USHORT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static void H5T_NATIVE_USHORT_g(long varValue)
+ {
+ H5T_NATIVE_USHORT_g$constants.SEGMENT.set(H5T_NATIVE_USHORT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_g$layout() { return H5T_NATIVE_INT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_g$segment() { return H5T_NATIVE_INT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_g()
+ {
+ return H5T_NATIVE_INT_g$constants.SEGMENT.get(H5T_NATIVE_INT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_g(long varValue)
+ {
+ H5T_NATIVE_INT_g$constants.SEGMENT.set(H5T_NATIVE_INT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_g$layout() { return H5T_NATIVE_UINT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_g$segment() { return H5T_NATIVE_UINT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_g()
+ {
+ return H5T_NATIVE_UINT_g$constants.SEGMENT.get(H5T_NATIVE_UINT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_g(long varValue)
+ {
+ H5T_NATIVE_UINT_g$constants.SEGMENT.set(H5T_NATIVE_UINT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_LONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_LONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LONG_g$layout() { return H5T_NATIVE_LONG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LONG_g$segment() { return H5T_NATIVE_LONG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static long H5T_NATIVE_LONG_g()
+ {
+ return H5T_NATIVE_LONG_g$constants.SEGMENT.get(H5T_NATIVE_LONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static void H5T_NATIVE_LONG_g(long varValue)
+ {
+ H5T_NATIVE_LONG_g$constants.SEGMENT.set(H5T_NATIVE_LONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_ULONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_ULONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_ULONG_g$layout() { return H5T_NATIVE_ULONG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_ULONG_g$segment() { return H5T_NATIVE_ULONG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static long H5T_NATIVE_ULONG_g()
+ {
+ return H5T_NATIVE_ULONG_g$constants.SEGMENT.get(H5T_NATIVE_ULONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static void H5T_NATIVE_ULONG_g(long varValue)
+ {
+ H5T_NATIVE_ULONG_g$constants.SEGMENT.set(H5T_NATIVE_ULONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_LLONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_LLONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LLONG_g$layout() { return H5T_NATIVE_LLONG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LLONG_g$segment() { return H5T_NATIVE_LLONG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static long H5T_NATIVE_LLONG_g()
+ {
+ return H5T_NATIVE_LLONG_g$constants.SEGMENT.get(H5T_NATIVE_LLONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static void H5T_NATIVE_LLONG_g(long varValue)
+ {
+ H5T_NATIVE_LLONG_g$constants.SEGMENT.set(H5T_NATIVE_LLONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_ULLONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_ULLONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_ULLONG_g$layout() { return H5T_NATIVE_ULLONG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_ULLONG_g$segment()
+ {
+ return H5T_NATIVE_ULLONG_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static long H5T_NATIVE_ULLONG_g()
+ {
+ return H5T_NATIVE_ULLONG_g$constants.SEGMENT.get(H5T_NATIVE_ULLONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static void H5T_NATIVE_ULLONG_g(long varValue)
+ {
+ H5T_NATIVE_ULLONG_g$constants.SEGMENT.set(H5T_NATIVE_ULLONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_FLOAT16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_FLOAT16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_FLOAT16_g$layout() { return H5T_NATIVE_FLOAT16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_FLOAT16_g$segment()
+ {
+ return H5T_NATIVE_FLOAT16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static long H5T_NATIVE_FLOAT16_g()
+ {
+ return H5T_NATIVE_FLOAT16_g$constants.SEGMENT.get(H5T_NATIVE_FLOAT16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static void H5T_NATIVE_FLOAT16_g(long varValue)
+ {
+ H5T_NATIVE_FLOAT16_g$constants.SEGMENT.set(H5T_NATIVE_FLOAT16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_FLOAT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_FLOAT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_FLOAT_g$layout() { return H5T_NATIVE_FLOAT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_FLOAT_g$segment() { return H5T_NATIVE_FLOAT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static long H5T_NATIVE_FLOAT_g()
+ {
+ return H5T_NATIVE_FLOAT_g$constants.SEGMENT.get(H5T_NATIVE_FLOAT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static void H5T_NATIVE_FLOAT_g(long varValue)
+ {
+ H5T_NATIVE_FLOAT_g$constants.SEGMENT.set(H5T_NATIVE_FLOAT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_DOUBLE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_DOUBLE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_DOUBLE_g$layout() { return H5T_NATIVE_DOUBLE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_DOUBLE_g$segment()
+ {
+ return H5T_NATIVE_DOUBLE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static long H5T_NATIVE_DOUBLE_g()
+ {
+ return H5T_NATIVE_DOUBLE_g$constants.SEGMENT.get(H5T_NATIVE_DOUBLE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static void H5T_NATIVE_DOUBLE_g(long varValue)
+ {
+ H5T_NATIVE_DOUBLE_g$constants.SEGMENT.set(H5T_NATIVE_DOUBLE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_LDOUBLE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_LDOUBLE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LDOUBLE_g$layout() { return H5T_NATIVE_LDOUBLE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LDOUBLE_g$segment()
+ {
+ return H5T_NATIVE_LDOUBLE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static long H5T_NATIVE_LDOUBLE_g()
+ {
+ return H5T_NATIVE_LDOUBLE_g$constants.SEGMENT.get(H5T_NATIVE_LDOUBLE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static void H5T_NATIVE_LDOUBLE_g(long varValue)
+ {
+ H5T_NATIVE_LDOUBLE_g$constants.SEGMENT.set(H5T_NATIVE_LDOUBLE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_FLOAT_COMPLEX_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_FLOAT_COMPLEX_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_FLOAT_COMPLEX_g$layout()
+ {
+ return H5T_NATIVE_FLOAT_COMPLEX_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_FLOAT_COMPLEX_g$segment()
+ {
+ return H5T_NATIVE_FLOAT_COMPLEX_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static long H5T_NATIVE_FLOAT_COMPLEX_g()
+ {
+ return H5T_NATIVE_FLOAT_COMPLEX_g$constants.SEGMENT.get(H5T_NATIVE_FLOAT_COMPLEX_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static void H5T_NATIVE_FLOAT_COMPLEX_g(long varValue)
+ {
+ H5T_NATIVE_FLOAT_COMPLEX_g$constants.SEGMENT.set(H5T_NATIVE_FLOAT_COMPLEX_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_DOUBLE_COMPLEX_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_DOUBLE_COMPLEX_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_DOUBLE_COMPLEX_g$layout()
+ {
+ return H5T_NATIVE_DOUBLE_COMPLEX_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_DOUBLE_COMPLEX_g$segment()
+ {
+ return H5T_NATIVE_DOUBLE_COMPLEX_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static long H5T_NATIVE_DOUBLE_COMPLEX_g()
+ {
+ return H5T_NATIVE_DOUBLE_COMPLEX_g$constants.SEGMENT.get(H5T_NATIVE_DOUBLE_COMPLEX_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static void H5T_NATIVE_DOUBLE_COMPLEX_g(long varValue)
+ {
+ H5T_NATIVE_DOUBLE_COMPLEX_g$constants.SEGMENT.set(H5T_NATIVE_DOUBLE_COMPLEX_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_LDOUBLE_COMPLEX_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_LDOUBLE_COMPLEX_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LDOUBLE_COMPLEX_g$layout()
+ {
+ return H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LDOUBLE_COMPLEX_g$segment()
+ {
+ return H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static long H5T_NATIVE_LDOUBLE_COMPLEX_g()
+ {
+ return H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.SEGMENT.get(
+ H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static void H5T_NATIVE_LDOUBLE_COMPLEX_g(long varValue)
+ {
+ H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.SEGMENT.set(H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_B8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_B8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B8_g$layout() { return H5T_NATIVE_B8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B8_g$segment() { return H5T_NATIVE_B8_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static long H5T_NATIVE_B8_g()
+ {
+ return H5T_NATIVE_B8_g$constants.SEGMENT.get(H5T_NATIVE_B8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static void H5T_NATIVE_B8_g(long varValue)
+ {
+ H5T_NATIVE_B8_g$constants.SEGMENT.set(H5T_NATIVE_B8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_B16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_B16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B16_g$layout() { return H5T_NATIVE_B16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B16_g$segment() { return H5T_NATIVE_B16_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static long H5T_NATIVE_B16_g()
+ {
+ return H5T_NATIVE_B16_g$constants.SEGMENT.get(H5T_NATIVE_B16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static void H5T_NATIVE_B16_g(long varValue)
+ {
+ H5T_NATIVE_B16_g$constants.SEGMENT.set(H5T_NATIVE_B16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_B32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_B32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B32_g$layout() { return H5T_NATIVE_B32_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B32_g$segment() { return H5T_NATIVE_B32_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static long H5T_NATIVE_B32_g()
+ {
+ return H5T_NATIVE_B32_g$constants.SEGMENT.get(H5T_NATIVE_B32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static void H5T_NATIVE_B32_g(long varValue)
+ {
+ H5T_NATIVE_B32_g$constants.SEGMENT.set(H5T_NATIVE_B32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_B64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_B64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B64_g$layout() { return H5T_NATIVE_B64_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B64_g$segment() { return H5T_NATIVE_B64_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static long H5T_NATIVE_B64_g()
+ {
+ return H5T_NATIVE_B64_g$constants.SEGMENT.get(H5T_NATIVE_B64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static void H5T_NATIVE_B64_g(long varValue)
+ {
+ H5T_NATIVE_B64_g$constants.SEGMENT.set(H5T_NATIVE_B64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_OPAQUE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_OPAQUE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_OPAQUE_g$layout() { return H5T_NATIVE_OPAQUE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_OPAQUE_g$segment()
+ {
+ return H5T_NATIVE_OPAQUE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static long H5T_NATIVE_OPAQUE_g()
+ {
+ return H5T_NATIVE_OPAQUE_g$constants.SEGMENT.get(H5T_NATIVE_OPAQUE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static void H5T_NATIVE_OPAQUE_g(long varValue)
+ {
+ H5T_NATIVE_OPAQUE_g$constants.SEGMENT.set(H5T_NATIVE_OPAQUE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HADDR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HADDR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HADDR_g$layout() { return H5T_NATIVE_HADDR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HADDR_g$segment() { return H5T_NATIVE_HADDR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static long H5T_NATIVE_HADDR_g()
+ {
+ return H5T_NATIVE_HADDR_g$constants.SEGMENT.get(H5T_NATIVE_HADDR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static void H5T_NATIVE_HADDR_g(long varValue)
+ {
+ H5T_NATIVE_HADDR_g$constants.SEGMENT.set(H5T_NATIVE_HADDR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HSIZE_g$layout() { return H5T_NATIVE_HSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HSIZE_g$segment() { return H5T_NATIVE_HSIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static long H5T_NATIVE_HSIZE_g()
+ {
+ return H5T_NATIVE_HSIZE_g$constants.SEGMENT.get(H5T_NATIVE_HSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static void H5T_NATIVE_HSIZE_g(long varValue)
+ {
+ H5T_NATIVE_HSIZE_g$constants.SEGMENT.set(H5T_NATIVE_HSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HSSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HSSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HSSIZE_g$layout() { return H5T_NATIVE_HSSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HSSIZE_g$segment()
+ {
+ return H5T_NATIVE_HSSIZE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static long H5T_NATIVE_HSSIZE_g()
+ {
+ return H5T_NATIVE_HSSIZE_g$constants.SEGMENT.get(H5T_NATIVE_HSSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static void H5T_NATIVE_HSSIZE_g(long varValue)
+ {
+ H5T_NATIVE_HSSIZE_g$constants.SEGMENT.set(H5T_NATIVE_HSSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HERR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HERR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HERR_g$layout() { return H5T_NATIVE_HERR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HERR_g$segment() { return H5T_NATIVE_HERR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static long H5T_NATIVE_HERR_g()
+ {
+ return H5T_NATIVE_HERR_g$constants.SEGMENT.get(H5T_NATIVE_HERR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static void H5T_NATIVE_HERR_g(long varValue)
+ {
+ H5T_NATIVE_HERR_g$constants.SEGMENT.set(H5T_NATIVE_HERR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HBOOL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HBOOL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HBOOL_g$layout() { return H5T_NATIVE_HBOOL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HBOOL_g$segment() { return H5T_NATIVE_HBOOL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static long H5T_NATIVE_HBOOL_g()
+ {
+ return H5T_NATIVE_HBOOL_g$constants.SEGMENT.get(H5T_NATIVE_HBOOL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static void H5T_NATIVE_HBOOL_g(long varValue)
+ {
+ H5T_NATIVE_HBOOL_g$constants.SEGMENT.set(H5T_NATIVE_HBOOL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT8_g$layout() { return H5T_NATIVE_INT8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT8_g$segment() { return H5T_NATIVE_INT8_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static long H5T_NATIVE_INT8_g()
+ {
+ return H5T_NATIVE_INT8_g$constants.SEGMENT.get(H5T_NATIVE_INT8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static void H5T_NATIVE_INT8_g(long varValue)
+ {
+ H5T_NATIVE_INT8_g$constants.SEGMENT.set(H5T_NATIVE_INT8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT8_g$layout() { return H5T_NATIVE_UINT8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT8_g$segment() { return H5T_NATIVE_UINT8_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT8_g()
+ {
+ return H5T_NATIVE_UINT8_g$constants.SEGMENT.get(H5T_NATIVE_UINT8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT8_g(long varValue)
+ {
+ H5T_NATIVE_UINT8_g$constants.SEGMENT.set(H5T_NATIVE_UINT8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST8_g$layout() { return H5T_NATIVE_INT_LEAST8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST8_g$segment()
+ {
+ return H5T_NATIVE_INT_LEAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST8_g()
+ {
+ return H5T_NATIVE_INT_LEAST8_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST8_g(long varValue)
+ {
+ H5T_NATIVE_INT_LEAST8_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST8_g$layout()
+ {
+ return H5T_NATIVE_UINT_LEAST8_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST8_g$segment()
+ {
+ return H5T_NATIVE_UINT_LEAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST8_g()
+ {
+ return H5T_NATIVE_UINT_LEAST8_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST8_g(long varValue)
+ {
+ H5T_NATIVE_UINT_LEAST8_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST8_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST8_g$layout() { return H5T_NATIVE_INT_FAST8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST8_g$segment()
+ {
+ return H5T_NATIVE_INT_FAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST8_g()
+ {
+ return H5T_NATIVE_INT_FAST8_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST8_g(long varValue)
+ {
+ H5T_NATIVE_INT_FAST8_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST8_g$layout() { return H5T_NATIVE_UINT_FAST8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST8_g$segment()
+ {
+ return H5T_NATIVE_UINT_FAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST8_g()
+ {
+ return H5T_NATIVE_UINT_FAST8_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST8_g(long varValue)
+ {
+ H5T_NATIVE_UINT_FAST8_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT16_g$layout() { return H5T_NATIVE_INT16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT16_g$segment() { return H5T_NATIVE_INT16_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static long H5T_NATIVE_INT16_g()
+ {
+ return H5T_NATIVE_INT16_g$constants.SEGMENT.get(H5T_NATIVE_INT16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static void H5T_NATIVE_INT16_g(long varValue)
+ {
+ H5T_NATIVE_INT16_g$constants.SEGMENT.set(H5T_NATIVE_INT16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT16_g$layout() { return H5T_NATIVE_UINT16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT16_g$segment()
+ {
+ return H5T_NATIVE_UINT16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT16_g()
+ {
+ return H5T_NATIVE_UINT16_g$constants.SEGMENT.get(H5T_NATIVE_UINT16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT16_g(long varValue)
+ {
+ H5T_NATIVE_UINT16_g$constants.SEGMENT.set(H5T_NATIVE_UINT16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST16_g$layout()
+ {
+ return H5T_NATIVE_INT_LEAST16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST16_g$segment()
+ {
+ return H5T_NATIVE_INT_LEAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST16_g()
+ {
+ return H5T_NATIVE_INT_LEAST16_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST16_g(long varValue)
+ {
+ H5T_NATIVE_INT_LEAST16_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST16_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST16_g$layout()
+ {
+ return H5T_NATIVE_UINT_LEAST16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST16_g$segment()
+ {
+ return H5T_NATIVE_UINT_LEAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST16_g()
+ {
+ return H5T_NATIVE_UINT_LEAST16_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST16_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST16_g(long varValue)
+ {
+ H5T_NATIVE_UINT_LEAST16_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST16_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST16_g$layout() { return H5T_NATIVE_INT_FAST16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST16_g$segment()
+ {
+ return H5T_NATIVE_INT_FAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST16_g()
+ {
+ return H5T_NATIVE_INT_FAST16_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST16_g(long varValue)
+ {
+ H5T_NATIVE_INT_FAST16_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST16_g$layout()
+ {
+ return H5T_NATIVE_UINT_FAST16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST16_g$segment()
+ {
+ return H5T_NATIVE_UINT_FAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST16_g()
+ {
+ return H5T_NATIVE_UINT_FAST16_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST16_g(long varValue)
+ {
+ H5T_NATIVE_UINT_FAST16_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST16_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT32_g$layout() { return H5T_NATIVE_INT32_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT32_g$segment() { return H5T_NATIVE_INT32_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static long H5T_NATIVE_INT32_g()
+ {
+ return H5T_NATIVE_INT32_g$constants.SEGMENT.get(H5T_NATIVE_INT32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static void H5T_NATIVE_INT32_g(long varValue)
+ {
+ H5T_NATIVE_INT32_g$constants.SEGMENT.set(H5T_NATIVE_INT32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT32_g$layout() { return H5T_NATIVE_UINT32_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT32_g$segment()
+ {
+ return H5T_NATIVE_UINT32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT32_g()
+ {
+ return H5T_NATIVE_UINT32_g$constants.SEGMENT.get(H5T_NATIVE_UINT32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT32_g(long varValue)
+ {
+ H5T_NATIVE_UINT32_g$constants.SEGMENT.set(H5T_NATIVE_UINT32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST32_g$layout()
+ {
+ return H5T_NATIVE_INT_LEAST32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST32_g$segment()
+ {
+ return H5T_NATIVE_INT_LEAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST32_g()
+ {
+ return H5T_NATIVE_INT_LEAST32_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST32_g(long varValue)
+ {
+ H5T_NATIVE_INT_LEAST32_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST32_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST32_g$layout()
+ {
+ return H5T_NATIVE_UINT_LEAST32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST32_g$segment()
+ {
+ return H5T_NATIVE_UINT_LEAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST32_g()
+ {
+ return H5T_NATIVE_UINT_LEAST32_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST32_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST32_g(long varValue)
+ {
+ H5T_NATIVE_UINT_LEAST32_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST32_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST32_g$layout() { return H5T_NATIVE_INT_FAST32_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST32_g$segment()
+ {
+ return H5T_NATIVE_INT_FAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST32_g()
+ {
+ return H5T_NATIVE_INT_FAST32_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST32_g(long varValue)
+ {
+ H5T_NATIVE_INT_FAST32_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST32_g$layout()
+ {
+ return H5T_NATIVE_UINT_FAST32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST32_g$segment()
+ {
+ return H5T_NATIVE_UINT_FAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST32_g()
+ {
+ return H5T_NATIVE_UINT_FAST32_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST32_g(long varValue)
+ {
+ H5T_NATIVE_UINT_FAST32_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST32_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT64_g$layout() { return H5T_NATIVE_INT64_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT64_g$segment() { return H5T_NATIVE_INT64_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static long H5T_NATIVE_INT64_g()
+ {
+ return H5T_NATIVE_INT64_g$constants.SEGMENT.get(H5T_NATIVE_INT64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static void H5T_NATIVE_INT64_g(long varValue)
+ {
+ H5T_NATIVE_INT64_g$constants.SEGMENT.set(H5T_NATIVE_INT64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT64_g$layout() { return H5T_NATIVE_UINT64_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT64_g$segment()
+ {
+ return H5T_NATIVE_UINT64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT64_g()
+ {
+ return H5T_NATIVE_UINT64_g$constants.SEGMENT.get(H5T_NATIVE_UINT64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT64_g(long varValue)
+ {
+ H5T_NATIVE_UINT64_g$constants.SEGMENT.set(H5T_NATIVE_UINT64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST64_g$layout()
+ {
+ return H5T_NATIVE_INT_LEAST64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST64_g$segment()
+ {
+ return H5T_NATIVE_INT_LEAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST64_g()
+ {
+ return H5T_NATIVE_INT_LEAST64_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST64_g(long varValue)
+ {
+ H5T_NATIVE_INT_LEAST64_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST64_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST64_g$layout()
+ {
+ return H5T_NATIVE_UINT_LEAST64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST64_g$segment()
+ {
+ return H5T_NATIVE_UINT_LEAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST64_g()
+ {
+ return H5T_NATIVE_UINT_LEAST64_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST64_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST64_g(long varValue)
+ {
+ H5T_NATIVE_UINT_LEAST64_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST64_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST64_g$layout() { return H5T_NATIVE_INT_FAST64_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST64_g$segment()
+ {
+ return H5T_NATIVE_INT_FAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST64_g()
+ {
+ return H5T_NATIVE_INT_FAST64_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST64_g(long varValue)
+ {
+ H5T_NATIVE_INT_FAST64_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST64_g$layout()
+ {
+ return H5T_NATIVE_UINT_FAST64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST64_g$segment()
+ {
+ return H5T_NATIVE_UINT_FAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST64_g()
+ {
+ return H5T_NATIVE_UINT_FAST64_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST64_g(long varValue)
+ {
+ H5T_NATIVE_UINT_FAST64_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST64_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5Tcreate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Tcreate$descriptor() { return H5Tcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static MethodHandle H5Tcreate$handle() { return H5Tcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static MemorySegment H5Tcreate$address() { return H5Tcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static long H5Tcreate(int type, long size)
+ {
+ var mh$ = H5Tcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcreate", type, size);
+ }
+ return (long)mh$.invokeExact(type, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcopy$descriptor() { return H5Tcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tcopy$handle() { return H5Tcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tcopy$address() { return H5Tcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static long H5Tcopy(long type_id)
+ {
+ var mh$ = H5Tcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcopy", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tclose$descriptor() { return H5Tclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tclose$handle() { return H5Tclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tclose$address() { return H5Tclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static int H5Tclose(long type_id)
+ {
+ var mh$ = H5Tclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tclose", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tclose_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tclose_async$descriptor() { return H5Tclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Tclose_async$handle() { return H5Tclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Tclose_async$address() { return H5Tclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Tclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long type_id, long es_id)
+ {
+ var mh$ = H5Tclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tclose_async", app_file, app_func, app_line, type_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, type_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tequal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tequal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tequal$descriptor() { return H5Tequal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static MethodHandle H5Tequal$handle() { return H5Tequal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static MemorySegment H5Tequal$address() { return H5Tequal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static int H5Tequal(long type1_id, long type2_id)
+ {
+ var mh$ = H5Tequal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tequal", type1_id, type2_id);
+ }
+ return (int)mh$.invokeExact(type1_id, type2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tlock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tlock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tlock$descriptor() { return H5Tlock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tlock$handle() { return H5Tlock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tlock$address() { return H5Tlock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static int H5Tlock(long type_id)
+ {
+ var mh$ = H5Tlock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tlock", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t
+ * tapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit2$descriptor() { return H5Tcommit2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t
+ * tapl_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit2$handle() { return H5Tcommit2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t
+ * tapl_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit2$address() { return H5Tcommit2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t
+ * tapl_id)
+ * }
+ */
+ public static int H5Tcommit2(long loc_id, MemorySegment name, long type_id, long lcpl_id, long tcpl_id,
+ long tapl_id)
+ {
+ var mh$ = H5Tcommit2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit2", loc_id, name, type_id, lcpl_id, tcpl_id, tapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, type_id, lcpl_id, tcpl_id, tapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit_async$descriptor() { return H5Tcommit_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit_async$handle() { return H5Tcommit_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit_async$address() { return H5Tcommit_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Tcommit_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long type_id, long lcpl_id,
+ long tcpl_id, long tapl_id, long es_id)
+ {
+ var mh$ = H5Tcommit_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit_async", app_file, app_func, app_line, loc_id, name, type_id, lcpl_id,
+ tcpl_id, tapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, type_id, lcpl_id, tcpl_id,
+ tapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Topen2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Topen2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Topen2$descriptor() { return H5Topen2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static MethodHandle H5Topen2$handle() { return H5Topen2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static MemorySegment H5Topen2$address() { return H5Topen2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static long H5Topen2(long loc_id, MemorySegment name, long tapl_id)
+ {
+ var mh$ = H5Topen2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Topen2", loc_id, name, tapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, tapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Topen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Topen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Topen_async$descriptor() { return H5Topen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Topen_async$handle() { return H5Topen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Topen_async$address() { return H5Topen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Topen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long tapl_id, long es_id)
+ {
+ var mh$ = H5Topen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Topen_async", app_file, app_func, app_line, loc_id, name, tapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, tapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit_anon {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit_anon");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit_anon$descriptor() { return H5Tcommit_anon.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit_anon$handle() { return H5Tcommit_anon.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit_anon$address() { return H5Tcommit_anon.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static int H5Tcommit_anon(long loc_id, long type_id, long tcpl_id, long tapl_id)
+ {
+ var mh$ = H5Tcommit_anon.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit_anon", loc_id, type_id, tcpl_id, tapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, type_id, tcpl_id, tapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_create_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_create_plist$descriptor() { return H5Tget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_create_plist$handle() { return H5Tget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_create_plist$address() { return H5Tget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_create_plist(long type_id)
+ {
+ var mh$ = H5Tget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_create_plist", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommitted {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommitted");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommitted$descriptor() { return H5Tcommitted.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tcommitted$handle() { return H5Tcommitted.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tcommitted$address() { return H5Tcommitted.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static int H5Tcommitted(long type_id)
+ {
+ var mh$ = H5Tcommitted.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommitted", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tencode {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tencode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static FunctionDescriptor H5Tencode$descriptor() { return H5Tencode.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MethodHandle H5Tencode$handle() { return H5Tencode.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MemorySegment H5Tencode$address() { return H5Tencode.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static int H5Tencode(long obj_id, MemorySegment buf, MemorySegment nalloc)
+ {
+ var mh$ = H5Tencode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tencode", obj_id, buf, nalloc);
+ }
+ return (int)mh$.invokeExact(obj_id, buf, nalloc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tdecode2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tdecode2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Tdecode2$descriptor() { return H5Tdecode2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5Tdecode2$handle() { return H5Tdecode2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5Tdecode2$address() { return H5Tdecode2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static long H5Tdecode2(MemorySegment buf, long buf_size)
+ {
+ var mh$ = H5Tdecode2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tdecode2", buf, buf_size);
+ }
+ return (long)mh$.invokeExact(buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tflush$descriptor() { return H5Tflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tflush$handle() { return H5Tflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tflush$address() { return H5Tflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static int H5Tflush(long type_id)
+ {
+ var mh$ = H5Tflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tflush", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Trefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Trefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Trefresh$descriptor() { return H5Trefresh.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Trefresh$handle() { return H5Trefresh.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Trefresh$address() { return H5Trefresh.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static int H5Trefresh(long type_id)
+ {
+ var mh$ = H5Trefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Trefresh", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tinsert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tinsert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tinsert$descriptor() { return H5Tinsert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static MethodHandle H5Tinsert$handle() { return H5Tinsert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static MemorySegment H5Tinsert$address() { return H5Tinsert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static int H5Tinsert(long parent_id, MemorySegment name, long offset, long member_id)
+ {
+ var mh$ = H5Tinsert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tinsert", parent_id, name, offset, member_id);
+ }
+ return (int)mh$.invokeExact(parent_id, name, offset, member_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tpack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tpack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tpack$descriptor() { return H5Tpack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tpack$handle() { return H5Tpack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tpack$address() { return H5Tpack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static int H5Tpack(long type_id)
+ {
+ var mh$ = H5Tpack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tpack", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_create$descriptor() { return H5Tenum_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static MethodHandle H5Tenum_create$handle() { return H5Tenum_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static MemorySegment H5Tenum_create$address() { return H5Tenum_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static long H5Tenum_create(long base_id)
+ {
+ var mh$ = H5Tenum_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_create", base_id);
+ }
+ return (long)mh$.invokeExact(base_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_insert {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_insert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_insert$descriptor() { return H5Tenum_insert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static MethodHandle H5Tenum_insert$handle() { return H5Tenum_insert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static MemorySegment H5Tenum_insert$address() { return H5Tenum_insert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static int H5Tenum_insert(long type, MemorySegment name, MemorySegment value)
+ {
+ var mh$ = H5Tenum_insert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_insert", type, name, value);
+ }
+ return (int)mh$.invokeExact(type, name, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_nameof {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_nameof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_nameof$descriptor() { return H5Tenum_nameof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Tenum_nameof$handle() { return H5Tenum_nameof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Tenum_nameof$address() { return H5Tenum_nameof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static int H5Tenum_nameof(long type, MemorySegment value, MemorySegment name, long size)
+ {
+ var mh$ = H5Tenum_nameof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_nameof", type, value, name, size);
+ }
+ return (int)mh$.invokeExact(type, value, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_valueof {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_valueof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_valueof$descriptor() { return H5Tenum_valueof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static MethodHandle H5Tenum_valueof$handle() { return H5Tenum_valueof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static MemorySegment H5Tenum_valueof$address() { return H5Tenum_valueof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static int H5Tenum_valueof(long type, MemorySegment name, MemorySegment value)
+ {
+ var mh$ = H5Tenum_valueof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_valueof", type, name, value);
+ }
+ return (int)mh$.invokeExact(type, name, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tvlen_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tvlen_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tvlen_create$descriptor() { return H5Tvlen_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static MethodHandle H5Tvlen_create$handle() { return H5Tvlen_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static MemorySegment H5Tvlen_create$address() { return H5Tvlen_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static long H5Tvlen_create(long base_id)
+ {
+ var mh$ = H5Tvlen_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tvlen_create", base_id);
+ }
+ return (long)mh$.invokeExact(base_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tarray_create2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tarray_create2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static FunctionDescriptor H5Tarray_create2$descriptor() { return H5Tarray_create2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MethodHandle H5Tarray_create2$handle() { return H5Tarray_create2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MemorySegment H5Tarray_create2$address() { return H5Tarray_create2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static long H5Tarray_create2(long base_id, int ndims, MemorySegment dim)
+ {
+ var mh$ = H5Tarray_create2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tarray_create2", base_id, ndims, dim);
+ }
+ return (long)mh$.invokeExact(base_id, ndims, dim);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_array_ndims {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_array_ndims");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_array_ndims$descriptor() { return H5Tget_array_ndims.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_array_ndims$handle() { return H5Tget_array_ndims.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_array_ndims$address() { return H5Tget_array_ndims.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_array_ndims(long type_id)
+ {
+ var mh$ = H5Tget_array_ndims.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_array_ndims", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_array_dims2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_array_dims2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static FunctionDescriptor H5Tget_array_dims2$descriptor() { return H5Tget_array_dims2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static MethodHandle H5Tget_array_dims2$handle() { return H5Tget_array_dims2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static MemorySegment H5Tget_array_dims2$address() { return H5Tget_array_dims2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static int H5Tget_array_dims2(long type_id, MemorySegment dims)
+ {
+ var mh$ = H5Tget_array_dims2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_array_dims2", type_id, dims);
+ }
+ return (int)mh$.invokeExact(type_id, dims);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcomplex_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcomplex_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcomplex_create$descriptor() { return H5Tcomplex_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static MethodHandle H5Tcomplex_create$handle() { return H5Tcomplex_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static MemorySegment H5Tcomplex_create$address() { return H5Tcomplex_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static long H5Tcomplex_create(long base_type_id)
+ {
+ var mh$ = H5Tcomplex_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcomplex_create", base_type_id);
+ }
+ return (long)mh$.invokeExact(base_type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_tag {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_tag");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_tag$descriptor() { return H5Tset_tag.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static MethodHandle H5Tset_tag$handle() { return H5Tset_tag.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static MemorySegment H5Tset_tag$address() { return H5Tset_tag.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static int H5Tset_tag(long type, MemorySegment tag)
+ {
+ var mh$ = H5Tset_tag.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_tag", type, tag);
+ }
+ return (int)mh$.invokeExact(type, tag);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_tag {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_tag");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_tag$descriptor() { return H5Tget_tag.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static MethodHandle H5Tget_tag$handle() { return H5Tget_tag.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static MemorySegment H5Tget_tag$address() { return H5Tget_tag.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static MemorySegment H5Tget_tag(long type)
+ {
+ var mh$ = H5Tget_tag.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_tag", type);
+ }
+ return (MemorySegment)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_super {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_super");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_super$descriptor() { return H5Tget_super.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static MethodHandle H5Tget_super$handle() { return H5Tget_super.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static MemorySegment H5Tget_super$address() { return H5Tget_super.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static long H5Tget_super(long type)
+ {
+ var mh$ = H5Tget_super.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_super", type);
+ }
+ return (long)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_class$descriptor() { return H5Tget_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_class$handle() { return H5Tget_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_class$address() { return H5Tget_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_class(long type_id)
+ {
+ var mh$ = H5Tget_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_class", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tdetect_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tdetect_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static FunctionDescriptor H5Tdetect_class$descriptor() { return H5Tdetect_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static MethodHandle H5Tdetect_class$handle() { return H5Tdetect_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static MemorySegment H5Tdetect_class$address() { return H5Tdetect_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static int H5Tdetect_class(long type_id, int cls)
+ {
+ var mh$ = H5Tdetect_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tdetect_class", type_id, cls);
+ }
+ return (int)mh$.invokeExact(type_id, cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_size$descriptor() { return H5Tget_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_size$handle() { return H5Tget_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_size$address() { return H5Tget_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_size(long type_id)
+ {
+ var mh$ = H5Tget_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_size", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_order {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_order$descriptor() { return H5Tget_order.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_order$handle() { return H5Tget_order.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_order$address() { return H5Tget_order.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_order(long type_id)
+ {
+ var mh$ = H5Tget_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_order", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_precision {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_precision");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_precision$descriptor() { return H5Tget_precision.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_precision$handle() { return H5Tget_precision.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_precision$address() { return H5Tget_precision.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_precision(long type_id)
+ {
+ var mh$ = H5Tget_precision.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_precision", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_offset {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_offset$descriptor() { return H5Tget_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_offset$handle() { return H5Tget_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_offset$address() { return H5Tget_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_offset(long type_id)
+ {
+ var mh$ = H5Tget_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_offset", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_pad {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_pad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_pad$descriptor() { return H5Tget_pad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static MethodHandle H5Tget_pad$handle() { return H5Tget_pad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static MemorySegment H5Tget_pad$address() { return H5Tget_pad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static int H5Tget_pad(long type_id, MemorySegment lsb, MemorySegment msb)
+ {
+ var mh$ = H5Tget_pad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_pad", type_id, lsb, msb);
+ }
+ return (int)mh$.invokeExact(type_id, lsb, msb);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_sign {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_sign");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_sign$descriptor() { return H5Tget_sign.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_sign$handle() { return H5Tget_sign.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_sign$address() { return H5Tget_sign.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_sign(long type_id)
+ {
+ var mh$ = H5Tget_sign.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_sign", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_fields {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_fields");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t
+ * *msize)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_fields$descriptor() { return H5Tget_fields.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t
+ * *msize)
+ * }
+ */
+ public static MethodHandle H5Tget_fields$handle() { return H5Tget_fields.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t
+ * *msize)
+ * }
+ */
+ public static MemorySegment H5Tget_fields$address() { return H5Tget_fields.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t
+ * *msize)
+ * }
+ */
+ public static int H5Tget_fields(long type_id, MemorySegment spos, MemorySegment epos, MemorySegment esize,
+ MemorySegment mpos, MemorySegment msize)
+ {
+ var mh$ = H5Tget_fields.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_fields", type_id, spos, epos, esize, mpos, msize);
+ }
+ return (int)mh$.invokeExact(type_id, spos, epos, esize, mpos, msize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_ebias {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_ebias");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_ebias$descriptor() { return H5Tget_ebias.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_ebias$handle() { return H5Tget_ebias.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_ebias$address() { return H5Tget_ebias.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_ebias(long type_id)
+ {
+ var mh$ = H5Tget_ebias.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_ebias", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_norm {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_norm");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_norm$descriptor() { return H5Tget_norm.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_norm$handle() { return H5Tget_norm.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_norm$address() { return H5Tget_norm.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_norm(long type_id)
+ {
+ var mh$ = H5Tget_norm.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_norm", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_inpad {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_inpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_inpad$descriptor() { return H5Tget_inpad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_inpad$handle() { return H5Tget_inpad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_inpad$address() { return H5Tget_inpad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_inpad(long type_id)
+ {
+ var mh$ = H5Tget_inpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_inpad", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_strpad {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_strpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_strpad$descriptor() { return H5Tget_strpad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_strpad$handle() { return H5Tget_strpad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_strpad$address() { return H5Tget_strpad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_strpad(long type_id)
+ {
+ var mh$ = H5Tget_strpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_strpad", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_nmembers {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_nmembers");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_nmembers$descriptor() { return H5Tget_nmembers.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_nmembers$handle() { return H5Tget_nmembers.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_nmembers$address() { return H5Tget_nmembers.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_nmembers(long type_id)
+ {
+ var mh$ = H5Tget_nmembers.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_nmembers", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_name$descriptor() { return H5Tget_member_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_name$handle() { return H5Tget_member_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_name$address() { return H5Tget_member_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_name(long type_id, int membno)
+ {
+ var mh$ = H5Tget_member_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_name", type_id, membno);
+ }
+ return (MemorySegment)mh$.invokeExact(type_id, membno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_index {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_index");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_index$descriptor() { return H5Tget_member_index.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Tget_member_index$handle() { return H5Tget_member_index.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Tget_member_index$address() { return H5Tget_member_index.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static int H5Tget_member_index(long type_id, MemorySegment name)
+ {
+ var mh$ = H5Tget_member_index.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_index", type_id, name);
+ }
+ return (int)mh$.invokeExact(type_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_offset$descriptor() { return H5Tget_member_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_offset$handle() { return H5Tget_member_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_offset$address() { return H5Tget_member_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static long H5Tget_member_offset(long type_id, int membno)
+ {
+ var mh$ = H5Tget_member_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_offset", type_id, membno);
+ }
+ return (long)mh$.invokeExact(type_id, membno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_class$descriptor() { return H5Tget_member_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_class$handle() { return H5Tget_member_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_class$address() { return H5Tget_member_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static int H5Tget_member_class(long type_id, int membno)
+ {
+ var mh$ = H5Tget_member_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_class", type_id, membno);
+ }
+ return (int)mh$.invokeExact(type_id, membno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_type$descriptor() { return H5Tget_member_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_type$handle() { return H5Tget_member_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_type$address() { return H5Tget_member_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static long H5Tget_member_type(long type_id, int membno)
+ {
+ var mh$ = H5Tget_member_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_type", type_id, membno);
+ }
+ return (long)mh$.invokeExact(type_id, membno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_value$descriptor() { return H5Tget_member_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static MethodHandle H5Tget_member_value$handle() { return H5Tget_member_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static MemorySegment H5Tget_member_value$address() { return H5Tget_member_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static int H5Tget_member_value(long type_id, int membno, MemorySegment value)
+ {
+ var mh$ = H5Tget_member_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_value", type_id, membno, value);
+ }
+ return (int)mh$.invokeExact(type_id, membno, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_cset {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_cset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_cset$descriptor() { return H5Tget_cset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_cset$handle() { return H5Tget_cset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_cset$address() { return H5Tget_cset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_cset(long type_id)
+ {
+ var mh$ = H5Tget_cset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_cset", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tis_variable_str {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tis_variable_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tis_variable_str$descriptor() { return H5Tis_variable_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tis_variable_str$handle() { return H5Tis_variable_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tis_variable_str$address() { return H5Tis_variable_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static int H5Tis_variable_str(long type_id)
+ {
+ var mh$ = H5Tis_variable_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tis_variable_str", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_native_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_native_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_native_type$descriptor() { return H5Tget_native_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static MethodHandle H5Tget_native_type$handle() { return H5Tget_native_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static MemorySegment H5Tget_native_type$address() { return H5Tget_native_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static long H5Tget_native_type(long type_id, int direction)
+ {
+ var mh$ = H5Tget_native_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_native_type", type_id, direction);
+ }
+ return (long)mh$.invokeExact(type_id, direction);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_size$descriptor() { return H5Tset_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static MethodHandle H5Tset_size$handle() { return H5Tset_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static MemorySegment H5Tset_size$address() { return H5Tset_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static int H5Tset_size(long type_id, long size)
+ {
+ var mh$ = H5Tset_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_size", type_id, size);
+ }
+ return (int)mh$.invokeExact(type_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_order$descriptor() { return H5Tset_order.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static MethodHandle H5Tset_order$handle() { return H5Tset_order.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static MemorySegment H5Tset_order$address() { return H5Tset_order.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static int H5Tset_order(long type_id, int order)
+ {
+ var mh$ = H5Tset_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_order", type_id, order);
+ }
+ return (int)mh$.invokeExact(type_id, order);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_precision {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_precision");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_precision$descriptor() { return H5Tset_precision.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static MethodHandle H5Tset_precision$handle() { return H5Tset_precision.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static MemorySegment H5Tset_precision$address() { return H5Tset_precision.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static int H5Tset_precision(long type_id, long prec)
+ {
+ var mh$ = H5Tset_precision.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_precision", type_id, prec);
+ }
+ return (int)mh$.invokeExact(type_id, prec);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_offset$descriptor() { return H5Tset_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static MethodHandle H5Tset_offset$handle() { return H5Tset_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static MemorySegment H5Tset_offset$address() { return H5Tset_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static int H5Tset_offset(long type_id, long offset)
+ {
+ var mh$ = H5Tset_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_offset", type_id, offset);
+ }
+ return (int)mh$.invokeExact(type_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_pad {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_pad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_pad$descriptor() { return H5Tset_pad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static MethodHandle H5Tset_pad$handle() { return H5Tset_pad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static MemorySegment H5Tset_pad$address() { return H5Tset_pad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static int H5Tset_pad(long type_id, int lsb, int msb)
+ {
+ var mh$ = H5Tset_pad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_pad", type_id, lsb, msb);
+ }
+ return (int)mh$.invokeExact(type_id, lsb, msb);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_sign {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_sign");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_sign$descriptor() { return H5Tset_sign.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static MethodHandle H5Tset_sign$handle() { return H5Tset_sign.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static MemorySegment H5Tset_sign$address() { return H5Tset_sign.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static int H5Tset_sign(long type_id, int sign)
+ {
+ var mh$ = H5Tset_sign.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_sign", type_id, sign);
+ }
+ return (int)mh$.invokeExact(type_id, sign);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_fields {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_fields");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_fields$descriptor() { return H5Tset_fields.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static MethodHandle H5Tset_fields$handle() { return H5Tset_fields.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static MemorySegment H5Tset_fields$address() { return H5Tset_fields.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static int H5Tset_fields(long type_id, long spos, long epos, long esize, long mpos, long msize)
+ {
+ var mh$ = H5Tset_fields.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_fields", type_id, spos, epos, esize, mpos, msize);
+ }
+ return (int)mh$.invokeExact(type_id, spos, epos, esize, mpos, msize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_ebias {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_ebias");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_ebias$descriptor() { return H5Tset_ebias.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static MethodHandle H5Tset_ebias$handle() { return H5Tset_ebias.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static MemorySegment H5Tset_ebias$address() { return H5Tset_ebias.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static int H5Tset_ebias(long type_id, long ebias)
+ {
+ var mh$ = H5Tset_ebias.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_ebias", type_id, ebias);
+ }
+ return (int)mh$.invokeExact(type_id, ebias);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_norm {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_norm");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_norm$descriptor() { return H5Tset_norm.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static MethodHandle H5Tset_norm$handle() { return H5Tset_norm.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static MemorySegment H5Tset_norm$address() { return H5Tset_norm.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static int H5Tset_norm(long type_id, int norm)
+ {
+ var mh$ = H5Tset_norm.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_norm", type_id, norm);
+ }
+ return (int)mh$.invokeExact(type_id, norm);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_inpad {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_inpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_inpad$descriptor() { return H5Tset_inpad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static MethodHandle H5Tset_inpad$handle() { return H5Tset_inpad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static MemorySegment H5Tset_inpad$address() { return H5Tset_inpad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static int H5Tset_inpad(long type_id, int pad)
+ {
+ var mh$ = H5Tset_inpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_inpad", type_id, pad);
+ }
+ return (int)mh$.invokeExact(type_id, pad);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_cset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_cset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_cset$descriptor() { return H5Tset_cset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static MethodHandle H5Tset_cset$handle() { return H5Tset_cset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static MemorySegment H5Tset_cset$address() { return H5Tset_cset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static int H5Tset_cset(long type_id, int cset)
+ {
+ var mh$ = H5Tset_cset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_cset", type_id, cset);
+ }
+ return (int)mh$.invokeExact(type_id, cset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_strpad {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_strpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_strpad$descriptor() { return H5Tset_strpad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static MethodHandle H5Tset_strpad$handle() { return H5Tset_strpad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static MemorySegment H5Tset_strpad$address() { return H5Tset_strpad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static int H5Tset_strpad(long type_id, int strpad)
+ {
+ var mh$ = H5Tset_strpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_strpad", type_id, strpad);
+ }
+ return (int)mh$.invokeExact(type_id, strpad);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tconvert {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tconvert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t
+ * plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tconvert$descriptor() { return H5Tconvert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t
+ * plist_id)
+ * }
+ */
+ public static MethodHandle H5Tconvert$handle() { return H5Tconvert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t
+ * plist_id)
+ * }
+ */
+ public static MemorySegment H5Tconvert$address() { return H5Tconvert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t
+ * plist_id)
+ * }
+ */
+ public static int H5Tconvert(long src_id, long dst_id, long nelmts, MemorySegment buf,
+ MemorySegment background, long plist_id)
+ {
+ var mh$ = H5Tconvert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tconvert", src_id, dst_id, nelmts, buf, background, plist_id);
+ }
+ return (int)mh$.invokeExact(src_id, dst_id, nelmts, buf, background, plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Treclaim {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Treclaim");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Treclaim$descriptor() { return H5Treclaim.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Treclaim$handle() { return H5Treclaim.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Treclaim$address() { return H5Treclaim.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static int H5Treclaim(long type_id, long space_id, long plist_id, MemorySegment buf)
+ {
+ var mh$ = H5Treclaim.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Treclaim", type_id, space_id, plist_id, buf);
+ }
+ return (int)mh$.invokeExact(type_id, space_id, plist_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tdecode1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tdecode1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Tdecode1$descriptor() { return H5Tdecode1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static MethodHandle H5Tdecode1$handle() { return H5Tdecode1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static MemorySegment H5Tdecode1$address() { return H5Tdecode1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static long H5Tdecode1(MemorySegment buf)
+ {
+ var mh$ = H5Tdecode1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tdecode1", buf);
+ }
+ return (long)mh$.invokeExact(buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit1$descriptor() { return H5Tcommit1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit1$handle() { return H5Tcommit1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit1$address() { return H5Tcommit1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static int H5Tcommit1(long loc_id, MemorySegment name, long type_id)
+ {
+ var mh$ = H5Tcommit1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit1", loc_id, name, type_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Topen1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Topen1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Topen1$descriptor() { return H5Topen1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Topen1$handle() { return H5Topen1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Topen1$address() { return H5Topen1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Topen1(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Topen1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Topen1", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tarray_create1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tarray_create1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static FunctionDescriptor H5Tarray_create1$descriptor() { return H5Tarray_create1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static MethodHandle H5Tarray_create1$handle() { return H5Tarray_create1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static MemorySegment H5Tarray_create1$address() { return H5Tarray_create1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static long H5Tarray_create1(long base_id, int ndims, MemorySegment dim, MemorySegment perm)
+ {
+ var mh$ = H5Tarray_create1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tarray_create1", base_id, ndims, dim, perm);
+ }
+ return (long)mh$.invokeExact(base_id, ndims, dim, perm);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_array_dims1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_array_dims1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static FunctionDescriptor H5Tget_array_dims1$descriptor() { return H5Tget_array_dims1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static MethodHandle H5Tget_array_dims1$handle() { return H5Tget_array_dims1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static MemorySegment H5Tget_array_dims1$address() { return H5Tget_array_dims1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static int H5Tget_array_dims1(long type_id, MemorySegment dims, MemorySegment perm)
+ {
+ var mh$ = H5Tget_array_dims1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_array_dims1", type_id, dims, perm);
+ }
+ return (int)mh$.invokeExact(type_id, dims, perm);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aclose$descriptor() { return H5Aclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aclose$handle() { return H5Aclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aclose$address() { return H5Aclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static int H5Aclose(long attr_id)
+ {
+ var mh$ = H5Aclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aclose", attr_id);
+ }
+ return (int)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aclose_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aclose_async$descriptor() { return H5Aclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aclose_async$handle() { return H5Aclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aclose_async$address() { return H5Aclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Aclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long attr_id, long es_id)
+ {
+ var mh$ = H5Aclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aclose_async", app_file, app_func, app_line, attr_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate2$descriptor() { return H5Acreate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id)
+ * }
+ */
+ public static MethodHandle H5Acreate2$handle() { return H5Acreate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id)
+ * }
+ */
+ public static MemorySegment H5Acreate2$address() { return H5Acreate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id)
+ * }
+ */
+ public static long H5Acreate2(long loc_id, MemorySegment attr_name, long type_id, long space_id,
+ long acpl_id, long aapl_id)
+ {
+ var mh$ = H5Acreate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate2", loc_id, attr_name, type_id, space_id, acpl_id, aapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, attr_name, type_id, space_id, acpl_id, aapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate_async$descriptor() { return H5Acreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Acreate_async$handle() { return H5Acreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Acreate_async$address() { return H5Acreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Acreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment attr_name, long type_id, long space_id,
+ long acpl_id, long aapl_id, long es_id)
+ {
+ var mh$ = H5Acreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate_async", app_file, app_func, app_line, loc_id, attr_name, type_id,
+ space_id, acpl_id, aapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, attr_name, type_id, space_id,
+ acpl_id, aapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t
+ * space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate_by_name$descriptor() { return H5Acreate_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t
+ * space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Acreate_by_name$handle() { return H5Acreate_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t
+ * space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Acreate_by_name$address() { return H5Acreate_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t
+ * space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static long H5Acreate_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long type_id, long space_id, long acpl_id, long aapl_id,
+ long lapl_id)
+ {
+ var mh$ = H5Acreate_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate_by_name", loc_id, obj_name, attr_name, type_id, space_id, acpl_id,
+ aapl_id, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, attr_name, type_id, space_id, acpl_id, aapl_id,
+ lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate_by_name_async$descriptor()
+ {
+ return H5Acreate_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Acreate_by_name_async$handle() { return H5Acreate_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Acreate_by_name_async$address() { return H5Acreate_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Acreate_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long type_id, long space_id, long acpl_id, long aapl_id,
+ long lapl_id, long es_id)
+ {
+ var mh$ = H5Acreate_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate_by_name_async", app_file, app_func, app_line, loc_id, obj_name,
+ attr_name, type_id, space_id, acpl_id, aapl_id, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, attr_name, type_id,
+ space_id, acpl_id, aapl_id, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Adelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Adelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static FunctionDescriptor H5Adelete$descriptor() { return H5Adelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static MethodHandle H5Adelete$handle() { return H5Adelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static MemorySegment H5Adelete$address() { return H5Adelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static int H5Adelete(long loc_id, MemorySegment attr_name)
+ {
+ var mh$ = H5Adelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Adelete", loc_id, attr_name);
+ }
+ return (int)mh$.invokeExact(loc_id, attr_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Adelete_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Adelete_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Adelete_by_idx$descriptor() { return H5Adelete_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Adelete_by_idx$handle() { return H5Adelete_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Adelete_by_idx$address() { return H5Adelete_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static int H5Adelete_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order, long n,
+ long lapl_id)
+ {
+ var mh$ = H5Adelete_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Adelete_by_idx", loc_id, obj_name, idx_type, order, n, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Adelete_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Adelete_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Adelete_by_name$descriptor() { return H5Adelete_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Adelete_by_name$handle() { return H5Adelete_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Adelete_by_name$address() { return H5Adelete_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Adelete_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long lapl_id)
+ {
+ var mh$ = H5Adelete_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Adelete_by_name", loc_id, obj_name, attr_name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, attr_name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists$descriptor() { return H5Aexists.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static MethodHandle H5Aexists$handle() { return H5Aexists.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static MemorySegment H5Aexists$address() { return H5Aexists.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static int H5Aexists(long obj_id, MemorySegment attr_name)
+ {
+ var mh$ = H5Aexists.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists", obj_id, attr_name);
+ }
+ return (int)mh$.invokeExact(obj_id, attr_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists_async$descriptor() { return H5Aexists_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aexists_async$handle() { return H5Aexists_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aexists_async$address() { return H5Aexists_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static int H5Aexists_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long obj_id, MemorySegment attr_name, MemorySegment exists, long es_id)
+ {
+ var mh$ = H5Aexists_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists_async", app_file, app_func, app_line, obj_id, attr_name, exists,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, obj_id, attr_name, exists, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists_by_name$descriptor() { return H5Aexists_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aexists_by_name$handle() { return H5Aexists_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aexists_by_name$address() { return H5Aexists_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aexists_by_name(long obj_id, MemorySegment obj_name, MemorySegment attr_name,
+ long lapl_id)
+ {
+ var mh$ = H5Aexists_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists_by_name", obj_id, obj_name, attr_name, lapl_id);
+ }
+ return (int)mh$.invokeExact(obj_id, obj_name, attr_name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists_by_name_async$descriptor()
+ {
+ return H5Aexists_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aexists_by_name_async$handle() { return H5Aexists_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aexists_by_name_async$address() { return H5Aexists_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Aexists_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ MemorySegment exists, long lapl_id, long es_id)
+ {
+ var mh$ = H5Aexists_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists_by_name_async", app_file, app_func, app_line, loc_id, obj_name,
+ attr_name, exists, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, attr_name, exists,
+ lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_create_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_create_plist$descriptor() { return H5Aget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_create_plist$handle() { return H5Aget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_create_plist$address() { return H5Aget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_create_plist(long attr_id)
+ {
+ var mh$ = H5Aget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_create_plist", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_info$descriptor() { return H5Aget_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static MethodHandle H5Aget_info$handle() { return H5Aget_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static MemorySegment H5Aget_info$address() { return H5Aget_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static int H5Aget_info(long attr_id, MemorySegment ainfo)
+ {
+ var mh$ = H5Aget_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_info", attr_id, ainfo);
+ }
+ return (int)mh$.invokeExact(attr_id, ainfo);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_info_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_info_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_info_by_idx$descriptor() { return H5Aget_info_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aget_info_by_idx$handle() { return H5Aget_info_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aget_info_by_idx$address() { return H5Aget_info_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aget_info_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order, long n,
+ MemorySegment ainfo, long lapl_id)
+ {
+ var mh$ = H5Aget_info_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_info_by_idx", loc_id, obj_name, idx_type, order, n, ainfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, ainfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_info_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_info_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t
+ * *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_info_by_name$descriptor() { return H5Aget_info_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t
+ * *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aget_info_by_name$handle() { return H5Aget_info_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t
+ * *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aget_info_by_name$address() { return H5Aget_info_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t
+ * *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aget_info_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ MemorySegment ainfo, long lapl_id)
+ {
+ var mh$ = H5Aget_info_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_info_by_name", loc_id, obj_name, attr_name, ainfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, attr_name, ainfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_name$descriptor() { return H5Aget_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static MethodHandle H5Aget_name$handle() { return H5Aget_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static MemorySegment H5Aget_name$address() { return H5Aget_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static long H5Aget_name(long attr_id, long buf_size, MemorySegment buf)
+ {
+ var mh$ = H5Aget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_name", attr_id, buf_size, buf);
+ }
+ return (long)mh$.invokeExact(attr_id, buf_size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_name_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_name_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_name_by_idx$descriptor() { return H5Aget_name_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aget_name_by_idx$handle() { return H5Aget_name_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aget_name_by_idx$address() { return H5Aget_name_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static long H5Aget_name_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order,
+ long n, MemorySegment name, long size, long lapl_id)
+ {
+ var mh$ = H5Aget_name_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_name_by_idx", loc_id, obj_name, idx_type, order, n, name, size,
+ lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, name, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_space {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_space$descriptor() { return H5Aget_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_space$handle() { return H5Aget_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_space$address() { return H5Aget_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_space(long attr_id)
+ {
+ var mh$ = H5Aget_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_space", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_storage_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_storage_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_storage_size$descriptor() { return H5Aget_storage_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_storage_size$handle() { return H5Aget_storage_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_storage_size$address() { return H5Aget_storage_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_storage_size(long attr_id)
+ {
+ var mh$ = H5Aget_storage_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_storage_size", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_type$descriptor() { return H5Aget_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_type$handle() { return H5Aget_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_type$address() { return H5Aget_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_type(long attr_id)
+ {
+ var mh$ = H5Aget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_type", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aiterate2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aiterate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Aiterate2$descriptor() { return H5Aiterate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Aiterate2$handle() { return H5Aiterate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Aiterate2$address() { return H5Aiterate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static int H5Aiterate2(long loc_id, int idx_type, int order, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Aiterate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aiterate2", loc_id, idx_type, order, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(loc_id, idx_type, order, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aiterate_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aiterate_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aiterate_by_name$descriptor() { return H5Aiterate_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aiterate_by_name$handle() { return H5Aiterate_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aiterate_by_name$address() { return H5Aiterate_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aiterate_by_name(long loc_id, MemorySegment obj_name, int idx_type, int order,
+ MemorySegment idx, MemorySegment op, MemorySegment op_data,
+ long lapl_id)
+ {
+ var mh$ = H5Aiterate_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aiterate_by_name", loc_id, obj_name, idx_type, order, idx, op, op_data,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, idx, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen$descriptor() { return H5Aopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static MethodHandle H5Aopen$handle() { return H5Aopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static MemorySegment H5Aopen$address() { return H5Aopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static long H5Aopen(long obj_id, MemorySegment attr_name, long aapl_id)
+ {
+ var mh$ = H5Aopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen", obj_id, attr_name, aapl_id);
+ }
+ return (long)mh$.invokeExact(obj_id, attr_name, aapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_async$descriptor() { return H5Aopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_async$handle() { return H5Aopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_async$address() { return H5Aopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Aopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long obj_id, MemorySegment attr_name, long aapl_id, long es_id)
+ {
+ var mh$ = H5Aopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_async", app_file, app_func, app_line, obj_id, attr_name, aapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, obj_id, attr_name, aapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_idx$descriptor() { return H5Aopen_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_idx$handle() { return H5Aopen_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_idx$address() { return H5Aopen_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static long H5Aopen_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order, long n,
+ long aapl_id, long lapl_id)
+ {
+ var mh$ = H5Aopen_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_idx", loc_id, obj_name, idx_type, order, n, aapl_id, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, aapl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_idx_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id,
+ * hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_idx_async$descriptor() { return H5Aopen_by_idx_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id,
+ * hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_idx_async$handle() { return H5Aopen_by_idx_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id,
+ * hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_idx_async$address() { return H5Aopen_by_idx_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id,
+ * hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Aopen_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name, int idx_type, int order,
+ long n, long aapl_id, long lapl_id, long es_id)
+ {
+ var mh$ = H5Aopen_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_idx_async", app_file, app_func, app_line, loc_id, obj_name,
+ idx_type, order, n, aapl_id, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, idx_type, order, n,
+ aapl_id, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t
+ * lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_name$descriptor() { return H5Aopen_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t
+ * lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_name$handle() { return H5Aopen_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t
+ * lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_name$address() { return H5Aopen_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t
+ * lapl_id)
+ * }
+ */
+ public static long H5Aopen_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long aapl_id, long lapl_id)
+ {
+ var mh$ = H5Aopen_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_name", loc_id, obj_name, attr_name, aapl_id, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, attr_name, aapl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_name_async$descriptor() { return H5Aopen_by_name_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_name_async$handle() { return H5Aopen_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_name_async$address() { return H5Aopen_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Aopen_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long aapl_id, long lapl_id, long es_id)
+ {
+ var mh$ = H5Aopen_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_name_async", app_file, app_func, app_line, loc_id, obj_name,
+ attr_name, aapl_id, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, attr_name, aapl_id,
+ lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aread {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Aread$descriptor() { return H5Aread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Aread$handle() { return H5Aread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Aread$address() { return H5Aread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static int H5Aread(long attr_id, long type_id, MemorySegment buf)
+ {
+ var mh$ = H5Aread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aread", attr_id, type_id, buf);
+ }
+ return (int)mh$.invokeExact(attr_id, type_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aread_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aread_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aread_async$descriptor() { return H5Aread_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aread_async$handle() { return H5Aread_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aread_async$address() { return H5Aread_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static int H5Aread_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long attr_id, long dtype_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Aread_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aread_async", app_file, app_func, app_line, attr_id, dtype_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, dtype_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static FunctionDescriptor H5Arename$descriptor() { return H5Arename.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static MethodHandle H5Arename$handle() { return H5Arename.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static MemorySegment H5Arename$address() { return H5Arename.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static int H5Arename(long loc_id, MemorySegment old_name, MemorySegment new_name)
+ {
+ var mh$ = H5Arename.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename", loc_id, old_name, new_name);
+ }
+ return (int)mh$.invokeExact(loc_id, old_name, new_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Arename_async$descriptor() { return H5Arename_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Arename_async$handle() { return H5Arename_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Arename_async$address() { return H5Arename_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static int H5Arename_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment old_name, MemorySegment new_name, long es_id)
+ {
+ var mh$ = H5Arename_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename_async", app_file, app_func, app_line, loc_id, old_name, new_name,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, old_name, new_name, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Arename_by_name_async$descriptor()
+ {
+ return H5Arename_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Arename_by_name_async$handle() { return H5Arename_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Arename_by_name_async$address() { return H5Arename_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Arename_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name,
+ MemorySegment old_attr_name, MemorySegment new_attr_name,
+ long lapl_id, long es_id)
+ {
+ var mh$ = H5Arename_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename_by_name_async", app_file, app_func, app_line, loc_id, obj_name,
+ old_attr_name, new_attr_name, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, old_attr_name,
+ new_attr_name, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Awrite {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Awrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Awrite$descriptor() { return H5Awrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static MethodHandle H5Awrite$handle() { return H5Awrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static MemorySegment H5Awrite$address() { return H5Awrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static int H5Awrite(long attr_id, long type_id, MemorySegment buf)
+ {
+ var mh$ = H5Awrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Awrite", attr_id, type_id, buf);
+ }
+ return (int)mh$.invokeExact(attr_id, type_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Awrite_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Awrite_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Awrite_async$descriptor() { return H5Awrite_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Awrite_async$handle() { return H5Awrite_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Awrite_async$address() { return H5Awrite_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static int H5Awrite_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long attr_id, long type_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Awrite_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Awrite_async", app_file, app_func, app_line, attr_id, type_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, type_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char
+ * *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Arename_by_name$descriptor() { return H5Arename_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char
+ * *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Arename_by_name$handle() { return H5Arename_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char
+ * *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Arename_by_name$address() { return H5Arename_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char
+ * *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Arename_by_name(long loc_id, MemorySegment obj_name, MemorySegment old_attr_name,
+ MemorySegment new_attr_name, long lapl_id)
+ {
+ var mh$ = H5Arename_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename_by_name", loc_id, obj_name, old_attr_name, new_attr_name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, old_attr_name, new_attr_name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate1$descriptor() { return H5Acreate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static MethodHandle H5Acreate1$handle() { return H5Acreate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static MemorySegment H5Acreate1$address() { return H5Acreate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static long H5Acreate1(long loc_id, MemorySegment name, long type_id, long space_id, long acpl_id)
+ {
+ var mh$ = H5Acreate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate1", loc_id, name, type_id, space_id, acpl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, type_id, space_id, acpl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_num_attrs {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_num_attrs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_num_attrs$descriptor() { return H5Aget_num_attrs.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static MethodHandle H5Aget_num_attrs$handle() { return H5Aget_num_attrs.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static MemorySegment H5Aget_num_attrs$address() { return H5Aget_num_attrs.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static int H5Aget_num_attrs(long loc_id)
+ {
+ var mh$ = H5Aget_num_attrs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_num_attrs", loc_id);
+ }
+ return (int)mh$.invokeExact(loc_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aiterate1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aiterate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Aiterate1$descriptor() { return H5Aiterate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Aiterate1$handle() { return H5Aiterate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Aiterate1$address() { return H5Aiterate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static int H5Aiterate1(long loc_id, MemorySegment idx, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Aiterate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aiterate1", loc_id, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(loc_id, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_idx$descriptor() { return H5Aopen_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static MethodHandle H5Aopen_idx$handle() { return H5Aopen_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static MemorySegment H5Aopen_idx$address() { return H5Aopen_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static long H5Aopen_idx(long loc_id, int idx)
+ {
+ var mh$ = H5Aopen_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_idx", loc_id, idx);
+ }
+ return (long)mh$.invokeExact(loc_id, idx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_name$descriptor() { return H5Aopen_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Aopen_name$handle() { return H5Aopen_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Aopen_name$address() { return H5Aopen_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Aopen_name(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Aopen_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_name", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5C_incr__off = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_incr_mode.H5C_incr__off = 0
+ * }
+ */
+ public static int H5C_incr__off() { return H5C_incr__off; }
+ private static final int H5C_incr__threshold = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_incr_mode.H5C_incr__threshold = 1
+ * }
+ */
+ public static int H5C_incr__threshold() { return H5C_incr__threshold; }
+ private static final int H5C_flash_incr__off = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_flash_incr_mode.H5C_flash_incr__off = 0
+ * }
+ */
+ public static int H5C_flash_incr__off() { return H5C_flash_incr__off; }
+ private static final int H5C_flash_incr__add_space = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_flash_incr_mode.H5C_flash_incr__add_space = 1
+ * }
+ */
+ public static int H5C_flash_incr__add_space() { return H5C_flash_incr__add_space; }
+ private static final int H5C_decr__off = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__off = 0
+ * }
+ */
+ public static int H5C_decr__off() { return H5C_decr__off; }
+ private static final int H5C_decr__threshold = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__threshold = 1
+ * }
+ */
+ public static int H5C_decr__threshold() { return H5C_decr__threshold; }
+ private static final int H5C_decr__age_out = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__age_out = 2
+ * }
+ */
+ public static int H5C_decr__age_out() { return H5C_decr__age_out; }
+ private static final int H5C_decr__age_out_with_threshold = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__age_out_with_threshold = 3
+ * }
+ */
+ public static int H5C_decr__age_out_with_threshold() { return H5C_decr__age_out_with_threshold; }
+ private static final int H5D_LAYOUT_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_LAYOUT_ERROR = -1
+ * }
+ */
+ public static int H5D_LAYOUT_ERROR() { return H5D_LAYOUT_ERROR; }
+ private static final int H5D_COMPACT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_COMPACT = 0
+ * }
+ */
+ public static int H5D_COMPACT() { return H5D_COMPACT; }
+ private static final int H5D_CONTIGUOUS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_CONTIGUOUS = 1
+ * }
+ */
+ public static int H5D_CONTIGUOUS() { return H5D_CONTIGUOUS; }
+ private static final int H5D_CHUNKED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_CHUNKED = 2
+ * }
+ */
+ public static int H5D_CHUNKED() { return H5D_CHUNKED; }
+ private static final int H5D_VIRTUAL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_VIRTUAL = 3
+ * }
+ */
+ public static int H5D_VIRTUAL() { return H5D_VIRTUAL; }
+ private static final int H5D_NLAYOUTS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_NLAYOUTS = 4
+ * }
+ */
+ public static int H5D_NLAYOUTS() { return H5D_NLAYOUTS; }
+ private static final int H5D_CHUNK_IDX_BTREE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_BTREE = 0
+ * }
+ */
+ public static int H5D_CHUNK_IDX_BTREE() { return H5D_CHUNK_IDX_BTREE; }
+ private static final int H5D_CHUNK_IDX_SINGLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_SINGLE = 1
+ * }
+ */
+ public static int H5D_CHUNK_IDX_SINGLE() { return H5D_CHUNK_IDX_SINGLE; }
+ private static final int H5D_CHUNK_IDX_NONE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_NONE = 2
+ * }
+ */
+ public static int H5D_CHUNK_IDX_NONE() { return H5D_CHUNK_IDX_NONE; }
+ private static final int H5D_CHUNK_IDX_FARRAY = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_FARRAY = 3
+ * }
+ */
+ public static int H5D_CHUNK_IDX_FARRAY() { return H5D_CHUNK_IDX_FARRAY; }
+ private static final int H5D_CHUNK_IDX_EARRAY = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_EARRAY = 4
+ * }
+ */
+ public static int H5D_CHUNK_IDX_EARRAY() { return H5D_CHUNK_IDX_EARRAY; }
+ private static final int H5D_CHUNK_IDX_BT2 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_BT2 = 5
+ * }
+ */
+ public static int H5D_CHUNK_IDX_BT2() { return H5D_CHUNK_IDX_BT2; }
+ private static final int H5D_CHUNK_IDX_NTYPES = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_NTYPES = 6
+ * }
+ */
+ public static int H5D_CHUNK_IDX_NTYPES() { return H5D_CHUNK_IDX_NTYPES; }
+ private static final int H5D_ALLOC_TIME_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_ERROR = -1
+ * }
+ */
+ public static int H5D_ALLOC_TIME_ERROR() { return H5D_ALLOC_TIME_ERROR; }
+ private static final int H5D_ALLOC_TIME_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_DEFAULT = 0
+ * }
+ */
+ public static int H5D_ALLOC_TIME_DEFAULT() { return H5D_ALLOC_TIME_DEFAULT; }
+ private static final int H5D_ALLOC_TIME_EARLY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_EARLY = 1
+ * }
+ */
+ public static int H5D_ALLOC_TIME_EARLY() { return H5D_ALLOC_TIME_EARLY; }
+ private static final int H5D_ALLOC_TIME_LATE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_LATE = 2
+ * }
+ */
+ public static int H5D_ALLOC_TIME_LATE() { return H5D_ALLOC_TIME_LATE; }
+ private static final int H5D_ALLOC_TIME_INCR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_INCR = 3
+ * }
+ */
+ public static int H5D_ALLOC_TIME_INCR() { return H5D_ALLOC_TIME_INCR; }
+ private static final int H5D_SPACE_STATUS_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_ERROR = -1
+ * }
+ */
+ public static int H5D_SPACE_STATUS_ERROR() { return H5D_SPACE_STATUS_ERROR; }
+ private static final int H5D_SPACE_STATUS_NOT_ALLOCATED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_NOT_ALLOCATED = 0
+ * }
+ */
+ public static int H5D_SPACE_STATUS_NOT_ALLOCATED() { return H5D_SPACE_STATUS_NOT_ALLOCATED; }
+ private static final int H5D_SPACE_STATUS_PART_ALLOCATED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_PART_ALLOCATED = 1
+ * }
+ */
+ public static int H5D_SPACE_STATUS_PART_ALLOCATED() { return H5D_SPACE_STATUS_PART_ALLOCATED; }
+ private static final int H5D_SPACE_STATUS_ALLOCATED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_ALLOCATED = 2
+ * }
+ */
+ public static int H5D_SPACE_STATUS_ALLOCATED() { return H5D_SPACE_STATUS_ALLOCATED; }
+ private static final int H5D_FILL_TIME_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_ERROR = -1
+ * }
+ */
+ public static int H5D_FILL_TIME_ERROR() { return H5D_FILL_TIME_ERROR; }
+ private static final int H5D_FILL_TIME_ALLOC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_ALLOC = 0
+ * }
+ */
+ public static int H5D_FILL_TIME_ALLOC() { return H5D_FILL_TIME_ALLOC; }
+ private static final int H5D_FILL_TIME_NEVER = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_NEVER = 1
+ * }
+ */
+ public static int H5D_FILL_TIME_NEVER() { return H5D_FILL_TIME_NEVER; }
+ private static final int H5D_FILL_TIME_IFSET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_IFSET = 2
+ * }
+ */
+ public static int H5D_FILL_TIME_IFSET() { return H5D_FILL_TIME_IFSET; }
+ private static final int H5D_FILL_VALUE_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_ERROR = -1
+ * }
+ */
+ public static int H5D_FILL_VALUE_ERROR() { return H5D_FILL_VALUE_ERROR; }
+ private static final int H5D_FILL_VALUE_UNDEFINED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_UNDEFINED = 0
+ * }
+ */
+ public static int H5D_FILL_VALUE_UNDEFINED() { return H5D_FILL_VALUE_UNDEFINED; }
+ private static final int H5D_FILL_VALUE_DEFAULT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_DEFAULT = 1
+ * }
+ */
+ public static int H5D_FILL_VALUE_DEFAULT() { return H5D_FILL_VALUE_DEFAULT; }
+ private static final int H5D_FILL_VALUE_USER_DEFINED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_USER_DEFINED = 2
+ * }
+ */
+ public static int H5D_FILL_VALUE_USER_DEFINED() { return H5D_FILL_VALUE_USER_DEFINED; }
+ private static final int H5D_VDS_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_vds_view_t.H5D_VDS_ERROR = -1
+ * }
+ */
+ public static int H5D_VDS_ERROR() { return H5D_VDS_ERROR; }
+ private static final int H5D_VDS_FIRST_MISSING = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_vds_view_t.H5D_VDS_FIRST_MISSING = 0
+ * }
+ */
+ public static int H5D_VDS_FIRST_MISSING() { return H5D_VDS_FIRST_MISSING; }
+ private static final int H5D_VDS_LAST_AVAILABLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_vds_view_t.H5D_VDS_LAST_AVAILABLE = 1
+ * }
+ */
+ public static int H5D_VDS_LAST_AVAILABLE() { return H5D_VDS_LAST_AVAILABLE; }
+
+ private static class H5Dcreate2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate2$descriptor() { return H5Dcreate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate2$handle() { return H5Dcreate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate2$address() { return H5Dcreate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static long H5Dcreate2(long loc_id, MemorySegment name, long type_id, long space_id, long lcpl_id,
+ long dcpl_id, long dapl_id)
+ {
+ var mh$ = H5Dcreate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate2", loc_id, name, type_id, space_id, lcpl_id, dcpl_id, dapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, type_id, space_id, lcpl_id, dcpl_id, dapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dcreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate_async$descriptor() { return H5Dcreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate_async$handle() { return H5Dcreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate_async$address() { return H5Dcreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static long H5Dcreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long type_id, long space_id,
+ long lcpl_id, long dcpl_id, long dapl_id, long es_id)
+ {
+ var mh$ = H5Dcreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate_async", app_file, app_func, app_line, loc_id, name, type_id,
+ space_id, lcpl_id, dcpl_id, dapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, type_id, space_id,
+ lcpl_id, dcpl_id, dapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dcreate_anon {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate_anon");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate_anon$descriptor() { return H5Dcreate_anon.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate_anon$handle() { return H5Dcreate_anon.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate_anon$address() { return H5Dcreate_anon.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static long H5Dcreate_anon(long loc_id, long type_id, long space_id, long dcpl_id, long dapl_id)
+ {
+ var mh$ = H5Dcreate_anon.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate_anon", loc_id, type_id, space_id, dcpl_id, dapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, type_id, space_id, dcpl_id, dapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dopen2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dopen2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dopen2$descriptor() { return H5Dopen2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static MethodHandle H5Dopen2$handle() { return H5Dopen2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static MemorySegment H5Dopen2$address() { return H5Dopen2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static long H5Dopen2(long loc_id, MemorySegment name, long dapl_id)
+ {
+ var mh$ = H5Dopen2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dopen2", loc_id, name, dapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, dapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dopen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dopen_async$descriptor() { return H5Dopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dopen_async$handle() { return H5Dopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dopen_async$address() { return H5Dopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Dopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long dapl_id, long es_id)
+ {
+ var mh$ = H5Dopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dopen_async", app_file, app_func, app_line, loc_id, name, dapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, dapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_space {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_space$descriptor() { return H5Dget_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_space$handle() { return H5Dget_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_space$address() { return H5Dget_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_space(long dset_id)
+ {
+ var mh$ = H5Dget_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_space", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_space_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_space_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_space_async$descriptor() { return H5Dget_space_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dget_space_async$handle() { return H5Dget_space_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dget_space_async$address() { return H5Dget_space_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static long H5Dget_space_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long es_id)
+ {
+ var mh$ = H5Dget_space_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_space_async", app_file, app_func, app_line, dset_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, dset_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_space_status {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_space_status");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_space_status$descriptor() { return H5Dget_space_status.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static MethodHandle H5Dget_space_status$handle() { return H5Dget_space_status.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static MemorySegment H5Dget_space_status$address() { return H5Dget_space_status.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static int H5Dget_space_status(long dset_id, MemorySegment allocation)
+ {
+ var mh$ = H5Dget_space_status.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_space_status", dset_id, allocation);
+ }
+ return (int)mh$.invokeExact(dset_id, allocation);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_type$descriptor() { return H5Dget_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_type$handle() { return H5Dget_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_type$address() { return H5Dget_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_type(long dset_id)
+ {
+ var mh$ = H5Dget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_type", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_create_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_create_plist$descriptor() { return H5Dget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_create_plist$handle() { return H5Dget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_create_plist$address() { return H5Dget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_create_plist(long dset_id)
+ {
+ var mh$ = H5Dget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_create_plist", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_access_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_access_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_access_plist$descriptor() { return H5Dget_access_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_access_plist$handle() { return H5Dget_access_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_access_plist$address() { return H5Dget_access_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_access_plist(long dset_id)
+ {
+ var mh$ = H5Dget_access_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_access_plist", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_storage_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_storage_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_storage_size$descriptor() { return H5Dget_storage_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_storage_size$handle() { return H5Dget_storage_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_storage_size$address() { return H5Dget_storage_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_storage_size(long dset_id)
+ {
+ var mh$ = H5Dget_storage_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_storage_size", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_storage_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_storage_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_storage_size$descriptor()
+ {
+ return H5Dget_chunk_storage_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_storage_size$handle() { return H5Dget_chunk_storage_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_storage_size$address() { return H5Dget_chunk_storage_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static int H5Dget_chunk_storage_size(long dset_id, MemorySegment offset, MemorySegment chunk_bytes)
+ {
+ var mh$ = H5Dget_chunk_storage_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_storage_size", dset_id, offset, chunk_bytes);
+ }
+ return (int)mh$.invokeExact(dset_id, offset, chunk_bytes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_num_chunks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_num_chunks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_num_chunks$descriptor() { return H5Dget_num_chunks.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static MethodHandle H5Dget_num_chunks$handle() { return H5Dget_num_chunks.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static MemorySegment H5Dget_num_chunks$address() { return H5Dget_num_chunks.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static int H5Dget_num_chunks(long dset_id, long fspace_id, MemorySegment nchunks)
+ {
+ var mh$ = H5Dget_num_chunks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_num_chunks", dset_id, fspace_id, nchunks);
+ }
+ return (int)mh$.invokeExact(dset_id, fspace_id, nchunks);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_info_by_coord {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_info_by_coord");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_info_by_coord$descriptor()
+ {
+ return H5Dget_chunk_info_by_coord.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_info_by_coord$handle()
+ {
+ return H5Dget_chunk_info_by_coord.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_info_by_coord$address()
+ {
+ return H5Dget_chunk_info_by_coord.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static int H5Dget_chunk_info_by_coord(long dset_id, MemorySegment offset,
+ MemorySegment filter_mask, MemorySegment addr,
+ MemorySegment size)
+ {
+ var mh$ = H5Dget_chunk_info_by_coord.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_info_by_coord", dset_id, offset, filter_mask, addr, size);
+ }
+ return (int)mh$.invokeExact(dset_id, offset, filter_mask, addr, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dchunk_iter {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dchunk_iter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Dchunk_iter$descriptor() { return H5Dchunk_iter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Dchunk_iter$handle() { return H5Dchunk_iter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Dchunk_iter$address() { return H5Dchunk_iter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static int H5Dchunk_iter(long dset_id, long dxpl_id, MemorySegment cb, MemorySegment op_data)
+ {
+ var mh$ = H5Dchunk_iter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dchunk_iter", dset_id, dxpl_id, cb, op_data);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, cb, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_info$descriptor() { return H5Dget_chunk_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_info$handle() { return H5Dget_chunk_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_info$address() { return H5Dget_chunk_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static int H5Dget_chunk_info(long dset_id, long fspace_id, long chk_idx, MemorySegment offset,
+ MemorySegment filter_mask, MemorySegment addr, MemorySegment size)
+ {
+ var mh$ = H5Dget_chunk_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_info", dset_id, fspace_id, chk_idx, offset, filter_mask, addr,
+ size);
+ }
+ return (int)mh$.invokeExact(dset_id, fspace_id, chk_idx, offset, filter_mask, addr, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_offset$descriptor() { return H5Dget_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_offset$handle() { return H5Dget_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_offset$address() { return H5Dget_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_offset(long dset_id)
+ {
+ var mh$ = H5Dget_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_offset", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dread$descriptor() { return H5Dread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Dread$handle() { return H5Dread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Dread$address() { return H5Dread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static int H5Dread(long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf)
+ {
+ var mh$ = H5Dread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread", dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Dread_multi$descriptor() { return H5Dread_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static MethodHandle H5Dread_multi$handle() { return H5Dread_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static MemorySegment H5Dread_multi$address() { return H5Dread_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static int H5Dread_multi(long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id, long dxpl_id,
+ MemorySegment buf)
+ {
+ var mh$ = H5Dread_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_multi", count, dset_id, mem_type_id, mem_space_id, file_space_id,
+ dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(count, dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id,
+ buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_async$descriptor() { return H5Dread_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dread_async$handle() { return H5Dread_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dread_async$address() { return H5Dread_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static int H5Dread_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dread_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_async", app_file, app_func, app_line, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, mem_type_id, mem_space_id,
+ file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_multi_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_multi_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_multi_async$descriptor() { return H5Dread_multi_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dread_multi_async$handle() { return H5Dread_multi_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dread_multi_async$address() { return H5Dread_multi_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static int H5Dread_multi_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dread_multi_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_multi_async", app_file, app_func, app_line, count, dset_id,
+ mem_type_id, mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, count, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite$descriptor() { return H5Dwrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static MethodHandle H5Dwrite$handle() { return H5Dwrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static MemorySegment H5Dwrite$address() { return H5Dwrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static int H5Dwrite(long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf)
+ {
+ var mh$ = H5Dwrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite", dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_multi$descriptor() { return H5Dwrite_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static MethodHandle H5Dwrite_multi$handle() { return H5Dwrite_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static MemorySegment H5Dwrite_multi$address() { return H5Dwrite_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static int H5Dwrite_multi(long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id, long dxpl_id,
+ MemorySegment buf)
+ {
+ var mh$ = H5Dwrite_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_multi", count, dset_id, mem_type_id, mem_space_id, file_space_id,
+ dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(count, dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id,
+ buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_async$descriptor() { return H5Dwrite_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static MethodHandle H5Dwrite_async$handle() { return H5Dwrite_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static MemorySegment H5Dwrite_async$address() { return H5Dwrite_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static int H5Dwrite_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dwrite_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_async", app_file, app_func, app_line, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, mem_type_id, mem_space_id,
+ file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_multi_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_multi_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_multi_async$descriptor() { return H5Dwrite_multi_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dwrite_multi_async$handle() { return H5Dwrite_multi_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dwrite_multi_async$address() { return H5Dwrite_multi_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static int H5Dwrite_multi_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dwrite_multi_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_multi_async", app_file, app_func, app_line, count, dset_id,
+ mem_type_id, mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, count, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_chunk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_chunk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_chunk$descriptor() { return H5Dwrite_chunk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static MethodHandle H5Dwrite_chunk$handle() { return H5Dwrite_chunk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static MemorySegment H5Dwrite_chunk$address() { return H5Dwrite_chunk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static int H5Dwrite_chunk(long dset_id, long dxpl_id, int filters, MemorySegment offset,
+ long data_size, MemorySegment buf)
+ {
+ var mh$ = H5Dwrite_chunk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_chunk", dset_id, dxpl_id, filters, offset, data_size, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, filters, offset, data_size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_chunk2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_chunk2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_chunk2$descriptor() { return H5Dread_chunk2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static MethodHandle H5Dread_chunk2$handle() { return H5Dread_chunk2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static MemorySegment H5Dread_chunk2$address() { return H5Dread_chunk2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static int H5Dread_chunk2(long dset_id, long dxpl_id, MemorySegment offset, MemorySegment filters,
+ MemorySegment buf, MemorySegment buf_size)
+ {
+ var mh$ = H5Dread_chunk2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_chunk2", dset_id, dxpl_id, offset, filters, buf, buf_size);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, offset, filters, buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Diterate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Diterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static FunctionDescriptor H5Diterate$descriptor() { return H5Diterate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static MethodHandle H5Diterate$handle() { return H5Diterate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static MemorySegment H5Diterate$address() { return H5Diterate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static int H5Diterate(MemorySegment buf, long type_id, long space_id, MemorySegment op,
+ MemorySegment operator_data)
+ {
+ var mh$ = H5Diterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Diterate", buf, type_id, space_id, op, operator_data);
+ }
+ return (int)mh$.invokeExact(buf, type_id, space_id, op, operator_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dvlen_get_buf_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dvlen_get_buf_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Dvlen_get_buf_size$descriptor() { return H5Dvlen_get_buf_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Dvlen_get_buf_size$handle() { return H5Dvlen_get_buf_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Dvlen_get_buf_size$address() { return H5Dvlen_get_buf_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static int H5Dvlen_get_buf_size(long dset_id, long type_id, long space_id, MemorySegment size)
+ {
+ var mh$ = H5Dvlen_get_buf_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dvlen_get_buf_size", dset_id, type_id, space_id, size);
+ }
+ return (int)mh$.invokeExact(dset_id, type_id, space_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dfill {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dfill");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dfill$descriptor() { return H5Dfill.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Dfill$handle() { return H5Dfill.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Dfill$address() { return H5Dfill.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static int H5Dfill(MemorySegment fill, long fill_type_id, MemorySegment buf, long buf_type_id,
+ long space_id)
+ {
+ var mh$ = H5Dfill.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dfill", fill, fill_type_id, buf, buf_type_id, space_id);
+ }
+ return (int)mh$.invokeExact(fill, fill_type_id, buf, buf_type_id, space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dset_extent {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dset_extent");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static FunctionDescriptor H5Dset_extent$descriptor() { return H5Dset_extent.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MethodHandle H5Dset_extent$handle() { return H5Dset_extent.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MemorySegment H5Dset_extent$address() { return H5Dset_extent.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static int H5Dset_extent(long dset_id, MemorySegment size)
+ {
+ var mh$ = H5Dset_extent.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dset_extent", dset_id, size);
+ }
+ return (int)mh$.invokeExact(dset_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dset_extent_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dset_extent_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dset_extent_async$descriptor() { return H5Dset_extent_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dset_extent_async$handle() { return H5Dset_extent_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dset_extent_async$address() { return H5Dset_extent_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static int H5Dset_extent_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, MemorySegment size, long es_id)
+ {
+ var mh$ = H5Dset_extent_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dset_extent_async", app_file, app_func, app_line, dset_id, size, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, size, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dflush$descriptor() { return H5Dflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dflush$handle() { return H5Dflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dflush$address() { return H5Dflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static int H5Dflush(long dset_id)
+ {
+ var mh$ = H5Dflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dflush", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Drefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Drefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Drefresh$descriptor() { return H5Drefresh.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Drefresh$handle() { return H5Drefresh.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Drefresh$address() { return H5Drefresh.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static int H5Drefresh(long dset_id)
+ {
+ var mh$ = H5Drefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Drefresh", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dscatter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dscatter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dscatter$descriptor() { return H5Dscatter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static MethodHandle H5Dscatter$handle() { return H5Dscatter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static MemorySegment H5Dscatter$address() { return H5Dscatter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static int H5Dscatter(MemorySegment op, MemorySegment op_data, long type_id, long dst_space_id,
+ MemorySegment dst_buf)
+ {
+ var mh$ = H5Dscatter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dscatter", op, op_data, type_id, dst_space_id, dst_buf);
+ }
+ return (int)mh$.invokeExact(op, op_data, type_id, dst_space_id, dst_buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dgather {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dgather");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Dgather$descriptor() { return H5Dgather.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Dgather$handle() { return H5Dgather.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Dgather$address() { return H5Dgather.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static int H5Dgather(long src_space_id, MemorySegment src_buf, long type_id, long dst_buf_size,
+ MemorySegment dst_buf, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Dgather.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dgather", src_space_id, src_buf, type_id, dst_buf_size, dst_buf, op,
+ op_data);
+ }
+ return (int)mh$.invokeExact(src_space_id, src_buf, type_id, dst_buf_size, dst_buf, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dclose$descriptor() { return H5Dclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dclose$handle() { return H5Dclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dclose$address() { return H5Dclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static int H5Dclose(long dset_id)
+ {
+ var mh$ = H5Dclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dclose", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dclose_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dclose_async$descriptor() { return H5Dclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dclose_async$handle() { return H5Dclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dclose_async$address() { return H5Dclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Dclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long es_id)
+ {
+ var mh$ = H5Dclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dclose_async", app_file, app_func, app_line, dset_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ddebug {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ddebug");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ddebug$descriptor() { return H5Ddebug.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Ddebug$handle() { return H5Ddebug.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Ddebug$address() { return H5Ddebug.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static int H5Ddebug(long dset_id)
+ {
+ var mh$ = H5Ddebug.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ddebug", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dformat_convert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dformat_convert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dformat_convert$descriptor() { return H5Dformat_convert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dformat_convert$handle() { return H5Dformat_convert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dformat_convert$address() { return H5Dformat_convert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static int H5Dformat_convert(long dset_id)
+ {
+ var mh$ = H5Dformat_convert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dformat_convert", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_index_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_index_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_index_type$descriptor()
+ {
+ return H5Dget_chunk_index_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_index_type$handle() { return H5Dget_chunk_index_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_index_type$address() { return H5Dget_chunk_index_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static int H5Dget_chunk_index_type(long did, MemorySegment idx_type)
+ {
+ var mh$ = H5Dget_chunk_index_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_index_type", did, idx_type);
+ }
+ return (int)mh$.invokeExact(did, idx_type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dcreate1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate1$descriptor() { return H5Dcreate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate1$handle() { return H5Dcreate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate1$address() { return H5Dcreate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static long H5Dcreate1(long loc_id, MemorySegment name, long type_id, long space_id, long dcpl_id)
+ {
+ var mh$ = H5Dcreate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate1", loc_id, name, type_id, space_id, dcpl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, type_id, space_id, dcpl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dopen1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dopen1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Dopen1$descriptor() { return H5Dopen1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Dopen1$handle() { return H5Dopen1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Dopen1$address() { return H5Dopen1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Dopen1(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Dopen1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dopen1", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dextend {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dextend");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static FunctionDescriptor H5Dextend$descriptor() { return H5Dextend.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MethodHandle H5Dextend$handle() { return H5Dextend.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MemorySegment H5Dextend$address() { return H5Dextend.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static int H5Dextend(long dset_id, MemorySegment size)
+ {
+ var mh$ = H5Dextend.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dextend", dset_id, size);
+ }
+ return (int)mh$.invokeExact(dset_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dvlen_reclaim {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dvlen_reclaim");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dvlen_reclaim$descriptor() { return H5Dvlen_reclaim.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Dvlen_reclaim$handle() { return H5Dvlen_reclaim.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Dvlen_reclaim$address() { return H5Dvlen_reclaim.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static int H5Dvlen_reclaim(long type_id, long space_id, long dxpl_id, MemorySegment buf)
+ {
+ var mh$ = H5Dvlen_reclaim.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dvlen_reclaim", type_id, space_id, dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(type_id, space_id, dxpl_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_chunk1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_chunk1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_chunk1$descriptor() { return H5Dread_chunk1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static MethodHandle H5Dread_chunk1$handle() { return H5Dread_chunk1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static MemorySegment H5Dread_chunk1$address() { return H5Dread_chunk1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static int H5Dread_chunk1(long dset_id, long dxpl_id, MemorySegment offset, MemorySegment filters,
+ MemorySegment buf)
+ {
+ var mh$ = H5Dread_chunk1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_chunk1", dset_id, dxpl_id, offset, filters, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, offset, filters, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class renameat {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("renameat");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int renameat(int, const char *, int, const char *)
+ * }
+ */
+ public static FunctionDescriptor renameat$descriptor() { return renameat.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int renameat(int, const char *, int, const char *)
+ * }
+ */
+ public static MethodHandle renameat$handle() { return renameat.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int renameat(int, const char *, int, const char *)
+ * }
+ */
+ public static MemorySegment renameat$address() { return renameat.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int renameat(int, const char *, int, const char *)
+ * }
+ */
+ public static int renameat(int x0, MemorySegment x1, int x2, MemorySegment x3)
+ {
+ var mh$ = renameat.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("renameat", x0, x1, x2, x3);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2, x3);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class renamex_np {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("renamex_np");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int renamex_np(const char *, const char *, unsigned int)
+ * }
+ */
+ public static FunctionDescriptor renamex_np$descriptor() { return renamex_np.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int renamex_np(const char *, const char *, unsigned int)
+ * }
+ */
+ public static MethodHandle renamex_np$handle() { return renamex_np.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int renamex_np(const char *, const char *, unsigned int)
+ * }
+ */
+ public static MemorySegment renamex_np$address() { return renamex_np.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int renamex_np(const char *, const char *, unsigned int)
+ * }
+ */
+ public static int renamex_np(MemorySegment x0, MemorySegment x1, int x2)
+ {
+ var mh$ = renamex_np.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("renamex_np", x0, x1, x2);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class renameatx_np {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("renameatx_np");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int renameatx_np(int, const char *, int, const char *, unsigned int)
+ * }
+ */
+ public static FunctionDescriptor renameatx_np$descriptor() { return renameatx_np.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int renameatx_np(int, const char *, int, const char *, unsigned int)
+ * }
+ */
+ public static MethodHandle renameatx_np$handle() { return renameatx_np.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int renameatx_np(int, const char *, int, const char *, unsigned int)
+ * }
+ */
+ public static MemorySegment renameatx_np$address() { return renameatx_np.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int renameatx_np(int, const char *, int, const char *, unsigned int)
+ * }
+ */
+ public static int renameatx_np(int x0, MemorySegment x1, int x2, MemorySegment x3, int x4)
+ {
+ var mh$ = renameatx_np.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("renameatx_np", x0, x1, x2, x3, x4);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2, x3, x4);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * int printf(const char *restrict, ...)
+ * }
+ */
+ public static class printf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("printf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private printf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * int printf(const char *restrict, ...)
+ * }
+ */
+ public static printf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new printf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment x0, Object... x1)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("printf", x0, x1);
+ }
+ return (int)spreader.invokeExact(x0, x1);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_off_t fpos_t
+ * }
+ */
+ public static final OfLong fpos_t = hdf5_h.C_LONG_LONG;
+
+ private static class __stdinp$constants {
+ public static final AddressLayout LAYOUT = hdf5_h.C_POINTER;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("__stdinp").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stdinp
+ * }
+ */
+ public static AddressLayout __stdinp$layout() { return __stdinp$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stdinp
+ * }
+ */
+ public static MemorySegment __stdinp$segment() { return __stdinp$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stdinp
+ * }
+ */
+ public static MemorySegment __stdinp()
+ {
+ return __stdinp$constants.SEGMENT.get(__stdinp$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stdinp
+ * }
+ */
+ public static void __stdinp(MemorySegment varValue)
+ {
+ __stdinp$constants.SEGMENT.set(__stdinp$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class __stdoutp$constants {
+ public static final AddressLayout LAYOUT = hdf5_h.C_POINTER;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("__stdoutp").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stdoutp
+ * }
+ */
+ public static AddressLayout __stdoutp$layout() { return __stdoutp$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stdoutp
+ * }
+ */
+ public static MemorySegment __stdoutp$segment() { return __stdoutp$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stdoutp
+ * }
+ */
+ public static MemorySegment __stdoutp()
+ {
+ return __stdoutp$constants.SEGMENT.get(__stdoutp$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stdoutp
+ * }
+ */
+ public static void __stdoutp(MemorySegment varValue)
+ {
+ __stdoutp$constants.SEGMENT.set(__stdoutp$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class __stderrp$constants {
+ public static final AddressLayout LAYOUT = hdf5_h.C_POINTER;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("__stderrp").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stderrp
+ * }
+ */
+ public static AddressLayout __stderrp$layout() { return __stderrp$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stderrp
+ * }
+ */
+ public static MemorySegment __stderrp$segment() { return __stderrp$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stderrp
+ * }
+ */
+ public static MemorySegment __stderrp()
+ {
+ return __stderrp$constants.SEGMENT.get(__stderrp$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stderrp
+ * }
+ */
+ public static void __stderrp(MemorySegment varValue)
+ {
+ __stderrp$constants.SEGMENT.set(__stderrp$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class clearerr {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("clearerr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void clearerr(FILE *)
+ * }
+ */
+ public static FunctionDescriptor clearerr$descriptor() { return clearerr.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void clearerr(FILE *)
+ * }
+ */
+ public static MethodHandle clearerr$handle() { return clearerr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void clearerr(FILE *)
+ * }
+ */
+ public static MemorySegment clearerr$address() { return clearerr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void clearerr(FILE *)
+ * }
+ */
+ public static void clearerr(MemorySegment x0)
+ {
+ var mh$ = clearerr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("clearerr", x0);
+ }
+ mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fclose(FILE *)
+ * }
+ */
+ public static FunctionDescriptor fclose$descriptor() { return fclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fclose(FILE *)
+ * }
+ */
+ public static MethodHandle fclose$handle() { return fclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fclose(FILE *)
+ * }
+ */
+ public static MemorySegment fclose$address() { return fclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fclose(FILE *)
+ * }
+ */
+ public static int fclose(MemorySegment x0)
+ {
+ var mh$ = fclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fclose", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class feof {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("feof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int feof(FILE *)
+ * }
+ */
+ public static FunctionDescriptor feof$descriptor() { return feof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int feof(FILE *)
+ * }
+ */
+ public static MethodHandle feof$handle() { return feof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int feof(FILE *)
+ * }
+ */
+ public static MemorySegment feof$address() { return feof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int feof(FILE *)
+ * }
+ */
+ public static int feof(MemorySegment x0)
+ {
+ var mh$ = feof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("feof", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ferror {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ferror");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int ferror(FILE *)
+ * }
+ */
+ public static FunctionDescriptor ferror$descriptor() { return ferror.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int ferror(FILE *)
+ * }
+ */
+ public static MethodHandle ferror$handle() { return ferror.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int ferror(FILE *)
+ * }
+ */
+ public static MemorySegment ferror$address() { return ferror.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int ferror(FILE *)
+ * }
+ */
+ public static int ferror(MemorySegment x0)
+ {
+ var mh$ = ferror.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ferror", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fflush(FILE *)
+ * }
+ */
+ public static FunctionDescriptor fflush$descriptor() { return fflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fflush(FILE *)
+ * }
+ */
+ public static MethodHandle fflush$handle() { return fflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fflush(FILE *)
+ * }
+ */
+ public static MemorySegment fflush$address() { return fflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fflush(FILE *)
+ * }
+ */
+ public static int fflush(MemorySegment x0)
+ {
+ var mh$ = fflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fflush", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fgetc(FILE *)
+ * }
+ */
+ public static FunctionDescriptor fgetc$descriptor() { return fgetc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fgetc(FILE *)
+ * }
+ */
+ public static MethodHandle fgetc$handle() { return fgetc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fgetc(FILE *)
+ * }
+ */
+ public static MemorySegment fgetc$address() { return fgetc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fgetc(FILE *)
+ * }
+ */
+ public static int fgetc(MemorySegment x0)
+ {
+ var mh$ = fgetc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetc", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetpos {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetpos");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fgetpos(FILE *restrict, fpos_t *)
+ * }
+ */
+ public static FunctionDescriptor fgetpos$descriptor() { return fgetpos.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fgetpos(FILE *restrict, fpos_t *)
+ * }
+ */
+ public static MethodHandle fgetpos$handle() { return fgetpos.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fgetpos(FILE *restrict, fpos_t *)
+ * }
+ */
+ public static MemorySegment fgetpos$address() { return fgetpos.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fgetpos(FILE *restrict, fpos_t *)
+ * }
+ */
+ public static int fgetpos(MemorySegment x0, MemorySegment x1)
+ {
+ var mh$ = fgetpos.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetpos", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgets {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgets");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *fgets(char *restrict, int __size, FILE *)
+ * }
+ */
+ public static FunctionDescriptor fgets$descriptor() { return fgets.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *fgets(char *restrict, int __size, FILE *)
+ * }
+ */
+ public static MethodHandle fgets$handle() { return fgets.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *fgets(char *restrict, int __size, FILE *)
+ * }
+ */
+ public static MemorySegment fgets$address() { return fgets.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *fgets(char *restrict, int __size, FILE *)
+ * }
+ */
+ public static MemorySegment fgets(MemorySegment x0, int __size, MemorySegment x2)
+ {
+ var mh$ = fgets.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgets", x0, __size, x2);
+ }
+ return (MemorySegment)mh$.invokeExact(x0, __size, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *fopen(const char *restrict __filename, const char *restrict __mode)
+ * }
+ */
+ public static FunctionDescriptor fopen$descriptor() { return fopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *fopen(const char *restrict __filename, const char *restrict __mode)
+ * }
+ */
+ public static MethodHandle fopen$handle() { return fopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *fopen(const char *restrict __filename, const char *restrict __mode)
+ * }
+ */
+ public static MemorySegment fopen$address() { return fopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *fopen(const char *restrict __filename, const char *restrict __mode)
+ * }
+ */
+ public static MemorySegment fopen(MemorySegment __filename, MemorySegment __mode)
+ {
+ var mh$ = fopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fopen", __filename, __mode);
+ }
+ return (MemorySegment)mh$.invokeExact(__filename, __mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * int fprintf(FILE *restrict, const char *restrict, ...)
+ * }
+ */
+ public static class fprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("fprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private fprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * int fprintf(FILE *restrict, const char *restrict, ...)
+ * }
+ */
+ public static fprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new fprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment x0, MemorySegment x1, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fprintf", x0, x1, x2);
+ }
+ return (int)spreader.invokeExact(x0, x1, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class fputc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fputc(int, FILE *)
+ * }
+ */
+ public static FunctionDescriptor fputc$descriptor() { return fputc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fputc(int, FILE *)
+ * }
+ */
+ public static MethodHandle fputc$handle() { return fputc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fputc(int, FILE *)
+ * }
+ */
+ public static MemorySegment fputc$address() { return fputc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fputc(int, FILE *)
+ * }
+ */
+ public static int fputc(int x0, MemorySegment x1)
+ {
+ var mh$ = fputc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputc", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fputs {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fputs(const char *restrict, FILE *restrict)
+ * }
+ */
+ public static FunctionDescriptor fputs$descriptor() { return fputs.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fputs(const char *restrict, FILE *restrict)
+ * }
+ */
+ public static MethodHandle fputs$handle() { return fputs.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fputs(const char *restrict, FILE *restrict)
+ * }
+ */
+ public static MemorySegment fputs$address() { return fputs.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fputs(const char *restrict, FILE *restrict)
+ * }
+ */
+ public static int fputs(MemorySegment x0, MemorySegment x1)
+ {
+ var mh$ = fputs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputs", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fread {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * unsigned long fread(void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict __stream)
+ * }
+ */
+ public static FunctionDescriptor fread$descriptor() { return fread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * unsigned long fread(void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict __stream)
+ * }
+ */
+ public static MethodHandle fread$handle() { return fread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * unsigned long fread(void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict __stream)
+ * }
+ */
+ public static MemorySegment fread$address() { return fread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * unsigned long fread(void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict __stream)
+ * }
+ */
+ public static long fread(MemorySegment __ptr, long __size, long __nitems, MemorySegment __stream)
+ {
+ var mh$ = fread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fread", __ptr, __size, __nitems, __stream);
+ }
+ return (long)mh$.invokeExact(__ptr, __size, __nitems, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class freopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("freopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *freopen(const char *restrict, const char *restrict, FILE *restrict)
+ * }
+ */
+ public static FunctionDescriptor freopen$descriptor() { return freopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *freopen(const char *restrict, const char *restrict, FILE *restrict)
+ * }
+ */
+ public static MethodHandle freopen$handle() { return freopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *freopen(const char *restrict, const char *restrict, FILE *restrict)
+ * }
+ */
+ public static MemorySegment freopen$address() { return freopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *freopen(const char *restrict, const char *restrict, FILE *restrict)
+ * }
+ */
+ public static MemorySegment freopen(MemorySegment x0, MemorySegment x1, MemorySegment x2)
+ {
+ var mh$ = freopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("freopen", x0, x1, x2);
+ }
+ return (MemorySegment)mh$.invokeExact(x0, x1, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * int fscanf(FILE *restrict, const char *restrict, ...)
+ * }
+ */
+ public static class fscanf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("fscanf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private fscanf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * int fscanf(FILE *restrict, const char *restrict, ...)
+ * }
+ */
+ public static fscanf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new fscanf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment x0, MemorySegment x1, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fscanf", x0, x1, x2);
+ }
+ return (int)spreader.invokeExact(x0, x1, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class fseek {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fseek");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fseek(FILE *, long, int)
+ * }
+ */
+ public static FunctionDescriptor fseek$descriptor() { return fseek.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fseek(FILE *, long, int)
+ * }
+ */
+ public static MethodHandle fseek$handle() { return fseek.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fseek(FILE *, long, int)
+ * }
+ */
+ public static MemorySegment fseek$address() { return fseek.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fseek(FILE *, long, int)
+ * }
+ */
+ public static int fseek(MemorySegment x0, long x1, int x2)
+ {
+ var mh$ = fseek.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fseek", x0, x1, x2);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fsetpos {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fsetpos");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fsetpos(FILE *, const fpos_t *)
+ * }
+ */
+ public static FunctionDescriptor fsetpos$descriptor() { return fsetpos.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fsetpos(FILE *, const fpos_t *)
+ * }
+ */
+ public static MethodHandle fsetpos$handle() { return fsetpos.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fsetpos(FILE *, const fpos_t *)
+ * }
+ */
+ public static MemorySegment fsetpos$address() { return fsetpos.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fsetpos(FILE *, const fpos_t *)
+ * }
+ */
+ public static int fsetpos(MemorySegment x0, MemorySegment x1)
+ {
+ var mh$ = fsetpos.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fsetpos", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ftell {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ftell");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * long ftell(FILE *)
+ * }
+ */
+ public static FunctionDescriptor ftell$descriptor() { return ftell.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * long ftell(FILE *)
+ * }
+ */
+ public static MethodHandle ftell$handle() { return ftell.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * long ftell(FILE *)
+ * }
+ */
+ public static MemorySegment ftell$address() { return ftell.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * long ftell(FILE *)
+ * }
+ */
+ public static long ftell(MemorySegment x0)
+ {
+ var mh$ = ftell.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ftell", x0);
+ }
+ return (long)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fwrite {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fwrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static FunctionDescriptor fwrite$descriptor() { return fwrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static MethodHandle fwrite$handle() { return fwrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static MemorySegment fwrite$address() { return fwrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static long fwrite(MemorySegment __ptr, long __size, long __nitems, MemorySegment __stream)
+ {
+ var mh$ = fwrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fwrite", __ptr, __size, __nitems, __stream);
+ }
+ return (long)mh$.invokeExact(__ptr, __size, __nitems, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int getc(FILE *)
+ * }
+ */
+ public static FunctionDescriptor getc$descriptor() { return getc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int getc(FILE *)
+ * }
+ */
+ public static MethodHandle getc$handle() { return getc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int getc(FILE *)
+ * }
+ */
+ public static MemorySegment getc$address() { return getc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int getc(FILE *)
+ * }
+ */
+ public static int getc(MemorySegment x0)
+ {
+ var mh$ = getc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getc", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int getchar()
+ * }
+ */
+ public static FunctionDescriptor getchar$descriptor() { return getchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int getchar()
+ * }
+ */
+ public static MethodHandle getchar$handle() { return getchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int getchar()
+ * }
+ */
+ public static MemorySegment getchar$address() { return getchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int getchar()
+ * }
+ */
+ public static int getchar()
+ {
+ var mh$ = getchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getchar");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class gets {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("gets");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *gets(char *)
+ * }
+ */
+ public static FunctionDescriptor gets$descriptor() { return gets.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *gets(char *)
+ * }
+ */
+ public static MethodHandle gets$handle() { return gets.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *gets(char *)
+ * }
+ */
+ public static MemorySegment gets$address() { return gets.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *gets(char *)
+ * }
+ */
+ public static MemorySegment gets(MemorySegment x0)
+ {
+ var mh$ = gets.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("gets", x0);
+ }
+ return (MemorySegment)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class perror {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("perror");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void perror(const char *)
+ * }
+ */
+ public static FunctionDescriptor perror$descriptor() { return perror.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void perror(const char *)
+ * }
+ */
+ public static MethodHandle perror$handle() { return perror.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void perror(const char *)
+ * }
+ */
+ public static MemorySegment perror$address() { return perror.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void perror(const char *)
+ * }
+ */
+ public static void perror(MemorySegment x0)
+ {
+ var mh$ = perror.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("perror", x0);
+ }
+ mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int putc(int, FILE *)
+ * }
+ */
+ public static FunctionDescriptor putc$descriptor() { return putc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int putc(int, FILE *)
+ * }
+ */
+ public static MethodHandle putc$handle() { return putc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int putc(int, FILE *)
+ * }
+ */
+ public static MemorySegment putc$address() { return putc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int putc(int, FILE *)
+ * }
+ */
+ public static int putc(int x0, MemorySegment x1)
+ {
+ var mh$ = putc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putc", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int putchar(int)
+ * }
+ */
+ public static FunctionDescriptor putchar$descriptor() { return putchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int putchar(int)
+ * }
+ */
+ public static MethodHandle putchar$handle() { return putchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int putchar(int)
+ * }
+ */
+ public static MemorySegment putchar$address() { return putchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int putchar(int)
+ * }
+ */
+ public static int putchar(int x0)
+ {
+ var mh$ = putchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putchar", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class puts {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("puts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int puts(const char *)
+ * }
+ */
+ public static FunctionDescriptor puts$descriptor() { return puts.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int puts(const char *)
+ * }
+ */
+ public static MethodHandle puts$handle() { return puts.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int puts(const char *)
+ * }
+ */
+ public static MemorySegment puts$address() { return puts.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int puts(const char *)
+ * }
+ */
+ public static int puts(MemorySegment x0)
+ {
+ var mh$ = puts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("puts", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class remove {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("remove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int remove(const char *)
+ * }
+ */
+ public static FunctionDescriptor remove$descriptor() { return remove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int remove(const char *)
+ * }
+ */
+ public static MethodHandle remove$handle() { return remove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int remove(const char *)
+ * }
+ */
+ public static MemorySegment remove$address() { return remove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int remove(const char *)
+ * }
+ */
+ public static int remove(MemorySegment x0)
+ {
+ var mh$ = remove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("remove", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class rename {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("rename");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int rename(const char *__old, const char *__new)
+ * }
+ */
+ public static FunctionDescriptor rename$descriptor() { return rename.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int rename(const char *__old, const char *__new)
+ * }
+ */
+ public static MethodHandle rename$handle() { return rename.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int rename(const char *__old, const char *__new)
+ * }
+ */
+ public static MemorySegment rename$address() { return rename.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int rename(const char *__old, const char *__new)
+ * }
+ */
+ public static int rename(MemorySegment __old, MemorySegment __new)
+ {
+ var mh$ = rename.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("rename", __old, __new);
+ }
+ return (int)mh$.invokeExact(__old, __new);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class rewind {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("rewind");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void rewind(FILE *)
+ * }
+ */
+ public static FunctionDescriptor rewind$descriptor() { return rewind.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void rewind(FILE *)
+ * }
+ */
+ public static MethodHandle rewind$handle() { return rewind.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void rewind(FILE *)
+ * }
+ */
+ public static MemorySegment rewind$address() { return rewind.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void rewind(FILE *)
+ * }
+ */
+ public static void rewind(MemorySegment x0)
+ {
+ var mh$ = rewind.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("rewind", x0);
+ }
+ mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * int scanf(const char *restrict, ...)
+ * }
+ */
+ public static class scanf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("scanf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private scanf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * int scanf(const char *restrict, ...)
+ * }
+ */
+ public static scanf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new scanf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment x0, Object... x1)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("scanf", x0, x1);
+ }
+ return (int)spreader.invokeExact(x0, x1);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class setbuf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.ofVoid(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setbuf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void setbuf(FILE *restrict, char *restrict)
+ * }
+ */
+ public static FunctionDescriptor setbuf$descriptor() { return setbuf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void setbuf(FILE *restrict, char *restrict)
+ * }
+ */
+ public static MethodHandle setbuf$handle() { return setbuf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void setbuf(FILE *restrict, char *restrict)
+ * }
+ */
+ public static MemorySegment setbuf$address() { return setbuf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void setbuf(FILE *restrict, char *restrict)
+ * }
+ */
+ public static void setbuf(MemorySegment x0, MemorySegment x1)
+ {
+ var mh$ = setbuf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setbuf", x0, x1);
+ }
+ mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class setvbuf {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setvbuf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int setvbuf(FILE *restrict, char *restrict, int, size_t __size)
+ * }
+ */
+ public static FunctionDescriptor setvbuf$descriptor() { return setvbuf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int setvbuf(FILE *restrict, char *restrict, int, size_t __size)
+ * }
+ */
+ public static MethodHandle setvbuf$handle() { return setvbuf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int setvbuf(FILE *restrict, char *restrict, int, size_t __size)
+ * }
+ */
+ public static MemorySegment setvbuf$address() { return setvbuf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int setvbuf(FILE *restrict, char *restrict, int, size_t __size)
+ * }
+ */
+ public static int setvbuf(MemorySegment x0, MemorySegment x1, int x2, long __size)
+ {
+ var mh$ = setvbuf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setvbuf", x0, x1, x2, __size);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2, __size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * int sprintf(char *restrict, const char *restrict, ...)
+ * }
+ */
+ public static class sprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("sprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private sprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * int sprintf(char *restrict, const char *restrict, ...)
+ * }
+ */
+ public static sprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new sprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment x0, MemorySegment x1, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("sprintf", x0, x1, x2);
+ }
+ return (int)spreader.invokeExact(x0, x1, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * int sscanf(const char *restrict, const char *restrict, ...)
+ * }
+ */
+ public static class sscanf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("sscanf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private sscanf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * int sscanf(const char *restrict, const char *restrict, ...)
+ * }
+ */
+ public static sscanf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new sscanf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment x0, MemorySegment x1, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("sscanf", x0, x1, x2);
+ }
+ return (int)spreader.invokeExact(x0, x1, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class tmpfile {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tmpfile");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *tmpfile()
+ * }
+ */
+ public static FunctionDescriptor tmpfile$descriptor() { return tmpfile.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *tmpfile()
+ * }
+ */
+ public static MethodHandle tmpfile$handle() { return tmpfile.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *tmpfile()
+ * }
+ */
+ public static MemorySegment tmpfile$address() { return tmpfile.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *tmpfile()
+ * }
+ */
+ public static MemorySegment tmpfile()
+ {
+ var mh$ = tmpfile.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tmpfile");
+ }
+ return (MemorySegment)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tmpnam {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tmpnam");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *tmpnam(char *)
+ * }
+ */
+ public static FunctionDescriptor tmpnam$descriptor() { return tmpnam.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *tmpnam(char *)
+ * }
+ */
+ public static MethodHandle tmpnam$handle() { return tmpnam.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *tmpnam(char *)
+ * }
+ */
+ public static MemorySegment tmpnam$address() { return tmpnam.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *tmpnam(char *)
+ * }
+ */
+ public static MemorySegment tmpnam(MemorySegment x0)
+ {
+ var mh$ = tmpnam.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tmpnam", x0);
+ }
+ return (MemorySegment)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ungetc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ungetc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int ungetc(int, FILE *)
+ * }
+ */
+ public static FunctionDescriptor ungetc$descriptor() { return ungetc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int ungetc(int, FILE *)
+ * }
+ */
+ public static MethodHandle ungetc$handle() { return ungetc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int ungetc(int, FILE *)
+ * }
+ */
+ public static MemorySegment ungetc$address() { return ungetc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int ungetc(int, FILE *)
+ * }
+ */
+ public static int ungetc(int x0, MemorySegment x1)
+ {
+ var mh$ = ungetc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ungetc", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vfprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vfprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int vfprintf(FILE *restrict, const char *restrict, va_list)
+ * }
+ */
+ public static FunctionDescriptor vfprintf$descriptor() { return vfprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int vfprintf(FILE *restrict, const char *restrict, va_list)
+ * }
+ */
+ public static MethodHandle vfprintf$handle() { return vfprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int vfprintf(FILE *restrict, const char *restrict, va_list)
+ * }
+ */
+ public static MemorySegment vfprintf$address() { return vfprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int vfprintf(FILE *restrict, const char *restrict, va_list)
+ * }
+ */
+ public static int vfprintf(MemorySegment x0, MemorySegment x1, MemorySegment x2)
+ {
+ var mh$ = vfprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vfprintf", x0, x1, x2);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int vprintf(const char *restrict, va_list)
+ * }
+ */
+ public static FunctionDescriptor vprintf$descriptor() { return vprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int vprintf(const char *restrict, va_list)
+ * }
+ */
+ public static MethodHandle vprintf$handle() { return vprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int vprintf(const char *restrict, va_list)
+ * }
+ */
+ public static MemorySegment vprintf$address() { return vprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int vprintf(const char *restrict, va_list)
+ * }
+ */
+ public static int vprintf(MemorySegment x0, MemorySegment x1)
+ {
+ var mh$ = vprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vprintf", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vsprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vsprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int vsprintf(char *restrict, const char *restrict, va_list)
+ * }
+ */
+ public static FunctionDescriptor vsprintf$descriptor() { return vsprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int vsprintf(char *restrict, const char *restrict, va_list)
+ * }
+ */
+ public static MethodHandle vsprintf$handle() { return vsprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int vsprintf(char *restrict, const char *restrict, va_list)
+ * }
+ */
+ public static MemorySegment vsprintf$address() { return vsprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int vsprintf(char *restrict, const char *restrict, va_list)
+ * }
+ */
+ public static int vsprintf(MemorySegment x0, MemorySegment x1, MemorySegment x2)
+ {
+ var mh$ = vsprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vsprintf", x0, x1, x2);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ctermid {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ctermid");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *ctermid(char *)
+ * }
+ */
+ public static FunctionDescriptor ctermid$descriptor() { return ctermid.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *ctermid(char *)
+ * }
+ */
+ public static MethodHandle ctermid$handle() { return ctermid.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *ctermid(char *)
+ * }
+ */
+ public static MemorySegment ctermid$address() { return ctermid.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *ctermid(char *)
+ * }
+ */
+ public static MemorySegment ctermid(MemorySegment x0)
+ {
+ var mh$ = ctermid.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ctermid", x0);
+ }
+ return (MemorySegment)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fdopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fdopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *fdopen(int, const char *)
+ * }
+ */
+ public static FunctionDescriptor fdopen$descriptor() { return fdopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *fdopen(int, const char *)
+ * }
+ */
+ public static MethodHandle fdopen$handle() { return fdopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *fdopen(int, const char *)
+ * }
+ */
+ public static MemorySegment fdopen$address() { return fdopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *fdopen(int, const char *)
+ * }
+ */
+ public static MemorySegment fdopen(int x0, MemorySegment x1)
+ {
+ var mh$ = fdopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fdopen", x0, x1);
+ }
+ return (MemorySegment)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fileno {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fileno");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fileno(FILE *)
+ * }
+ */
+ public static FunctionDescriptor fileno$descriptor() { return fileno.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fileno(FILE *)
+ * }
+ */
+ public static MethodHandle fileno$handle() { return fileno.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fileno(FILE *)
+ * }
+ */
+ public static MemorySegment fileno$address() { return fileno.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fileno(FILE *)
+ * }
+ */
+ public static int fileno(MemorySegment x0)
+ {
+ var mh$ = fileno.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fileno", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class pclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("pclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int pclose(FILE *)
+ * }
+ */
+ public static FunctionDescriptor pclose$descriptor() { return pclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int pclose(FILE *)
+ * }
+ */
+ public static MethodHandle pclose$handle() { return pclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int pclose(FILE *)
+ * }
+ */
+ public static MemorySegment pclose$address() { return pclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int pclose(FILE *)
+ * }
+ */
+ public static int pclose(MemorySegment x0)
+ {
+ var mh$ = pclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("pclose", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class popen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("popen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *popen(const char *, const char *)
+ * }
+ */
+ public static FunctionDescriptor popen$descriptor() { return popen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *popen(const char *, const char *)
+ * }
+ */
+ public static MethodHandle popen$handle() { return popen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *popen(const char *, const char *)
+ * }
+ */
+ public static MemorySegment popen$address() { return popen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *popen(const char *, const char *)
+ * }
+ */
+ public static MemorySegment popen(MemorySegment x0, MemorySegment x1)
+ {
+ var mh$ = popen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("popen", x0, x1);
+ }
+ return (MemorySegment)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __srget {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__srget");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __srget(FILE *)
+ * }
+ */
+ public static FunctionDescriptor __srget$descriptor() { return __srget.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __srget(FILE *)
+ * }
+ */
+ public static MethodHandle __srget$handle() { return __srget.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __srget(FILE *)
+ * }
+ */
+ public static MemorySegment __srget$address() { return __srget.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __srget(FILE *)
+ * }
+ */
+ public static int __srget(MemorySegment x0)
+ {
+ var mh$ = __srget.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__srget", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __svfscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__svfscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __svfscanf(FILE *, const char *, va_list)
+ * }
+ */
+ public static FunctionDescriptor __svfscanf$descriptor() { return __svfscanf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __svfscanf(FILE *, const char *, va_list)
+ * }
+ */
+ public static MethodHandle __svfscanf$handle() { return __svfscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __svfscanf(FILE *, const char *, va_list)
+ * }
+ */
+ public static MemorySegment __svfscanf$address() { return __svfscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __svfscanf(FILE *, const char *, va_list)
+ * }
+ */
+ public static int __svfscanf(MemorySegment x0, MemorySegment x1, MemorySegment x2)
+ {
+ var mh$ = __svfscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__svfscanf", x0, x1, x2);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __swbuf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__swbuf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __swbuf(int, FILE *)
+ * }
+ */
+ public static FunctionDescriptor __swbuf$descriptor() { return __swbuf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __swbuf(int, FILE *)
+ * }
+ */
+ public static MethodHandle __swbuf$handle() { return __swbuf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __swbuf(int, FILE *)
+ * }
+ */
+ public static MemorySegment __swbuf$address() { return __swbuf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __swbuf(int, FILE *)
+ * }
+ */
+ public static int __swbuf(int x0, MemorySegment x1)
+ {
+ var mh$ = __swbuf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__swbuf", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class flockfile {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("flockfile");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void flockfile(FILE *)
+ * }
+ */
+ public static FunctionDescriptor flockfile$descriptor() { return flockfile.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void flockfile(FILE *)
+ * }
+ */
+ public static MethodHandle flockfile$handle() { return flockfile.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void flockfile(FILE *)
+ * }
+ */
+ public static MemorySegment flockfile$address() { return flockfile.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void flockfile(FILE *)
+ * }
+ */
+ public static void flockfile(MemorySegment x0)
+ {
+ var mh$ = flockfile.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("flockfile", x0);
+ }
+ mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ftrylockfile {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ftrylockfile");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int ftrylockfile(FILE *)
+ * }
+ */
+ public static FunctionDescriptor ftrylockfile$descriptor() { return ftrylockfile.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int ftrylockfile(FILE *)
+ * }
+ */
+ public static MethodHandle ftrylockfile$handle() { return ftrylockfile.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int ftrylockfile(FILE *)
+ * }
+ */
+ public static MemorySegment ftrylockfile$address() { return ftrylockfile.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int ftrylockfile(FILE *)
+ * }
+ */
+ public static int ftrylockfile(MemorySegment x0)
+ {
+ var mh$ = ftrylockfile.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ftrylockfile", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class funlockfile {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("funlockfile");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void funlockfile(FILE *)
+ * }
+ */
+ public static FunctionDescriptor funlockfile$descriptor() { return funlockfile.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void funlockfile(FILE *)
+ * }
+ */
+ public static MethodHandle funlockfile$handle() { return funlockfile.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void funlockfile(FILE *)
+ * }
+ */
+ public static MemorySegment funlockfile$address() { return funlockfile.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void funlockfile(FILE *)
+ * }
+ */
+ public static void funlockfile(MemorySegment x0)
+ {
+ var mh$ = funlockfile.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("funlockfile", x0);
+ }
+ mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getc_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getc_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int getc_unlocked(FILE *)
+ * }
+ */
+ public static FunctionDescriptor getc_unlocked$descriptor() { return getc_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int getc_unlocked(FILE *)
+ * }
+ */
+ public static MethodHandle getc_unlocked$handle() { return getc_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int getc_unlocked(FILE *)
+ * }
+ */
+ public static MemorySegment getc_unlocked$address() { return getc_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int getc_unlocked(FILE *)
+ * }
+ */
+ public static int getc_unlocked(MemorySegment x0)
+ {
+ var mh$ = getc_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getc_unlocked", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getchar_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getchar_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int getchar_unlocked()
+ * }
+ */
+ public static FunctionDescriptor getchar_unlocked$descriptor() { return getchar_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int getchar_unlocked()
+ * }
+ */
+ public static MethodHandle getchar_unlocked$handle() { return getchar_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int getchar_unlocked()
+ * }
+ */
+ public static MemorySegment getchar_unlocked$address() { return getchar_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int getchar_unlocked()
+ * }
+ */
+ public static int getchar_unlocked()
+ {
+ var mh$ = getchar_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getchar_unlocked");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putc_unlocked {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putc_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int putc_unlocked(int, FILE *)
+ * }
+ */
+ public static FunctionDescriptor putc_unlocked$descriptor() { return putc_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int putc_unlocked(int, FILE *)
+ * }
+ */
+ public static MethodHandle putc_unlocked$handle() { return putc_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int putc_unlocked(int, FILE *)
+ * }
+ */
+ public static MemorySegment putc_unlocked$address() { return putc_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int putc_unlocked(int, FILE *)
+ * }
+ */
+ public static int putc_unlocked(int x0, MemorySegment x1)
+ {
+ var mh$ = putc_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putc_unlocked", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putchar_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putchar_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int putchar_unlocked(int)
+ * }
+ */
+ public static FunctionDescriptor putchar_unlocked$descriptor() { return putchar_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int putchar_unlocked(int)
+ * }
+ */
+ public static MethodHandle putchar_unlocked$handle() { return putchar_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int putchar_unlocked(int)
+ * }
+ */
+ public static MemorySegment putchar_unlocked$address() { return putchar_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int putchar_unlocked(int)
+ * }
+ */
+ public static int putchar_unlocked(int x0)
+ {
+ var mh$ = putchar_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putchar_unlocked", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getw {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getw");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int getw(FILE *)
+ * }
+ */
+ public static FunctionDescriptor getw$descriptor() { return getw.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int getw(FILE *)
+ * }
+ */
+ public static MethodHandle getw$handle() { return getw.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int getw(FILE *)
+ * }
+ */
+ public static MemorySegment getw$address() { return getw.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int getw(FILE *)
+ * }
+ */
+ public static int getw(MemorySegment x0)
+ {
+ var mh$ = getw.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getw", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putw {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putw");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int putw(int, FILE *)
+ * }
+ */
+ public static FunctionDescriptor putw$descriptor() { return putw.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int putw(int, FILE *)
+ * }
+ */
+ public static MethodHandle putw$handle() { return putw.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int putw(int, FILE *)
+ * }
+ */
+ public static MemorySegment putw$address() { return putw.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int putw(int, FILE *)
+ * }
+ */
+ public static int putw(int x0, MemorySegment x1)
+ {
+ var mh$ = putw.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putw", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tempnam {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tempnam");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *tempnam(const char *__dir, const char *__prefix)
+ * }
+ */
+ public static FunctionDescriptor tempnam$descriptor() { return tempnam.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *tempnam(const char *__dir, const char *__prefix)
+ * }
+ */
+ public static MethodHandle tempnam$handle() { return tempnam.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *tempnam(const char *__dir, const char *__prefix)
+ * }
+ */
+ public static MemorySegment tempnam$address() { return tempnam.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *tempnam(const char *__dir, const char *__prefix)
+ * }
+ */
+ public static MemorySegment tempnam(MemorySegment __dir, MemorySegment __prefix)
+ {
+ var mh$ = tempnam.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tempnam", __dir, __prefix);
+ }
+ return (MemorySegment)mh$.invokeExact(__dir, __prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fseeko {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fseeko");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fseeko(FILE *__stream, off_t __offset, int __whence)
+ * }
+ */
+ public static FunctionDescriptor fseeko$descriptor() { return fseeko.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fseeko(FILE *__stream, off_t __offset, int __whence)
+ * }
+ */
+ public static MethodHandle fseeko$handle() { return fseeko.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fseeko(FILE *__stream, off_t __offset, int __whence)
+ * }
+ */
+ public static MemorySegment fseeko$address() { return fseeko.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fseeko(FILE *__stream, off_t __offset, int __whence)
+ * }
+ */
+ public static int fseeko(MemorySegment __stream, long __offset, int __whence)
+ {
+ var mh$ = fseeko.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fseeko", __stream, __offset, __whence);
+ }
+ return (int)mh$.invokeExact(__stream, __offset, __whence);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ftello {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ftello");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * off_t ftello(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor ftello$descriptor() { return ftello.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * off_t ftello(FILE *__stream)
+ * }
+ */
+ public static MethodHandle ftello$handle() { return ftello.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * off_t ftello(FILE *__stream)
+ * }
+ */
+ public static MemorySegment ftello$address() { return ftello.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * off_t ftello(FILE *__stream)
+ * }
+ */
+ public static long ftello(MemorySegment __stream)
+ {
+ var mh$ = ftello.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ftello", __stream);
+ }
+ return (long)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * int snprintf(char *restrict __str, size_t __size, const char *restrict __format, ...)
+ * }
+ */
+ public static class snprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("snprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private snprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * int snprintf(char *restrict __str, size_t __size, const char *restrict __format, ...)
+ * }
+ */
+ public static snprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new snprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __str, long __size, MemorySegment __format, Object... x3)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("snprintf", __str, __size, __format, x3);
+ }
+ return (int)spreader.invokeExact(__str, __size, __format, x3);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class vfscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vfscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int vfscanf(FILE *restrict __stream, const char *restrict __format, va_list)
+ * }
+ */
+ public static FunctionDescriptor vfscanf$descriptor() { return vfscanf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int vfscanf(FILE *restrict __stream, const char *restrict __format, va_list)
+ * }
+ */
+ public static MethodHandle vfscanf$handle() { return vfscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int vfscanf(FILE *restrict __stream, const char *restrict __format, va_list)
+ * }
+ */
+ public static MemorySegment vfscanf$address() { return vfscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int vfscanf(FILE *restrict __stream, const char *restrict __format, va_list)
+ * }
+ */
+ public static int vfscanf(MemorySegment __stream, MemorySegment __format, MemorySegment x2)
+ {
+ var mh$ = vfscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vfscanf", __stream, __format, x2);
+ }
+ return (int)mh$.invokeExact(__stream, __format, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int vscanf(const char *restrict __format, va_list)
+ * }
+ */
+ public static FunctionDescriptor vscanf$descriptor() { return vscanf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int vscanf(const char *restrict __format, va_list)
+ * }
+ */
+ public static MethodHandle vscanf$handle() { return vscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int vscanf(const char *restrict __format, va_list)
+ * }
+ */
+ public static MemorySegment vscanf$address() { return vscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int vscanf(const char *restrict __format, va_list)
+ * }
+ */
+ public static int vscanf(MemorySegment __format, MemorySegment x1)
+ {
+ var mh$ = vscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vscanf", __format, x1);
+ }
+ return (int)mh$.invokeExact(__format, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vsnprintf {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vsnprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int vsnprintf(char *restrict __str, size_t __size, const char *restrict __format, va_list)
+ * }
+ */
+ public static FunctionDescriptor vsnprintf$descriptor() { return vsnprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int vsnprintf(char *restrict __str, size_t __size, const char *restrict __format, va_list)
+ * }
+ */
+ public static MethodHandle vsnprintf$handle() { return vsnprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int vsnprintf(char *restrict __str, size_t __size, const char *restrict __format, va_list)
+ * }
+ */
+ public static MemorySegment vsnprintf$address() { return vsnprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int vsnprintf(char *restrict __str, size_t __size, const char *restrict __format, va_list)
+ * }
+ */
+ public static int vsnprintf(MemorySegment __str, long __size, MemorySegment __format, MemorySegment x3)
+ {
+ var mh$ = vsnprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vsnprintf", __str, __size, __format, x3);
+ }
+ return (int)mh$.invokeExact(__str, __size, __format, x3);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vsscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vsscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int vsscanf(const char *restrict __str, const char *restrict __format, va_list)
+ * }
+ */
+ public static FunctionDescriptor vsscanf$descriptor() { return vsscanf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int vsscanf(const char *restrict __str, const char *restrict __format, va_list)
+ * }
+ */
+ public static MethodHandle vsscanf$handle() { return vsscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int vsscanf(const char *restrict __str, const char *restrict __format, va_list)
+ * }
+ */
+ public static MemorySegment vsscanf$address() { return vsscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int vsscanf(const char *restrict __str, const char *restrict __format, va_list)
+ * }
+ */
+ public static int vsscanf(MemorySegment __str, MemorySegment __format, MemorySegment x2)
+ {
+ var mh$ = vsscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vsscanf", __str, __format, x2);
+ }
+ return (int)mh$.invokeExact(__str, __format, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * int dprintf(int, const char *restrict, ...)
+ * }
+ */
+ public static class dprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("dprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private dprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * int dprintf(int, const char *restrict, ...)
+ * }
+ */
+ public static dprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new dprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(int x0, MemorySegment x1, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("dprintf", x0, x1, x2);
+ }
+ return (int)spreader.invokeExact(x0, x1, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class vdprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vdprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int vdprintf(int, const char *restrict, va_list)
+ * }
+ */
+ public static FunctionDescriptor vdprintf$descriptor() { return vdprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int vdprintf(int, const char *restrict, va_list)
+ * }
+ */
+ public static MethodHandle vdprintf$handle() { return vdprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int vdprintf(int, const char *restrict, va_list)
+ * }
+ */
+ public static MemorySegment vdprintf$address() { return vdprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int vdprintf(int, const char *restrict, va_list)
+ * }
+ */
+ public static int vdprintf(int x0, MemorySegment x1, MemorySegment x2)
+ {
+ var mh$ = vdprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vdprintf", x0, x1, x2);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getdelim {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getdelim");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t getdelim(char **restrict __linep, size_t *restrict __linecapp, int __delimiter, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static FunctionDescriptor getdelim$descriptor() { return getdelim.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t getdelim(char **restrict __linep, size_t *restrict __linecapp, int __delimiter, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static MethodHandle getdelim$handle() { return getdelim.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t getdelim(char **restrict __linep, size_t *restrict __linecapp, int __delimiter, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static MemorySegment getdelim$address() { return getdelim.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t getdelim(char **restrict __linep, size_t *restrict __linecapp, int __delimiter, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static long getdelim(MemorySegment __linep, MemorySegment __linecapp, int __delimiter,
+ MemorySegment __stream)
+ {
+ var mh$ = getdelim.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getdelim", __linep, __linecapp, __delimiter, __stream);
+ }
+ return (long)mh$.invokeExact(__linep, __linecapp, __delimiter, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getline {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getline");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t getline(char **restrict __linep, size_t *restrict __linecapp, FILE *restrict __stream)
+ * }
+ */
+ public static FunctionDescriptor getline$descriptor() { return getline.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t getline(char **restrict __linep, size_t *restrict __linecapp, FILE *restrict __stream)
+ * }
+ */
+ public static MethodHandle getline$handle() { return getline.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t getline(char **restrict __linep, size_t *restrict __linecapp, FILE *restrict __stream)
+ * }
+ */
+ public static MemorySegment getline$address() { return getline.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t getline(char **restrict __linep, size_t *restrict __linecapp, FILE *restrict __stream)
+ * }
+ */
+ public static long getline(MemorySegment __linep, MemorySegment __linecapp, MemorySegment __stream)
+ {
+ var mh$ = getline.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getline", __linep, __linecapp, __stream);
+ }
+ return (long)mh$.invokeExact(__linep, __linecapp, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fmemopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fmemopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *fmemopen(void *restrict __buf, size_t __size, const char *restrict __mode)
+ * }
+ */
+ public static FunctionDescriptor fmemopen$descriptor() { return fmemopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *fmemopen(void *restrict __buf, size_t __size, const char *restrict __mode)
+ * }
+ */
+ public static MethodHandle fmemopen$handle() { return fmemopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *fmemopen(void *restrict __buf, size_t __size, const char *restrict __mode)
+ * }
+ */
+ public static MemorySegment fmemopen$address() { return fmemopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *fmemopen(void *restrict __buf, size_t __size, const char *restrict __mode)
+ * }
+ */
+ public static MemorySegment fmemopen(MemorySegment __buf, long __size, MemorySegment __mode)
+ {
+ var mh$ = fmemopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fmemopen", __buf, __size, __mode);
+ }
+ return (MemorySegment)mh$.invokeExact(__buf, __size, __mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class open_memstream {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("open_memstream");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *open_memstream(char **__bufp, size_t *__sizep)
+ * }
+ */
+ public static FunctionDescriptor open_memstream$descriptor() { return open_memstream.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *open_memstream(char **__bufp, size_t *__sizep)
+ * }
+ */
+ public static MethodHandle open_memstream$handle() { return open_memstream.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *open_memstream(char **__bufp, size_t *__sizep)
+ * }
+ */
+ public static MemorySegment open_memstream$address() { return open_memstream.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *open_memstream(char **__bufp, size_t *__sizep)
+ * }
+ */
+ public static MemorySegment open_memstream(MemorySegment __bufp, MemorySegment __sizep)
+ {
+ var mh$ = open_memstream.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("open_memstream", __bufp, __sizep);
+ }
+ return (MemorySegment)mh$.invokeExact(__bufp, __sizep);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class sys_nerr$constants {
+ public static final OfInt LAYOUT = hdf5_h.C_INT;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("sys_nerr").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern const int sys_nerr
+ * }
+ */
+ public static OfInt sys_nerr$layout() { return sys_nerr$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern const int sys_nerr
+ * }
+ */
+ public static MemorySegment sys_nerr$segment() { return sys_nerr$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern const int sys_nerr
+ * }
+ */
+ public static int sys_nerr() { return sys_nerr$constants.SEGMENT.get(sys_nerr$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern const int sys_nerr
+ * }
+ */
+ public static void sys_nerr(int varValue)
+ {
+ sys_nerr$constants.SEGMENT.set(sys_nerr$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class sys_errlist$constants {
+ public static final SequenceLayout LAYOUT = MemoryLayout.sequenceLayout(0, hdf5_h.C_POINTER);
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("sys_errlist").reinterpret(LAYOUT.byteSize());
+ public static final VarHandle HANDLE = LAYOUT.varHandle();
+
+ public static final long[] DIMS = {};
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern const char *const sys_errlist[]
+ * }
+ */
+ public static SequenceLayout sys_errlist$layout() { return sys_errlist$constants.LAYOUT; }
+
+ /**
+ * Dimensions for array variable:
+ * {@snippet lang=c :
+ * extern const char *const sys_errlist[]
+ * }
+ */
+ public static long[] sys_errlist$dimensions() { return sys_errlist$constants.DIMS; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern const char *const sys_errlist[]
+ * }
+ */
+ public static MemorySegment sys_errlist() { return sys_errlist$constants.SEGMENT; }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern const char *const sys_errlist[]
+ * }
+ */
+ public static void sys_errlist(MemorySegment varValue)
+ {
+ MemorySegment.copy(varValue, 0L, sys_errlist$constants.SEGMENT, 0L,
+ sys_errlist$constants.LAYOUT.byteSize());
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * int asprintf(char **restrict, const char *restrict, ...)
+ * }
+ */
+ public static class asprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("asprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private asprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * int asprintf(char **restrict, const char *restrict, ...)
+ * }
+ */
+ public static asprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new asprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment x0, MemorySegment x1, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("asprintf", x0, x1, x2);
+ }
+ return (int)spreader.invokeExact(x0, x1, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class ctermid_r {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ctermid_r");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *ctermid_r(char *)
+ * }
+ */
+ public static FunctionDescriptor ctermid_r$descriptor() { return ctermid_r.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *ctermid_r(char *)
+ * }
+ */
+ public static MethodHandle ctermid_r$handle() { return ctermid_r.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *ctermid_r(char *)
+ * }
+ */
+ public static MemorySegment ctermid_r$address() { return ctermid_r.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *ctermid_r(char *)
+ * }
+ */
+ public static MemorySegment ctermid_r(MemorySegment x0)
+ {
+ var mh$ = ctermid_r.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ctermid_r", x0);
+ }
+ return (MemorySegment)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetln {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetln");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *fgetln(FILE *, size_t *__len)
+ * }
+ */
+ public static FunctionDescriptor fgetln$descriptor() { return fgetln.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *fgetln(FILE *, size_t *__len)
+ * }
+ */
+ public static MethodHandle fgetln$handle() { return fgetln.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *fgetln(FILE *, size_t *__len)
+ * }
+ */
+ public static MemorySegment fgetln$address() { return fgetln.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *fgetln(FILE *, size_t *__len)
+ * }
+ */
+ public static MemorySegment fgetln(MemorySegment x0, MemorySegment __len)
+ {
+ var mh$ = fgetln.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetln", x0, __len);
+ }
+ return (MemorySegment)mh$.invokeExact(x0, __len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fmtcheck {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fmtcheck");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * const char *fmtcheck(const char *, const char *)
+ * }
+ */
+ public static FunctionDescriptor fmtcheck$descriptor() { return fmtcheck.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * const char *fmtcheck(const char *, const char *)
+ * }
+ */
+ public static MethodHandle fmtcheck$handle() { return fmtcheck.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * const char *fmtcheck(const char *, const char *)
+ * }
+ */
+ public static MemorySegment fmtcheck$address() { return fmtcheck.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * const char *fmtcheck(const char *, const char *)
+ * }
+ */
+ public static MemorySegment fmtcheck(MemorySegment x0, MemorySegment x1)
+ {
+ var mh$ = fmtcheck.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fmtcheck", x0, x1);
+ }
+ return (MemorySegment)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fpurge {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fpurge");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fpurge(FILE *)
+ * }
+ */
+ public static FunctionDescriptor fpurge$descriptor() { return fpurge.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fpurge(FILE *)
+ * }
+ */
+ public static MethodHandle fpurge$handle() { return fpurge.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fpurge(FILE *)
+ * }
+ */
+ public static MemorySegment fpurge$address() { return fpurge.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fpurge(FILE *)
+ * }
+ */
+ public static int fpurge(MemorySegment x0)
+ {
+ var mh$ = fpurge.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fpurge", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class setbuffer {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.ofVoid(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setbuffer");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void setbuffer(FILE *, char *, int __size)
+ * }
+ */
+ public static FunctionDescriptor setbuffer$descriptor() { return setbuffer.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void setbuffer(FILE *, char *, int __size)
+ * }
+ */
+ public static MethodHandle setbuffer$handle() { return setbuffer.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void setbuffer(FILE *, char *, int __size)
+ * }
+ */
+ public static MemorySegment setbuffer$address() { return setbuffer.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void setbuffer(FILE *, char *, int __size)
+ * }
+ */
+ public static void setbuffer(MemorySegment x0, MemorySegment x1, int __size)
+ {
+ var mh$ = setbuffer.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setbuffer", x0, x1, __size);
+ }
+ mh$.invokeExact(x0, x1, __size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class setlinebuf {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setlinebuf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int setlinebuf(FILE *)
+ * }
+ */
+ public static FunctionDescriptor setlinebuf$descriptor() { return setlinebuf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int setlinebuf(FILE *)
+ * }
+ */
+ public static MethodHandle setlinebuf$handle() { return setlinebuf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int setlinebuf(FILE *)
+ * }
+ */
+ public static MemorySegment setlinebuf$address() { return setlinebuf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int setlinebuf(FILE *)
+ * }
+ */
+ public static int setlinebuf(MemorySegment x0)
+ {
+ var mh$ = setlinebuf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setlinebuf", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vasprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vasprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int vasprintf(char **restrict, const char *restrict, va_list)
+ * }
+ */
+ public static FunctionDescriptor vasprintf$descriptor() { return vasprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int vasprintf(char **restrict, const char *restrict, va_list)
+ * }
+ */
+ public static MethodHandle vasprintf$handle() { return vasprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int vasprintf(char **restrict, const char *restrict, va_list)
+ * }
+ */
+ public static MemorySegment vasprintf$address() { return vasprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int vasprintf(char **restrict, const char *restrict, va_list)
+ * }
+ */
+ public static int vasprintf(MemorySegment x0, MemorySegment x1, MemorySegment x2)
+ {
+ var mh$ = vasprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vasprintf", x0, x1, x2);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class funopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("funopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *funopen(const void *, int (* _Nullable)(void *, char *, int), int (* _Nullable)(void *, const
+ * char *, int), fpos_t (* _Nullable)(void *, fpos_t, int), int (* _Nullable)(void *))
+ * }
+ */
+ public static FunctionDescriptor funopen$descriptor() { return funopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *funopen(const void *, int (* _Nullable)(void *, char *, int), int (* _Nullable)(void *, const
+ * char *, int), fpos_t (* _Nullable)(void *, fpos_t, int), int (* _Nullable)(void *))
+ * }
+ */
+ public static MethodHandle funopen$handle() { return funopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *funopen(const void *, int (* _Nullable)(void *, char *, int), int (* _Nullable)(void *, const
+ * char *, int), fpos_t (* _Nullable)(void *, fpos_t, int), int (* _Nullable)(void *))
+ * }
+ */
+ public static MemorySegment funopen$address() { return funopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *funopen(const void *, int (* _Nullable)(void *, char *, int), int (* _Nullable)(void *, const
+ * char *, int), fpos_t (* _Nullable)(void *, fpos_t, int), int (* _Nullable)(void *))
+ * }
+ */
+ public static MemorySegment funopen(MemorySegment x0, MemorySegment x1, MemorySegment x2,
+ MemorySegment x3, MemorySegment x4)
+ {
+ var mh$ = funopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("funopen", x0, x1, x2, x3, x4);
+ }
+ return (MemorySegment)mh$.invokeExact(x0, x1, x2, x3, x4);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int __sprintf_chk(char *restrict, int, size_t, const char *restrict, ...)
+ * }
+ */
+ public static class __sprintf_chk {
+ private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("__sprintf_chk");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private __sprintf_chk(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int __sprintf_chk(char *restrict, int, size_t, const char *restrict, ...)
+ * }
+ */
+ public static __sprintf_chk makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new __sprintf_chk(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment x0, int x1, long x2, MemorySegment x3, Object... x4)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__sprintf_chk", x0, x1, x2, x3, x4);
+ }
+ return (int)spreader.invokeExact(x0, x1, x2, x3, x4);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int __snprintf_chk(char *restrict, size_t __maxlen, int, size_t, const char *restrict, ...)
+ * }
+ */
+ public static class __snprintf_chk {
+ private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("__snprintf_chk");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private __snprintf_chk(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int __snprintf_chk(char *restrict, size_t __maxlen, int, size_t, const char *restrict, ...)
+ * }
+ */
+ public static __snprintf_chk makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new __snprintf_chk(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment x0, long __maxlen, int x2, long x3, MemorySegment x4, Object... x5)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__snprintf_chk", x0, __maxlen, x2, x3, x4, x5);
+ }
+ return (int)spreader.invokeExact(x0, __maxlen, x2, x3, x4, x5);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class __vsprintf_chk {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__vsprintf_chk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int __vsprintf_chk(char *restrict, int, size_t, const char *restrict, va_list)
+ * }
+ */
+ public static FunctionDescriptor __vsprintf_chk$descriptor() { return __vsprintf_chk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int __vsprintf_chk(char *restrict, int, size_t, const char *restrict, va_list)
+ * }
+ */
+ public static MethodHandle __vsprintf_chk$handle() { return __vsprintf_chk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int __vsprintf_chk(char *restrict, int, size_t, const char *restrict, va_list)
+ * }
+ */
+ public static MemorySegment __vsprintf_chk$address() { return __vsprintf_chk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int __vsprintf_chk(char *restrict, int, size_t, const char *restrict, va_list)
+ * }
+ */
+ public static int __vsprintf_chk(MemorySegment x0, int x1, long x2, MemorySegment x3, MemorySegment x4)
+ {
+ var mh$ = __vsprintf_chk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__vsprintf_chk", x0, x1, x2, x3, x4);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2, x3, x4);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __vsnprintf_chk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__vsnprintf_chk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int __vsnprintf_chk(char *restrict, size_t __maxlen, int, size_t, const char *restrict, va_list)
+ * }
+ */
+ public static FunctionDescriptor __vsnprintf_chk$descriptor() { return __vsnprintf_chk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int __vsnprintf_chk(char *restrict, size_t __maxlen, int, size_t, const char *restrict, va_list)
+ * }
+ */
+ public static MethodHandle __vsnprintf_chk$handle() { return __vsnprintf_chk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int __vsnprintf_chk(char *restrict, size_t __maxlen, int, size_t, const char *restrict, va_list)
+ * }
+ */
+ public static MemorySegment __vsnprintf_chk$address() { return __vsnprintf_chk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int __vsnprintf_chk(char *restrict, size_t __maxlen, int, size_t, const char *restrict, va_list)
+ * }
+ */
+ public static int __vsnprintf_chk(MemorySegment x0, long __maxlen, int x2, long x3, MemorySegment x4,
+ MemorySegment x5)
+ {
+ var mh$ = __vsnprintf_chk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__vsnprintf_chk", x0, __maxlen, x2, x3, x4, x5);
+ }
+ return (int)mh$.invokeExact(x0, __maxlen, x2, x3, x4, x5);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5E_MAJOR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_type_t.H5E_MAJOR = 0
+ * }
+ */
+ public static int H5E_MAJOR() { return H5E_MAJOR; }
+ private static final int H5E_MINOR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_type_t.H5E_MINOR = 1
+ * }
+ */
+ public static int H5E_MINOR() { return H5E_MINOR; }
+
+ private static class H5E_ERR_CLS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ERR_CLS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static OfLong H5E_ERR_CLS_g$layout() { return H5E_ERR_CLS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static MemorySegment H5E_ERR_CLS_g$segment() { return H5E_ERR_CLS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static long H5E_ERR_CLS_g()
+ {
+ return H5E_ERR_CLS_g$constants.SEGMENT.get(H5E_ERR_CLS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static void H5E_ERR_CLS_g(long varValue)
+ {
+ H5E_ERR_CLS_g$constants.SEGMENT.set(H5E_ERR_CLS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ARGS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ARGS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static OfLong H5E_ARGS_g$layout() { return H5E_ARGS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static MemorySegment H5E_ARGS_g$segment() { return H5E_ARGS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static long H5E_ARGS_g()
+ {
+ return H5E_ARGS_g$constants.SEGMENT.get(H5E_ARGS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static void H5E_ARGS_g(long varValue)
+ {
+ H5E_ARGS_g$constants.SEGMENT.set(H5E_ARGS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ATTR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ATTR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static OfLong H5E_ATTR_g$layout() { return H5E_ATTR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static MemorySegment H5E_ATTR_g$segment() { return H5E_ATTR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static long H5E_ATTR_g()
+ {
+ return H5E_ATTR_g$constants.SEGMENT.get(H5E_ATTR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static void H5E_ATTR_g(long varValue)
+ {
+ H5E_ATTR_g$constants.SEGMENT.set(H5E_ATTR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BTREE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BTREE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static OfLong H5E_BTREE_g$layout() { return H5E_BTREE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static MemorySegment H5E_BTREE_g$segment() { return H5E_BTREE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static long H5E_BTREE_g()
+ {
+ return H5E_BTREE_g$constants.SEGMENT.get(H5E_BTREE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static void H5E_BTREE_g(long varValue)
+ {
+ H5E_BTREE_g$constants.SEGMENT.set(H5E_BTREE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CACHE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CACHE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static OfLong H5E_CACHE_g$layout() { return H5E_CACHE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static MemorySegment H5E_CACHE_g$segment() { return H5E_CACHE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static long H5E_CACHE_g()
+ {
+ return H5E_CACHE_g$constants.SEGMENT.get(H5E_CACHE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static void H5E_CACHE_g(long varValue)
+ {
+ H5E_CACHE_g$constants.SEGMENT.set(H5E_CACHE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CONTEXT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CONTEXT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static OfLong H5E_CONTEXT_g$layout() { return H5E_CONTEXT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static MemorySegment H5E_CONTEXT_g$segment() { return H5E_CONTEXT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static long H5E_CONTEXT_g()
+ {
+ return H5E_CONTEXT_g$constants.SEGMENT.get(H5E_CONTEXT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static void H5E_CONTEXT_g(long varValue)
+ {
+ H5E_CONTEXT_g$constants.SEGMENT.set(H5E_CONTEXT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DATASET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DATASET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static OfLong H5E_DATASET_g$layout() { return H5E_DATASET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static MemorySegment H5E_DATASET_g$segment() { return H5E_DATASET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static long H5E_DATASET_g()
+ {
+ return H5E_DATASET_g$constants.SEGMENT.get(H5E_DATASET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static void H5E_DATASET_g(long varValue)
+ {
+ H5E_DATASET_g$constants.SEGMENT.set(H5E_DATASET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DATASPACE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DATASPACE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static OfLong H5E_DATASPACE_g$layout() { return H5E_DATASPACE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static MemorySegment H5E_DATASPACE_g$segment() { return H5E_DATASPACE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static long H5E_DATASPACE_g()
+ {
+ return H5E_DATASPACE_g$constants.SEGMENT.get(H5E_DATASPACE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static void H5E_DATASPACE_g(long varValue)
+ {
+ H5E_DATASPACE_g$constants.SEGMENT.set(H5E_DATASPACE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DATATYPE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DATATYPE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static OfLong H5E_DATATYPE_g$layout() { return H5E_DATATYPE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static MemorySegment H5E_DATATYPE_g$segment() { return H5E_DATATYPE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static long H5E_DATATYPE_g()
+ {
+ return H5E_DATATYPE_g$constants.SEGMENT.get(H5E_DATATYPE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static void H5E_DATATYPE_g(long varValue)
+ {
+ H5E_DATATYPE_g$constants.SEGMENT.set(H5E_DATATYPE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EARRAY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EARRAY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static OfLong H5E_EARRAY_g$layout() { return H5E_EARRAY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static MemorySegment H5E_EARRAY_g$segment() { return H5E_EARRAY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static long H5E_EARRAY_g()
+ {
+ return H5E_EARRAY_g$constants.SEGMENT.get(H5E_EARRAY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static void H5E_EARRAY_g(long varValue)
+ {
+ H5E_EARRAY_g$constants.SEGMENT.set(H5E_EARRAY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EFL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EFL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static OfLong H5E_EFL_g$layout() { return H5E_EFL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static MemorySegment H5E_EFL_g$segment() { return H5E_EFL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static long H5E_EFL_g() { return H5E_EFL_g$constants.SEGMENT.get(H5E_EFL_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static void H5E_EFL_g(long varValue)
+ {
+ H5E_EFL_g$constants.SEGMENT.set(H5E_EFL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static OfLong H5E_ERROR_g$layout() { return H5E_ERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static MemorySegment H5E_ERROR_g$segment() { return H5E_ERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static long H5E_ERROR_g()
+ {
+ return H5E_ERROR_g$constants.SEGMENT.get(H5E_ERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static void H5E_ERROR_g(long varValue)
+ {
+ H5E_ERROR_g$constants.SEGMENT.set(H5E_ERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EVENTSET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EVENTSET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static OfLong H5E_EVENTSET_g$layout() { return H5E_EVENTSET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static MemorySegment H5E_EVENTSET_g$segment() { return H5E_EVENTSET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static long H5E_EVENTSET_g()
+ {
+ return H5E_EVENTSET_g$constants.SEGMENT.get(H5E_EVENTSET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static void H5E_EVENTSET_g(long varValue)
+ {
+ H5E_EVENTSET_g$constants.SEGMENT.set(H5E_EVENTSET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FARRAY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FARRAY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static OfLong H5E_FARRAY_g$layout() { return H5E_FARRAY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static MemorySegment H5E_FARRAY_g$segment() { return H5E_FARRAY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static long H5E_FARRAY_g()
+ {
+ return H5E_FARRAY_g$constants.SEGMENT.get(H5E_FARRAY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static void H5E_FARRAY_g(long varValue)
+ {
+ H5E_FARRAY_g$constants.SEGMENT.set(H5E_FARRAY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static OfLong H5E_FILE_g$layout() { return H5E_FILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static MemorySegment H5E_FILE_g$segment() { return H5E_FILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static long H5E_FILE_g()
+ {
+ return H5E_FILE_g$constants.SEGMENT.get(H5E_FILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static void H5E_FILE_g(long varValue)
+ {
+ H5E_FILE_g$constants.SEGMENT.set(H5E_FILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FSPACE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FSPACE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static OfLong H5E_FSPACE_g$layout() { return H5E_FSPACE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static MemorySegment H5E_FSPACE_g$segment() { return H5E_FSPACE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static long H5E_FSPACE_g()
+ {
+ return H5E_FSPACE_g$constants.SEGMENT.get(H5E_FSPACE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static void H5E_FSPACE_g(long varValue)
+ {
+ H5E_FSPACE_g$constants.SEGMENT.set(H5E_FSPACE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FUNC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FUNC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static OfLong H5E_FUNC_g$layout() { return H5E_FUNC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static MemorySegment H5E_FUNC_g$segment() { return H5E_FUNC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static long H5E_FUNC_g()
+ {
+ return H5E_FUNC_g$constants.SEGMENT.get(H5E_FUNC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static void H5E_FUNC_g(long varValue)
+ {
+ H5E_FUNC_g$constants.SEGMENT.set(H5E_FUNC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_HEAP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_HEAP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static OfLong H5E_HEAP_g$layout() { return H5E_HEAP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static MemorySegment H5E_HEAP_g$segment() { return H5E_HEAP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static long H5E_HEAP_g()
+ {
+ return H5E_HEAP_g$constants.SEGMENT.get(H5E_HEAP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static void H5E_HEAP_g(long varValue)
+ {
+ H5E_HEAP_g$constants.SEGMENT.set(H5E_HEAP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static OfLong H5E_ID_g$layout() { return H5E_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static MemorySegment H5E_ID_g$segment() { return H5E_ID_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static long H5E_ID_g() { return H5E_ID_g$constants.SEGMENT.get(H5E_ID_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static void H5E_ID_g(long varValue)
+ {
+ H5E_ID_g$constants.SEGMENT.set(H5E_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_INTERNAL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_INTERNAL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static OfLong H5E_INTERNAL_g$layout() { return H5E_INTERNAL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static MemorySegment H5E_INTERNAL_g$segment() { return H5E_INTERNAL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static long H5E_INTERNAL_g()
+ {
+ return H5E_INTERNAL_g$constants.SEGMENT.get(H5E_INTERNAL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static void H5E_INTERNAL_g(long varValue)
+ {
+ H5E_INTERNAL_g$constants.SEGMENT.set(H5E_INTERNAL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_IO_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_IO_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static OfLong H5E_IO_g$layout() { return H5E_IO_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static MemorySegment H5E_IO_g$segment() { return H5E_IO_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static long H5E_IO_g() { return H5E_IO_g$constants.SEGMENT.get(H5E_IO_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static void H5E_IO_g(long varValue)
+ {
+ H5E_IO_g$constants.SEGMENT.set(H5E_IO_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LIB_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LIB_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static OfLong H5E_LIB_g$layout() { return H5E_LIB_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static MemorySegment H5E_LIB_g$segment() { return H5E_LIB_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static long H5E_LIB_g() { return H5E_LIB_g$constants.SEGMENT.get(H5E_LIB_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static void H5E_LIB_g(long varValue)
+ {
+ H5E_LIB_g$constants.SEGMENT.set(H5E_LIB_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LINK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LINK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static OfLong H5E_LINK_g$layout() { return H5E_LINK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static MemorySegment H5E_LINK_g$segment() { return H5E_LINK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static long H5E_LINK_g()
+ {
+ return H5E_LINK_g$constants.SEGMENT.get(H5E_LINK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static void H5E_LINK_g(long varValue)
+ {
+ H5E_LINK_g$constants.SEGMENT.set(H5E_LINK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MAP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MAP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static OfLong H5E_MAP_g$layout() { return H5E_MAP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static MemorySegment H5E_MAP_g$segment() { return H5E_MAP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static long H5E_MAP_g() { return H5E_MAP_g$constants.SEGMENT.get(H5E_MAP_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static void H5E_MAP_g(long varValue)
+ {
+ H5E_MAP_g$constants.SEGMENT.set(H5E_MAP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NONE_MAJOR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NONE_MAJOR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static OfLong H5E_NONE_MAJOR_g$layout() { return H5E_NONE_MAJOR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static MemorySegment H5E_NONE_MAJOR_g$segment() { return H5E_NONE_MAJOR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static long H5E_NONE_MAJOR_g()
+ {
+ return H5E_NONE_MAJOR_g$constants.SEGMENT.get(H5E_NONE_MAJOR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static void H5E_NONE_MAJOR_g(long varValue)
+ {
+ H5E_NONE_MAJOR_g$constants.SEGMENT.set(H5E_NONE_MAJOR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OHDR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OHDR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static OfLong H5E_OHDR_g$layout() { return H5E_OHDR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static MemorySegment H5E_OHDR_g$segment() { return H5E_OHDR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static long H5E_OHDR_g()
+ {
+ return H5E_OHDR_g$constants.SEGMENT.get(H5E_OHDR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static void H5E_OHDR_g(long varValue)
+ {
+ H5E_OHDR_g$constants.SEGMENT.set(H5E_OHDR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PAGEBUF_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PAGEBUF_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static OfLong H5E_PAGEBUF_g$layout() { return H5E_PAGEBUF_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static MemorySegment H5E_PAGEBUF_g$segment() { return H5E_PAGEBUF_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static long H5E_PAGEBUF_g()
+ {
+ return H5E_PAGEBUF_g$constants.SEGMENT.get(H5E_PAGEBUF_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static void H5E_PAGEBUF_g(long varValue)
+ {
+ H5E_PAGEBUF_g$constants.SEGMENT.set(H5E_PAGEBUF_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PLINE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PLINE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static OfLong H5E_PLINE_g$layout() { return H5E_PLINE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static MemorySegment H5E_PLINE_g$segment() { return H5E_PLINE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static long H5E_PLINE_g()
+ {
+ return H5E_PLINE_g$constants.SEGMENT.get(H5E_PLINE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static void H5E_PLINE_g(long varValue)
+ {
+ H5E_PLINE_g$constants.SEGMENT.set(H5E_PLINE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PLIST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PLIST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static OfLong H5E_PLIST_g$layout() { return H5E_PLIST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static MemorySegment H5E_PLIST_g$segment() { return H5E_PLIST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static long H5E_PLIST_g()
+ {
+ return H5E_PLIST_g$constants.SEGMENT.get(H5E_PLIST_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static void H5E_PLIST_g(long varValue)
+ {
+ H5E_PLIST_g$constants.SEGMENT.set(H5E_PLIST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PLUGIN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PLUGIN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static OfLong H5E_PLUGIN_g$layout() { return H5E_PLUGIN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static MemorySegment H5E_PLUGIN_g$segment() { return H5E_PLUGIN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static long H5E_PLUGIN_g()
+ {
+ return H5E_PLUGIN_g$constants.SEGMENT.get(H5E_PLUGIN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static void H5E_PLUGIN_g(long varValue)
+ {
+ H5E_PLUGIN_g$constants.SEGMENT.set(H5E_PLUGIN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_REFERENCE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_REFERENCE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static OfLong H5E_REFERENCE_g$layout() { return H5E_REFERENCE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static MemorySegment H5E_REFERENCE_g$segment() { return H5E_REFERENCE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static long H5E_REFERENCE_g()
+ {
+ return H5E_REFERENCE_g$constants.SEGMENT.get(H5E_REFERENCE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static void H5E_REFERENCE_g(long varValue)
+ {
+ H5E_REFERENCE_g$constants.SEGMENT.set(H5E_REFERENCE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_RESOURCE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_RESOURCE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static OfLong H5E_RESOURCE_g$layout() { return H5E_RESOURCE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static MemorySegment H5E_RESOURCE_g$segment() { return H5E_RESOURCE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static long H5E_RESOURCE_g()
+ {
+ return H5E_RESOURCE_g$constants.SEGMENT.get(H5E_RESOURCE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static void H5E_RESOURCE_g(long varValue)
+ {
+ H5E_RESOURCE_g$constants.SEGMENT.set(H5E_RESOURCE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_RS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_RS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static OfLong H5E_RS_g$layout() { return H5E_RS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static MemorySegment H5E_RS_g$segment() { return H5E_RS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static long H5E_RS_g() { return H5E_RS_g$constants.SEGMENT.get(H5E_RS_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static void H5E_RS_g(long varValue)
+ {
+ H5E_RS_g$constants.SEGMENT.set(H5E_RS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_RTREE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_RTREE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static OfLong H5E_RTREE_g$layout() { return H5E_RTREE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static MemorySegment H5E_RTREE_g$segment() { return H5E_RTREE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static long H5E_RTREE_g()
+ {
+ return H5E_RTREE_g$constants.SEGMENT.get(H5E_RTREE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static void H5E_RTREE_g(long varValue)
+ {
+ H5E_RTREE_g$constants.SEGMENT.set(H5E_RTREE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SLIST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SLIST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static OfLong H5E_SLIST_g$layout() { return H5E_SLIST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static MemorySegment H5E_SLIST_g$segment() { return H5E_SLIST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static long H5E_SLIST_g()
+ {
+ return H5E_SLIST_g$constants.SEGMENT.get(H5E_SLIST_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static void H5E_SLIST_g(long varValue)
+ {
+ H5E_SLIST_g$constants.SEGMENT.set(H5E_SLIST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SOHM_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SOHM_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static OfLong H5E_SOHM_g$layout() { return H5E_SOHM_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static MemorySegment H5E_SOHM_g$segment() { return H5E_SOHM_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static long H5E_SOHM_g()
+ {
+ return H5E_SOHM_g$constants.SEGMENT.get(H5E_SOHM_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static void H5E_SOHM_g(long varValue)
+ {
+ H5E_SOHM_g$constants.SEGMENT.set(H5E_SOHM_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_STORAGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_STORAGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static OfLong H5E_STORAGE_g$layout() { return H5E_STORAGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static MemorySegment H5E_STORAGE_g$segment() { return H5E_STORAGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static long H5E_STORAGE_g()
+ {
+ return H5E_STORAGE_g$constants.SEGMENT.get(H5E_STORAGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static void H5E_STORAGE_g(long varValue)
+ {
+ H5E_STORAGE_g$constants.SEGMENT.set(H5E_STORAGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SYM_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SYM_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static OfLong H5E_SYM_g$layout() { return H5E_SYM_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static MemorySegment H5E_SYM_g$segment() { return H5E_SYM_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static long H5E_SYM_g() { return H5E_SYM_g$constants.SEGMENT.get(H5E_SYM_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static void H5E_SYM_g(long varValue)
+ {
+ H5E_SYM_g$constants.SEGMENT.set(H5E_SYM_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_THREADSAFE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_THREADSAFE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static OfLong H5E_THREADSAFE_g$layout() { return H5E_THREADSAFE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static MemorySegment H5E_THREADSAFE_g$segment() { return H5E_THREADSAFE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static long H5E_THREADSAFE_g()
+ {
+ return H5E_THREADSAFE_g$constants.SEGMENT.get(H5E_THREADSAFE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static void H5E_THREADSAFE_g(long varValue)
+ {
+ H5E_THREADSAFE_g$constants.SEGMENT.set(H5E_THREADSAFE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_TST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_TST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static OfLong H5E_TST_g$layout() { return H5E_TST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static MemorySegment H5E_TST_g$segment() { return H5E_TST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static long H5E_TST_g() { return H5E_TST_g$constants.SEGMENT.get(H5E_TST_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static void H5E_TST_g(long varValue)
+ {
+ H5E_TST_g$constants.SEGMENT.set(H5E_TST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_VFL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_VFL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static OfLong H5E_VFL_g$layout() { return H5E_VFL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static MemorySegment H5E_VFL_g$segment() { return H5E_VFL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static long H5E_VFL_g() { return H5E_VFL_g$constants.SEGMENT.get(H5E_VFL_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static void H5E_VFL_g(long varValue)
+ {
+ H5E_VFL_g$constants.SEGMENT.set(H5E_VFL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_VOL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_VOL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static OfLong H5E_VOL_g$layout() { return H5E_VOL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static MemorySegment H5E_VOL_g$segment() { return H5E_VOL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static long H5E_VOL_g() { return H5E_VOL_g$constants.SEGMENT.get(H5E_VOL_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static void H5E_VOL_g(long varValue)
+ {
+ H5E_VOL_g$constants.SEGMENT.set(H5E_VOL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADRANGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADRANGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static OfLong H5E_BADRANGE_g$layout() { return H5E_BADRANGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static MemorySegment H5E_BADRANGE_g$segment() { return H5E_BADRANGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static long H5E_BADRANGE_g()
+ {
+ return H5E_BADRANGE_g$constants.SEGMENT.get(H5E_BADRANGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static void H5E_BADRANGE_g(long varValue)
+ {
+ H5E_BADRANGE_g$constants.SEGMENT.set(H5E_BADRANGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADTYPE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADTYPE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static OfLong H5E_BADTYPE_g$layout() { return H5E_BADTYPE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static MemorySegment H5E_BADTYPE_g$segment() { return H5E_BADTYPE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static long H5E_BADTYPE_g()
+ {
+ return H5E_BADTYPE_g$constants.SEGMENT.get(H5E_BADTYPE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static void H5E_BADTYPE_g(long varValue)
+ {
+ H5E_BADTYPE_g$constants.SEGMENT.set(H5E_BADTYPE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADVALUE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADVALUE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static OfLong H5E_BADVALUE_g$layout() { return H5E_BADVALUE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static MemorySegment H5E_BADVALUE_g$segment() { return H5E_BADVALUE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static long H5E_BADVALUE_g()
+ {
+ return H5E_BADVALUE_g$constants.SEGMENT.get(H5E_BADVALUE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static void H5E_BADVALUE_g(long varValue)
+ {
+ H5E_BADVALUE_g$constants.SEGMENT.set(H5E_BADVALUE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_UNINITIALIZED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_UNINITIALIZED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static OfLong H5E_UNINITIALIZED_g$layout() { return H5E_UNINITIALIZED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static MemorySegment H5E_UNINITIALIZED_g$segment()
+ {
+ return H5E_UNINITIALIZED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static long H5E_UNINITIALIZED_g()
+ {
+ return H5E_UNINITIALIZED_g$constants.SEGMENT.get(H5E_UNINITIALIZED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static void H5E_UNINITIALIZED_g(long varValue)
+ {
+ H5E_UNINITIALIZED_g$constants.SEGMENT.set(H5E_UNINITIALIZED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_UNSUPPORTED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_UNSUPPORTED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static OfLong H5E_UNSUPPORTED_g$layout() { return H5E_UNSUPPORTED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static MemorySegment H5E_UNSUPPORTED_g$segment() { return H5E_UNSUPPORTED_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static long H5E_UNSUPPORTED_g()
+ {
+ return H5E_UNSUPPORTED_g$constants.SEGMENT.get(H5E_UNSUPPORTED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static void H5E_UNSUPPORTED_g(long varValue)
+ {
+ H5E_UNSUPPORTED_g$constants.SEGMENT.set(H5E_UNSUPPORTED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCANCEL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCANCEL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static OfLong H5E_CANTCANCEL_g$layout() { return H5E_CANTCANCEL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCANCEL_g$segment() { return H5E_CANTCANCEL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static long H5E_CANTCANCEL_g()
+ {
+ return H5E_CANTCANCEL_g$constants.SEGMENT.get(H5E_CANTCANCEL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static void H5E_CANTCANCEL_g(long varValue)
+ {
+ H5E_CANTCANCEL_g$constants.SEGMENT.set(H5E_CANTCANCEL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTWAIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTWAIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static OfLong H5E_CANTWAIT_g$layout() { return H5E_CANTWAIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTWAIT_g$segment() { return H5E_CANTWAIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static long H5E_CANTWAIT_g()
+ {
+ return H5E_CANTWAIT_g$constants.SEGMENT.get(H5E_CANTWAIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static void H5E_CANTWAIT_g(long varValue)
+ {
+ H5E_CANTWAIT_g$constants.SEGMENT.set(H5E_CANTWAIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDECODE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDECODE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static OfLong H5E_CANTDECODE_g$layout() { return H5E_CANTDECODE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDECODE_g$segment() { return H5E_CANTDECODE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static long H5E_CANTDECODE_g()
+ {
+ return H5E_CANTDECODE_g$constants.SEGMENT.get(H5E_CANTDECODE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static void H5E_CANTDECODE_g(long varValue)
+ {
+ H5E_CANTDECODE_g$constants.SEGMENT.set(H5E_CANTDECODE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTENCODE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTENCODE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static OfLong H5E_CANTENCODE_g$layout() { return H5E_CANTENCODE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTENCODE_g$segment() { return H5E_CANTENCODE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static long H5E_CANTENCODE_g()
+ {
+ return H5E_CANTENCODE_g$constants.SEGMENT.get(H5E_CANTENCODE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static void H5E_CANTENCODE_g(long varValue)
+ {
+ H5E_CANTENCODE_g$constants.SEGMENT.set(H5E_CANTENCODE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFIND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFIND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static OfLong H5E_CANTFIND_g$layout() { return H5E_CANTFIND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFIND_g$segment() { return H5E_CANTFIND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static long H5E_CANTFIND_g()
+ {
+ return H5E_CANTFIND_g$constants.SEGMENT.get(H5E_CANTFIND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static void H5E_CANTFIND_g(long varValue)
+ {
+ H5E_CANTFIND_g$constants.SEGMENT.set(H5E_CANTFIND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINSERT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINSERT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static OfLong H5E_CANTINSERT_g$layout() { return H5E_CANTINSERT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINSERT_g$segment() { return H5E_CANTINSERT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static long H5E_CANTINSERT_g()
+ {
+ return H5E_CANTINSERT_g$constants.SEGMENT.get(H5E_CANTINSERT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static void H5E_CANTINSERT_g(long varValue)
+ {
+ H5E_CANTINSERT_g$constants.SEGMENT.set(H5E_CANTINSERT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLIST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLIST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static OfLong H5E_CANTLIST_g$layout() { return H5E_CANTLIST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLIST_g$segment() { return H5E_CANTLIST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static long H5E_CANTLIST_g()
+ {
+ return H5E_CANTLIST_g$constants.SEGMENT.get(H5E_CANTLIST_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static void H5E_CANTLIST_g(long varValue)
+ {
+ H5E_CANTLIST_g$constants.SEGMENT.set(H5E_CANTLIST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMODIFY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMODIFY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static OfLong H5E_CANTMODIFY_g$layout() { return H5E_CANTMODIFY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMODIFY_g$segment() { return H5E_CANTMODIFY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static long H5E_CANTMODIFY_g()
+ {
+ return H5E_CANTMODIFY_g$constants.SEGMENT.get(H5E_CANTMODIFY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static void H5E_CANTMODIFY_g(long varValue)
+ {
+ H5E_CANTMODIFY_g$constants.SEGMENT.set(H5E_CANTMODIFY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREDISTRIBUTE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREDISTRIBUTE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static OfLong H5E_CANTREDISTRIBUTE_g$layout() { return H5E_CANTREDISTRIBUTE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREDISTRIBUTE_g$segment()
+ {
+ return H5E_CANTREDISTRIBUTE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static long H5E_CANTREDISTRIBUTE_g()
+ {
+ return H5E_CANTREDISTRIBUTE_g$constants.SEGMENT.get(H5E_CANTREDISTRIBUTE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static void H5E_CANTREDISTRIBUTE_g(long varValue)
+ {
+ H5E_CANTREDISTRIBUTE_g$constants.SEGMENT.set(H5E_CANTREDISTRIBUTE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREMOVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREMOVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static OfLong H5E_CANTREMOVE_g$layout() { return H5E_CANTREMOVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREMOVE_g$segment() { return H5E_CANTREMOVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static long H5E_CANTREMOVE_g()
+ {
+ return H5E_CANTREMOVE_g$constants.SEGMENT.get(H5E_CANTREMOVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static void H5E_CANTREMOVE_g(long varValue)
+ {
+ H5E_CANTREMOVE_g$constants.SEGMENT.set(H5E_CANTREMOVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSPLIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSPLIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static OfLong H5E_CANTSPLIT_g$layout() { return H5E_CANTSPLIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSPLIT_g$segment() { return H5E_CANTSPLIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static long H5E_CANTSPLIT_g()
+ {
+ return H5E_CANTSPLIT_g$constants.SEGMENT.get(H5E_CANTSPLIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static void H5E_CANTSPLIT_g(long varValue)
+ {
+ H5E_CANTSPLIT_g$constants.SEGMENT.set(H5E_CANTSPLIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSWAP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSWAP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static OfLong H5E_CANTSWAP_g$layout() { return H5E_CANTSWAP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSWAP_g$segment() { return H5E_CANTSWAP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static long H5E_CANTSWAP_g()
+ {
+ return H5E_CANTSWAP_g$constants.SEGMENT.get(H5E_CANTSWAP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static void H5E_CANTSWAP_g(long varValue)
+ {
+ H5E_CANTSWAP_g$constants.SEGMENT.set(H5E_CANTSWAP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EXISTS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EXISTS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static OfLong H5E_EXISTS_g$layout() { return H5E_EXISTS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static MemorySegment H5E_EXISTS_g$segment() { return H5E_EXISTS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static long H5E_EXISTS_g()
+ {
+ return H5E_EXISTS_g$constants.SEGMENT.get(H5E_EXISTS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static void H5E_EXISTS_g(long varValue)
+ {
+ H5E_EXISTS_g$constants.SEGMENT.set(H5E_EXISTS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTFOUND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTFOUND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static OfLong H5E_NOTFOUND_g$layout() { return H5E_NOTFOUND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static MemorySegment H5E_NOTFOUND_g$segment() { return H5E_NOTFOUND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static long H5E_NOTFOUND_g()
+ {
+ return H5E_NOTFOUND_g$constants.SEGMENT.get(H5E_NOTFOUND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static void H5E_NOTFOUND_g(long varValue)
+ {
+ H5E_NOTFOUND_g$constants.SEGMENT.set(H5E_NOTFOUND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLEAN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLEAN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static OfLong H5E_CANTCLEAN_g$layout() { return H5E_CANTCLEAN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLEAN_g$segment() { return H5E_CANTCLEAN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static long H5E_CANTCLEAN_g()
+ {
+ return H5E_CANTCLEAN_g$constants.SEGMENT.get(H5E_CANTCLEAN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static void H5E_CANTCLEAN_g(long varValue)
+ {
+ H5E_CANTCLEAN_g$constants.SEGMENT.set(H5E_CANTCLEAN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCORK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCORK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static OfLong H5E_CANTCORK_g$layout() { return H5E_CANTCORK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCORK_g$segment() { return H5E_CANTCORK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static long H5E_CANTCORK_g()
+ {
+ return H5E_CANTCORK_g$constants.SEGMENT.get(H5E_CANTCORK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static void H5E_CANTCORK_g(long varValue)
+ {
+ H5E_CANTCORK_g$constants.SEGMENT.set(H5E_CANTCORK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDEPEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDEPEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static OfLong H5E_CANTDEPEND_g$layout() { return H5E_CANTDEPEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDEPEND_g$segment() { return H5E_CANTDEPEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static long H5E_CANTDEPEND_g()
+ {
+ return H5E_CANTDEPEND_g$constants.SEGMENT.get(H5E_CANTDEPEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static void H5E_CANTDEPEND_g(long varValue)
+ {
+ H5E_CANTDEPEND_g$constants.SEGMENT.set(H5E_CANTDEPEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDIRTY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDIRTY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static OfLong H5E_CANTDIRTY_g$layout() { return H5E_CANTDIRTY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDIRTY_g$segment() { return H5E_CANTDIRTY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static long H5E_CANTDIRTY_g()
+ {
+ return H5E_CANTDIRTY_g$constants.SEGMENT.get(H5E_CANTDIRTY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static void H5E_CANTDIRTY_g(long varValue)
+ {
+ H5E_CANTDIRTY_g$constants.SEGMENT.set(H5E_CANTDIRTY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTEXPUNGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTEXPUNGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static OfLong H5E_CANTEXPUNGE_g$layout() { return H5E_CANTEXPUNGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTEXPUNGE_g$segment() { return H5E_CANTEXPUNGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static long H5E_CANTEXPUNGE_g()
+ {
+ return H5E_CANTEXPUNGE_g$constants.SEGMENT.get(H5E_CANTEXPUNGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static void H5E_CANTEXPUNGE_g(long varValue)
+ {
+ H5E_CANTEXPUNGE_g$constants.SEGMENT.set(H5E_CANTEXPUNGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFLUSH_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFLUSH_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static OfLong H5E_CANTFLUSH_g$layout() { return H5E_CANTFLUSH_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFLUSH_g$segment() { return H5E_CANTFLUSH_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static long H5E_CANTFLUSH_g()
+ {
+ return H5E_CANTFLUSH_g$constants.SEGMENT.get(H5E_CANTFLUSH_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static void H5E_CANTFLUSH_g(long varValue)
+ {
+ H5E_CANTFLUSH_g$constants.SEGMENT.set(H5E_CANTFLUSH_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static OfLong H5E_CANTINS_g$layout() { return H5E_CANTINS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINS_g$segment() { return H5E_CANTINS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static long H5E_CANTINS_g()
+ {
+ return H5E_CANTINS_g$constants.SEGMENT.get(H5E_CANTINS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static void H5E_CANTINS_g(long varValue)
+ {
+ H5E_CANTINS_g$constants.SEGMENT.set(H5E_CANTINS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLOAD_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLOAD_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static OfLong H5E_CANTLOAD_g$layout() { return H5E_CANTLOAD_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLOAD_g$segment() { return H5E_CANTLOAD_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static long H5E_CANTLOAD_g()
+ {
+ return H5E_CANTLOAD_g$constants.SEGMENT.get(H5E_CANTLOAD_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static void H5E_CANTLOAD_g(long varValue)
+ {
+ H5E_CANTLOAD_g$constants.SEGMENT.set(H5E_CANTLOAD_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMARKCLEAN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKCLEAN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKCLEAN_g$layout() { return H5E_CANTMARKCLEAN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKCLEAN_g$segment()
+ {
+ return H5E_CANTMARKCLEAN_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static long H5E_CANTMARKCLEAN_g()
+ {
+ return H5E_CANTMARKCLEAN_g$constants.SEGMENT.get(H5E_CANTMARKCLEAN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static void H5E_CANTMARKCLEAN_g(long varValue)
+ {
+ H5E_CANTMARKCLEAN_g$constants.SEGMENT.set(H5E_CANTMARKCLEAN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMARKDIRTY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKDIRTY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKDIRTY_g$layout() { return H5E_CANTMARKDIRTY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKDIRTY_g$segment()
+ {
+ return H5E_CANTMARKDIRTY_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static long H5E_CANTMARKDIRTY_g()
+ {
+ return H5E_CANTMARKDIRTY_g$constants.SEGMENT.get(H5E_CANTMARKDIRTY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static void H5E_CANTMARKDIRTY_g(long varValue)
+ {
+ H5E_CANTMARKDIRTY_g$constants.SEGMENT.set(H5E_CANTMARKDIRTY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMARKSERIALIZED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKSERIALIZED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKSERIALIZED_g$layout()
+ {
+ return H5E_CANTMARKSERIALIZED_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKSERIALIZED_g$segment()
+ {
+ return H5E_CANTMARKSERIALIZED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static long H5E_CANTMARKSERIALIZED_g()
+ {
+ return H5E_CANTMARKSERIALIZED_g$constants.SEGMENT.get(H5E_CANTMARKSERIALIZED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static void H5E_CANTMARKSERIALIZED_g(long varValue)
+ {
+ H5E_CANTMARKSERIALIZED_g$constants.SEGMENT.set(H5E_CANTMARKSERIALIZED_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5E_CANTMARKUNSERIALIZED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKUNSERIALIZED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKUNSERIALIZED_g$layout()
+ {
+ return H5E_CANTMARKUNSERIALIZED_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKUNSERIALIZED_g$segment()
+ {
+ return H5E_CANTMARKUNSERIALIZED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static long H5E_CANTMARKUNSERIALIZED_g()
+ {
+ return H5E_CANTMARKUNSERIALIZED_g$constants.SEGMENT.get(H5E_CANTMARKUNSERIALIZED_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static void H5E_CANTMARKUNSERIALIZED_g(long varValue)
+ {
+ H5E_CANTMARKUNSERIALIZED_g$constants.SEGMENT.set(H5E_CANTMARKUNSERIALIZED_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5E_CANTNOTIFY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTNOTIFY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static OfLong H5E_CANTNOTIFY_g$layout() { return H5E_CANTNOTIFY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTNOTIFY_g$segment() { return H5E_CANTNOTIFY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static long H5E_CANTNOTIFY_g()
+ {
+ return H5E_CANTNOTIFY_g$constants.SEGMENT.get(H5E_CANTNOTIFY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static void H5E_CANTNOTIFY_g(long varValue)
+ {
+ H5E_CANTNOTIFY_g$constants.SEGMENT.set(H5E_CANTNOTIFY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPIN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPIN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static OfLong H5E_CANTPIN_g$layout() { return H5E_CANTPIN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPIN_g$segment() { return H5E_CANTPIN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static long H5E_CANTPIN_g()
+ {
+ return H5E_CANTPIN_g$constants.SEGMENT.get(H5E_CANTPIN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static void H5E_CANTPIN_g(long varValue)
+ {
+ H5E_CANTPIN_g$constants.SEGMENT.set(H5E_CANTPIN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPROTECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPROTECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static OfLong H5E_CANTPROTECT_g$layout() { return H5E_CANTPROTECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPROTECT_g$segment() { return H5E_CANTPROTECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static long H5E_CANTPROTECT_g()
+ {
+ return H5E_CANTPROTECT_g$constants.SEGMENT.get(H5E_CANTPROTECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static void H5E_CANTPROTECT_g(long varValue)
+ {
+ H5E_CANTPROTECT_g$constants.SEGMENT.set(H5E_CANTPROTECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRESIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRESIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTRESIZE_g$layout() { return H5E_CANTRESIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRESIZE_g$segment() { return H5E_CANTRESIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static long H5E_CANTRESIZE_g()
+ {
+ return H5E_CANTRESIZE_g$constants.SEGMENT.get(H5E_CANTRESIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static void H5E_CANTRESIZE_g(long varValue)
+ {
+ H5E_CANTRESIZE_g$constants.SEGMENT.set(H5E_CANTRESIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSERIALIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSERIALIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTSERIALIZE_g$layout() { return H5E_CANTSERIALIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSERIALIZE_g$segment()
+ {
+ return H5E_CANTSERIALIZE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static long H5E_CANTSERIALIZE_g()
+ {
+ return H5E_CANTSERIALIZE_g$constants.SEGMENT.get(H5E_CANTSERIALIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static void H5E_CANTSERIALIZE_g(long varValue)
+ {
+ H5E_CANTSERIALIZE_g$constants.SEGMENT.set(H5E_CANTSERIALIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTTAG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTTAG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static OfLong H5E_CANTTAG_g$layout() { return H5E_CANTTAG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static MemorySegment H5E_CANTTAG_g$segment() { return H5E_CANTTAG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static long H5E_CANTTAG_g()
+ {
+ return H5E_CANTTAG_g$constants.SEGMENT.get(H5E_CANTTAG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static void H5E_CANTTAG_g(long varValue)
+ {
+ H5E_CANTTAG_g$constants.SEGMENT.set(H5E_CANTTAG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNCORK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNCORK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static OfLong H5E_CANTUNCORK_g$layout() { return H5E_CANTUNCORK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNCORK_g$segment() { return H5E_CANTUNCORK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static long H5E_CANTUNCORK_g()
+ {
+ return H5E_CANTUNCORK_g$constants.SEGMENT.get(H5E_CANTUNCORK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static void H5E_CANTUNCORK_g(long varValue)
+ {
+ H5E_CANTUNCORK_g$constants.SEGMENT.set(H5E_CANTUNCORK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNDEPEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNDEPEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static OfLong H5E_CANTUNDEPEND_g$layout() { return H5E_CANTUNDEPEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNDEPEND_g$segment() { return H5E_CANTUNDEPEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static long H5E_CANTUNDEPEND_g()
+ {
+ return H5E_CANTUNDEPEND_g$constants.SEGMENT.get(H5E_CANTUNDEPEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static void H5E_CANTUNDEPEND_g(long varValue)
+ {
+ H5E_CANTUNDEPEND_g$constants.SEGMENT.set(H5E_CANTUNDEPEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNPIN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNPIN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static OfLong H5E_CANTUNPIN_g$layout() { return H5E_CANTUNPIN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNPIN_g$segment() { return H5E_CANTUNPIN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static long H5E_CANTUNPIN_g()
+ {
+ return H5E_CANTUNPIN_g$constants.SEGMENT.get(H5E_CANTUNPIN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static void H5E_CANTUNPIN_g(long varValue)
+ {
+ H5E_CANTUNPIN_g$constants.SEGMENT.set(H5E_CANTUNPIN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNPROTECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNPROTECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static OfLong H5E_CANTUNPROTECT_g$layout() { return H5E_CANTUNPROTECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNPROTECT_g$segment()
+ {
+ return H5E_CANTUNPROTECT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static long H5E_CANTUNPROTECT_g()
+ {
+ return H5E_CANTUNPROTECT_g$constants.SEGMENT.get(H5E_CANTUNPROTECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static void H5E_CANTUNPROTECT_g(long varValue)
+ {
+ H5E_CANTUNPROTECT_g$constants.SEGMENT.set(H5E_CANTUNPROTECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNSERIALIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNSERIALIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTUNSERIALIZE_g$layout() { return H5E_CANTUNSERIALIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNSERIALIZE_g$segment()
+ {
+ return H5E_CANTUNSERIALIZE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static long H5E_CANTUNSERIALIZE_g()
+ {
+ return H5E_CANTUNSERIALIZE_g$constants.SEGMENT.get(H5E_CANTUNSERIALIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static void H5E_CANTUNSERIALIZE_g(long varValue)
+ {
+ H5E_CANTUNSERIALIZE_g$constants.SEGMENT.set(H5E_CANTUNSERIALIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LOGGING_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LOGGING_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static OfLong H5E_LOGGING_g$layout() { return H5E_LOGGING_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static MemorySegment H5E_LOGGING_g$segment() { return H5E_LOGGING_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static long H5E_LOGGING_g()
+ {
+ return H5E_LOGGING_g$constants.SEGMENT.get(H5E_LOGGING_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static void H5E_LOGGING_g(long varValue)
+ {
+ H5E_LOGGING_g$constants.SEGMENT.set(H5E_LOGGING_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTCACHED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTCACHED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static OfLong H5E_NOTCACHED_g$layout() { return H5E_NOTCACHED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static MemorySegment H5E_NOTCACHED_g$segment() { return H5E_NOTCACHED_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static long H5E_NOTCACHED_g()
+ {
+ return H5E_NOTCACHED_g$constants.SEGMENT.get(H5E_NOTCACHED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static void H5E_NOTCACHED_g(long varValue)
+ {
+ H5E_NOTCACHED_g$constants.SEGMENT.set(H5E_NOTCACHED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PROTECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PROTECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static OfLong H5E_PROTECT_g$layout() { return H5E_PROTECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static MemorySegment H5E_PROTECT_g$segment() { return H5E_PROTECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static long H5E_PROTECT_g()
+ {
+ return H5E_PROTECT_g$constants.SEGMENT.get(H5E_PROTECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static void H5E_PROTECT_g(long varValue)
+ {
+ H5E_PROTECT_g$constants.SEGMENT.set(H5E_PROTECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SYSTEM_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SYSTEM_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static OfLong H5E_SYSTEM_g$layout() { return H5E_SYSTEM_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static MemorySegment H5E_SYSTEM_g$segment() { return H5E_SYSTEM_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static long H5E_SYSTEM_g()
+ {
+ return H5E_SYSTEM_g$constants.SEGMENT.get(H5E_SYSTEM_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static void H5E_SYSTEM_g(long varValue)
+ {
+ H5E_SYSTEM_g$constants.SEGMENT.set(H5E_SYSTEM_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADSELECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADSELECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static OfLong H5E_BADSELECT_g$layout() { return H5E_BADSELECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static MemorySegment H5E_BADSELECT_g$segment() { return H5E_BADSELECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static long H5E_BADSELECT_g()
+ {
+ return H5E_BADSELECT_g$constants.SEGMENT.get(H5E_BADSELECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static void H5E_BADSELECT_g(long varValue)
+ {
+ H5E_BADSELECT_g$constants.SEGMENT.set(H5E_BADSELECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTAPPEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTAPPEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static OfLong H5E_CANTAPPEND_g$layout() { return H5E_CANTAPPEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTAPPEND_g$segment() { return H5E_CANTAPPEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static long H5E_CANTAPPEND_g()
+ {
+ return H5E_CANTAPPEND_g$constants.SEGMENT.get(H5E_CANTAPPEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static void H5E_CANTAPPEND_g(long varValue)
+ {
+ H5E_CANTAPPEND_g$constants.SEGMENT.set(H5E_CANTAPPEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLIP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLIP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static OfLong H5E_CANTCLIP_g$layout() { return H5E_CANTCLIP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLIP_g$segment() { return H5E_CANTCLIP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static long H5E_CANTCLIP_g()
+ {
+ return H5E_CANTCLIP_g$constants.SEGMENT.get(H5E_CANTCLIP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static void H5E_CANTCLIP_g(long varValue)
+ {
+ H5E_CANTCLIP_g$constants.SEGMENT.set(H5E_CANTCLIP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOMPARE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOMPARE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static OfLong H5E_CANTCOMPARE_g$layout() { return H5E_CANTCOMPARE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOMPARE_g$segment() { return H5E_CANTCOMPARE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static long H5E_CANTCOMPARE_g()
+ {
+ return H5E_CANTCOMPARE_g$constants.SEGMENT.get(H5E_CANTCOMPARE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static void H5E_CANTCOMPARE_g(long varValue)
+ {
+ H5E_CANTCOMPARE_g$constants.SEGMENT.set(H5E_CANTCOMPARE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static OfLong H5E_CANTCOUNT_g$layout() { return H5E_CANTCOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOUNT_g$segment() { return H5E_CANTCOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static long H5E_CANTCOUNT_g()
+ {
+ return H5E_CANTCOUNT_g$constants.SEGMENT.get(H5E_CANTCOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static void H5E_CANTCOUNT_g(long varValue)
+ {
+ H5E_CANTCOUNT_g$constants.SEGMENT.set(H5E_CANTCOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTNEXT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTNEXT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static OfLong H5E_CANTNEXT_g$layout() { return H5E_CANTNEXT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTNEXT_g$segment() { return H5E_CANTNEXT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static long H5E_CANTNEXT_g()
+ {
+ return H5E_CANTNEXT_g$constants.SEGMENT.get(H5E_CANTNEXT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static void H5E_CANTNEXT_g(long varValue)
+ {
+ H5E_CANTNEXT_g$constants.SEGMENT.set(H5E_CANTNEXT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSELECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSELECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static OfLong H5E_CANTSELECT_g$layout() { return H5E_CANTSELECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSELECT_g$segment() { return H5E_CANTSELECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static long H5E_CANTSELECT_g()
+ {
+ return H5E_CANTSELECT_g$constants.SEGMENT.get(H5E_CANTSELECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static void H5E_CANTSELECT_g(long varValue)
+ {
+ H5E_CANTSELECT_g$constants.SEGMENT.set(H5E_CANTSELECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_INCONSISTENTSTATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_INCONSISTENTSTATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static OfLong H5E_INCONSISTENTSTATE_g$layout() { return H5E_INCONSISTENTSTATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static MemorySegment H5E_INCONSISTENTSTATE_g$segment()
+ {
+ return H5E_INCONSISTENTSTATE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static long H5E_INCONSISTENTSTATE_g()
+ {
+ return H5E_INCONSISTENTSTATE_g$constants.SEGMENT.get(H5E_INCONSISTENTSTATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static void H5E_INCONSISTENTSTATE_g(long varValue)
+ {
+ H5E_INCONSISTENTSTATE_g$constants.SEGMENT.set(H5E_INCONSISTENTSTATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CLOSEERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CLOSEERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static OfLong H5E_CLOSEERROR_g$layout() { return H5E_CLOSEERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static MemorySegment H5E_CLOSEERROR_g$segment() { return H5E_CLOSEERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static long H5E_CLOSEERROR_g()
+ {
+ return H5E_CLOSEERROR_g$constants.SEGMENT.get(H5E_CLOSEERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static void H5E_CLOSEERROR_g(long varValue)
+ {
+ H5E_CLOSEERROR_g$constants.SEGMENT.set(H5E_CLOSEERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FCNTL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FCNTL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static OfLong H5E_FCNTL_g$layout() { return H5E_FCNTL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static MemorySegment H5E_FCNTL_g$segment() { return H5E_FCNTL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static long H5E_FCNTL_g()
+ {
+ return H5E_FCNTL_g$constants.SEGMENT.get(H5E_FCNTL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static void H5E_FCNTL_g(long varValue)
+ {
+ H5E_FCNTL_g$constants.SEGMENT.set(H5E_FCNTL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OVERFLOW_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OVERFLOW_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static OfLong H5E_OVERFLOW_g$layout() { return H5E_OVERFLOW_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static MemorySegment H5E_OVERFLOW_g$segment() { return H5E_OVERFLOW_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static long H5E_OVERFLOW_g()
+ {
+ return H5E_OVERFLOW_g$constants.SEGMENT.get(H5E_OVERFLOW_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static void H5E_OVERFLOW_g(long varValue)
+ {
+ H5E_OVERFLOW_g$constants.SEGMENT.set(H5E_OVERFLOW_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_READERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_READERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static OfLong H5E_READERROR_g$layout() { return H5E_READERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static MemorySegment H5E_READERROR_g$segment() { return H5E_READERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static long H5E_READERROR_g()
+ {
+ return H5E_READERROR_g$constants.SEGMENT.get(H5E_READERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static void H5E_READERROR_g(long varValue)
+ {
+ H5E_READERROR_g$constants.SEGMENT.set(H5E_READERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SEEKERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SEEKERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static OfLong H5E_SEEKERROR_g$layout() { return H5E_SEEKERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static MemorySegment H5E_SEEKERROR_g$segment() { return H5E_SEEKERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static long H5E_SEEKERROR_g()
+ {
+ return H5E_SEEKERROR_g$constants.SEGMENT.get(H5E_SEEKERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static void H5E_SEEKERROR_g(long varValue)
+ {
+ H5E_SEEKERROR_g$constants.SEGMENT.set(H5E_SEEKERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_WRITEERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_WRITEERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static OfLong H5E_WRITEERROR_g$layout() { return H5E_WRITEERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static MemorySegment H5E_WRITEERROR_g$segment() { return H5E_WRITEERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static long H5E_WRITEERROR_g()
+ {
+ return H5E_WRITEERROR_g$constants.SEGMENT.get(H5E_WRITEERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static void H5E_WRITEERROR_g(long varValue)
+ {
+ H5E_WRITEERROR_g$constants.SEGMENT.set(H5E_WRITEERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static OfLong H5E_BADFILE_g$layout() { return H5E_BADFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static MemorySegment H5E_BADFILE_g$segment() { return H5E_BADFILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static long H5E_BADFILE_g()
+ {
+ return H5E_BADFILE_g$constants.SEGMENT.get(H5E_BADFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static void H5E_BADFILE_g(long varValue)
+ {
+ H5E_BADFILE_g$constants.SEGMENT.set(H5E_BADFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLOSEFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLOSEFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTCLOSEFILE_g$layout() { return H5E_CANTCLOSEFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLOSEFILE_g$segment()
+ {
+ return H5E_CANTCLOSEFILE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static long H5E_CANTCLOSEFILE_g()
+ {
+ return H5E_CANTCLOSEFILE_g$constants.SEGMENT.get(H5E_CANTCLOSEFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static void H5E_CANTCLOSEFILE_g(long varValue)
+ {
+ H5E_CANTCLOSEFILE_g$constants.SEGMENT.set(H5E_CANTCLOSEFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCREATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCREATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static OfLong H5E_CANTCREATE_g$layout() { return H5E_CANTCREATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCREATE_g$segment() { return H5E_CANTCREATE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static long H5E_CANTCREATE_g()
+ {
+ return H5E_CANTCREATE_g$constants.SEGMENT.get(H5E_CANTCREATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static void H5E_CANTCREATE_g(long varValue)
+ {
+ H5E_CANTCREATE_g$constants.SEGMENT.set(H5E_CANTCREATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDELETEFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDELETEFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTDELETEFILE_g$layout() { return H5E_CANTDELETEFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDELETEFILE_g$segment()
+ {
+ return H5E_CANTDELETEFILE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static long H5E_CANTDELETEFILE_g()
+ {
+ return H5E_CANTDELETEFILE_g$constants.SEGMENT.get(H5E_CANTDELETEFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static void H5E_CANTDELETEFILE_g(long varValue)
+ {
+ H5E_CANTDELETEFILE_g$constants.SEGMENT.set(H5E_CANTDELETEFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLOCKFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLOCKFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTLOCKFILE_g$layout() { return H5E_CANTLOCKFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLOCKFILE_g$segment() { return H5E_CANTLOCKFILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static long H5E_CANTLOCKFILE_g()
+ {
+ return H5E_CANTLOCKFILE_g$constants.SEGMENT.get(H5E_CANTLOCKFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static void H5E_CANTLOCKFILE_g(long varValue)
+ {
+ H5E_CANTLOCKFILE_g$constants.SEGMENT.set(H5E_CANTLOCKFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTOPENFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTOPENFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTOPENFILE_g$layout() { return H5E_CANTOPENFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTOPENFILE_g$segment() { return H5E_CANTOPENFILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static long H5E_CANTOPENFILE_g()
+ {
+ return H5E_CANTOPENFILE_g$constants.SEGMENT.get(H5E_CANTOPENFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static void H5E_CANTOPENFILE_g(long varValue)
+ {
+ H5E_CANTOPENFILE_g$constants.SEGMENT.set(H5E_CANTOPENFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNLOCKFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNLOCKFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTUNLOCKFILE_g$layout() { return H5E_CANTUNLOCKFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNLOCKFILE_g$segment()
+ {
+ return H5E_CANTUNLOCKFILE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static long H5E_CANTUNLOCKFILE_g()
+ {
+ return H5E_CANTUNLOCKFILE_g$constants.SEGMENT.get(H5E_CANTUNLOCKFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static void H5E_CANTUNLOCKFILE_g(long varValue)
+ {
+ H5E_CANTUNLOCKFILE_g$constants.SEGMENT.set(H5E_CANTUNLOCKFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FILEEXISTS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FILEEXISTS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static OfLong H5E_FILEEXISTS_g$layout() { return H5E_FILEEXISTS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static MemorySegment H5E_FILEEXISTS_g$segment() { return H5E_FILEEXISTS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static long H5E_FILEEXISTS_g()
+ {
+ return H5E_FILEEXISTS_g$constants.SEGMENT.get(H5E_FILEEXISTS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static void H5E_FILEEXISTS_g(long varValue)
+ {
+ H5E_FILEEXISTS_g$constants.SEGMENT.set(H5E_FILEEXISTS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FILEOPEN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FILEOPEN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static OfLong H5E_FILEOPEN_g$layout() { return H5E_FILEOPEN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static MemorySegment H5E_FILEOPEN_g$segment() { return H5E_FILEOPEN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static long H5E_FILEOPEN_g()
+ {
+ return H5E_FILEOPEN_g$constants.SEGMENT.get(H5E_FILEOPEN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static void H5E_FILEOPEN_g(long varValue)
+ {
+ H5E_FILEOPEN_g$constants.SEGMENT.set(H5E_FILEOPEN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static OfLong H5E_MOUNT_g$layout() { return H5E_MOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_MOUNT_g$segment() { return H5E_MOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static long H5E_MOUNT_g()
+ {
+ return H5E_MOUNT_g$constants.SEGMENT.get(H5E_MOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static void H5E_MOUNT_g(long varValue)
+ {
+ H5E_MOUNT_g$constants.SEGMENT.set(H5E_MOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTHDF5_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTHDF5_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static OfLong H5E_NOTHDF5_g$layout() { return H5E_NOTHDF5_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static MemorySegment H5E_NOTHDF5_g$segment() { return H5E_NOTHDF5_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static long H5E_NOTHDF5_g()
+ {
+ return H5E_NOTHDF5_g$constants.SEGMENT.get(H5E_NOTHDF5_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static void H5E_NOTHDF5_g(long varValue)
+ {
+ H5E_NOTHDF5_g$constants.SEGMENT.set(H5E_NOTHDF5_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_TRUNCATED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_TRUNCATED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static OfLong H5E_TRUNCATED_g$layout() { return H5E_TRUNCATED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static MemorySegment H5E_TRUNCATED_g$segment() { return H5E_TRUNCATED_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static long H5E_TRUNCATED_g()
+ {
+ return H5E_TRUNCATED_g$constants.SEGMENT.get(H5E_TRUNCATED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static void H5E_TRUNCATED_g(long varValue)
+ {
+ H5E_TRUNCATED_g$constants.SEGMENT.set(H5E_TRUNCATED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_UNMOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_UNMOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static OfLong H5E_UNMOUNT_g$layout() { return H5E_UNMOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_UNMOUNT_g$segment() { return H5E_UNMOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static long H5E_UNMOUNT_g()
+ {
+ return H5E_UNMOUNT_g$constants.SEGMENT.get(H5E_UNMOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static void H5E_UNMOUNT_g(long varValue)
+ {
+ H5E_UNMOUNT_g$constants.SEGMENT.set(H5E_UNMOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMERGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMERGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static OfLong H5E_CANTMERGE_g$layout() { return H5E_CANTMERGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMERGE_g$segment() { return H5E_CANTMERGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static long H5E_CANTMERGE_g()
+ {
+ return H5E_CANTMERGE_g$constants.SEGMENT.get(H5E_CANTMERGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static void H5E_CANTMERGE_g(long varValue)
+ {
+ H5E_CANTMERGE_g$constants.SEGMENT.set(H5E_CANTMERGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREVIVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREVIVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static OfLong H5E_CANTREVIVE_g$layout() { return H5E_CANTREVIVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREVIVE_g$segment() { return H5E_CANTREVIVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static long H5E_CANTREVIVE_g()
+ {
+ return H5E_CANTREVIVE_g$constants.SEGMENT.get(H5E_CANTREVIVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static void H5E_CANTREVIVE_g(long varValue)
+ {
+ H5E_CANTREVIVE_g$constants.SEGMENT.set(H5E_CANTREVIVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSHRINK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSHRINK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static OfLong H5E_CANTSHRINK_g$layout() { return H5E_CANTSHRINK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSHRINK_g$segment() { return H5E_CANTSHRINK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static long H5E_CANTSHRINK_g()
+ {
+ return H5E_CANTSHRINK_g$constants.SEGMENT.get(H5E_CANTSHRINK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static void H5E_CANTSHRINK_g(long varValue)
+ {
+ H5E_CANTSHRINK_g$constants.SEGMENT.set(H5E_CANTSHRINK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ALREADYINIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ALREADYINIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static OfLong H5E_ALREADYINIT_g$layout() { return H5E_ALREADYINIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static MemorySegment H5E_ALREADYINIT_g$segment() { return H5E_ALREADYINIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static long H5E_ALREADYINIT_g()
+ {
+ return H5E_ALREADYINIT_g$constants.SEGMENT.get(H5E_ALREADYINIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static void H5E_ALREADYINIT_g(long varValue)
+ {
+ H5E_ALREADYINIT_g$constants.SEGMENT.set(H5E_ALREADYINIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static OfLong H5E_CANTINIT_g$layout() { return H5E_CANTINIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINIT_g$segment() { return H5E_CANTINIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static long H5E_CANTINIT_g()
+ {
+ return H5E_CANTINIT_g$constants.SEGMENT.get(H5E_CANTINIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static void H5E_CANTINIT_g(long varValue)
+ {
+ H5E_CANTINIT_g$constants.SEGMENT.set(H5E_CANTINIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRELEASE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRELEASE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static OfLong H5E_CANTRELEASE_g$layout() { return H5E_CANTRELEASE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRELEASE_g$segment() { return H5E_CANTRELEASE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static long H5E_CANTRELEASE_g()
+ {
+ return H5E_CANTRELEASE_g$constants.SEGMENT.get(H5E_CANTRELEASE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static void H5E_CANTRELEASE_g(long varValue)
+ {
+ H5E_CANTRELEASE_g$constants.SEGMENT.set(H5E_CANTRELEASE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLOSEOBJ_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLOSEOBJ_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static OfLong H5E_CANTCLOSEOBJ_g$layout() { return H5E_CANTCLOSEOBJ_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLOSEOBJ_g$segment() { return H5E_CANTCLOSEOBJ_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static long H5E_CANTCLOSEOBJ_g()
+ {
+ return H5E_CANTCLOSEOBJ_g$constants.SEGMENT.get(H5E_CANTCLOSEOBJ_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static void H5E_CANTCLOSEOBJ_g(long varValue)
+ {
+ H5E_CANTCLOSEOBJ_g$constants.SEGMENT.set(H5E_CANTCLOSEOBJ_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTOPENOBJ_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTOPENOBJ_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static OfLong H5E_CANTOPENOBJ_g$layout() { return H5E_CANTOPENOBJ_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static MemorySegment H5E_CANTOPENOBJ_g$segment() { return H5E_CANTOPENOBJ_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static long H5E_CANTOPENOBJ_g()
+ {
+ return H5E_CANTOPENOBJ_g$constants.SEGMENT.get(H5E_CANTOPENOBJ_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static void H5E_CANTOPENOBJ_g(long varValue)
+ {
+ H5E_CANTOPENOBJ_g$constants.SEGMENT.set(H5E_CANTOPENOBJ_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_COMPLEN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_COMPLEN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static OfLong H5E_COMPLEN_g$layout() { return H5E_COMPLEN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static MemorySegment H5E_COMPLEN_g$segment() { return H5E_COMPLEN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static long H5E_COMPLEN_g()
+ {
+ return H5E_COMPLEN_g$constants.SEGMENT.get(H5E_COMPLEN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static void H5E_COMPLEN_g(long varValue)
+ {
+ H5E_COMPLEN_g$constants.SEGMENT.set(H5E_COMPLEN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PATH_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PATH_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static OfLong H5E_PATH_g$layout() { return H5E_PATH_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static MemorySegment H5E_PATH_g$segment() { return H5E_PATH_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static long H5E_PATH_g()
+ {
+ return H5E_PATH_g$constants.SEGMENT.get(H5E_PATH_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static void H5E_PATH_g(long varValue)
+ {
+ H5E_PATH_g$constants.SEGMENT.set(H5E_PATH_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTATTACH_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTATTACH_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static OfLong H5E_CANTATTACH_g$layout() { return H5E_CANTATTACH_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static MemorySegment H5E_CANTATTACH_g$segment() { return H5E_CANTATTACH_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static long H5E_CANTATTACH_g()
+ {
+ return H5E_CANTATTACH_g$constants.SEGMENT.get(H5E_CANTATTACH_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static void H5E_CANTATTACH_g(long varValue)
+ {
+ H5E_CANTATTACH_g$constants.SEGMENT.set(H5E_CANTATTACH_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOMPUTE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOMPUTE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static OfLong H5E_CANTCOMPUTE_g$layout() { return H5E_CANTCOMPUTE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOMPUTE_g$segment() { return H5E_CANTCOMPUTE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static long H5E_CANTCOMPUTE_g()
+ {
+ return H5E_CANTCOMPUTE_g$constants.SEGMENT.get(H5E_CANTCOMPUTE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static void H5E_CANTCOMPUTE_g(long varValue)
+ {
+ H5E_CANTCOMPUTE_g$constants.SEGMENT.set(H5E_CANTCOMPUTE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTEXTEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTEXTEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static OfLong H5E_CANTEXTEND_g$layout() { return H5E_CANTEXTEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTEXTEND_g$segment() { return H5E_CANTEXTEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static long H5E_CANTEXTEND_g()
+ {
+ return H5E_CANTEXTEND_g$constants.SEGMENT.get(H5E_CANTEXTEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static void H5E_CANTEXTEND_g(long varValue)
+ {
+ H5E_CANTEXTEND_g$constants.SEGMENT.set(H5E_CANTEXTEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTOPERATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTOPERATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static OfLong H5E_CANTOPERATE_g$layout() { return H5E_CANTOPERATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTOPERATE_g$segment() { return H5E_CANTOPERATE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static long H5E_CANTOPERATE_g()
+ {
+ return H5E_CANTOPERATE_g$constants.SEGMENT.get(H5E_CANTOPERATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static void H5E_CANTOPERATE_g(long varValue)
+ {
+ H5E_CANTOPERATE_g$constants.SEGMENT.set(H5E_CANTOPERATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRESTORE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRESTORE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static OfLong H5E_CANTRESTORE_g$layout() { return H5E_CANTRESTORE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRESTORE_g$segment() { return H5E_CANTRESTORE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static long H5E_CANTRESTORE_g()
+ {
+ return H5E_CANTRESTORE_g$constants.SEGMENT.get(H5E_CANTRESTORE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static void H5E_CANTRESTORE_g(long varValue)
+ {
+ H5E_CANTRESTORE_g$constants.SEGMENT.set(H5E_CANTRESTORE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUPDATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUPDATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static OfLong H5E_CANTUPDATE_g$layout() { return H5E_CANTUPDATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUPDATE_g$segment() { return H5E_CANTUPDATE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static long H5E_CANTUPDATE_g()
+ {
+ return H5E_CANTUPDATE_g$constants.SEGMENT.get(H5E_CANTUPDATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static void H5E_CANTUPDATE_g(long varValue)
+ {
+ H5E_CANTUPDATE_g$constants.SEGMENT.set(H5E_CANTUPDATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADGROUP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADGROUP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static OfLong H5E_BADGROUP_g$layout() { return H5E_BADGROUP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static MemorySegment H5E_BADGROUP_g$segment() { return H5E_BADGROUP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static long H5E_BADGROUP_g()
+ {
+ return H5E_BADGROUP_g$constants.SEGMENT.get(H5E_BADGROUP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static void H5E_BADGROUP_g(long varValue)
+ {
+ H5E_BADGROUP_g$constants.SEGMENT.set(H5E_BADGROUP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static OfLong H5E_BADID_g$layout() { return H5E_BADID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static MemorySegment H5E_BADID_g$segment() { return H5E_BADID_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static long H5E_BADID_g()
+ {
+ return H5E_BADID_g$constants.SEGMENT.get(H5E_BADID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static void H5E_BADID_g(long varValue)
+ {
+ H5E_BADID_g$constants.SEGMENT.set(H5E_BADID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDEC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDEC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static OfLong H5E_CANTDEC_g$layout() { return H5E_CANTDEC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDEC_g$segment() { return H5E_CANTDEC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static long H5E_CANTDEC_g()
+ {
+ return H5E_CANTDEC_g$constants.SEGMENT.get(H5E_CANTDEC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static void H5E_CANTDEC_g(long varValue)
+ {
+ H5E_CANTDEC_g$constants.SEGMENT.set(H5E_CANTDEC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static OfLong H5E_CANTINC_g$layout() { return H5E_CANTINC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINC_g$segment() { return H5E_CANTINC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static long H5E_CANTINC_g()
+ {
+ return H5E_CANTINC_g$constants.SEGMENT.get(H5E_CANTINC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static void H5E_CANTINC_g(long varValue)
+ {
+ H5E_CANTINC_g$constants.SEGMENT.set(H5E_CANTINC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREGISTER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREGISTER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static OfLong H5E_CANTREGISTER_g$layout() { return H5E_CANTREGISTER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREGISTER_g$segment() { return H5E_CANTREGISTER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static long H5E_CANTREGISTER_g()
+ {
+ return H5E_CANTREGISTER_g$constants.SEGMENT.get(H5E_CANTREGISTER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static void H5E_CANTREGISTER_g(long varValue)
+ {
+ H5E_CANTREGISTER_g$constants.SEGMENT.set(H5E_CANTREGISTER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOIDS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOIDS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static OfLong H5E_NOIDS_g$layout() { return H5E_NOIDS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static MemorySegment H5E_NOIDS_g$segment() { return H5E_NOIDS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static long H5E_NOIDS_g()
+ {
+ return H5E_NOIDS_g$constants.SEGMENT.get(H5E_NOIDS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static void H5E_NOIDS_g(long varValue)
+ {
+ H5E_NOIDS_g$constants.SEGMENT.set(H5E_NOIDS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMOVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMOVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static OfLong H5E_CANTMOVE_g$layout() { return H5E_CANTMOVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMOVE_g$segment() { return H5E_CANTMOVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static long H5E_CANTMOVE_g()
+ {
+ return H5E_CANTMOVE_g$constants.SEGMENT.get(H5E_CANTMOVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static void H5E_CANTMOVE_g(long varValue)
+ {
+ H5E_CANTMOVE_g$constants.SEGMENT.set(H5E_CANTMOVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSORT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSORT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static OfLong H5E_CANTSORT_g$layout() { return H5E_CANTSORT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSORT_g$segment() { return H5E_CANTSORT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static long H5E_CANTSORT_g()
+ {
+ return H5E_CANTSORT_g$constants.SEGMENT.get(H5E_CANTSORT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static void H5E_CANTSORT_g(long varValue)
+ {
+ H5E_CANTSORT_g$constants.SEGMENT.set(H5E_CANTSORT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NLINKS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NLINKS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static OfLong H5E_NLINKS_g$layout() { return H5E_NLINKS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static MemorySegment H5E_NLINKS_g$segment() { return H5E_NLINKS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static long H5E_NLINKS_g()
+ {
+ return H5E_NLINKS_g$constants.SEGMENT.get(H5E_NLINKS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static void H5E_NLINKS_g(long varValue)
+ {
+ H5E_NLINKS_g$constants.SEGMENT.set(H5E_NLINKS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTREGISTERED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTREGISTERED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static OfLong H5E_NOTREGISTERED_g$layout() { return H5E_NOTREGISTERED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static MemorySegment H5E_NOTREGISTERED_g$segment()
+ {
+ return H5E_NOTREGISTERED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static long H5E_NOTREGISTERED_g()
+ {
+ return H5E_NOTREGISTERED_g$constants.SEGMENT.get(H5E_NOTREGISTERED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static void H5E_NOTREGISTERED_g(long varValue)
+ {
+ H5E_NOTREGISTERED_g$constants.SEGMENT.set(H5E_NOTREGISTERED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_TRAVERSE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_TRAVERSE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static OfLong H5E_TRAVERSE_g$layout() { return H5E_TRAVERSE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static MemorySegment H5E_TRAVERSE_g$segment() { return H5E_TRAVERSE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static long H5E_TRAVERSE_g()
+ {
+ return H5E_TRAVERSE_g$constants.SEGMENT.get(H5E_TRAVERSE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static void H5E_TRAVERSE_g(long varValue)
+ {
+ H5E_TRAVERSE_g$constants.SEGMENT.set(H5E_TRAVERSE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPUT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPUT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static OfLong H5E_CANTPUT_g$layout() { return H5E_CANTPUT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPUT_g$segment() { return H5E_CANTPUT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static long H5E_CANTPUT_g()
+ {
+ return H5E_CANTPUT_g$constants.SEGMENT.get(H5E_CANTPUT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static void H5E_CANTPUT_g(long varValue)
+ {
+ H5E_CANTPUT_g$constants.SEGMENT.set(H5E_CANTPUT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGATHER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGATHER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static OfLong H5E_CANTGATHER_g$layout() { return H5E_CANTGATHER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGATHER_g$segment() { return H5E_CANTGATHER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static long H5E_CANTGATHER_g()
+ {
+ return H5E_CANTGATHER_g$constants.SEGMENT.get(H5E_CANTGATHER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static void H5E_CANTGATHER_g(long varValue)
+ {
+ H5E_CANTGATHER_g$constants.SEGMENT.set(H5E_CANTGATHER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRECV_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRECV_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static OfLong H5E_CANTRECV_g$layout() { return H5E_CANTRECV_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRECV_g$segment() { return H5E_CANTRECV_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static long H5E_CANTRECV_g()
+ {
+ return H5E_CANTRECV_g$constants.SEGMENT.get(H5E_CANTRECV_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static void H5E_CANTRECV_g(long varValue)
+ {
+ H5E_CANTRECV_g$constants.SEGMENT.set(H5E_CANTRECV_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MPI_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MPI_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static OfLong H5E_MPI_g$layout() { return H5E_MPI_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static MemorySegment H5E_MPI_g$segment() { return H5E_MPI_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static long H5E_MPI_g() { return H5E_MPI_g$constants.SEGMENT.get(H5E_MPI_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static void H5E_MPI_g(long varValue)
+ {
+ H5E_MPI_g$constants.SEGMENT.set(H5E_MPI_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MPIERRSTR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MPIERRSTR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static OfLong H5E_MPIERRSTR_g$layout() { return H5E_MPIERRSTR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static MemorySegment H5E_MPIERRSTR_g$segment() { return H5E_MPIERRSTR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static long H5E_MPIERRSTR_g()
+ {
+ return H5E_MPIERRSTR_g$constants.SEGMENT.get(H5E_MPIERRSTR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static void H5E_MPIERRSTR_g(long varValue)
+ {
+ H5E_MPIERRSTR_g$constants.SEGMENT.set(H5E_MPIERRSTR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NO_INDEPENDENT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NO_INDEPENDENT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static OfLong H5E_NO_INDEPENDENT_g$layout() { return H5E_NO_INDEPENDENT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static MemorySegment H5E_NO_INDEPENDENT_g$segment()
+ {
+ return H5E_NO_INDEPENDENT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static long H5E_NO_INDEPENDENT_g()
+ {
+ return H5E_NO_INDEPENDENT_g$constants.SEGMENT.get(H5E_NO_INDEPENDENT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static void H5E_NO_INDEPENDENT_g(long varValue)
+ {
+ H5E_NO_INDEPENDENT_g$constants.SEGMENT.set(H5E_NO_INDEPENDENT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NONE_MINOR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NONE_MINOR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static OfLong H5E_NONE_MINOR_g$layout() { return H5E_NONE_MINOR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static MemorySegment H5E_NONE_MINOR_g$segment() { return H5E_NONE_MINOR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static long H5E_NONE_MINOR_g()
+ {
+ return H5E_NONE_MINOR_g$constants.SEGMENT.get(H5E_NONE_MINOR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static void H5E_NONE_MINOR_g(long varValue)
+ {
+ H5E_NONE_MINOR_g$constants.SEGMENT.set(H5E_NONE_MINOR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ALIGNMENT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ALIGNMENT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static OfLong H5E_ALIGNMENT_g$layout() { return H5E_ALIGNMENT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static MemorySegment H5E_ALIGNMENT_g$segment() { return H5E_ALIGNMENT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static long H5E_ALIGNMENT_g()
+ {
+ return H5E_ALIGNMENT_g$constants.SEGMENT.get(H5E_ALIGNMENT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static void H5E_ALIGNMENT_g(long varValue)
+ {
+ H5E_ALIGNMENT_g$constants.SEGMENT.set(H5E_ALIGNMENT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADITER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADITER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static OfLong H5E_BADITER_g$layout() { return H5E_BADITER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static MemorySegment H5E_BADITER_g$segment() { return H5E_BADITER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static long H5E_BADITER_g()
+ {
+ return H5E_BADITER_g$constants.SEGMENT.get(H5E_BADITER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static void H5E_BADITER_g(long varValue)
+ {
+ H5E_BADITER_g$constants.SEGMENT.set(H5E_BADITER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADMESG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADMESG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static OfLong H5E_BADMESG_g$layout() { return H5E_BADMESG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static MemorySegment H5E_BADMESG_g$segment() { return H5E_BADMESG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static long H5E_BADMESG_g()
+ {
+ return H5E_BADMESG_g$constants.SEGMENT.get(H5E_BADMESG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static void H5E_BADMESG_g(long varValue)
+ {
+ H5E_BADMESG_g$constants.SEGMENT.set(H5E_BADMESG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDELETE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDELETE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static OfLong H5E_CANTDELETE_g$layout() { return H5E_CANTDELETE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDELETE_g$segment() { return H5E_CANTDELETE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static long H5E_CANTDELETE_g()
+ {
+ return H5E_CANTDELETE_g$constants.SEGMENT.get(H5E_CANTDELETE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static void H5E_CANTDELETE_g(long varValue)
+ {
+ H5E_CANTDELETE_g$constants.SEGMENT.set(H5E_CANTDELETE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPACK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPACK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static OfLong H5E_CANTPACK_g$layout() { return H5E_CANTPACK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPACK_g$segment() { return H5E_CANTPACK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static long H5E_CANTPACK_g()
+ {
+ return H5E_CANTPACK_g$constants.SEGMENT.get(H5E_CANTPACK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static void H5E_CANTPACK_g(long varValue)
+ {
+ H5E_CANTPACK_g$constants.SEGMENT.set(H5E_CANTPACK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRENAME_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRENAME_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static OfLong H5E_CANTRENAME_g$layout() { return H5E_CANTRENAME_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRENAME_g$segment() { return H5E_CANTRENAME_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static long H5E_CANTRENAME_g()
+ {
+ return H5E_CANTRENAME_g$constants.SEGMENT.get(H5E_CANTRENAME_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static void H5E_CANTRENAME_g(long varValue)
+ {
+ H5E_CANTRENAME_g$constants.SEGMENT.set(H5E_CANTRENAME_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRESET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRESET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static OfLong H5E_CANTRESET_g$layout() { return H5E_CANTRESET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRESET_g$segment() { return H5E_CANTRESET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static long H5E_CANTRESET_g()
+ {
+ return H5E_CANTRESET_g$constants.SEGMENT.get(H5E_CANTRESET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static void H5E_CANTRESET_g(long varValue)
+ {
+ H5E_CANTRESET_g$constants.SEGMENT.set(H5E_CANTRESET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LINKCOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LINKCOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static OfLong H5E_LINKCOUNT_g$layout() { return H5E_LINKCOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_LINKCOUNT_g$segment() { return H5E_LINKCOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static long H5E_LINKCOUNT_g()
+ {
+ return H5E_LINKCOUNT_g$constants.SEGMENT.get(H5E_LINKCOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static void H5E_LINKCOUNT_g(long varValue)
+ {
+ H5E_LINKCOUNT_g$constants.SEGMENT.set(H5E_LINKCOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_VERSION_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_VERSION_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static OfLong H5E_VERSION_g$layout() { return H5E_VERSION_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static MemorySegment H5E_VERSION_g$segment() { return H5E_VERSION_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static long H5E_VERSION_g()
+ {
+ return H5E_VERSION_g$constants.SEGMENT.get(H5E_VERSION_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static void H5E_VERSION_g(long varValue)
+ {
+ H5E_VERSION_g$constants.SEGMENT.set(H5E_VERSION_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CALLBACK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CALLBACK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static OfLong H5E_CALLBACK_g$layout() { return H5E_CALLBACK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static MemorySegment H5E_CALLBACK_g$segment() { return H5E_CALLBACK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static long H5E_CALLBACK_g()
+ {
+ return H5E_CALLBACK_g$constants.SEGMENT.get(H5E_CALLBACK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static void H5E_CALLBACK_g(long varValue)
+ {
+ H5E_CALLBACK_g$constants.SEGMENT.set(H5E_CALLBACK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANAPPLY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANAPPLY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static OfLong H5E_CANAPPLY_g$layout() { return H5E_CANAPPLY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static MemorySegment H5E_CANAPPLY_g$segment() { return H5E_CANAPPLY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static long H5E_CANAPPLY_g()
+ {
+ return H5E_CANAPPLY_g$constants.SEGMENT.get(H5E_CANAPPLY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static void H5E_CANAPPLY_g(long varValue)
+ {
+ H5E_CANAPPLY_g$constants.SEGMENT.set(H5E_CANAPPLY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFILTER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFILTER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static OfLong H5E_CANTFILTER_g$layout() { return H5E_CANTFILTER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFILTER_g$segment() { return H5E_CANTFILTER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static long H5E_CANTFILTER_g()
+ {
+ return H5E_CANTFILTER_g$constants.SEGMENT.get(H5E_CANTFILTER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static void H5E_CANTFILTER_g(long varValue)
+ {
+ H5E_CANTFILTER_g$constants.SEGMENT.set(H5E_CANTFILTER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOENCODER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOENCODER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static OfLong H5E_NOENCODER_g$layout() { return H5E_NOENCODER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static MemorySegment H5E_NOENCODER_g$segment() { return H5E_NOENCODER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static long H5E_NOENCODER_g()
+ {
+ return H5E_NOENCODER_g$constants.SEGMENT.get(H5E_NOENCODER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static void H5E_NOENCODER_g(long varValue)
+ {
+ H5E_NOENCODER_g$constants.SEGMENT.set(H5E_NOENCODER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOFILTER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOFILTER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static OfLong H5E_NOFILTER_g$layout() { return H5E_NOFILTER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static MemorySegment H5E_NOFILTER_g$segment() { return H5E_NOFILTER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static long H5E_NOFILTER_g()
+ {
+ return H5E_NOFILTER_g$constants.SEGMENT.get(H5E_NOFILTER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static void H5E_NOFILTER_g(long varValue)
+ {
+ H5E_NOFILTER_g$constants.SEGMENT.set(H5E_NOFILTER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SETLOCAL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SETLOCAL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static OfLong H5E_SETLOCAL_g$layout() { return H5E_SETLOCAL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static MemorySegment H5E_SETLOCAL_g$segment() { return H5E_SETLOCAL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static long H5E_SETLOCAL_g()
+ {
+ return H5E_SETLOCAL_g$constants.SEGMENT.get(H5E_SETLOCAL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static void H5E_SETLOCAL_g(long varValue)
+ {
+ H5E_SETLOCAL_g$constants.SEGMENT.set(H5E_SETLOCAL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static OfLong H5E_CANTGET_g$layout() { return H5E_CANTGET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGET_g$segment() { return H5E_CANTGET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static long H5E_CANTGET_g()
+ {
+ return H5E_CANTGET_g$constants.SEGMENT.get(H5E_CANTGET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static void H5E_CANTGET_g(long varValue)
+ {
+ H5E_CANTGET_g$constants.SEGMENT.set(H5E_CANTGET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static OfLong H5E_CANTSET_g$layout() { return H5E_CANTSET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSET_g$segment() { return H5E_CANTSET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static long H5E_CANTSET_g()
+ {
+ return H5E_CANTSET_g$constants.SEGMENT.get(H5E_CANTSET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static void H5E_CANTSET_g(long varValue)
+ {
+ H5E_CANTSET_g$constants.SEGMENT.set(H5E_CANTSET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DUPCLASS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DUPCLASS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static OfLong H5E_DUPCLASS_g$layout() { return H5E_DUPCLASS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static MemorySegment H5E_DUPCLASS_g$segment() { return H5E_DUPCLASS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static long H5E_DUPCLASS_g()
+ {
+ return H5E_DUPCLASS_g$constants.SEGMENT.get(H5E_DUPCLASS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static void H5E_DUPCLASS_g(long varValue)
+ {
+ H5E_DUPCLASS_g$constants.SEGMENT.set(H5E_DUPCLASS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SETDISALLOWED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SETDISALLOWED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static OfLong H5E_SETDISALLOWED_g$layout() { return H5E_SETDISALLOWED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static MemorySegment H5E_SETDISALLOWED_g$segment()
+ {
+ return H5E_SETDISALLOWED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static long H5E_SETDISALLOWED_g()
+ {
+ return H5E_SETDISALLOWED_g$constants.SEGMENT.get(H5E_SETDISALLOWED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static void H5E_SETDISALLOWED_g(long varValue)
+ {
+ H5E_SETDISALLOWED_g$constants.SEGMENT.set(H5E_SETDISALLOWED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OPENERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OPENERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static OfLong H5E_OPENERROR_g$layout() { return H5E_OPENERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static MemorySegment H5E_OPENERROR_g$segment() { return H5E_OPENERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static long H5E_OPENERROR_g()
+ {
+ return H5E_OPENERROR_g$constants.SEGMENT.get(H5E_OPENERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static void H5E_OPENERROR_g(long varValue)
+ {
+ H5E_OPENERROR_g$constants.SEGMENT.set(H5E_OPENERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ALREADYEXISTS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ALREADYEXISTS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static OfLong H5E_ALREADYEXISTS_g$layout() { return H5E_ALREADYEXISTS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static MemorySegment H5E_ALREADYEXISTS_g$segment()
+ {
+ return H5E_ALREADYEXISTS_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static long H5E_ALREADYEXISTS_g()
+ {
+ return H5E_ALREADYEXISTS_g$constants.SEGMENT.get(H5E_ALREADYEXISTS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static void H5E_ALREADYEXISTS_g(long varValue)
+ {
+ H5E_ALREADYEXISTS_g$constants.SEGMENT.set(H5E_ALREADYEXISTS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTALLOC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTALLOC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static OfLong H5E_CANTALLOC_g$layout() { return H5E_CANTALLOC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTALLOC_g$segment() { return H5E_CANTALLOC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static long H5E_CANTALLOC_g()
+ {
+ return H5E_CANTALLOC_g$constants.SEGMENT.get(H5E_CANTALLOC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static void H5E_CANTALLOC_g(long varValue)
+ {
+ H5E_CANTALLOC_g$constants.SEGMENT.set(H5E_CANTALLOC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOPY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOPY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static OfLong H5E_CANTCOPY_g$layout() { return H5E_CANTCOPY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOPY_g$segment() { return H5E_CANTCOPY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static long H5E_CANTCOPY_g()
+ {
+ return H5E_CANTCOPY_g$constants.SEGMENT.get(H5E_CANTCOPY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static void H5E_CANTCOPY_g(long varValue)
+ {
+ H5E_CANTCOPY_g$constants.SEGMENT.set(H5E_CANTCOPY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFREE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFREE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static OfLong H5E_CANTFREE_g$layout() { return H5E_CANTFREE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFREE_g$segment() { return H5E_CANTFREE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static long H5E_CANTFREE_g()
+ {
+ return H5E_CANTFREE_g$constants.SEGMENT.get(H5E_CANTFREE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static void H5E_CANTFREE_g(long varValue)
+ {
+ H5E_CANTFREE_g$constants.SEGMENT.set(H5E_CANTFREE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static OfLong H5E_CANTGC_g$layout() { return H5E_CANTGC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGC_g$segment() { return H5E_CANTGC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static long H5E_CANTGC_g()
+ {
+ return H5E_CANTGC_g$constants.SEGMENT.get(H5E_CANTGC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static void H5E_CANTGC_g(long varValue)
+ {
+ H5E_CANTGC_g$constants.SEGMENT.set(H5E_CANTGC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGETSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGETSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTGETSIZE_g$layout() { return H5E_CANTGETSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGETSIZE_g$segment() { return H5E_CANTGETSIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static long H5E_CANTGETSIZE_g()
+ {
+ return H5E_CANTGETSIZE_g$constants.SEGMENT.get(H5E_CANTGETSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static void H5E_CANTGETSIZE_g(long varValue)
+ {
+ H5E_CANTGETSIZE_g$constants.SEGMENT.set(H5E_CANTGETSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLOCK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLOCK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static OfLong H5E_CANTLOCK_g$layout() { return H5E_CANTLOCK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLOCK_g$segment() { return H5E_CANTLOCK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static long H5E_CANTLOCK_g()
+ {
+ return H5E_CANTLOCK_g$constants.SEGMENT.get(H5E_CANTLOCK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static void H5E_CANTLOCK_g(long varValue)
+ {
+ H5E_CANTLOCK_g$constants.SEGMENT.set(H5E_CANTLOCK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNLOCK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNLOCK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static OfLong H5E_CANTUNLOCK_g$layout() { return H5E_CANTUNLOCK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNLOCK_g$segment() { return H5E_CANTUNLOCK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static long H5E_CANTUNLOCK_g()
+ {
+ return H5E_CANTUNLOCK_g$constants.SEGMENT.get(H5E_CANTUNLOCK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static void H5E_CANTUNLOCK_g(long varValue)
+ {
+ H5E_CANTUNLOCK_g$constants.SEGMENT.set(H5E_CANTUNLOCK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOSPACE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOSPACE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static OfLong H5E_NOSPACE_g$layout() { return H5E_NOSPACE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static MemorySegment H5E_NOSPACE_g$segment() { return H5E_NOSPACE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static long H5E_NOSPACE_g()
+ {
+ return H5E_NOSPACE_g$constants.SEGMENT.get(H5E_NOSPACE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static void H5E_NOSPACE_g(long varValue)
+ {
+ H5E_NOSPACE_g$constants.SEGMENT.set(H5E_NOSPACE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OBJOPEN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OBJOPEN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static OfLong H5E_OBJOPEN_g$layout() { return H5E_OBJOPEN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static MemorySegment H5E_OBJOPEN_g$segment() { return H5E_OBJOPEN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static long H5E_OBJOPEN_g()
+ {
+ return H5E_OBJOPEN_g$constants.SEGMENT.get(H5E_OBJOPEN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static void H5E_OBJOPEN_g(long varValue)
+ {
+ H5E_OBJOPEN_g$constants.SEGMENT.set(H5E_OBJOPEN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SYSERRSTR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SYSERRSTR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static OfLong H5E_SYSERRSTR_g$layout() { return H5E_SYSERRSTR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static MemorySegment H5E_SYSERRSTR_g$segment() { return H5E_SYSERRSTR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static long H5E_SYSERRSTR_g()
+ {
+ return H5E_SYSERRSTR_g$constants.SEGMENT.get(H5E_SYSERRSTR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static void H5E_SYSERRSTR_g(long varValue)
+ {
+ H5E_SYSERRSTR_g$constants.SEGMENT.set(H5E_SYSERRSTR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static OfLong H5E_BADSIZE_g$layout() { return H5E_BADSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static MemorySegment H5E_BADSIZE_g$segment() { return H5E_BADSIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static long H5E_BADSIZE_g()
+ {
+ return H5E_BADSIZE_g$constants.SEGMENT.get(H5E_BADSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static void H5E_BADSIZE_g(long varValue)
+ {
+ H5E_BADSIZE_g$constants.SEGMENT.set(H5E_BADSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCONVERT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCONVERT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static OfLong H5E_CANTCONVERT_g$layout() { return H5E_CANTCONVERT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCONVERT_g$segment() { return H5E_CANTCONVERT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static long H5E_CANTCONVERT_g()
+ {
+ return H5E_CANTCONVERT_g$constants.SEGMENT.get(H5E_CANTCONVERT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static void H5E_CANTCONVERT_g(long varValue)
+ {
+ H5E_CANTCONVERT_g$constants.SEGMENT.set(H5E_CANTCONVERT_g$constants.LAYOUT, 0L, varValue);
+ }
+ private static final int H5E_WALK_UPWARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_direction_t.H5E_WALK_UPWARD = 0
+ * }
+ */
+ public static int H5E_WALK_UPWARD() { return H5E_WALK_UPWARD; }
+ private static final int H5E_WALK_DOWNWARD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_direction_t.H5E_WALK_DOWNWARD = 1
+ * }
+ */
+ public static int H5E_WALK_DOWNWARD() { return H5E_WALK_DOWNWARD; }
+
+ private static class H5Eregister_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eregister_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static FunctionDescriptor H5Eregister_class$descriptor() { return H5Eregister_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static MethodHandle H5Eregister_class$handle() { return H5Eregister_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static MemorySegment H5Eregister_class$address() { return H5Eregister_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static long H5Eregister_class(MemorySegment cls_name, MemorySegment lib_name,
+ MemorySegment version)
+ {
+ var mh$ = H5Eregister_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eregister_class", cls_name, lib_name, version);
+ }
+ return (long)mh$.invokeExact(cls_name, lib_name, version);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eunregister_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eunregister_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eunregister_class$descriptor() { return H5Eunregister_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static MethodHandle H5Eunregister_class$handle() { return H5Eunregister_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static MemorySegment H5Eunregister_class$address() { return H5Eunregister_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static int H5Eunregister_class(long class_id)
+ {
+ var mh$ = H5Eunregister_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eunregister_class", class_id);
+ }
+ return (int)mh$.invokeExact(class_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eclose_msg {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclose_msg");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eclose_msg$descriptor() { return H5Eclose_msg.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static MethodHandle H5Eclose_msg$handle() { return H5Eclose_msg.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static MemorySegment H5Eclose_msg$address() { return H5Eclose_msg.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static int H5Eclose_msg(long err_id)
+ {
+ var mh$ = H5Eclose_msg.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclose_msg", err_id);
+ }
+ return (int)mh$.invokeExact(err_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ecreate_msg {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ecreate_msg");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static FunctionDescriptor H5Ecreate_msg$descriptor() { return H5Ecreate_msg.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static MethodHandle H5Ecreate_msg$handle() { return H5Ecreate_msg.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static MemorySegment H5Ecreate_msg$address() { return H5Ecreate_msg.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static long H5Ecreate_msg(long cls, int msg_type, MemorySegment msg)
+ {
+ var mh$ = H5Ecreate_msg.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ecreate_msg", cls, msg_type, msg);
+ }
+ return (long)mh$.invokeExact(cls, msg_type, msg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ecreate_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ecreate_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static FunctionDescriptor H5Ecreate_stack$descriptor() { return H5Ecreate_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static MethodHandle H5Ecreate_stack$handle() { return H5Ecreate_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static MemorySegment H5Ecreate_stack$address() { return H5Ecreate_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static long H5Ecreate_stack()
+ {
+ var mh$ = H5Ecreate_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ecreate_stack");
+ }
+ return (long)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_current_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_current_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static FunctionDescriptor H5Eget_current_stack$descriptor() { return H5Eget_current_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static MethodHandle H5Eget_current_stack$handle() { return H5Eget_current_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static MemorySegment H5Eget_current_stack$address() { return H5Eget_current_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static long H5Eget_current_stack()
+ {
+ var mh$ = H5Eget_current_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_current_stack");
+ }
+ return (long)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eappend_stack {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eappend_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static FunctionDescriptor H5Eappend_stack$descriptor() { return H5Eappend_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static MethodHandle H5Eappend_stack$handle() { return H5Eappend_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static MemorySegment H5Eappend_stack$address() { return H5Eappend_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static int H5Eappend_stack(long dst_stack_id, long src_stack_id, boolean close_source_stack)
+ {
+ var mh$ = H5Eappend_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eappend_stack", dst_stack_id, src_stack_id, close_source_stack);
+ }
+ return (int)mh$.invokeExact(dst_stack_id, src_stack_id, close_source_stack);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eis_paused {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eis_paused");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static FunctionDescriptor H5Eis_paused$descriptor() { return H5Eis_paused.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static MethodHandle H5Eis_paused$handle() { return H5Eis_paused.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static MemorySegment H5Eis_paused$address() { return H5Eis_paused.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static int H5Eis_paused(long stack_id, MemorySegment is_paused)
+ {
+ var mh$ = H5Eis_paused.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eis_paused", stack_id, is_paused);
+ }
+ return (int)mh$.invokeExact(stack_id, is_paused);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Epause_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epause_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Epause_stack$descriptor() { return H5Epause_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static MethodHandle H5Epause_stack$handle() { return H5Epause_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static MemorySegment H5Epause_stack$address() { return H5Epause_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static int H5Epause_stack(long stack_id)
+ {
+ var mh$ = H5Epause_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epause_stack", stack_id);
+ }
+ return (int)mh$.invokeExact(stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eresume_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eresume_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eresume_stack$descriptor() { return H5Eresume_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static MethodHandle H5Eresume_stack$handle() { return H5Eresume_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static MemorySegment H5Eresume_stack$address() { return H5Eresume_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static int H5Eresume_stack(long stack_id)
+ {
+ var mh$ = H5Eresume_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eresume_stack", stack_id);
+ }
+ return (int)mh$.invokeExact(stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eclose_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclose_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eclose_stack$descriptor() { return H5Eclose_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static MethodHandle H5Eclose_stack$handle() { return H5Eclose_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static MemorySegment H5Eclose_stack$address() { return H5Eclose_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static int H5Eclose_stack(long stack_id)
+ {
+ var mh$ = H5Eclose_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclose_stack", stack_id);
+ }
+ return (int)mh$.invokeExact(stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_class_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_class_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_class_name$descriptor() { return H5Eget_class_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Eget_class_name$handle() { return H5Eget_class_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Eget_class_name$address() { return H5Eget_class_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static long H5Eget_class_name(long class_id, MemorySegment name, long size)
+ {
+ var mh$ = H5Eget_class_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_class_name", class_id, name, size);
+ }
+ return (long)mh$.invokeExact(class_id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eset_current_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eset_current_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eset_current_stack$descriptor() { return H5Eset_current_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static MethodHandle H5Eset_current_stack$handle() { return H5Eset_current_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static MemorySegment H5Eset_current_stack$address() { return H5Eset_current_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static int H5Eset_current_stack(long err_stack_id)
+ {
+ var mh$ = H5Eset_current_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eset_current_stack", err_stack_id);
+ }
+ return (int)mh$.invokeExact(err_stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * herr_t H5Epush2(hid_t err_stack, const char *file, const char *func, unsigned int line, hid_t cls_id,
+ * hid_t maj_id, hid_t min_id, const char *msg, ...)
+ * }
+ */
+ public static class H5Epush2 {
+ private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epush2");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private H5Epush2(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * herr_t H5Epush2(hid_t err_stack, const char *file, const char *func, unsigned int line, hid_t
+ * cls_id, hid_t maj_id, hid_t min_id, const char *msg, ...)
+ * }
+ */
+ public static H5Epush2 makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new H5Epush2(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(long err_stack, MemorySegment file, MemorySegment func, int line, long cls_id,
+ long maj_id, long min_id, MemorySegment msg, Object... x8)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epush2", err_stack, file, func, line, cls_id, maj_id, min_id, msg, x8);
+ }
+ return (int)spreader.invokeExact(err_stack, file, func, line, cls_id, maj_id, min_id, msg,
+ x8);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class H5Epop {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epop");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static FunctionDescriptor H5Epop$descriptor() { return H5Epop.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static MethodHandle H5Epop$handle() { return H5Epop.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static MemorySegment H5Epop$address() { return H5Epop.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static int H5Epop(long err_stack, long count)
+ {
+ var mh$ = H5Epop.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epop", err_stack, count);
+ }
+ return (int)mh$.invokeExact(err_stack, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eprint2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eprint2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static FunctionDescriptor H5Eprint2$descriptor() { return H5Eprint2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static MethodHandle H5Eprint2$handle() { return H5Eprint2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static MemorySegment H5Eprint2$address() { return H5Eprint2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static int H5Eprint2(long err_stack, MemorySegment stream)
+ {
+ var mh$ = H5Eprint2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eprint2", err_stack, stream);
+ }
+ return (int)mh$.invokeExact(err_stack, stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ewalk2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ewalk2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Ewalk2$descriptor() { return H5Ewalk2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Ewalk2$handle() { return H5Ewalk2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Ewalk2$address() { return H5Ewalk2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static int H5Ewalk2(long err_stack, int direction, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Ewalk2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ewalk2", err_stack, direction, func, client_data);
+ }
+ return (int)mh$.invokeExact(err_stack, direction, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_auto2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_auto2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_auto2$descriptor() { return H5Eget_auto2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static MethodHandle H5Eget_auto2$handle() { return H5Eget_auto2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static MemorySegment H5Eget_auto2$address() { return H5Eget_auto2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static int H5Eget_auto2(long estack_id, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eget_auto2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_auto2", estack_id, func, client_data);
+ }
+ return (int)mh$.invokeExact(estack_id, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eset_auto2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eset_auto2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eset_auto2$descriptor() { return H5Eset_auto2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Eset_auto2$handle() { return H5Eset_auto2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Eset_auto2$address() { return H5Eset_auto2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static int H5Eset_auto2(long estack_id, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eset_auto2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eset_auto2", estack_id, func, client_data);
+ }
+ return (int)mh$.invokeExact(estack_id, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eclear2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclear2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static FunctionDescriptor H5Eclear2$descriptor() { return H5Eclear2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static MethodHandle H5Eclear2$handle() { return H5Eclear2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static MemorySegment H5Eclear2$address() { return H5Eclear2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static int H5Eclear2(long err_stack)
+ {
+ var mh$ = H5Eclear2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclear2", err_stack);
+ }
+ return (int)mh$.invokeExact(err_stack);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eauto_is_v2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eauto_is_v2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static FunctionDescriptor H5Eauto_is_v2$descriptor() { return H5Eauto_is_v2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static MethodHandle H5Eauto_is_v2$handle() { return H5Eauto_is_v2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static MemorySegment H5Eauto_is_v2$address() { return H5Eauto_is_v2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static int H5Eauto_is_v2(long err_stack, MemorySegment is_stack)
+ {
+ var mh$ = H5Eauto_is_v2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eauto_is_v2", err_stack, is_stack);
+ }
+ return (int)mh$.invokeExact(err_stack, is_stack);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_msg {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_msg");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_msg$descriptor() { return H5Eget_msg.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static MethodHandle H5Eget_msg$handle() { return H5Eget_msg.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static MemorySegment H5Eget_msg$address() { return H5Eget_msg.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static long H5Eget_msg(long msg_id, MemorySegment type, MemorySegment msg, long size)
+ {
+ var mh$ = H5Eget_msg.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_msg", msg_id, type, msg, size);
+ }
+ return (long)mh$.invokeExact(msg_id, type, msg, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_num {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_num");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_num$descriptor() { return H5Eget_num.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static MethodHandle H5Eget_num$handle() { return H5Eget_num.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static MemorySegment H5Eget_num$address() { return H5Eget_num.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static long H5Eget_num(long error_stack_id)
+ {
+ var mh$ = H5Eget_num.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_num", error_stack_id);
+ }
+ return (long)mh$.invokeExact(error_stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef hid_t H5E_major_t
+ * }
+ */
+ public static final OfLong H5E_major_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef hid_t H5E_minor_t
+ * }
+ */
+ public static final OfLong H5E_minor_t = hdf5_h.C_LONG_LONG;
+
+ private static class H5Eclear1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclear1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static FunctionDescriptor H5Eclear1$descriptor() { return H5Eclear1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static MethodHandle H5Eclear1$handle() { return H5Eclear1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static MemorySegment H5Eclear1$address() { return H5Eclear1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static int H5Eclear1()
+ {
+ var mh$ = H5Eclear1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclear1");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_auto1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_auto1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_auto1$descriptor() { return H5Eget_auto1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static MethodHandle H5Eget_auto1$handle() { return H5Eget_auto1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static MemorySegment H5Eget_auto1$address() { return H5Eget_auto1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static int H5Eget_auto1(MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eget_auto1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_auto1", func, client_data);
+ }
+ return (int)mh$.invokeExact(func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Epush1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epush1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static FunctionDescriptor H5Epush1$descriptor() { return H5Epush1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static MethodHandle H5Epush1$handle() { return H5Epush1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static MemorySegment H5Epush1$address() { return H5Epush1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static int H5Epush1(MemorySegment file, MemorySegment func, int line, long maj, long min,
+ MemorySegment str)
+ {
+ var mh$ = H5Epush1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epush1", file, func, line, maj, min, str);
+ }
+ return (int)mh$.invokeExact(file, func, line, maj, min, str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eprint1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eprint1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static FunctionDescriptor H5Eprint1$descriptor() { return H5Eprint1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static MethodHandle H5Eprint1$handle() { return H5Eprint1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static MemorySegment H5Eprint1$address() { return H5Eprint1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static int H5Eprint1(MemorySegment stream)
+ {
+ var mh$ = H5Eprint1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eprint1", stream);
+ }
+ return (int)mh$.invokeExact(stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eset_auto1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eset_auto1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eset_auto1$descriptor() { return H5Eset_auto1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Eset_auto1$handle() { return H5Eset_auto1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Eset_auto1$address() { return H5Eset_auto1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static int H5Eset_auto1(MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eset_auto1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eset_auto1", func, client_data);
+ }
+ return (int)mh$.invokeExact(func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ewalk1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ewalk1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Ewalk1$descriptor() { return H5Ewalk1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Ewalk1$handle() { return H5Ewalk1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Ewalk1$address() { return H5Ewalk1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static int H5Ewalk1(int direction, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Ewalk1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ewalk1", direction, func, client_data);
+ }
+ return (int)mh$.invokeExact(direction, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_major {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_major");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_major$descriptor() { return H5Eget_major.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static MethodHandle H5Eget_major$handle() { return H5Eget_major.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static MemorySegment H5Eget_major$address() { return H5Eget_major.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static MemorySegment H5Eget_major(long maj)
+ {
+ var mh$ = H5Eget_major.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_major", maj);
+ }
+ return (MemorySegment)mh$.invokeExact(maj);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_minor {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_minor");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_minor$descriptor() { return H5Eget_minor.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static MethodHandle H5Eget_minor$handle() { return H5Eget_minor.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static MemorySegment H5Eget_minor$address() { return H5Eget_minor.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static MemorySegment H5Eget_minor(long min)
+ {
+ var mh$ = H5Eget_minor.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_minor", min);
+ }
+ return (MemorySegment)mh$.invokeExact(min);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5ES_STATUS_IN_PROGRESS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_IN_PROGRESS = 0
+ * }
+ */
+ public static int H5ES_STATUS_IN_PROGRESS() { return H5ES_STATUS_IN_PROGRESS; }
+ private static final int H5ES_STATUS_SUCCEED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_SUCCEED = 1
+ * }
+ */
+ public static int H5ES_STATUS_SUCCEED() { return H5ES_STATUS_SUCCEED; }
+ private static final int H5ES_STATUS_CANCELED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_CANCELED = 2
+ * }
+ */
+ public static int H5ES_STATUS_CANCELED() { return H5ES_STATUS_CANCELED; }
+ private static final int H5ES_STATUS_FAIL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_FAIL = 3
+ * }
+ */
+ public static int H5ES_STATUS_FAIL() { return H5ES_STATUS_FAIL; }
+
+ private static class H5EScreate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5EScreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static FunctionDescriptor H5EScreate$descriptor() { return H5EScreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static MethodHandle H5EScreate$handle() { return H5EScreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static MemorySegment H5EScreate$address() { return H5EScreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static long H5EScreate()
+ {
+ var mh$ = H5EScreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5EScreate");
+ }
+ return (long)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESwait {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESwait");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static FunctionDescriptor H5ESwait$descriptor() { return H5ESwait.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static MethodHandle H5ESwait$handle() { return H5ESwait.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static MemorySegment H5ESwait$address() { return H5ESwait.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static int H5ESwait(long es_id, long timeout, MemorySegment num_in_progress,
+ MemorySegment err_occurred)
+ {
+ var mh$ = H5ESwait.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESwait", es_id, timeout, num_in_progress, err_occurred);
+ }
+ return (int)mh$.invokeExact(es_id, timeout, num_in_progress, err_occurred);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5EScancel {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5EScancel");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static FunctionDescriptor H5EScancel$descriptor() { return H5EScancel.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static MethodHandle H5EScancel$handle() { return H5EScancel.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static MemorySegment H5EScancel$address() { return H5EScancel.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static int H5EScancel(long es_id, MemorySegment num_not_canceled, MemorySegment err_occurred)
+ {
+ var mh$ = H5EScancel.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5EScancel", es_id, num_not_canceled, err_occurred);
+ }
+ return (int)mh$.invokeExact(es_id, num_not_canceled, err_occurred);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_count$descriptor() { return H5ESget_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static MethodHandle H5ESget_count$handle() { return H5ESget_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static MemorySegment H5ESget_count$address() { return H5ESget_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static int H5ESget_count(long es_id, MemorySegment count)
+ {
+ var mh$ = H5ESget_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_count", es_id, count);
+ }
+ return (int)mh$.invokeExact(es_id, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_op_counter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_op_counter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_op_counter$descriptor() { return H5ESget_op_counter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static MethodHandle H5ESget_op_counter$handle() { return H5ESget_op_counter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static MemorySegment H5ESget_op_counter$address() { return H5ESget_op_counter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static int H5ESget_op_counter(long es_id, MemorySegment counter)
+ {
+ var mh$ = H5ESget_op_counter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_op_counter", es_id, counter);
+ }
+ return (int)mh$.invokeExact(es_id, counter);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_err_status {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_err_status");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_err_status$descriptor() { return H5ESget_err_status.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static MethodHandle H5ESget_err_status$handle() { return H5ESget_err_status.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static MemorySegment H5ESget_err_status$address() { return H5ESget_err_status.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static int H5ESget_err_status(long es_id, MemorySegment err_occurred)
+ {
+ var mh$ = H5ESget_err_status.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_err_status", es_id, err_occurred);
+ }
+ return (int)mh$.invokeExact(es_id, err_occurred);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_err_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_err_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_err_count$descriptor() { return H5ESget_err_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static MethodHandle H5ESget_err_count$handle() { return H5ESget_err_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static MemorySegment H5ESget_err_count$address() { return H5ESget_err_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static int H5ESget_err_count(long es_id, MemorySegment num_errs)
+ {
+ var mh$ = H5ESget_err_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_err_count", es_id, num_errs);
+ }
+ return (int)mh$.invokeExact(es_id, num_errs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_err_info {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_err_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_err_info$descriptor() { return H5ESget_err_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static MethodHandle H5ESget_err_info$handle() { return H5ESget_err_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static MemorySegment H5ESget_err_info$address() { return H5ESget_err_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static int H5ESget_err_info(long es_id, long num_err_info, MemorySegment err_info,
+ MemorySegment err_cleared)
+ {
+ var mh$ = H5ESget_err_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_err_info", es_id, num_err_info, err_info, err_cleared);
+ }
+ return (int)mh$.invokeExact(es_id, num_err_info, err_info, err_cleared);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESfree_err_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESfree_err_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static FunctionDescriptor H5ESfree_err_info$descriptor() { return H5ESfree_err_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static MethodHandle H5ESfree_err_info$handle() { return H5ESfree_err_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static MemorySegment H5ESfree_err_info$address() { return H5ESfree_err_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static int H5ESfree_err_info(long num_err_info, MemorySegment err_info)
+ {
+ var mh$ = H5ESfree_err_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESfree_err_info", num_err_info, err_info);
+ }
+ return (int)mh$.invokeExact(num_err_info, err_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESregister_insert_func {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESregister_insert_func");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5ESregister_insert_func$descriptor()
+ {
+ return H5ESregister_insert_func.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static MethodHandle H5ESregister_insert_func$handle() { return H5ESregister_insert_func.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static MemorySegment H5ESregister_insert_func$address() { return H5ESregister_insert_func.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static int H5ESregister_insert_func(long es_id, MemorySegment func, MemorySegment ctx)
+ {
+ var mh$ = H5ESregister_insert_func.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESregister_insert_func", es_id, func, ctx);
+ }
+ return (int)mh$.invokeExact(es_id, func, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESregister_complete_func {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESregister_complete_func");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5ESregister_complete_func$descriptor()
+ {
+ return H5ESregister_complete_func.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static MethodHandle H5ESregister_complete_func$handle()
+ {
+ return H5ESregister_complete_func.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static MemorySegment H5ESregister_complete_func$address()
+ {
+ return H5ESregister_complete_func.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static int H5ESregister_complete_func(long es_id, MemorySegment func, MemorySegment ctx)
+ {
+ var mh$ = H5ESregister_complete_func.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESregister_complete_func", es_id, func, ctx);
+ }
+ return (int)mh$.invokeExact(es_id, func, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5ESclose$descriptor() { return H5ESclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5ESclose$handle() { return H5ESclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5ESclose$address() { return H5ESclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static int H5ESclose(long es_id)
+ {
+ var mh$ = H5ESclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESclose", es_id);
+ }
+ return (int)mh$.invokeExact(es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5F_SCOPE_LOCAL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_scope_t.H5F_SCOPE_LOCAL = 0
+ * }
+ */
+ public static int H5F_SCOPE_LOCAL() { return H5F_SCOPE_LOCAL; }
+ private static final int H5F_SCOPE_GLOBAL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_scope_t.H5F_SCOPE_GLOBAL = 1
+ * }
+ */
+ public static int H5F_SCOPE_GLOBAL() { return H5F_SCOPE_GLOBAL; }
+ private static final int H5F_CLOSE_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_DEFAULT = 0
+ * }
+ */
+ public static int H5F_CLOSE_DEFAULT() { return H5F_CLOSE_DEFAULT; }
+ private static final int H5F_CLOSE_WEAK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_WEAK = 1
+ * }
+ */
+ public static int H5F_CLOSE_WEAK() { return H5F_CLOSE_WEAK; }
+ private static final int H5F_CLOSE_SEMI = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_SEMI = 2
+ * }
+ */
+ public static int H5F_CLOSE_SEMI() { return H5F_CLOSE_SEMI; }
+ private static final int H5F_CLOSE_STRONG = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_STRONG = 3
+ * }
+ */
+ public static int H5F_CLOSE_STRONG() { return H5F_CLOSE_STRONG; }
+ private static final int H5FD_MEM_NOLIST = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_NOLIST = -1
+ * }
+ */
+ public static int H5FD_MEM_NOLIST() { return H5FD_MEM_NOLIST; }
+ private static final int H5FD_MEM_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_DEFAULT = 0
+ * }
+ */
+ public static int H5FD_MEM_DEFAULT() { return H5FD_MEM_DEFAULT; }
+ private static final int H5FD_MEM_SUPER = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_SUPER = 1
+ * }
+ */
+ public static int H5FD_MEM_SUPER() { return H5FD_MEM_SUPER; }
+ private static final int H5FD_MEM_BTREE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_BTREE = 2
+ * }
+ */
+ public static int H5FD_MEM_BTREE() { return H5FD_MEM_BTREE; }
+ private static final int H5FD_MEM_DRAW = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_DRAW = 3
+ * }
+ */
+ public static int H5FD_MEM_DRAW() { return H5FD_MEM_DRAW; }
+ private static final int H5FD_MEM_GHEAP = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_GHEAP = 4
+ * }
+ */
+ public static int H5FD_MEM_GHEAP() { return H5FD_MEM_GHEAP; }
+ private static final int H5FD_MEM_LHEAP = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_LHEAP = 5
+ * }
+ */
+ public static int H5FD_MEM_LHEAP() { return H5FD_MEM_LHEAP; }
+ private static final int H5FD_MEM_OHDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_OHDR = 6
+ * }
+ */
+ public static int H5FD_MEM_OHDR() { return H5FD_MEM_OHDR; }
+ private static final int H5FD_MEM_NTYPES = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_NTYPES = 7
+ * }
+ */
+ public static int H5FD_MEM_NTYPES() { return H5FD_MEM_NTYPES; }
+ private static final int H5F_LIBVER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_ERROR = -1
+ * }
+ */
+ public static int H5F_LIBVER_ERROR() { return H5F_LIBVER_ERROR; }
+ private static final int H5F_LIBVER_EARLIEST = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_EARLIEST = 0
+ * }
+ */
+ public static int H5F_LIBVER_EARLIEST() { return H5F_LIBVER_EARLIEST; }
+ private static final int H5F_LIBVER_V18 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V18 = 1
+ * }
+ */
+ public static int H5F_LIBVER_V18() { return H5F_LIBVER_V18; }
+ private static final int H5F_LIBVER_V110 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V110 = 2
+ * }
+ */
+ public static int H5F_LIBVER_V110() { return H5F_LIBVER_V110; }
+ private static final int H5F_LIBVER_V112 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V112 = 3
+ * }
+ */
+ public static int H5F_LIBVER_V112() { return H5F_LIBVER_V112; }
+ private static final int H5F_LIBVER_V114 = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V114 = 4
+ * }
+ */
+ public static int H5F_LIBVER_V114() { return H5F_LIBVER_V114; }
+ private static final int H5F_LIBVER_V200 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V200 = 5
+ * }
+ */
+ public static int H5F_LIBVER_V200() { return H5F_LIBVER_V200; }
+ private static final int H5F_LIBVER_LATEST = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_LATEST = 5
+ * }
+ */
+ public static int H5F_LIBVER_LATEST() { return H5F_LIBVER_LATEST; }
+ private static final int H5F_LIBVER_NBOUNDS = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_NBOUNDS = 6
+ * }
+ */
+ public static int H5F_LIBVER_NBOUNDS() { return H5F_LIBVER_NBOUNDS; }
+ private static final int H5F_FSPACE_STRATEGY_FSM_AGGR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_FSM_AGGR = 0
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_FSM_AGGR() { return H5F_FSPACE_STRATEGY_FSM_AGGR; }
+ private static final int H5F_FSPACE_STRATEGY_PAGE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_PAGE = 1
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_PAGE() { return H5F_FSPACE_STRATEGY_PAGE; }
+ private static final int H5F_FSPACE_STRATEGY_AGGR = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_AGGR = 2
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_AGGR() { return H5F_FSPACE_STRATEGY_AGGR; }
+ private static final int H5F_FSPACE_STRATEGY_NONE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_NONE = 3
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_NONE() { return H5F_FSPACE_STRATEGY_NONE; }
+ private static final int H5F_FSPACE_STRATEGY_NTYPES = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_NTYPES = 4
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_NTYPES() { return H5F_FSPACE_STRATEGY_NTYPES; }
+ private static final int H5F_FILE_SPACE_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_DEFAULT = 0
+ * }
+ */
+ public static int H5F_FILE_SPACE_DEFAULT() { return H5F_FILE_SPACE_DEFAULT; }
+ private static final int H5F_FILE_SPACE_ALL_PERSIST = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_ALL_PERSIST = 1
+ * }
+ */
+ public static int H5F_FILE_SPACE_ALL_PERSIST() { return H5F_FILE_SPACE_ALL_PERSIST; }
+ private static final int H5F_FILE_SPACE_ALL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_ALL = 2
+ * }
+ */
+ public static int H5F_FILE_SPACE_ALL() { return H5F_FILE_SPACE_ALL; }
+ private static final int H5F_FILE_SPACE_AGGR_VFD = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_AGGR_VFD = 3
+ * }
+ */
+ public static int H5F_FILE_SPACE_AGGR_VFD() { return H5F_FILE_SPACE_AGGR_VFD; }
+ private static final int H5F_FILE_SPACE_VFD = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_VFD = 4
+ * }
+ */
+ public static int H5F_FILE_SPACE_VFD() { return H5F_FILE_SPACE_VFD; }
+ private static final int H5F_FILE_SPACE_NTYPES = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_NTYPES = 5
+ * }
+ */
+ public static int H5F_FILE_SPACE_NTYPES() { return H5F_FILE_SPACE_NTYPES; }
+
+ private static class H5Fis_accessible {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fis_accessible");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fis_accessible$descriptor() { return H5Fis_accessible.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fis_accessible$handle() { return H5Fis_accessible.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fis_accessible$address() { return H5Fis_accessible.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static int H5Fis_accessible(MemorySegment container_name, long fapl_id)
+ {
+ var mh$ = H5Fis_accessible.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fis_accessible", container_name, fapl_id);
+ }
+ return (int)mh$.invokeExact(container_name, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fcreate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fcreate$descriptor() { return H5Fcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fcreate$handle() { return H5Fcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fcreate$address() { return H5Fcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static long H5Fcreate(MemorySegment filename, int flags, long fcpl_id, long fapl_id)
+ {
+ var mh$ = H5Fcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fcreate", filename, flags, fcpl_id, fapl_id);
+ }
+ return (long)mh$.invokeExact(filename, flags, fcpl_id, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fcreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fcreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fcreate_async$descriptor() { return H5Fcreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fcreate_async$handle() { return H5Fcreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fcreate_async$address() { return H5Fcreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Fcreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment filename, int flags, long fcpl_id, long fapl_id,
+ long es_id)
+ {
+ var mh$ = H5Fcreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fcreate_async", app_file, app_func, app_line, filename, flags, fcpl_id,
+ fapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, filename, flags, fcpl_id, fapl_id,
+ es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fopen$descriptor() { return H5Fopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fopen$handle() { return H5Fopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fopen$address() { return H5Fopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static long H5Fopen(MemorySegment filename, int flags, long fapl_id)
+ {
+ var mh$ = H5Fopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fopen", filename, flags, fapl_id);
+ }
+ return (long)mh$.invokeExact(filename, flags, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fopen_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fopen_async$descriptor() { return H5Fopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fopen_async$handle() { return H5Fopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fopen_async$address() { return H5Fopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static long H5Fopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment filename, int flags, long access_plist, long es_id)
+ {
+ var mh$ = H5Fopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fopen_async", app_file, app_func, app_line, filename, flags, access_plist,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, filename, flags, access_plist, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freopen$descriptor() { return H5Freopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Freopen$handle() { return H5Freopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Freopen$address() { return H5Freopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static long H5Freopen(long file_id)
+ {
+ var mh$ = H5Freopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freopen", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freopen_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freopen_async$descriptor() { return H5Freopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Freopen_async$handle() { return H5Freopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Freopen_async$address() { return H5Freopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static long H5Freopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long file_id, long es_id)
+ {
+ var mh$ = H5Freopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freopen_async", app_file, app_func, app_line, file_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, file_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fflush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static FunctionDescriptor H5Fflush$descriptor() { return H5Fflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static MethodHandle H5Fflush$handle() { return H5Fflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static MemorySegment H5Fflush$address() { return H5Fflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static int H5Fflush(long object_id, int scope)
+ {
+ var mh$ = H5Fflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fflush", object_id, scope);
+ }
+ return (int)mh$.invokeExact(object_id, scope);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fflush_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fflush_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fflush_async$descriptor() { return H5Fflush_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fflush_async$handle() { return H5Fflush_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fflush_async$address() { return H5Fflush_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static int H5Fflush_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long object_id, int scope, long es_id)
+ {
+ var mh$ = H5Fflush_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fflush_async", app_file, app_func, app_line, object_id, scope, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, object_id, scope, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fclose$descriptor() { return H5Fclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fclose$handle() { return H5Fclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fclose$address() { return H5Fclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static int H5Fclose(long file_id)
+ {
+ var mh$ = H5Fclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fclose", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fclose_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fclose_async$descriptor() { return H5Fclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fclose_async$handle() { return H5Fclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fclose_async$address() { return H5Fclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Fclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long file_id, long es_id)
+ {
+ var mh$ = H5Fclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fclose_async", app_file, app_func, app_line, file_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, file_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fdelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fdelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fdelete$descriptor() { return H5Fdelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fdelete$handle() { return H5Fdelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fdelete$address() { return H5Fdelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static int H5Fdelete(MemorySegment filename, long fapl_id)
+ {
+ var mh$ = H5Fdelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fdelete", filename, fapl_id);
+ }
+ return (int)mh$.invokeExact(filename, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_create_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_create_plist$descriptor() { return H5Fget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fget_create_plist$handle() { return H5Fget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fget_create_plist$address() { return H5Fget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static long H5Fget_create_plist(long file_id)
+ {
+ var mh$ = H5Fget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_create_plist", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_access_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_access_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_access_plist$descriptor() { return H5Fget_access_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fget_access_plist$handle() { return H5Fget_access_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fget_access_plist$address() { return H5Fget_access_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static long H5Fget_access_plist(long file_id)
+ {
+ var mh$ = H5Fget_access_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_access_plist", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_intent {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_intent");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_intent$descriptor() { return H5Fget_intent.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static MethodHandle H5Fget_intent$handle() { return H5Fget_intent.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static MemorySegment H5Fget_intent$address() { return H5Fget_intent.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static int H5Fget_intent(long file_id, MemorySegment intent)
+ {
+ var mh$ = H5Fget_intent.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_intent", file_id, intent);
+ }
+ return (int)mh$.invokeExact(file_id, intent);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_fileno {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_fileno");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_fileno$descriptor() { return H5Fget_fileno.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static MethodHandle H5Fget_fileno$handle() { return H5Fget_fileno.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static MemorySegment H5Fget_fileno$address() { return H5Fget_fileno.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static int H5Fget_fileno(long file_id, MemorySegment fileno)
+ {
+ var mh$ = H5Fget_fileno.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_fileno", file_id, fileno);
+ }
+ return (int)mh$.invokeExact(file_id, fileno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_obj_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_obj_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_obj_count$descriptor() { return H5Fget_obj_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static MethodHandle H5Fget_obj_count$handle() { return H5Fget_obj_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static MemorySegment H5Fget_obj_count$address() { return H5Fget_obj_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static long H5Fget_obj_count(long file_id, int types)
+ {
+ var mh$ = H5Fget_obj_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_obj_count", file_id, types);
+ }
+ return (long)mh$.invokeExact(file_id, types);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_obj_ids {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_obj_ids");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_obj_ids$descriptor() { return H5Fget_obj_ids.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static MethodHandle H5Fget_obj_ids$handle() { return H5Fget_obj_ids.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static MemorySegment H5Fget_obj_ids$address() { return H5Fget_obj_ids.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static long H5Fget_obj_ids(long file_id, int types, long max_objs, MemorySegment obj_id_list)
+ {
+ var mh$ = H5Fget_obj_ids.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_obj_ids", file_id, types, max_objs, obj_id_list);
+ }
+ return (long)mh$.invokeExact(file_id, types, max_objs, obj_id_list);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_vfd_handle {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_vfd_handle");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_vfd_handle$descriptor() { return H5Fget_vfd_handle.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MethodHandle H5Fget_vfd_handle$handle() { return H5Fget_vfd_handle.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MemorySegment H5Fget_vfd_handle$address() { return H5Fget_vfd_handle.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static int H5Fget_vfd_handle(long file_id, long fapl, MemorySegment file_handle)
+ {
+ var mh$ = H5Fget_vfd_handle.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_vfd_handle", file_id, fapl, file_handle);
+ }
+ return (int)mh$.invokeExact(file_id, fapl, file_handle);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fmount {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fmount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static FunctionDescriptor H5Fmount$descriptor() { return H5Fmount.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static MethodHandle H5Fmount$handle() { return H5Fmount.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static MemorySegment H5Fmount$address() { return H5Fmount.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static int H5Fmount(long loc_id, MemorySegment name, long child, long plist)
+ {
+ var mh$ = H5Fmount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fmount", loc_id, name, child, plist);
+ }
+ return (int)mh$.invokeExact(loc_id, name, child, plist);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Funmount {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Funmount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Funmount$descriptor() { return H5Funmount.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Funmount$handle() { return H5Funmount.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Funmount$address() { return H5Funmount.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static int H5Funmount(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Funmount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Funmount", loc_id, name);
+ }
+ return (int)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_freespace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_freespace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_freespace$descriptor() { return H5Fget_freespace.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fget_freespace$handle() { return H5Fget_freespace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fget_freespace$address() { return H5Fget_freespace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static long H5Fget_freespace(long file_id)
+ {
+ var mh$ = H5Fget_freespace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_freespace", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_filesize {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_filesize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_filesize$descriptor() { return H5Fget_filesize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Fget_filesize$handle() { return H5Fget_filesize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Fget_filesize$address() { return H5Fget_filesize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static int H5Fget_filesize(long file_id, MemorySegment size)
+ {
+ var mh$ = H5Fget_filesize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_filesize", file_id, size);
+ }
+ return (int)mh$.invokeExact(file_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_eoa {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_eoa");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_eoa$descriptor() { return H5Fget_eoa.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static MethodHandle H5Fget_eoa$handle() { return H5Fget_eoa.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static MemorySegment H5Fget_eoa$address() { return H5Fget_eoa.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static int H5Fget_eoa(long file_id, MemorySegment eoa)
+ {
+ var mh$ = H5Fget_eoa.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_eoa", file_id, eoa);
+ }
+ return (int)mh$.invokeExact(file_id, eoa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fincrement_filesize {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fincrement_filesize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static FunctionDescriptor H5Fincrement_filesize$descriptor() { return H5Fincrement_filesize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static MethodHandle H5Fincrement_filesize$handle() { return H5Fincrement_filesize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static MemorySegment H5Fincrement_filesize$address() { return H5Fincrement_filesize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static int H5Fincrement_filesize(long file_id, long increment)
+ {
+ var mh$ = H5Fincrement_filesize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fincrement_filesize", file_id, increment);
+ }
+ return (int)mh$.invokeExact(file_id, increment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_file_image {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_file_image");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_file_image$descriptor() { return H5Fget_file_image.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MethodHandle H5Fget_file_image$handle() { return H5Fget_file_image.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MemorySegment H5Fget_file_image$address() { return H5Fget_file_image.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static long H5Fget_file_image(long file_id, MemorySegment buf_ptr, long buf_len)
+ {
+ var mh$ = H5Fget_file_image.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_file_image", file_id, buf_ptr, buf_len);
+ }
+ return (long)mh$.invokeExact(file_id, buf_ptr, buf_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_config$descriptor() { return H5Fget_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_config$handle() { return H5Fget_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_config$address() { return H5Fget_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Fget_mdc_config(long file_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Fget_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_config", file_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_mdc_config$descriptor() { return H5Fset_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Fset_mdc_config$handle() { return H5Fset_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Fset_mdc_config$address() { return H5Fset_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Fset_mdc_config(long file_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Fset_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_mdc_config", file_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_hit_rate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_hit_rate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_hit_rate$descriptor() { return H5Fget_mdc_hit_rate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_hit_rate$handle() { return H5Fget_mdc_hit_rate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_hit_rate$address() { return H5Fget_mdc_hit_rate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static int H5Fget_mdc_hit_rate(long file_id, MemorySegment hit_rate_ptr)
+ {
+ var mh$ = H5Fget_mdc_hit_rate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_hit_rate", file_id, hit_rate_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, hit_rate_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_size$descriptor() { return H5Fget_mdc_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_size$handle() { return H5Fget_mdc_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_size$address() { return H5Fget_mdc_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static int H5Fget_mdc_size(long file_id, MemorySegment max_size_ptr,
+ MemorySegment min_clean_size_ptr, MemorySegment cur_size_ptr,
+ MemorySegment cur_num_entries_ptr)
+ {
+ var mh$ = H5Fget_mdc_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_size", file_id, max_size_ptr, min_clean_size_ptr, cur_size_ptr,
+ cur_num_entries_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, max_size_ptr, min_clean_size_ptr, cur_size_ptr,
+ cur_num_entries_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freset_mdc_hit_rate_stats {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freset_mdc_hit_rate_stats");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freset_mdc_hit_rate_stats$descriptor()
+ {
+ return H5Freset_mdc_hit_rate_stats.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Freset_mdc_hit_rate_stats$handle()
+ {
+ return H5Freset_mdc_hit_rate_stats.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Freset_mdc_hit_rate_stats$address()
+ {
+ return H5Freset_mdc_hit_rate_stats.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static int H5Freset_mdc_hit_rate_stats(long file_id)
+ {
+ var mh$ = H5Freset_mdc_hit_rate_stats.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freset_mdc_hit_rate_stats", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_name$descriptor() { return H5Fget_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Fget_name$handle() { return H5Fget_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Fget_name$address() { return H5Fget_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static long H5Fget_name(long obj_id, MemorySegment name, long size)
+ {
+ var mh$ = H5Fget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_name", obj_id, name, size);
+ }
+ return (long)mh$.invokeExact(obj_id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_info2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_info2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_info2$descriptor() { return H5Fget_info2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static MethodHandle H5Fget_info2$handle() { return H5Fget_info2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static MemorySegment H5Fget_info2$address() { return H5Fget_info2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static int H5Fget_info2(long obj_id, MemorySegment file_info)
+ {
+ var mh$ = H5Fget_info2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_info2", obj_id, file_info);
+ }
+ return (int)mh$.invokeExact(obj_id, file_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_metadata_read_retry_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_metadata_read_retry_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_metadata_read_retry_info$descriptor()
+ {
+ return H5Fget_metadata_read_retry_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static MethodHandle H5Fget_metadata_read_retry_info$handle()
+ {
+ return H5Fget_metadata_read_retry_info.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static MemorySegment H5Fget_metadata_read_retry_info$address()
+ {
+ return H5Fget_metadata_read_retry_info.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static int H5Fget_metadata_read_retry_info(long file_id, MemorySegment info)
+ {
+ var mh$ = H5Fget_metadata_read_retry_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_metadata_read_retry_info", file_id, info);
+ }
+ return (int)mh$.invokeExact(file_id, info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fstart_swmr_write {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fstart_swmr_write");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fstart_swmr_write$descriptor() { return H5Fstart_swmr_write.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fstart_swmr_write$handle() { return H5Fstart_swmr_write.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fstart_swmr_write$address() { return H5Fstart_swmr_write.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static int H5Fstart_swmr_write(long file_id)
+ {
+ var mh$ = H5Fstart_swmr_write.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fstart_swmr_write", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_free_sections {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_free_sections");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_free_sections$descriptor() { return H5Fget_free_sections.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static MethodHandle H5Fget_free_sections$handle() { return H5Fget_free_sections.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static MemorySegment H5Fget_free_sections$address() { return H5Fget_free_sections.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static long H5Fget_free_sections(long file_id, int type, long nsects, MemorySegment sect_info)
+ {
+ var mh$ = H5Fget_free_sections.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_free_sections", file_id, type, nsects, sect_info);
+ }
+ return (long)mh$.invokeExact(file_id, type, nsects, sect_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fclear_elink_file_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fclear_elink_file_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fclear_elink_file_cache$descriptor()
+ {
+ return H5Fclear_elink_file_cache.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fclear_elink_file_cache$handle() { return H5Fclear_elink_file_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fclear_elink_file_cache$address() { return H5Fclear_elink_file_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static int H5Fclear_elink_file_cache(long file_id)
+ {
+ var mh$ = H5Fclear_elink_file_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fclear_elink_file_cache", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_libver_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_libver_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_libver_bounds$descriptor() { return H5Fset_libver_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MethodHandle H5Fset_libver_bounds$handle() { return H5Fset_libver_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MemorySegment H5Fset_libver_bounds$address() { return H5Fset_libver_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static int H5Fset_libver_bounds(long file_id, int low, int high)
+ {
+ var mh$ = H5Fset_libver_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_libver_bounds", file_id, low, high);
+ }
+ return (int)mh$.invokeExact(file_id, low, high);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fstart_mdc_logging {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fstart_mdc_logging");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fstart_mdc_logging$descriptor() { return H5Fstart_mdc_logging.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fstart_mdc_logging$handle() { return H5Fstart_mdc_logging.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fstart_mdc_logging$address() { return H5Fstart_mdc_logging.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static int H5Fstart_mdc_logging(long file_id)
+ {
+ var mh$ = H5Fstart_mdc_logging.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fstart_mdc_logging", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fstop_mdc_logging {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fstop_mdc_logging");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fstop_mdc_logging$descriptor() { return H5Fstop_mdc_logging.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fstop_mdc_logging$handle() { return H5Fstop_mdc_logging.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fstop_mdc_logging$address() { return H5Fstop_mdc_logging.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static int H5Fstop_mdc_logging(long file_id)
+ {
+ var mh$ = H5Fstop_mdc_logging.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fstop_mdc_logging", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_logging_status {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_logging_status");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_logging_status$descriptor()
+ {
+ return H5Fget_mdc_logging_status.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_logging_status$handle() { return H5Fget_mdc_logging_status.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_logging_status$address() { return H5Fget_mdc_logging_status.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static int H5Fget_mdc_logging_status(long file_id, MemorySegment is_enabled,
+ MemorySegment is_currently_logging)
+ {
+ var mh$ = H5Fget_mdc_logging_status.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_logging_status", file_id, is_enabled, is_currently_logging);
+ }
+ return (int)mh$.invokeExact(file_id, is_enabled, is_currently_logging);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freset_page_buffering_stats {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freset_page_buffering_stats");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freset_page_buffering_stats$descriptor()
+ {
+ return H5Freset_page_buffering_stats.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Freset_page_buffering_stats$handle()
+ {
+ return H5Freset_page_buffering_stats.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Freset_page_buffering_stats$address()
+ {
+ return H5Freset_page_buffering_stats.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static int H5Freset_page_buffering_stats(long file_id)
+ {
+ var mh$ = H5Freset_page_buffering_stats.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freset_page_buffering_stats", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_page_buffering_stats {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_page_buffering_stats");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static FunctionDescriptor H5Fget_page_buffering_stats$descriptor()
+ {
+ return H5Fget_page_buffering_stats.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static MethodHandle H5Fget_page_buffering_stats$handle()
+ {
+ return H5Fget_page_buffering_stats.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static MemorySegment H5Fget_page_buffering_stats$address()
+ {
+ return H5Fget_page_buffering_stats.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static int H5Fget_page_buffering_stats(long file_id, MemorySegment accesses, MemorySegment hits,
+ MemorySegment misses, MemorySegment evictions,
+ MemorySegment bypasses)
+ {
+ var mh$ = H5Fget_page_buffering_stats.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_page_buffering_stats", file_id, accesses, hits, misses, evictions,
+ bypasses);
+ }
+ return (int)mh$.invokeExact(file_id, accesses, hits, misses, evictions, bypasses);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_image_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_image_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_image_info$descriptor() { return H5Fget_mdc_image_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_image_info$handle() { return H5Fget_mdc_image_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_image_info$address() { return H5Fget_mdc_image_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static int H5Fget_mdc_image_info(long file_id, MemorySegment image_addr, MemorySegment image_size)
+ {
+ var mh$ = H5Fget_mdc_image_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_image_info", file_id, image_addr, image_size);
+ }
+ return (int)mh$.invokeExact(file_id, image_addr, image_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_dset_no_attrs_hint$descriptor()
+ {
+ return H5Fget_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static MethodHandle H5Fget_dset_no_attrs_hint$handle() { return H5Fget_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static MemorySegment H5Fget_dset_no_attrs_hint$address() { return H5Fget_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static int H5Fget_dset_no_attrs_hint(long file_id, MemorySegment minimize)
+ {
+ var mh$ = H5Fget_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_dset_no_attrs_hint", file_id, minimize);
+ }
+ return (int)mh$.invokeExact(file_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_dset_no_attrs_hint$descriptor()
+ {
+ return H5Fset_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static MethodHandle H5Fset_dset_no_attrs_hint$handle() { return H5Fset_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static MemorySegment H5Fset_dset_no_attrs_hint$address() { return H5Fset_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static int H5Fset_dset_no_attrs_hint(long file_id, boolean minimize)
+ {
+ var mh$ = H5Fset_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_dset_no_attrs_hint", file_id, minimize);
+ }
+ return (int)mh$.invokeExact(file_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fformat_convert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fformat_convert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static FunctionDescriptor H5Fformat_convert$descriptor() { return H5Fformat_convert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static MethodHandle H5Fformat_convert$handle() { return H5Fformat_convert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static MemorySegment H5Fformat_convert$address() { return H5Fformat_convert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static int H5Fformat_convert(long fid)
+ {
+ var mh$ = H5Fformat_convert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fformat_convert", fid);
+ }
+ return (int)mh$.invokeExact(fid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_info1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_info1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_info1$descriptor() { return H5Fget_info1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static MethodHandle H5Fget_info1$handle() { return H5Fget_info1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static MemorySegment H5Fget_info1$address() { return H5Fget_info1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static int H5Fget_info1(long obj_id, MemorySegment file_info)
+ {
+ var mh$ = H5Fget_info1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_info1", obj_id, file_info);
+ }
+ return (int)mh$.invokeExact(obj_id, file_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_latest_format {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_latest_format");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_latest_format$descriptor() { return H5Fset_latest_format.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static MethodHandle H5Fset_latest_format$handle() { return H5Fset_latest_format.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static MemorySegment H5Fset_latest_format$address() { return H5Fset_latest_format.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static int H5Fset_latest_format(long file_id, boolean latest_format)
+ {
+ var mh$ = H5Fset_latest_format.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_latest_format", file_id, latest_format);
+ }
+ return (int)mh$.invokeExact(file_id, latest_format);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fis_hdf5 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fis_hdf5");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static FunctionDescriptor H5Fis_hdf5$descriptor() { return H5Fis_hdf5.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static MethodHandle H5Fis_hdf5$handle() { return H5Fis_hdf5.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static MemorySegment H5Fis_hdf5$address() { return H5Fis_hdf5.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static int H5Fis_hdf5(MemorySegment file_name)
+ {
+ var mh$ = H5Fis_hdf5.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fis_hdf5", file_name);
+ }
+ return (int)mh$.invokeExact(file_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5FD_class_value_t
+ * }
+ */
+ public static final OfInt H5FD_class_value_t = hdf5_h.C_INT;
+ private static final int H5FD_FILE_IMAGE_OP_NO_OP = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_NO_OP = 0
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_NO_OP() { return H5FD_FILE_IMAGE_OP_NO_OP; }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET = 1
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET() { return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET; }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY = 2
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY()
+ {
+ return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY;
+ }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET = 3
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET() { return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET; }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE = 4
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE()
+ {
+ return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE;
+ }
+ private static final int H5FD_FILE_IMAGE_OP_FILE_OPEN = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_FILE_OPEN = 5
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_FILE_OPEN() { return H5FD_FILE_IMAGE_OP_FILE_OPEN; }
+ private static final int H5FD_FILE_IMAGE_OP_FILE_RESIZE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_FILE_RESIZE = 6
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_FILE_RESIZE() { return H5FD_FILE_IMAGE_OP_FILE_RESIZE; }
+ private static final int H5FD_FILE_IMAGE_OP_FILE_CLOSE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_FILE_CLOSE = 7
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_FILE_CLOSE() { return H5FD_FILE_IMAGE_OP_FILE_CLOSE; }
+
+ private static class H5FDdriver_query {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDdriver_query");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static FunctionDescriptor H5FDdriver_query$descriptor() { return H5FDdriver_query.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static MethodHandle H5FDdriver_query$handle() { return H5FDdriver_query.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static MemorySegment H5FDdriver_query$address() { return H5FDdriver_query.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static int H5FDdriver_query(long driver_id, MemorySegment flags)
+ {
+ var mh$ = H5FDdriver_query.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDdriver_query", driver_id, flags);
+ }
+ return (int)mh$.invokeExact(driver_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5L_TYPE_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_ERROR = -1
+ * }
+ */
+ public static int H5L_TYPE_ERROR() { return H5L_TYPE_ERROR; }
+ private static final int H5L_TYPE_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_HARD = 0
+ * }
+ */
+ public static int H5L_TYPE_HARD() { return H5L_TYPE_HARD; }
+ private static final int H5L_TYPE_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_SOFT = 1
+ * }
+ */
+ public static int H5L_TYPE_SOFT() { return H5L_TYPE_SOFT; }
+ private static final int H5L_TYPE_EXTERNAL = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_EXTERNAL = 64
+ * }
+ */
+ public static int H5L_TYPE_EXTERNAL() { return H5L_TYPE_EXTERNAL; }
+ private static final int H5L_TYPE_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_MAX = 255
+ * }
+ */
+ public static int H5L_TYPE_MAX() { return H5L_TYPE_MAX; }
+
+ private static class H5Lmove {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lmove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lmove$descriptor() { return H5Lmove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lmove$handle() { return H5Lmove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lmove$address() { return H5Lmove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Lmove(long src_loc, MemorySegment src_name, long dst_loc, MemorySegment dst_name,
+ long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lmove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lmove", src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcopy$descriptor() { return H5Lcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcopy$handle() { return H5Lcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcopy$address() { return H5Lcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcopy(long src_loc, MemorySegment src_name, long dst_loc, MemorySegment dst_name,
+ long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcopy", src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_hard {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_hard");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_hard$descriptor() { return H5Lcreate_hard.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_hard$handle() { return H5Lcreate_hard.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_hard$address() { return H5Lcreate_hard.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_hard(long cur_loc, MemorySegment cur_name, long dst_loc,
+ MemorySegment dst_name, long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_hard.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_hard", cur_loc, cur_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(cur_loc, cur_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_hard_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_hard_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_hard_async$descriptor() { return H5Lcreate_hard_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_hard_async$handle() { return H5Lcreate_hard_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_hard_async$address() { return H5Lcreate_hard_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Lcreate_hard_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long cur_loc_id, MemorySegment cur_name, long new_loc_id,
+ MemorySegment new_name, long lcpl_id, long lapl_id, long es_id)
+ {
+ var mh$ = H5Lcreate_hard_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_hard_async", app_file, app_func, app_line, cur_loc_id, cur_name,
+ new_loc_id, new_name, lcpl_id, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, cur_loc_id, cur_name, new_loc_id,
+ new_name, lcpl_id, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_soft {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_soft");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_soft$descriptor() { return H5Lcreate_soft.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_soft$handle() { return H5Lcreate_soft.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_soft$address() { return H5Lcreate_soft.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_soft(MemorySegment link_target, long link_loc_id, MemorySegment link_name,
+ long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_soft.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_soft", link_target, link_loc_id, link_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(link_target, link_loc_id, link_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_soft_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_soft_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_soft_async$descriptor() { return H5Lcreate_soft_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_soft_async$handle() { return H5Lcreate_soft_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_soft_async$address() { return H5Lcreate_soft_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Lcreate_soft_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment link_target, long link_loc_id,
+ MemorySegment link_name, long lcpl_id, long lapl_id, long es_id)
+ {
+ var mh$ = H5Lcreate_soft_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_soft_async", app_file, app_func, app_line, link_target, link_loc_id,
+ link_name, lcpl_id, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, link_target, link_loc_id, link_name,
+ lcpl_id, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete$descriptor() { return H5Ldelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete$handle() { return H5Ldelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete$address() { return H5Ldelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ldelete(long loc_id, MemorySegment name, long lapl_id)
+ {
+ var mh$ = H5Ldelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete", loc_id, name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete_async$descriptor() { return H5Ldelete_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete_async$handle() { return H5Ldelete_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete_async$address() { return H5Ldelete_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Ldelete_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lapl_id, long es_id)
+ {
+ var mh$ = H5Ldelete_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete_async", app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete_by_idx$descriptor() { return H5Ldelete_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete_by_idx$handle() { return H5Ldelete_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete_by_idx$address() { return H5Ldelete_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ldelete_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order, long n,
+ long lapl_id)
+ {
+ var mh$ = H5Ldelete_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete_by_idx", loc_id, group_name, idx_type, order, n, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete_by_idx_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete_by_idx_async$descriptor()
+ {
+ return H5Ldelete_by_idx_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete_by_idx_async$handle() { return H5Ldelete_by_idx_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete_by_idx_async$address() { return H5Ldelete_by_idx_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Ldelete_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, long lapl_id, long es_id)
+ {
+ var mh$ = H5Ldelete_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete_by_idx_async", app_file, app_func, app_line, loc_id, group_name,
+ idx_type, order, n, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, group_name, idx_type, order, n,
+ lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_val {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_val");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_val$descriptor() { return H5Lget_val.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_val$handle() { return H5Lget_val.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_val$address() { return H5Lget_val.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_val(long loc_id, MemorySegment name, MemorySegment buf, long size, long lapl_id)
+ {
+ var mh$ = H5Lget_val.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_val", loc_id, name, buf, size, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, buf, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_val_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_val_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_val_by_idx$descriptor() { return H5Lget_val_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_val_by_idx$handle() { return H5Lget_val_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_val_by_idx$address() { return H5Lget_val_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_val_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment buf, long size, long lapl_id)
+ {
+ var mh$ = H5Lget_val_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_val_by_idx", loc_id, group_name, idx_type, order, n, buf, size,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, buf, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lexists {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lexists");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lexists$descriptor() { return H5Lexists.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lexists$handle() { return H5Lexists.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lexists$address() { return H5Lexists.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lexists(long loc_id, MemorySegment name, long lapl_id)
+ {
+ var mh$ = H5Lexists.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lexists", loc_id, name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lexists_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lexists_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lexists_async$descriptor() { return H5Lexists_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Lexists_async$handle() { return H5Lexists_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Lexists_async$address() { return H5Lexists_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Lexists_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, MemorySegment exists, long lapl_id,
+ long es_id)
+ {
+ var mh$ = H5Lexists_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lexists_async", app_file, app_func, app_line, loc_id, name, exists, lapl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, exists, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info2$descriptor() { return H5Lget_info2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info2$handle() { return H5Lget_info2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info2$address() { return H5Lget_info2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info2(long loc_id, MemorySegment name, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info2", loc_id, name, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+}
diff --git a/java/jsrc/features/plain/macos/hdf5_h_3.java b/java/jsrc/features/plain/macos/hdf5_h_3.java
new file mode 100644
index 00000000000..87333197a62
--- /dev/null
+++ b/java/jsrc/features/plain/macos/hdf5_h_3.java
@@ -0,0 +1,9119 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h_3 {
+
+ hdf5_h_3()
+ {
+ // Should not be called directly
+ }
+
+ static final Arena LIBRARY_ARENA = Arena.ofAuto();
+ static final boolean TRACE_DOWNCALLS = Boolean.getBoolean("jextract.trace.downcalls");
+
+ static void traceDowncall(String name, Object... args)
+ {
+ String traceArgs = Arrays.stream(args).map(Object::toString).collect(Collectors.joining(", "));
+ System.out.printf("%s(%s)\n", name, traceArgs);
+ }
+
+ static MemorySegment findOrThrow(String symbol)
+ {
+ return SYMBOL_LOOKUP.find(symbol).orElseThrow(
+ () -> new UnsatisfiedLinkError("unresolved symbol: " + symbol));
+ }
+
+ static MethodHandle upcallHandle(Class> fi, String name, FunctionDescriptor fdesc)
+ {
+ try {
+ return MethodHandles.lookup().findVirtual(fi, name, fdesc.toMethodType());
+ }
+ catch (ReflectiveOperationException ex) {
+ throw new AssertionError(ex);
+ }
+ }
+
+ static MemoryLayout align(MemoryLayout layout, long align)
+ {
+ return switch (layout)
+ {
+ case PaddingLayout p -> p; case ValueLayout v -> v.withByteAlignment(align);
+ case GroupLayout g
+ -> { MemoryLayout[] alignedMembers =
+ g.memberLayouts().stream().map(m -> align(m, align)).toArray(MemoryLayout[] ::new);
+ yield g instanceof StructLayout ? MemoryLayout.structLayout(alignedMembers):
+ MemoryLayout.unionLayout(alignedMembers);
+ }
+ case SequenceLayout s -> MemoryLayout.sequenceLayout(s.elementCount(), align(s.elementLayout(), align));
+ };
+ }
+
+ static final SymbolLookup SYMBOL_LOOKUP = SymbolLookup.libraryLookup(System.mapLibraryName("hdf5"), LIBRARY_ARENA)
+ .or(SymbolLookup.loaderLookup())
+ .or(Linker.nativeLinker().defaultLookup());
+
+ public static final ValueLayout.OfBoolean C_BOOL = ValueLayout.JAVA_BOOLEAN;
+ public static final ValueLayout.OfByte C_CHAR = ValueLayout.JAVA_BYTE;
+ public static final ValueLayout.OfShort C_SHORT = ValueLayout.JAVA_SHORT;
+ public static final ValueLayout.OfInt C_INT = ValueLayout.JAVA_INT;
+ public static final ValueLayout.OfLong C_LONG_LONG = ValueLayout.JAVA_LONG;
+ public static final ValueLayout.OfFloat C_FLOAT = ValueLayout.JAVA_FLOAT;
+ public static final ValueLayout.OfDouble C_DOUBLE = ValueLayout.JAVA_DOUBLE;
+ public static final AddressLayout C_POINTER = ValueLayout.ADDRESS
+ .withTargetLayout(MemoryLayout.sequenceLayout(java.lang.Long.MAX_VALUE, JAVA_BYTE));
+ public static final ValueLayout.OfLong C_LONG = ValueLayout.JAVA_LONG;
+ private static final int H5_HAVE_ALARM = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_ALARM 1
+ * }
+ */
+ public static int H5_HAVE_ALARM() {
+ return H5_HAVE_ALARM;
+ }
+ private static final int H5_HAVE_ARPA_INET_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_ARPA_INET_H 1
+ * }
+ */
+ public static int H5_HAVE_ARPA_INET_H() {
+ return H5_HAVE_ARPA_INET_H;
+ }
+ private static final int H5_HAVE_ASPRINTF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_ASPRINTF 1
+ * }
+ */
+ public static int H5_HAVE_ASPRINTF() {
+ return H5_HAVE_ASPRINTF;
+ }
+ private static final int H5_HAVE_ATTRIBUTE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_ATTRIBUTE 1
+ * }
+ */
+ public static int H5_HAVE_ATTRIBUTE() {
+ return H5_HAVE_ATTRIBUTE;
+ }
+ private static final int H5_HAVE_C99_COMPLEX_NUMBERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_C99_COMPLEX_NUMBERS 1
+ * }
+ */
+ public static int H5_HAVE_C99_COMPLEX_NUMBERS() {
+ return H5_HAVE_C99_COMPLEX_NUMBERS;
+ }
+ private static final int H5_HAVE_CLOCK_GETTIME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_CLOCK_GETTIME 1
+ * }
+ */
+ public static int H5_HAVE_CLOCK_GETTIME() {
+ return H5_HAVE_CLOCK_GETTIME;
+ }
+ private static final int H5_HAVE_COMPLEX_NUMBERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_COMPLEX_NUMBERS 1
+ * }
+ */
+ public static int H5_HAVE_COMPLEX_NUMBERS() {
+ return H5_HAVE_COMPLEX_NUMBERS;
+ }
+ private static final int H5_HAVE_DARWIN = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_DARWIN 1
+ * }
+ */
+ public static int H5_HAVE_DARWIN() {
+ return H5_HAVE_DARWIN;
+ }
+ private static final int H5_HAVE_DIRENT_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_DIRENT_H 1
+ * }
+ */
+ public static int H5_HAVE_DIRENT_H() {
+ return H5_HAVE_DIRENT_H;
+ }
+ private static final int H5_HAVE_DLFCN_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_DLFCN_H 1
+ * }
+ */
+ public static int H5_HAVE_DLFCN_H() {
+ return H5_HAVE_DLFCN_H;
+ }
+ private static final int H5_HAVE_EMBEDDED_LIBINFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_EMBEDDED_LIBINFO 1
+ * }
+ */
+ public static int H5_HAVE_EMBEDDED_LIBINFO() {
+ return H5_HAVE_EMBEDDED_LIBINFO;
+ }
+ private static final int H5_HAVE_FCNTL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_FCNTL 1
+ * }
+ */
+ public static int H5_HAVE_FCNTL() {
+ return H5_HAVE_FCNTL;
+ }
+ private static final int H5_HAVE__FLOAT16 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE__FLOAT16 1
+ * }
+ */
+ public static int H5_HAVE__FLOAT16() {
+ return H5_HAVE__FLOAT16;
+ }
+ private static final int H5_HAVE_FLOCK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_FLOCK 1
+ * }
+ */
+ public static int H5_HAVE_FLOCK() {
+ return H5_HAVE_FLOCK;
+ }
+ private static final int H5_HAVE_FORK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_FORK 1
+ * }
+ */
+ public static int H5_HAVE_FORK() {
+ return H5_HAVE_FORK;
+ }
+ private static final int H5_HAVE_GETHOSTNAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_GETHOSTNAME 1
+ * }
+ */
+ public static int H5_HAVE_GETHOSTNAME() {
+ return H5_HAVE_GETHOSTNAME;
+ }
+ private static final int H5_HAVE_GETRUSAGE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_GETRUSAGE 1
+ * }
+ */
+ public static int H5_HAVE_GETRUSAGE() {
+ return H5_HAVE_GETRUSAGE;
+ }
+ private static final int H5_HAVE_GETTIMEOFDAY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_GETTIMEOFDAY 1
+ * }
+ */
+ public static int H5_HAVE_GETTIMEOFDAY() {
+ return H5_HAVE_GETTIMEOFDAY;
+ }
+ private static final int H5_HAVE_IOCTL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_IOCTL 1
+ * }
+ */
+ public static int H5_HAVE_IOCTL() {
+ return H5_HAVE_IOCTL;
+ }
+ private static final int H5_HAVE_LIBDL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_LIBDL 1
+ * }
+ */
+ public static int H5_HAVE_LIBDL() {
+ return H5_HAVE_LIBDL;
+ }
+ private static final int H5_HAVE_LIBM = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_LIBM 1
+ * }
+ */
+ public static int H5_HAVE_LIBM() {
+ return H5_HAVE_LIBM;
+ }
+ private static final int H5_HAVE_NETDB_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_NETDB_H 1
+ * }
+ */
+ public static int H5_HAVE_NETDB_H() {
+ return H5_HAVE_NETDB_H;
+ }
+ private static final int H5_HAVE_NETINET_IN_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_NETINET_IN_H 1
+ * }
+ */
+ public static int H5_HAVE_NETINET_IN_H() {
+ return H5_HAVE_NETINET_IN_H;
+ }
+ private static final int H5_HAVE_PREADWRITE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_PREADWRITE 1
+ * }
+ */
+ public static int H5_HAVE_PREADWRITE() {
+ return H5_HAVE_PREADWRITE;
+ }
+ private static final int H5_HAVE_PTHREAD_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_PTHREAD_H 1
+ * }
+ */
+ public static int H5_HAVE_PTHREAD_H() {
+ return H5_HAVE_PTHREAD_H;
+ }
+ private static final int H5_HAVE_PWD_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_PWD_H 1
+ * }
+ */
+ public static int H5_HAVE_PWD_H() {
+ return H5_HAVE_PWD_H;
+ }
+ private static final int H5_HAVE_STAT_ST_BLOCKS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_STAT_ST_BLOCKS 1
+ * }
+ */
+ public static int H5_HAVE_STAT_ST_BLOCKS() {
+ return H5_HAVE_STAT_ST_BLOCKS;
+ }
+ private static final int H5_HAVE_STRCASESTR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_STRCASESTR 1
+ * }
+ */
+ public static int H5_HAVE_STRCASESTR() {
+ return H5_HAVE_STRCASESTR;
+ }
+ private static final int H5_HAVE_STRDUP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_STRDUP 1
+ * }
+ */
+ public static int H5_HAVE_STRDUP() {
+ return H5_HAVE_STRDUP;
+ }
+ private static final int H5_HAVE_STDATOMIC_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_STDATOMIC_H 1
+ * }
+ */
+ public static int H5_HAVE_STDATOMIC_H() {
+ return H5_HAVE_STDATOMIC_H;
+ }
+ private static final int H5_HAVE_SYMLINK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYMLINK 1
+ * }
+ */
+ public static int H5_HAVE_SYMLINK() {
+ return H5_HAVE_SYMLINK;
+ }
+ private static final int H5_HAVE_SYS_FILE_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_FILE_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_FILE_H() {
+ return H5_HAVE_SYS_FILE_H;
+ }
+ private static final int H5_HAVE_SYS_IOCTL_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_IOCTL_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_IOCTL_H() {
+ return H5_HAVE_SYS_IOCTL_H;
+ }
+ private static final int H5_HAVE_SYS_RESOURCE_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_RESOURCE_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_RESOURCE_H() {
+ return H5_HAVE_SYS_RESOURCE_H;
+ }
+ private static final int H5_HAVE_SYS_SOCKET_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_SOCKET_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_SOCKET_H() {
+ return H5_HAVE_SYS_SOCKET_H;
+ }
+ private static final int H5_HAVE_SYS_STAT_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_STAT_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_STAT_H() {
+ return H5_HAVE_SYS_STAT_H;
+ }
+ private static final int H5_HAVE_SYS_TIME_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_TIME_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_TIME_H() {
+ return H5_HAVE_SYS_TIME_H;
+ }
+ private static final int H5_HAVE_THREADS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_THREADS 1
+ * }
+ */
+ public static int H5_HAVE_THREADS() {
+ return H5_HAVE_THREADS;
+ }
+ private static final int H5_HAVE_TIMEZONE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TIMEZONE 1
+ * }
+ */
+ public static int H5_HAVE_TIMEZONE() {
+ return H5_HAVE_TIMEZONE;
+ }
+ private static final int H5_HAVE_TIOCGETD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TIOCGETD 1
+ * }
+ */
+ public static int H5_HAVE_TIOCGETD() {
+ return H5_HAVE_TIOCGETD;
+ }
+ private static final int H5_HAVE_TIOCGWINSZ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TIOCGWINSZ 1
+ * }
+ */
+ public static int H5_HAVE_TIOCGWINSZ() {
+ return H5_HAVE_TIOCGWINSZ;
+ }
+ private static final int H5_HAVE_TMPFILE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TMPFILE 1
+ * }
+ */
+ public static int H5_HAVE_TMPFILE() {
+ return H5_HAVE_TMPFILE;
+ }
+ private static final int H5_HAVE_TM_GMTOFF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TM_GMTOFF 1
+ * }
+ */
+ public static int H5_HAVE_TM_GMTOFF() {
+ return H5_HAVE_TM_GMTOFF;
+ }
+ private static final int H5_HAVE_UNISTD_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_UNISTD_H 1
+ * }
+ */
+ public static int H5_HAVE_UNISTD_H() {
+ return H5_HAVE_UNISTD_H;
+ }
+ private static final int H5_HAVE_VASPRINTF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_VASPRINTF 1
+ * }
+ */
+ public static int H5_HAVE_VASPRINTF() {
+ return H5_HAVE_VASPRINTF;
+ }
+ private static final int H5_HAVE_WAITPID = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_WAITPID 1
+ * }
+ */
+ public static int H5_HAVE_WAITPID() {
+ return H5_HAVE_WAITPID;
+ }
+ private static final int H5_IGNORE_DISABLED_FILE_LOCKS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_IGNORE_DISABLED_FILE_LOCKS 1
+ * }
+ */
+ public static int H5_IGNORE_DISABLED_FILE_LOCKS() {
+ return H5_IGNORE_DISABLED_FILE_LOCKS;
+ }
+ private static final int H5_INCLUDE_HL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_INCLUDE_HL 1
+ * }
+ */
+ public static int H5_INCLUDE_HL() {
+ return H5_INCLUDE_HL;
+ }
+ private static final int H5_LDOUBLE_TO_FLOAT16_CORRECT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_LDOUBLE_TO_FLOAT16_CORRECT 1
+ * }
+ */
+ public static int H5_LDOUBLE_TO_FLOAT16_CORRECT() {
+ return H5_LDOUBLE_TO_FLOAT16_CORRECT;
+ }
+ private static final int H5_LDOUBLE_TO_LLONG_ACCURATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_LDOUBLE_TO_LLONG_ACCURATE 1
+ * }
+ */
+ public static int H5_LDOUBLE_TO_LLONG_ACCURATE() {
+ return H5_LDOUBLE_TO_LLONG_ACCURATE;
+ }
+ private static final int H5_LLONG_TO_LDOUBLE_CORRECT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_LLONG_TO_LDOUBLE_CORRECT 1
+ * }
+ */
+ public static int H5_LLONG_TO_LDOUBLE_CORRECT() {
+ return H5_LLONG_TO_LDOUBLE_CORRECT;
+ }
+ private static final int H5_SIZEOF_BOOL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_BOOL 1
+ * }
+ */
+ public static int H5_SIZEOF_BOOL() {
+ return H5_SIZEOF_BOOL;
+ }
+ private static final int H5_SIZEOF_CHAR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_CHAR 1
+ * }
+ */
+ public static int H5_SIZEOF_CHAR() {
+ return H5_SIZEOF_CHAR;
+ }
+ private static final int H5_SIZEOF_DOUBLE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_DOUBLE 8
+ * }
+ */
+ public static int H5_SIZEOF_DOUBLE() {
+ return H5_SIZEOF_DOUBLE;
+ }
+ private static final int H5_SIZEOF_DOUBLE_COMPLEX = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_DOUBLE_COMPLEX 16
+ * }
+ */
+ public static int H5_SIZEOF_DOUBLE_COMPLEX() {
+ return H5_SIZEOF_DOUBLE_COMPLEX;
+ }
+ private static final int H5_SIZEOF_FLOAT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_FLOAT 4
+ * }
+ */
+ public static int H5_SIZEOF_FLOAT() {
+ return H5_SIZEOF_FLOAT;
+ }
+ private static final int H5_SIZEOF_FLOAT_COMPLEX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_FLOAT_COMPLEX 8
+ * }
+ */
+ public static int H5_SIZEOF_FLOAT_COMPLEX() {
+ return H5_SIZEOF_FLOAT_COMPLEX;
+ }
+ private static final int H5_SIZEOF_INT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT 4
+ * }
+ */
+ public static int H5_SIZEOF_INT() {
+ return H5_SIZEOF_INT;
+ }
+ private static final int H5_SIZEOF_INT16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_INT16_T() {
+ return H5_SIZEOF_INT16_T;
+ }
+ private static final int H5_SIZEOF_INT32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_INT32_T() {
+ return H5_SIZEOF_INT32_T;
+ }
+ private static final int H5_SIZEOF_INT64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT64_T() {
+ return H5_SIZEOF_INT64_T;
+ }
+ private static final int H5_SIZEOF_INT8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_INT8_T() {
+ return H5_SIZEOF_INT8_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST16_T() {
+ return H5_SIZEOF_INT_FAST16_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST32_T() {
+ return H5_SIZEOF_INT_FAST32_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST64_T() {
+ return H5_SIZEOF_INT_FAST64_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST8_T() {
+ return H5_SIZEOF_INT_FAST8_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST16_T() {
+ return H5_SIZEOF_INT_LEAST16_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST32_T() {
+ return H5_SIZEOF_INT_LEAST32_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST64_T() {
+ return H5_SIZEOF_INT_LEAST64_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST8_T() {
+ return H5_SIZEOF_INT_LEAST8_T;
+ }
+ private static final int H5_SIZEOF_LONG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG 8
+ * }
+ */
+ public static int H5_SIZEOF_LONG() {
+ return H5_SIZEOF_LONG;
+ }
+ private static final int H5_SIZEOF_SIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_SIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_SIZE_T() {
+ return H5_SIZEOF_SIZE_T;
+ }
+ private static final int H5_SIZEOF_SSIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_SSIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_SSIZE_T() {
+ return H5_SIZEOF_SSIZE_T;
+ }
+ private static final int H5_SIZEOF_LONG_DOUBLE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG_DOUBLE 16
+ * }
+ */
+ public static int H5_SIZEOF_LONG_DOUBLE() {
+ return H5_SIZEOF_LONG_DOUBLE;
+ }
+ private static final int H5_SIZEOF_LONG_DOUBLE_COMPLEX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG_DOUBLE_COMPLEX 32
+ * }
+ */
+ public static int H5_SIZEOF_LONG_DOUBLE_COMPLEX() {
+ return H5_SIZEOF_LONG_DOUBLE_COMPLEX;
+ }
+ private static final int H5_SIZEOF_LONG_LONG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG_LONG 8
+ * }
+ */
+ public static int H5_SIZEOF_LONG_LONG() {
+ return H5_SIZEOF_LONG_LONG;
+ }
+ private static final int H5_SIZEOF_OFF_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_OFF_T 8
+ * }
+ */
+ public static int H5_SIZEOF_OFF_T() {
+ return H5_SIZEOF_OFF_T;
+ }
+ private static final int H5_SIZEOF_PTRDIFF_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_PTRDIFF_T 8
+ * }
+ */
+ public static int H5_SIZEOF_PTRDIFF_T() {
+ return H5_SIZEOF_PTRDIFF_T;
+ }
+ private static final int H5_SIZEOF_SHORT = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_SHORT 2
+ * }
+ */
+ public static int H5_SIZEOF_SHORT() {
+ return H5_SIZEOF_SHORT;
+ }
+ private static final int H5_SIZEOF_TIME_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_TIME_T 8
+ * }
+ */
+ public static int H5_SIZEOF_TIME_T() {
+ return H5_SIZEOF_TIME_T;
+ }
+ private static final int H5_SIZEOF_UINT16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_UINT16_T() {
+ return H5_SIZEOF_UINT16_T;
+ }
+ private static final int H5_SIZEOF_UINT32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_UINT32_T() {
+ return H5_SIZEOF_UINT32_T;
+ }
+ private static final int H5_SIZEOF_UINT64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT64_T() {
+ return H5_SIZEOF_UINT64_T;
+ }
+ private static final int H5_SIZEOF_UINT8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_UINT8_T() {
+ return H5_SIZEOF_UINT8_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST16_T() {
+ return H5_SIZEOF_UINT_FAST16_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST32_T() {
+ return H5_SIZEOF_UINT_FAST32_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST64_T() {
+ return H5_SIZEOF_UINT_FAST64_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST8_T() {
+ return H5_SIZEOF_UINT_FAST8_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST16_T() {
+ return H5_SIZEOF_UINT_LEAST16_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST32_T() {
+ return H5_SIZEOF_UINT_LEAST32_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST64_T() {
+ return H5_SIZEOF_UINT_LEAST64_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST8_T() {
+ return H5_SIZEOF_UINT_LEAST8_T;
+ }
+ private static final int H5_SIZEOF_UNSIGNED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UNSIGNED 4
+ * }
+ */
+ public static int H5_SIZEOF_UNSIGNED() {
+ return H5_SIZEOF_UNSIGNED;
+ }
+ private static final int H5_SIZEOF__FLOAT16 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF__FLOAT16 2
+ * }
+ */
+ public static int H5_SIZEOF__FLOAT16() {
+ return H5_SIZEOF__FLOAT16;
+ }
+ private static final int H5_USE_FILE_LOCKING = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_USE_FILE_LOCKING 1
+ * }
+ */
+ public static int H5_USE_FILE_LOCKING() {
+ return H5_USE_FILE_LOCKING;
+ }
+ private static final int H5_WANT_DATA_ACCURACY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_WANT_DATA_ACCURACY 1
+ * }
+ */
+ public static int H5_WANT_DATA_ACCURACY() {
+ return H5_WANT_DATA_ACCURACY;
+ }
+ private static final int H5_WANT_DCONV_EXCEPTION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_WANT_DCONV_EXCEPTION 1
+ * }
+ */
+ public static int H5_WANT_DCONV_EXCEPTION() {
+ return H5_WANT_DCONV_EXCEPTION;
+ }
+ private static final int H5Acreate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Acreate_vers 2
+ * }
+ */
+ public static int H5Acreate_vers() {
+ return H5Acreate_vers;
+ }
+ private static final int H5Aiterate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Aiterate_vers 2
+ * }
+ */
+ public static int H5Aiterate_vers() {
+ return H5Aiterate_vers;
+ }
+ private static final int H5Dcreate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Dcreate_vers 2
+ * }
+ */
+ public static int H5Dcreate_vers() {
+ return H5Dcreate_vers;
+ }
+ private static final int H5Dopen_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Dopen_vers 2
+ * }
+ */
+ public static int H5Dopen_vers() {
+ return H5Dopen_vers;
+ }
+ private static final int H5Dread_chunk_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Dread_chunk_vers 2
+ * }
+ */
+ public static int H5Dread_chunk_vers() {
+ return H5Dread_chunk_vers;
+ }
+ private static final int H5Eclear_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eclear_vers 2
+ * }
+ */
+ public static int H5Eclear_vers() {
+ return H5Eclear_vers;
+ }
+ private static final int H5Eget_auto_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eget_auto_vers 2
+ * }
+ */
+ public static int H5Eget_auto_vers() {
+ return H5Eget_auto_vers;
+ }
+ private static final int H5Eprint_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eprint_vers 2
+ * }
+ */
+ public static int H5Eprint_vers() {
+ return H5Eprint_vers;
+ }
+ private static final int H5Epush_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Epush_vers 2
+ * }
+ */
+ public static int H5Epush_vers() {
+ return H5Epush_vers;
+ }
+ private static final int H5Eset_auto_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eset_auto_vers 2
+ * }
+ */
+ public static int H5Eset_auto_vers() {
+ return H5Eset_auto_vers;
+ }
+ private static final int H5Ewalk_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Ewalk_vers 2
+ * }
+ */
+ public static int H5Ewalk_vers() {
+ return H5Ewalk_vers;
+ }
+ private static final int H5Fget_info_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Fget_info_vers 2
+ * }
+ */
+ public static int H5Fget_info_vers() {
+ return H5Fget_info_vers;
+ }
+ private static final int H5Gcreate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Gcreate_vers 2
+ * }
+ */
+ public static int H5Gcreate_vers() {
+ return H5Gcreate_vers;
+ }
+ private static final int H5Gopen_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Gopen_vers 2
+ * }
+ */
+ public static int H5Gopen_vers() {
+ return H5Gopen_vers;
+ }
+ private static final int H5Iregister_type_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Iregister_type_vers 2
+ * }
+ */
+ public static int H5Iregister_type_vers() {
+ return H5Iregister_type_vers;
+ }
+ private static final int H5Lget_info_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lget_info_vers 2
+ * }
+ */
+ public static int H5Lget_info_vers() {
+ return H5Lget_info_vers;
+ }
+ private static final int H5Lget_info_by_idx_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lget_info_by_idx_vers 2
+ * }
+ */
+ public static int H5Lget_info_by_idx_vers() {
+ return H5Lget_info_by_idx_vers;
+ }
+ private static final int H5Literate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Literate_vers 2
+ * }
+ */
+ public static int H5Literate_vers() {
+ return H5Literate_vers;
+ }
+ private static final int H5Literate_by_name_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Literate_by_name_vers 2
+ * }
+ */
+ public static int H5Literate_by_name_vers() {
+ return H5Literate_by_name_vers;
+ }
+ private static final int H5Lvisit_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lvisit_vers 2
+ * }
+ */
+ public static int H5Lvisit_vers() {
+ return H5Lvisit_vers;
+ }
+ private static final int H5Lvisit_by_name_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lvisit_by_name_vers 2
+ * }
+ */
+ public static int H5Lvisit_by_name_vers() {
+ return H5Lvisit_by_name_vers;
+ }
+ private static final int H5Oget_info_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Oget_info_vers 3
+ * }
+ */
+ public static int H5Oget_info_vers() {
+ return H5Oget_info_vers;
+ }
+ private static final int H5Oget_info_by_idx_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Oget_info_by_idx_vers 3
+ * }
+ */
+ public static int H5Oget_info_by_idx_vers() {
+ return H5Oget_info_by_idx_vers;
+ }
+ private static final int H5Oget_info_by_name_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Oget_info_by_name_vers 3
+ * }
+ */
+ public static int H5Oget_info_by_name_vers() {
+ return H5Oget_info_by_name_vers;
+ }
+ private static final int H5Ovisit_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Ovisit_vers 3
+ * }
+ */
+ public static int H5Ovisit_vers() {
+ return H5Ovisit_vers;
+ }
+ private static final int H5Ovisit_by_name_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Ovisit_by_name_vers 3
+ * }
+ */
+ public static int H5Ovisit_by_name_vers() {
+ return H5Ovisit_by_name_vers;
+ }
+ private static final int H5Pencode_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pencode_vers 2
+ * }
+ */
+ public static int H5Pencode_vers() {
+ return H5Pencode_vers;
+ }
+ private static final int H5Pget_filter_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pget_filter_vers 2
+ * }
+ */
+ public static int H5Pget_filter_vers() {
+ return H5Pget_filter_vers;
+ }
+ private static final int H5Pget_filter_by_id_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pget_filter_by_id_vers 2
+ * }
+ */
+ public static int H5Pget_filter_by_id_vers() {
+ return H5Pget_filter_by_id_vers;
+ }
+ private static final int H5Pinsert_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pinsert_vers 2
+ * }
+ */
+ public static int H5Pinsert_vers() {
+ return H5Pinsert_vers;
+ }
+ private static final int H5Pregister_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pregister_vers 2
+ * }
+ */
+ public static int H5Pregister_vers() {
+ return H5Pregister_vers;
+ }
+ private static final int H5Rdereference_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Rdereference_vers 2
+ * }
+ */
+ public static int H5Rdereference_vers() {
+ return H5Rdereference_vers;
+ }
+ private static final int H5Rget_obj_type_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Rget_obj_type_vers 2
+ * }
+ */
+ public static int H5Rget_obj_type_vers() {
+ return H5Rget_obj_type_vers;
+ }
+ private static final int H5Sencode_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Sencode_vers 2
+ * }
+ */
+ public static int H5Sencode_vers() {
+ return H5Sencode_vers;
+ }
+ private static final int H5Tarray_create_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tarray_create_vers 2
+ * }
+ */
+ public static int H5Tarray_create_vers() {
+ return H5Tarray_create_vers;
+ }
+ private static final int H5Tcommit_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tcommit_vers 2
+ * }
+ */
+ public static int H5Tcommit_vers() {
+ return H5Tcommit_vers;
+ }
+ private static final int H5Tdecode_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tdecode_vers 2
+ * }
+ */
+ public static int H5Tdecode_vers() {
+ return H5Tdecode_vers;
+ }
+ private static final int H5Tget_array_dims_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tget_array_dims_vers 2
+ * }
+ */
+ public static int H5Tget_array_dims_vers() {
+ return H5Tget_array_dims_vers;
+ }
+ private static final int H5Topen_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Topen_vers 2
+ * }
+ */
+ public static int H5Topen_vers() {
+ return H5Topen_vers;
+ }
+ private static final int H5E_auto_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5E_auto_t_vers 2
+ * }
+ */
+ public static int H5E_auto_t_vers() {
+ return H5E_auto_t_vers;
+ }
+ private static final int H5O_info_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_info_t_vers 2
+ * }
+ */
+ public static int H5O_info_t_vers() {
+ return H5O_info_t_vers;
+ }
+ private static final int H5O_iterate_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_iterate_t_vers 2
+ * }
+ */
+ public static int H5O_iterate_t_vers() {
+ return H5O_iterate_t_vers;
+ }
+ private static final int H5Z_class_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_class_t_vers 2
+ * }
+ */
+ public static int H5Z_class_t_vers() {
+ return H5Z_class_t_vers;
+ }
+ private static final int __has_safe_buffers = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __has_safe_buffers 0
+ * }
+ */
+ public static int __has_safe_buffers() {
+ return __has_safe_buffers;
+ }
+ private static final int __DARWIN_ONLY_64_BIT_INO_T = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_ONLY_64_BIT_INO_T 0
+ * }
+ */
+ public static int __DARWIN_ONLY_64_BIT_INO_T() {
+ return __DARWIN_ONLY_64_BIT_INO_T;
+ }
+ private static final int __DARWIN_ONLY_UNIX_CONFORMANCE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_ONLY_UNIX_CONFORMANCE 1
+ * }
+ */
+ public static int __DARWIN_ONLY_UNIX_CONFORMANCE() {
+ return __DARWIN_ONLY_UNIX_CONFORMANCE;
+ }
+ private static final int __DARWIN_ONLY_VERS_1050 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_ONLY_VERS_1050 0
+ * }
+ */
+ public static int __DARWIN_ONLY_VERS_1050() {
+ return __DARWIN_ONLY_VERS_1050;
+ }
+ private static final int __DARWIN_UNIX03 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_UNIX03 1
+ * }
+ */
+ public static int __DARWIN_UNIX03() {
+ return __DARWIN_UNIX03;
+ }
+ private static final int __DARWIN_64_BIT_INO_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_64_BIT_INO_T 1
+ * }
+ */
+ public static int __DARWIN_64_BIT_INO_T() {
+ return __DARWIN_64_BIT_INO_T;
+ }
+ private static final int __DARWIN_VERS_1050 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_VERS_1050 1
+ * }
+ */
+ public static int __DARWIN_VERS_1050() {
+ return __DARWIN_VERS_1050;
+ }
+ private static final int __DARWIN_NON_CANCELABLE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_NON_CANCELABLE 0
+ * }
+ */
+ public static int __DARWIN_NON_CANCELABLE() {
+ return __DARWIN_NON_CANCELABLE;
+ }
+ private static final int __STDC_WANT_LIB_EXT1__ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __STDC_WANT_LIB_EXT1__ 1
+ * }
+ */
+ public static int __STDC_WANT_LIB_EXT1__() {
+ return __STDC_WANT_LIB_EXT1__;
+ }
+ private static final int __DARWIN_NO_LONG_LONG = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_NO_LONG_LONG 0
+ * }
+ */
+ public static int __DARWIN_NO_LONG_LONG() {
+ return __DARWIN_NO_LONG_LONG;
+ }
+ private static final int _DARWIN_FEATURE_64_BIT_INODE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _DARWIN_FEATURE_64_BIT_INODE 1
+ * }
+ */
+ public static int _DARWIN_FEATURE_64_BIT_INODE() {
+ return _DARWIN_FEATURE_64_BIT_INODE;
+ }
+ private static final int _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE 1
+ * }
+ */
+ public static int _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE() {
+ return _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE;
+ }
+ private static final int _DARWIN_FEATURE_UNIX_CONFORMANCE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define _DARWIN_FEATURE_UNIX_CONFORMANCE 3
+ * }
+ */
+ public static int _DARWIN_FEATURE_UNIX_CONFORMANCE() {
+ return _DARWIN_FEATURE_UNIX_CONFORMANCE;
+ }
+ private static final int __has_ptrcheck = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __has_ptrcheck 0
+ * }
+ */
+ public static int __has_ptrcheck() {
+ return __has_ptrcheck;
+ }
+ private static final int __API_TO_BE_DEPRECATED = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED() {
+ return __API_TO_BE_DEPRECATED;
+ }
+ private static final int __API_TO_BE_DEPRECATED_MACOS = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_MACOS 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_MACOS() {
+ return __API_TO_BE_DEPRECATED_MACOS;
+ }
+ private static final int __API_TO_BE_DEPRECATED_MACOSAPPLICATIONEXTENSION = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_MACOSAPPLICATIONEXTENSION 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_MACOSAPPLICATIONEXTENSION() {
+ return __API_TO_BE_DEPRECATED_MACOSAPPLICATIONEXTENSION;
+ }
+ private static final int __API_TO_BE_DEPRECATED_IOS = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_IOS 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_IOS() {
+ return __API_TO_BE_DEPRECATED_IOS;
+ }
+ private static final int __API_TO_BE_DEPRECATED_IOSAPPLICATIONEXTENSION = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_IOSAPPLICATIONEXTENSION 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_IOSAPPLICATIONEXTENSION() {
+ return __API_TO_BE_DEPRECATED_IOSAPPLICATIONEXTENSION;
+ }
+ private static final int __API_TO_BE_DEPRECATED_MACCATALYST = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_MACCATALYST 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_MACCATALYST() {
+ return __API_TO_BE_DEPRECATED_MACCATALYST;
+ }
+ private static final int __API_TO_BE_DEPRECATED_MACCATALYSTAPPLICATIONEXTENSION = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_MACCATALYSTAPPLICATIONEXTENSION 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_MACCATALYSTAPPLICATIONEXTENSION() {
+ return __API_TO_BE_DEPRECATED_MACCATALYSTAPPLICATIONEXTENSION;
+ }
+ private static final int __API_TO_BE_DEPRECATED_WATCHOS = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_WATCHOS 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_WATCHOS() {
+ return __API_TO_BE_DEPRECATED_WATCHOS;
+ }
+ private static final int __API_TO_BE_DEPRECATED_WATCHOSAPPLICATIONEXTENSION = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_WATCHOSAPPLICATIONEXTENSION 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_WATCHOSAPPLICATIONEXTENSION() {
+ return __API_TO_BE_DEPRECATED_WATCHOSAPPLICATIONEXTENSION;
+ }
+ private static final int __API_TO_BE_DEPRECATED_TVOS = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_TVOS 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_TVOS() {
+ return __API_TO_BE_DEPRECATED_TVOS;
+ }
+ private static final int __API_TO_BE_DEPRECATED_TVOSAPPLICATIONEXTENSION = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_TVOSAPPLICATIONEXTENSION 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_TVOSAPPLICATIONEXTENSION() {
+ return __API_TO_BE_DEPRECATED_TVOSAPPLICATIONEXTENSION;
+ }
+ private static final int __API_TO_BE_DEPRECATED_DRIVERKIT = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_DRIVERKIT 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_DRIVERKIT() {
+ return __API_TO_BE_DEPRECATED_DRIVERKIT;
+ }
+ private static final int __API_TO_BE_DEPRECATED_VISIONOS = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_VISIONOS 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_VISIONOS() {
+ return __API_TO_BE_DEPRECATED_VISIONOS;
+ }
+ private static final int __API_TO_BE_DEPRECATED_VISIONOSAPPLICATIONEXTENSION = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_VISIONOSAPPLICATIONEXTENSION 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_VISIONOSAPPLICATIONEXTENSION() {
+ return __API_TO_BE_DEPRECATED_VISIONOSAPPLICATIONEXTENSION;
+ }
+ private static final int __API_TO_BE_DEPRECATED_KERNELKIT = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_KERNELKIT 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_KERNELKIT() {
+ return __API_TO_BE_DEPRECATED_KERNELKIT;
+ }
+ private static final int __MAC_10_0 = (int)1000L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_0 1000
+ * }
+ */
+ public static int __MAC_10_0() {
+ return __MAC_10_0;
+ }
+ private static final int __MAC_10_1 = (int)1010L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_1 1010
+ * }
+ */
+ public static int __MAC_10_1() {
+ return __MAC_10_1;
+ }
+ private static final int __MAC_10_2 = (int)1020L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_2 1020
+ * }
+ */
+ public static int __MAC_10_2() {
+ return __MAC_10_2;
+ }
+ private static final int __MAC_10_3 = (int)1030L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_3 1030
+ * }
+ */
+ public static int __MAC_10_3() {
+ return __MAC_10_3;
+ }
+ private static final int __MAC_10_4 = (int)1040L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_4 1040
+ * }
+ */
+ public static int __MAC_10_4() {
+ return __MAC_10_4;
+ }
+ private static final int __MAC_10_5 = (int)1050L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_5 1050
+ * }
+ */
+ public static int __MAC_10_5() {
+ return __MAC_10_5;
+ }
+ private static final int __MAC_10_6 = (int)1060L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_6 1060
+ * }
+ */
+ public static int __MAC_10_6() {
+ return __MAC_10_6;
+ }
+ private static final int __MAC_10_7 = (int)1070L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_7 1070
+ * }
+ */
+ public static int __MAC_10_7() {
+ return __MAC_10_7;
+ }
+ private static final int __MAC_10_8 = (int)1080L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_8 1080
+ * }
+ */
+ public static int __MAC_10_8() {
+ return __MAC_10_8;
+ }
+ private static final int __MAC_10_9 = (int)1090L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_9 1090
+ * }
+ */
+ public static int __MAC_10_9() {
+ return __MAC_10_9;
+ }
+ private static final int __MAC_10_10 = (int)101000L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_10 101000
+ * }
+ */
+ public static int __MAC_10_10() {
+ return __MAC_10_10;
+ }
+ private static final int __MAC_10_10_2 = (int)101002L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_10_2 101002
+ * }
+ */
+ public static int __MAC_10_10_2() {
+ return __MAC_10_10_2;
+ }
+ private static final int __MAC_10_10_3 = (int)101003L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_10_3 101003
+ * }
+ */
+ public static int __MAC_10_10_3() {
+ return __MAC_10_10_3;
+ }
+ private static final int __MAC_10_11 = (int)101100L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_11 101100
+ * }
+ */
+ public static int __MAC_10_11() {
+ return __MAC_10_11;
+ }
+ private static final int __MAC_10_11_2 = (int)101102L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_11_2 101102
+ * }
+ */
+ public static int __MAC_10_11_2() {
+ return __MAC_10_11_2;
+ }
+ private static final int __MAC_10_11_3 = (int)101103L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_11_3 101103
+ * }
+ */
+ public static int __MAC_10_11_3() {
+ return __MAC_10_11_3;
+ }
+ private static final int __MAC_10_11_4 = (int)101104L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_11_4 101104
+ * }
+ */
+ public static int __MAC_10_11_4() {
+ return __MAC_10_11_4;
+ }
+ private static final int __MAC_10_12 = (int)101200L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_12 101200
+ * }
+ */
+ public static int __MAC_10_12() {
+ return __MAC_10_12;
+ }
+ private static final int __MAC_10_12_1 = (int)101201L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_12_1 101201
+ * }
+ */
+ public static int __MAC_10_12_1() {
+ return __MAC_10_12_1;
+ }
+ private static final int __MAC_10_12_2 = (int)101202L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_12_2 101202
+ * }
+ */
+ public static int __MAC_10_12_2() {
+ return __MAC_10_12_2;
+ }
+ private static final int __MAC_10_12_4 = (int)101204L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_12_4 101204
+ * }
+ */
+ public static int __MAC_10_12_4() {
+ return __MAC_10_12_4;
+ }
+ private static final int __MAC_10_13 = (int)101300L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_13 101300
+ * }
+ */
+ public static int __MAC_10_13() {
+ return __MAC_10_13;
+ }
+ private static final int __MAC_10_13_1 = (int)101301L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_13_1 101301
+ * }
+ */
+ public static int __MAC_10_13_1() {
+ return __MAC_10_13_1;
+ }
+ private static final int __MAC_10_13_2 = (int)101302L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_13_2 101302
+ * }
+ */
+ public static int __MAC_10_13_2() {
+ return __MAC_10_13_2;
+ }
+ private static final int __MAC_10_13_4 = (int)101304L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_13_4 101304
+ * }
+ */
+ public static int __MAC_10_13_4() {
+ return __MAC_10_13_4;
+ }
+ private static final int __MAC_10_14 = (int)101400L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_14 101400
+ * }
+ */
+ public static int __MAC_10_14() {
+ return __MAC_10_14;
+ }
+ private static final int __MAC_10_14_1 = (int)101401L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_14_1 101401
+ * }
+ */
+ public static int __MAC_10_14_1() {
+ return __MAC_10_14_1;
+ }
+ private static final int __MAC_10_14_4 = (int)101404L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_14_4 101404
+ * }
+ */
+ public static int __MAC_10_14_4() {
+ return __MAC_10_14_4;
+ }
+ private static final int __MAC_10_14_5 = (int)101405L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_14_5 101405
+ * }
+ */
+ public static int __MAC_10_14_5() {
+ return __MAC_10_14_5;
+ }
+ private static final int __MAC_10_14_6 = (int)101406L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_14_6 101406
+ * }
+ */
+ public static int __MAC_10_14_6() {
+ return __MAC_10_14_6;
+ }
+ private static final int __MAC_10_15 = (int)101500L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_15 101500
+ * }
+ */
+ public static int __MAC_10_15() {
+ return __MAC_10_15;
+ }
+ private static final int __MAC_10_15_1 = (int)101501L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_15_1 101501
+ * }
+ */
+ public static int __MAC_10_15_1() {
+ return __MAC_10_15_1;
+ }
+ private static final int __MAC_10_15_4 = (int)101504L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_15_4 101504
+ * }
+ */
+ public static int __MAC_10_15_4() {
+ return __MAC_10_15_4;
+ }
+ private static final int __MAC_10_16 = (int)101600L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_16 101600
+ * }
+ */
+ public static int __MAC_10_16() {
+ return __MAC_10_16;
+ }
+ private static final int __MAC_11_0 = (int)110000L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_11_0 110000
+ * }
+ */
+ public static int __MAC_11_0() {
+ return __MAC_11_0;
+ }
+ private static final int __MAC_11_1 = (int)110100L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_11_1 110100
+ * }
+ */
+ public static int __MAC_11_1() {
+ return __MAC_11_1;
+ }
+ private static final int __MAC_11_3 = (int)110300L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_11_3 110300
+ * }
+ */
+ public static int __MAC_11_3() {
+ return __MAC_11_3;
+ }
+ private static final int __MAC_11_4 = (int)110400L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_11_4 110400
+ * }
+ */
+ public static int __MAC_11_4() {
+ return __MAC_11_4;
+ }
+ private static final int __MAC_11_5 = (int)110500L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_11_5 110500
+ * }
+ */
+ public static int __MAC_11_5() {
+ return __MAC_11_5;
+ }
+ private static final int __MAC_11_6 = (int)110600L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_11_6 110600
+ * }
+ */
+ public static int __MAC_11_6() {
+ return __MAC_11_6;
+ }
+ private static final int __MAC_12_0 = (int)120000L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_12_0 120000
+ * }
+ */
+ public static int __MAC_12_0() {
+ return __MAC_12_0;
+ }
+ private static final int __MAC_12_1 = (int)120100L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_12_1 120100
+ * }
+ */
+ public static int __MAC_12_1() {
+ return __MAC_12_1;
+ }
+ private static final int __MAC_12_2 = (int)120200L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_12_2 120200
+ * }
+ */
+ public static int __MAC_12_2() {
+ return __MAC_12_2;
+ }
+ private static final int __MAC_12_3 = (int)120300L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_12_3 120300
+ * }
+ */
+ public static int __MAC_12_3() {
+ return __MAC_12_3;
+ }
+ private static final int __MAC_12_4 = (int)120400L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_12_4 120400
+ * }
+ */
+ public static int __MAC_12_4() {
+ return __MAC_12_4;
+ }
+ private static final int __MAC_12_5 = (int)120500L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_12_5 120500
+ * }
+ */
+ public static int __MAC_12_5() {
+ return __MAC_12_5;
+ }
+ private static final int __MAC_12_6 = (int)120600L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_12_6 120600
+ * }
+ */
+ public static int __MAC_12_6() {
+ return __MAC_12_6;
+ }
+ private static final int __MAC_12_7 = (int)120700L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_12_7 120700
+ * }
+ */
+ public static int __MAC_12_7() {
+ return __MAC_12_7;
+ }
+ private static final int __MAC_13_0 = (int)130000L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_13_0 130000
+ * }
+ */
+ public static int __MAC_13_0() {
+ return __MAC_13_0;
+ }
+ private static final int __MAC_13_1 = (int)130100L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_13_1 130100
+ * }
+ */
+ public static int __MAC_13_1() {
+ return __MAC_13_1;
+ }
+ private static final int __MAC_13_2 = (int)130200L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_13_2 130200
+ * }
+ */
+ public static int __MAC_13_2() {
+ return __MAC_13_2;
+ }
+ private static final int __MAC_13_3 = (int)130300L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_13_3 130300
+ * }
+ */
+ public static int __MAC_13_3() {
+ return __MAC_13_3;
+ }
+ private static final int __MAC_13_4 = (int)130400L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_13_4 130400
+ * }
+ */
+ public static int __MAC_13_4() {
+ return __MAC_13_4;
+ }
+ private static final int __MAC_13_5 = (int)130500L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_13_5 130500
+ * }
+ */
+ public static int __MAC_13_5() {
+ return __MAC_13_5;
+ }
+ private static final int __MAC_13_6 = (int)130600L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_13_6 130600
+ * }
+ */
+ public static int __MAC_13_6() {
+ return __MAC_13_6;
+ }
+ private static final int __MAC_13_7 = (int)130700L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_13_7 130700
+ * }
+ */
+ public static int __MAC_13_7() {
+ return __MAC_13_7;
+ }
+ private static final int __MAC_14_0 = (int)140000L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_14_0 140000
+ * }
+ */
+ public static int __MAC_14_0() {
+ return __MAC_14_0;
+ }
+ private static final int __MAC_14_1 = (int)140100L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_14_1 140100
+ * }
+ */
+ public static int __MAC_14_1() {
+ return __MAC_14_1;
+ }
+ private static final int __MAC_14_2 = (int)140200L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_14_2 140200
+ * }
+ */
+ public static int __MAC_14_2() {
+ return __MAC_14_2;
+ }
+ private static final int __MAC_14_3 = (int)140300L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_14_3 140300
+ * }
+ */
+ public static int __MAC_14_3() {
+ return __MAC_14_3;
+ }
+ private static final int __MAC_14_4 = (int)140400L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_14_4 140400
+ * }
+ */
+ public static int __MAC_14_4() {
+ return __MAC_14_4;
+ }
+ private static final int __MAC_14_5 = (int)140500L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_14_5 140500
+ * }
+ */
+ public static int __MAC_14_5() {
+ return __MAC_14_5;
+ }
+ private static final int __MAC_14_6 = (int)140600L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_14_6 140600
+ * }
+ */
+ public static int __MAC_14_6() {
+ return __MAC_14_6;
+ }
+ private static final int __MAC_14_7 = (int)140700L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_14_7 140700
+ * }
+ */
+ public static int __MAC_14_7() {
+ return __MAC_14_7;
+ }
+ private static final int __MAC_15_0 = (int)150000L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_15_0 150000
+ * }
+ */
+ public static int __MAC_15_0() {
+ return __MAC_15_0;
+ }
+ private static final int __MAC_15_1 = (int)150100L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_15_1 150100
+ * }
+ */
+ public static int __MAC_15_1() {
+ return __MAC_15_1;
+ }
+ private static final int __MAC_15_2 = (int)150200L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_15_2 150200
+ * }
+ */
+ public static int __MAC_15_2() {
+ return __MAC_15_2;
+ }
+ private static final int __MAC_15_3 = (int)150300L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_15_3 150300
+ * }
+ */
+ public static int __MAC_15_3() {
+ return __MAC_15_3;
+ }
+ private static final int __MAC_15_4 = (int)150400L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_15_4 150400
+ * }
+ */
+ public static int __MAC_15_4() {
+ return __MAC_15_4;
+ }
+ private static final int __MAC_15_5 = (int)150500L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_15_5 150500
+ * }
+ */
+ public static int __MAC_15_5() {
+ return __MAC_15_5;
+ }
+ private static final int __IPHONE_2_0 = (int)20000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_2_0 20000
+ * }
+ */
+ public static int __IPHONE_2_0() {
+ return __IPHONE_2_0;
+ }
+ private static final int __IPHONE_2_1 = (int)20100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_2_1 20100
+ * }
+ */
+ public static int __IPHONE_2_1() {
+ return __IPHONE_2_1;
+ }
+ private static final int __IPHONE_2_2 = (int)20200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_2_2 20200
+ * }
+ */
+ public static int __IPHONE_2_2() {
+ return __IPHONE_2_2;
+ }
+ private static final int __IPHONE_3_0 = (int)30000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_3_0 30000
+ * }
+ */
+ public static int __IPHONE_3_0() {
+ return __IPHONE_3_0;
+ }
+ private static final int __IPHONE_3_1 = (int)30100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_3_1 30100
+ * }
+ */
+ public static int __IPHONE_3_1() {
+ return __IPHONE_3_1;
+ }
+ private static final int __IPHONE_3_2 = (int)30200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_3_2 30200
+ * }
+ */
+ public static int __IPHONE_3_2() {
+ return __IPHONE_3_2;
+ }
+ private static final int __IPHONE_4_0 = (int)40000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_4_0 40000
+ * }
+ */
+ public static int __IPHONE_4_0() {
+ return __IPHONE_4_0;
+ }
+ private static final int __IPHONE_4_1 = (int)40100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_4_1 40100
+ * }
+ */
+ public static int __IPHONE_4_1() {
+ return __IPHONE_4_1;
+ }
+ private static final int __IPHONE_4_2 = (int)40200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_4_2 40200
+ * }
+ */
+ public static int __IPHONE_4_2() {
+ return __IPHONE_4_2;
+ }
+ private static final int __IPHONE_4_3 = (int)40300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_4_3 40300
+ * }
+ */
+ public static int __IPHONE_4_3() {
+ return __IPHONE_4_3;
+ }
+ private static final int __IPHONE_5_0 = (int)50000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_5_0 50000
+ * }
+ */
+ public static int __IPHONE_5_0() {
+ return __IPHONE_5_0;
+ }
+ private static final int __IPHONE_5_1 = (int)50100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_5_1 50100
+ * }
+ */
+ public static int __IPHONE_5_1() {
+ return __IPHONE_5_1;
+ }
+ private static final int __IPHONE_6_0 = (int)60000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_6_0 60000
+ * }
+ */
+ public static int __IPHONE_6_0() {
+ return __IPHONE_6_0;
+ }
+ private static final int __IPHONE_6_1 = (int)60100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_6_1 60100
+ * }
+ */
+ public static int __IPHONE_6_1() {
+ return __IPHONE_6_1;
+ }
+ private static final int __IPHONE_7_0 = (int)70000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_7_0 70000
+ * }
+ */
+ public static int __IPHONE_7_0() {
+ return __IPHONE_7_0;
+ }
+ private static final int __IPHONE_7_1 = (int)70100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_7_1 70100
+ * }
+ */
+ public static int __IPHONE_7_1() {
+ return __IPHONE_7_1;
+ }
+ private static final int __IPHONE_8_0 = (int)80000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_8_0 80000
+ * }
+ */
+ public static int __IPHONE_8_0() {
+ return __IPHONE_8_0;
+ }
+ private static final int __IPHONE_8_1 = (int)80100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_8_1 80100
+ * }
+ */
+ public static int __IPHONE_8_1() {
+ return __IPHONE_8_1;
+ }
+ private static final int __IPHONE_8_2 = (int)80200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_8_2 80200
+ * }
+ */
+ public static int __IPHONE_8_2() {
+ return __IPHONE_8_2;
+ }
+ private static final int __IPHONE_8_3 = (int)80300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_8_3 80300
+ * }
+ */
+ public static int __IPHONE_8_3() {
+ return __IPHONE_8_3;
+ }
+ private static final int __IPHONE_8_4 = (int)80400L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_8_4 80400
+ * }
+ */
+ public static int __IPHONE_8_4() {
+ return __IPHONE_8_4;
+ }
+ private static final int __IPHONE_9_0 = (int)90000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_9_0 90000
+ * }
+ */
+ public static int __IPHONE_9_0() {
+ return __IPHONE_9_0;
+ }
+ private static final int __IPHONE_9_1 = (int)90100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_9_1 90100
+ * }
+ */
+ public static int __IPHONE_9_1() {
+ return __IPHONE_9_1;
+ }
+ private static final int __IPHONE_9_2 = (int)90200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_9_2 90200
+ * }
+ */
+ public static int __IPHONE_9_2() {
+ return __IPHONE_9_2;
+ }
+ private static final int __IPHONE_9_3 = (int)90300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_9_3 90300
+ * }
+ */
+ public static int __IPHONE_9_3() {
+ return __IPHONE_9_3;
+ }
+ private static final int __IPHONE_10_0 = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_10_0 100000
+ * }
+ */
+ public static int __IPHONE_10_0() {
+ return __IPHONE_10_0;
+ }
+ private static final int __IPHONE_10_1 = (int)100100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_10_1 100100
+ * }
+ */
+ public static int __IPHONE_10_1() {
+ return __IPHONE_10_1;
+ }
+ private static final int __IPHONE_10_2 = (int)100200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_10_2 100200
+ * }
+ */
+ public static int __IPHONE_10_2() {
+ return __IPHONE_10_2;
+ }
+ private static final int __IPHONE_10_3 = (int)100300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_10_3 100300
+ * }
+ */
+ public static int __IPHONE_10_3() {
+ return __IPHONE_10_3;
+ }
+ private static final int __IPHONE_11_0 = (int)110000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_11_0 110000
+ * }
+ */
+ public static int __IPHONE_11_0() {
+ return __IPHONE_11_0;
+ }
+ private static final int __IPHONE_11_1 = (int)110100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_11_1 110100
+ * }
+ */
+ public static int __IPHONE_11_1() {
+ return __IPHONE_11_1;
+ }
+ private static final int __IPHONE_11_2 = (int)110200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_11_2 110200
+ * }
+ */
+ public static int __IPHONE_11_2() {
+ return __IPHONE_11_2;
+ }
+ private static final int __IPHONE_11_3 = (int)110300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_11_3 110300
+ * }
+ */
+ public static int __IPHONE_11_3() {
+ return __IPHONE_11_3;
+ }
+ private static final int __IPHONE_11_4 = (int)110400L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_11_4 110400
+ * }
+ */
+ public static int __IPHONE_11_4() {
+ return __IPHONE_11_4;
+ }
+ private static final int __IPHONE_12_0 = (int)120000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_12_0 120000
+ * }
+ */
+ public static int __IPHONE_12_0() {
+ return __IPHONE_12_0;
+ }
+ private static final int __IPHONE_12_1 = (int)120100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_12_1 120100
+ * }
+ */
+ public static int __IPHONE_12_1() {
+ return __IPHONE_12_1;
+ }
+ private static final int __IPHONE_12_2 = (int)120200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_12_2 120200
+ * }
+ */
+ public static int __IPHONE_12_2() {
+ return __IPHONE_12_2;
+ }
+ private static final int __IPHONE_12_3 = (int)120300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_12_3 120300
+ * }
+ */
+ public static int __IPHONE_12_3() {
+ return __IPHONE_12_3;
+ }
+ private static final int __IPHONE_12_4 = (int)120400L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_12_4 120400
+ * }
+ */
+ public static int __IPHONE_12_4() {
+ return __IPHONE_12_4;
+ }
+ private static final int __IPHONE_13_0 = (int)130000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_13_0 130000
+ * }
+ */
+ public static int __IPHONE_13_0() {
+ return __IPHONE_13_0;
+ }
+ private static final int __IPHONE_13_1 = (int)130100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_13_1 130100
+ * }
+ */
+ public static int __IPHONE_13_1() {
+ return __IPHONE_13_1;
+ }
+ private static final int __IPHONE_13_2 = (int)130200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_13_2 130200
+ * }
+ */
+ public static int __IPHONE_13_2() {
+ return __IPHONE_13_2;
+ }
+ private static final int __IPHONE_13_3 = (int)130300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_13_3 130300
+ * }
+ */
+ public static int __IPHONE_13_3() {
+ return __IPHONE_13_3;
+ }
+ private static final int __IPHONE_13_4 = (int)130400L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_13_4 130400
+ * }
+ */
+ public static int __IPHONE_13_4() {
+ return __IPHONE_13_4;
+ }
+ private static final int __IPHONE_13_5 = (int)130500L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_13_5 130500
+ * }
+ */
+ public static int __IPHONE_13_5() {
+ return __IPHONE_13_5;
+ }
+ private static final int __IPHONE_13_6 = (int)130600L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_13_6 130600
+ * }
+ */
+ public static int __IPHONE_13_6() {
+ return __IPHONE_13_6;
+ }
+ private static final int __IPHONE_13_7 = (int)130700L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_13_7 130700
+ * }
+ */
+ public static int __IPHONE_13_7() {
+ return __IPHONE_13_7;
+ }
+ private static final int __IPHONE_14_0 = (int)140000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_14_0 140000
+ * }
+ */
+ public static int __IPHONE_14_0() {
+ return __IPHONE_14_0;
+ }
+ private static final int __IPHONE_14_1 = (int)140100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_14_1 140100
+ * }
+ */
+ public static int __IPHONE_14_1() {
+ return __IPHONE_14_1;
+ }
+ private static final int __IPHONE_14_2 = (int)140200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_14_2 140200
+ * }
+ */
+ public static int __IPHONE_14_2() {
+ return __IPHONE_14_2;
+ }
+ private static final int __IPHONE_14_3 = (int)140300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_14_3 140300
+ * }
+ */
+ public static int __IPHONE_14_3() {
+ return __IPHONE_14_3;
+ }
+ private static final int __IPHONE_14_5 = (int)140500L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_14_5 140500
+ * }
+ */
+ public static int __IPHONE_14_5() {
+ return __IPHONE_14_5;
+ }
+ private static final int __IPHONE_14_4 = (int)140400L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_14_4 140400
+ * }
+ */
+ public static int __IPHONE_14_4() {
+ return __IPHONE_14_4;
+ }
+ private static final int __IPHONE_14_6 = (int)140600L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_14_6 140600
+ * }
+ */
+ public static int __IPHONE_14_6() {
+ return __IPHONE_14_6;
+ }
+ private static final int __IPHONE_14_7 = (int)140700L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_14_7 140700
+ * }
+ */
+ public static int __IPHONE_14_7() {
+ return __IPHONE_14_7;
+ }
+ private static final int __IPHONE_14_8 = (int)140800L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_14_8 140800
+ * }
+ */
+ public static int __IPHONE_14_8() {
+ return __IPHONE_14_8;
+ }
+ private static final int __IPHONE_15_0 = (int)150000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_15_0 150000
+ * }
+ */
+ public static int __IPHONE_15_0() {
+ return __IPHONE_15_0;
+ }
+ private static final int __IPHONE_15_1 = (int)150100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_15_1 150100
+ * }
+ */
+ public static int __IPHONE_15_1() {
+ return __IPHONE_15_1;
+ }
+ private static final int __IPHONE_15_2 = (int)150200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_15_2 150200
+ * }
+ */
+ public static int __IPHONE_15_2() {
+ return __IPHONE_15_2;
+ }
+ private static final int __IPHONE_15_3 = (int)150300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_15_3 150300
+ * }
+ */
+ public static int __IPHONE_15_3() {
+ return __IPHONE_15_3;
+ }
+ private static final int __IPHONE_15_4 = (int)150400L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_15_4 150400
+ * }
+ */
+ public static int __IPHONE_15_4() {
+ return __IPHONE_15_4;
+ }
+ private static final int __IPHONE_15_5 = (int)150500L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_15_5 150500
+ * }
+ */
+ public static int __IPHONE_15_5() {
+ return __IPHONE_15_5;
+ }
+ private static final int __IPHONE_15_6 = (int)150600L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_15_6 150600
+ * }
+ */
+ public static int __IPHONE_15_6() {
+ return __IPHONE_15_6;
+ }
+ private static final int __IPHONE_15_7 = (int)150700L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_15_7 150700
+ * }
+ */
+ public static int __IPHONE_15_7() {
+ return __IPHONE_15_7;
+ }
+ private static final int __IPHONE_15_8 = (int)150800L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_15_8 150800
+ * }
+ */
+ public static int __IPHONE_15_8() {
+ return __IPHONE_15_8;
+ }
+ private static final int __IPHONE_16_0 = (int)160000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_16_0 160000
+ * }
+ */
+ public static int __IPHONE_16_0() {
+ return __IPHONE_16_0;
+ }
+ private static final int __IPHONE_16_1 = (int)160100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_16_1 160100
+ * }
+ */
+ public static int __IPHONE_16_1() {
+ return __IPHONE_16_1;
+ }
+ private static final int __IPHONE_16_2 = (int)160200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_16_2 160200
+ * }
+ */
+ public static int __IPHONE_16_2() {
+ return __IPHONE_16_2;
+ }
+ private static final int __IPHONE_16_3 = (int)160300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_16_3 160300
+ * }
+ */
+ public static int __IPHONE_16_3() {
+ return __IPHONE_16_3;
+ }
+ private static final int __IPHONE_16_4 = (int)160400L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_16_4 160400
+ * }
+ */
+ public static int __IPHONE_16_4() {
+ return __IPHONE_16_4;
+ }
+ private static final int __IPHONE_16_5 = (int)160500L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_16_5 160500
+ * }
+ */
+ public static int __IPHONE_16_5() {
+ return __IPHONE_16_5;
+ }
+ private static final int __IPHONE_16_6 = (int)160600L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_16_6 160600
+ * }
+ */
+ public static int __IPHONE_16_6() {
+ return __IPHONE_16_6;
+ }
+ private static final int __IPHONE_16_7 = (int)160700L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_16_7 160700
+ * }
+ */
+ public static int __IPHONE_16_7() {
+ return __IPHONE_16_7;
+ }
+ private static final int __IPHONE_17_0 = (int)170000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_17_0 170000
+ * }
+ */
+ public static int __IPHONE_17_0() {
+ return __IPHONE_17_0;
+ }
+ private static final int __IPHONE_17_1 = (int)170100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_17_1 170100
+ * }
+ */
+ public static int __IPHONE_17_1() {
+ return __IPHONE_17_1;
+ }
+ private static final int __IPHONE_17_2 = (int)170200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_17_2 170200
+ * }
+ */
+ public static int __IPHONE_17_2() {
+ return __IPHONE_17_2;
+ }
+ private static final int __IPHONE_17_3 = (int)170300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_17_3 170300
+ * }
+ */
+ public static int __IPHONE_17_3() {
+ return __IPHONE_17_3;
+ }
+ private static final int __IPHONE_17_4 = (int)170400L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_17_4 170400
+ * }
+ */
+ public static int __IPHONE_17_4() {
+ return __IPHONE_17_4;
+ }
+ private static final int __IPHONE_17_5 = (int)170500L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_17_5 170500
+ * }
+ */
+ public static int __IPHONE_17_5() {
+ return __IPHONE_17_5;
+ }
+ private static final int __IPHONE_17_6 = (int)170600L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_17_6 170600
+ * }
+ */
+ public static int __IPHONE_17_6() {
+ return __IPHONE_17_6;
+ }
+ private static final int __IPHONE_17_7 = (int)170700L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_17_7 170700
+ * }
+ */
+ public static int __IPHONE_17_7() {
+ return __IPHONE_17_7;
+ }
+ private static final int __IPHONE_18_0 = (int)180000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_18_0 180000
+ * }
+ */
+ public static int __IPHONE_18_0() {
+ return __IPHONE_18_0;
+ }
+ private static final int __IPHONE_18_1 = (int)180100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_18_1 180100
+ * }
+ */
+ public static int __IPHONE_18_1() {
+ return __IPHONE_18_1;
+ }
+ private static final int __IPHONE_18_2 = (int)180200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_18_2 180200
+ * }
+ */
+ public static int __IPHONE_18_2() {
+ return __IPHONE_18_2;
+ }
+ private static final int __IPHONE_18_3 = (int)180300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_18_3 180300
+ * }
+ */
+ public static int __IPHONE_18_3() {
+ return __IPHONE_18_3;
+ }
+ private static final int __IPHONE_18_4 = (int)180400L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_18_4 180400
+ * }
+ */
+ public static int __IPHONE_18_4() {
+ return __IPHONE_18_4;
+ }
+ private static final int __IPHONE_18_5 = (int)180500L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_18_5 180500
+ * }
+ */
+ public static int __IPHONE_18_5() {
+ return __IPHONE_18_5;
+ }
+ private static final int __WATCHOS_1_0 = (int)10000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_1_0 10000
+ * }
+ */
+ public static int __WATCHOS_1_0() {
+ return __WATCHOS_1_0;
+ }
+ private static final int __WATCHOS_2_0 = (int)20000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_2_0 20000
+ * }
+ */
+ public static int __WATCHOS_2_0() {
+ return __WATCHOS_2_0;
+ }
+ private static final int __WATCHOS_2_1 = (int)20100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_2_1 20100
+ * }
+ */
+ public static int __WATCHOS_2_1() {
+ return __WATCHOS_2_1;
+ }
+ private static final int __WATCHOS_2_2 = (int)20200L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_2_2 20200
+ * }
+ */
+ public static int __WATCHOS_2_2() {
+ return __WATCHOS_2_2;
+ }
+ private static final int __WATCHOS_3_0 = (int)30000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_3_0 30000
+ * }
+ */
+ public static int __WATCHOS_3_0() {
+ return __WATCHOS_3_0;
+ }
+ private static final int __WATCHOS_3_1 = (int)30100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_3_1 30100
+ * }
+ */
+ public static int __WATCHOS_3_1() {
+ return __WATCHOS_3_1;
+ }
+ private static final int __WATCHOS_3_1_1 = (int)30101L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_3_1_1 30101
+ * }
+ */
+ public static int __WATCHOS_3_1_1() {
+ return __WATCHOS_3_1_1;
+ }
+ private static final int __WATCHOS_3_2 = (int)30200L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_3_2 30200
+ * }
+ */
+ public static int __WATCHOS_3_2() {
+ return __WATCHOS_3_2;
+ }
+ private static final int __WATCHOS_4_0 = (int)40000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_4_0 40000
+ * }
+ */
+ public static int __WATCHOS_4_0() {
+ return __WATCHOS_4_0;
+ }
+ private static final int __WATCHOS_4_1 = (int)40100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_4_1 40100
+ * }
+ */
+ public static int __WATCHOS_4_1() {
+ return __WATCHOS_4_1;
+ }
+ private static final int __WATCHOS_4_2 = (int)40200L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_4_2 40200
+ * }
+ */
+ public static int __WATCHOS_4_2() {
+ return __WATCHOS_4_2;
+ }
+ private static final int __WATCHOS_4_3 = (int)40300L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_4_3 40300
+ * }
+ */
+ public static int __WATCHOS_4_3() {
+ return __WATCHOS_4_3;
+ }
+ private static final int __WATCHOS_5_0 = (int)50000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_5_0 50000
+ * }
+ */
+ public static int __WATCHOS_5_0() {
+ return __WATCHOS_5_0;
+ }
+ private static final int __WATCHOS_5_1 = (int)50100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_5_1 50100
+ * }
+ */
+ public static int __WATCHOS_5_1() {
+ return __WATCHOS_5_1;
+ }
+ private static final int __WATCHOS_5_2 = (int)50200L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_5_2 50200
+ * }
+ */
+ public static int __WATCHOS_5_2() {
+ return __WATCHOS_5_2;
+ }
+ private static final int __WATCHOS_5_3 = (int)50300L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_5_3 50300
+ * }
+ */
+ public static int __WATCHOS_5_3() {
+ return __WATCHOS_5_3;
+ }
+ private static final int __WATCHOS_6_0 = (int)60000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_6_0 60000
+ * }
+ */
+ public static int __WATCHOS_6_0() {
+ return __WATCHOS_6_0;
+ }
+ private static final int __WATCHOS_6_1 = (int)60100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_6_1 60100
+ * }
+ */
+ public static int __WATCHOS_6_1() {
+ return __WATCHOS_6_1;
+ }
+ private static final int __WATCHOS_6_2 = (int)60200L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_6_2 60200
+ * }
+ */
+ public static int __WATCHOS_6_2() {
+ return __WATCHOS_6_2;
+ }
+ private static final int __WATCHOS_7_0 = (int)70000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_7_0 70000
+ * }
+ */
+ public static int __WATCHOS_7_0() {
+ return __WATCHOS_7_0;
+ }
+ private static final int __WATCHOS_7_1 = (int)70100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_7_1 70100
+ * }
+ */
+ public static int __WATCHOS_7_1() {
+ return __WATCHOS_7_1;
+ }
+ private static final int __WATCHOS_7_2 = (int)70200L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_7_2 70200
+ * }
+ */
+ public static int __WATCHOS_7_2() {
+ return __WATCHOS_7_2;
+ }
+ private static final int __WATCHOS_7_3 = (int)70300L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_7_3 70300
+ * }
+ */
+ public static int __WATCHOS_7_3() {
+ return __WATCHOS_7_3;
+ }
+ private static final int __WATCHOS_7_4 = (int)70400L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_7_4 70400
+ * }
+ */
+ public static int __WATCHOS_7_4() {
+ return __WATCHOS_7_4;
+ }
+ private static final int __WATCHOS_7_5 = (int)70500L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_7_5 70500
+ * }
+ */
+ public static int __WATCHOS_7_5() {
+ return __WATCHOS_7_5;
+ }
+ private static final int __WATCHOS_7_6 = (int)70600L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_7_6 70600
+ * }
+ */
+ public static int __WATCHOS_7_6() {
+ return __WATCHOS_7_6;
+ }
+ private static final int __WATCHOS_8_0 = (int)80000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_8_0 80000
+ * }
+ */
+ public static int __WATCHOS_8_0() {
+ return __WATCHOS_8_0;
+ }
+ private static final int __WATCHOS_8_1 = (int)80100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_8_1 80100
+ * }
+ */
+ public static int __WATCHOS_8_1() {
+ return __WATCHOS_8_1;
+ }
+ private static final int __WATCHOS_8_3 = (int)80300L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_8_3 80300
+ * }
+ */
+ public static int __WATCHOS_8_3() {
+ return __WATCHOS_8_3;
+ }
+ private static final int __WATCHOS_8_4 = (int)80400L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_8_4 80400
+ * }
+ */
+ public static int __WATCHOS_8_4() {
+ return __WATCHOS_8_4;
+ }
+ private static final int __WATCHOS_8_5 = (int)80500L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_8_5 80500
+ * }
+ */
+ public static int __WATCHOS_8_5() {
+ return __WATCHOS_8_5;
+ }
+ private static final int __WATCHOS_8_6 = (int)80600L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_8_6 80600
+ * }
+ */
+ public static int __WATCHOS_8_6() {
+ return __WATCHOS_8_6;
+ }
+ private static final int __WATCHOS_8_7 = (int)80700L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_8_7 80700
+ * }
+ */
+ public static int __WATCHOS_8_7() {
+ return __WATCHOS_8_7;
+ }
+ private static final int __WATCHOS_8_8 = (int)80800L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_8_8 80800
+ * }
+ */
+ public static int __WATCHOS_8_8() {
+ return __WATCHOS_8_8;
+ }
+ private static final int __WATCHOS_9_0 = (int)90000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_9_0 90000
+ * }
+ */
+ public static int __WATCHOS_9_0() {
+ return __WATCHOS_9_0;
+ }
+ private static final int __WATCHOS_9_1 = (int)90100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_9_1 90100
+ * }
+ */
+ public static int __WATCHOS_9_1() {
+ return __WATCHOS_9_1;
+ }
+ private static final int __WATCHOS_9_2 = (int)90200L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_9_2 90200
+ * }
+ */
+ public static int __WATCHOS_9_2() {
+ return __WATCHOS_9_2;
+ }
+ private static final int __WATCHOS_9_3 = (int)90300L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_9_3 90300
+ * }
+ */
+ public static int __WATCHOS_9_3() {
+ return __WATCHOS_9_3;
+ }
+ private static final int __WATCHOS_9_4 = (int)90400L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_9_4 90400
+ * }
+ */
+ public static int __WATCHOS_9_4() {
+ return __WATCHOS_9_4;
+ }
+ private static final int __WATCHOS_9_5 = (int)90500L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_9_5 90500
+ * }
+ */
+ public static int __WATCHOS_9_5() {
+ return __WATCHOS_9_5;
+ }
+ private static final int __WATCHOS_9_6 = (int)90600L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_9_6 90600
+ * }
+ */
+ public static int __WATCHOS_9_6() {
+ return __WATCHOS_9_6;
+ }
+ private static final int __WATCHOS_10_0 = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_10_0 100000
+ * }
+ */
+ public static int __WATCHOS_10_0() {
+ return __WATCHOS_10_0;
+ }
+ private static final int __WATCHOS_10_1 = (int)100100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_10_1 100100
+ * }
+ */
+ public static int __WATCHOS_10_1() {
+ return __WATCHOS_10_1;
+ }
+ private static final int __WATCHOS_10_2 = (int)100200L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_10_2 100200
+ * }
+ */
+ public static int __WATCHOS_10_2() {
+ return __WATCHOS_10_2;
+ }
+ private static final int __WATCHOS_10_3 = (int)100300L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_10_3 100300
+ * }
+ */
+ public static int __WATCHOS_10_3() {
+ return __WATCHOS_10_3;
+ }
+ private static final int __WATCHOS_10_4 = (int)100400L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_10_4 100400
+ * }
+ */
+ public static int __WATCHOS_10_4() {
+ return __WATCHOS_10_4;
+ }
+ private static final int __WATCHOS_10_5 = (int)100500L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_10_5 100500
+ * }
+ */
+ public static int __WATCHOS_10_5() {
+ return __WATCHOS_10_5;
+ }
+ private static final int __WATCHOS_10_6 = (int)100600L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_10_6 100600
+ * }
+ */
+ public static int __WATCHOS_10_6() {
+ return __WATCHOS_10_6;
+ }
+ private static final int __WATCHOS_10_7 = (int)100700L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_10_7 100700
+ * }
+ */
+ public static int __WATCHOS_10_7() {
+ return __WATCHOS_10_7;
+ }
+ private static final int __WATCHOS_11_0 = (int)110000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_11_0 110000
+ * }
+ */
+ public static int __WATCHOS_11_0() {
+ return __WATCHOS_11_0;
+ }
+ private static final int __WATCHOS_11_1 = (int)110100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_11_1 110100
+ * }
+ */
+ public static int __WATCHOS_11_1() {
+ return __WATCHOS_11_1;
+ }
+ private static final int __WATCHOS_11_2 = (int)110200L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_11_2 110200
+ * }
+ */
+ public static int __WATCHOS_11_2() {
+ return __WATCHOS_11_2;
+ }
+ private static final int __WATCHOS_11_3 = (int)110300L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_11_3 110300
+ * }
+ */
+ public static int __WATCHOS_11_3() {
+ return __WATCHOS_11_3;
+ }
+ private static final int __WATCHOS_11_4 = (int)110400L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_11_4 110400
+ * }
+ */
+ public static int __WATCHOS_11_4() {
+ return __WATCHOS_11_4;
+ }
+ private static final int __WATCHOS_11_5 = (int)110500L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_11_5 110500
+ * }
+ */
+ public static int __WATCHOS_11_5() {
+ return __WATCHOS_11_5;
+ }
+ private static final int __TVOS_9_0 = (int)90000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_9_0 90000
+ * }
+ */
+ public static int __TVOS_9_0() {
+ return __TVOS_9_0;
+ }
+ private static final int __TVOS_9_1 = (int)90100L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_9_1 90100
+ * }
+ */
+ public static int __TVOS_9_1() {
+ return __TVOS_9_1;
+ }
+ private static final int __TVOS_9_2 = (int)90200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_9_2 90200
+ * }
+ */
+ public static int __TVOS_9_2() {
+ return __TVOS_9_2;
+ }
+ private static final int __TVOS_10_0 = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_10_0 100000
+ * }
+ */
+ public static int __TVOS_10_0() {
+ return __TVOS_10_0;
+ }
+ private static final int __TVOS_10_0_1 = (int)100001L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_10_0_1 100001
+ * }
+ */
+ public static int __TVOS_10_0_1() {
+ return __TVOS_10_0_1;
+ }
+ private static final int __TVOS_10_1 = (int)100100L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_10_1 100100
+ * }
+ */
+ public static int __TVOS_10_1() {
+ return __TVOS_10_1;
+ }
+ private static final int __TVOS_10_2 = (int)100200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_10_2 100200
+ * }
+ */
+ public static int __TVOS_10_2() {
+ return __TVOS_10_2;
+ }
+ private static final int __TVOS_11_0 = (int)110000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_11_0 110000
+ * }
+ */
+ public static int __TVOS_11_0() {
+ return __TVOS_11_0;
+ }
+ private static final int __TVOS_11_1 = (int)110100L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_11_1 110100
+ * }
+ */
+ public static int __TVOS_11_1() {
+ return __TVOS_11_1;
+ }
+ private static final int __TVOS_11_2 = (int)110200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_11_2 110200
+ * }
+ */
+ public static int __TVOS_11_2() {
+ return __TVOS_11_2;
+ }
+ private static final int __TVOS_11_3 = (int)110300L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_11_3 110300
+ * }
+ */
+ public static int __TVOS_11_3() {
+ return __TVOS_11_3;
+ }
+ private static final int __TVOS_11_4 = (int)110400L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_11_4 110400
+ * }
+ */
+ public static int __TVOS_11_4() {
+ return __TVOS_11_4;
+ }
+ private static final int __TVOS_12_0 = (int)120000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_12_0 120000
+ * }
+ */
+ public static int __TVOS_12_0() {
+ return __TVOS_12_0;
+ }
+ private static final int __TVOS_12_1 = (int)120100L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_12_1 120100
+ * }
+ */
+ public static int __TVOS_12_1() {
+ return __TVOS_12_1;
+ }
+ private static final int __TVOS_12_2 = (int)120200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_12_2 120200
+ * }
+ */
+ public static int __TVOS_12_2() {
+ return __TVOS_12_2;
+ }
+ private static final int __TVOS_12_3 = (int)120300L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_12_3 120300
+ * }
+ */
+ public static int __TVOS_12_3() {
+ return __TVOS_12_3;
+ }
+ private static final int __TVOS_12_4 = (int)120400L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_12_4 120400
+ * }
+ */
+ public static int __TVOS_12_4() {
+ return __TVOS_12_4;
+ }
+ private static final int __TVOS_13_0 = (int)130000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_13_0 130000
+ * }
+ */
+ public static int __TVOS_13_0() {
+ return __TVOS_13_0;
+ }
+ private static final int __TVOS_13_2 = (int)130200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_13_2 130200
+ * }
+ */
+ public static int __TVOS_13_2() {
+ return __TVOS_13_2;
+ }
+ private static final int __TVOS_13_3 = (int)130300L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_13_3 130300
+ * }
+ */
+ public static int __TVOS_13_3() {
+ return __TVOS_13_3;
+ }
+ private static final int __TVOS_13_4 = (int)130400L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_13_4 130400
+ * }
+ */
+ public static int __TVOS_13_4() {
+ return __TVOS_13_4;
+ }
+ private static final int __TVOS_14_0 = (int)140000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_14_0 140000
+ * }
+ */
+ public static int __TVOS_14_0() {
+ return __TVOS_14_0;
+ }
+ private static final int __TVOS_14_1 = (int)140100L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_14_1 140100
+ * }
+ */
+ public static int __TVOS_14_1() {
+ return __TVOS_14_1;
+ }
+ private static final int __TVOS_14_2 = (int)140200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_14_2 140200
+ * }
+ */
+ public static int __TVOS_14_2() {
+ return __TVOS_14_2;
+ }
+ private static final int __TVOS_14_3 = (int)140300L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_14_3 140300
+ * }
+ */
+ public static int __TVOS_14_3() {
+ return __TVOS_14_3;
+ }
+ private static final int __TVOS_14_5 = (int)140500L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_14_5 140500
+ * }
+ */
+ public static int __TVOS_14_5() {
+ return __TVOS_14_5;
+ }
+ private static final int __TVOS_14_6 = (int)140600L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_14_6 140600
+ * }
+ */
+ public static int __TVOS_14_6() {
+ return __TVOS_14_6;
+ }
+ private static final int __TVOS_14_7 = (int)140700L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_14_7 140700
+ * }
+ */
+ public static int __TVOS_14_7() {
+ return __TVOS_14_7;
+ }
+ private static final int __TVOS_15_0 = (int)150000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_15_0 150000
+ * }
+ */
+ public static int __TVOS_15_0() {
+ return __TVOS_15_0;
+ }
+ private static final int __TVOS_15_1 = (int)150100L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_15_1 150100
+ * }
+ */
+ public static int __TVOS_15_1() {
+ return __TVOS_15_1;
+ }
+ private static final int __TVOS_15_2 = (int)150200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_15_2 150200
+ * }
+ */
+ public static int __TVOS_15_2() {
+ return __TVOS_15_2;
+ }
+ private static final int __TVOS_15_3 = (int)150300L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_15_3 150300
+ * }
+ */
+ public static int __TVOS_15_3() {
+ return __TVOS_15_3;
+ }
+ private static final int __TVOS_15_4 = (int)150400L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_15_4 150400
+ * }
+ */
+ public static int __TVOS_15_4() {
+ return __TVOS_15_4;
+ }
+ private static final int __TVOS_15_5 = (int)150500L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_15_5 150500
+ * }
+ */
+ public static int __TVOS_15_5() {
+ return __TVOS_15_5;
+ }
+ private static final int __TVOS_15_6 = (int)150600L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_15_6 150600
+ * }
+ */
+ public static int __TVOS_15_6() {
+ return __TVOS_15_6;
+ }
+ private static final int __TVOS_16_0 = (int)160000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_16_0 160000
+ * }
+ */
+ public static int __TVOS_16_0() {
+ return __TVOS_16_0;
+ }
+ private static final int __TVOS_16_1 = (int)160100L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_16_1 160100
+ * }
+ */
+ public static int __TVOS_16_1() {
+ return __TVOS_16_1;
+ }
+ private static final int __TVOS_16_2 = (int)160200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_16_2 160200
+ * }
+ */
+ public static int __TVOS_16_2() {
+ return __TVOS_16_2;
+ }
+ private static final int __TVOS_16_3 = (int)160300L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_16_3 160300
+ * }
+ */
+ public static int __TVOS_16_3() {
+ return __TVOS_16_3;
+ }
+ private static final int __TVOS_16_4 = (int)160400L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_16_4 160400
+ * }
+ */
+ public static int __TVOS_16_4() {
+ return __TVOS_16_4;
+ }
+ private static final int __TVOS_16_5 = (int)160500L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_16_5 160500
+ * }
+ */
+ public static int __TVOS_16_5() {
+ return __TVOS_16_5;
+ }
+ private static final int __TVOS_16_6 = (int)160600L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_16_6 160600
+ * }
+ */
+ public static int __TVOS_16_6() {
+ return __TVOS_16_6;
+ }
+ private static final int __TVOS_17_0 = (int)170000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_17_0 170000
+ * }
+ */
+ public static int __TVOS_17_0() {
+ return __TVOS_17_0;
+ }
+ private static final int __TVOS_17_1 = (int)170100L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_17_1 170100
+ * }
+ */
+ public static int __TVOS_17_1() {
+ return __TVOS_17_1;
+ }
+ private static final int __TVOS_17_2 = (int)170200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_17_2 170200
+ * }
+ */
+ public static int __TVOS_17_2() {
+ return __TVOS_17_2;
+ }
+ private static final int __TVOS_17_3 = (int)170300L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_17_3 170300
+ * }
+ */
+ public static int __TVOS_17_3() {
+ return __TVOS_17_3;
+ }
+ private static final int __TVOS_17_4 = (int)170400L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_17_4 170400
+ * }
+ */
+ public static int __TVOS_17_4() {
+ return __TVOS_17_4;
+ }
+ private static final int __TVOS_17_5 = (int)170500L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_17_5 170500
+ * }
+ */
+ public static int __TVOS_17_5() {
+ return __TVOS_17_5;
+ }
+ private static final int __TVOS_17_6 = (int)170600L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_17_6 170600
+ * }
+ */
+ public static int __TVOS_17_6() {
+ return __TVOS_17_6;
+ }
+ private static final int __TVOS_18_0 = (int)180000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_18_0 180000
+ * }
+ */
+ public static int __TVOS_18_0() {
+ return __TVOS_18_0;
+ }
+ private static final int __TVOS_18_1 = (int)180100L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_18_1 180100
+ * }
+ */
+ public static int __TVOS_18_1() {
+ return __TVOS_18_1;
+ }
+ private static final int __TVOS_18_2 = (int)180200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_18_2 180200
+ * }
+ */
+ public static int __TVOS_18_2() {
+ return __TVOS_18_2;
+ }
+ private static final int __TVOS_18_3 = (int)180300L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_18_3 180300
+ * }
+ */
+ public static int __TVOS_18_3() {
+ return __TVOS_18_3;
+ }
+ private static final int __TVOS_18_4 = (int)180400L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_18_4 180400
+ * }
+ */
+ public static int __TVOS_18_4() {
+ return __TVOS_18_4;
+ }
+ private static final int __TVOS_18_5 = (int)180500L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_18_5 180500
+ * }
+ */
+ public static int __TVOS_18_5() {
+ return __TVOS_18_5;
+ }
+ private static final int __BRIDGEOS_2_0 = (int)20000L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_2_0 20000
+ * }
+ */
+ public static int __BRIDGEOS_2_0() {
+ return __BRIDGEOS_2_0;
+ }
+ private static final int __BRIDGEOS_3_0 = (int)30000L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_3_0 30000
+ * }
+ */
+ public static int __BRIDGEOS_3_0() {
+ return __BRIDGEOS_3_0;
+ }
+ private static final int __BRIDGEOS_3_1 = (int)30100L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_3_1 30100
+ * }
+ */
+ public static int __BRIDGEOS_3_1() {
+ return __BRIDGEOS_3_1;
+ }
+ private static final int __BRIDGEOS_3_4 = (int)30400L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_3_4 30400
+ * }
+ */
+ public static int __BRIDGEOS_3_4() {
+ return __BRIDGEOS_3_4;
+ }
+ private static final int __BRIDGEOS_4_0 = (int)40000L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_4_0 40000
+ * }
+ */
+ public static int __BRIDGEOS_4_0() {
+ return __BRIDGEOS_4_0;
+ }
+ private static final int __BRIDGEOS_4_1 = (int)40100L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_4_1 40100
+ * }
+ */
+ public static int __BRIDGEOS_4_1() {
+ return __BRIDGEOS_4_1;
+ }
+ private static final int __BRIDGEOS_5_0 = (int)50000L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_5_0 50000
+ * }
+ */
+ public static int __BRIDGEOS_5_0() {
+ return __BRIDGEOS_5_0;
+ }
+ private static final int __BRIDGEOS_5_1 = (int)50100L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_5_1 50100
+ * }
+ */
+ public static int __BRIDGEOS_5_1() {
+ return __BRIDGEOS_5_1;
+ }
+ private static final int __BRIDGEOS_5_3 = (int)50300L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_5_3 50300
+ * }
+ */
+ public static int __BRIDGEOS_5_3() {
+ return __BRIDGEOS_5_3;
+ }
+ private static final int __BRIDGEOS_6_0 = (int)60000L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_6_0 60000
+ * }
+ */
+ public static int __BRIDGEOS_6_0() {
+ return __BRIDGEOS_6_0;
+ }
+ private static final int __BRIDGEOS_6_2 = (int)60200L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_6_2 60200
+ * }
+ */
+ public static int __BRIDGEOS_6_2() {
+ return __BRIDGEOS_6_2;
+ }
+ private static final int __BRIDGEOS_6_4 = (int)60400L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_6_4 60400
+ * }
+ */
+ public static int __BRIDGEOS_6_4() {
+ return __BRIDGEOS_6_4;
+ }
+ private static final int __BRIDGEOS_6_5 = (int)60500L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_6_5 60500
+ * }
+ */
+ public static int __BRIDGEOS_6_5() {
+ return __BRIDGEOS_6_5;
+ }
+ private static final int __BRIDGEOS_6_6 = (int)60600L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_6_6 60600
+ * }
+ */
+ public static int __BRIDGEOS_6_6() {
+ return __BRIDGEOS_6_6;
+ }
+ private static final int __BRIDGEOS_7_0 = (int)70000L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_7_0 70000
+ * }
+ */
+ public static int __BRIDGEOS_7_0() {
+ return __BRIDGEOS_7_0;
+ }
+ private static final int __BRIDGEOS_7_1 = (int)70100L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_7_1 70100
+ * }
+ */
+ public static int __BRIDGEOS_7_1() {
+ return __BRIDGEOS_7_1;
+ }
+ private static final int __BRIDGEOS_7_2 = (int)70200L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_7_2 70200
+ * }
+ */
+ public static int __BRIDGEOS_7_2() {
+ return __BRIDGEOS_7_2;
+ }
+ private static final int __BRIDGEOS_7_3 = (int)70300L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_7_3 70300
+ * }
+ */
+ public static int __BRIDGEOS_7_3() {
+ return __BRIDGEOS_7_3;
+ }
+ private static final int __BRIDGEOS_7_4 = (int)70400L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_7_4 70400
+ * }
+ */
+ public static int __BRIDGEOS_7_4() {
+ return __BRIDGEOS_7_4;
+ }
+ private static final int __BRIDGEOS_7_6 = (int)70600L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_7_6 70600
+ * }
+ */
+ public static int __BRIDGEOS_7_6() {
+ return __BRIDGEOS_7_6;
+ }
+ private static final int __BRIDGEOS_8_0 = (int)80000L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_8_0 80000
+ * }
+ */
+ public static int __BRIDGEOS_8_0() {
+ return __BRIDGEOS_8_0;
+ }
+ private static final int __BRIDGEOS_8_1 = (int)80100L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_8_1 80100
+ * }
+ */
+ public static int __BRIDGEOS_8_1() {
+ return __BRIDGEOS_8_1;
+ }
+ private static final int __BRIDGEOS_8_2 = (int)80200L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_8_2 80200
+ * }
+ */
+ public static int __BRIDGEOS_8_2() {
+ return __BRIDGEOS_8_2;
+ }
+ private static final int __BRIDGEOS_8_3 = (int)80300L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_8_3 80300
+ * }
+ */
+ public static int __BRIDGEOS_8_3() {
+ return __BRIDGEOS_8_3;
+ }
+ private static final int __BRIDGEOS_8_4 = (int)80400L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_8_4 80400
+ * }
+ */
+ public static int __BRIDGEOS_8_4() {
+ return __BRIDGEOS_8_4;
+ }
+ private static final int __BRIDGEOS_8_5 = (int)80500L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_8_5 80500
+ * }
+ */
+ public static int __BRIDGEOS_8_5() {
+ return __BRIDGEOS_8_5;
+ }
+ private static final int __BRIDGEOS_8_6 = (int)80600L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_8_6 80600
+ * }
+ */
+ public static int __BRIDGEOS_8_6() {
+ return __BRIDGEOS_8_6;
+ }
+ private static final int __BRIDGEOS_9_0 = (int)90000L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_9_0 90000
+ * }
+ */
+ public static int __BRIDGEOS_9_0() {
+ return __BRIDGEOS_9_0;
+ }
+ private static final int __BRIDGEOS_9_1 = (int)90100L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_9_1 90100
+ * }
+ */
+ public static int __BRIDGEOS_9_1() {
+ return __BRIDGEOS_9_1;
+ }
+ private static final int __BRIDGEOS_9_2 = (int)90200L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_9_2 90200
+ * }
+ */
+ public static int __BRIDGEOS_9_2() {
+ return __BRIDGEOS_9_2;
+ }
+ private static final int __BRIDGEOS_9_3 = (int)90300L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_9_3 90300
+ * }
+ */
+ public static int __BRIDGEOS_9_3() {
+ return __BRIDGEOS_9_3;
+ }
+ private static final int __BRIDGEOS_9_4 = (int)90400L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_9_4 90400
+ * }
+ */
+ public static int __BRIDGEOS_9_4() {
+ return __BRIDGEOS_9_4;
+ }
+ private static final int __BRIDGEOS_9_5 = (int)90500L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_9_5 90500
+ * }
+ */
+ public static int __BRIDGEOS_9_5() {
+ return __BRIDGEOS_9_5;
+ }
+ private static final int __DRIVERKIT_19_0 = (int)190000L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_19_0 190000
+ * }
+ */
+ public static int __DRIVERKIT_19_0() {
+ return __DRIVERKIT_19_0;
+ }
+ private static final int __DRIVERKIT_20_0 = (int)200000L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_20_0 200000
+ * }
+ */
+ public static int __DRIVERKIT_20_0() {
+ return __DRIVERKIT_20_0;
+ }
+ private static final int __DRIVERKIT_21_0 = (int)210000L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_21_0 210000
+ * }
+ */
+ public static int __DRIVERKIT_21_0() {
+ return __DRIVERKIT_21_0;
+ }
+ private static final int __DRIVERKIT_22_0 = (int)220000L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_22_0 220000
+ * }
+ */
+ public static int __DRIVERKIT_22_0() {
+ return __DRIVERKIT_22_0;
+ }
+ private static final int __DRIVERKIT_22_4 = (int)220400L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_22_4 220400
+ * }
+ */
+ public static int __DRIVERKIT_22_4() {
+ return __DRIVERKIT_22_4;
+ }
+ private static final int __DRIVERKIT_22_5 = (int)220500L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_22_5 220500
+ * }
+ */
+ public static int __DRIVERKIT_22_5() {
+ return __DRIVERKIT_22_5;
+ }
+ private static final int __DRIVERKIT_22_6 = (int)220600L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_22_6 220600
+ * }
+ */
+ public static int __DRIVERKIT_22_6() {
+ return __DRIVERKIT_22_6;
+ }
+ private static final int __DRIVERKIT_23_0 = (int)230000L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_23_0 230000
+ * }
+ */
+ public static int __DRIVERKIT_23_0() {
+ return __DRIVERKIT_23_0;
+ }
+ private static final int __DRIVERKIT_23_1 = (int)230100L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_23_1 230100
+ * }
+ */
+ public static int __DRIVERKIT_23_1() {
+ return __DRIVERKIT_23_1;
+ }
+ private static final int __DRIVERKIT_23_2 = (int)230200L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_23_2 230200
+ * }
+ */
+ public static int __DRIVERKIT_23_2() {
+ return __DRIVERKIT_23_2;
+ }
+ private static final int __DRIVERKIT_23_3 = (int)230300L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_23_3 230300
+ * }
+ */
+ public static int __DRIVERKIT_23_3() {
+ return __DRIVERKIT_23_3;
+ }
+ private static final int __DRIVERKIT_23_4 = (int)230400L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_23_4 230400
+ * }
+ */
+ public static int __DRIVERKIT_23_4() {
+ return __DRIVERKIT_23_4;
+ }
+ private static final int __DRIVERKIT_23_5 = (int)230500L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_23_5 230500
+ * }
+ */
+ public static int __DRIVERKIT_23_5() {
+ return __DRIVERKIT_23_5;
+ }
+ private static final int __DRIVERKIT_23_6 = (int)230600L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_23_6 230600
+ * }
+ */
+ public static int __DRIVERKIT_23_6() {
+ return __DRIVERKIT_23_6;
+ }
+ private static final int __DRIVERKIT_24_0 = (int)240000L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_24_0 240000
+ * }
+ */
+ public static int __DRIVERKIT_24_0() {
+ return __DRIVERKIT_24_0;
+ }
+ private static final int __DRIVERKIT_24_1 = (int)240100L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_24_1 240100
+ * }
+ */
+ public static int __DRIVERKIT_24_1() {
+ return __DRIVERKIT_24_1;
+ }
+ private static final int __DRIVERKIT_24_2 = (int)240200L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_24_2 240200
+ * }
+ */
+ public static int __DRIVERKIT_24_2() {
+ return __DRIVERKIT_24_2;
+ }
+ private static final int __DRIVERKIT_24_3 = (int)240300L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_24_3 240300
+ * }
+ */
+ public static int __DRIVERKIT_24_3() {
+ return __DRIVERKIT_24_3;
+ }
+ private static final int __DRIVERKIT_24_4 = (int)240400L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_24_4 240400
+ * }
+ */
+ public static int __DRIVERKIT_24_4() {
+ return __DRIVERKIT_24_4;
+ }
+ private static final int __DRIVERKIT_24_5 = (int)240500L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_24_5 240500
+ * }
+ */
+ public static int __DRIVERKIT_24_5() {
+ return __DRIVERKIT_24_5;
+ }
+ private static final int __VISIONOS_1_0 = (int)10000L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_1_0 10000
+ * }
+ */
+ public static int __VISIONOS_1_0() {
+ return __VISIONOS_1_0;
+ }
+ private static final int __VISIONOS_1_1 = (int)10100L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_1_1 10100
+ * }
+ */
+ public static int __VISIONOS_1_1() {
+ return __VISIONOS_1_1;
+ }
+ private static final int __VISIONOS_1_2 = (int)10200L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_1_2 10200
+ * }
+ */
+ public static int __VISIONOS_1_2() {
+ return __VISIONOS_1_2;
+ }
+ private static final int __VISIONOS_1_3 = (int)10300L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_1_3 10300
+ * }
+ */
+ public static int __VISIONOS_1_3() {
+ return __VISIONOS_1_3;
+ }
+ private static final int __VISIONOS_2_0 = (int)20000L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_2_0 20000
+ * }
+ */
+ public static int __VISIONOS_2_0() {
+ return __VISIONOS_2_0;
+ }
+ private static final int __VISIONOS_2_1 = (int)20100L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_2_1 20100
+ * }
+ */
+ public static int __VISIONOS_2_1() {
+ return __VISIONOS_2_1;
+ }
+ private static final int __VISIONOS_2_2 = (int)20200L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_2_2 20200
+ * }
+ */
+ public static int __VISIONOS_2_2() {
+ return __VISIONOS_2_2;
+ }
+ private static final int __VISIONOS_2_3 = (int)20300L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_2_3 20300
+ * }
+ */
+ public static int __VISIONOS_2_3() {
+ return __VISIONOS_2_3;
+ }
+ private static final int __VISIONOS_2_4 = (int)20400L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_2_4 20400
+ * }
+ */
+ public static int __VISIONOS_2_4() {
+ return __VISIONOS_2_4;
+ }
+ private static final int __VISIONOS_2_5 = (int)20500L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_2_5 20500
+ * }
+ */
+ public static int __VISIONOS_2_5() {
+ return __VISIONOS_2_5;
+ }
+ private static final int __ENABLE_LEGACY_MAC_AVAILABILITY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __ENABLE_LEGACY_MAC_AVAILABILITY 1
+ * }
+ */
+ public static int __ENABLE_LEGACY_MAC_AVAILABILITY() {
+ return __ENABLE_LEGACY_MAC_AVAILABILITY;
+ }
+ private static final int USE_CLANG_TYPES = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define USE_CLANG_TYPES 0
+ * }
+ */
+ public static int USE_CLANG_TYPES() {
+ return USE_CLANG_TYPES;
+ }
+ private static final int __PTHREAD_SIZE__ = (int)8176L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_SIZE__ 8176
+ * }
+ */
+ public static int __PTHREAD_SIZE__() {
+ return __PTHREAD_SIZE__;
+ }
+ private static final int __PTHREAD_ATTR_SIZE__ = (int)56L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_ATTR_SIZE__ 56
+ * }
+ */
+ public static int __PTHREAD_ATTR_SIZE__() {
+ return __PTHREAD_ATTR_SIZE__;
+ }
+ private static final int __PTHREAD_MUTEXATTR_SIZE__ = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_MUTEXATTR_SIZE__ 8
+ * }
+ */
+ public static int __PTHREAD_MUTEXATTR_SIZE__() {
+ return __PTHREAD_MUTEXATTR_SIZE__;
+ }
+ private static final int __PTHREAD_MUTEX_SIZE__ = (int)56L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_MUTEX_SIZE__ 56
+ * }
+ */
+ public static int __PTHREAD_MUTEX_SIZE__() {
+ return __PTHREAD_MUTEX_SIZE__;
+ }
+ private static final int __PTHREAD_CONDATTR_SIZE__ = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_CONDATTR_SIZE__ 8
+ * }
+ */
+ public static int __PTHREAD_CONDATTR_SIZE__() {
+ return __PTHREAD_CONDATTR_SIZE__;
+ }
+ private static final int __PTHREAD_COND_SIZE__ = (int)40L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_COND_SIZE__ 40
+ * }
+ */
+ public static int __PTHREAD_COND_SIZE__() {
+ return __PTHREAD_COND_SIZE__;
+ }
+ private static final int __PTHREAD_ONCE_SIZE__ = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_ONCE_SIZE__ 8
+ * }
+ */
+ public static int __PTHREAD_ONCE_SIZE__() {
+ return __PTHREAD_ONCE_SIZE__;
+ }
+ private static final int __PTHREAD_RWLOCK_SIZE__ = (int)192L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_RWLOCK_SIZE__ 192
+ * }
+ */
+ public static int __PTHREAD_RWLOCK_SIZE__() {
+ return __PTHREAD_RWLOCK_SIZE__;
+ }
+ private static final int __PTHREAD_RWLOCKATTR_SIZE__ = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_RWLOCKATTR_SIZE__ 16
+ * }
+ */
+ public static int __PTHREAD_RWLOCKATTR_SIZE__() {
+ return __PTHREAD_RWLOCKATTR_SIZE__;
+ }
+ private static final int _FORTIFY_SOURCE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define _FORTIFY_SOURCE 2
+ * }
+ */
+ public static int _FORTIFY_SOURCE() {
+ return _FORTIFY_SOURCE;
+ }
+ private static final int USE_CLANG_STDDEF = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define USE_CLANG_STDDEF 0
+ * }
+ */
+ public static int USE_CLANG_STDDEF() {
+ return USE_CLANG_STDDEF;
+ }
+ private static final int __WORDSIZE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define __WORDSIZE 64
+ * }
+ */
+ public static int __WORDSIZE() {
+ return __WORDSIZE;
+ }
+ private static final int INT8_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define INT8_MAX 127
+ * }
+ */
+ public static int INT8_MAX() {
+ return INT8_MAX;
+ }
+ private static final int INT16_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define INT16_MAX 32767
+ * }
+ */
+ public static int INT16_MAX() {
+ return INT16_MAX;
+ }
+ private static final int INT32_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT32_MAX 2147483647
+ * }
+ */
+ public static int INT32_MAX() {
+ return INT32_MAX;
+ }
+ private static final int UINT8_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT8_MAX 255
+ * }
+ */
+ public static int UINT8_MAX() {
+ return UINT8_MAX;
+ }
+ private static final int UINT16_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT16_MAX 65535
+ * }
+ */
+ public static int UINT16_MAX() {
+ return UINT16_MAX;
+ }
+ private static final int __DARWIN_CLK_TCK = (int)100L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_CLK_TCK 100
+ * }
+ */
+ public static int __DARWIN_CLK_TCK() {
+ return __DARWIN_CLK_TCK;
+ }
+ private static final int USE_CLANG_LIMITS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define USE_CLANG_LIMITS 0
+ * }
+ */
+ public static int USE_CLANG_LIMITS() {
+ return USE_CLANG_LIMITS;
+ }
+ private static final int MB_LEN_MAX = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define MB_LEN_MAX 6
+ * }
+ */
+ public static int MB_LEN_MAX() {
+ return MB_LEN_MAX;
+ }
+ private static final int CHAR_BIT = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define CHAR_BIT 8
+ * }
+ */
+ public static int CHAR_BIT() {
+ return CHAR_BIT;
+ }
+ private static final int SCHAR_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define SCHAR_MAX 127
+ * }
+ */
+ public static int SCHAR_MAX() {
+ return SCHAR_MAX;
+ }
+ private static final int UCHAR_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UCHAR_MAX 255
+ * }
+ */
+ public static int UCHAR_MAX() {
+ return UCHAR_MAX;
+ }
+ private static final int CHAR_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define CHAR_MAX 127
+ * }
+ */
+ public static int CHAR_MAX() {
+ return CHAR_MAX;
+ }
+ private static final int USHRT_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define USHRT_MAX 65535
+ * }
+ */
+ public static int USHRT_MAX() {
+ return USHRT_MAX;
+ }
+ private static final int SHRT_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define SHRT_MAX 32767
+ * }
+ */
+ public static int SHRT_MAX() {
+ return SHRT_MAX;
+ }
+ private static final int INT_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_MAX 2147483647
+ * }
+ */
+ public static int INT_MAX() {
+ return INT_MAX;
+ }
+ private static final int LONG_BIT = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_BIT 64
+ * }
+ */
+ public static int LONG_BIT() {
+ return LONG_BIT;
+ }
+ private static final int WORD_BIT = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define WORD_BIT 32
+ * }
+ */
+ public static int WORD_BIT() {
+ return WORD_BIT;
+ }
+ private static final int CHILD_MAX = (int)266L;
+ /**
+ * {@snippet lang=c :
+ * #define CHILD_MAX 266
+ * }
+ */
+ public static int CHILD_MAX() {
+ return CHILD_MAX;
+ }
+ private static final int LINK_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define LINK_MAX 32767
+ * }
+ */
+ public static int LINK_MAX() {
+ return LINK_MAX;
+ }
+ private static final int MAX_CANON = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define MAX_CANON 1024
+ * }
+ */
+ public static int MAX_CANON() {
+ return MAX_CANON;
+ }
+ private static final int MAX_INPUT = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define MAX_INPUT 1024
+ * }
+ */
+ public static int MAX_INPUT() {
+ return MAX_INPUT;
+ }
+ private static final int NAME_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define NAME_MAX 255
+ * }
+ */
+ public static int NAME_MAX() {
+ return NAME_MAX;
+ }
+ private static final int NGROUPS_MAX = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define NGROUPS_MAX 16
+ * }
+ */
+ public static int NGROUPS_MAX() {
+ return NGROUPS_MAX;
+ }
+ private static final int OPEN_MAX = (int)10240L;
+ /**
+ * {@snippet lang=c :
+ * #define OPEN_MAX 10240
+ * }
+ */
+ public static int OPEN_MAX() {
+ return OPEN_MAX;
+ }
+ private static final int PATH_MAX = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define PATH_MAX 1024
+ * }
+ */
+ public static int PATH_MAX() {
+ return PATH_MAX;
+ }
+ private static final int PIPE_BUF = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define PIPE_BUF 512
+ * }
+ */
+ public static int PIPE_BUF() {
+ return PIPE_BUF;
+ }
+ private static final int BC_BASE_MAX = (int)99L;
+ /**
+ * {@snippet lang=c :
+ * #define BC_BASE_MAX 99
+ * }
+ */
+ public static int BC_BASE_MAX() {
+ return BC_BASE_MAX;
+ }
+ private static final int BC_DIM_MAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define BC_DIM_MAX 2048
+ * }
+ */
+ public static int BC_DIM_MAX() {
+ return BC_DIM_MAX;
+ }
+ private static final int BC_SCALE_MAX = (int)99L;
+ /**
+ * {@snippet lang=c :
+ * #define BC_SCALE_MAX 99
+ * }
+ */
+ public static int BC_SCALE_MAX() {
+ return BC_SCALE_MAX;
+ }
+ private static final int BC_STRING_MAX = (int)1000L;
+ /**
+ * {@snippet lang=c :
+ * #define BC_STRING_MAX 1000
+ * }
+ */
+ public static int BC_STRING_MAX() {
+ return BC_STRING_MAX;
+ }
+ private static final int CHARCLASS_NAME_MAX = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define CHARCLASS_NAME_MAX 14
+ * }
+ */
+ public static int CHARCLASS_NAME_MAX() {
+ return CHARCLASS_NAME_MAX;
+ }
+ private static final int COLL_WEIGHTS_MAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define COLL_WEIGHTS_MAX 2
+ * }
+ */
+ public static int COLL_WEIGHTS_MAX() {
+ return COLL_WEIGHTS_MAX;
+ }
+ private static final int EQUIV_CLASS_MAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define EQUIV_CLASS_MAX 2
+ * }
+ */
+ public static int EQUIV_CLASS_MAX() {
+ return EQUIV_CLASS_MAX;
+ }
+ private static final int EXPR_NEST_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define EXPR_NEST_MAX 32
+ * }
+ */
+ public static int EXPR_NEST_MAX() {
+ return EXPR_NEST_MAX;
+ }
+ private static final int LINE_MAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define LINE_MAX 2048
+ * }
+ */
+ public static int LINE_MAX() {
+ return LINE_MAX;
+ }
+ private static final int RE_DUP_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define RE_DUP_MAX 255
+ * }
+ */
+ public static int RE_DUP_MAX() {
+ return RE_DUP_MAX;
+ }
+ private static final int NZERO = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define NZERO 20
+ * }
+ */
+ public static int NZERO() {
+ return NZERO;
+ }
+ private static final int _POSIX_ARG_MAX = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_ARG_MAX 4096
+ * }
+ */
+ public static int _POSIX_ARG_MAX() {
+ return _POSIX_ARG_MAX;
+ }
+ private static final int _POSIX_CHILD_MAX = (int)25L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_CHILD_MAX 25
+ * }
+ */
+ public static int _POSIX_CHILD_MAX() {
+ return _POSIX_CHILD_MAX;
+ }
+ private static final int _POSIX_LINK_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_LINK_MAX 8
+ * }
+ */
+ public static int _POSIX_LINK_MAX() {
+ return _POSIX_LINK_MAX;
+ }
+ private static final int _POSIX_MAX_CANON = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_MAX_CANON 255
+ * }
+ */
+ public static int _POSIX_MAX_CANON() {
+ return _POSIX_MAX_CANON;
+ }
+ private static final int _POSIX_MAX_INPUT = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_MAX_INPUT 255
+ * }
+ */
+ public static int _POSIX_MAX_INPUT() {
+ return _POSIX_MAX_INPUT;
+ }
+ private static final int _POSIX_NAME_MAX = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_NAME_MAX 14
+ * }
+ */
+ public static int _POSIX_NAME_MAX() {
+ return _POSIX_NAME_MAX;
+ }
+ private static final int _POSIX_NGROUPS_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_NGROUPS_MAX 8
+ * }
+ */
+ public static int _POSIX_NGROUPS_MAX() {
+ return _POSIX_NGROUPS_MAX;
+ }
+ private static final int _POSIX_OPEN_MAX = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_OPEN_MAX 20
+ * }
+ */
+ public static int _POSIX_OPEN_MAX() {
+ return _POSIX_OPEN_MAX;
+ }
+ private static final int _POSIX_PATH_MAX = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_PATH_MAX 256
+ * }
+ */
+ public static int _POSIX_PATH_MAX() {
+ return _POSIX_PATH_MAX;
+ }
+ private static final int _POSIX_PIPE_BUF = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_PIPE_BUF 512
+ * }
+ */
+ public static int _POSIX_PIPE_BUF() {
+ return _POSIX_PIPE_BUF;
+ }
+ private static final int _POSIX_SSIZE_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SSIZE_MAX 32767
+ * }
+ */
+ public static int _POSIX_SSIZE_MAX() {
+ return _POSIX_SSIZE_MAX;
+ }
+ private static final int _POSIX_STREAM_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_STREAM_MAX 8
+ * }
+ */
+ public static int _POSIX_STREAM_MAX() {
+ return _POSIX_STREAM_MAX;
+ }
+ private static final int _POSIX_TZNAME_MAX = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TZNAME_MAX 6
+ * }
+ */
+ public static int _POSIX_TZNAME_MAX() {
+ return _POSIX_TZNAME_MAX;
+ }
+ private static final int _POSIX2_BC_BASE_MAX = (int)99L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_BC_BASE_MAX 99
+ * }
+ */
+ public static int _POSIX2_BC_BASE_MAX() {
+ return _POSIX2_BC_BASE_MAX;
+ }
+ private static final int _POSIX2_BC_DIM_MAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_BC_DIM_MAX 2048
+ * }
+ */
+ public static int _POSIX2_BC_DIM_MAX() {
+ return _POSIX2_BC_DIM_MAX;
+ }
+ private static final int _POSIX2_BC_SCALE_MAX = (int)99L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_BC_SCALE_MAX 99
+ * }
+ */
+ public static int _POSIX2_BC_SCALE_MAX() {
+ return _POSIX2_BC_SCALE_MAX;
+ }
+ private static final int _POSIX2_BC_STRING_MAX = (int)1000L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_BC_STRING_MAX 1000
+ * }
+ */
+ public static int _POSIX2_BC_STRING_MAX() {
+ return _POSIX2_BC_STRING_MAX;
+ }
+ private static final int _POSIX2_EQUIV_CLASS_MAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_EQUIV_CLASS_MAX 2
+ * }
+ */
+ public static int _POSIX2_EQUIV_CLASS_MAX() {
+ return _POSIX2_EQUIV_CLASS_MAX;
+ }
+ private static final int _POSIX2_EXPR_NEST_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_EXPR_NEST_MAX 32
+ * }
+ */
+ public static int _POSIX2_EXPR_NEST_MAX() {
+ return _POSIX2_EXPR_NEST_MAX;
+ }
+ private static final int _POSIX2_LINE_MAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_LINE_MAX 2048
+ * }
+ */
+ public static int _POSIX2_LINE_MAX() {
+ return _POSIX2_LINE_MAX;
+ }
+ private static final int _POSIX2_RE_DUP_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_RE_DUP_MAX 255
+ * }
+ */
+ public static int _POSIX2_RE_DUP_MAX() {
+ return _POSIX2_RE_DUP_MAX;
+ }
+ private static final int _POSIX_AIO_LISTIO_MAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_AIO_LISTIO_MAX 2
+ * }
+ */
+ public static int _POSIX_AIO_LISTIO_MAX() {
+ return _POSIX_AIO_LISTIO_MAX;
+ }
+ private static final int _POSIX_AIO_MAX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_AIO_MAX 1
+ * }
+ */
+ public static int _POSIX_AIO_MAX() {
+ return _POSIX_AIO_MAX;
+ }
+ private static final int _POSIX_DELAYTIMER_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_DELAYTIMER_MAX 32
+ * }
+ */
+ public static int _POSIX_DELAYTIMER_MAX() {
+ return _POSIX_DELAYTIMER_MAX;
+ }
+ private static final int _POSIX_MQ_OPEN_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_MQ_OPEN_MAX 8
+ * }
+ */
+ public static int _POSIX_MQ_OPEN_MAX() {
+ return _POSIX_MQ_OPEN_MAX;
+ }
+ private static final int _POSIX_MQ_PRIO_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_MQ_PRIO_MAX 32
+ * }
+ */
+ public static int _POSIX_MQ_PRIO_MAX() {
+ return _POSIX_MQ_PRIO_MAX;
+ }
+ private static final int _POSIX_RTSIG_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_RTSIG_MAX 8
+ * }
+ */
+ public static int _POSIX_RTSIG_MAX() {
+ return _POSIX_RTSIG_MAX;
+ }
+ private static final int _POSIX_SEM_NSEMS_MAX = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SEM_NSEMS_MAX 256
+ * }
+ */
+ public static int _POSIX_SEM_NSEMS_MAX() {
+ return _POSIX_SEM_NSEMS_MAX;
+ }
+ private static final int _POSIX_SEM_VALUE_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SEM_VALUE_MAX 32767
+ * }
+ */
+ public static int _POSIX_SEM_VALUE_MAX() {
+ return _POSIX_SEM_VALUE_MAX;
+ }
+ private static final int _POSIX_SIGQUEUE_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SIGQUEUE_MAX 32
+ * }
+ */
+ public static int _POSIX_SIGQUEUE_MAX() {
+ return _POSIX_SIGQUEUE_MAX;
+ }
+ private static final int _POSIX_TIMER_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TIMER_MAX 32
+ * }
+ */
+ public static int _POSIX_TIMER_MAX() {
+ return _POSIX_TIMER_MAX;
+ }
+ private static final int _POSIX_CLOCKRES_MIN = (int)20000000L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_CLOCKRES_MIN 20000000
+ * }
+ */
+ public static int _POSIX_CLOCKRES_MIN() {
+ return _POSIX_CLOCKRES_MIN;
+ }
+ private static final int _POSIX_THREAD_DESTRUCTOR_ITERATIONS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4
+ * }
+ */
+ public static int _POSIX_THREAD_DESTRUCTOR_ITERATIONS() {
+ return _POSIX_THREAD_DESTRUCTOR_ITERATIONS;
+ }
+ private static final int _POSIX_THREAD_KEYS_MAX = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_THREAD_KEYS_MAX 128
+ * }
+ */
+ public static int _POSIX_THREAD_KEYS_MAX() {
+ return _POSIX_THREAD_KEYS_MAX;
+ }
+ private static final int _POSIX_THREAD_THREADS_MAX = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_THREAD_THREADS_MAX 64
+ * }
+ */
+ public static int _POSIX_THREAD_THREADS_MAX() {
+ return _POSIX_THREAD_THREADS_MAX;
+ }
+ private static final int PTHREAD_DESTRUCTOR_ITERATIONS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define PTHREAD_DESTRUCTOR_ITERATIONS 4
+ * }
+ */
+ public static int PTHREAD_DESTRUCTOR_ITERATIONS() {
+ return PTHREAD_DESTRUCTOR_ITERATIONS;
+ }
+ private static final int PTHREAD_KEYS_MAX = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define PTHREAD_KEYS_MAX 512
+ * }
+ */
+ public static int PTHREAD_KEYS_MAX() {
+ return PTHREAD_KEYS_MAX;
+ }
+ private static final int PTHREAD_STACK_MIN = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define PTHREAD_STACK_MIN 8192
+ * }
+ */
+ public static int PTHREAD_STACK_MIN() {
+ return PTHREAD_STACK_MIN;
+ }
+ private static final int _POSIX_HOST_NAME_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_HOST_NAME_MAX 255
+ * }
+ */
+ public static int _POSIX_HOST_NAME_MAX() {
+ return _POSIX_HOST_NAME_MAX;
+ }
+ private static final int _POSIX_LOGIN_NAME_MAX = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_LOGIN_NAME_MAX 9
+ * }
+ */
+ public static int _POSIX_LOGIN_NAME_MAX() {
+ return _POSIX_LOGIN_NAME_MAX;
+ }
+ private static final int _POSIX_SS_REPL_MAX = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SS_REPL_MAX 4
+ * }
+ */
+ public static int _POSIX_SS_REPL_MAX() {
+ return _POSIX_SS_REPL_MAX;
+ }
+ private static final int _POSIX_SYMLINK_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SYMLINK_MAX 255
+ * }
+ */
+ public static int _POSIX_SYMLINK_MAX() {
+ return _POSIX_SYMLINK_MAX;
+ }
+ private static final int _POSIX_SYMLOOP_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SYMLOOP_MAX 8
+ * }
+ */
+ public static int _POSIX_SYMLOOP_MAX() {
+ return _POSIX_SYMLOOP_MAX;
+ }
+ private static final int _POSIX_TRACE_EVENT_NAME_MAX = (int)30L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TRACE_EVENT_NAME_MAX 30
+ * }
+ */
+ public static int _POSIX_TRACE_EVENT_NAME_MAX() {
+ return _POSIX_TRACE_EVENT_NAME_MAX;
+ }
+ private static final int _POSIX_TRACE_NAME_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TRACE_NAME_MAX 8
+ * }
+ */
+ public static int _POSIX_TRACE_NAME_MAX() {
+ return _POSIX_TRACE_NAME_MAX;
+ }
+ private static final int _POSIX_TRACE_SYS_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TRACE_SYS_MAX 8
+ * }
+ */
+ public static int _POSIX_TRACE_SYS_MAX() {
+ return _POSIX_TRACE_SYS_MAX;
+ }
+ private static final int _POSIX_TRACE_USER_EVENT_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TRACE_USER_EVENT_MAX 32
+ * }
+ */
+ public static int _POSIX_TRACE_USER_EVENT_MAX() {
+ return _POSIX_TRACE_USER_EVENT_MAX;
+ }
+ private static final int _POSIX_TTY_NAME_MAX = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TTY_NAME_MAX 9
+ * }
+ */
+ public static int _POSIX_TTY_NAME_MAX() {
+ return _POSIX_TTY_NAME_MAX;
+ }
+ private static final int _POSIX2_CHARCLASS_NAME_MAX = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_CHARCLASS_NAME_MAX 14
+ * }
+ */
+ public static int _POSIX2_CHARCLASS_NAME_MAX() {
+ return _POSIX2_CHARCLASS_NAME_MAX;
+ }
+ private static final int _POSIX2_COLL_WEIGHTS_MAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_COLL_WEIGHTS_MAX 2
+ * }
+ */
+ public static int _POSIX2_COLL_WEIGHTS_MAX() {
+ return _POSIX2_COLL_WEIGHTS_MAX;
+ }
+ private static final int PASS_MAX = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define PASS_MAX 128
+ * }
+ */
+ public static int PASS_MAX() {
+ return PASS_MAX;
+ }
+ private static final int NL_ARGMAX = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define NL_ARGMAX 9
+ * }
+ */
+ public static int NL_ARGMAX() {
+ return NL_ARGMAX;
+ }
+ private static final int NL_LANGMAX = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define NL_LANGMAX 14
+ * }
+ */
+ public static int NL_LANGMAX() {
+ return NL_LANGMAX;
+ }
+ private static final int NL_MSGMAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define NL_MSGMAX 32767
+ * }
+ */
+ public static int NL_MSGMAX() {
+ return NL_MSGMAX;
+ }
+ private static final int NL_NMAX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define NL_NMAX 1
+ * }
+ */
+ public static int NL_NMAX() {
+ return NL_NMAX;
+ }
+ private static final int NL_SETMAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define NL_SETMAX 255
+ * }
+ */
+ public static int NL_SETMAX() {
+ return NL_SETMAX;
+ }
+ private static final int NL_TEXTMAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define NL_TEXTMAX 2048
+ * }
+ */
+ public static int NL_TEXTMAX() {
+ return NL_TEXTMAX;
+ }
+ private static final int _XOPEN_IOV_MAX = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define _XOPEN_IOV_MAX 16
+ * }
+ */
+ public static int _XOPEN_IOV_MAX() {
+ return _XOPEN_IOV_MAX;
+ }
+ private static final int IOV_MAX = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define IOV_MAX 1024
+ * }
+ */
+ public static int IOV_MAX() {
+ return IOV_MAX;
+ }
+ private static final int _XOPEN_NAME_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _XOPEN_NAME_MAX 255
+ * }
+ */
+ public static int _XOPEN_NAME_MAX() {
+ return _XOPEN_NAME_MAX;
+ }
+ private static final int _XOPEN_PATH_MAX = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define _XOPEN_PATH_MAX 1024
+ * }
+ */
+ public static int _XOPEN_PATH_MAX() {
+ return _XOPEN_PATH_MAX;
+ }
+ private static final int __GNUC_VA_LIST = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __GNUC_VA_LIST 1
+ * }
+ */
+ public static int __GNUC_VA_LIST() {
+ return __GNUC_VA_LIST;
+ }
+ private static final int true_ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define true 1
+ * }
+ */
+ public static int true_() {
+ return true_;
+ }
+ private static final int false_ = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define false 0
+ * }
+ */
+ public static int false_() {
+ return false_;
+ }
+ private static final int __bool_true_false_are_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __bool_true_false_are_defined 1
+ * }
+ */
+ public static int __bool_true_false_are_defined() {
+ return __bool_true_false_are_defined;
+ }
+ private static final int _QUAD_HIGHWORD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _QUAD_HIGHWORD 1
+ * }
+ */
+ public static int _QUAD_HIGHWORD() {
+ return _QUAD_HIGHWORD;
+ }
+ private static final int _QUAD_LOWWORD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _QUAD_LOWWORD 0
+ * }
+ */
+ public static int _QUAD_LOWWORD() {
+ return _QUAD_LOWWORD;
+ }
+ private static final int __DARWIN_LITTLE_ENDIAN = (int)1234L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_LITTLE_ENDIAN 1234
+ * }
+ */
+ public static int __DARWIN_LITTLE_ENDIAN() {
+ return __DARWIN_LITTLE_ENDIAN;
+ }
+ private static final int __DARWIN_BIG_ENDIAN = (int)4321L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_BIG_ENDIAN 4321
+ * }
+ */
+ public static int __DARWIN_BIG_ENDIAN() {
+ return __DARWIN_BIG_ENDIAN;
+ }
+ private static final int __DARWIN_PDP_ENDIAN = (int)3412L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_PDP_ENDIAN 3412
+ * }
+ */
+ public static int __DARWIN_PDP_ENDIAN() {
+ return __DARWIN_PDP_ENDIAN;
+ }
+ private static final int __DARWIN_FD_SETSIZE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_FD_SETSIZE 1024
+ * }
+ */
+ public static int __DARWIN_FD_SETSIZE() {
+ return __DARWIN_FD_SETSIZE;
+ }
+ private static final int __DARWIN_NBBY = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_NBBY 8
+ * }
+ */
+ public static int __DARWIN_NBBY() {
+ return __DARWIN_NBBY;
+ }
+ private static final int H5_VERS_MAJOR = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_MAJOR 2
+ * }
+ */
+ public static int H5_VERS_MAJOR() {
+ return H5_VERS_MAJOR;
+ }
+ private static final int H5_VERS_MINOR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_MINOR 0
+ * }
+ */
+ public static int H5_VERS_MINOR() {
+ return H5_VERS_MINOR;
+ }
+ private static final int H5_VERS_RELEASE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_RELEASE 0
+ * }
+ */
+ public static int H5_VERS_RELEASE() {
+ return H5_VERS_RELEASE;
+ }
+ private static final int H5_SIZEOF_HSIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HSIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HSIZE_T() {
+ return H5_SIZEOF_HSIZE_T;
+ }
+ private static final int H5_SIZEOF_HSSIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HSSIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HSSIZE_T() {
+ return H5_SIZEOF_HSSIZE_T;
+ }
+ private static final int H5_SIZEOF_HADDR_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HADDR_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HADDR_T() {
+ return H5_SIZEOF_HADDR_T;
+ }
+ private static final int H5_HAVE_BUILTIN_EXPECT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_BUILTIN_EXPECT 1
+ * }
+ */
+ public static int H5_HAVE_BUILTIN_EXPECT() {
+ return H5_HAVE_BUILTIN_EXPECT;
+ }
+ private static final int H5O_SHMESG_NONE_FLAG = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_NONE_FLAG 0
+ * }
+ */
+ public static int H5O_SHMESG_NONE_FLAG() {
+ return H5O_SHMESG_NONE_FLAG;
+ }
+ private static final int H5O_HDR_CHUNK0_SIZE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_CHUNK0_SIZE 3
+ * }
+ */
+ public static int H5O_HDR_CHUNK0_SIZE() {
+ return H5O_HDR_CHUNK0_SIZE;
+ }
+ private static final int H5O_HDR_ATTR_CRT_ORDER_TRACKED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ATTR_CRT_ORDER_TRACKED 4
+ * }
+ */
+ public static int H5O_HDR_ATTR_CRT_ORDER_TRACKED() {
+ return H5O_HDR_ATTR_CRT_ORDER_TRACKED;
+ }
+ private static final int H5O_HDR_ATTR_CRT_ORDER_INDEXED = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ATTR_CRT_ORDER_INDEXED 8
+ * }
+ */
+ public static int H5O_HDR_ATTR_CRT_ORDER_INDEXED() {
+ return H5O_HDR_ATTR_CRT_ORDER_INDEXED;
+ }
+ private static final int H5O_HDR_ATTR_STORE_PHASE_CHANGE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ATTR_STORE_PHASE_CHANGE 16
+ * }
+ */
+ public static int H5O_HDR_ATTR_STORE_PHASE_CHANGE() {
+ return H5O_HDR_ATTR_STORE_PHASE_CHANGE;
+ }
+ private static final int H5O_HDR_STORE_TIMES = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_STORE_TIMES 32
+ * }
+ */
+ public static int H5O_HDR_STORE_TIMES() {
+ return H5O_HDR_STORE_TIMES;
+ }
+ private static final int H5O_SHMESG_MAX_NINDEXES = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_MAX_NINDEXES 8
+ * }
+ */
+ public static int H5O_SHMESG_MAX_NINDEXES() {
+ return H5O_SHMESG_MAX_NINDEXES;
+ }
+ private static final int H5O_SHMESG_MAX_LIST_SIZE = (int)5000L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_MAX_LIST_SIZE 5000
+ * }
+ */
+ public static int H5O_SHMESG_MAX_LIST_SIZE() {
+ return H5O_SHMESG_MAX_LIST_SIZE;
+ }
+ private static final int H5T_OPAQUE_TAG_MAX = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_OPAQUE_TAG_MAX 256
+ * }
+ */
+ public static int H5T_OPAQUE_TAG_MAX() {
+ return H5T_OPAQUE_TAG_MAX;
+ }
+ private static final int H5AC__CURR_CACHE_CONFIG_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CURR_CACHE_CONFIG_VERSION 1
+ * }
+ */
+ public static int H5AC__CURR_CACHE_CONFIG_VERSION() {
+ return H5AC__CURR_CACHE_CONFIG_VERSION;
+ }
+ private static final int H5AC__MAX_TRACE_FILE_NAME_LEN = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__MAX_TRACE_FILE_NAME_LEN 1024
+ * }
+ */
+ public static int H5AC__MAX_TRACE_FILE_NAME_LEN() {
+ return H5AC__MAX_TRACE_FILE_NAME_LEN;
+ }
+ private static final int H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY 0
+ * }
+ */
+ public static int H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY() {
+ return H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY;
+ }
+ private static final int H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED 1
+ * }
+ */
+ public static int H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED() {
+ return H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED;
+ }
+ private static final int H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION 1
+ * }
+ */
+ public static int H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION() {
+ return H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION;
+ }
+ private static final int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX = (int)100L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX 100
+ * }
+ */
+ public static int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX() {
+ return H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX;
+ }
+ private static final int USE_CLANG_STDARG = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define USE_CLANG_STDARG 0
+ * }
+ */
+ public static int USE_CLANG_STDARG() {
+ return USE_CLANG_STDARG;
+ }
+ private static final int RENAME_SECLUDE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define RENAME_SECLUDE 1
+ * }
+ */
+ public static int RENAME_SECLUDE() {
+ return RENAME_SECLUDE;
+ }
+ private static final int RENAME_SWAP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define RENAME_SWAP 2
+ * }
+ */
+ public static int RENAME_SWAP() {
+ return RENAME_SWAP;
+ }
+ private static final int RENAME_EXCL = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define RENAME_EXCL 4
+ * }
+ */
+ public static int RENAME_EXCL() {
+ return RENAME_EXCL;
+ }
+ private static final int RENAME_RESERVED1 = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define RENAME_RESERVED1 8
+ * }
+ */
+ public static int RENAME_RESERVED1() {
+ return RENAME_RESERVED1;
+ }
+ private static final int RENAME_NOFOLLOW_ANY = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define RENAME_NOFOLLOW_ANY 16
+ * }
+ */
+ public static int RENAME_NOFOLLOW_ANY() {
+ return RENAME_NOFOLLOW_ANY;
+ }
+ private static final int SEEK_SET = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_SET 0
+ * }
+ */
+ public static int SEEK_SET() {
+ return SEEK_SET;
+ }
+ private static final int SEEK_CUR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_CUR 1
+ * }
+ */
+ public static int SEEK_CUR() {
+ return SEEK_CUR;
+ }
+ private static final int SEEK_END = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_END 2
+ * }
+ */
+ public static int SEEK_END() {
+ return SEEK_END;
+ }
+ private static final int SEEK_HOLE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_HOLE 3
+ * }
+ */
+ public static int SEEK_HOLE() {
+ return SEEK_HOLE;
+ }
+ private static final int SEEK_DATA = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_DATA 4
+ * }
+ */
+ public static int SEEK_DATA() {
+ return SEEK_DATA;
+ }
+ private static final int __SLBF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __SLBF 1
+ * }
+ */
+ public static int __SLBF() {
+ return __SLBF;
+ }
+ private static final int __SNBF = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define __SNBF 2
+ * }
+ */
+ public static int __SNBF() {
+ return __SNBF;
+ }
+ private static final int __SRD = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define __SRD 4
+ * }
+ */
+ public static int __SRD() {
+ return __SRD;
+ }
+ private static final int __SWR = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define __SWR 8
+ * }
+ */
+ public static int __SWR() {
+ return __SWR;
+ }
+ private static final int __SRW = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define __SRW 16
+ * }
+ */
+ public static int __SRW() {
+ return __SRW;
+ }
+ private static final int __SEOF = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define __SEOF 32
+ * }
+ */
+ public static int __SEOF() {
+ return __SEOF;
+ }
+ private static final int __SERR = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define __SERR 64
+ * }
+ */
+ public static int __SERR() {
+ return __SERR;
+ }
+ private static final int __SMBF = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define __SMBF 128
+ * }
+ */
+ public static int __SMBF() {
+ return __SMBF;
+ }
+ private static final int __SAPP = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define __SAPP 256
+ * }
+ */
+ public static int __SAPP() {
+ return __SAPP;
+ }
+ private static final int __SSTR = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define __SSTR 512
+ * }
+ */
+ public static int __SSTR() {
+ return __SSTR;
+ }
+ private static final int __SOPT = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define __SOPT 1024
+ * }
+ */
+ public static int __SOPT() {
+ return __SOPT;
+ }
+ private static final int __SNPT = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define __SNPT 2048
+ * }
+ */
+ public static int __SNPT() {
+ return __SNPT;
+ }
+ private static final int __SOFF = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define __SOFF 4096
+ * }
+ */
+ public static int __SOFF() {
+ return __SOFF;
+ }
+ private static final int __SMOD = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define __SMOD 8192
+ * }
+ */
+ public static int __SMOD() {
+ return __SMOD;
+ }
+ private static final int __SALC = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define __SALC 16384
+ * }
+ */
+ public static int __SALC() {
+ return __SALC;
+ }
+ private static final int __SIGN = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIGN 32768
+ * }
+ */
+ public static int __SIGN() {
+ return __SIGN;
+ }
+ private static final int _IOFBF = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _IOFBF 0
+ * }
+ */
+ public static int _IOFBF() {
+ return _IOFBF;
+ }
+ private static final int _IOLBF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _IOLBF 1
+ * }
+ */
+ public static int _IOLBF() {
+ return _IOLBF;
+ }
+ private static final int _IONBF = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define _IONBF 2
+ * }
+ */
+ public static int _IONBF() {
+ return _IONBF;
+ }
+ private static final int BUFSIZ = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define BUFSIZ 1024
+ * }
+ */
+ public static int BUFSIZ() {
+ return BUFSIZ;
+ }
+ private static final int FOPEN_MAX = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define FOPEN_MAX 20
+ * }
+ */
+ public static int FOPEN_MAX() {
+ return FOPEN_MAX;
+ }
+ private static final int FILENAME_MAX = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define FILENAME_MAX 1024
+ * }
+ */
+ public static int FILENAME_MAX() {
+ return FILENAME_MAX;
+ }
+ private static final int L_tmpnam = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define L_tmpnam 1024
+ * }
+ */
+ public static int L_tmpnam() {
+ return L_tmpnam;
+ }
+ private static final int TMP_MAX = (int)308915776L;
+ /**
+ * {@snippet lang=c :
+ * #define TMP_MAX 308915776
+ * }
+ */
+ public static int TMP_MAX() {
+ return TMP_MAX;
+ }
+ private static final int L_ctermid = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define L_ctermid 1024
+ * }
+ */
+ public static int L_ctermid() {
+ return L_ctermid;
+ }
+ private static final int _USE_FORTIFY_LEVEL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define _USE_FORTIFY_LEVEL 2
+ * }
+ */
+ public static int _USE_FORTIFY_LEVEL() {
+ return _USE_FORTIFY_LEVEL;
+ }
+ private static final int H5E_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5E_DEFAULT 0
+ * }
+ */
+ public static int H5E_DEFAULT() {
+ return H5E_DEFAULT;
+ }
+ private static final int H5ES_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5ES_NONE 0
+ * }
+ */
+ public static int H5ES_NONE() {
+ return H5ES_NONE;
+ }
+ private static final int H5F_FAMILY_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_FAMILY_DEFAULT 0
+ * }
+ */
+ public static int H5F_FAMILY_DEFAULT() {
+ return H5F_FAMILY_DEFAULT;
+ }
+ private static final int H5F_NUM_METADATA_READ_RETRY_TYPES = (int)21L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_NUM_METADATA_READ_RETRY_TYPES 21
+ * }
+ */
+ public static int H5F_NUM_METADATA_READ_RETRY_TYPES() {
+ return H5F_NUM_METADATA_READ_RETRY_TYPES;
+ }
+ private static final int H5FD_VFD_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_VFD_DEFAULT 0
+ * }
+ */
+ public static int H5FD_VFD_DEFAULT() {
+ return H5FD_VFD_DEFAULT;
+ }
+ private static final int H5_VFD_RESERVED = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_RESERVED 256
+ * }
+ */
+ public static int H5_VFD_RESERVED() {
+ return H5_VFD_RESERVED;
+ }
+ private static final int H5_VFD_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MAX 65535
+ * }
+ */
+ public static int H5_VFD_MAX() {
+ return H5_VFD_MAX;
+ }
+ private static final int H5FD_FEAT_AGGREGATE_METADATA = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_AGGREGATE_METADATA 1
+ * }
+ */
+ public static int H5FD_FEAT_AGGREGATE_METADATA() {
+ return H5FD_FEAT_AGGREGATE_METADATA;
+ }
+ private static final int H5FD_FEAT_ACCUMULATE_METADATA_WRITE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ACCUMULATE_METADATA_WRITE 2
+ * }
+ */
+ public static int H5FD_FEAT_ACCUMULATE_METADATA_WRITE() {
+ return H5FD_FEAT_ACCUMULATE_METADATA_WRITE;
+ }
+ private static final int H5FD_FEAT_ACCUMULATE_METADATA_READ = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ACCUMULATE_METADATA_READ 4
+ * }
+ */
+ public static int H5FD_FEAT_ACCUMULATE_METADATA_READ() {
+ return H5FD_FEAT_ACCUMULATE_METADATA_READ;
+ }
+ private static final int H5FD_FEAT_DATA_SIEVE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_DATA_SIEVE 8
+ * }
+ */
+ public static int H5FD_FEAT_DATA_SIEVE() {
+ return H5FD_FEAT_DATA_SIEVE;
+ }
+ private static final int H5FD_FEAT_AGGREGATE_SMALLDATA = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_AGGREGATE_SMALLDATA 16
+ * }
+ */
+ public static int H5FD_FEAT_AGGREGATE_SMALLDATA() {
+ return H5FD_FEAT_AGGREGATE_SMALLDATA;
+ }
+ private static final int H5FD_FEAT_IGNORE_DRVRINFO = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_IGNORE_DRVRINFO 32
+ * }
+ */
+ public static int H5FD_FEAT_IGNORE_DRVRINFO() {
+ return H5FD_FEAT_IGNORE_DRVRINFO;
+ }
+ private static final int H5FD_FEAT_DIRTY_DRVRINFO_LOAD = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_DIRTY_DRVRINFO_LOAD 64
+ * }
+ */
+ public static int H5FD_FEAT_DIRTY_DRVRINFO_LOAD() {
+ return H5FD_FEAT_DIRTY_DRVRINFO_LOAD;
+ }
+ private static final int H5FD_FEAT_POSIX_COMPAT_HANDLE = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_POSIX_COMPAT_HANDLE 128
+ * }
+ */
+ public static int H5FD_FEAT_POSIX_COMPAT_HANDLE() {
+ return H5FD_FEAT_POSIX_COMPAT_HANDLE;
+ }
+ private static final int H5FD_FEAT_HAS_MPI = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_HAS_MPI 256
+ * }
+ */
+ public static int H5FD_FEAT_HAS_MPI() {
+ return H5FD_FEAT_HAS_MPI;
+ }
+ private static final int H5FD_FEAT_ALLOCATE_EARLY = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ALLOCATE_EARLY 512
+ * }
+ */
+ public static int H5FD_FEAT_ALLOCATE_EARLY() {
+ return H5FD_FEAT_ALLOCATE_EARLY;
+ }
+ private static final int H5FD_FEAT_ALLOW_FILE_IMAGE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ALLOW_FILE_IMAGE 1024
+ * }
+ */
+ public static int H5FD_FEAT_ALLOW_FILE_IMAGE() {
+ return H5FD_FEAT_ALLOW_FILE_IMAGE;
+ }
+ private static final int H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS 2048
+ * }
+ */
+ public static int H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS() {
+ return H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS;
+ }
+ private static final int H5FD_FEAT_SUPPORTS_SWMR_IO = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_SUPPORTS_SWMR_IO 4096
+ * }
+ */
+ public static int H5FD_FEAT_SUPPORTS_SWMR_IO() {
+ return H5FD_FEAT_SUPPORTS_SWMR_IO;
+ }
+ private static final int H5FD_FEAT_USE_ALLOC_SIZE = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_USE_ALLOC_SIZE 8192
+ * }
+ */
+ public static int H5FD_FEAT_USE_ALLOC_SIZE() {
+ return H5FD_FEAT_USE_ALLOC_SIZE;
+ }
+ private static final int H5FD_FEAT_PAGED_AGGR = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_PAGED_AGGR 16384
+ * }
+ */
+ public static int H5FD_FEAT_PAGED_AGGR() {
+ return H5FD_FEAT_PAGED_AGGR;
+ }
+ private static final int H5FD_FEAT_DEFAULT_VFD_COMPATIBLE = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_DEFAULT_VFD_COMPATIBLE 32768
+ * }
+ */
+ public static int H5FD_FEAT_DEFAULT_VFD_COMPATIBLE() {
+ return H5FD_FEAT_DEFAULT_VFD_COMPATIBLE;
+ }
+ private static final int H5FD_FEAT_MEMMANAGE = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_MEMMANAGE 65536
+ * }
+ */
+ public static int H5FD_FEAT_MEMMANAGE() {
+ return H5FD_FEAT_MEMMANAGE;
+ }
+ private static final int H5FD_CTL_OPC_RESERVED = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_OPC_RESERVED 512
+ * }
+ */
+ public static int H5FD_CTL_OPC_RESERVED() {
+ return H5FD_CTL_OPC_RESERVED;
+ }
+ private static final int H5FD_CTL_INVALID_OPCODE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_INVALID_OPCODE 0
+ * }
+ */
+ public static int H5FD_CTL_INVALID_OPCODE() {
+ return H5FD_CTL_INVALID_OPCODE;
+ }
+ private static final int H5FD_CTL_TEST_OPCODE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_TEST_OPCODE 1
+ * }
+ */
+ public static int H5FD_CTL_TEST_OPCODE() {
+ return H5FD_CTL_TEST_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE 2
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE() {
+ return H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_INFO_OPCODE = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_INFO_OPCODE 9
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_INFO_OPCODE() {
+ return H5FD_CTL_GET_MPI_INFO_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_RANK_OPCODE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_RANK_OPCODE 3
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_RANK_OPCODE() {
+ return H5FD_CTL_GET_MPI_RANK_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_SIZE_OPCODE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_SIZE_OPCODE 4
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_SIZE_OPCODE() {
+ return H5FD_CTL_GET_MPI_SIZE_OPCODE;
+ }
+ private static final int H5FD_CTL_MEM_ALLOC = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_MEM_ALLOC 5
+ * }
+ */
+ public static int H5FD_CTL_MEM_ALLOC() {
+ return H5FD_CTL_MEM_ALLOC;
+ }
+ private static final int H5FD_CTL_MEM_FREE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_MEM_FREE 6
+ * }
+ */
+ public static int H5FD_CTL_MEM_FREE() {
+ return H5FD_CTL_MEM_FREE;
+ }
+ private static final int H5FD_CTL_MEM_COPY = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_MEM_COPY 7
+ * }
+ */
+ public static int H5FD_CTL_MEM_COPY() {
+ return H5FD_CTL_MEM_COPY;
+ }
+ private static final int H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE 8
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE() {
+ return H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE;
+ }
+ private static final int H5FD_CTL_FAIL_IF_UNKNOWN_FLAG = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_FAIL_IF_UNKNOWN_FLAG 1
+ * }
+ */
+ public static int H5FD_CTL_FAIL_IF_UNKNOWN_FLAG() {
+ return H5FD_CTL_FAIL_IF_UNKNOWN_FLAG;
+ }
+ private static final int H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG 2
+ * }
+ */
+ public static int H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG() {
+ return H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG;
+ }
+ private static final int H5L_SAME_LOC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_SAME_LOC 0
+ * }
+ */
+ public static int H5L_SAME_LOC() {
+ return H5L_SAME_LOC;
+ }
+ private static final int H5G_NTYPES = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_NTYPES 256
+ * }
+ */
+ public static int H5G_NTYPES() {
+ return H5G_NTYPES;
+ }
+ private static final int H5G_NLIBTYPES = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_NLIBTYPES 8
+ * }
+ */
+ public static int H5G_NLIBTYPES() {
+ return H5G_NLIBTYPES;
+ }
+ private static final int H5VL_VERSION = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_VERSION 3
+ * }
+ */
+ public static int H5VL_VERSION() {
+ return H5VL_VERSION;
+ }
+ private static final int H5_VOL_NATIVE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_NATIVE 0
+ * }
+ */
+ public static int H5_VOL_NATIVE() {
+ return H5_VOL_NATIVE;
+ }
+ private static final int H5_VOL_RESERVED = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_RESERVED 256
+ * }
+ */
+ public static int H5_VOL_RESERVED() {
+ return H5_VOL_RESERVED;
+ }
+ private static final int H5_VOL_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_MAX 65535
+ * }
+ */
+ public static int H5_VOL_MAX() {
+ return H5_VOL_MAX;
+ }
+ private static final int H5VL_CAP_FLAG_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_NONE 0
+ * }
+ */
+ public static int H5VL_CAP_FLAG_NONE() {
+ return H5VL_CAP_FLAG_NONE;
+ }
+ private static final int H5VL_CAP_FLAG_THREADSAFE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_THREADSAFE 1
+ * }
+ */
+ public static int H5VL_CAP_FLAG_THREADSAFE() {
+ return H5VL_CAP_FLAG_THREADSAFE;
+ }
+ private static final int H5VL_CAP_FLAG_ASYNC = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ASYNC 2
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ASYNC() {
+ return H5VL_CAP_FLAG_ASYNC;
+ }
+ private static final int H5VL_CAP_FLAG_NATIVE_FILES = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_NATIVE_FILES 4
+ * }
+ */
+ public static int H5VL_CAP_FLAG_NATIVE_FILES() {
+ return H5VL_CAP_FLAG_NATIVE_FILES;
+ }
+ private static final int H5VL_CAP_FLAG_ATTR_BASIC = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ATTR_BASIC 8
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ATTR_BASIC() {
+ return H5VL_CAP_FLAG_ATTR_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_ATTR_MORE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ATTR_MORE 16
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ATTR_MORE() {
+ return H5VL_CAP_FLAG_ATTR_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_DATASET_BASIC = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_DATASET_BASIC 32
+ * }
+ */
+ public static int H5VL_CAP_FLAG_DATASET_BASIC() {
+ return H5VL_CAP_FLAG_DATASET_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_DATASET_MORE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_DATASET_MORE 64
+ * }
+ */
+ public static int H5VL_CAP_FLAG_DATASET_MORE() {
+ return H5VL_CAP_FLAG_DATASET_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_FILE_BASIC = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILE_BASIC 128
+ * }
+ */
+ public static int H5VL_CAP_FLAG_FILE_BASIC() {
+ return H5VL_CAP_FLAG_FILE_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_FILE_MORE = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILE_MORE 256
+ * }
+ */
+ public static int H5VL_CAP_FLAG_FILE_MORE() {
+ return H5VL_CAP_FLAG_FILE_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_GROUP_BASIC = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_GROUP_BASIC 512
+ * }
+ */
+ public static int H5VL_CAP_FLAG_GROUP_BASIC() {
+ return H5VL_CAP_FLAG_GROUP_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_GROUP_MORE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_GROUP_MORE 1024
+ * }
+ */
+ public static int H5VL_CAP_FLAG_GROUP_MORE() {
+ return H5VL_CAP_FLAG_GROUP_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_LINK_BASIC = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_LINK_BASIC 2048
+ * }
+ */
+ public static int H5VL_CAP_FLAG_LINK_BASIC() {
+ return H5VL_CAP_FLAG_LINK_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_LINK_MORE = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_LINK_MORE 4096
+ * }
+ */
+ public static int H5VL_CAP_FLAG_LINK_MORE() {
+ return H5VL_CAP_FLAG_LINK_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_MAP_BASIC = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_MAP_BASIC 8192
+ * }
+ */
+ public static int H5VL_CAP_FLAG_MAP_BASIC() {
+ return H5VL_CAP_FLAG_MAP_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_MAP_MORE = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_MAP_MORE 16384
+ * }
+ */
+ public static int H5VL_CAP_FLAG_MAP_MORE() {
+ return H5VL_CAP_FLAG_MAP_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_OBJECT_BASIC = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_OBJECT_BASIC 32768
+ * }
+ */
+ public static int H5VL_CAP_FLAG_OBJECT_BASIC() {
+ return H5VL_CAP_FLAG_OBJECT_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_OBJECT_MORE = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_OBJECT_MORE 65536
+ * }
+ */
+ public static int H5VL_CAP_FLAG_OBJECT_MORE() {
+ return H5VL_CAP_FLAG_OBJECT_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_REF_BASIC = (int)131072L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_REF_BASIC 131072
+ * }
+ */
+ public static int H5VL_CAP_FLAG_REF_BASIC() {
+ return H5VL_CAP_FLAG_REF_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_REF_MORE = (int)262144L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_REF_MORE 262144
+ * }
+ */
+ public static int H5VL_CAP_FLAG_REF_MORE() {
+ return H5VL_CAP_FLAG_REF_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_OBJ_REF = (int)524288L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_OBJ_REF 524288
+ * }
+ */
+ public static int H5VL_CAP_FLAG_OBJ_REF() {
+ return H5VL_CAP_FLAG_OBJ_REF;
+ }
+ private static final int H5VL_CAP_FLAG_REG_REF = (int)1048576L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_REG_REF 1048576
+ * }
+ */
+ public static int H5VL_CAP_FLAG_REG_REF() {
+ return H5VL_CAP_FLAG_REG_REF;
+ }
+ private static final int H5VL_CAP_FLAG_ATTR_REF = (int)2097152L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ATTR_REF 2097152
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ATTR_REF() {
+ return H5VL_CAP_FLAG_ATTR_REF;
+ }
+ private static final int H5VL_CAP_FLAG_STORED_DATATYPES = (int)4194304L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_STORED_DATATYPES 4194304
+ * }
+ */
+ public static int H5VL_CAP_FLAG_STORED_DATATYPES() {
+ return H5VL_CAP_FLAG_STORED_DATATYPES;
+ }
+ private static final int H5VL_CAP_FLAG_CREATION_ORDER = (int)8388608L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_CREATION_ORDER 8388608
+ * }
+ */
+ public static int H5VL_CAP_FLAG_CREATION_ORDER() {
+ return H5VL_CAP_FLAG_CREATION_ORDER;
+ }
+ private static final int H5VL_CAP_FLAG_ITERATE = (int)16777216L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ITERATE 16777216
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ITERATE() {
+ return H5VL_CAP_FLAG_ITERATE;
+ }
+ private static final int H5VL_CAP_FLAG_STORAGE_SIZE = (int)33554432L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_STORAGE_SIZE 33554432
+ * }
+ */
+ public static int H5VL_CAP_FLAG_STORAGE_SIZE() {
+ return H5VL_CAP_FLAG_STORAGE_SIZE;
+ }
+ private static final int H5VL_CAP_FLAG_BY_IDX = (int)67108864L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_BY_IDX 67108864
+ * }
+ */
+ public static int H5VL_CAP_FLAG_BY_IDX() {
+ return H5VL_CAP_FLAG_BY_IDX;
+ }
+ private static final int H5VL_CAP_FLAG_GET_PLIST = (int)134217728L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_GET_PLIST 134217728
+ * }
+ */
+ public static int H5VL_CAP_FLAG_GET_PLIST() {
+ return H5VL_CAP_FLAG_GET_PLIST;
+ }
+ private static final int H5VL_CAP_FLAG_FLUSH_REFRESH = (int)268435456L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FLUSH_REFRESH 268435456
+ * }
+ */
+ public static int H5VL_CAP_FLAG_FLUSH_REFRESH() {
+ return H5VL_CAP_FLAG_FLUSH_REFRESH;
+ }
+ private static final int H5VL_CAP_FLAG_EXTERNAL_LINKS = (int)536870912L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_EXTERNAL_LINKS 536870912
+ * }
+ */
+ public static int H5VL_CAP_FLAG_EXTERNAL_LINKS() {
+ return H5VL_CAP_FLAG_EXTERNAL_LINKS;
+ }
+ private static final int H5VL_CAP_FLAG_HARD_LINKS = (int)1073741824L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_HARD_LINKS 1073741824
+ * }
+ */
+ public static int H5VL_CAP_FLAG_HARD_LINKS() {
+ return H5VL_CAP_FLAG_HARD_LINKS;
+ }
+ private static final int H5VL_OPT_QUERY_SUPPORTED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_SUPPORTED 1
+ * }
+ */
+ public static int H5VL_OPT_QUERY_SUPPORTED() {
+ return H5VL_OPT_QUERY_SUPPORTED;
+ }
+ private static final int H5VL_OPT_QUERY_READ_DATA = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_READ_DATA 2
+ * }
+ */
+ public static int H5VL_OPT_QUERY_READ_DATA() {
+ return H5VL_OPT_QUERY_READ_DATA;
+ }
+ private static final int H5VL_OPT_QUERY_WRITE_DATA = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_WRITE_DATA 4
+ * }
+ */
+ public static int H5VL_OPT_QUERY_WRITE_DATA() {
+ return H5VL_OPT_QUERY_WRITE_DATA;
+ }
+ private static final int H5VL_OPT_QUERY_QUERY_METADATA = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_QUERY_METADATA 8
+ * }
+ */
+ public static int H5VL_OPT_QUERY_QUERY_METADATA() {
+ return H5VL_OPT_QUERY_QUERY_METADATA;
+ }
+ private static final int H5VL_OPT_QUERY_MODIFY_METADATA = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_MODIFY_METADATA 16
+ * }
+ */
+ public static int H5VL_OPT_QUERY_MODIFY_METADATA() {
+ return H5VL_OPT_QUERY_MODIFY_METADATA;
+ }
+ private static final int H5VL_OPT_QUERY_COLLECTIVE = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_COLLECTIVE 32
+ * }
+ */
+ public static int H5VL_OPT_QUERY_COLLECTIVE() {
+ return H5VL_OPT_QUERY_COLLECTIVE;
+ }
+ private static final int H5VL_OPT_QUERY_NO_ASYNC = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_NO_ASYNC 64
+ * }
+ */
+ public static int H5VL_OPT_QUERY_NO_ASYNC() {
+ return H5VL_OPT_QUERY_NO_ASYNC;
+ }
+ private static final int H5VL_OPT_QUERY_MULTI_OBJ = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_MULTI_OBJ 128
+ * }
+ */
+ public static int H5VL_OPT_QUERY_MULTI_OBJ() {
+ return H5VL_OPT_QUERY_MULTI_OBJ;
+ }
+ private static final int H5VL_CONTAINER_INFO_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CONTAINER_INFO_VERSION 1
+ * }
+ */
+ public static int H5VL_CONTAINER_INFO_VERSION() {
+ return H5VL_CONTAINER_INFO_VERSION;
+ }
+ private static final int H5VL_RESERVED_NATIVE_OPTIONAL = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_RESERVED_NATIVE_OPTIONAL 1024
+ * }
+ */
+ public static int H5VL_RESERVED_NATIVE_OPTIONAL() {
+ return H5VL_RESERVED_NATIVE_OPTIONAL;
+ }
+ private static final int H5VL_MAP_CREATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_CREATE 1
+ * }
+ */
+ public static int H5VL_MAP_CREATE() {
+ return H5VL_MAP_CREATE;
+ }
+ private static final int H5VL_MAP_OPEN = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_OPEN 2
+ * }
+ */
+ public static int H5VL_MAP_OPEN() {
+ return H5VL_MAP_OPEN;
+ }
+ private static final int H5VL_MAP_GET_VAL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_GET_VAL 3
+ * }
+ */
+ public static int H5VL_MAP_GET_VAL() {
+ return H5VL_MAP_GET_VAL;
+ }
+ private static final int H5VL_MAP_EXISTS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_EXISTS 4
+ * }
+ */
+ public static int H5VL_MAP_EXISTS() {
+ return H5VL_MAP_EXISTS;
+ }
+ private static final int H5VL_MAP_PUT = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_PUT 5
+ * }
+ */
+ public static int H5VL_MAP_PUT() {
+ return H5VL_MAP_PUT;
+ }
+ private static final int H5VL_MAP_GET = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_GET 6
+ * }
+ */
+ public static int H5VL_MAP_GET() {
+ return H5VL_MAP_GET;
+ }
+ private static final int H5VL_MAP_SPECIFIC = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_SPECIFIC 7
+ * }
+ */
+ public static int H5VL_MAP_SPECIFIC() {
+ return H5VL_MAP_SPECIFIC;
+ }
+ private static final int H5VL_MAP_OPTIONAL = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_OPTIONAL 8
+ * }
+ */
+ public static int H5VL_MAP_OPTIONAL() {
+ return H5VL_MAP_OPTIONAL;
+ }
+ private static final int H5VL_MAP_CLOSE = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_CLOSE 9
+ * }
+ */
+ public static int H5VL_MAP_CLOSE() {
+ return H5VL_MAP_CLOSE;
+ }
+ private static final int H5S_ALL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_ALL 0
+ * }
+ */
+ public static int H5S_ALL() {
+ return H5S_ALL;
+ }
+ private static final int H5S_BLOCK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_BLOCK 1
+ * }
+ */
+ public static int H5S_BLOCK() {
+ return H5S_BLOCK;
+ }
+ private static final int H5S_PLIST = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_PLIST 2
+ * }
+ */
+ public static int H5S_PLIST() {
+ return H5S_PLIST;
+ }
+ private static final int H5S_MAX_RANK = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_MAX_RANK 32
+ * }
+ */
+ public static int H5S_MAX_RANK() {
+ return H5S_MAX_RANK;
+ }
+ private static final int H5S_SEL_ITER_GET_SEQ_LIST_SORTED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_SEL_ITER_GET_SEQ_LIST_SORTED 1
+ * }
+ */
+ public static int H5S_SEL_ITER_GET_SEQ_LIST_SORTED() {
+ return H5S_SEL_ITER_GET_SEQ_LIST_SORTED;
+ }
+ private static final int H5S_SEL_ITER_SHARE_WITH_DATASPACE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_SEL_ITER_SHARE_WITH_DATASPACE 2
+ * }
+ */
+ public static int H5S_SEL_ITER_SHARE_WITH_DATASPACE() {
+ return H5S_SEL_ITER_SHARE_WITH_DATASPACE;
+ }
+ private static final int H5Z_FILTER_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_NONE 0
+ * }
+ */
+ public static int H5Z_FILTER_NONE() {
+ return H5Z_FILTER_NONE;
+ }
+ private static final int H5Z_FILTER_DEFLATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_DEFLATE 1
+ * }
+ */
+ public static int H5Z_FILTER_DEFLATE() {
+ return H5Z_FILTER_DEFLATE;
+ }
+ private static final int H5Z_FILTER_SHUFFLE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_SHUFFLE 2
+ * }
+ */
+ public static int H5Z_FILTER_SHUFFLE() {
+ return H5Z_FILTER_SHUFFLE;
+ }
+ private static final int H5Z_FILTER_FLETCHER32 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_FLETCHER32 3
+ * }
+ */
+ public static int H5Z_FILTER_FLETCHER32() {
+ return H5Z_FILTER_FLETCHER32;
+ }
+ private static final int H5Z_FILTER_SZIP = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_SZIP 4
+ * }
+ */
+ public static int H5Z_FILTER_SZIP() {
+ return H5Z_FILTER_SZIP;
+ }
+ private static final int H5Z_FILTER_NBIT = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_NBIT 5
+ * }
+ */
+ public static int H5Z_FILTER_NBIT() {
+ return H5Z_FILTER_NBIT;
+ }
+ private static final int H5Z_FILTER_SCALEOFFSET = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_SCALEOFFSET 6
+ * }
+ */
+ public static int H5Z_FILTER_SCALEOFFSET() {
+ return H5Z_FILTER_SCALEOFFSET;
+ }
+ private static final int H5Z_FILTER_RESERVED = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_RESERVED 256
+ * }
+ */
+ public static int H5Z_FILTER_RESERVED() {
+ return H5Z_FILTER_RESERVED;
+ }
+ private static final int H5Z_FILTER_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_MAX 65535
+ * }
+ */
+ public static int H5Z_FILTER_MAX() {
+ return H5Z_FILTER_MAX;
+ }
+ private static final int H5Z_FILTER_ALL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_ALL 0
+ * }
+ */
+ public static int H5Z_FILTER_ALL() {
+ return H5Z_FILTER_ALL;
+ }
+ private static final int H5Z_MAX_NFILTERS = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_MAX_NFILTERS 32
+ * }
+ */
+ public static int H5Z_MAX_NFILTERS() {
+ return H5Z_MAX_NFILTERS;
+ }
+ private static final int H5Z_FLAG_DEFMASK = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_DEFMASK 255
+ * }
+ */
+ public static int H5Z_FLAG_DEFMASK() {
+ return H5Z_FLAG_DEFMASK;
+ }
+ private static final int H5Z_FLAG_MANDATORY = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_MANDATORY 0
+ * }
+ */
+ public static int H5Z_FLAG_MANDATORY() {
+ return H5Z_FLAG_MANDATORY;
+ }
+ private static final int H5Z_FLAG_OPTIONAL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_OPTIONAL 1
+ * }
+ */
+ public static int H5Z_FLAG_OPTIONAL() {
+ return H5Z_FLAG_OPTIONAL;
+ }
+ private static final int H5Z_FLAG_INVMASK = (int)65280L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_INVMASK 65280
+ * }
+ */
+ public static int H5Z_FLAG_INVMASK() {
+ return H5Z_FLAG_INVMASK;
+ }
+ private static final int H5Z_FLAG_REVERSE = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_REVERSE 256
+ * }
+ */
+ public static int H5Z_FLAG_REVERSE() {
+ return H5Z_FLAG_REVERSE;
+ }
+ private static final int H5Z_FLAG_SKIP_EDC = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_SKIP_EDC 512
+ * }
+ */
+ public static int H5Z_FLAG_SKIP_EDC() {
+ return H5Z_FLAG_SKIP_EDC;
+ }
+ private static final int H5_SZIP_ALLOW_K13_OPTION_MASK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_ALLOW_K13_OPTION_MASK 1
+ * }
+ */
+ public static int H5_SZIP_ALLOW_K13_OPTION_MASK() {
+ return H5_SZIP_ALLOW_K13_OPTION_MASK;
+ }
+ private static final int H5_SZIP_CHIP_OPTION_MASK = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_CHIP_OPTION_MASK 2
+ * }
+ */
+ public static int H5_SZIP_CHIP_OPTION_MASK() {
+ return H5_SZIP_CHIP_OPTION_MASK;
+ }
+ private static final int H5_SZIP_EC_OPTION_MASK = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_EC_OPTION_MASK 4
+ * }
+ */
+ public static int H5_SZIP_EC_OPTION_MASK() {
+ return H5_SZIP_EC_OPTION_MASK;
+ }
+ private static final int H5_SZIP_NN_OPTION_MASK = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_NN_OPTION_MASK 32
+ * }
+ */
+ public static int H5_SZIP_NN_OPTION_MASK() {
+ return H5_SZIP_NN_OPTION_MASK;
+ }
+ private static final int H5_SZIP_MAX_PIXELS_PER_BLOCK = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_MAX_PIXELS_PER_BLOCK 32
+ * }
+ */
+ public static int H5_SZIP_MAX_PIXELS_PER_BLOCK() {
+ return H5_SZIP_MAX_PIXELS_PER_BLOCK;
+ }
+ private static final int H5Z_SHUFFLE_USER_NPARMS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SHUFFLE_USER_NPARMS 0
+ * }
+ */
+ public static int H5Z_SHUFFLE_USER_NPARMS() {
+ return H5Z_SHUFFLE_USER_NPARMS;
+ }
+ private static final int H5Z_SHUFFLE_TOTAL_NPARMS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SHUFFLE_TOTAL_NPARMS 1
+ * }
+ */
+ public static int H5Z_SHUFFLE_TOTAL_NPARMS() {
+ return H5Z_SHUFFLE_TOTAL_NPARMS;
+ }
+ private static final int H5Z_SZIP_USER_NPARMS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_USER_NPARMS 2
+ * }
+ */
+ public static int H5Z_SZIP_USER_NPARMS() {
+ return H5Z_SZIP_USER_NPARMS;
+ }
+ private static final int H5Z_SZIP_TOTAL_NPARMS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_TOTAL_NPARMS 4
+ * }
+ */
+ public static int H5Z_SZIP_TOTAL_NPARMS() {
+ return H5Z_SZIP_TOTAL_NPARMS;
+ }
+ private static final int H5Z_SZIP_PARM_MASK = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_MASK 0
+ * }
+ */
+ public static int H5Z_SZIP_PARM_MASK() {
+ return H5Z_SZIP_PARM_MASK;
+ }
+ private static final int H5Z_SZIP_PARM_PPB = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_PPB 1
+ * }
+ */
+ public static int H5Z_SZIP_PARM_PPB() {
+ return H5Z_SZIP_PARM_PPB;
+ }
+ private static final int H5Z_SZIP_PARM_BPP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_BPP 2
+ * }
+ */
+ public static int H5Z_SZIP_PARM_BPP() {
+ return H5Z_SZIP_PARM_BPP;
+ }
+ private static final int H5Z_SZIP_PARM_PPS = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_PPS 3
+ * }
+ */
+ public static int H5Z_SZIP_PARM_PPS() {
+ return H5Z_SZIP_PARM_PPS;
+ }
+ private static final int H5Z_NBIT_USER_NPARMS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_NBIT_USER_NPARMS 0
+ * }
+ */
+ public static int H5Z_NBIT_USER_NPARMS() {
+ return H5Z_NBIT_USER_NPARMS;
+ }
+ private static final int H5Z_SCALEOFFSET_USER_NPARMS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SCALEOFFSET_USER_NPARMS 2
+ * }
+ */
+ public static int H5Z_SCALEOFFSET_USER_NPARMS() {
+ return H5Z_SCALEOFFSET_USER_NPARMS;
+ }
+ private static final int H5Z_SO_INT_MINBITS_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SO_INT_MINBITS_DEFAULT 0
+ * }
+ */
+ public static int H5Z_SO_INT_MINBITS_DEFAULT() {
+ return H5Z_SO_INT_MINBITS_DEFAULT;
+ }
+ private static final int H5P_CRT_ORDER_TRACKED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5P_CRT_ORDER_TRACKED 1
+ * }
+ */
+ public static int H5P_CRT_ORDER_TRACKED() {
+ return H5P_CRT_ORDER_TRACKED;
+ }
+ private static final int H5P_CRT_ORDER_INDEXED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5P_CRT_ORDER_INDEXED 2
+ * }
+ */
+ public static int H5P_CRT_ORDER_INDEXED() {
+ return H5P_CRT_ORDER_INDEXED;
+ }
+ private static final int H5P_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5P_DEFAULT 0
+ * }
+ */
+ public static int H5P_DEFAULT() {
+ return H5P_DEFAULT;
+ }
+ private static final int H5PL_FILTER_PLUGIN = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_FILTER_PLUGIN 1
+ * }
+ */
+ public static int H5PL_FILTER_PLUGIN() {
+ return H5PL_FILTER_PLUGIN;
+ }
+ private static final int H5PL_VOL_PLUGIN = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_VOL_PLUGIN 2
+ * }
+ */
+ public static int H5PL_VOL_PLUGIN() {
+ return H5PL_VOL_PLUGIN;
+ }
+ private static final int H5PL_VFD_PLUGIN = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_VFD_PLUGIN 4
+ * }
+ */
+ public static int H5PL_VFD_PLUGIN() {
+ return H5PL_VFD_PLUGIN;
+ }
+ private static final int H5PL_ALL_PLUGIN = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_ALL_PLUGIN 65535
+ * }
+ */
+ public static int H5PL_ALL_PLUGIN() {
+ return H5PL_ALL_PLUGIN;
+ }
+ private static final int H5FD_CLASS_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CLASS_VERSION 1
+ * }
+ */
+ public static int H5FD_CLASS_VERSION() {
+ return H5FD_CLASS_VERSION;
+ }
+ private static final int H5L_LINK_CLASS_T_VERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_LINK_CLASS_T_VERS 1
+ * }
+ */
+ public static int H5L_LINK_CLASS_T_VERS() {
+ return H5L_LINK_CLASS_T_VERS;
+ }
+ private static final int H5L_EXT_VERSION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_EXT_VERSION 0
+ * }
+ */
+ public static int H5L_EXT_VERSION() {
+ return H5L_EXT_VERSION;
+ }
+ private static final int H5L_EXT_FLAGS_ALL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_EXT_FLAGS_ALL 0
+ * }
+ */
+ public static int H5L_EXT_FLAGS_ALL() {
+ return H5L_EXT_FLAGS_ALL;
+ }
+ private static final int H5L_LINK_CLASS_T_VERS_0 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_LINK_CLASS_T_VERS_0 0
+ * }
+ */
+ public static int H5L_LINK_CLASS_T_VERS_0() {
+ return H5L_LINK_CLASS_T_VERS_0;
+ }
+ private static final int H5VL_NATIVE_VERSION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_VERSION 0
+ * }
+ */
+ public static int H5VL_NATIVE_VERSION() {
+ return H5VL_NATIVE_VERSION;
+ }
+ private static final int H5VL_NATIVE_ATTR_ITERATE_OLD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_ATTR_ITERATE_OLD 0
+ * }
+ */
+ public static int H5VL_NATIVE_ATTR_ITERATE_OLD() {
+ return H5VL_NATIVE_ATTR_ITERATE_OLD;
+ }
+ private static final int H5VL_NATIVE_DATASET_FORMAT_CONVERT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_FORMAT_CONVERT 0
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_FORMAT_CONVERT() {
+ return H5VL_NATIVE_DATASET_FORMAT_CONVERT;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE 1
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE 2
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_NUM_CHUNKS = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_NUM_CHUNKS 3
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_NUM_CHUNKS() {
+ return H5VL_NATIVE_DATASET_GET_NUM_CHUNKS;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX 4
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD 5
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD;
+ }
+ private static final int H5VL_NATIVE_DATASET_CHUNK_READ = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_CHUNK_READ 6
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_CHUNK_READ() {
+ return H5VL_NATIVE_DATASET_CHUNK_READ;
+ }
+ private static final int H5VL_NATIVE_DATASET_CHUNK_WRITE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_CHUNK_WRITE 7
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_CHUNK_WRITE() {
+ return H5VL_NATIVE_DATASET_CHUNK_WRITE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE 8
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE() {
+ return H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_OFFSET = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_OFFSET 9
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_OFFSET() {
+ return H5VL_NATIVE_DATASET_GET_OFFSET;
+ }
+ private static final int H5VL_NATIVE_DATASET_CHUNK_ITER = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_CHUNK_ITER 10
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_CHUNK_ITER() {
+ return H5VL_NATIVE_DATASET_CHUNK_ITER;
+ }
+ private static final int H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE 0
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE() {
+ return H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_FILE_IMAGE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_FILE_IMAGE 1
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_FILE_IMAGE() {
+ return H5VL_NATIVE_FILE_GET_FILE_IMAGE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_FREE_SECTIONS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_FREE_SECTIONS 2
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_FREE_SECTIONS() {
+ return H5VL_NATIVE_FILE_GET_FREE_SECTIONS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_FREE_SPACE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_FREE_SPACE 3
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_FREE_SPACE() {
+ return H5VL_NATIVE_FILE_GET_FREE_SPACE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_INFO = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_INFO 4
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_INFO() {
+ return H5VL_NATIVE_FILE_GET_INFO;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_CONF = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_CONF 5
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_CONF() {
+ return H5VL_NATIVE_FILE_GET_MDC_CONF;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_HR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_HR 6
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_HR() {
+ return H5VL_NATIVE_FILE_GET_MDC_HR;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_SIZE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_SIZE 7
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_SIZE() {
+ return H5VL_NATIVE_FILE_GET_MDC_SIZE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_SIZE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_SIZE 8
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_SIZE() {
+ return H5VL_NATIVE_FILE_GET_SIZE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_VFD_HANDLE = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_VFD_HANDLE 9
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_VFD_HANDLE() {
+ return H5VL_NATIVE_FILE_GET_VFD_HANDLE;
+ }
+ private static final int H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE 10
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE() {
+ return H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE;
+ }
+ private static final int H5VL_NATIVE_FILE_SET_MDC_CONFIG = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_SET_MDC_CONFIG 11
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_SET_MDC_CONFIG() {
+ return H5VL_NATIVE_FILE_SET_MDC_CONFIG;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO 12
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO() {
+ return H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO;
+ }
+ private static final int H5VL_NATIVE_FILE_START_SWMR_WRITE = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_START_SWMR_WRITE 13
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_START_SWMR_WRITE() {
+ return H5VL_NATIVE_FILE_START_SWMR_WRITE;
+ }
+ private static final int H5VL_NATIVE_FILE_START_MDC_LOGGING = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_START_MDC_LOGGING 14
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_START_MDC_LOGGING() {
+ return H5VL_NATIVE_FILE_START_MDC_LOGGING;
+ }
+ private static final int H5VL_NATIVE_FILE_STOP_MDC_LOGGING = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_STOP_MDC_LOGGING 15
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_STOP_MDC_LOGGING() {
+ return H5VL_NATIVE_FILE_STOP_MDC_LOGGING;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS 16
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS() {
+ return H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS;
+ }
+ private static final int H5VL_NATIVE_FILE_FORMAT_CONVERT = (int)17L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_FORMAT_CONVERT 17
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_FORMAT_CONVERT() {
+ return H5VL_NATIVE_FILE_FORMAT_CONVERT;
+ }
+ private static final int H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS = (int)18L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS 18
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS() {
+ return H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS = (int)19L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS 19
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS() {
+ return H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO 20
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO() {
+ return H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_EOA = (int)21L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_EOA 21
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_EOA() {
+ return H5VL_NATIVE_FILE_GET_EOA;
+ }
+ private static final int H5VL_NATIVE_FILE_INCR_FILESIZE = (int)22L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_INCR_FILESIZE 22
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_INCR_FILESIZE() {
+ return H5VL_NATIVE_FILE_INCR_FILESIZE;
+ }
+ private static final int H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS = (int)23L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS 23
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS() {
+ return H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG = (int)24L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG 24
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG() {
+ return H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG;
+ }
+ private static final int H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG = (int)25L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG 25
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG() {
+ return H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG;
+ }
+ private static final int H5VL_NATIVE_FILE_POST_OPEN = (int)28L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_POST_OPEN 28
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_POST_OPEN() {
+ return H5VL_NATIVE_FILE_POST_OPEN;
+ }
+ private static final int H5VL_NATIVE_GROUP_ITERATE_OLD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_GROUP_ITERATE_OLD 0
+ * }
+ */
+ public static int H5VL_NATIVE_GROUP_ITERATE_OLD() {
+ return H5VL_NATIVE_GROUP_ITERATE_OLD;
+ }
+ private static final int H5VL_NATIVE_GROUP_GET_OBJINFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_GROUP_GET_OBJINFO 1
+ * }
+ */
+ public static int H5VL_NATIVE_GROUP_GET_OBJINFO() {
+ return H5VL_NATIVE_GROUP_GET_OBJINFO;
+ }
+ private static final int H5VL_NATIVE_OBJECT_GET_COMMENT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_GET_COMMENT 0
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_GET_COMMENT() {
+ return H5VL_NATIVE_OBJECT_GET_COMMENT;
+ }
+ private static final int H5VL_NATIVE_OBJECT_SET_COMMENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_SET_COMMENT 1
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_SET_COMMENT() {
+ return H5VL_NATIVE_OBJECT_SET_COMMENT;
+ }
+ private static final int H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES 2
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES() {
+ return H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES;
+ }
+ private static final int H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES 3
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES() {
+ return H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES;
+ }
+ private static final int H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED 4
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED() {
+ return H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED;
+ }
+ private static final int H5VL_NATIVE_OBJECT_GET_NATIVE_INFO = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_GET_NATIVE_INFO 5
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_GET_NATIVE_INFO() {
+ return H5VL_NATIVE_OBJECT_GET_NATIVE_INFO;
+ }
+ private static final int MBOUNDARY_DEF = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define MBOUNDARY_DEF 4096
+ * }
+ */
+ public static int MBOUNDARY_DEF() {
+ return MBOUNDARY_DEF;
+ }
+ private static final int FBSIZE_DEF = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define FBSIZE_DEF 4096
+ * }
+ */
+ public static int FBSIZE_DEF() {
+ return FBSIZE_DEF;
+ }
+ private static final int H5FD_LOG_TRUNCATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TRUNCATE 1
+ * }
+ */
+ public static int H5FD_LOG_TRUNCATE() {
+ return H5FD_LOG_TRUNCATE;
+ }
+ private static final int H5FD_LOG_LOC_READ = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_READ 2
+ * }
+ */
+ public static int H5FD_LOG_LOC_READ() {
+ return H5FD_LOG_LOC_READ;
+ }
+ private static final int H5FD_LOG_LOC_WRITE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_WRITE 4
+ * }
+ */
+ public static int H5FD_LOG_LOC_WRITE() {
+ return H5FD_LOG_LOC_WRITE;
+ }
+ private static final int H5FD_LOG_LOC_SEEK = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_SEEK 8
+ * }
+ */
+ public static int H5FD_LOG_LOC_SEEK() {
+ return H5FD_LOG_LOC_SEEK;
+ }
+ private static final int H5FD_LOG_FILE_READ = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FILE_READ 16
+ * }
+ */
+ public static int H5FD_LOG_FILE_READ() {
+ return H5FD_LOG_FILE_READ;
+ }
+ private static final int H5FD_LOG_FILE_WRITE = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FILE_WRITE 32
+ * }
+ */
+ public static int H5FD_LOG_FILE_WRITE() {
+ return H5FD_LOG_FILE_WRITE;
+ }
+ private static final int H5FD_LOG_FLAVOR = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FLAVOR 64
+ * }
+ */
+ public static int H5FD_LOG_FLAVOR() {
+ return H5FD_LOG_FLAVOR;
+ }
+ private static final int H5FD_LOG_NUM_READ = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_READ 128
+ * }
+ */
+ public static int H5FD_LOG_NUM_READ() {
+ return H5FD_LOG_NUM_READ;
+ }
+ private static final int H5FD_LOG_NUM_WRITE = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_WRITE 256
+ * }
+ */
+ public static int H5FD_LOG_NUM_WRITE() {
+ return H5FD_LOG_NUM_WRITE;
+ }
+ private static final int H5FD_LOG_NUM_SEEK = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_SEEK 512
+ * }
+ */
+ public static int H5FD_LOG_NUM_SEEK() {
+ return H5FD_LOG_NUM_SEEK;
+ }
+ private static final int H5FD_LOG_NUM_TRUNCATE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_TRUNCATE 1024
+ * }
+ */
+ public static int H5FD_LOG_NUM_TRUNCATE() {
+ return H5FD_LOG_NUM_TRUNCATE;
+ }
+ private static final int H5FD_LOG_TIME_OPEN = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_OPEN 2048
+ * }
+ */
+ public static int H5FD_LOG_TIME_OPEN() {
+ return H5FD_LOG_TIME_OPEN;
+ }
+ private static final int H5FD_LOG_TIME_STAT = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_STAT 4096
+ * }
+ */
+ public static int H5FD_LOG_TIME_STAT() {
+ return H5FD_LOG_TIME_STAT;
+ }
+ private static final int H5FD_LOG_TIME_READ = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_READ 8192
+ * }
+ */
+ public static int H5FD_LOG_TIME_READ() {
+ return H5FD_LOG_TIME_READ;
+ }
+ private static final int H5FD_LOG_TIME_WRITE = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_WRITE 16384
+ * }
+ */
+ public static int H5FD_LOG_TIME_WRITE() {
+ return H5FD_LOG_TIME_WRITE;
+ }
+ private static final int H5FD_LOG_TIME_SEEK = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_SEEK 32768
+ * }
+ */
+ public static int H5FD_LOG_TIME_SEEK() {
+ return H5FD_LOG_TIME_SEEK;
+ }
+ private static final int H5FD_LOG_TIME_TRUNCATE = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_TRUNCATE 65536
+ * }
+ */
+ public static int H5FD_LOG_TIME_TRUNCATE() {
+ return H5FD_LOG_TIME_TRUNCATE;
+ }
+ private static final int H5FD_LOG_TIME_CLOSE = (int)131072L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_CLOSE 131072
+ * }
+ */
+ public static int H5FD_LOG_TIME_CLOSE() {
+ return H5FD_LOG_TIME_CLOSE;
+ }
+ private static final int H5FD_LOG_ALLOC = (int)262144L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_ALLOC 262144
+ * }
+ */
+ public static int H5FD_LOG_ALLOC() {
+ return H5FD_LOG_ALLOC;
+ }
+ private static final int H5FD_LOG_FREE = (int)524288L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FREE 524288
+ * }
+ */
+ public static int H5FD_LOG_FREE() {
+ return H5FD_LOG_FREE;
+ }
+ private static final int H5D_ONE_LINK_CHUNK_IO_THRESHOLD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_ONE_LINK_CHUNK_IO_THRESHOLD 0
+ * }
+ */
+ public static int H5D_ONE_LINK_CHUNK_IO_THRESHOLD() {
+ return H5D_ONE_LINK_CHUNK_IO_THRESHOLD;
+ }
+ private static final int H5D_MULTI_CHUNK_IO_COL_THRESHOLD = (int)60L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_MULTI_CHUNK_IO_COL_THRESHOLD 60
+ * }
+ */
+ public static int H5D_MULTI_CHUNK_IO_COL_THRESHOLD() {
+ return H5D_MULTI_CHUNK_IO_COL_THRESHOLD;
+ }
+ private static final int H5FD_ONION_FAPL_INFO_VERSION_CURR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_VERSION_CURR 1
+ * }
+ */
+ public static int H5FD_ONION_FAPL_INFO_VERSION_CURR() {
+ return H5FD_ONION_FAPL_INFO_VERSION_CURR;
+ }
+ private static final int H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN 255
+ * }
+ */
+ public static int H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN() {
+ return H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN;
+ }
+ private static final int H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION 1
+ * }
+ */
+ public static int H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION() {
+ return H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION;
+ }
+ private static final int H5FD_SPLITTER_PATH_MAX = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SPLITTER_PATH_MAX 4096
+ * }
+ */
+ public static int H5FD_SPLITTER_PATH_MAX() {
+ return H5FD_SPLITTER_PATH_MAX;
+ }
+ private static final int H5FD_SPLITTER_MAGIC = (int)730949760L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SPLITTER_MAGIC 730949760
+ * }
+ */
+ public static int H5FD_SPLITTER_MAGIC() {
+ return H5FD_SPLITTER_MAGIC;
+ }
+ private static final int H5VL_PASSTHRU_VALUE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_PASSTHRU_VALUE 1
+ * }
+ */
+ public static int H5VL_PASSTHRU_VALUE() {
+ return H5VL_PASSTHRU_VALUE;
+ }
+ private static final int H5VL_PASSTHRU_VERSION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_PASSTHRU_VERSION 0
+ * }
+ */
+ public static int H5VL_PASSTHRU_VERSION() {
+ return H5VL_PASSTHRU_VERSION;
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef signed char __int8_t
+ * }
+ */
+ public static final OfByte __int8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char __uint8_t
+ * }
+ */
+ public static final OfByte __uint8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef short __int16_t
+ * }
+ */
+ public static final OfShort __int16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short __uint16_t
+ * }
+ */
+ public static final OfShort __uint16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef int __int32_t
+ * }
+ */
+ public static final OfInt __int32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __uint32_t
+ * }
+ */
+ public static final OfInt __uint32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long long __int64_t
+ * }
+ */
+ public static final OfLong __int64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long __uint64_t
+ * }
+ */
+ public static final OfLong __uint64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __darwin_intptr_t
+ * }
+ */
+ public static final OfLong __darwin_intptr_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __darwin_natural_t
+ * }
+ */
+ public static final OfInt __darwin_natural_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int __darwin_ct_rune_t
+ * }
+ */
+ public static final OfInt __darwin_ct_rune_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long __darwin_ptrdiff_t
+ * }
+ */
+ public static final OfLong __darwin_ptrdiff_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __darwin_size_t
+ * }
+ */
+ public static final OfLong __darwin_size_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int __darwin_wchar_t
+ * }
+ */
+ public static final OfInt __darwin_wchar_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_wchar_t __darwin_rune_t
+ * }
+ */
+ public static final OfInt __darwin_rune_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int __darwin_wint_t
+ * }
+ */
+ public static final OfInt __darwin_wint_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __darwin_clock_t
+ * }
+ */
+ public static final OfLong __darwin_clock_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t __darwin_socklen_t
+ * }
+ */
+ public static final OfInt __darwin_socklen_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long __darwin_ssize_t
+ * }
+ */
+ public static final OfLong __darwin_ssize_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __darwin_time_t
+ * }
+ */
+ public static final OfLong __darwin_time_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __int64_t __darwin_blkcnt_t
+ * }
+ */
+ public static final OfLong __darwin_blkcnt_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __int32_t __darwin_blksize_t
+ * }
+ */
+ public static final OfInt __darwin_blksize_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int32_t __darwin_dev_t
+ * }
+ */
+ public static final OfInt __darwin_dev_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __darwin_fsblkcnt_t
+ * }
+ */
+ public static final OfInt __darwin_fsblkcnt_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __darwin_fsfilcnt_t
+ * }
+ */
+ public static final OfInt __darwin_fsfilcnt_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t __darwin_gid_t
+ * }
+ */
+ public static final OfInt __darwin_gid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t __darwin_id_t
+ * }
+ */
+ public static final OfInt __darwin_id_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint64_t __darwin_ino64_t
+ * }
+ */
+ public static final OfLong __darwin_ino64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_ino64_t __darwin_ino_t
+ * }
+ */
+ public static final OfLong __darwin_ino_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_natural_t __darwin_mach_port_name_t
+ * }
+ */
+ public static final OfInt __darwin_mach_port_name_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_mach_port_name_t __darwin_mach_port_t
+ * }
+ */
+ public static final OfInt __darwin_mach_port_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint16_t __darwin_mode_t
+ * }
+ */
+ public static final OfShort __darwin_mode_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int64_t __darwin_off_t
+ * }
+ */
+ public static final OfLong __darwin_off_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __int32_t __darwin_pid_t
+ * }
+ */
+ public static final OfInt __darwin_pid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t __darwin_sigset_t
+ * }
+ */
+ public static final OfInt __darwin_sigset_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int32_t __darwin_suseconds_t
+ * }
+ */
+ public static final OfInt __darwin_suseconds_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t __darwin_uid_t
+ * }
+ */
+ public static final OfInt __darwin_uid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t __darwin_useconds_t
+ * }
+ */
+ public static final OfInt __darwin_useconds_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __darwin_pthread_key_t
+ * }
+ */
+ public static final OfLong __darwin_pthread_key_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef struct _opaque_pthread_t {
+ * long __sig;
+ * struct __darwin_pthread_handler_rec *__cleanup_stack;
+ * char __opaque[8176];
+ * } *__darwin_pthread_t
+ * }
+ */
+ public static final AddressLayout __darwin_pthread_t = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef int __darwin_nl_item
+ * }
+ */
+ public static final OfInt __darwin_nl_item = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int __darwin_wctrans_t
+ * }
+ */
+ public static final OfInt __darwin_wctrans_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t __darwin_wctype_t
+ * }
+ */
+ public static final OfInt __darwin_wctype_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_wchar_t wchar_t
+ * }
+ */
+ public static final OfInt wchar_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef signed char int8_t
+ * }
+ */
+ public static final OfByte int8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef short int16_t
+ * }
+ */
+ public static final OfShort int16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef int int32_t
+ * }
+ */
+ public static final OfInt int32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long long int64_t
+ * }
+ */
+ public static final OfLong int64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char uint8_t
+ * }
+ */
+ public static final OfByte uint8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short uint16_t
+ * }
+ */
+ public static final OfShort uint16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int uint32_t
+ * }
+ */
+ public static final OfInt uint32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long uint64_t
+ * }
+ */
+ public static final OfLong uint64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int8_t int_least8_t
+ * }
+ */
+ public static final OfByte int_least8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef int16_t int_least16_t
+ * }
+ */
+ public static final OfShort int_least16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef int32_t int_least32_t
+ * }
+ */
+ public static final OfInt int_least32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t int_least64_t
+ * }
+ */
+ public static final OfLong int_least64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef uint8_t uint_least8_t
+ * }
+ */
+ public static final OfByte uint_least8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef uint16_t uint_least16_t
+ * }
+ */
+ public static final OfShort uint_least16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef uint32_t uint_least32_t
+ * }
+ */
+ public static final OfInt uint_least32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef uint64_t uint_least64_t
+ * }
+ */
+ public static final OfLong uint_least64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int8_t int_fast8_t
+ * }
+ */
+ public static final OfByte int_fast8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef int16_t int_fast16_t
+ * }
+ */
+ public static final OfShort int_fast16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef int32_t int_fast32_t
+ * }
+ */
+ public static final OfInt int_fast32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t int_fast64_t
+ * }
+ */
+ public static final OfLong int_fast64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef uint8_t uint_fast8_t
+ * }
+ */
+ public static final OfByte uint_fast8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef uint16_t uint_fast16_t
+ * }
+ */
+ public static final OfShort uint_fast16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef uint32_t uint_fast32_t
+ * }
+ */
+ public static final OfInt uint_fast32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef uint64_t uint_fast64_t
+ * }
+ */
+ public static final OfLong uint_fast64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_intptr_t intptr_t
+ * }
+ */
+ public static final OfLong intptr_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long uintptr_t
+ * }
+ */
+ public static final OfLong uintptr_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long intmax_t
+ * }
+ */
+ public static final OfLong intmax_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long uintmax_t
+ * }
+ */
+ public static final OfLong uintmax_t = hdf5_h.C_LONG;
+
+ private static class imaxabs {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("imaxabs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern intmax_t imaxabs(intmax_t j)
+ * }
+ */
+ public static FunctionDescriptor imaxabs$descriptor() {
+ return imaxabs.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern intmax_t imaxabs(intmax_t j)
+ * }
+ */
+ public static MethodHandle imaxabs$handle() {
+ return imaxabs.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern intmax_t imaxabs(intmax_t j)
+ * }
+ */
+ public static MemorySegment imaxabs$address() {
+ return imaxabs.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern intmax_t imaxabs(intmax_t j)
+ * }
+ */
+ public static long imaxabs(long j) {
+ var mh$ = imaxabs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("imaxabs", j);
+ }
+ return (long)mh$.invokeExact(j);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class imaxdiv {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ imaxdiv_t.layout(),
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("imaxdiv");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denom)
+ * }
+ */
+ public static FunctionDescriptor imaxdiv$descriptor() {
+ return imaxdiv.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denom)
+ * }
+ */
+ public static MethodHandle imaxdiv$handle() {
+ return imaxdiv.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denom)
+ * }
+ */
+ public static MemorySegment imaxdiv$address() {
+ return imaxdiv.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denom)
+ * }
+ */
+ public static MemorySegment imaxdiv(SegmentAllocator allocator, long __numer, long __denom) {
+ var mh$ = imaxdiv.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("imaxdiv", allocator, __numer, __denom);
+ }
+ return (MemorySegment)mh$.invokeExact(allocator, __numer, __denom);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class strtoimax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("strtoimax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern intmax_t strtoimax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static FunctionDescriptor strtoimax$descriptor() {
+ return strtoimax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern intmax_t strtoimax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static MethodHandle strtoimax$handle() {
+ return strtoimax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern intmax_t strtoimax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static MemorySegment strtoimax$address() {
+ return strtoimax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern intmax_t strtoimax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static long strtoimax(MemorySegment __nptr, MemorySegment __endptr, int __base) {
+ var mh$ = strtoimax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("strtoimax", __nptr, __endptr, __base);
+ }
+ return (long)mh$.invokeExact(__nptr, __endptr, __base);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class strtoumax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("strtoumax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern uintmax_t strtoumax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static FunctionDescriptor strtoumax$descriptor() {
+ return strtoumax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern uintmax_t strtoumax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static MethodHandle strtoumax$handle() {
+ return strtoumax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern uintmax_t strtoumax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static MemorySegment strtoumax$address() {
+ return strtoumax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern uintmax_t strtoumax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static long strtoumax(MemorySegment __nptr, MemorySegment __endptr, int __base) {
+ var mh$ = strtoumax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("strtoumax", __nptr, __endptr, __base);
+ }
+ return (long)mh$.invokeExact(__nptr, __endptr, __base);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class wcstoimax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("wcstoimax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern intmax_t wcstoimax(const wchar_t *restrict __nptr, wchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static FunctionDescriptor wcstoimax$descriptor() {
+ return wcstoimax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern intmax_t wcstoimax(const wchar_t *restrict __nptr, wchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static MethodHandle wcstoimax$handle() {
+ return wcstoimax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern intmax_t wcstoimax(const wchar_t *restrict __nptr, wchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static MemorySegment wcstoimax$address() {
+ return wcstoimax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern intmax_t wcstoimax(const wchar_t *restrict __nptr, wchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static long wcstoimax(MemorySegment __nptr, MemorySegment __endptr, int __base) {
+ var mh$ = wcstoimax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("wcstoimax", __nptr, __endptr, __base);
+ }
+ return (long)mh$.invokeExact(__nptr, __endptr, __base);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class wcstoumax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("wcstoumax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern uintmax_t wcstoumax(const wchar_t *restrict __nptr, wchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static FunctionDescriptor wcstoumax$descriptor() {
+ return wcstoumax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern uintmax_t wcstoumax(const wchar_t *restrict __nptr, wchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static MethodHandle wcstoumax$handle() {
+ return wcstoumax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern uintmax_t wcstoumax(const wchar_t *restrict __nptr, wchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static MemorySegment wcstoumax$address() {
+ return wcstoumax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern uintmax_t wcstoumax(const wchar_t *restrict __nptr, wchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static long wcstoumax(MemorySegment __nptr, MemorySegment __endptr, int __base) {
+ var mh$ = wcstoumax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("wcstoumax", __nptr, __endptr, __base);
+ }
+ return (long)mh$.invokeExact(__nptr, __endptr, __base);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef long ptrdiff_t
+ * }
+ */
+ public static final OfLong ptrdiff_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long size_t
+ * }
+ */
+ public static final OfLong size_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long rsize_t
+ * }
+ */
+ public static final OfLong rsize_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char u_int8_t
+ * }
+ */
+ public static final OfByte u_int8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short u_int16_t
+ * }
+ */
+ public static final OfShort u_int16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int u_int32_t
+ * }
+ */
+ public static final OfInt u_int32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long u_int64_t
+ * }
+ */
+ public static final OfLong u_int64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t register_t
+ * }
+ */
+ public static final OfLong register_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef u_int64_t user_addr_t
+ * }
+ */
+ public static final OfLong user_addr_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef u_int64_t user_size_t
+ * }
+ */
+ public static final OfLong user_size_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t user_ssize_t
+ * }
+ */
+ public static final OfLong user_ssize_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t user_long_t
+ * }
+ */
+ public static final OfLong user_long_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef u_int64_t user_ulong_t
+ * }
+ */
+ public static final OfLong user_ulong_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t user_time_t
+ * }
+ */
+ public static final OfLong user_time_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t user_off_t
+ * }
+ */
+ public static final OfLong user_off_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef u_int64_t syscall_arg_t
+ * }
+ */
+ public static final OfLong syscall_arg_t = hdf5_h.C_LONG_LONG;
+}
diff --git a/java/jsrc/features/plain/windows/hdf5_h.java b/java/jsrc/features/plain/windows/hdf5_h.java
new file mode 100644
index 00000000000..23a70366e66
--- /dev/null
+++ b/java/jsrc/features/plain/windows/hdf5_h.java
@@ -0,0 +1,19959 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h extends hdf5_h_1 {
+
+ hdf5_h()
+ {
+ // Should not be called directly
+ }
+
+ private static class H5Pset_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mdc_config$descriptor() { return H5Pset_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_mdc_config$handle() { return H5Pset_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_mdc_config$address() { return H5Pset_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pset_mdc_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pset_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mdc_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mdc_log_options {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL, hdf5_h.C_POINTER, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mdc_log_options");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mdc_log_options$descriptor()
+ {
+ return H5Pset_mdc_log_options.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static MethodHandle H5Pset_mdc_log_options$handle() { return H5Pset_mdc_log_options.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static MemorySegment H5Pset_mdc_log_options$address() { return H5Pset_mdc_log_options.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static int H5Pset_mdc_log_options(long plist_id, boolean is_enabled, MemorySegment location,
+ boolean start_on_access)
+ {
+ var mh$ = H5Pset_mdc_log_options.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mdc_log_options", plist_id, is_enabled, location, start_on_access);
+ }
+ return (int)mh$.invokeExact(plist_id, is_enabled, location, start_on_access);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_meta_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_meta_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_meta_block_size$descriptor()
+ {
+ return H5Pset_meta_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_meta_block_size$handle() { return H5Pset_meta_block_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_meta_block_size$address() { return H5Pset_meta_block_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static int H5Pset_meta_block_size(long fapl_id, long size)
+ {
+ var mh$ = H5Pset_meta_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_meta_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_metadata_read_attempts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_metadata_read_attempts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_metadata_read_attempts$descriptor()
+ {
+ return H5Pset_metadata_read_attempts.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static MethodHandle H5Pset_metadata_read_attempts$handle()
+ {
+ return H5Pset_metadata_read_attempts.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static MemorySegment H5Pset_metadata_read_attempts$address()
+ {
+ return H5Pset_metadata_read_attempts.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static int H5Pset_metadata_read_attempts(long plist_id, int attempts)
+ {
+ var mh$ = H5Pset_metadata_read_attempts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_metadata_read_attempts", plist_id, attempts);
+ }
+ return (int)mh$.invokeExact(plist_id, attempts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_multi_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_multi_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_multi_type$descriptor() { return H5Pset_multi_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static MethodHandle H5Pset_multi_type$handle() { return H5Pset_multi_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static MemorySegment H5Pset_multi_type$address() { return H5Pset_multi_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static int H5Pset_multi_type(long fapl_id, int type)
+ {
+ var mh$ = H5Pset_multi_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_multi_type", fapl_id, type);
+ }
+ return (int)mh$.invokeExact(fapl_id, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_object_flush_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_object_flush_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_object_flush_cb$descriptor()
+ {
+ return H5Pset_object_flush_cb.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static MethodHandle H5Pset_object_flush_cb$handle() { return H5Pset_object_flush_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static MemorySegment H5Pset_object_flush_cb$address() { return H5Pset_object_flush_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static int H5Pset_object_flush_cb(long plist_id, MemorySegment func, MemorySegment udata)
+ {
+ var mh$ = H5Pset_object_flush_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_object_flush_cb", plist_id, func, udata);
+ }
+ return (int)mh$.invokeExact(plist_id, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_sieve_buf_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_sieve_buf_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_sieve_buf_size$descriptor() { return H5Pset_sieve_buf_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_sieve_buf_size$handle() { return H5Pset_sieve_buf_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_sieve_buf_size$address() { return H5Pset_sieve_buf_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static int H5Pset_sieve_buf_size(long fapl_id, long size)
+ {
+ var mh$ = H5Pset_sieve_buf_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_sieve_buf_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_small_data_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_small_data_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_small_data_block_size$descriptor()
+ {
+ return H5Pset_small_data_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_small_data_block_size$handle()
+ {
+ return H5Pset_small_data_block_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_small_data_block_size$address()
+ {
+ return H5Pset_small_data_block_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static int H5Pset_small_data_block_size(long fapl_id, long size)
+ {
+ var mh$ = H5Pset_small_data_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_small_data_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_vol {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_vol");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_vol$descriptor() { return H5Pset_vol.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static MethodHandle H5Pset_vol$handle() { return H5Pset_vol.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static MemorySegment H5Pset_vol$address() { return H5Pset_vol.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static int H5Pset_vol(long plist_id, long new_vol_id, MemorySegment new_vol_info)
+ {
+ var mh$ = H5Pset_vol.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_vol", plist_id, new_vol_id, new_vol_info);
+ }
+ return (int)mh$.invokeExact(plist_id, new_vol_id, new_vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vol_cap_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vol_cap_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vol_cap_flags$descriptor() { return H5Pget_vol_cap_flags.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MethodHandle H5Pget_vol_cap_flags$handle() { return H5Pget_vol_cap_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MemorySegment H5Pget_vol_cap_flags$address() { return H5Pget_vol_cap_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static int H5Pget_vol_cap_flags(long plist_id, MemorySegment cap_flags)
+ {
+ var mh$ = H5Pget_vol_cap_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vol_cap_flags", plist_id, cap_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, cap_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mdc_image_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mdc_image_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mdc_image_config$descriptor()
+ {
+ return H5Pset_mdc_image_config.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_mdc_image_config$handle() { return H5Pset_mdc_image_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_mdc_image_config$address() { return H5Pset_mdc_image_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pset_mdc_image_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pset_mdc_image_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mdc_image_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_page_buffer_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_page_buffer_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_page_buffer_size$descriptor()
+ {
+ return H5Pset_page_buffer_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static MethodHandle H5Pset_page_buffer_size$handle() { return H5Pset_page_buffer_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static MemorySegment H5Pset_page_buffer_size$address() { return H5Pset_page_buffer_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static int H5Pset_page_buffer_size(long plist_id, long buf_size, int min_meta_per, int min_raw_per)
+ {
+ var mh$ = H5Pset_page_buffer_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_page_buffer_size", plist_id, buf_size, min_meta_per, min_raw_per);
+ }
+ return (int)mh$.invokeExact(plist_id, buf_size, min_meta_per, min_raw_per);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_relax_file_integrity_checks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_relax_file_integrity_checks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_relax_file_integrity_checks$descriptor()
+ {
+ return H5Pset_relax_file_integrity_checks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static MethodHandle H5Pset_relax_file_integrity_checks$handle()
+ {
+ return H5Pset_relax_file_integrity_checks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static MemorySegment H5Pset_relax_file_integrity_checks$address()
+ {
+ return H5Pset_relax_file_integrity_checks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static int H5Pset_relax_file_integrity_checks(long plist_id, long flags)
+ {
+ var mh$ = H5Pset_relax_file_integrity_checks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_relax_file_integrity_checks", plist_id, flags);
+ }
+ return (int)mh$.invokeExact(plist_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_relax_file_integrity_checks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_relax_file_integrity_checks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_relax_file_integrity_checks$descriptor()
+ {
+ return H5Pget_relax_file_integrity_checks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static MethodHandle H5Pget_relax_file_integrity_checks$handle()
+ {
+ return H5Pget_relax_file_integrity_checks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static MemorySegment H5Pget_relax_file_integrity_checks$address()
+ {
+ return H5Pget_relax_file_integrity_checks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static int H5Pget_relax_file_integrity_checks(long plist_id, MemorySegment flags)
+ {
+ var mh$ = H5Pget_relax_file_integrity_checks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_relax_file_integrity_checks", plist_id, flags);
+ }
+ return (int)mh$.invokeExact(plist_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pfill_value_defined {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pfill_value_defined");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static FunctionDescriptor H5Pfill_value_defined$descriptor() { return H5Pfill_value_defined.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static MethodHandle H5Pfill_value_defined$handle() { return H5Pfill_value_defined.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static MemorySegment H5Pfill_value_defined$address() { return H5Pfill_value_defined.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static int H5Pfill_value_defined(long plist, MemorySegment status)
+ {
+ var mh$ = H5Pfill_value_defined.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pfill_value_defined", plist, status);
+ }
+ return (int)mh$.invokeExact(plist, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_alloc_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_alloc_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_alloc_time$descriptor() { return H5Pget_alloc_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static MethodHandle H5Pget_alloc_time$handle() { return H5Pget_alloc_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static MemorySegment H5Pget_alloc_time$address() { return H5Pget_alloc_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static int H5Pget_alloc_time(long plist_id, MemorySegment alloc_time)
+ {
+ var mh$ = H5Pget_alloc_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_alloc_time", plist_id, alloc_time);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_chunk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_chunk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static FunctionDescriptor H5Pget_chunk$descriptor() { return H5Pget_chunk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static MethodHandle H5Pget_chunk$handle() { return H5Pget_chunk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static MemorySegment H5Pget_chunk$address() { return H5Pget_chunk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static int H5Pget_chunk(long plist_id, int max_ndims, MemorySegment dim)
+ {
+ var mh$ = H5Pget_chunk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_chunk", plist_id, max_ndims, dim);
+ }
+ return (int)mh$.invokeExact(plist_id, max_ndims, dim);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_chunk_opts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_chunk_opts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_chunk_opts$descriptor() { return H5Pget_chunk_opts.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static MethodHandle H5Pget_chunk_opts$handle() { return H5Pget_chunk_opts.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static MemorySegment H5Pget_chunk_opts$address() { return H5Pget_chunk_opts.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static int H5Pget_chunk_opts(long plist_id, MemorySegment opts)
+ {
+ var mh$ = H5Pget_chunk_opts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_chunk_opts", plist_id, opts);
+ }
+ return (int)mh$.invokeExact(plist_id, opts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_dset_no_attrs_hint$descriptor()
+ {
+ return H5Pget_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static MethodHandle H5Pget_dset_no_attrs_hint$handle() { return H5Pget_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static MemorySegment H5Pget_dset_no_attrs_hint$address() { return H5Pget_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static int H5Pget_dset_no_attrs_hint(long dcpl_id, MemorySegment minimize)
+ {
+ var mh$ = H5Pget_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_dset_no_attrs_hint", dcpl_id, minimize);
+ }
+ return (int)mh$.invokeExact(dcpl_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_spatial_tree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_spatial_tree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_spatial_tree$descriptor()
+ {
+ return H5Pget_virtual_spatial_tree.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_spatial_tree$handle()
+ {
+ return H5Pget_virtual_spatial_tree.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_spatial_tree$address()
+ {
+ return H5Pget_virtual_spatial_tree.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static int H5Pget_virtual_spatial_tree(long dcpl_id, MemorySegment use_tree)
+ {
+ var mh$ = H5Pget_virtual_spatial_tree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_spatial_tree", dcpl_id, use_tree);
+ }
+ return (int)mh$.invokeExact(dcpl_id, use_tree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_external {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_external");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_external$descriptor() { return H5Pget_external.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_external$handle() { return H5Pget_external.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_external$address() { return H5Pget_external.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static int H5Pget_external(long plist_id, int idx, long name_size, MemorySegment name,
+ MemorySegment offset, MemorySegment size)
+ {
+ var mh$ = H5Pget_external.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_external", plist_id, idx, name_size, name, offset, size);
+ }
+ return (int)mh$.invokeExact(plist_id, idx, name_size, name, offset, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_external_count {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_external_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_external_count$descriptor() { return H5Pget_external_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_external_count$handle() { return H5Pget_external_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_external_count$address() { return H5Pget_external_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_external_count(long plist_id)
+ {
+ var mh$ = H5Pget_external_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_external_count", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fill_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fill_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fill_time$descriptor() { return H5Pget_fill_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static MethodHandle H5Pget_fill_time$handle() { return H5Pget_fill_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static MemorySegment H5Pget_fill_time$address() { return H5Pget_fill_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static int H5Pget_fill_time(long plist_id, MemorySegment fill_time)
+ {
+ var mh$ = H5Pget_fill_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fill_time", plist_id, fill_time);
+ }
+ return (int)mh$.invokeExact(plist_id, fill_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fill_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fill_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fill_value$descriptor() { return H5Pget_fill_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static MethodHandle H5Pget_fill_value$handle() { return H5Pget_fill_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static MemorySegment H5Pget_fill_value$address() { return H5Pget_fill_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static int H5Pget_fill_value(long plist_id, long type_id, MemorySegment value)
+ {
+ var mh$ = H5Pget_fill_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fill_value", plist_id, type_id, value);
+ }
+ return (int)mh$.invokeExact(plist_id, type_id, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_layout {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_layout");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_layout$descriptor() { return H5Pget_layout.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_layout$handle() { return H5Pget_layout.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_layout$address() { return H5Pget_layout.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_layout(long plist_id)
+ {
+ var mh$ = H5Pget_layout.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_layout", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_count$descriptor() { return H5Pget_virtual_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_count$handle() { return H5Pget_virtual_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_count$address() { return H5Pget_virtual_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static int H5Pget_virtual_count(long dcpl_id, MemorySegment count)
+ {
+ var mh$ = H5Pget_virtual_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_count", dcpl_id, count);
+ }
+ return (int)mh$.invokeExact(dcpl_id, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_dsetname {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_dsetname");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_dsetname$descriptor()
+ {
+ return H5Pget_virtual_dsetname.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_dsetname$handle() { return H5Pget_virtual_dsetname.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_dsetname$address() { return H5Pget_virtual_dsetname.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static long H5Pget_virtual_dsetname(long dcpl_id, long index, MemorySegment name, long size)
+ {
+ var mh$ = H5Pget_virtual_dsetname.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_dsetname", dcpl_id, index, name, size);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_filename {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_filename");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_filename$descriptor()
+ {
+ return H5Pget_virtual_filename.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_filename$handle() { return H5Pget_virtual_filename.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_filename$address() { return H5Pget_virtual_filename.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static long H5Pget_virtual_filename(long dcpl_id, long index, MemorySegment name, long size)
+ {
+ var mh$ = H5Pget_virtual_filename.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_filename", dcpl_id, index, name, size);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_srcspace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_srcspace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_srcspace$descriptor()
+ {
+ return H5Pget_virtual_srcspace.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_srcspace$handle() { return H5Pget_virtual_srcspace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_srcspace$address() { return H5Pget_virtual_srcspace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static long H5Pget_virtual_srcspace(long dcpl_id, long index)
+ {
+ var mh$ = H5Pget_virtual_srcspace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_srcspace", dcpl_id, index);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_vspace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_vspace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_vspace$descriptor() { return H5Pget_virtual_vspace.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_vspace$handle() { return H5Pget_virtual_vspace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_vspace$address() { return H5Pget_virtual_vspace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static long H5Pget_virtual_vspace(long dcpl_id, long index)
+ {
+ var mh$ = H5Pget_virtual_vspace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_vspace", dcpl_id, index);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_alloc_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_alloc_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_alloc_time$descriptor() { return H5Pset_alloc_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static MethodHandle H5Pset_alloc_time$handle() { return H5Pset_alloc_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static MemorySegment H5Pset_alloc_time$address() { return H5Pset_alloc_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static int H5Pset_alloc_time(long plist_id, int alloc_time)
+ {
+ var mh$ = H5Pset_alloc_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_alloc_time", plist_id, alloc_time);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_chunk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_chunk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static FunctionDescriptor H5Pset_chunk$descriptor() { return H5Pset_chunk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MethodHandle H5Pset_chunk$handle() { return H5Pset_chunk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MemorySegment H5Pset_chunk$address() { return H5Pset_chunk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static int H5Pset_chunk(long plist_id, int ndims, MemorySegment dim)
+ {
+ var mh$ = H5Pset_chunk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_chunk", plist_id, ndims, dim);
+ }
+ return (int)mh$.invokeExact(plist_id, ndims, dim);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_chunk_opts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_chunk_opts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_chunk_opts$descriptor() { return H5Pset_chunk_opts.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static MethodHandle H5Pset_chunk_opts$handle() { return H5Pset_chunk_opts.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static MemorySegment H5Pset_chunk_opts$address() { return H5Pset_chunk_opts.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static int H5Pset_chunk_opts(long plist_id, int opts)
+ {
+ var mh$ = H5Pset_chunk_opts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_chunk_opts", plist_id, opts);
+ }
+ return (int)mh$.invokeExact(plist_id, opts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_dset_no_attrs_hint$descriptor()
+ {
+ return H5Pset_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static MethodHandle H5Pset_dset_no_attrs_hint$handle() { return H5Pset_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static MemorySegment H5Pset_dset_no_attrs_hint$address() { return H5Pset_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static int H5Pset_dset_no_attrs_hint(long dcpl_id, boolean minimize)
+ {
+ var mh$ = H5Pset_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_dset_no_attrs_hint", dcpl_id, minimize);
+ }
+ return (int)mh$.invokeExact(dcpl_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_spatial_tree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_spatial_tree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_spatial_tree$descriptor()
+ {
+ return H5Pset_virtual_spatial_tree.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_spatial_tree$handle()
+ {
+ return H5Pset_virtual_spatial_tree.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_spatial_tree$address()
+ {
+ return H5Pset_virtual_spatial_tree.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static int H5Pset_virtual_spatial_tree(long dcpl_id, boolean use_tree)
+ {
+ var mh$ = H5Pset_virtual_spatial_tree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_spatial_tree", dcpl_id, use_tree);
+ }
+ return (int)mh$.invokeExact(dcpl_id, use_tree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_external {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_external");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_external$descriptor() { return H5Pset_external.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_external$handle() { return H5Pset_external.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_external$address() { return H5Pset_external.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static int H5Pset_external(long plist_id, MemorySegment name, long offset, long size)
+ {
+ var mh$ = H5Pset_external.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_external", plist_id, name, offset, size);
+ }
+ return (int)mh$.invokeExact(plist_id, name, offset, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fill_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fill_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fill_time$descriptor() { return H5Pset_fill_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static MethodHandle H5Pset_fill_time$handle() { return H5Pset_fill_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static MemorySegment H5Pset_fill_time$address() { return H5Pset_fill_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static int H5Pset_fill_time(long plist_id, int fill_time)
+ {
+ var mh$ = H5Pset_fill_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fill_time", plist_id, fill_time);
+ }
+ return (int)mh$.invokeExact(plist_id, fill_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fill_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fill_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fill_value$descriptor() { return H5Pset_fill_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static MethodHandle H5Pset_fill_value$handle() { return H5Pset_fill_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static MemorySegment H5Pset_fill_value$address() { return H5Pset_fill_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static int H5Pset_fill_value(long plist_id, long type_id, MemorySegment value)
+ {
+ var mh$ = H5Pset_fill_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fill_value", plist_id, type_id, value);
+ }
+ return (int)mh$.invokeExact(plist_id, type_id, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shuffle {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shuffle");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shuffle$descriptor() { return H5Pset_shuffle.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_shuffle$handle() { return H5Pset_shuffle.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_shuffle$address() { return H5Pset_shuffle.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static int H5Pset_shuffle(long plist_id)
+ {
+ var mh$ = H5Pset_shuffle.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shuffle", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_layout {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_layout");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_layout$descriptor() { return H5Pset_layout.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static MethodHandle H5Pset_layout$handle() { return H5Pset_layout.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static MemorySegment H5Pset_layout$address() { return H5Pset_layout.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static int H5Pset_layout(long plist_id, int layout)
+ {
+ var mh$ = H5Pset_layout.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_layout", plist_id, layout);
+ }
+ return (int)mh$.invokeExact(plist_id, layout);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_nbit {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_nbit");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_nbit$descriptor() { return H5Pset_nbit.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_nbit$handle() { return H5Pset_nbit.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_nbit$address() { return H5Pset_nbit.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static int H5Pset_nbit(long plist_id)
+ {
+ var mh$ = H5Pset_nbit.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_nbit", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_scaleoffset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_scaleoffset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_scaleoffset$descriptor() { return H5Pset_scaleoffset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static MethodHandle H5Pset_scaleoffset$handle() { return H5Pset_scaleoffset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static MemorySegment H5Pset_scaleoffset$address() { return H5Pset_scaleoffset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static int H5Pset_scaleoffset(long plist_id, int scale_type, int scale_factor)
+ {
+ var mh$ = H5Pset_scaleoffset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_scaleoffset", plist_id, scale_type, scale_factor);
+ }
+ return (int)mh$.invokeExact(plist_id, scale_type, scale_factor);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_szip {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_szip");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_szip$descriptor() { return H5Pset_szip.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static MethodHandle H5Pset_szip$handle() { return H5Pset_szip.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static MemorySegment H5Pset_szip$address() { return H5Pset_szip.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static int H5Pset_szip(long plist_id, int options_mask, int pixels_per_block)
+ {
+ var mh$ = H5Pset_szip.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_szip", plist_id, options_mask, pixels_per_block);
+ }
+ return (int)mh$.invokeExact(plist_id, options_mask, pixels_per_block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual$descriptor() { return H5Pset_virtual.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual$handle() { return H5Pset_virtual.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual$address() { return H5Pset_virtual.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static int H5Pset_virtual(long dcpl_id, long vspace_id, MemorySegment src_file_name,
+ MemorySegment src_dset_name, long src_space_id)
+ {
+ var mh$ = H5Pset_virtual.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual", dcpl_id, vspace_id, src_file_name, src_dset_name,
+ src_space_id);
+ }
+ return (int)mh$.invokeExact(dcpl_id, vspace_id, src_file_name, src_dset_name, src_space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_append_flush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_append_flush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_append_flush$descriptor() { return H5Pget_append_flush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static MethodHandle H5Pget_append_flush$handle() { return H5Pget_append_flush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static MemorySegment H5Pget_append_flush$address() { return H5Pget_append_flush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static int H5Pget_append_flush(long dapl_id, int dims, MemorySegment boundary, MemorySegment func,
+ MemorySegment udata)
+ {
+ var mh$ = H5Pget_append_flush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_append_flush", dapl_id, dims, boundary, func, udata);
+ }
+ return (int)mh$.invokeExact(dapl_id, dims, boundary, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_chunk_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_chunk_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_chunk_cache$descriptor() { return H5Pget_chunk_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pget_chunk_cache$handle() { return H5Pget_chunk_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pget_chunk_cache$address() { return H5Pget_chunk_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static int H5Pget_chunk_cache(long dapl_id, MemorySegment rdcc_nslots, MemorySegment rdcc_nbytes,
+ MemorySegment rdcc_w0)
+ {
+ var mh$ = H5Pget_chunk_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_chunk_cache", dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_efile_prefix {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_efile_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_efile_prefix$descriptor() { return H5Pget_efile_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_efile_prefix$handle() { return H5Pget_efile_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_efile_prefix$address() { return H5Pget_efile_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static long H5Pget_efile_prefix(long dapl_id, MemorySegment prefix, long size)
+ {
+ var mh$ = H5Pget_efile_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_efile_prefix", dapl_id, prefix, size);
+ }
+ return (long)mh$.invokeExact(dapl_id, prefix, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_prefix {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_prefix$descriptor() { return H5Pget_virtual_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_prefix$handle() { return H5Pget_virtual_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_prefix$address() { return H5Pget_virtual_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static long H5Pget_virtual_prefix(long dapl_id, MemorySegment prefix, long size)
+ {
+ var mh$ = H5Pget_virtual_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_prefix", dapl_id, prefix, size);
+ }
+ return (long)mh$.invokeExact(dapl_id, prefix, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_printf_gap {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_printf_gap");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_printf_gap$descriptor()
+ {
+ return H5Pget_virtual_printf_gap.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_printf_gap$handle() { return H5Pget_virtual_printf_gap.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_printf_gap$address() { return H5Pget_virtual_printf_gap.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static int H5Pget_virtual_printf_gap(long dapl_id, MemorySegment gap_size)
+ {
+ var mh$ = H5Pget_virtual_printf_gap.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_printf_gap", dapl_id, gap_size);
+ }
+ return (int)mh$.invokeExact(dapl_id, gap_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_view {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_view");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_view$descriptor() { return H5Pget_virtual_view.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_view$handle() { return H5Pget_virtual_view.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_view$address() { return H5Pget_virtual_view.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static int H5Pget_virtual_view(long dapl_id, MemorySegment view)
+ {
+ var mh$ = H5Pget_virtual_view.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_view", dapl_id, view);
+ }
+ return (int)mh$.invokeExact(dapl_id, view);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_append_flush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_append_flush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_append_flush$descriptor() { return H5Pset_append_flush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static MethodHandle H5Pset_append_flush$handle() { return H5Pset_append_flush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static MemorySegment H5Pset_append_flush$address() { return H5Pset_append_flush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static int H5Pset_append_flush(long dapl_id, int ndims, MemorySegment boundary, MemorySegment func,
+ MemorySegment udata)
+ {
+ var mh$ = H5Pset_append_flush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_append_flush", dapl_id, ndims, boundary, func, udata);
+ }
+ return (int)mh$.invokeExact(dapl_id, ndims, boundary, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_chunk_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_DOUBLE);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_chunk_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_chunk_cache$descriptor() { return H5Pset_chunk_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pset_chunk_cache$handle() { return H5Pset_chunk_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pset_chunk_cache$address() { return H5Pset_chunk_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static int H5Pset_chunk_cache(long dapl_id, long rdcc_nslots, long rdcc_nbytes, double rdcc_w0)
+ {
+ var mh$ = H5Pset_chunk_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_chunk_cache", dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_efile_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_efile_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_efile_prefix$descriptor() { return H5Pset_efile_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MethodHandle H5Pset_efile_prefix$handle() { return H5Pset_efile_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MemorySegment H5Pset_efile_prefix$address() { return H5Pset_efile_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static int H5Pset_efile_prefix(long dapl_id, MemorySegment prefix)
+ {
+ var mh$ = H5Pset_efile_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_efile_prefix", dapl_id, prefix);
+ }
+ return (int)mh$.invokeExact(dapl_id, prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_prefix$descriptor() { return H5Pset_virtual_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_prefix$handle() { return H5Pset_virtual_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_prefix$address() { return H5Pset_virtual_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static int H5Pset_virtual_prefix(long dapl_id, MemorySegment prefix)
+ {
+ var mh$ = H5Pset_virtual_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_prefix", dapl_id, prefix);
+ }
+ return (int)mh$.invokeExact(dapl_id, prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_printf_gap {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_printf_gap");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_printf_gap$descriptor()
+ {
+ return H5Pset_virtual_printf_gap.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_printf_gap$handle() { return H5Pset_virtual_printf_gap.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_printf_gap$address() { return H5Pset_virtual_printf_gap.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static int H5Pset_virtual_printf_gap(long dapl_id, long gap_size)
+ {
+ var mh$ = H5Pset_virtual_printf_gap.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_printf_gap", dapl_id, gap_size);
+ }
+ return (int)mh$.invokeExact(dapl_id, gap_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_view {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_view");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_view$descriptor() { return H5Pset_virtual_view.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_view$handle() { return H5Pset_virtual_view.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_view$address() { return H5Pset_virtual_view.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static int H5Pset_virtual_view(long dapl_id, int view)
+ {
+ var mh$ = H5Pset_virtual_view.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_view", dapl_id, view);
+ }
+ return (int)mh$.invokeExact(dapl_id, view);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_btree_ratios {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_btree_ratios");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_btree_ratios$descriptor() { return H5Pget_btree_ratios.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static MethodHandle H5Pget_btree_ratios$handle() { return H5Pget_btree_ratios.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static MemorySegment H5Pget_btree_ratios$address() { return H5Pget_btree_ratios.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static int H5Pget_btree_ratios(long plist_id, MemorySegment left, MemorySegment middle,
+ MemorySegment right)
+ {
+ var mh$ = H5Pget_btree_ratios.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_btree_ratios", plist_id, left, middle, right);
+ }
+ return (int)mh$.invokeExact(plist_id, left, middle, right);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_buffer {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_buffer");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_buffer$descriptor() { return H5Pget_buffer.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static MethodHandle H5Pget_buffer$handle() { return H5Pget_buffer.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static MemorySegment H5Pget_buffer$address() { return H5Pget_buffer.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static long H5Pget_buffer(long plist_id, MemorySegment tconv, MemorySegment bkg)
+ {
+ var mh$ = H5Pget_buffer.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_buffer", plist_id, tconv, bkg);
+ }
+ return (long)mh$.invokeExact(plist_id, tconv, bkg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_data_transform {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_data_transform");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_data_transform$descriptor() { return H5Pget_data_transform.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_data_transform$handle() { return H5Pget_data_transform.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_data_transform$address() { return H5Pget_data_transform.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static long H5Pget_data_transform(long plist_id, MemorySegment expression, long size)
+ {
+ var mh$ = H5Pget_data_transform.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_data_transform", plist_id, expression, size);
+ }
+ return (long)mh$.invokeExact(plist_id, expression, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_edc_check {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_edc_check");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_edc_check$descriptor() { return H5Pget_edc_check.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_edc_check$handle() { return H5Pget_edc_check.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_edc_check$address() { return H5Pget_edc_check.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_edc_check(long plist_id)
+ {
+ var mh$ = H5Pget_edc_check.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_edc_check", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_hyper_vector_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_hyper_vector_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_hyper_vector_size$descriptor()
+ {
+ return H5Pget_hyper_vector_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_hyper_vector_size$handle() { return H5Pget_hyper_vector_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_hyper_vector_size$address() { return H5Pget_hyper_vector_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static int H5Pget_hyper_vector_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_hyper_vector_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_hyper_vector_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_preserve {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_preserve");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_preserve$descriptor() { return H5Pget_preserve.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_preserve$handle() { return H5Pget_preserve.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_preserve$address() { return H5Pget_preserve.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_preserve(long plist_id)
+ {
+ var mh$ = H5Pget_preserve.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_preserve", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_type_conv_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_type_conv_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_type_conv_cb$descriptor() { return H5Pget_type_conv_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static MethodHandle H5Pget_type_conv_cb$handle() { return H5Pget_type_conv_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static MemorySegment H5Pget_type_conv_cb$address() { return H5Pget_type_conv_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static int H5Pget_type_conv_cb(long dxpl_id, MemorySegment op, MemorySegment operate_data)
+ {
+ var mh$ = H5Pget_type_conv_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_type_conv_cb", dxpl_id, op, operate_data);
+ }
+ return (int)mh$.invokeExact(dxpl_id, op, operate_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vlen_mem_manager {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vlen_mem_manager");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vlen_mem_manager$descriptor()
+ {
+ return H5Pget_vlen_mem_manager.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static MethodHandle H5Pget_vlen_mem_manager$handle() { return H5Pget_vlen_mem_manager.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static MemorySegment H5Pget_vlen_mem_manager$address() { return H5Pget_vlen_mem_manager.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static int H5Pget_vlen_mem_manager(long plist_id, MemorySegment alloc_func,
+ MemorySegment alloc_info, MemorySegment free_func,
+ MemorySegment free_info)
+ {
+ var mh$ = H5Pget_vlen_mem_manager.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vlen_mem_manager", plist_id, alloc_func, alloc_info, free_func,
+ free_info);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_func, alloc_info, free_func, free_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_btree_ratios {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_DOUBLE, hdf5_h.C_DOUBLE, hdf5_h.C_DOUBLE);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_btree_ratios");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_btree_ratios$descriptor() { return H5Pset_btree_ratios.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static MethodHandle H5Pset_btree_ratios$handle() { return H5Pset_btree_ratios.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static MemorySegment H5Pset_btree_ratios$address() { return H5Pset_btree_ratios.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static int H5Pset_btree_ratios(long plist_id, double left, double middle, double right)
+ {
+ var mh$ = H5Pset_btree_ratios.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_btree_ratios", plist_id, left, middle, right);
+ }
+ return (int)mh$.invokeExact(plist_id, left, middle, right);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_buffer {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_buffer");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_buffer$descriptor() { return H5Pset_buffer.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static MethodHandle H5Pset_buffer$handle() { return H5Pset_buffer.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static MemorySegment H5Pset_buffer$address() { return H5Pset_buffer.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static int H5Pset_buffer(long plist_id, long size, MemorySegment tconv, MemorySegment bkg)
+ {
+ var mh$ = H5Pset_buffer.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_buffer", plist_id, size, tconv, bkg);
+ }
+ return (int)mh$.invokeExact(plist_id, size, tconv, bkg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_data_transform {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_data_transform");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_data_transform$descriptor() { return H5Pset_data_transform.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static MethodHandle H5Pset_data_transform$handle() { return H5Pset_data_transform.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static MemorySegment H5Pset_data_transform$address() { return H5Pset_data_transform.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static int H5Pset_data_transform(long plist_id, MemorySegment expression)
+ {
+ var mh$ = H5Pset_data_transform.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_data_transform", plist_id, expression);
+ }
+ return (int)mh$.invokeExact(plist_id, expression);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_edc_check {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_edc_check");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_edc_check$descriptor() { return H5Pset_edc_check.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static MethodHandle H5Pset_edc_check$handle() { return H5Pset_edc_check.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static MemorySegment H5Pset_edc_check$address() { return H5Pset_edc_check.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static int H5Pset_edc_check(long plist_id, int check)
+ {
+ var mh$ = H5Pset_edc_check.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_edc_check", plist_id, check);
+ }
+ return (int)mh$.invokeExact(plist_id, check);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_filter_callback {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_filter_callback");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_filter_callback$descriptor()
+ {
+ return H5Pset_filter_callback.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Pset_filter_callback$handle() { return H5Pset_filter_callback.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Pset_filter_callback$address() { return H5Pset_filter_callback.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static int H5Pset_filter_callback(long plist_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pset_filter_callback.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_filter_callback", plist_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(plist_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_hyper_vector_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_hyper_vector_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_hyper_vector_size$descriptor()
+ {
+ return H5Pset_hyper_vector_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_hyper_vector_size$handle() { return H5Pset_hyper_vector_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_hyper_vector_size$address() { return H5Pset_hyper_vector_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static int H5Pset_hyper_vector_size(long plist_id, long size)
+ {
+ var mh$ = H5Pset_hyper_vector_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_hyper_vector_size", plist_id, size);
+ }
+ return (int)mh$.invokeExact(plist_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_preserve {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_preserve");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_preserve$descriptor() { return H5Pset_preserve.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static MethodHandle H5Pset_preserve$handle() { return H5Pset_preserve.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static MemorySegment H5Pset_preserve$address() { return H5Pset_preserve.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static int H5Pset_preserve(long plist_id, boolean status)
+ {
+ var mh$ = H5Pset_preserve.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_preserve", plist_id, status);
+ }
+ return (int)mh$.invokeExact(plist_id, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_type_conv_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_type_conv_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_type_conv_cb$descriptor() { return H5Pset_type_conv_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static MethodHandle H5Pset_type_conv_cb$handle() { return H5Pset_type_conv_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static MemorySegment H5Pset_type_conv_cb$address() { return H5Pset_type_conv_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static int H5Pset_type_conv_cb(long dxpl_id, MemorySegment op, MemorySegment operate_data)
+ {
+ var mh$ = H5Pset_type_conv_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_type_conv_cb", dxpl_id, op, operate_data);
+ }
+ return (int)mh$.invokeExact(dxpl_id, op, operate_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_vlen_mem_manager {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_vlen_mem_manager");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_vlen_mem_manager$descriptor()
+ {
+ return H5Pset_vlen_mem_manager.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static MethodHandle H5Pset_vlen_mem_manager$handle() { return H5Pset_vlen_mem_manager.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static MemorySegment H5Pset_vlen_mem_manager$address() { return H5Pset_vlen_mem_manager.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static int H5Pset_vlen_mem_manager(long plist_id, MemorySegment alloc_func,
+ MemorySegment alloc_info, MemorySegment free_func,
+ MemorySegment free_info)
+ {
+ var mh$ = H5Pset_vlen_mem_manager.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_vlen_mem_manager", plist_id, alloc_func, alloc_info, free_func,
+ free_info);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_func, alloc_info, free_func, free_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_dataset_io_hyperslab_selection {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_dataset_io_hyperslab_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Pset_dataset_io_hyperslab_selection$descriptor()
+ {
+ return H5Pset_dataset_io_hyperslab_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Pset_dataset_io_hyperslab_selection$handle()
+ {
+ return H5Pset_dataset_io_hyperslab_selection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Pset_dataset_io_hyperslab_selection$address()
+ {
+ return H5Pset_dataset_io_hyperslab_selection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static int H5Pset_dataset_io_hyperslab_selection(long plist_id, int rank, int op,
+ MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Pset_dataset_io_hyperslab_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_dataset_io_hyperslab_selection", plist_id, rank, op, start, stride,
+ count, block);
+ }
+ return (int)mh$.invokeExact(plist_id, rank, op, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_selection_io {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_selection_io");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_selection_io$descriptor() { return H5Pset_selection_io.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static MethodHandle H5Pset_selection_io$handle() { return H5Pset_selection_io.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static MemorySegment H5Pset_selection_io$address() { return H5Pset_selection_io.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static int H5Pset_selection_io(long plist_id, int selection_io_mode)
+ {
+ var mh$ = H5Pset_selection_io.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_selection_io", plist_id, selection_io_mode);
+ }
+ return (int)mh$.invokeExact(plist_id, selection_io_mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_selection_io {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_selection_io");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_selection_io$descriptor() { return H5Pget_selection_io.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static MethodHandle H5Pget_selection_io$handle() { return H5Pget_selection_io.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static MemorySegment H5Pget_selection_io$address() { return H5Pget_selection_io.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static int H5Pget_selection_io(long plist_id, MemorySegment selection_io_mode)
+ {
+ var mh$ = H5Pget_selection_io.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_selection_io", plist_id, selection_io_mode);
+ }
+ return (int)mh$.invokeExact(plist_id, selection_io_mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_no_selection_io_cause {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_no_selection_io_cause");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_no_selection_io_cause$descriptor()
+ {
+ return H5Pget_no_selection_io_cause.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static MethodHandle H5Pget_no_selection_io_cause$handle()
+ {
+ return H5Pget_no_selection_io_cause.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static MemorySegment H5Pget_no_selection_io_cause$address()
+ {
+ return H5Pget_no_selection_io_cause.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static int H5Pget_no_selection_io_cause(long plist_id, MemorySegment no_selection_io_cause)
+ {
+ var mh$ = H5Pget_no_selection_io_cause.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_no_selection_io_cause", plist_id, no_selection_io_cause);
+ }
+ return (int)mh$.invokeExact(plist_id, no_selection_io_cause);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_actual_selection_io_mode {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_actual_selection_io_mode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_actual_selection_io_mode$descriptor()
+ {
+ return H5Pget_actual_selection_io_mode.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static MethodHandle H5Pget_actual_selection_io_mode$handle()
+ {
+ return H5Pget_actual_selection_io_mode.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static MemorySegment H5Pget_actual_selection_io_mode$address()
+ {
+ return H5Pget_actual_selection_io_mode.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static int H5Pget_actual_selection_io_mode(long plist_id, MemorySegment actual_selection_io_mode)
+ {
+ var mh$ = H5Pget_actual_selection_io_mode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_actual_selection_io_mode", plist_id, actual_selection_io_mode);
+ }
+ return (int)mh$.invokeExact(plist_id, actual_selection_io_mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_modify_write_buf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_modify_write_buf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_modify_write_buf$descriptor()
+ {
+ return H5Pset_modify_write_buf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static MethodHandle H5Pset_modify_write_buf$handle() { return H5Pset_modify_write_buf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static MemorySegment H5Pset_modify_write_buf$address() { return H5Pset_modify_write_buf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static int H5Pset_modify_write_buf(long plist_id, boolean modify_write_buf)
+ {
+ var mh$ = H5Pset_modify_write_buf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_modify_write_buf", plist_id, modify_write_buf);
+ }
+ return (int)mh$.invokeExact(plist_id, modify_write_buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_modify_write_buf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_modify_write_buf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_modify_write_buf$descriptor()
+ {
+ return H5Pget_modify_write_buf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static MethodHandle H5Pget_modify_write_buf$handle() { return H5Pget_modify_write_buf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static MemorySegment H5Pget_modify_write_buf$address() { return H5Pget_modify_write_buf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static int H5Pget_modify_write_buf(long plist_id, MemorySegment modify_write_buf)
+ {
+ var mh$ = H5Pget_modify_write_buf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_modify_write_buf", plist_id, modify_write_buf);
+ }
+ return (int)mh$.invokeExact(plist_id, modify_write_buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_create_intermediate_group {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_create_intermediate_group");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_create_intermediate_group$descriptor()
+ {
+ return H5Pget_create_intermediate_group.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static MethodHandle H5Pget_create_intermediate_group$handle()
+ {
+ return H5Pget_create_intermediate_group.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static MemorySegment H5Pget_create_intermediate_group$address()
+ {
+ return H5Pget_create_intermediate_group.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static int H5Pget_create_intermediate_group(long plist_id, MemorySegment crt_intmd)
+ {
+ var mh$ = H5Pget_create_intermediate_group.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_create_intermediate_group", plist_id, crt_intmd);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_intmd);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_create_intermediate_group {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_create_intermediate_group");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_create_intermediate_group$descriptor()
+ {
+ return H5Pset_create_intermediate_group.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static MethodHandle H5Pset_create_intermediate_group$handle()
+ {
+ return H5Pset_create_intermediate_group.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static MemorySegment H5Pset_create_intermediate_group$address()
+ {
+ return H5Pset_create_intermediate_group.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static int H5Pset_create_intermediate_group(long plist_id, int crt_intmd)
+ {
+ var mh$ = H5Pset_create_intermediate_group.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_create_intermediate_group", plist_id, crt_intmd);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_intmd);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_est_link_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_est_link_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_est_link_info$descriptor() { return H5Pget_est_link_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static MethodHandle H5Pget_est_link_info$handle() { return H5Pget_est_link_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static MemorySegment H5Pget_est_link_info$address() { return H5Pget_est_link_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static int H5Pget_est_link_info(long plist_id, MemorySegment est_num_entries,
+ MemorySegment est_name_len)
+ {
+ var mh$ = H5Pget_est_link_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_est_link_info", plist_id, est_num_entries, est_name_len);
+ }
+ return (int)mh$.invokeExact(plist_id, est_num_entries, est_name_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_link_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_link_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_link_creation_order$descriptor()
+ {
+ return H5Pget_link_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pget_link_creation_order$handle()
+ {
+ return H5Pget_link_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pget_link_creation_order$address()
+ {
+ return H5Pget_link_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static int H5Pget_link_creation_order(long plist_id, MemorySegment crt_order_flags)
+ {
+ var mh$ = H5Pget_link_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_link_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_link_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_link_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_link_phase_change$descriptor()
+ {
+ return H5Pget_link_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MethodHandle H5Pget_link_phase_change$handle() { return H5Pget_link_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MemorySegment H5Pget_link_phase_change$address() { return H5Pget_link_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static int H5Pget_link_phase_change(long plist_id, MemorySegment max_compact,
+ MemorySegment min_dense)
+ {
+ var mh$ = H5Pget_link_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_link_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_local_heap_size_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_local_heap_size_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_local_heap_size_hint$descriptor()
+ {
+ return H5Pget_local_heap_size_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static MethodHandle H5Pget_local_heap_size_hint$handle()
+ {
+ return H5Pget_local_heap_size_hint.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static MemorySegment H5Pget_local_heap_size_hint$address()
+ {
+ return H5Pget_local_heap_size_hint.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static int H5Pget_local_heap_size_hint(long plist_id, MemorySegment size_hint)
+ {
+ var mh$ = H5Pget_local_heap_size_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_local_heap_size_hint", plist_id, size_hint);
+ }
+ return (int)mh$.invokeExact(plist_id, size_hint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_est_link_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_est_link_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_est_link_info$descriptor() { return H5Pset_est_link_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static MethodHandle H5Pset_est_link_info$handle() { return H5Pset_est_link_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static MemorySegment H5Pset_est_link_info$address() { return H5Pset_est_link_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static int H5Pset_est_link_info(long plist_id, int est_num_entries, int est_name_len)
+ {
+ var mh$ = H5Pset_est_link_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_est_link_info", plist_id, est_num_entries, est_name_len);
+ }
+ return (int)mh$.invokeExact(plist_id, est_num_entries, est_name_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_link_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_link_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_link_creation_order$descriptor()
+ {
+ return H5Pset_link_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pset_link_creation_order$handle()
+ {
+ return H5Pset_link_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pset_link_creation_order$address()
+ {
+ return H5Pset_link_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static int H5Pset_link_creation_order(long plist_id, int crt_order_flags)
+ {
+ var mh$ = H5Pset_link_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_link_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_link_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_link_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_link_phase_change$descriptor()
+ {
+ return H5Pset_link_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MethodHandle H5Pset_link_phase_change$handle() { return H5Pset_link_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MemorySegment H5Pset_link_phase_change$address() { return H5Pset_link_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static int H5Pset_link_phase_change(long plist_id, int max_compact, int min_dense)
+ {
+ var mh$ = H5Pset_link_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_link_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_local_heap_size_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_local_heap_size_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_local_heap_size_hint$descriptor()
+ {
+ return H5Pset_local_heap_size_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static MethodHandle H5Pset_local_heap_size_hint$handle()
+ {
+ return H5Pset_local_heap_size_hint.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static MemorySegment H5Pset_local_heap_size_hint$address()
+ {
+ return H5Pset_local_heap_size_hint.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static int H5Pset_local_heap_size_hint(long plist_id, long size_hint)
+ {
+ var mh$ = H5Pset_local_heap_size_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_local_heap_size_hint", plist_id, size_hint);
+ }
+ return (int)mh$.invokeExact(plist_id, size_hint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_char_encoding {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_char_encoding");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_char_encoding$descriptor() { return H5Pget_char_encoding.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static MethodHandle H5Pget_char_encoding$handle() { return H5Pget_char_encoding.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static MemorySegment H5Pget_char_encoding$address() { return H5Pget_char_encoding.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static int H5Pget_char_encoding(long plist_id, MemorySegment encoding)
+ {
+ var mh$ = H5Pget_char_encoding.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_char_encoding", plist_id, encoding);
+ }
+ return (int)mh$.invokeExact(plist_id, encoding);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_char_encoding {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_char_encoding");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_char_encoding$descriptor() { return H5Pset_char_encoding.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static MethodHandle H5Pset_char_encoding$handle() { return H5Pset_char_encoding.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static MemorySegment H5Pset_char_encoding$address() { return H5Pset_char_encoding.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static int H5Pset_char_encoding(long plist_id, int encoding)
+ {
+ var mh$ = H5Pset_char_encoding.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_char_encoding", plist_id, encoding);
+ }
+ return (int)mh$.invokeExact(plist_id, encoding);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_acc_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_acc_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_acc_flags$descriptor()
+ {
+ return H5Pget_elink_acc_flags.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_acc_flags$handle() { return H5Pget_elink_acc_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_acc_flags$address() { return H5Pget_elink_acc_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static int H5Pget_elink_acc_flags(long lapl_id, MemorySegment flags)
+ {
+ var mh$ = H5Pget_elink_acc_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_acc_flags", lapl_id, flags);
+ }
+ return (int)mh$.invokeExact(lapl_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_cb$descriptor() { return H5Pget_elink_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_cb$handle() { return H5Pget_elink_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_cb$address() { return H5Pget_elink_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static int H5Pget_elink_cb(long lapl_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pget_elink_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_cb", lapl_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(lapl_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_fapl {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_fapl");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_fapl$descriptor() { return H5Pget_elink_fapl.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_fapl$handle() { return H5Pget_elink_fapl.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_fapl$address() { return H5Pget_elink_fapl.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static long H5Pget_elink_fapl(long lapl_id)
+ {
+ var mh$ = H5Pget_elink_fapl.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_fapl", lapl_id);
+ }
+ return (long)mh$.invokeExact(lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_prefix {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_prefix$descriptor() { return H5Pget_elink_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_prefix$handle() { return H5Pget_elink_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_prefix$address() { return H5Pget_elink_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static long H5Pget_elink_prefix(long plist_id, MemorySegment prefix, long size)
+ {
+ var mh$ = H5Pget_elink_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_prefix", plist_id, prefix, size);
+ }
+ return (long)mh$.invokeExact(plist_id, prefix, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_nlinks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_nlinks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_nlinks$descriptor() { return H5Pget_nlinks.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static MethodHandle H5Pget_nlinks$handle() { return H5Pget_nlinks.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static MemorySegment H5Pget_nlinks$address() { return H5Pget_nlinks.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static int H5Pget_nlinks(long plist_id, MemorySegment nlinks)
+ {
+ var mh$ = H5Pget_nlinks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_nlinks", plist_id, nlinks);
+ }
+ return (int)mh$.invokeExact(plist_id, nlinks);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_acc_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_acc_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_acc_flags$descriptor()
+ {
+ return H5Pset_elink_acc_flags.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_acc_flags$handle() { return H5Pset_elink_acc_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_acc_flags$address() { return H5Pset_elink_acc_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static int H5Pset_elink_acc_flags(long lapl_id, int flags)
+ {
+ var mh$ = H5Pset_elink_acc_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_acc_flags", lapl_id, flags);
+ }
+ return (int)mh$.invokeExact(lapl_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_cb$descriptor() { return H5Pset_elink_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_cb$handle() { return H5Pset_elink_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_cb$address() { return H5Pset_elink_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static int H5Pset_elink_cb(long lapl_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pset_elink_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_cb", lapl_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(lapl_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_fapl {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_fapl");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_fapl$descriptor() { return H5Pset_elink_fapl.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_fapl$handle() { return H5Pset_elink_fapl.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_fapl$address() { return H5Pset_elink_fapl.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_elink_fapl(long lapl_id, long fapl_id)
+ {
+ var mh$ = H5Pset_elink_fapl.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_fapl", lapl_id, fapl_id);
+ }
+ return (int)mh$.invokeExact(lapl_id, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_prefix$descriptor() { return H5Pset_elink_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_prefix$handle() { return H5Pset_elink_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_prefix$address() { return H5Pset_elink_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static int H5Pset_elink_prefix(long plist_id, MemorySegment prefix)
+ {
+ var mh$ = H5Pset_elink_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_prefix", plist_id, prefix);
+ }
+ return (int)mh$.invokeExact(plist_id, prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_nlinks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_nlinks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_nlinks$descriptor() { return H5Pset_nlinks.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static MethodHandle H5Pset_nlinks$handle() { return H5Pset_nlinks.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static MemorySegment H5Pset_nlinks$address() { return H5Pset_nlinks.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static int H5Pset_nlinks(long plist_id, long nlinks)
+ {
+ var mh$ = H5Pset_nlinks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_nlinks", plist_id, nlinks);
+ }
+ return (int)mh$.invokeExact(plist_id, nlinks);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Padd_merge_committed_dtype_path {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Padd_merge_committed_dtype_path");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static FunctionDescriptor H5Padd_merge_committed_dtype_path$descriptor()
+ {
+ return H5Padd_merge_committed_dtype_path.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static MethodHandle H5Padd_merge_committed_dtype_path$handle()
+ {
+ return H5Padd_merge_committed_dtype_path.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static MemorySegment H5Padd_merge_committed_dtype_path$address()
+ {
+ return H5Padd_merge_committed_dtype_path.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static int H5Padd_merge_committed_dtype_path(long plist_id, MemorySegment path)
+ {
+ var mh$ = H5Padd_merge_committed_dtype_path.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Padd_merge_committed_dtype_path", plist_id, path);
+ }
+ return (int)mh$.invokeExact(plist_id, path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pfree_merge_committed_dtype_paths {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pfree_merge_committed_dtype_paths");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pfree_merge_committed_dtype_paths$descriptor()
+ {
+ return H5Pfree_merge_committed_dtype_paths.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pfree_merge_committed_dtype_paths$handle()
+ {
+ return H5Pfree_merge_committed_dtype_paths.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pfree_merge_committed_dtype_paths$address()
+ {
+ return H5Pfree_merge_committed_dtype_paths.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static int H5Pfree_merge_committed_dtype_paths(long plist_id)
+ {
+ var mh$ = H5Pfree_merge_committed_dtype_paths.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pfree_merge_committed_dtype_paths", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_copy_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_copy_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_copy_object$descriptor() { return H5Pget_copy_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static MethodHandle H5Pget_copy_object$handle() { return H5Pget_copy_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static MemorySegment H5Pget_copy_object$address() { return H5Pget_copy_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static int H5Pget_copy_object(long plist_id, MemorySegment copy_options)
+ {
+ var mh$ = H5Pget_copy_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_copy_object", plist_id, copy_options);
+ }
+ return (int)mh$.invokeExact(plist_id, copy_options);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mcdt_search_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mcdt_search_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mcdt_search_cb$descriptor() { return H5Pget_mcdt_search_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static MethodHandle H5Pget_mcdt_search_cb$handle() { return H5Pget_mcdt_search_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static MemorySegment H5Pget_mcdt_search_cb$address() { return H5Pget_mcdt_search_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static int H5Pget_mcdt_search_cb(long plist_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pget_mcdt_search_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mcdt_search_cb", plist_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(plist_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_copy_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_copy_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_copy_object$descriptor() { return H5Pset_copy_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static MethodHandle H5Pset_copy_object$handle() { return H5Pset_copy_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static MemorySegment H5Pset_copy_object$address() { return H5Pset_copy_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static int H5Pset_copy_object(long plist_id, int copy_options)
+ {
+ var mh$ = H5Pset_copy_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_copy_object", plist_id, copy_options);
+ }
+ return (int)mh$.invokeExact(plist_id, copy_options);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mcdt_search_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mcdt_search_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mcdt_search_cb$descriptor() { return H5Pset_mcdt_search_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Pset_mcdt_search_cb$handle() { return H5Pset_mcdt_search_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Pset_mcdt_search_cb$address() { return H5Pset_mcdt_search_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static int H5Pset_mcdt_search_cb(long plist_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pset_mcdt_search_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mcdt_search_cb", plist_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(plist_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pregister1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pregister1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pregister1$descriptor() { return H5Pregister1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MethodHandle H5Pregister1$handle() { return H5Pregister1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MemorySegment H5Pregister1$address() { return H5Pregister1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static int H5Pregister1(long cls_id, MemorySegment name, long size, MemorySegment def_value,
+ MemorySegment prp_create, MemorySegment prp_set, MemorySegment prp_get,
+ MemorySegment prp_del, MemorySegment prp_copy, MemorySegment prp_close)
+ {
+ var mh$ = H5Pregister1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pregister1", cls_id, name, size, def_value, prp_create, prp_set, prp_get,
+ prp_del, prp_copy, prp_close);
+ }
+ return (int)mh$.invokeExact(cls_id, name, size, def_value, prp_create, prp_set, prp_get, prp_del,
+ prp_copy, prp_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pinsert1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pinsert1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pinsert1$descriptor() { return H5Pinsert1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MethodHandle H5Pinsert1$handle() { return H5Pinsert1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MemorySegment H5Pinsert1$address() { return H5Pinsert1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static int H5Pinsert1(long plist_id, MemorySegment name, long size, MemorySegment value,
+ MemorySegment prp_set, MemorySegment prp_get, MemorySegment prp_delete,
+ MemorySegment prp_copy, MemorySegment prp_close)
+ {
+ var mh$ = H5Pinsert1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pinsert1", plist_id, name, size, value, prp_set, prp_get, prp_delete,
+ prp_copy, prp_close);
+ }
+ return (int)mh$.invokeExact(plist_id, name, size, value, prp_set, prp_get, prp_delete, prp_copy,
+ prp_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pencode1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pencode1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static FunctionDescriptor H5Pencode1$descriptor() { return H5Pencode1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MethodHandle H5Pencode1$handle() { return H5Pencode1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MemorySegment H5Pencode1$address() { return H5Pencode1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static int H5Pencode1(long plist_id, MemorySegment buf, MemorySegment nalloc)
+ {
+ var mh$ = H5Pencode1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pencode1", plist_id, buf, nalloc);
+ }
+ return (int)mh$.invokeExact(plist_id, buf, nalloc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter1$descriptor() { return H5Pget_filter1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MethodHandle H5Pget_filter1$handle() { return H5Pget_filter1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MemorySegment H5Pget_filter1$address() { return H5Pget_filter1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static int H5Pget_filter1(long plist_id, int filter, MemorySegment flags, MemorySegment cd_nelmts,
+ MemorySegment cd_values, long namelen, MemorySegment name)
+ {
+ var mh$ = H5Pget_filter1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter1", plist_id, filter, flags, cd_nelmts, cd_values, namelen, name);
+ }
+ return (int)mh$.invokeExact(plist_id, filter, flags, cd_nelmts, cd_values, namelen, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter_by_id1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter_by_id1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter_by_id1$descriptor() { return H5Pget_filter_by_id1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MethodHandle H5Pget_filter_by_id1$handle() { return H5Pget_filter_by_id1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MemorySegment H5Pget_filter_by_id1$address() { return H5Pget_filter_by_id1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static int H5Pget_filter_by_id1(long plist_id, int id, MemorySegment flags,
+ MemorySegment cd_nelmts, MemorySegment cd_values, long namelen,
+ MemorySegment name)
+ {
+ var mh$ = H5Pget_filter_by_id1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter_by_id1", plist_id, id, flags, cd_nelmts, cd_values, namelen,
+ name);
+ }
+ return (int)mh$.invokeExact(plist_id, id, flags, cd_nelmts, cd_values, namelen, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_version {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_version");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_version$descriptor() { return H5Pget_version.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static MethodHandle H5Pget_version$handle() { return H5Pget_version.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static MemorySegment H5Pget_version$address() { return H5Pget_version.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static int H5Pget_version(long plist_id, MemorySegment boot, MemorySegment freelist,
+ MemorySegment stab, MemorySegment shhdr)
+ {
+ var mh$ = H5Pget_version.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_version", plist_id, boot, freelist, stab, shhdr);
+ }
+ return (int)mh$.invokeExact(plist_id, boot, freelist, stab, shhdr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_space {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_space$descriptor() { return H5Pset_file_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static MethodHandle H5Pset_file_space$handle() { return H5Pset_file_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static MemorySegment H5Pset_file_space$address() { return H5Pset_file_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static int H5Pset_file_space(long plist_id, int strategy, long threshold)
+ {
+ var mh$ = H5Pset_file_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_space", plist_id, strategy, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_space {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_space$descriptor() { return H5Pget_file_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static MethodHandle H5Pget_file_space$handle() { return H5Pget_file_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static MemorySegment H5Pget_file_space$address() { return H5Pget_file_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static int H5Pget_file_space(long plist_id, MemorySegment strategy, MemorySegment threshold)
+ {
+ var mh$ = H5Pget_file_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_space", plist_id, strategy, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5PL_TYPE_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_ERROR = -1
+ * }
+ */
+ public static int H5PL_TYPE_ERROR() { return H5PL_TYPE_ERROR; }
+ private static final int H5PL_TYPE_FILTER = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_FILTER = 0
+ * }
+ */
+ public static int H5PL_TYPE_FILTER() { return H5PL_TYPE_FILTER; }
+ private static final int H5PL_TYPE_VOL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_VOL = 1
+ * }
+ */
+ public static int H5PL_TYPE_VOL() { return H5PL_TYPE_VOL; }
+ private static final int H5PL_TYPE_VFD = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_VFD = 2
+ * }
+ */
+ public static int H5PL_TYPE_VFD() { return H5PL_TYPE_VFD; }
+ private static final int H5PL_TYPE_NONE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_NONE = 3
+ * }
+ */
+ public static int H5PL_TYPE_NONE() { return H5PL_TYPE_NONE; }
+
+ private static class H5PLset_loading_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLset_loading_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static FunctionDescriptor H5PLset_loading_state$descriptor() { return H5PLset_loading_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static MethodHandle H5PLset_loading_state$handle() { return H5PLset_loading_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static MemorySegment H5PLset_loading_state$address() { return H5PLset_loading_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static int H5PLset_loading_state(int plugin_control_mask)
+ {
+ var mh$ = H5PLset_loading_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLset_loading_state", plugin_control_mask);
+ }
+ return (int)mh$.invokeExact(plugin_control_mask);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLget_loading_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLget_loading_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static FunctionDescriptor H5PLget_loading_state$descriptor() { return H5PLget_loading_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static MethodHandle H5PLget_loading_state$handle() { return H5PLget_loading_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static MemorySegment H5PLget_loading_state$address() { return H5PLget_loading_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static int H5PLget_loading_state(MemorySegment plugin_control_mask)
+ {
+ var mh$ = H5PLget_loading_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLget_loading_state", plugin_control_mask);
+ }
+ return (int)mh$.invokeExact(plugin_control_mask);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLappend {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLappend");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static FunctionDescriptor H5PLappend$descriptor() { return H5PLappend.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static MethodHandle H5PLappend$handle() { return H5PLappend.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static MemorySegment H5PLappend$address() { return H5PLappend.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static int H5PLappend(MemorySegment search_path)
+ {
+ var mh$ = H5PLappend.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLappend", search_path);
+ }
+ return (int)mh$.invokeExact(search_path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLprepend {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLprepend");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static FunctionDescriptor H5PLprepend$descriptor() { return H5PLprepend.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static MethodHandle H5PLprepend$handle() { return H5PLprepend.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static MemorySegment H5PLprepend$address() { return H5PLprepend.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static int H5PLprepend(MemorySegment search_path)
+ {
+ var mh$ = H5PLprepend.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLprepend", search_path);
+ }
+ return (int)mh$.invokeExact(search_path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLreplace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLreplace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static FunctionDescriptor H5PLreplace$descriptor() { return H5PLreplace.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MethodHandle H5PLreplace$handle() { return H5PLreplace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MemorySegment H5PLreplace$address() { return H5PLreplace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static int H5PLreplace(MemorySegment search_path, int index)
+ {
+ var mh$ = H5PLreplace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLreplace", search_path, index);
+ }
+ return (int)mh$.invokeExact(search_path, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLinsert {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLinsert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static FunctionDescriptor H5PLinsert$descriptor() { return H5PLinsert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MethodHandle H5PLinsert$handle() { return H5PLinsert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MemorySegment H5PLinsert$address() { return H5PLinsert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static int H5PLinsert(MemorySegment search_path, int index)
+ {
+ var mh$ = H5PLinsert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLinsert", search_path, index);
+ }
+ return (int)mh$.invokeExact(search_path, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLremove {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLremove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static FunctionDescriptor H5PLremove$descriptor() { return H5PLremove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static MethodHandle H5PLremove$handle() { return H5PLremove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static MemorySegment H5PLremove$address() { return H5PLremove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static int H5PLremove(int index)
+ {
+ var mh$ = H5PLremove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLremove", index);
+ }
+ return (int)mh$.invokeExact(index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLget {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLget");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5PLget$descriptor() { return H5PLget.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5PLget$handle() { return H5PLget.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5PLget$address() { return H5PLget.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static long H5PLget(int index, MemorySegment path_buf, long buf_size)
+ {
+ var mh$ = H5PLget.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLget", index, path_buf, buf_size);
+ }
+ return (long)mh$.invokeExact(index, path_buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLsize {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLsize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static FunctionDescriptor H5PLsize$descriptor() { return H5PLsize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static MethodHandle H5PLsize$handle() { return H5PLsize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static MemorySegment H5PLsize$address() { return H5PLsize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static int H5PLsize(MemorySegment num_paths)
+ {
+ var mh$ = H5PLsize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLsize", num_paths);
+ }
+ return (int)mh$.invokeExact(num_paths);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESinsert_request {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESinsert_request");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static FunctionDescriptor H5ESinsert_request$descriptor() { return H5ESinsert_request.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static MethodHandle H5ESinsert_request$handle() { return H5ESinsert_request.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static MemorySegment H5ESinsert_request$address() { return H5ESinsert_request.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static int H5ESinsert_request(long es_id, long connector_id, MemorySegment request)
+ {
+ var mh$ = H5ESinsert_request.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESinsert_request", es_id, connector_id, request);
+ }
+ return (int)mh$.invokeExact(es_id, connector_id, request);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_requests {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_requests");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_requests$descriptor() { return H5ESget_requests.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static MethodHandle H5ESget_requests$handle() { return H5ESget_requests.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static MemorySegment H5ESget_requests$address() { return H5ESget_requests.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static int H5ESget_requests(long es_id, int order, MemorySegment connector_ids,
+ MemorySegment requests, long array_len, MemorySegment count)
+ {
+ var mh$ = H5ESget_requests.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_requests", es_id, order, connector_ids, requests, array_len, count);
+ }
+ return (int)mh$.invokeExact(es_id, order, connector_ids, requests, array_len, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static FunctionDescriptor H5FDregister$descriptor() { return H5FDregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static MethodHandle H5FDregister$handle() { return H5FDregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static MemorySegment H5FDregister$address() { return H5FDregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static long H5FDregister(MemorySegment cls)
+ {
+ var mh$ = H5FDregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDregister", cls);
+ }
+ return (long)mh$.invokeExact(cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDis_driver_registered_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDis_driver_registered_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static FunctionDescriptor H5FDis_driver_registered_by_name$descriptor()
+ {
+ return H5FDis_driver_registered_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static MethodHandle H5FDis_driver_registered_by_name$handle()
+ {
+ return H5FDis_driver_registered_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static MemorySegment H5FDis_driver_registered_by_name$address()
+ {
+ return H5FDis_driver_registered_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static int H5FDis_driver_registered_by_name(MemorySegment driver_name)
+ {
+ var mh$ = H5FDis_driver_registered_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDis_driver_registered_by_name", driver_name);
+ }
+ return (int)mh$.invokeExact(driver_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDis_driver_registered_by_value {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDis_driver_registered_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static FunctionDescriptor H5FDis_driver_registered_by_value$descriptor()
+ {
+ return H5FDis_driver_registered_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static MethodHandle H5FDis_driver_registered_by_value$handle()
+ {
+ return H5FDis_driver_registered_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static MemorySegment H5FDis_driver_registered_by_value$address()
+ {
+ return H5FDis_driver_registered_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static int H5FDis_driver_registered_by_value(int driver_value)
+ {
+ var mh$ = H5FDis_driver_registered_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDis_driver_registered_by_value", driver_value);
+ }
+ return (int)mh$.invokeExact(driver_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static FunctionDescriptor H5FDunregister$descriptor() { return H5FDunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static MethodHandle H5FDunregister$handle() { return H5FDunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static MemorySegment H5FDunregister$address() { return H5FDunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static int H5FDunregister(long driver_id)
+ {
+ var mh$ = H5FDunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDunregister", driver_id);
+ }
+ return (int)mh$.invokeExact(driver_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDopen {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static FunctionDescriptor H5FDopen$descriptor() { return H5FDopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static MethodHandle H5FDopen$handle() { return H5FDopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static MemorySegment H5FDopen$address() { return H5FDopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static MemorySegment H5FDopen(MemorySegment name, int flags, long fapl_id, long maxaddr)
+ {
+ var mh$ = H5FDopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDopen", name, flags, fapl_id, maxaddr);
+ }
+ return (MemorySegment)mh$.invokeExact(name, flags, fapl_id, maxaddr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static FunctionDescriptor H5FDclose$descriptor() { return H5FDclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static MethodHandle H5FDclose$handle() { return H5FDclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static MemorySegment H5FDclose$address() { return H5FDclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static int H5FDclose(MemorySegment file)
+ {
+ var mh$ = H5FDclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDclose", file);
+ }
+ return (int)mh$.invokeExact(file);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDcmp {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDcmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static FunctionDescriptor H5FDcmp$descriptor() { return H5FDcmp.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static MethodHandle H5FDcmp$handle() { return H5FDcmp.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static MemorySegment H5FDcmp$address() { return H5FDcmp.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static int H5FDcmp(MemorySegment f1, MemorySegment f2)
+ {
+ var mh$ = H5FDcmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDcmp", f1, f2);
+ }
+ return (int)mh$.invokeExact(f1, f2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDquery {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDquery");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static FunctionDescriptor H5FDquery$descriptor() { return H5FDquery.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static MethodHandle H5FDquery$handle() { return H5FDquery.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static MemorySegment H5FDquery$address() { return H5FDquery.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static int H5FDquery(MemorySegment f, MemorySegment flags)
+ {
+ var mh$ = H5FDquery.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDquery", f, flags);
+ }
+ return (int)mh$.invokeExact(f, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDalloc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDalloc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5FDalloc$descriptor() { return H5FDalloc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5FDalloc$handle() { return H5FDalloc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5FDalloc$address() { return H5FDalloc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static long H5FDalloc(MemorySegment file, int type, long dxpl_id, long size)
+ {
+ var mh$ = H5FDalloc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDalloc", file, type, dxpl_id, size);
+ }
+ return (long)mh$.invokeExact(file, type, dxpl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDfree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDfree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5FDfree$descriptor() { return H5FDfree.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5FDfree$handle() { return H5FDfree.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5FDfree$address() { return H5FDfree.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static int H5FDfree(MemorySegment file, int type, long dxpl_id, long addr, long size)
+ {
+ var mh$ = H5FDfree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDfree", file, type, dxpl_id, addr, size);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, addr, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDget_eoa {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDget_eoa");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static FunctionDescriptor H5FDget_eoa$descriptor() { return H5FDget_eoa.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MethodHandle H5FDget_eoa$handle() { return H5FDget_eoa.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MemorySegment H5FDget_eoa$address() { return H5FDget_eoa.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static long H5FDget_eoa(MemorySegment file, int type)
+ {
+ var mh$ = H5FDget_eoa.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDget_eoa", file, type);
+ }
+ return (long)mh$.invokeExact(file, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDset_eoa {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDset_eoa");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static FunctionDescriptor H5FDset_eoa$descriptor() { return H5FDset_eoa.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static MethodHandle H5FDset_eoa$handle() { return H5FDset_eoa.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static MemorySegment H5FDset_eoa$address() { return H5FDset_eoa.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static int H5FDset_eoa(MemorySegment file, int type, long eoa)
+ {
+ var mh$ = H5FDset_eoa.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDset_eoa", file, type, eoa);
+ }
+ return (int)mh$.invokeExact(file, type, eoa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDget_eof {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDget_eof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static FunctionDescriptor H5FDget_eof$descriptor() { return H5FDget_eof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MethodHandle H5FDget_eof$handle() { return H5FDget_eof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MemorySegment H5FDget_eof$address() { return H5FDget_eof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static long H5FDget_eof(MemorySegment file, int type)
+ {
+ var mh$ = H5FDget_eof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDget_eof", file, type);
+ }
+ return (long)mh$.invokeExact(file, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDget_vfd_handle {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDget_vfd_handle");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static FunctionDescriptor H5FDget_vfd_handle$descriptor() { return H5FDget_vfd_handle.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MethodHandle H5FDget_vfd_handle$handle() { return H5FDget_vfd_handle.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MemorySegment H5FDget_vfd_handle$address() { return H5FDget_vfd_handle.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static int H5FDget_vfd_handle(MemorySegment file, long fapl, MemorySegment file_handle)
+ {
+ var mh$ = H5FDget_vfd_handle.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDget_vfd_handle", file, fapl, file_handle);
+ }
+ return (int)mh$.invokeExact(file, fapl, file_handle);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5FDread$descriptor() { return H5FDread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static MethodHandle H5FDread$handle() { return H5FDread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static MemorySegment H5FDread$address() { return H5FDread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static int H5FDread(MemorySegment file, int type, long dxpl_id, long addr, long size,
+ MemorySegment buf)
+ {
+ var mh$ = H5FDread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread", file, type, dxpl_id, addr, size, buf);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, addr, size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite$descriptor() { return H5FDwrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static MethodHandle H5FDwrite$handle() { return H5FDwrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static MemorySegment H5FDwrite$address() { return H5FDwrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static int H5FDwrite(MemorySegment file, int type, long dxpl_id, long addr, long size,
+ MemorySegment buf)
+ {
+ var mh$ = H5FDwrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite", file, type, dxpl_id, addr, size, buf);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, addr, size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_vector {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_vector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_vector$descriptor() { return H5FDread_vector.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_vector$handle() { return H5FDread_vector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_vector$address() { return H5FDread_vector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_vector(MemorySegment file, long dxpl_id, int count, MemorySegment types,
+ MemorySegment addrs, MemorySegment sizes, MemorySegment bufs)
+ {
+ var mh$ = H5FDread_vector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_vector", file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_vector {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_vector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_vector$descriptor() { return H5FDwrite_vector.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_vector$handle() { return H5FDwrite_vector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_vector$address() { return H5FDwrite_vector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_vector(MemorySegment file, long dxpl_id, int count, MemorySegment types,
+ MemorySegment addrs, MemorySegment sizes, MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_vector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_vector", file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_selection$descriptor() { return H5FDread_selection.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_selection$handle() { return H5FDread_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_selection$address() { return H5FDread_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDread_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_selection", file, type, dxpl_id, count, mem_spaces, file_spaces,
+ offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_selection$descriptor() { return H5FDwrite_selection.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_selection$handle() { return H5FDwrite_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_selection$address() { return H5FDwrite_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_selection", file, type, dxpl_id, count, mem_spaces, file_spaces,
+ offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_vector_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_vector_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_vector_from_selection$descriptor()
+ {
+ return H5FDread_vector_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_vector_from_selection$handle()
+ {
+ return H5FDread_vector_from_selection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_vector_from_selection$address()
+ {
+ return H5FDread_vector_from_selection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_vector_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDread_vector_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_vector_from_selection", file, type, dxpl_id, count, mem_spaces,
+ file_spaces, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_vector_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_vector_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_vector_from_selection$descriptor()
+ {
+ return H5FDwrite_vector_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_vector_from_selection$handle()
+ {
+ return H5FDwrite_vector_from_selection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_vector_from_selection$address()
+ {
+ return H5FDwrite_vector_from_selection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_vector_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_vector_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_vector_from_selection", file, type, dxpl_id, count, mem_spaces,
+ file_spaces, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_from_selection$descriptor()
+ {
+ return H5FDread_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_from_selection$handle() { return H5FDread_from_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_from_selection$address() { return H5FDread_from_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_space_ids, MemorySegment file_space_ids,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDread_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_from_selection", file, type, dxpl_id, count, mem_space_ids,
+ file_space_ids, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_space_ids, file_space_ids, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_from_selection$descriptor()
+ {
+ return H5FDwrite_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_from_selection$handle() { return H5FDwrite_from_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_from_selection$address() { return H5FDwrite_from_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_space_ids, MemorySegment file_space_ids,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_from_selection", file, type, dxpl_id, count, mem_space_ids,
+ file_space_ids, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_space_ids, file_space_ids, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDflush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static FunctionDescriptor H5FDflush$descriptor() { return H5FDflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MethodHandle H5FDflush$handle() { return H5FDflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MemorySegment H5FDflush$address() { return H5FDflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static int H5FDflush(MemorySegment file, long dxpl_id, boolean closing)
+ {
+ var mh$ = H5FDflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDflush", file, dxpl_id, closing);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, closing);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDtruncate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDtruncate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static FunctionDescriptor H5FDtruncate$descriptor() { return H5FDtruncate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MethodHandle H5FDtruncate$handle() { return H5FDtruncate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MemorySegment H5FDtruncate$address() { return H5FDtruncate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static int H5FDtruncate(MemorySegment file, long dxpl_id, boolean closing)
+ {
+ var mh$ = H5FDtruncate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDtruncate", file, dxpl_id, closing);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, closing);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDlock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDlock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static FunctionDescriptor H5FDlock$descriptor() { return H5FDlock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static MethodHandle H5FDlock$handle() { return H5FDlock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static MemorySegment H5FDlock$address() { return H5FDlock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static int H5FDlock(MemorySegment file, boolean rw)
+ {
+ var mh$ = H5FDlock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDlock", file, rw);
+ }
+ return (int)mh$.invokeExact(file, rw);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDunlock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDunlock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static FunctionDescriptor H5FDunlock$descriptor() { return H5FDunlock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static MethodHandle H5FDunlock$handle() { return H5FDunlock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static MemorySegment H5FDunlock$address() { return H5FDunlock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static int H5FDunlock(MemorySegment file)
+ {
+ var mh$ = H5FDunlock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDunlock", file);
+ }
+ return (int)mh$.invokeExact(file);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDdelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDdelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5FDdelete$descriptor() { return H5FDdelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5FDdelete$handle() { return H5FDdelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5FDdelete$address() { return H5FDdelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static int H5FDdelete(MemorySegment name, long fapl_id)
+ {
+ var mh$ = H5FDdelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDdelete", name, fapl_id);
+ }
+ return (int)mh$.invokeExact(name, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDctl {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDctl");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static FunctionDescriptor H5FDctl$descriptor() { return H5FDctl.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static MethodHandle H5FDctl$handle() { return H5FDctl.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static MemorySegment H5FDctl$address() { return H5FDctl.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static int H5FDctl(MemorySegment file, long op_code, long flags, MemorySegment input,
+ MemorySegment output)
+ {
+ var mh$ = H5FDctl.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDctl", file, op_code, flags, input, output);
+ }
+ return (int)mh$.invokeExact(file, op_code, flags, input, output);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iregister_future {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister_future");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister_future$descriptor() { return H5Iregister_future.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static MethodHandle H5Iregister_future$handle() { return H5Iregister_future.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static MemorySegment H5Iregister_future$address() { return H5Iregister_future.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static long H5Iregister_future(int type, MemorySegment object, MemorySegment realize_cb,
+ MemorySegment discard_cb)
+ {
+ var mh$ = H5Iregister_future.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister_future", type, object, realize_cb, discard_cb);
+ }
+ return (long)mh$.invokeExact(type, object, realize_cb, discard_cb);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static FunctionDescriptor H5Lregister$descriptor() { return H5Lregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static MethodHandle H5Lregister$handle() { return H5Lregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static MemorySegment H5Lregister$address() { return H5Lregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static int H5Lregister(MemorySegment cls)
+ {
+ var mh$ = H5Lregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lregister", cls);
+ }
+ return (int)mh$.invokeExact(cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Lunregister$descriptor() { return H5Lunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static MethodHandle H5Lunregister$handle() { return H5Lunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static MemorySegment H5Lunregister$address() { return H5Lunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static int H5Lunregister(int id)
+ {
+ var mh$ = H5Lunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lunregister", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5T_CONV_INIT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cmd_t.H5T_CONV_INIT = 0
+ * }
+ */
+ public static int H5T_CONV_INIT() { return H5T_CONV_INIT; }
+ private static final int H5T_CONV_CONV = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cmd_t.H5T_CONV_CONV = 1
+ * }
+ */
+ public static int H5T_CONV_CONV() { return H5T_CONV_CONV; }
+ private static final int H5T_CONV_FREE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cmd_t.H5T_CONV_FREE = 2
+ * }
+ */
+ public static int H5T_CONV_FREE() { return H5T_CONV_FREE; }
+ private static final int H5T_BKG_NO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_bkg_t.H5T_BKG_NO = 0
+ * }
+ */
+ public static int H5T_BKG_NO() { return H5T_BKG_NO; }
+ private static final int H5T_BKG_TEMP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_bkg_t.H5T_BKG_TEMP = 1
+ * }
+ */
+ public static int H5T_BKG_TEMP() { return H5T_BKG_TEMP; }
+ private static final int H5T_BKG_YES = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_bkg_t.H5T_BKG_YES = 2
+ * }
+ */
+ public static int H5T_BKG_YES() { return H5T_BKG_YES; }
+ private static final int H5T_PERS_DONTCARE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pers_t.H5T_PERS_DONTCARE = -1
+ * }
+ */
+ public static int H5T_PERS_DONTCARE() { return H5T_PERS_DONTCARE; }
+ private static final int H5T_PERS_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pers_t.H5T_PERS_HARD = 0
+ * }
+ */
+ public static int H5T_PERS_HARD() { return H5T_PERS_HARD; }
+ private static final int H5T_PERS_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pers_t.H5T_PERS_SOFT = 1
+ * }
+ */
+ public static int H5T_PERS_SOFT() { return H5T_PERS_SOFT; }
+
+ private static class H5Tregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static FunctionDescriptor H5Tregister$descriptor() { return H5Tregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MethodHandle H5Tregister$handle() { return H5Tregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MemorySegment H5Tregister$address() { return H5Tregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static int H5Tregister(int pers, MemorySegment name, long src_id, long dst_id, MemorySegment func)
+ {
+ var mh$ = H5Tregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tregister", pers, name, src_id, dst_id, func);
+ }
+ return (int)mh$.invokeExact(pers, name, src_id, dst_id, func);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tunregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static FunctionDescriptor H5Tunregister$descriptor() { return H5Tunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MethodHandle H5Tunregister$handle() { return H5Tunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MemorySegment H5Tunregister$address() { return H5Tunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static int H5Tunregister(int pers, MemorySegment name, long src_id, long dst_id,
+ MemorySegment func)
+ {
+ var mh$ = H5Tunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tunregister", pers, name, src_id, dst_id, func);
+ }
+ return (int)mh$.invokeExact(pers, name, src_id, dst_id, func);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tfind {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tfind");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static FunctionDescriptor H5Tfind$descriptor() { return H5Tfind.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static MethodHandle H5Tfind$handle() { return H5Tfind.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static MemorySegment H5Tfind$address() { return H5Tfind.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static MemorySegment H5Tfind(long src_id, long dst_id, MemorySegment pcdata)
+ {
+ var mh$ = H5Tfind.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tfind", src_id, dst_id, pcdata);
+ }
+ return (MemorySegment)mh$.invokeExact(src_id, dst_id, pcdata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcompiler_conv {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcompiler_conv");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcompiler_conv$descriptor() { return H5Tcompiler_conv.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static MethodHandle H5Tcompiler_conv$handle() { return H5Tcompiler_conv.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static MemorySegment H5Tcompiler_conv$address() { return H5Tcompiler_conv.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static int H5Tcompiler_conv(long src_id, long dst_id)
+ {
+ var mh$ = H5Tcompiler_conv.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcompiler_conv", src_id, dst_id);
+ }
+ return (int)mh$.invokeExact(src_id, dst_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5TSmutex_acquire {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5TSmutex_acquire");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static FunctionDescriptor H5TSmutex_acquire$descriptor() { return H5TSmutex_acquire.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static MethodHandle H5TSmutex_acquire$handle() { return H5TSmutex_acquire.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static MemorySegment H5TSmutex_acquire$address() { return H5TSmutex_acquire.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static int H5TSmutex_acquire(int lock_count, MemorySegment acquired)
+ {
+ var mh$ = H5TSmutex_acquire.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5TSmutex_acquire", lock_count, acquired);
+ }
+ return (int)mh$.invokeExact(lock_count, acquired);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5TSmutex_release {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5TSmutex_release");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static FunctionDescriptor H5TSmutex_release$descriptor() { return H5TSmutex_release.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static MethodHandle H5TSmutex_release$handle() { return H5TSmutex_release.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static MemorySegment H5TSmutex_release$address() { return H5TSmutex_release.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static int H5TSmutex_release(MemorySegment lock_count)
+ {
+ var mh$ = H5TSmutex_release.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5TSmutex_release", lock_count);
+ }
+ return (int)mh$.invokeExact(lock_count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5TSmutex_get_attempt_count {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5TSmutex_get_attempt_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static FunctionDescriptor H5TSmutex_get_attempt_count$descriptor()
+ {
+ return H5TSmutex_get_attempt_count.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static MethodHandle H5TSmutex_get_attempt_count$handle()
+ {
+ return H5TSmutex_get_attempt_count.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static MemorySegment H5TSmutex_get_attempt_count$address()
+ {
+ return H5TSmutex_get_attempt_count.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static int H5TSmutex_get_attempt_count(MemorySegment count)
+ {
+ var mh$ = H5TSmutex_get_attempt_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5TSmutex_get_attempt_count", count);
+ }
+ return (int)mh$.invokeExact(count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Zregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static FunctionDescriptor H5Zregister$descriptor() { return H5Zregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static MethodHandle H5Zregister$handle() { return H5Zregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static MemorySegment H5Zregister$address() { return H5Zregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static int H5Zregister(MemorySegment cls)
+ {
+ var mh$ = H5Zregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zregister", cls);
+ }
+ return (int)mh$.invokeExact(cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Zunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Zunregister$descriptor() { return H5Zunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static MethodHandle H5Zunregister$handle() { return H5Zunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static MemorySegment H5Zunregister$address() { return H5Zunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static int H5Zunregister(int id)
+ {
+ var mh$ = H5Zunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zunregister", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLcmp_connector_cls {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLcmp_connector_cls");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static FunctionDescriptor H5VLcmp_connector_cls$descriptor() { return H5VLcmp_connector_cls.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static MethodHandle H5VLcmp_connector_cls$handle() { return H5VLcmp_connector_cls.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static MemorySegment H5VLcmp_connector_cls$address() { return H5VLcmp_connector_cls.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static int H5VLcmp_connector_cls(MemorySegment cmp, long connector_id1, long connector_id2)
+ {
+ var mh$ = H5VLcmp_connector_cls.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLcmp_connector_cls", cmp, connector_id1, connector_id2);
+ }
+ return (int)mh$.invokeExact(cmp, connector_id1, connector_id2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLwrap_register {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLwrap_register");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5VLwrap_register$descriptor() { return H5VLwrap_register.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5VLwrap_register$handle() { return H5VLwrap_register.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5VLwrap_register$address() { return H5VLwrap_register.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static long H5VLwrap_register(MemorySegment obj, int type)
+ {
+ var mh$ = H5VLwrap_register.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLwrap_register", obj, type);
+ }
+ return (long)mh$.invokeExact(obj, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLretrieve_lib_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLretrieve_lib_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static FunctionDescriptor H5VLretrieve_lib_state$descriptor()
+ {
+ return H5VLretrieve_lib_state.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static MethodHandle H5VLretrieve_lib_state$handle() { return H5VLretrieve_lib_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static MemorySegment H5VLretrieve_lib_state$address() { return H5VLretrieve_lib_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static int H5VLretrieve_lib_state(MemorySegment state)
+ {
+ var mh$ = H5VLretrieve_lib_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLretrieve_lib_state", state);
+ }
+ return (int)mh$.invokeExact(state);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLopen_lib_context {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLopen_lib_context");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static FunctionDescriptor H5VLopen_lib_context$descriptor() { return H5VLopen_lib_context.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static MethodHandle H5VLopen_lib_context$handle() { return H5VLopen_lib_context.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static MemorySegment H5VLopen_lib_context$address() { return H5VLopen_lib_context.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static int H5VLopen_lib_context(MemorySegment context)
+ {
+ var mh$ = H5VLopen_lib_context.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLopen_lib_context", context);
+ }
+ return (int)mh$.invokeExact(context);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrestore_lib_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrestore_lib_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static FunctionDescriptor H5VLrestore_lib_state$descriptor() { return H5VLrestore_lib_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static MethodHandle H5VLrestore_lib_state$handle() { return H5VLrestore_lib_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static MemorySegment H5VLrestore_lib_state$address() { return H5VLrestore_lib_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static int H5VLrestore_lib_state(MemorySegment state)
+ {
+ var mh$ = H5VLrestore_lib_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrestore_lib_state", state);
+ }
+ return (int)mh$.invokeExact(state);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLclose_lib_context {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLclose_lib_context");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static FunctionDescriptor H5VLclose_lib_context$descriptor() { return H5VLclose_lib_context.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static MethodHandle H5VLclose_lib_context$handle() { return H5VLclose_lib_context.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static MemorySegment H5VLclose_lib_context$address() { return H5VLclose_lib_context.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static int H5VLclose_lib_context(MemorySegment context)
+ {
+ var mh$ = H5VLclose_lib_context.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLclose_lib_context", context);
+ }
+ return (int)mh$.invokeExact(context);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfree_lib_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfree_lib_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static FunctionDescriptor H5VLfree_lib_state$descriptor() { return H5VLfree_lib_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static MethodHandle H5VLfree_lib_state$handle() { return H5VLfree_lib_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static MemorySegment H5VLfree_lib_state$address() { return H5VLfree_lib_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static int H5VLfree_lib_state(MemorySegment state)
+ {
+ var mh$ = H5VLfree_lib_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfree_lib_state", state);
+ }
+ return (int)mh$.invokeExact(state);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_object$descriptor() { return H5VLget_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLget_object$handle() { return H5VLget_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLget_object$address() { return H5VLget_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLget_object(MemorySegment obj, long connector_id)
+ {
+ var mh$ = H5VLget_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_object", obj, connector_id);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_wrap_ctx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_wrap_ctx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_wrap_ctx$descriptor() { return H5VLget_wrap_ctx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static MethodHandle H5VLget_wrap_ctx$handle() { return H5VLget_wrap_ctx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static MemorySegment H5VLget_wrap_ctx$address() { return H5VLget_wrap_ctx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static int H5VLget_wrap_ctx(MemorySegment obj, long connector_id, MemorySegment wrap_ctx)
+ {
+ var mh$ = H5VLget_wrap_ctx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_wrap_ctx", obj, connector_id, wrap_ctx);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, wrap_ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLwrap_object {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLwrap_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLwrap_object$descriptor() { return H5VLwrap_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static MethodHandle H5VLwrap_object$handle() { return H5VLwrap_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static MemorySegment H5VLwrap_object$address() { return H5VLwrap_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static MemorySegment H5VLwrap_object(MemorySegment obj, int obj_type, long connector_id,
+ MemorySegment wrap_ctx)
+ {
+ var mh$ = H5VLwrap_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLwrap_object", obj, obj_type, connector_id, wrap_ctx);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, obj_type, connector_id, wrap_ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLunwrap_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLunwrap_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLunwrap_object$descriptor() { return H5VLunwrap_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLunwrap_object$handle() { return H5VLunwrap_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLunwrap_object$address() { return H5VLunwrap_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLunwrap_object(MemorySegment obj, long connector_id)
+ {
+ var mh$ = H5VLunwrap_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLunwrap_object", obj, connector_id);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfree_wrap_ctx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfree_wrap_ctx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLfree_wrap_ctx$descriptor() { return H5VLfree_wrap_ctx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLfree_wrap_ctx$handle() { return H5VLfree_wrap_ctx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLfree_wrap_ctx$address() { return H5VLfree_wrap_ctx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static int H5VLfree_wrap_ctx(MemorySegment wrap_ctx, long connector_id)
+ {
+ var mh$ = H5VLfree_wrap_ctx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfree_wrap_ctx", wrap_ctx, connector_id);
+ }
+ return (int)mh$.invokeExact(wrap_ctx, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLinitialize {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLinitialize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLinitialize$descriptor() { return H5VLinitialize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLinitialize$handle() { return H5VLinitialize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLinitialize$address() { return H5VLinitialize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static int H5VLinitialize(long connector_id, long vipl_id)
+ {
+ var mh$ = H5VLinitialize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLinitialize", connector_id, vipl_id);
+ }
+ return (int)mh$.invokeExact(connector_id, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLterminate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLterminate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLterminate$descriptor() { return H5VLterminate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLterminate$handle() { return H5VLterminate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLterminate$address() { return H5VLterminate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static int H5VLterminate(long connector_id)
+ {
+ var mh$ = H5VLterminate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLterminate", connector_id);
+ }
+ return (int)mh$.invokeExact(connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_cap_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_cap_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_cap_flags$descriptor() { return H5VLget_cap_flags.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MethodHandle H5VLget_cap_flags$handle() { return H5VLget_cap_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MemorySegment H5VLget_cap_flags$address() { return H5VLget_cap_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static int H5VLget_cap_flags(long connector_id, MemorySegment cap_flags)
+ {
+ var mh$ = H5VLget_cap_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_cap_flags", connector_id, cap_flags);
+ }
+ return (int)mh$.invokeExact(connector_id, cap_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_value$descriptor() { return H5VLget_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static MethodHandle H5VLget_value$handle() { return H5VLget_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static MemorySegment H5VLget_value$address() { return H5VLget_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static int H5VLget_value(long connector_id, MemorySegment conn_value)
+ {
+ var mh$ = H5VLget_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_value", connector_id, conn_value);
+ }
+ return (int)mh$.invokeExact(connector_id, conn_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLcopy_connector_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLcopy_connector_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5VLcopy_connector_info$descriptor()
+ {
+ return H5VLcopy_connector_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static MethodHandle H5VLcopy_connector_info$handle() { return H5VLcopy_connector_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static MemorySegment H5VLcopy_connector_info$address() { return H5VLcopy_connector_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static int H5VLcopy_connector_info(long connector_id, MemorySegment dst_vol_info,
+ MemorySegment src_vol_info)
+ {
+ var mh$ = H5VLcopy_connector_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLcopy_connector_info", connector_id, dst_vol_info, src_vol_info);
+ }
+ return (int)mh$.invokeExact(connector_id, dst_vol_info, src_vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLcmp_connector_info {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLcmp_connector_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static FunctionDescriptor H5VLcmp_connector_info$descriptor()
+ {
+ return H5VLcmp_connector_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static MethodHandle H5VLcmp_connector_info$handle() { return H5VLcmp_connector_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static MemorySegment H5VLcmp_connector_info$address() { return H5VLcmp_connector_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static int H5VLcmp_connector_info(MemorySegment cmp, long connector_id, MemorySegment info1,
+ MemorySegment info2)
+ {
+ var mh$ = H5VLcmp_connector_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLcmp_connector_info", cmp, connector_id, info1, info2);
+ }
+ return (int)mh$.invokeExact(cmp, connector_id, info1, info2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfree_connector_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfree_connector_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5VLfree_connector_info$descriptor()
+ {
+ return H5VLfree_connector_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static MethodHandle H5VLfree_connector_info$handle() { return H5VLfree_connector_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static MemorySegment H5VLfree_connector_info$address() { return H5VLfree_connector_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static int H5VLfree_connector_info(long connector_id, MemorySegment vol_info)
+ {
+ var mh$ = H5VLfree_connector_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfree_connector_info", connector_id, vol_info);
+ }
+ return (int)mh$.invokeExact(connector_id, vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLconnector_info_to_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLconnector_info_to_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static FunctionDescriptor H5VLconnector_info_to_str$descriptor()
+ {
+ return H5VLconnector_info_to_str.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static MethodHandle H5VLconnector_info_to_str$handle() { return H5VLconnector_info_to_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static MemorySegment H5VLconnector_info_to_str$address() { return H5VLconnector_info_to_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static int H5VLconnector_info_to_str(MemorySegment info, long connector_id, MemorySegment str)
+ {
+ var mh$ = H5VLconnector_info_to_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLconnector_info_to_str", info, connector_id, str);
+ }
+ return (int)mh$.invokeExact(info, connector_id, str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLconnector_str_to_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLconnector_str_to_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static FunctionDescriptor H5VLconnector_str_to_info$descriptor()
+ {
+ return H5VLconnector_str_to_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static MethodHandle H5VLconnector_str_to_info$handle() { return H5VLconnector_str_to_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static MemorySegment H5VLconnector_str_to_info$address() { return H5VLconnector_str_to_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static int H5VLconnector_str_to_info(MemorySegment str, long connector_id, MemorySegment info)
+ {
+ var mh$ = H5VLconnector_str_to_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLconnector_str_to_info", str, connector_id, info);
+ }
+ return (int)mh$.invokeExact(str, connector_id, info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_create$descriptor() { return H5VLattr_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_create$handle() { return H5VLattr_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_create$address() { return H5VLattr_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_create(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment attr_name, long type_id,
+ long space_id, long acpl_id, long aapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLattr_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_create", obj, loc_params, connector_id, attr_name, type_id, space_id,
+ acpl_id, aapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, attr_name, type_id, space_id,
+ acpl_id, aapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_open$descriptor() { return H5VLattr_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_open$handle() { return H5VLattr_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_open$address() { return H5VLattr_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_open(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment name, long aapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLattr_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_open", obj, loc_params, connector_id, name, aapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, aapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_read {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_read");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_read$descriptor() { return H5VLattr_read.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_read$handle() { return H5VLattr_read.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_read$address() { return H5VLattr_read.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLattr_read(MemorySegment attr, long connector_id, long dtype_id, MemorySegment buf,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_read.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_read", attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_write {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_write");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_write$descriptor() { return H5VLattr_write.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_write$handle() { return H5VLattr_write.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_write$address() { return H5VLattr_write.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLattr_write(MemorySegment attr, long connector_id, long dtype_id, MemorySegment buf,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_write.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_write", attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_get$descriptor() { return H5VLattr_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_get$handle() { return H5VLattr_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_get$address() { return H5VLattr_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLattr_get(MemorySegment obj, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLattr_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_get", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_specific$descriptor() { return H5VLattr_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_specific$handle() { return H5VLattr_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_specific$address() { return H5VLattr_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLattr_specific(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_specific", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_optional$descriptor() { return H5VLattr_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_optional$handle() { return H5VLattr_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_optional$address() { return H5VLattr_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLattr_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_close$descriptor() { return H5VLattr_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_close$handle() { return H5VLattr_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_close$address() { return H5VLattr_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLattr_close(MemorySegment attr, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_close", attr, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(attr, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_create$descriptor() { return H5VLdataset_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_create$handle() { return H5VLdataset_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_create$address() { return H5VLdataset_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_create(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long lcpl_id,
+ long type_id, long space_id, long dcpl_id, long dapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_create", obj, loc_params, connector_id, name, lcpl_id, type_id,
+ space_id, dcpl_id, dapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, lcpl_id, type_id,
+ space_id, dcpl_id, dapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_open$descriptor() { return H5VLdataset_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_open$handle() { return H5VLdataset_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_open$address() { return H5VLdataset_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_open(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long dapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_open", obj, loc_params, connector_id, name, dapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, dapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_read {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_read");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_read$descriptor() { return H5VLdataset_read.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_read$handle() { return H5VLdataset_read.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_read$address() { return H5VLdataset_read.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static int H5VLdataset_read(long count, MemorySegment dset, long connector_id,
+ MemorySegment mem_type_id, MemorySegment mem_space_id,
+ MemorySegment file_space_id, long plist_id, MemorySegment buf,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_read.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_read", count, dset, connector_id, mem_type_id, mem_space_id,
+ file_space_id, plist_id, buf, req);
+ }
+ return (int)mh$.invokeExact(count, dset, connector_id, mem_type_id, mem_space_id, file_space_id,
+ plist_id, buf, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_write {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_write");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_write$descriptor() { return H5VLdataset_write.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_write$handle() { return H5VLdataset_write.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_write$address() { return H5VLdataset_write.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static int H5VLdataset_write(long count, MemorySegment dset, long connector_id,
+ MemorySegment mem_type_id, MemorySegment mem_space_id,
+ MemorySegment file_space_id, long plist_id, MemorySegment buf,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_write.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_write", count, dset, connector_id, mem_type_id, mem_space_id,
+ file_space_id, plist_id, buf, req);
+ }
+ return (int)mh$.invokeExact(count, dset, connector_id, mem_type_id, mem_space_id, file_space_id,
+ plist_id, buf, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_get$descriptor() { return H5VLdataset_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_get$handle() { return H5VLdataset_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_get$address() { return H5VLdataset_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdataset_get(MemorySegment dset, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_get", dset, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dset, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_specific$descriptor() { return H5VLdataset_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_specific$handle() { return H5VLdataset_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_specific$address() { return H5VLdataset_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdataset_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_optional$descriptor() { return H5VLdataset_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_optional$handle() { return H5VLdataset_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_optional$address() { return H5VLdataset_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdataset_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_close$descriptor() { return H5VLdataset_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_close$handle() { return H5VLdataset_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_close$address() { return H5VLdataset_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdataset_close(MemorySegment dset, long connector_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_close", dset, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dset, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_commit {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_commit");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_commit$descriptor() { return H5VLdatatype_commit.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_commit$handle() { return H5VLdatatype_commit.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_commit$address() { return H5VLdatatype_commit.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_commit(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long type_id,
+ long lcpl_id, long tcpl_id, long tapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_commit.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_commit", obj, loc_params, connector_id, name, type_id, lcpl_id,
+ tcpl_id, tapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, type_id, lcpl_id,
+ tcpl_id, tapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_open$descriptor() { return H5VLdatatype_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_open$handle() { return H5VLdatatype_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_open$address() { return H5VLdatatype_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_open(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long tapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_open", obj, loc_params, connector_id, name, tapl_id, dxpl_id,
+ req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, tapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_get$descriptor() { return H5VLdatatype_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_get$handle() { return H5VLdatatype_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_get$address() { return H5VLdatatype_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdatatype_get(MemorySegment dt, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_get", dt, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dt, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_specific$descriptor() { return H5VLdatatype_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_specific$handle() { return H5VLdatatype_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_specific$address() { return H5VLdatatype_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdatatype_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_optional$descriptor() { return H5VLdatatype_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_optional$handle() { return H5VLdatatype_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_optional$address() { return H5VLdatatype_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdatatype_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_close$descriptor() { return H5VLdatatype_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_close$handle() { return H5VLdatatype_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_close$address() { return H5VLdatatype_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdatatype_close(MemorySegment dt, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_close", dt, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dt, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_create$descriptor() { return H5VLfile_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_create$handle() { return H5VLfile_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_create$address() { return H5VLfile_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_create(MemorySegment name, int flags, long fcpl_id, long fapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_create", name, flags, fcpl_id, fapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(name, flags, fcpl_id, fapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_open$descriptor() { return H5VLfile_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_open$handle() { return H5VLfile_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_open$address() { return H5VLfile_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_open(MemorySegment name, int flags, long fapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLfile_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_open", name, flags, fapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(name, flags, fapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_get$descriptor() { return H5VLfile_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_get$handle() { return H5VLfile_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_get$address() { return H5VLfile_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLfile_get(MemorySegment file, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLfile_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_get", file, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(file, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_specific$descriptor() { return H5VLfile_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_specific$handle() { return H5VLfile_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_specific$address() { return H5VLfile_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLfile_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_optional$descriptor() { return H5VLfile_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_optional$handle() { return H5VLfile_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_optional$address() { return H5VLfile_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLfile_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_close$descriptor() { return H5VLfile_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_close$handle() { return H5VLfile_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_close$address() { return H5VLfile_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLfile_close(MemorySegment file, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_close", file, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(file, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_create$descriptor() { return H5VLgroup_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_create$handle() { return H5VLgroup_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_create$address() { return H5VLgroup_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_create(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long lcpl_id,
+ long gcpl_id, long gapl_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_create", obj, loc_params, connector_id, name, lcpl_id, gcpl_id,
+ gapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, lcpl_id, gcpl_id,
+ gapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_open$descriptor() { return H5VLgroup_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_open$handle() { return H5VLgroup_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_open$address() { return H5VLgroup_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_open(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment name, long gapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLgroup_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_open", obj, loc_params, connector_id, name, gapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, gapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_get$descriptor() { return H5VLgroup_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_get$handle() { return H5VLgroup_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_get$address() { return H5VLgroup_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLgroup_get(MemorySegment obj, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLgroup_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_get", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_specific$descriptor() { return H5VLgroup_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_specific$handle() { return H5VLgroup_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_specific$address() { return H5VLgroup_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLgroup_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_optional$descriptor() { return H5VLgroup_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_optional$handle() { return H5VLgroup_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_optional$address() { return H5VLgroup_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLgroup_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_close$descriptor() { return H5VLgroup_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_close$handle() { return H5VLgroup_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_close$address() { return H5VLgroup_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLgroup_close(MemorySegment grp, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_close", grp, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(grp, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_create$descriptor() { return H5VLlink_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_create$handle() { return H5VLlink_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_create$address() { return H5VLlink_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_create(MemorySegment args, MemorySegment obj, MemorySegment loc_params,
+ long connector_id, long lcpl_id, long lapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLlink_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_create", args, obj, loc_params, connector_id, lcpl_id, lapl_id,
+ dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(args, obj, loc_params, connector_id, lcpl_id, lapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_copy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_copy$descriptor() { return H5VLlink_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_copy$handle() { return H5VLlink_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_copy$address() { return H5VLlink_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLlink_copy(MemorySegment src_obj, MemorySegment loc_params1, MemorySegment dst_obj,
+ MemorySegment loc_params2, long connector_id, long lcpl_id, long lapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_copy", src_obj, loc_params1, dst_obj, loc_params2, connector_id,
+ lcpl_id, lapl_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(src_obj, loc_params1, dst_obj, loc_params2, connector_id, lcpl_id,
+ lapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_move {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_move");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_move$descriptor() { return H5VLlink_move.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_move$handle() { return H5VLlink_move.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_move$address() { return H5VLlink_move.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLlink_move(MemorySegment src_obj, MemorySegment loc_params1, MemorySegment dst_obj,
+ MemorySegment loc_params2, long connector_id, long lcpl_id, long lapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_move.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_move", src_obj, loc_params1, dst_obj, loc_params2, connector_id,
+ lcpl_id, lapl_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(src_obj, loc_params1, dst_obj, loc_params2, connector_id, lcpl_id,
+ lapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_get$descriptor() { return H5VLlink_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_get$handle() { return H5VLlink_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_get$address() { return H5VLlink_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_get(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_get", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_specific$descriptor() { return H5VLlink_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_specific$handle() { return H5VLlink_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_specific$address() { return H5VLlink_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_specific(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_specific", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_optional$descriptor() { return H5VLlink_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_optional$handle() { return H5VLlink_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_optional$address() { return H5VLlink_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_optional(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_optional", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_open$descriptor() { return H5VLobject_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_open$handle() { return H5VLobject_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_open$address() { return H5VLobject_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_open(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment opened_type, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLobject_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_open", obj, loc_params, connector_id, opened_type, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, opened_type, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_copy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_copy$descriptor() { return H5VLobject_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_copy$handle() { return H5VLobject_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_copy$address() { return H5VLobject_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_copy(MemorySegment src_obj, MemorySegment loc_params1,
+ MemorySegment src_name, MemorySegment dst_obj,
+ MemorySegment loc_params2, MemorySegment dst_name, long connector_id,
+ long ocpypl_id, long lcpl_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_copy", src_obj, loc_params1, src_name, dst_obj, loc_params2,
+ dst_name, connector_id, ocpypl_id, lcpl_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(src_obj, loc_params1, src_name, dst_obj, loc_params2, dst_name,
+ connector_id, ocpypl_id, lcpl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_get$descriptor() { return H5VLobject_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_get$handle() { return H5VLobject_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_get$address() { return H5VLobject_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_get(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_get", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_specific$descriptor() { return H5VLobject_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_specific$handle() { return H5VLobject_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_specific$address() { return H5VLobject_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_specific(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_specific", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_optional$descriptor() { return H5VLobject_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_optional$handle() { return H5VLobject_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_optional$address() { return H5VLobject_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_optional(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_optional", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLintrospect_get_conn_cls {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLintrospect_get_conn_cls");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static FunctionDescriptor H5VLintrospect_get_conn_cls$descriptor()
+ {
+ return H5VLintrospect_get_conn_cls.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static MethodHandle H5VLintrospect_get_conn_cls$handle()
+ {
+ return H5VLintrospect_get_conn_cls.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static MemorySegment H5VLintrospect_get_conn_cls$address()
+ {
+ return H5VLintrospect_get_conn_cls.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static int H5VLintrospect_get_conn_cls(MemorySegment obj, long connector_id, int lvl,
+ MemorySegment conn_cls)
+ {
+ var mh$ = H5VLintrospect_get_conn_cls.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLintrospect_get_conn_cls", obj, connector_id, lvl, conn_cls);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, lvl, conn_cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLintrospect_get_cap_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLintrospect_get_cap_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLintrospect_get_cap_flags$descriptor()
+ {
+ return H5VLintrospect_get_cap_flags.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MethodHandle H5VLintrospect_get_cap_flags$handle()
+ {
+ return H5VLintrospect_get_cap_flags.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MemorySegment H5VLintrospect_get_cap_flags$address()
+ {
+ return H5VLintrospect_get_cap_flags.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static int H5VLintrospect_get_cap_flags(MemorySegment info, long connector_id,
+ MemorySegment cap_flags)
+ {
+ var mh$ = H5VLintrospect_get_cap_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLintrospect_get_cap_flags", info, connector_id, cap_flags);
+ }
+ return (int)mh$.invokeExact(info, connector_id, cap_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLintrospect_opt_query {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLintrospect_opt_query");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLintrospect_opt_query$descriptor()
+ {
+ return H5VLintrospect_opt_query.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static MethodHandle H5VLintrospect_opt_query$handle() { return H5VLintrospect_opt_query.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static MemorySegment H5VLintrospect_opt_query$address() { return H5VLintrospect_opt_query.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static int H5VLintrospect_opt_query(MemorySegment obj, long connector_id, int subcls, int opt_type,
+ MemorySegment flags)
+ {
+ var mh$ = H5VLintrospect_opt_query.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLintrospect_opt_query", obj, connector_id, subcls, opt_type, flags);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, subcls, opt_type, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_wait {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_wait");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_wait$descriptor() { return H5VLrequest_wait.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static MethodHandle H5VLrequest_wait$handle() { return H5VLrequest_wait.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static MemorySegment H5VLrequest_wait$address() { return H5VLrequest_wait.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static int H5VLrequest_wait(MemorySegment req, long connector_id, long timeout,
+ MemorySegment status)
+ {
+ var mh$ = H5VLrequest_wait.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_wait", req, connector_id, timeout, status);
+ }
+ return (int)mh$.invokeExact(req, connector_id, timeout, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_notify {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_notify");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_notify$descriptor() { return H5VLrequest_notify.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static MethodHandle H5VLrequest_notify$handle() { return H5VLrequest_notify.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static MemorySegment H5VLrequest_notify$address() { return H5VLrequest_notify.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static int H5VLrequest_notify(MemorySegment req, long connector_id, MemorySegment cb,
+ MemorySegment ctx)
+ {
+ var mh$ = H5VLrequest_notify.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_notify", req, connector_id, cb, ctx);
+ }
+ return (int)mh$.invokeExact(req, connector_id, cb, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_cancel {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_cancel");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_cancel$descriptor() { return H5VLrequest_cancel.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static MethodHandle H5VLrequest_cancel$handle() { return H5VLrequest_cancel.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static MemorySegment H5VLrequest_cancel$address() { return H5VLrequest_cancel.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static int H5VLrequest_cancel(MemorySegment req, long connector_id, MemorySegment status)
+ {
+ var mh$ = H5VLrequest_cancel.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_cancel", req, connector_id, status);
+ }
+ return (int)mh$.invokeExact(req, connector_id, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_specific$descriptor() { return H5VLrequest_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLrequest_specific$handle() { return H5VLrequest_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLrequest_specific$address() { return H5VLrequest_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static int H5VLrequest_specific(MemorySegment req, long connector_id, MemorySegment args)
+ {
+ var mh$ = H5VLrequest_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_specific", req, connector_id, args);
+ }
+ return (int)mh$.invokeExact(req, connector_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_optional$descriptor() { return H5VLrequest_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLrequest_optional$handle() { return H5VLrequest_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLrequest_optional$address() { return H5VLrequest_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static int H5VLrequest_optional(MemorySegment req, long connector_id, MemorySegment args)
+ {
+ var mh$ = H5VLrequest_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_optional", req, connector_id, args);
+ }
+ return (int)mh$.invokeExact(req, connector_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_free {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_free");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_free$descriptor() { return H5VLrequest_free.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLrequest_free$handle() { return H5VLrequest_free.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLrequest_free$address() { return H5VLrequest_free.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static int H5VLrequest_free(MemorySegment req, long connector_id)
+ {
+ var mh$ = H5VLrequest_free.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_free", req, connector_id);
+ }
+ return (int)mh$.invokeExact(req, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_put {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_put");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_put$descriptor() { return H5VLblob_put.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static MethodHandle H5VLblob_put$handle() { return H5VLblob_put.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static MemorySegment H5VLblob_put$address() { return H5VLblob_put.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static int H5VLblob_put(MemorySegment obj, long connector_id, MemorySegment buf, long size,
+ MemorySegment blob_id, MemorySegment ctx)
+ {
+ var mh$ = H5VLblob_put.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_put", obj, connector_id, buf, size, blob_id, ctx);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, buf, size, blob_id, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_get$descriptor() { return H5VLblob_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static MethodHandle H5VLblob_get$handle() { return H5VLblob_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static MemorySegment H5VLblob_get$address() { return H5VLblob_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static int H5VLblob_get(MemorySegment obj, long connector_id, MemorySegment blob_id,
+ MemorySegment buf, long size, MemorySegment ctx)
+ {
+ var mh$ = H5VLblob_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_get", obj, connector_id, blob_id, buf, size, ctx);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, blob_id, buf, size, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_specific {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_specific$descriptor() { return H5VLblob_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLblob_specific$handle() { return H5VLblob_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLblob_specific$address() { return H5VLblob_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static int H5VLblob_specific(MemorySegment obj, long connector_id, MemorySegment blob_id,
+ MemorySegment args)
+ {
+ var mh$ = H5VLblob_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_specific", obj, connector_id, blob_id, args);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, blob_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_optional$descriptor() { return H5VLblob_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLblob_optional$handle() { return H5VLblob_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLblob_optional$address() { return H5VLblob_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static int H5VLblob_optional(MemorySegment obj, long connector_id, MemorySegment blob_id,
+ MemorySegment args)
+ {
+ var mh$ = H5VLblob_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_optional", obj, connector_id, blob_id, args);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, blob_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLtoken_cmp {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLtoken_cmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLtoken_cmp$descriptor() { return H5VLtoken_cmp.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static MethodHandle H5VLtoken_cmp$handle() { return H5VLtoken_cmp.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static MemorySegment H5VLtoken_cmp$address() { return H5VLtoken_cmp.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static int H5VLtoken_cmp(MemorySegment obj, long connector_id, MemorySegment token1,
+ MemorySegment token2, MemorySegment cmp_value)
+ {
+ var mh$ = H5VLtoken_cmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLtoken_cmp", obj, connector_id, token1, token2, cmp_value);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, token1, token2, cmp_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLtoken_to_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLtoken_to_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static FunctionDescriptor H5VLtoken_to_str$descriptor() { return H5VLtoken_to_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static MethodHandle H5VLtoken_to_str$handle() { return H5VLtoken_to_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static MemorySegment H5VLtoken_to_str$address() { return H5VLtoken_to_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static int H5VLtoken_to_str(MemorySegment obj, int obj_type, long connector_id,
+ MemorySegment token, MemorySegment token_str)
+ {
+ var mh$ = H5VLtoken_to_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLtoken_to_str", obj, obj_type, connector_id, token, token_str);
+ }
+ return (int)mh$.invokeExact(obj, obj_type, connector_id, token, token_str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLtoken_from_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLtoken_from_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static FunctionDescriptor H5VLtoken_from_str$descriptor() { return H5VLtoken_from_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static MethodHandle H5VLtoken_from_str$handle() { return H5VLtoken_from_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static MemorySegment H5VLtoken_from_str$address() { return H5VLtoken_from_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static int H5VLtoken_from_str(MemorySegment obj, int obj_type, long connector_id,
+ MemorySegment token_str, MemorySegment token)
+ {
+ var mh$ = H5VLtoken_from_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLtoken_from_str", obj, obj_type, connector_id, token_str, token);
+ }
+ return (int)mh$.invokeExact(obj, obj_type, connector_id, token_str, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLoptional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLoptional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLoptional$descriptor() { return H5VLoptional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLoptional$handle() { return H5VLoptional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLoptional$address() { return H5VLoptional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLoptional(MemorySegment obj, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLoptional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLoptional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VL_NATIVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5VL_NATIVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static OfLong H5VL_NATIVE_g$layout() { return H5VL_NATIVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static MemorySegment H5VL_NATIVE_g$segment() { return H5VL_NATIVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static long H5VL_NATIVE_g()
+ {
+ return H5VL_NATIVE_g$constants.SEGMENT.get(H5VL_NATIVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static void H5VL_NATIVE_g(long varValue)
+ {
+ H5VL_NATIVE_g$constants.SEGMENT.set(H5VL_NATIVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5VLnative_addr_to_token {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLnative_addr_to_token");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static FunctionDescriptor H5VLnative_addr_to_token$descriptor()
+ {
+ return H5VLnative_addr_to_token.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static MethodHandle H5VLnative_addr_to_token$handle() { return H5VLnative_addr_to_token.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static MemorySegment H5VLnative_addr_to_token$address() { return H5VLnative_addr_to_token.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static int H5VLnative_addr_to_token(long loc_id, long addr, MemorySegment token)
+ {
+ var mh$ = H5VLnative_addr_to_token.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLnative_addr_to_token", loc_id, addr, token);
+ }
+ return (int)mh$.invokeExact(loc_id, addr, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLnative_token_to_addr {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, H5O_token_t.layout(), hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLnative_token_to_addr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static FunctionDescriptor H5VLnative_token_to_addr$descriptor()
+ {
+ return H5VLnative_token_to_addr.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static MethodHandle H5VLnative_token_to_addr$handle() { return H5VLnative_token_to_addr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static MemorySegment H5VLnative_token_to_addr$address() { return H5VLnative_token_to_addr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static int H5VLnative_token_to_addr(long loc_id, MemorySegment token, MemorySegment addr)
+ {
+ var mh$ = H5VLnative_token_to_addr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLnative_token_to_addr", loc_id, token, addr);
+ }
+ return (int)mh$.invokeExact(loc_id, token, addr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_CORE_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_CORE_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static OfLong H5FD_CORE_id_g$layout() { return H5FD_CORE_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static MemorySegment H5FD_CORE_id_g$segment() { return H5FD_CORE_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static long H5FD_CORE_id_g()
+ {
+ return H5FD_CORE_id_g$constants.SEGMENT.get(H5FD_CORE_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static void H5FD_CORE_id_g(long varValue)
+ {
+ H5FD_CORE_id_g$constants.SEGMENT.set(H5FD_CORE_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_core {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_core");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_core$descriptor() { return H5Pset_fapl_core.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_core$handle() { return H5Pset_fapl_core.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_core$address() { return H5Pset_fapl_core.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static int H5Pset_fapl_core(long fapl_id, long increment, boolean backing_store)
+ {
+ var mh$ = H5Pset_fapl_core.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_core", fapl_id, increment, backing_store);
+ }
+ return (int)mh$.invokeExact(fapl_id, increment, backing_store);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_core {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_core");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_core$descriptor() { return H5Pget_fapl_core.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_core$handle() { return H5Pget_fapl_core.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_core$address() { return H5Pget_fapl_core.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static int H5Pget_fapl_core(long fapl_id, MemorySegment increment, MemorySegment backing_store)
+ {
+ var mh$ = H5Pget_fapl_core.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_core", fapl_id, increment, backing_store);
+ }
+ return (int)mh$.invokeExact(fapl_id, increment, backing_store);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_FAMILY_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_FAMILY_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static OfLong H5FD_FAMILY_id_g$layout() { return H5FD_FAMILY_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static MemorySegment H5FD_FAMILY_id_g$segment() { return H5FD_FAMILY_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static long H5FD_FAMILY_id_g()
+ {
+ return H5FD_FAMILY_id_g$constants.SEGMENT.get(H5FD_FAMILY_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static void H5FD_FAMILY_id_g(long varValue)
+ {
+ H5FD_FAMILY_id_g$constants.SEGMENT.set(H5FD_FAMILY_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_family {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_family");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_family$descriptor() { return H5Pset_fapl_family.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_family$handle() { return H5Pset_fapl_family.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_family$address() { return H5Pset_fapl_family.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_family(long fapl_id, long memb_size, long memb_fapl_id)
+ {
+ var mh$ = H5Pset_fapl_family.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_family", fapl_id, memb_size, memb_fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_size, memb_fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_family {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_family");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_family$descriptor() { return H5Pget_fapl_family.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_family$handle() { return H5Pget_fapl_family.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_family$address() { return H5Pget_fapl_family.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static int H5Pget_fapl_family(long fapl_id, MemorySegment memb_size, MemorySegment memb_fapl_id)
+ {
+ var mh$ = H5Pget_fapl_family.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_family", fapl_id, memb_size, memb_fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_size, memb_fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_LOG_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_LOG_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static OfLong H5FD_LOG_id_g$layout() { return H5FD_LOG_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static MemorySegment H5FD_LOG_id_g$segment() { return H5FD_LOG_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static long H5FD_LOG_id_g()
+ {
+ return H5FD_LOG_id_g$constants.SEGMENT.get(H5FD_LOG_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static void H5FD_LOG_id_g(long varValue)
+ {
+ H5FD_LOG_id_g$constants.SEGMENT.set(H5FD_LOG_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_log {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_log");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_log$descriptor() { return H5Pset_fapl_log.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_log$handle() { return H5Pset_fapl_log.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_log$address() { return H5Pset_fapl_log.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static int H5Pset_fapl_log(long fapl_id, MemorySegment logfile, long flags, long buf_size)
+ {
+ var mh$ = H5Pset_fapl_log.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_log", fapl_id, logfile, flags, buf_size);
+ }
+ return (int)mh$.invokeExact(fapl_id, logfile, flags, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5FD_MPIO_INDEPENDENT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_xfer_t.H5FD_MPIO_INDEPENDENT = 0
+ * }
+ */
+ public static int H5FD_MPIO_INDEPENDENT() { return H5FD_MPIO_INDEPENDENT; }
+ private static final int H5FD_MPIO_COLLECTIVE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_xfer_t.H5FD_MPIO_COLLECTIVE = 1
+ * }
+ */
+ public static int H5FD_MPIO_COLLECTIVE() { return H5FD_MPIO_COLLECTIVE; }
+ private static final int H5FD_MPIO_CHUNK_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_chunk_opt_t.H5FD_MPIO_CHUNK_DEFAULT = 0
+ * }
+ */
+ public static int H5FD_MPIO_CHUNK_DEFAULT() { return H5FD_MPIO_CHUNK_DEFAULT; }
+ private static final int H5FD_MPIO_CHUNK_ONE_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_chunk_opt_t.H5FD_MPIO_CHUNK_ONE_IO = 1
+ * }
+ */
+ public static int H5FD_MPIO_CHUNK_ONE_IO() { return H5FD_MPIO_CHUNK_ONE_IO; }
+ private static final int H5FD_MPIO_CHUNK_MULTI_IO = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_chunk_opt_t.H5FD_MPIO_CHUNK_MULTI_IO = 2
+ * }
+ */
+ public static int H5FD_MPIO_CHUNK_MULTI_IO() { return H5FD_MPIO_CHUNK_MULTI_IO; }
+ private static final int H5FD_MPIO_COLLECTIVE_IO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_collective_opt_t.H5FD_MPIO_COLLECTIVE_IO = 0
+ * }
+ */
+ public static int H5FD_MPIO_COLLECTIVE_IO() { return H5FD_MPIO_COLLECTIVE_IO; }
+ private static final int H5FD_MPIO_INDIVIDUAL_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_collective_opt_t.H5FD_MPIO_INDIVIDUAL_IO = 1
+ * }
+ */
+ public static int H5FD_MPIO_INDIVIDUAL_IO() { return H5FD_MPIO_INDIVIDUAL_IO; }
+
+ private static class H5FD_MULTI_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_MULTI_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static OfLong H5FD_MULTI_id_g$layout() { return H5FD_MULTI_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static MemorySegment H5FD_MULTI_id_g$segment() { return H5FD_MULTI_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static long H5FD_MULTI_id_g()
+ {
+ return H5FD_MULTI_id_g$constants.SEGMENT.get(H5FD_MULTI_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static void H5FD_MULTI_id_g(long varValue)
+ {
+ H5FD_MULTI_id_g$constants.SEGMENT.set(H5FD_MULTI_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_multi$descriptor() { return H5Pset_fapl_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_multi$handle() { return H5Pset_fapl_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_multi$address() { return H5Pset_fapl_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static int H5Pset_fapl_multi(long fapl_id, MemorySegment memb_map, MemorySegment memb_fapl,
+ MemorySegment memb_name, MemorySegment memb_addr, boolean relax)
+ {
+ var mh$ = H5Pset_fapl_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_multi", fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_multi$descriptor() { return H5Pget_fapl_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_multi$handle() { return H5Pget_fapl_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_multi$address() { return H5Pget_fapl_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static int H5Pget_fapl_multi(long fapl_id, MemorySegment memb_map, MemorySegment memb_fapl,
+ MemorySegment memb_name, MemorySegment memb_addr, MemorySegment relax)
+ {
+ var mh$ = H5Pget_fapl_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_multi", fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_split {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_split");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_split$descriptor() { return H5Pset_fapl_split.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_split$handle() { return H5Pset_fapl_split.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_split$address() { return H5Pset_fapl_split.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static int H5Pset_fapl_split(long fapl, MemorySegment meta_ext, long meta_plist_id,
+ MemorySegment raw_ext, long raw_plist_id)
+ {
+ var mh$ = H5Pset_fapl_split.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_split", fapl, meta_ext, meta_plist_id, raw_ext, raw_plist_id);
+ }
+ return (int)mh$.invokeExact(fapl, meta_ext, meta_plist_id, raw_ext, raw_plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5FD_ONION_STORE_TARGET_ONION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_onion_target_file_constant_t.H5FD_ONION_STORE_TARGET_ONION = 0
+ * }
+ */
+ public static int H5FD_ONION_STORE_TARGET_ONION() { return H5FD_ONION_STORE_TARGET_ONION; }
+
+ private static class H5FD_ONION_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_ONION_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static OfLong H5FD_ONION_id_g$layout() { return H5FD_ONION_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static MemorySegment H5FD_ONION_id_g$segment() { return H5FD_ONION_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static long H5FD_ONION_id_g()
+ {
+ return H5FD_ONION_id_g$constants.SEGMENT.get(H5FD_ONION_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static void H5FD_ONION_id_g(long varValue)
+ {
+ H5FD_ONION_id_g$constants.SEGMENT.set(H5FD_ONION_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pget_fapl_onion {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_onion");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_onion$descriptor() { return H5Pget_fapl_onion.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_onion$handle() { return H5Pget_fapl_onion.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_onion$address() { return H5Pget_fapl_onion.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static int H5Pget_fapl_onion(long fapl_id, MemorySegment fa_out)
+ {
+ var mh$ = H5Pget_fapl_onion.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_onion", fapl_id, fa_out);
+ }
+ return (int)mh$.invokeExact(fapl_id, fa_out);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_onion {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_onion");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_onion$descriptor() { return H5Pset_fapl_onion.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_onion$handle() { return H5Pset_fapl_onion.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_onion$address() { return H5Pset_fapl_onion.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static int H5Pset_fapl_onion(long fapl_id, MemorySegment fa)
+ {
+ var mh$ = H5Pset_fapl_onion.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_onion", fapl_id, fa);
+ }
+ return (int)mh$.invokeExact(fapl_id, fa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDonion_get_revision_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDonion_get_revision_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static FunctionDescriptor H5FDonion_get_revision_count$descriptor()
+ {
+ return H5FDonion_get_revision_count.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static MethodHandle H5FDonion_get_revision_count$handle()
+ {
+ return H5FDonion_get_revision_count.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static MemorySegment H5FDonion_get_revision_count$address()
+ {
+ return H5FDonion_get_revision_count.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static int H5FDonion_get_revision_count(MemorySegment filename, long fapl_id,
+ MemorySegment revision_count)
+ {
+ var mh$ = H5FDonion_get_revision_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDonion_get_revision_count", filename, fapl_id, revision_count);
+ }
+ return (int)mh$.invokeExact(filename, fapl_id, revision_count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_SEC2_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_SEC2_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static OfLong H5FD_SEC2_id_g$layout() { return H5FD_SEC2_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static MemorySegment H5FD_SEC2_id_g$segment() { return H5FD_SEC2_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static long H5FD_SEC2_id_g()
+ {
+ return H5FD_SEC2_id_g$constants.SEGMENT.get(H5FD_SEC2_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static void H5FD_SEC2_id_g(long varValue)
+ {
+ H5FD_SEC2_id_g$constants.SEGMENT.set(H5FD_SEC2_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_sec2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_sec2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_sec2$descriptor() { return H5Pset_fapl_sec2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_sec2$handle() { return H5Pset_fapl_sec2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_sec2$address() { return H5Pset_fapl_sec2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_sec2(long fapl_id)
+ {
+ var mh$ = H5Pset_fapl_sec2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_sec2", fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_SPLITTER_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_SPLITTER_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static OfLong H5FD_SPLITTER_id_g$layout() { return H5FD_SPLITTER_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static MemorySegment H5FD_SPLITTER_id_g$segment() { return H5FD_SPLITTER_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static long H5FD_SPLITTER_id_g()
+ {
+ return H5FD_SPLITTER_id_g$constants.SEGMENT.get(H5FD_SPLITTER_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static void H5FD_SPLITTER_id_g(long varValue)
+ {
+ H5FD_SPLITTER_id_g$constants.SEGMENT.set(H5FD_SPLITTER_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_splitter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_splitter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_splitter$descriptor() { return H5Pset_fapl_splitter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_splitter$handle() { return H5Pset_fapl_splitter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_splitter$address() { return H5Pset_fapl_splitter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pset_fapl_splitter(long fapl_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pset_fapl_splitter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_splitter", fapl_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_splitter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_splitter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_splitter$descriptor() { return H5Pget_fapl_splitter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_splitter$handle() { return H5Pget_fapl_splitter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_splitter$address() { return H5Pget_fapl_splitter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pget_fapl_splitter(long fapl_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pget_fapl_splitter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_splitter", fapl_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_STDIO_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_STDIO_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static OfLong H5FD_STDIO_id_g$layout() { return H5FD_STDIO_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static MemorySegment H5FD_STDIO_id_g$segment() { return H5FD_STDIO_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static long H5FD_STDIO_id_g()
+ {
+ return H5FD_STDIO_id_g$constants.SEGMENT.get(H5FD_STDIO_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static void H5FD_STDIO_id_g(long varValue)
+ {
+ H5FD_STDIO_id_g$constants.SEGMENT.set(H5FD_STDIO_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_stdio {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_stdio");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_stdio$descriptor() { return H5Pset_fapl_stdio.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_stdio$handle() { return H5Pset_fapl_stdio.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_stdio$address() { return H5Pset_fapl_stdio.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_stdio(long fapl_id)
+ {
+ var mh$ = H5Pset_fapl_stdio.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_stdio", fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_windows {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_windows");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_windows(hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_windows$descriptor() { return H5Pset_fapl_windows.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_windows(hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_windows$handle() { return H5Pset_fapl_windows.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_windows(hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_windows$address() { return H5Pset_fapl_windows.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_windows(hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_windows(long fapl_id)
+ {
+ var mh$ = H5Pset_fapl_windows.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_windows", fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VL_PASSTHRU_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5VL_PASSTHRU_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static OfLong H5VL_PASSTHRU_g$layout() { return H5VL_PASSTHRU_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static MemorySegment H5VL_PASSTHRU_g$segment() { return H5VL_PASSTHRU_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static long H5VL_PASSTHRU_g()
+ {
+ return H5VL_PASSTHRU_g$constants.SEGMENT.get(H5VL_PASSTHRU_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static void H5VL_PASSTHRU_g(long varValue)
+ {
+ H5VL_PASSTHRU_g$constants.SEGMENT.set(H5VL_PASSTHRU_g$constants.LAYOUT, 0L, varValue);
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_DEFAULT_PLUGINDIR "D:/a/hdf5/hdf5/install\lib\plugin;%ALLUSERSPROFILE%\hdf5\lib\plugin"
+ * }
+ */
+ public static MemorySegment H5_DEFAULT_PLUGINDIR()
+ {
+ class Holder {
+ static final MemorySegment H5_DEFAULT_PLUGINDIR = hdf5_h.LIBRARY_ARENA.allocateFrom(
+ "D:/a/hdf5/hdf5/install\\lib\\plugin;%ALLUSERSPROFILE%\\hdf5\\lib\\plugin");
+ }
+ return Holder.H5_DEFAULT_PLUGINDIR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE "hdf5"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE = hdf5_h.LIBRARY_ARENA.allocateFrom("hdf5");
+ }
+ return Holder.H5_PACKAGE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_BUGREPORT "help@hdfgroup.org"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_BUGREPORT()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_BUGREPORT =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("help@hdfgroup.org");
+ }
+ return Holder.H5_PACKAGE_BUGREPORT;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_NAME "HDF5"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5");
+ }
+ return Holder.H5_PACKAGE_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_STRING "HDF5 2.0.0.4"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_STRING()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_STRING = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5 2.0.0.4");
+ }
+ return Holder.H5_PACKAGE_STRING;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_TARNAME "hdf5"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_TARNAME()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_TARNAME = hdf5_h.LIBRARY_ARENA.allocateFrom("hdf5");
+ }
+ return Holder.H5_PACKAGE_TARNAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_URL "https://www.hdfgroup.org"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_URL()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_URL =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("https://www.hdfgroup.org");
+ }
+ return Holder.H5_PACKAGE_URL;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_VERSION "2.0.0.4"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_VERSION()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_VERSION = hdf5_h.LIBRARY_ARENA.allocateFrom("2.0.0.4");
+ }
+ return Holder.H5_PACKAGE_VERSION;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERSION "2.0.0.4"
+ * }
+ */
+ public static MemorySegment H5_VERSION()
+ {
+ class Holder {
+ static final MemorySegment H5_VERSION = hdf5_h.LIBRARY_ARENA.allocateFrom("2.0.0.4");
+ }
+ return Holder.H5_VERSION;
+ }
+ private static final int _VCRUNTIME_DISABLED_WARNINGS = (int)4514L;
+ /**
+ * {@snippet lang=c :
+ * #define _VCRUNTIME_DISABLED_WARNINGS 4514
+ * }
+ */
+ public static int _VCRUNTIME_DISABLED_WARNINGS() { return _VCRUNTIME_DISABLED_WARNINGS; }
+ private static final MemorySegment NULL = MemorySegment.ofAddress(0L);
+ /**
+ * {@snippet lang=c :
+ * #define NULL (void*) 0
+ * }
+ */
+ public static MemorySegment NULL() { return NULL; }
+ private static final int _UCRT_DISABLED_WARNINGS = (int)4324L;
+ /**
+ * {@snippet lang=c :
+ * #define _UCRT_DISABLED_WARNINGS 4324
+ * }
+ */
+ public static int _UCRT_DISABLED_WARNINGS() { return _UCRT_DISABLED_WARNINGS; }
+ private static final long _TRUNCATE = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define _TRUNCATE -1
+ * }
+ */
+ public static long _TRUNCATE() { return _TRUNCATE; }
+ private static final long _CRT_SIZE_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_SIZE_MAX -1
+ * }
+ */
+ public static long _CRT_SIZE_MAX() { return _CRT_SIZE_MAX; }
+ /**
+ * {@snippet lang=c :
+ * #define __FILEW__ "j"
+ * }
+ */
+ public static MemorySegment __FILEW__()
+ {
+ class Holder {
+ static final MemorySegment __FILEW__ = hdf5_h.LIBRARY_ARENA.allocateFrom("j");
+ }
+ return Holder.__FILEW__;
+ }
+ private static final int __STDC_SECURE_LIB__ = (int)200411L;
+ /**
+ * {@snippet lang=c :
+ * #define __STDC_SECURE_LIB__ 200411
+ * }
+ */
+ public static int __STDC_SECURE_LIB__() { return __STDC_SECURE_LIB__; }
+ private static final int __GOT_SECURE_LIB__ = (int)200411L;
+ /**
+ * {@snippet lang=c :
+ * #define __GOT_SECURE_LIB__ 200411
+ * }
+ */
+ public static int __GOT_SECURE_LIB__() { return __GOT_SECURE_LIB__; }
+ private static final int INT8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define INT8_MIN -128
+ * }
+ */
+ public static int INT8_MIN() { return INT8_MIN; }
+ private static final int INT16_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define INT16_MIN -32768
+ * }
+ */
+ public static int INT16_MIN() { return INT16_MIN; }
+ private static final int INT32_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT32_MIN -2147483648
+ * }
+ */
+ public static int INT32_MIN() { return INT32_MIN; }
+ private static final long INT64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT64_MIN -9223372036854775808
+ * }
+ */
+ public static long INT64_MIN() { return INT64_MIN; }
+ private static final byte INT8_MAX = (byte)127L;
+ /**
+ * {@snippet lang=c :
+ * #define INT8_MAX 127
+ * }
+ */
+ public static byte INT8_MAX() { return INT8_MAX; }
+ private static final short INT16_MAX = (short)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define INT16_MAX 32767
+ * }
+ */
+ public static short INT16_MAX() { return INT16_MAX; }
+ private static final int INT32_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT32_MAX 2147483647
+ * }
+ */
+ public static int INT32_MAX() { return INT32_MAX; }
+ private static final long INT64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT64_MAX 9223372036854775807
+ * }
+ */
+ public static long INT64_MAX() { return INT64_MAX; }
+ private static final byte UINT8_MAX = (byte)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT8_MAX 255
+ * }
+ */
+ public static byte UINT8_MAX() { return UINT8_MAX; }
+ private static final short UINT16_MAX = (short)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT16_MAX 65535
+ * }
+ */
+ public static short UINT16_MAX() { return UINT16_MAX; }
+ private static final int UINT32_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT32_MAX 4294967295
+ * }
+ */
+ public static int UINT32_MAX() { return UINT32_MAX; }
+ private static final long UINT64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT64_MAX -1
+ * }
+ */
+ public static long UINT64_MAX() { return UINT64_MAX; }
+ private static final int INT_LEAST8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST8_MIN -128
+ * }
+ */
+ public static int INT_LEAST8_MIN() { return INT_LEAST8_MIN; }
+ private static final int INT_LEAST16_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST16_MIN -32768
+ * }
+ */
+ public static int INT_LEAST16_MIN() { return INT_LEAST16_MIN; }
+ private static final int INT_LEAST32_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST32_MIN -2147483648
+ * }
+ */
+ public static int INT_LEAST32_MIN() { return INT_LEAST32_MIN; }
+ private static final long INT_LEAST64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST64_MIN -9223372036854775808
+ * }
+ */
+ public static long INT_LEAST64_MIN() { return INT_LEAST64_MIN; }
+ private static final byte INT_LEAST8_MAX = (byte)127L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST8_MAX 127
+ * }
+ */
+ public static byte INT_LEAST8_MAX() { return INT_LEAST8_MAX; }
+ private static final short INT_LEAST16_MAX = (short)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST16_MAX 32767
+ * }
+ */
+ public static short INT_LEAST16_MAX() { return INT_LEAST16_MAX; }
+ private static final int INT_LEAST32_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST32_MAX 2147483647
+ * }
+ */
+ public static int INT_LEAST32_MAX() { return INT_LEAST32_MAX; }
+ private static final long INT_LEAST64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST64_MAX 9223372036854775807
+ * }
+ */
+ public static long INT_LEAST64_MAX() { return INT_LEAST64_MAX; }
+ private static final byte UINT_LEAST8_MAX = (byte)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST8_MAX 255
+ * }
+ */
+ public static byte UINT_LEAST8_MAX() { return UINT_LEAST8_MAX; }
+ private static final short UINT_LEAST16_MAX = (short)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST16_MAX 65535
+ * }
+ */
+ public static short UINT_LEAST16_MAX() { return UINT_LEAST16_MAX; }
+ private static final int UINT_LEAST32_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST32_MAX 4294967295
+ * }
+ */
+ public static int UINT_LEAST32_MAX() { return UINT_LEAST32_MAX; }
+ private static final long UINT_LEAST64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST64_MAX -1
+ * }
+ */
+ public static long UINT_LEAST64_MAX() { return UINT_LEAST64_MAX; }
+ private static final int INT_FAST8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST8_MIN -128
+ * }
+ */
+ public static int INT_FAST8_MIN() { return INT_FAST8_MIN; }
+ private static final int INT_FAST16_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST16_MIN -2147483648
+ * }
+ */
+ public static int INT_FAST16_MIN() { return INT_FAST16_MIN; }
+ private static final int INT_FAST32_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST32_MIN -2147483648
+ * }
+ */
+ public static int INT_FAST32_MIN() { return INT_FAST32_MIN; }
+ private static final long INT_FAST64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST64_MIN -9223372036854775808
+ * }
+ */
+ public static long INT_FAST64_MIN() { return INT_FAST64_MIN; }
+ private static final byte INT_FAST8_MAX = (byte)127L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST8_MAX 127
+ * }
+ */
+ public static byte INT_FAST8_MAX() { return INT_FAST8_MAX; }
+ private static final int INT_FAST16_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST16_MAX 2147483647
+ * }
+ */
+ public static int INT_FAST16_MAX() { return INT_FAST16_MAX; }
+ private static final int INT_FAST32_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST32_MAX 2147483647
+ * }
+ */
+ public static int INT_FAST32_MAX() { return INT_FAST32_MAX; }
+ private static final long INT_FAST64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST64_MAX 9223372036854775807
+ * }
+ */
+ public static long INT_FAST64_MAX() { return INT_FAST64_MAX; }
+ private static final byte UINT_FAST8_MAX = (byte)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST8_MAX 255
+ * }
+ */
+ public static byte UINT_FAST8_MAX() { return UINT_FAST8_MAX; }
+ private static final int UINT_FAST16_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST16_MAX 4294967295
+ * }
+ */
+ public static int UINT_FAST16_MAX() { return UINT_FAST16_MAX; }
+ private static final int UINT_FAST32_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST32_MAX 4294967295
+ * }
+ */
+ public static int UINT_FAST32_MAX() { return UINT_FAST32_MAX; }
+ private static final long UINT_FAST64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST64_MAX -1
+ * }
+ */
+ public static long UINT_FAST64_MAX() { return UINT_FAST64_MAX; }
+ private static final long INTPTR_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INTPTR_MIN -9223372036854775808
+ * }
+ */
+ public static long INTPTR_MIN() { return INTPTR_MIN; }
+ private static final long INTPTR_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INTPTR_MAX 9223372036854775807
+ * }
+ */
+ public static long INTPTR_MAX() { return INTPTR_MAX; }
+ private static final long UINTPTR_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINTPTR_MAX -1
+ * }
+ */
+ public static long UINTPTR_MAX() { return UINTPTR_MAX; }
+ private static final long INTMAX_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INTMAX_MIN -9223372036854775808
+ * }
+ */
+ public static long INTMAX_MIN() { return INTMAX_MIN; }
+ private static final long INTMAX_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INTMAX_MAX 9223372036854775807
+ * }
+ */
+ public static long INTMAX_MAX() { return INTMAX_MAX; }
+ private static final long UINTMAX_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINTMAX_MAX -1
+ * }
+ */
+ public static long UINTMAX_MAX() { return UINTMAX_MAX; }
+ private static final long PTRDIFF_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define PTRDIFF_MIN -9223372036854775808
+ * }
+ */
+ public static long PTRDIFF_MIN() { return PTRDIFF_MIN; }
+ private static final long PTRDIFF_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define PTRDIFF_MAX 9223372036854775807
+ * }
+ */
+ public static long PTRDIFF_MAX() { return PTRDIFF_MAX; }
+ private static final long SIZE_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define SIZE_MAX -1
+ * }
+ */
+ public static long SIZE_MAX() { return SIZE_MAX; }
+ private static final int SIG_ATOMIC_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define SIG_ATOMIC_MIN -2147483648
+ * }
+ */
+ public static int SIG_ATOMIC_MIN() { return SIG_ATOMIC_MIN; }
+ private static final int SIG_ATOMIC_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define SIG_ATOMIC_MAX 2147483647
+ * }
+ */
+ public static int SIG_ATOMIC_MAX() { return SIG_ATOMIC_MAX; }
+ /**
+ * {@snippet lang=c :
+ * #define PRId8 "hhd"
+ * }
+ */
+ public static MemorySegment PRId8()
+ {
+ class Holder {
+ static final MemorySegment PRId8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.PRId8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId16 "hd"
+ * }
+ */
+ public static MemorySegment PRId16()
+ {
+ class Holder {
+ static final MemorySegment PRId16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.PRId16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId32 "d"
+ * }
+ */
+ public static MemorySegment PRId32()
+ {
+ class Holder {
+ static final MemorySegment PRId32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRId32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId64 "lld"
+ * }
+ */
+ public static MemorySegment PRId64()
+ {
+ class Holder {
+ static final MemorySegment PRId64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRId64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST8 "hhd"
+ * }
+ */
+ public static MemorySegment PRIdLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.PRIdLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST16 "hd"
+ * }
+ */
+ public static MemorySegment PRIdLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.PRIdLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST32 "d"
+ * }
+ */
+ public static MemorySegment PRIdLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRIdLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST64 "lld"
+ * }
+ */
+ public static MemorySegment PRIdLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST8 "hhd"
+ * }
+ */
+ public static MemorySegment PRIdFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.PRIdFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST16 "d"
+ * }
+ */
+ public static MemorySegment PRIdFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRIdFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST32 "d"
+ * }
+ */
+ public static MemorySegment PRIdFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRIdFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST64 "lld"
+ * }
+ */
+ public static MemorySegment PRIdFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdMAX "lld"
+ * }
+ */
+ public static MemorySegment PRIdMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIdMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdPTR "lld"
+ * }
+ */
+ public static MemorySegment PRIdPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIdPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi8 "hhi"
+ * }
+ */
+ public static MemorySegment PRIi8()
+ {
+ class Holder {
+ static final MemorySegment PRIi8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.PRIi8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi16 "hi"
+ * }
+ */
+ public static MemorySegment PRIi16()
+ {
+ class Holder {
+ static final MemorySegment PRIi16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.PRIi16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi32 "i"
+ * }
+ */
+ public static MemorySegment PRIi32()
+ {
+ class Holder {
+ static final MemorySegment PRIi32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIi32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi64 "lli"
+ * }
+ */
+ public static MemorySegment PRIi64()
+ {
+ class Holder {
+ static final MemorySegment PRIi64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIi64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST8 "hhi"
+ * }
+ */
+ public static MemorySegment PRIiLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.PRIiLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST16 "hi"
+ * }
+ */
+ public static MemorySegment PRIiLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.PRIiLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST32 "i"
+ * }
+ */
+ public static MemorySegment PRIiLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIiLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST64 "lli"
+ * }
+ */
+ public static MemorySegment PRIiLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIiLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST8 "hhi"
+ * }
+ */
+ public static MemorySegment PRIiFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.PRIiFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST16 "i"
+ * }
+ */
+ public static MemorySegment PRIiFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIiFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST32 "i"
+ * }
+ */
+ public static MemorySegment PRIiFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIiFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST64 "lli"
+ * }
+ */
+ public static MemorySegment PRIiFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIiFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiMAX "lli"
+ * }
+ */
+ public static MemorySegment PRIiMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIiMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIiMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiPTR "lli"
+ * }
+ */
+ public static MemorySegment PRIiPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIiPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIiPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo8 "hho"
+ * }
+ */
+ public static MemorySegment PRIo8()
+ {
+ class Holder {
+ static final MemorySegment PRIo8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.PRIo8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo16 "ho"
+ * }
+ */
+ public static MemorySegment PRIo16()
+ {
+ class Holder {
+ static final MemorySegment PRIo16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.PRIo16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo32 "o"
+ * }
+ */
+ public static MemorySegment PRIo32()
+ {
+ class Holder {
+ static final MemorySegment PRIo32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIo32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo64 "llo"
+ * }
+ */
+ public static MemorySegment PRIo64()
+ {
+ class Holder {
+ static final MemorySegment PRIo64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIo64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST8 "hho"
+ * }
+ */
+ public static MemorySegment PRIoLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.PRIoLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST16 "ho"
+ * }
+ */
+ public static MemorySegment PRIoLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.PRIoLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST32 "o"
+ * }
+ */
+ public static MemorySegment PRIoLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIoLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST64 "llo"
+ * }
+ */
+ public static MemorySegment PRIoLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST8 "hho"
+ * }
+ */
+ public static MemorySegment PRIoFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.PRIoFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST16 "o"
+ * }
+ */
+ public static MemorySegment PRIoFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIoFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST32 "o"
+ * }
+ */
+ public static MemorySegment PRIoFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIoFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST64 "llo"
+ * }
+ */
+ public static MemorySegment PRIoFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoMAX "llo"
+ * }
+ */
+ public static MemorySegment PRIoMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIoMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoPTR "llo"
+ * }
+ */
+ public static MemorySegment PRIoPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIoPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu8 "hhu"
+ * }
+ */
+ public static MemorySegment PRIu8()
+ {
+ class Holder {
+ static final MemorySegment PRIu8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.PRIu8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu16 "hu"
+ * }
+ */
+ public static MemorySegment PRIu16()
+ {
+ class Holder {
+ static final MemorySegment PRIu16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.PRIu16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu32 "u"
+ * }
+ */
+ public static MemorySegment PRIu32()
+ {
+ class Holder {
+ static final MemorySegment PRIu32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIu32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu64 "llu"
+ * }
+ */
+ public static MemorySegment PRIu64()
+ {
+ class Holder {
+ static final MemorySegment PRIu64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIu64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST8 "hhu"
+ * }
+ */
+ public static MemorySegment PRIuLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.PRIuLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST16 "hu"
+ * }
+ */
+ public static MemorySegment PRIuLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.PRIuLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST32 "u"
+ * }
+ */
+ public static MemorySegment PRIuLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIuLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST64 "llu"
+ * }
+ */
+ public static MemorySegment PRIuLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST8 "hhu"
+ * }
+ */
+ public static MemorySegment PRIuFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.PRIuFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST16 "u"
+ * }
+ */
+ public static MemorySegment PRIuFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIuFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST32 "u"
+ * }
+ */
+ public static MemorySegment PRIuFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIuFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST64 "llu"
+ * }
+ */
+ public static MemorySegment PRIuFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuMAX "llu"
+ * }
+ */
+ public static MemorySegment PRIuMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIuMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuPTR "llu"
+ * }
+ */
+ public static MemorySegment PRIuPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIuPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx8 "hhx"
+ * }
+ */
+ public static MemorySegment PRIx8()
+ {
+ class Holder {
+ static final MemorySegment PRIx8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.PRIx8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx16 "hx"
+ * }
+ */
+ public static MemorySegment PRIx16()
+ {
+ class Holder {
+ static final MemorySegment PRIx16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.PRIx16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx32 "x"
+ * }
+ */
+ public static MemorySegment PRIx32()
+ {
+ class Holder {
+ static final MemorySegment PRIx32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIx32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx64 "llx"
+ * }
+ */
+ public static MemorySegment PRIx64()
+ {
+ class Holder {
+ static final MemorySegment PRIx64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIx64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST8 "hhx"
+ * }
+ */
+ public static MemorySegment PRIxLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.PRIxLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST16 "hx"
+ * }
+ */
+ public static MemorySegment PRIxLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.PRIxLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST32 "x"
+ * }
+ */
+ public static MemorySegment PRIxLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIxLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST64 "llx"
+ * }
+ */
+ public static MemorySegment PRIxLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST8 "hhx"
+ * }
+ */
+ public static MemorySegment PRIxFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.PRIxFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST16 "x"
+ * }
+ */
+ public static MemorySegment PRIxFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIxFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST32 "x"
+ * }
+ */
+ public static MemorySegment PRIxFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIxFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST64 "llx"
+ * }
+ */
+ public static MemorySegment PRIxFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxMAX "llx"
+ * }
+ */
+ public static MemorySegment PRIxMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIxMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxPTR "llx"
+ * }
+ */
+ public static MemorySegment PRIxPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIxPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX8 "hhX"
+ * }
+ */
+ public static MemorySegment PRIX8()
+ {
+ class Holder {
+ static final MemorySegment PRIX8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhX");
+ }
+ return Holder.PRIX8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX16 "hX"
+ * }
+ */
+ public static MemorySegment PRIX16()
+ {
+ class Holder {
+ static final MemorySegment PRIX16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hX");
+ }
+ return Holder.PRIX16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX32 "X"
+ * }
+ */
+ public static MemorySegment PRIX32()
+ {
+ class Holder {
+ static final MemorySegment PRIX32 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIX32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX64 "llX"
+ * }
+ */
+ public static MemorySegment PRIX64()
+ {
+ class Holder {
+ static final MemorySegment PRIX64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIX64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST8 "hhX"
+ * }
+ */
+ public static MemorySegment PRIXLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhX");
+ }
+ return Holder.PRIXLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST16 "hX"
+ * }
+ */
+ public static MemorySegment PRIXLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hX");
+ }
+ return Holder.PRIXLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST32 "X"
+ * }
+ */
+ public static MemorySegment PRIXLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIXLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST64 "llX"
+ * }
+ */
+ public static MemorySegment PRIXLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST8 "hhX"
+ * }
+ */
+ public static MemorySegment PRIXFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhX");
+ }
+ return Holder.PRIXFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST16 "X"
+ * }
+ */
+ public static MemorySegment PRIXFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIXFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST32 "X"
+ * }
+ */
+ public static MemorySegment PRIXFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIXFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST64 "llX"
+ * }
+ */
+ public static MemorySegment PRIXFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXMAX "llX"
+ * }
+ */
+ public static MemorySegment PRIXMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIXMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXPTR "llX"
+ * }
+ */
+ public static MemorySegment PRIXPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIXPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd8 "hhd"
+ * }
+ */
+ public static MemorySegment SCNd8()
+ {
+ class Holder {
+ static final MemorySegment SCNd8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.SCNd8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd16 "hd"
+ * }
+ */
+ public static MemorySegment SCNd16()
+ {
+ class Holder {
+ static final MemorySegment SCNd16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.SCNd16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd32 "d"
+ * }
+ */
+ public static MemorySegment SCNd32()
+ {
+ class Holder {
+ static final MemorySegment SCNd32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.SCNd32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd64 "lld"
+ * }
+ */
+ public static MemorySegment SCNd64()
+ {
+ class Holder {
+ static final MemorySegment SCNd64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.SCNd64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST8 "hhd"
+ * }
+ */
+ public static MemorySegment SCNdLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.SCNdLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST16 "hd"
+ * }
+ */
+ public static MemorySegment SCNdLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.SCNdLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST32 "d"
+ * }
+ */
+ public static MemorySegment SCNdLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.SCNdLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST64 "lld"
+ * }
+ */
+ public static MemorySegment SCNdLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.SCNdLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST8 "hhd"
+ * }
+ */
+ public static MemorySegment SCNdFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.SCNdFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST16 "d"
+ * }
+ */
+ public static MemorySegment SCNdFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.SCNdFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST32 "d"
+ * }
+ */
+ public static MemorySegment SCNdFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.SCNdFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST64 "lld"
+ * }
+ */
+ public static MemorySegment SCNdFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.SCNdFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdMAX "lld"
+ * }
+ */
+ public static MemorySegment SCNdMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNdMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.SCNdMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdPTR "lld"
+ * }
+ */
+ public static MemorySegment SCNdPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNdPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.SCNdPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi8 "hhi"
+ * }
+ */
+ public static MemorySegment SCNi8()
+ {
+ class Holder {
+ static final MemorySegment SCNi8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.SCNi8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi16 "hi"
+ * }
+ */
+ public static MemorySegment SCNi16()
+ {
+ class Holder {
+ static final MemorySegment SCNi16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.SCNi16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi32 "i"
+ * }
+ */
+ public static MemorySegment SCNi32()
+ {
+ class Holder {
+ static final MemorySegment SCNi32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.SCNi32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi64 "lli"
+ * }
+ */
+ public static MemorySegment SCNi64()
+ {
+ class Holder {
+ static final MemorySegment SCNi64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.SCNi64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST8 "hhi"
+ * }
+ */
+ public static MemorySegment SCNiLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.SCNiLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST16 "hi"
+ * }
+ */
+ public static MemorySegment SCNiLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.SCNiLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST32 "i"
+ * }
+ */
+ public static MemorySegment SCNiLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.SCNiLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST64 "lli"
+ * }
+ */
+ public static MemorySegment SCNiLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.SCNiLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST8 "hhi"
+ * }
+ */
+ public static MemorySegment SCNiFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.SCNiFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST16 "i"
+ * }
+ */
+ public static MemorySegment SCNiFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.SCNiFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST32 "i"
+ * }
+ */
+ public static MemorySegment SCNiFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.SCNiFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST64 "lli"
+ * }
+ */
+ public static MemorySegment SCNiFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.SCNiFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiMAX "lli"
+ * }
+ */
+ public static MemorySegment SCNiMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNiMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.SCNiMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiPTR "lli"
+ * }
+ */
+ public static MemorySegment SCNiPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNiPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.SCNiPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo8 "hho"
+ * }
+ */
+ public static MemorySegment SCNo8()
+ {
+ class Holder {
+ static final MemorySegment SCNo8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.SCNo8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo16 "ho"
+ * }
+ */
+ public static MemorySegment SCNo16()
+ {
+ class Holder {
+ static final MemorySegment SCNo16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.SCNo16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo32 "o"
+ * }
+ */
+ public static MemorySegment SCNo32()
+ {
+ class Holder {
+ static final MemorySegment SCNo32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.SCNo32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo64 "llo"
+ * }
+ */
+ public static MemorySegment SCNo64()
+ {
+ class Holder {
+ static final MemorySegment SCNo64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.SCNo64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST8 "hho"
+ * }
+ */
+ public static MemorySegment SCNoLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.SCNoLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST16 "ho"
+ * }
+ */
+ public static MemorySegment SCNoLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.SCNoLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST32 "o"
+ * }
+ */
+ public static MemorySegment SCNoLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.SCNoLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST64 "llo"
+ * }
+ */
+ public static MemorySegment SCNoLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.SCNoLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST8 "hho"
+ * }
+ */
+ public static MemorySegment SCNoFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.SCNoFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST16 "o"
+ * }
+ */
+ public static MemorySegment SCNoFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.SCNoFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST32 "o"
+ * }
+ */
+ public static MemorySegment SCNoFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.SCNoFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST64 "llo"
+ * }
+ */
+ public static MemorySegment SCNoFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.SCNoFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoMAX "llo"
+ * }
+ */
+ public static MemorySegment SCNoMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNoMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.SCNoMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoPTR "llo"
+ * }
+ */
+ public static MemorySegment SCNoPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNoPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.SCNoPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu8 "hhu"
+ * }
+ */
+ public static MemorySegment SCNu8()
+ {
+ class Holder {
+ static final MemorySegment SCNu8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.SCNu8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu16 "hu"
+ * }
+ */
+ public static MemorySegment SCNu16()
+ {
+ class Holder {
+ static final MemorySegment SCNu16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.SCNu16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu32 "u"
+ * }
+ */
+ public static MemorySegment SCNu32()
+ {
+ class Holder {
+ static final MemorySegment SCNu32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.SCNu32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu64 "llu"
+ * }
+ */
+ public static MemorySegment SCNu64()
+ {
+ class Holder {
+ static final MemorySegment SCNu64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.SCNu64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST8 "hhu"
+ * }
+ */
+ public static MemorySegment SCNuLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.SCNuLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST16 "hu"
+ * }
+ */
+ public static MemorySegment SCNuLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.SCNuLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST32 "u"
+ * }
+ */
+ public static MemorySegment SCNuLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.SCNuLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST64 "llu"
+ * }
+ */
+ public static MemorySegment SCNuLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.SCNuLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST8 "hhu"
+ * }
+ */
+ public static MemorySegment SCNuFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.SCNuFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST16 "u"
+ * }
+ */
+ public static MemorySegment SCNuFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.SCNuFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST32 "u"
+ * }
+ */
+ public static MemorySegment SCNuFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.SCNuFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST64 "llu"
+ * }
+ */
+ public static MemorySegment SCNuFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.SCNuFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuMAX "llu"
+ * }
+ */
+ public static MemorySegment SCNuMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNuMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.SCNuMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuPTR "llu"
+ * }
+ */
+ public static MemorySegment SCNuPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNuPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.SCNuPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx8 "hhx"
+ * }
+ */
+ public static MemorySegment SCNx8()
+ {
+ class Holder {
+ static final MemorySegment SCNx8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.SCNx8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx16 "hx"
+ * }
+ */
+ public static MemorySegment SCNx16()
+ {
+ class Holder {
+ static final MemorySegment SCNx16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.SCNx16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx32 "x"
+ * }
+ */
+ public static MemorySegment SCNx32()
+ {
+ class Holder {
+ static final MemorySegment SCNx32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.SCNx32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx64 "llx"
+ * }
+ */
+ public static MemorySegment SCNx64()
+ {
+ class Holder {
+ static final MemorySegment SCNx64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.SCNx64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST8 "hhx"
+ * }
+ */
+ public static MemorySegment SCNxLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.SCNxLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST16 "hx"
+ * }
+ */
+ public static MemorySegment SCNxLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.SCNxLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST32 "x"
+ * }
+ */
+ public static MemorySegment SCNxLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.SCNxLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST64 "llx"
+ * }
+ */
+ public static MemorySegment SCNxLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.SCNxLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST8 "hhx"
+ * }
+ */
+ public static MemorySegment SCNxFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.SCNxFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST16 "x"
+ * }
+ */
+ public static MemorySegment SCNxFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.SCNxFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST32 "x"
+ * }
+ */
+ public static MemorySegment SCNxFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.SCNxFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST64 "llx"
+ * }
+ */
+ public static MemorySegment SCNxFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.SCNxFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxMAX "llx"
+ * }
+ */
+ public static MemorySegment SCNxMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNxMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.SCNxMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxPTR "llx"
+ * }
+ */
+ public static MemorySegment SCNxPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNxPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.SCNxPTR;
+ }
+ private static final int SCHAR_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define SCHAR_MIN -128
+ * }
+ */
+ public static int SCHAR_MIN() { return SCHAR_MIN; }
+ private static final int CHAR_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define CHAR_MIN -128
+ * }
+ */
+ public static int CHAR_MIN() { return CHAR_MIN; }
+ private static final int CHAR_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define CHAR_MAX 127
+ * }
+ */
+ public static int CHAR_MAX() { return CHAR_MAX; }
+ private static final int SHRT_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define SHRT_MIN -32768
+ * }
+ */
+ public static int SHRT_MIN() { return SHRT_MIN; }
+ private static final int INT_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_MIN -2147483648
+ * }
+ */
+ public static int INT_MIN() { return INT_MIN; }
+ private static final int UINT_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_MAX 4294967295
+ * }
+ */
+ public static int UINT_MAX() { return UINT_MAX; }
+ private static final int LONG_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_MIN -2147483648
+ * }
+ */
+ public static int LONG_MIN() { return LONG_MIN; }
+ private static final int LONG_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_MAX 2147483647
+ * }
+ */
+ public static int LONG_MAX() { return LONG_MAX; }
+ private static final int ULONG_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define ULONG_MAX 4294967295
+ * }
+ */
+ public static int ULONG_MAX() { return ULONG_MAX; }
+ private static final long LLONG_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define LLONG_MAX 9223372036854775807
+ * }
+ */
+ public static long LLONG_MAX() { return LLONG_MAX; }
+ private static final long LLONG_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define LLONG_MIN -9223372036854775808
+ * }
+ */
+ public static long LLONG_MIN() { return LLONG_MIN; }
+ private static final long ULLONG_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define ULLONG_MAX -1
+ * }
+ */
+ public static long ULLONG_MAX() { return ULLONG_MAX; }
+ private static final int _I8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define _I8_MIN -128
+ * }
+ */
+ public static int _I8_MIN() { return _I8_MIN; }
+ private static final byte _I8_MAX = (byte)127L;
+ /**
+ * {@snippet lang=c :
+ * #define _I8_MAX 127
+ * }
+ */
+ public static byte _I8_MAX() { return _I8_MAX; }
+ private static final byte _UI8_MAX = (byte)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _UI8_MAX 255
+ * }
+ */
+ public static byte _UI8_MAX() { return _UI8_MAX; }
+ private static final int _I16_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define _I16_MIN -32768
+ * }
+ */
+ public static int _I16_MIN() { return _I16_MIN; }
+ private static final short _I16_MAX = (short)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define _I16_MAX 32767
+ * }
+ */
+ public static short _I16_MAX() { return _I16_MAX; }
+ private static final short _UI16_MAX = (short)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define _UI16_MAX 65535
+ * }
+ */
+ public static short _UI16_MAX() { return _UI16_MAX; }
+ private static final int _I32_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define _I32_MIN -2147483648
+ * }
+ */
+ public static int _I32_MIN() { return _I32_MIN; }
+ private static final int _I32_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define _I32_MAX 2147483647
+ * }
+ */
+ public static int _I32_MAX() { return _I32_MAX; }
+ private static final int _UI32_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define _UI32_MAX 4294967295
+ * }
+ */
+ public static int _UI32_MAX() { return _UI32_MAX; }
+ private static final long _I64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define _I64_MIN -9223372036854775808
+ * }
+ */
+ public static long _I64_MIN() { return _I64_MIN; }
+ private static final long _I64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define _I64_MAX 9223372036854775807
+ * }
+ */
+ public static long _I64_MAX() { return _I64_MAX; }
+ private static final long _UI64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define _UI64_MAX -1
+ * }
+ */
+ public static long _UI64_MAX() { return _UI64_MAX; }
+ private static final long RSIZE_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define RSIZE_MAX 9223372036854775807
+ * }
+ */
+ public static long RSIZE_MAX() { return RSIZE_MAX; }
+ private static final long LONG_LONG_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_LONG_MAX 9223372036854775807
+ * }
+ */
+ public static long LONG_LONG_MAX() { return LONG_LONG_MAX; }
+ private static final long LONG_LONG_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_LONG_MIN -9223372036854775808
+ * }
+ */
+ public static long LONG_LONG_MIN() { return LONG_LONG_MIN; }
+ private static final long ULONG_LONG_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define ULONG_LONG_MAX -1
+ * }
+ */
+ public static long ULONG_LONG_MAX() { return ULONG_LONG_MAX; }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_SUBRELEASE "4"
+ * }
+ */
+ public static MemorySegment H5_VERS_SUBRELEASE()
+ {
+ class Holder {
+ static final MemorySegment H5_VERS_SUBRELEASE = hdf5_h.LIBRARY_ARENA.allocateFrom("4");
+ }
+ return Holder.H5_VERS_SUBRELEASE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_STR "2.0.0-4"
+ * }
+ */
+ public static MemorySegment H5_VERS_STR()
+ {
+ class Holder {
+ static final MemorySegment H5_VERS_STR = hdf5_h.LIBRARY_ARENA.allocateFrom("2.0.0-4");
+ }
+ return Holder.H5_VERS_STR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_INFO "HDF5 library version: 2.0.0-4"
+ * }
+ */
+ public static MemorySegment H5_VERS_INFO()
+ {
+ class Holder {
+ static final MemorySegment H5_VERS_INFO =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5 library version: 2.0.0-4");
+ }
+ return Holder.H5_VERS_INFO;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_DRIVER "HDF5_DRIVER"
+ * }
+ */
+ public static MemorySegment HDF5_DRIVER()
+ {
+ class Holder {
+ static final MemorySegment HDF5_DRIVER = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_DRIVER");
+ }
+ return Holder.HDF5_DRIVER;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_DRIVER_CONFIG "HDF5_DRIVER_CONFIG"
+ * }
+ */
+ public static MemorySegment HDF5_DRIVER_CONFIG()
+ {
+ class Holder {
+ static final MemorySegment HDF5_DRIVER_CONFIG =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_DRIVER_CONFIG");
+ }
+ return Holder.HDF5_DRIVER_CONFIG;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_VOL_CONNECTOR "HDF5_VOL_CONNECTOR"
+ * }
+ */
+ public static MemorySegment HDF5_VOL_CONNECTOR()
+ {
+ class Holder {
+ static final MemorySegment HDF5_VOL_CONNECTOR =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_VOL_CONNECTOR");
+ }
+ return Holder.HDF5_VOL_CONNECTOR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_PLUGIN_PATH "HDF5_PLUGIN_PATH"
+ * }
+ */
+ public static MemorySegment HDF5_PLUGIN_PATH()
+ {
+ class Holder {
+ static final MemorySegment HDF5_PLUGIN_PATH =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_PLUGIN_PATH");
+ }
+ return Holder.HDF5_PLUGIN_PATH;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_PLUGIN_PRELOAD "HDF5_PLUGIN_PRELOAD"
+ * }
+ */
+ public static MemorySegment HDF5_PLUGIN_PRELOAD()
+ {
+ class Holder {
+ static final MemorySegment HDF5_PLUGIN_PRELOAD =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_PLUGIN_PRELOAD");
+ }
+ return Holder.HDF5_PLUGIN_PRELOAD;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_USE_FILE_LOCKING "HDF5_USE_FILE_LOCKING"
+ * }
+ */
+ public static MemorySegment HDF5_USE_FILE_LOCKING()
+ {
+ class Holder {
+ static final MemorySegment HDF5_USE_FILE_LOCKING =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_USE_FILE_LOCKING");
+ }
+ return Holder.HDF5_USE_FILE_LOCKING;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_NOCLEANUP "HDF5_NOCLEANUP"
+ * }
+ */
+ public static MemorySegment HDF5_NOCLEANUP()
+ {
+ class Holder {
+ static final MemorySegment HDF5_NOCLEANUP = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_NOCLEANUP");
+ }
+ return Holder.HDF5_NOCLEANUP;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_PREFER_WINDOWS_CODE_PAGE "HDF5_PREFER_WINDOWS_CODE_PAGE"
+ * }
+ */
+ public static MemorySegment HDF5_PREFER_WINDOWS_CODE_PAGE()
+ {
+ class Holder {
+ static final MemorySegment HDF5_PREFER_WINDOWS_CODE_PAGE =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_PREFER_WINDOWS_CODE_PAGE");
+ }
+ return Holder.HDF5_PREFER_WINDOWS_CODE_PAGE;
+ }
+ private static final long ADDRESS_TAG_BIT = 4398046511104L;
+ /**
+ * {@snippet lang=c :
+ * #define ADDRESS_TAG_BIT 4398046511104
+ * }
+ */
+ public static long ADDRESS_TAG_BIT() { return ADDRESS_TAG_BIT; }
+ private static final long MAXUINT_PTR = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define MAXUINT_PTR -1
+ * }
+ */
+ public static long MAXUINT_PTR() { return MAXUINT_PTR; }
+ private static final long MAXINT_PTR = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define MAXINT_PTR 9223372036854775807
+ * }
+ */
+ public static long MAXINT_PTR() { return MAXINT_PTR; }
+ private static final long MININT_PTR = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define MININT_PTR -9223372036854775808
+ * }
+ */
+ public static long MININT_PTR() { return MININT_PTR; }
+ private static final long MAXULONG_PTR = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define MAXULONG_PTR -1
+ * }
+ */
+ public static long MAXULONG_PTR() { return MAXULONG_PTR; }
+ private static final long MAXLONG_PTR = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define MAXLONG_PTR 9223372036854775807
+ * }
+ */
+ public static long MAXLONG_PTR() { return MAXLONG_PTR; }
+ private static final long MINLONG_PTR = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define MINLONG_PTR -9223372036854775808
+ * }
+ */
+ public static long MINLONG_PTR() { return MINLONG_PTR; }
+ private static final int MAXUHALF_PTR = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define MAXUHALF_PTR 4294967295
+ * }
+ */
+ public static int MAXUHALF_PTR() { return MAXUHALF_PTR; }
+ private static final int MAXHALF_PTR = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define MAXHALF_PTR 2147483647
+ * }
+ */
+ public static int MAXHALF_PTR() { return MAXHALF_PTR; }
+ private static final int MINHALF_PTR = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define MINHALF_PTR -2147483648
+ * }
+ */
+ public static int MINHALF_PTR() { return MINHALF_PTR; }
+ private static final int H5_SIZEOF_SSIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_SSIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_SSIZE_T() { return H5_SIZEOF_SSIZE_T; }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdHSIZE "lld"
+ * }
+ */
+ public static MemorySegment PRIdHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIdHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiHSIZE "lli"
+ * }
+ */
+ public static MemorySegment PRIiHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIiHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIiHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoHSIZE "llo"
+ * }
+ */
+ public static MemorySegment PRIoHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIoHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuHSIZE "llu"
+ * }
+ */
+ public static MemorySegment PRIuHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIuHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxHSIZE "llx"
+ * }
+ */
+ public static MemorySegment PRIxHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIxHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXHSIZE "llX"
+ * }
+ */
+ public static MemorySegment PRIXHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIXHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXHSIZE;
+ }
+ private static final long HSIZE_UNDEF = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define HSIZE_UNDEF -1
+ * }
+ */
+ public static long HSIZE_UNDEF() { return HSIZE_UNDEF; }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdHADDR "lld"
+ * }
+ */
+ public static MemorySegment PRIdHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIdHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoHADDR "llo"
+ * }
+ */
+ public static MemorySegment PRIoHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIoHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuHADDR "llu"
+ * }
+ */
+ public static MemorySegment PRIuHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIuHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxHADDR "llx"
+ * }
+ */
+ public static MemorySegment PRIxHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIxHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXHADDR "llX"
+ * }
+ */
+ public static MemorySegment PRIXHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIXHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXHADDR;
+ }
+ private static final long HADDR_UNDEF = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define HADDR_UNDEF -1
+ * }
+ */
+ public static long HADDR_UNDEF() { return HADDR_UNDEF; }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PRINTF_HADDR_FMT "%llu"
+ * }
+ */
+ public static MemorySegment H5_PRINTF_HADDR_FMT()
+ {
+ class Holder {
+ static final MemorySegment H5_PRINTF_HADDR_FMT = hdf5_h.LIBRARY_ARENA.allocateFrom("%llu");
+ }
+ return Holder.H5_PRINTF_HADDR_FMT;
+ }
+ private static final long HADDR_MAX = -2L;
+ /**
+ * {@snippet lang=c :
+ * #define HADDR_MAX -2
+ * }
+ */
+ public static long HADDR_MAX() { return HADDR_MAX; }
+ private static final int H5_ITER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_ITER_ERROR -1
+ * }
+ */
+ public static int H5_ITER_ERROR() { return H5_ITER_ERROR; }
+ private static final int H5_ITER_CONT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_ITER_CONT 0
+ * }
+ */
+ public static int H5_ITER_CONT() { return H5_ITER_CONT; }
+ private static final int H5_ITER_STOP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_ITER_STOP 1
+ * }
+ */
+ public static int H5_ITER_STOP() { return H5_ITER_STOP; }
+ private static final int H5O_MAX_TOKEN_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_MAX_TOKEN_SIZE 16
+ * }
+ */
+ public static int H5O_MAX_TOKEN_SIZE() { return H5O_MAX_TOKEN_SIZE; }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdHID "lld"
+ * }
+ */
+ public static MemorySegment PRIdHID()
+ {
+ class Holder {
+ static final MemorySegment PRIdHID = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdHID;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxHID "llx"
+ * }
+ */
+ public static MemorySegment PRIxHID()
+ {
+ class Holder {
+ static final MemorySegment PRIxHID = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxHID;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXHID "llX"
+ * }
+ */
+ public static MemorySegment PRIXHID()
+ {
+ class Holder {
+ static final MemorySegment PRIXHID = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXHID;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoHID "llo"
+ * }
+ */
+ public static MemorySegment PRIoHID()
+ {
+ class Holder {
+ static final MemorySegment PRIoHID = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoHID;
+ }
+ private static final int H5_SIZEOF_HID_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HID_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HID_T() { return H5_SIZEOF_HID_T; }
+ private static final int H5I_INVALID_HID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5I_INVALID_HID -1
+ * }
+ */
+ public static int H5I_INVALID_HID() { return H5I_INVALID_HID; }
+ private static final int H5O_COPY_SHALLOW_HIERARCHY_FLAG = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_SHALLOW_HIERARCHY_FLAG 1
+ * }
+ */
+ public static int H5O_COPY_SHALLOW_HIERARCHY_FLAG() { return H5O_COPY_SHALLOW_HIERARCHY_FLAG; }
+ private static final int H5O_COPY_EXPAND_SOFT_LINK_FLAG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_EXPAND_SOFT_LINK_FLAG 2
+ * }
+ */
+ public static int H5O_COPY_EXPAND_SOFT_LINK_FLAG() { return H5O_COPY_EXPAND_SOFT_LINK_FLAG; }
+ private static final int H5O_COPY_EXPAND_EXT_LINK_FLAG = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_EXPAND_EXT_LINK_FLAG 4
+ * }
+ */
+ public static int H5O_COPY_EXPAND_EXT_LINK_FLAG() { return H5O_COPY_EXPAND_EXT_LINK_FLAG; }
+ private static final int H5O_COPY_EXPAND_REFERENCE_FLAG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_EXPAND_REFERENCE_FLAG 8
+ * }
+ */
+ public static int H5O_COPY_EXPAND_REFERENCE_FLAG() { return H5O_COPY_EXPAND_REFERENCE_FLAG; }
+ private static final int H5O_COPY_WITHOUT_ATTR_FLAG = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_WITHOUT_ATTR_FLAG 16
+ * }
+ */
+ public static int H5O_COPY_WITHOUT_ATTR_FLAG() { return H5O_COPY_WITHOUT_ATTR_FLAG; }
+ private static final int H5O_COPY_PRESERVE_NULL_FLAG = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_PRESERVE_NULL_FLAG 32
+ * }
+ */
+ public static int H5O_COPY_PRESERVE_NULL_FLAG() { return H5O_COPY_PRESERVE_NULL_FLAG; }
+ private static final int H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG 64
+ * }
+ */
+ public static int H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG() { return H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG; }
+ private static final int H5O_COPY_ALL = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_ALL 127
+ * }
+ */
+ public static int H5O_COPY_ALL() { return H5O_COPY_ALL; }
+ private static final int H5O_SHMESG_SDSPACE_FLAG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_SDSPACE_FLAG 2
+ * }
+ */
+ public static int H5O_SHMESG_SDSPACE_FLAG() { return H5O_SHMESG_SDSPACE_FLAG; }
+ private static final int H5O_SHMESG_DTYPE_FLAG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_DTYPE_FLAG 8
+ * }
+ */
+ public static int H5O_SHMESG_DTYPE_FLAG() { return H5O_SHMESG_DTYPE_FLAG; }
+ private static final int H5O_SHMESG_FILL_FLAG = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_FILL_FLAG 32
+ * }
+ */
+ public static int H5O_SHMESG_FILL_FLAG() { return H5O_SHMESG_FILL_FLAG; }
+ private static final int H5O_SHMESG_PLINE_FLAG = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_PLINE_FLAG 2048
+ * }
+ */
+ public static int H5O_SHMESG_PLINE_FLAG() { return H5O_SHMESG_PLINE_FLAG; }
+ private static final int H5O_SHMESG_ATTR_FLAG = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_ATTR_FLAG 4096
+ * }
+ */
+ public static int H5O_SHMESG_ATTR_FLAG() { return H5O_SHMESG_ATTR_FLAG; }
+ private static final int H5O_SHMESG_ALL_FLAG = (int)6186L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_ALL_FLAG 6186
+ * }
+ */
+ public static int H5O_SHMESG_ALL_FLAG() { return H5O_SHMESG_ALL_FLAG; }
+ private static final int H5O_HDR_ALL_FLAGS = (int)63L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ALL_FLAGS 63
+ * }
+ */
+ public static int H5O_HDR_ALL_FLAGS() { return H5O_HDR_ALL_FLAGS; }
+ private static final int H5O_INFO_BASIC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_BASIC 1
+ * }
+ */
+ public static int H5O_INFO_BASIC() { return H5O_INFO_BASIC; }
+ private static final int H5O_INFO_TIME = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_TIME 2
+ * }
+ */
+ public static int H5O_INFO_TIME() { return H5O_INFO_TIME; }
+ private static final int H5O_INFO_NUM_ATTRS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_NUM_ATTRS 4
+ * }
+ */
+ public static int H5O_INFO_NUM_ATTRS() { return H5O_INFO_NUM_ATTRS; }
+ private static final int H5O_INFO_ALL = (int)31L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_ALL 31
+ * }
+ */
+ public static int H5O_INFO_ALL() { return H5O_INFO_ALL; }
+ private static final int H5O_NATIVE_INFO_HDR = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_NATIVE_INFO_HDR 8
+ * }
+ */
+ public static int H5O_NATIVE_INFO_HDR() { return H5O_NATIVE_INFO_HDR; }
+ private static final int H5O_NATIVE_INFO_META_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_NATIVE_INFO_META_SIZE 16
+ * }
+ */
+ public static int H5O_NATIVE_INFO_META_SIZE() { return H5O_NATIVE_INFO_META_SIZE; }
+ private static final int H5O_NATIVE_INFO_ALL = (int)24L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_NATIVE_INFO_ALL 24
+ * }
+ */
+ public static int H5O_NATIVE_INFO_ALL() { return H5O_NATIVE_INFO_ALL; }
+ private static final int H5O_INFO_HDR = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_HDR 8
+ * }
+ */
+ public static int H5O_INFO_HDR() { return H5O_INFO_HDR; }
+ private static final int H5O_INFO_META_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_META_SIZE 16
+ * }
+ */
+ public static int H5O_INFO_META_SIZE() { return H5O_INFO_META_SIZE; }
+ private static final int H5T_NCSET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_NCSET 2
+ * }
+ */
+ public static int H5T_NCSET() { return H5T_NCSET; }
+ private static final int H5T_NSTR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_NSTR 3
+ * }
+ */
+ public static int H5T_NSTR() { return H5T_NSTR; }
+ private static final long H5T_VARIABLE = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_VARIABLE -1
+ * }
+ */
+ public static long H5T_VARIABLE() { return H5T_VARIABLE; }
+ private static final int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE -1
+ * }
+ */
+ public static int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE()
+ {
+ return H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE;
+ }
+ private static final long H5D_CHUNK_CACHE_NSLOTS_DEFAULT = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_CACHE_NSLOTS_DEFAULT -1
+ * }
+ */
+ public static long H5D_CHUNK_CACHE_NSLOTS_DEFAULT() { return H5D_CHUNK_CACHE_NSLOTS_DEFAULT; }
+ private static final long H5D_CHUNK_CACHE_NBYTES_DEFAULT = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_CACHE_NBYTES_DEFAULT -1
+ * }
+ */
+ public static long H5D_CHUNK_CACHE_NBYTES_DEFAULT() { return H5D_CHUNK_CACHE_NBYTES_DEFAULT; }
+ private static final double H5D_CHUNK_CACHE_W0_DEFAULT = -1.0d;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_CACHE_W0_DEFAULT -1.0
+ * }
+ */
+ public static double H5D_CHUNK_CACHE_W0_DEFAULT() { return H5D_CHUNK_CACHE_W0_DEFAULT; }
+ private static final int H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS 2
+ * }
+ */
+ public static int H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS() { return H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS; }
+ private static final int H5D_CHUNK_BTREE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_BTREE 0
+ * }
+ */
+ public static int H5D_CHUNK_BTREE() { return H5D_CHUNK_BTREE; }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME "direct_chunk_flag"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_flag");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME "direct_chunk_filters"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_filters");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME "direct_chunk_offset"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_offset");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME "direct_chunk_datasize"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_datasize");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME "direct_chunk_read_flag"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_read_flag");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME "direct_chunk_read_offset"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_read_offset");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME "direct_chunk_read_filters"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_read_filters");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_STDIO_SYMBOL_PREFIX ""
+ * }
+ */
+ public static MemorySegment _CRT_INTERNAL_STDIO_SYMBOL_PREFIX()
+ {
+ class Holder {
+ static final MemorySegment _CRT_INTERNAL_STDIO_SYMBOL_PREFIX =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("");
+ }
+ return Holder._CRT_INTERNAL_STDIO_SYMBOL_PREFIX;
+ }
+ private static final long _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION = 1L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION 1
+ * }
+ */
+ public static long _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION()
+ {
+ return _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION;
+ }
+ private static final long _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR = 2L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR 2
+ * }
+ */
+ public static long _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR()
+ {
+ return _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR;
+ }
+ private static final long _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS = 4L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS 4
+ * }
+ */
+ public static long _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS()
+ {
+ return _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS;
+ }
+ private static final long _CRT_INTERNAL_PRINTF_LEGACY_MSVCRT_COMPATIBILITY = 8L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_PRINTF_LEGACY_MSVCRT_COMPATIBILITY 8
+ * }
+ */
+ public static long _CRT_INTERNAL_PRINTF_LEGACY_MSVCRT_COMPATIBILITY()
+ {
+ return _CRT_INTERNAL_PRINTF_LEGACY_MSVCRT_COMPATIBILITY;
+ }
+ private static final long _CRT_INTERNAL_PRINTF_LEGACY_THREE_DIGIT_EXPONENTS = 16L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_PRINTF_LEGACY_THREE_DIGIT_EXPONENTS 16
+ * }
+ */
+ public static long _CRT_INTERNAL_PRINTF_LEGACY_THREE_DIGIT_EXPONENTS()
+ {
+ return _CRT_INTERNAL_PRINTF_LEGACY_THREE_DIGIT_EXPONENTS;
+ }
+ private static final long _CRT_INTERNAL_PRINTF_STANDARD_ROUNDING = 32L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_PRINTF_STANDARD_ROUNDING 32
+ * }
+ */
+ public static long _CRT_INTERNAL_PRINTF_STANDARD_ROUNDING()
+ {
+ return _CRT_INTERNAL_PRINTF_STANDARD_ROUNDING;
+ }
+ private static final long _CRT_INTERNAL_SCANF_SECURECRT = 1L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_SCANF_SECURECRT 1
+ * }
+ */
+ public static long _CRT_INTERNAL_SCANF_SECURECRT() { return _CRT_INTERNAL_SCANF_SECURECRT; }
+ private static final long _CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS = 2L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS 2
+ * }
+ */
+ public static long _CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS()
+ {
+ return _CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS;
+ }
+ private static final long _CRT_INTERNAL_SCANF_LEGACY_MSVCRT_COMPATIBILITY = 4L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_SCANF_LEGACY_MSVCRT_COMPATIBILITY 4
+ * }
+ */
+ public static long _CRT_INTERNAL_SCANF_LEGACY_MSVCRT_COMPATIBILITY()
+ {
+ return _CRT_INTERNAL_SCANF_LEGACY_MSVCRT_COMPATIBILITY;
+ }
+ private static final short WEOF = (short)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define WEOF 65535
+ * }
+ */
+ public static short WEOF() { return WEOF; }
+ private static final int _NFILE = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define _NFILE 512
+ * }
+ */
+ public static int _NFILE() { return _NFILE; }
+ private static final int EOF = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define EOF -1
+ * }
+ */
+ public static int EOF() { return EOF; }
+ private static final int L_tmpnam_s = (int)260L;
+ /**
+ * {@snippet lang=c :
+ * #define L_tmpnam_s 260
+ * }
+ */
+ public static int L_tmpnam_s() { return L_tmpnam_s; }
+ private static final int TMP_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define TMP_MAX 2147483647
+ * }
+ */
+ public static int TMP_MAX() { return TMP_MAX; }
+ private static final int TMP_MAX_S = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define TMP_MAX_S 2147483647
+ * }
+ */
+ public static int TMP_MAX_S() { return TMP_MAX_S; }
+ private static final int _TMP_MAX_S = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define _TMP_MAX_S 2147483647
+ * }
+ */
+ public static int _TMP_MAX_S() { return _TMP_MAX_S; }
+ private static final int SYS_OPEN = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define SYS_OPEN 20
+ * }
+ */
+ public static int SYS_OPEN() { return SYS_OPEN; }
+ private static final long H5ES_WAIT_FOREVER = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5ES_WAIT_FOREVER -1
+ * }
+ */
+ public static long H5ES_WAIT_FOREVER() { return H5ES_WAIT_FOREVER; }
+ private static final int H5ES_WAIT_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5ES_WAIT_NONE 0
+ * }
+ */
+ public static int H5ES_WAIT_NONE() { return H5ES_WAIT_NONE; }
+ private static final int H5F_ACC_RDONLY = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_RDONLY 0
+ * }
+ */
+ public static int H5F_ACC_RDONLY() { return H5F_ACC_RDONLY; }
+ private static final int H5F_ACC_RDWR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_RDWR 1
+ * }
+ */
+ public static int H5F_ACC_RDWR() { return H5F_ACC_RDWR; }
+ private static final int H5F_ACC_TRUNC = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_TRUNC 2
+ * }
+ */
+ public static int H5F_ACC_TRUNC() { return H5F_ACC_TRUNC; }
+ private static final int H5F_ACC_EXCL = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_EXCL 4
+ * }
+ */
+ public static int H5F_ACC_EXCL() { return H5F_ACC_EXCL; }
+ private static final int H5F_ACC_CREAT = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_CREAT 16
+ * }
+ */
+ public static int H5F_ACC_CREAT() { return H5F_ACC_CREAT; }
+ private static final int H5F_ACC_SWMR_WRITE = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_SWMR_WRITE 32
+ * }
+ */
+ public static int H5F_ACC_SWMR_WRITE() { return H5F_ACC_SWMR_WRITE; }
+ private static final int H5F_ACC_SWMR_READ = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_SWMR_READ 64
+ * }
+ */
+ public static int H5F_ACC_SWMR_READ() { return H5F_ACC_SWMR_READ; }
+ private static final int H5F_ACC_DEFAULT = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_DEFAULT 65535
+ * }
+ */
+ public static int H5F_ACC_DEFAULT() { return H5F_ACC_DEFAULT; }
+ private static final int H5F_OBJ_FILE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_FILE 1
+ * }
+ */
+ public static int H5F_OBJ_FILE() { return H5F_OBJ_FILE; }
+ private static final int H5F_OBJ_DATASET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_DATASET 2
+ * }
+ */
+ public static int H5F_OBJ_DATASET() { return H5F_OBJ_DATASET; }
+ private static final int H5F_OBJ_GROUP = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_GROUP 4
+ * }
+ */
+ public static int H5F_OBJ_GROUP() { return H5F_OBJ_GROUP; }
+ private static final int H5F_OBJ_DATATYPE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_DATATYPE 8
+ * }
+ */
+ public static int H5F_OBJ_DATATYPE() { return H5F_OBJ_DATATYPE; }
+ private static final int H5F_OBJ_ATTR = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_ATTR 16
+ * }
+ */
+ public static int H5F_OBJ_ATTR() { return H5F_OBJ_ATTR; }
+ private static final int H5F_OBJ_ALL = (int)31L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_ALL 31
+ * }
+ */
+ public static int H5F_OBJ_ALL() { return H5F_OBJ_ALL; }
+ private static final int H5F_OBJ_LOCAL = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_LOCAL 32
+ * }
+ */
+ public static int H5F_OBJ_LOCAL() { return H5F_OBJ_LOCAL; }
+ private static final long H5F_PAGE_BUFFER_SIZE_DEFAULT = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_PAGE_BUFFER_SIZE_DEFAULT -1
+ * }
+ */
+ public static long H5F_PAGE_BUFFER_SIZE_DEFAULT() { return H5F_PAGE_BUFFER_SIZE_DEFAULT; }
+ private static final long H5F_UNLIMITED = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_UNLIMITED -1
+ * }
+ */
+ public static long H5F_UNLIMITED() { return H5F_UNLIMITED; }
+ private static final int H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS 1
+ * }
+ */
+ public static int H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS()
+ {
+ return H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS;
+ }
+ private static final int H5F_RFIC_ALL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_RFIC_ALL 1
+ * }
+ */
+ public static int H5F_RFIC_ALL() { return H5F_RFIC_ALL; }
+ private static final int H5F_ACC_DEBUG = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_DEBUG 0
+ * }
+ */
+ public static int H5F_ACC_DEBUG() { return H5F_ACC_DEBUG; }
+ private static final int H5_VFD_INVALID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_INVALID -1
+ * }
+ */
+ public static int H5_VFD_INVALID() { return H5_VFD_INVALID; }
+ private static final int H5_VFD_SEC2 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_SEC2 0
+ * }
+ */
+ public static int H5_VFD_SEC2() { return H5_VFD_SEC2; }
+ private static final int H5_VFD_CORE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_CORE 1
+ * }
+ */
+ public static int H5_VFD_CORE() { return H5_VFD_CORE; }
+ private static final int H5_VFD_LOG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_LOG 2
+ * }
+ */
+ public static int H5_VFD_LOG() { return H5_VFD_LOG; }
+ private static final int H5_VFD_FAMILY = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_FAMILY 3
+ * }
+ */
+ public static int H5_VFD_FAMILY() { return H5_VFD_FAMILY; }
+ private static final int H5_VFD_MULTI = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MULTI 4
+ * }
+ */
+ public static int H5_VFD_MULTI() { return H5_VFD_MULTI; }
+ private static final int H5_VFD_STDIO = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_STDIO 5
+ * }
+ */
+ public static int H5_VFD_STDIO() { return H5_VFD_STDIO; }
+ private static final int H5_VFD_SPLITTER = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_SPLITTER 6
+ * }
+ */
+ public static int H5_VFD_SPLITTER() { return H5_VFD_SPLITTER; }
+ private static final int H5_VFD_MPIO = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MPIO 7
+ * }
+ */
+ public static int H5_VFD_MPIO() { return H5_VFD_MPIO; }
+ private static final int H5_VFD_DIRECT = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_DIRECT 8
+ * }
+ */
+ public static int H5_VFD_DIRECT() { return H5_VFD_DIRECT; }
+ private static final int H5_VFD_MIRROR = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MIRROR 9
+ * }
+ */
+ public static int H5_VFD_MIRROR() { return H5_VFD_MIRROR; }
+ private static final int H5_VFD_HDFS = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_HDFS 10
+ * }
+ */
+ public static int H5_VFD_HDFS() { return H5_VFD_HDFS; }
+ private static final int H5_VFD_ROS3 = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_ROS3 11
+ * }
+ */
+ public static int H5_VFD_ROS3() { return H5_VFD_ROS3; }
+ private static final int H5_VFD_SUBFILING = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_SUBFILING 12
+ * }
+ */
+ public static int H5_VFD_SUBFILING() { return H5_VFD_SUBFILING; }
+ private static final int H5_VFD_IOC = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_IOC 13
+ * }
+ */
+ public static int H5_VFD_IOC() { return H5_VFD_IOC; }
+ private static final int H5_VFD_ONION = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_ONION 14
+ * }
+ */
+ public static int H5_VFD_ONION() { return H5_VFD_ONION; }
+ private static final int H5FD_FEAT_ACCUMULATE_METADATA = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ACCUMULATE_METADATA 6
+ * }
+ */
+ public static int H5FD_FEAT_ACCUMULATE_METADATA() { return H5FD_FEAT_ACCUMULATE_METADATA; }
+ private static final int H5FD_CTL_OPC_EXPER_MIN = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_OPC_EXPER_MIN 512
+ * }
+ */
+ public static int H5FD_CTL_OPC_EXPER_MIN() { return H5FD_CTL_OPC_EXPER_MIN; }
+ private static final int H5FD_CTL_OPC_EXPER_MAX = (int)1023L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_OPC_EXPER_MAX 1023
+ * }
+ */
+ public static int H5FD_CTL_OPC_EXPER_MAX() { return H5FD_CTL_OPC_EXPER_MAX; }
+ private static final int H5L_MAX_LINK_NAME_LEN = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_MAX_LINK_NAME_LEN 4294967295
+ * }
+ */
+ public static int H5L_MAX_LINK_NAME_LEN() { return H5L_MAX_LINK_NAME_LEN; }
+ private static final int H5L_TYPE_BUILTIN_MAX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_TYPE_BUILTIN_MAX 1
+ * }
+ */
+ public static int H5L_TYPE_BUILTIN_MAX() { return H5L_TYPE_BUILTIN_MAX; }
+ private static final int H5L_TYPE_UD_MIN = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_TYPE_UD_MIN 64
+ * }
+ */
+ public static int H5L_TYPE_UD_MIN() { return H5L_TYPE_UD_MIN; }
+ private static final int H5L_TYPE_UD_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_TYPE_UD_MAX 255
+ * }
+ */
+ public static int H5L_TYPE_UD_MAX() { return H5L_TYPE_UD_MAX; }
+ private static final int H5G_SAME_LOC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_SAME_LOC 0
+ * }
+ */
+ public static int H5G_SAME_LOC() { return H5G_SAME_LOC; }
+ private static final int H5G_LINK_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_LINK_ERROR -1
+ * }
+ */
+ public static int H5G_LINK_ERROR() { return H5G_LINK_ERROR; }
+ private static final int H5G_LINK_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_LINK_HARD 0
+ * }
+ */
+ public static int H5G_LINK_HARD() { return H5G_LINK_HARD; }
+ private static final int H5G_LINK_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_LINK_SOFT 1
+ * }
+ */
+ public static int H5G_LINK_SOFT() { return H5G_LINK_SOFT; }
+ private static final int H5G_NUSERTYPES = (int)248L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_NUSERTYPES 248
+ * }
+ */
+ public static int H5G_NUSERTYPES() { return H5G_NUSERTYPES; }
+ private static final int H5_VOL_INVALID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_INVALID -1
+ * }
+ */
+ public static int H5_VOL_INVALID() { return H5_VOL_INVALID; }
+ private static final int H5VL_CAP_FLAG_SOFT_LINKS = (int)2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_SOFT_LINKS 2147483648
+ * }
+ */
+ public static int H5VL_CAP_FLAG_SOFT_LINKS() { return H5VL_CAP_FLAG_SOFT_LINKS; }
+ private static final long H5VL_CAP_FLAG_UD_LINKS = 4294967296L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_UD_LINKS 4294967296
+ * }
+ */
+ public static long H5VL_CAP_FLAG_UD_LINKS() { return H5VL_CAP_FLAG_UD_LINKS; }
+ private static final long H5VL_CAP_FLAG_TRACK_TIMES = 8589934592L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_TRACK_TIMES 8589934592
+ * }
+ */
+ public static long H5VL_CAP_FLAG_TRACK_TIMES() { return H5VL_CAP_FLAG_TRACK_TIMES; }
+ private static final long H5VL_CAP_FLAG_MOUNT = 17179869184L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_MOUNT 17179869184
+ * }
+ */
+ public static long H5VL_CAP_FLAG_MOUNT() { return H5VL_CAP_FLAG_MOUNT; }
+ private static final long H5VL_CAP_FLAG_FILTERS = 34359738368L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILTERS 34359738368
+ * }
+ */
+ public static long H5VL_CAP_FLAG_FILTERS() { return H5VL_CAP_FLAG_FILTERS; }
+ private static final long H5VL_CAP_FLAG_FILL_VALUES = 68719476736L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILL_VALUES 68719476736
+ * }
+ */
+ public static long H5VL_CAP_FLAG_FILL_VALUES() { return H5VL_CAP_FLAG_FILL_VALUES; }
+ private static final long H5R_OBJ_REF_BUF_SIZE = 8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_OBJ_REF_BUF_SIZE 8
+ * }
+ */
+ public static long H5R_OBJ_REF_BUF_SIZE() { return H5R_OBJ_REF_BUF_SIZE; }
+ private static final long H5R_DSET_REG_REF_BUF_SIZE = 12L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_DSET_REG_REF_BUF_SIZE 12
+ * }
+ */
+ public static long H5R_DSET_REG_REF_BUF_SIZE() { return H5R_DSET_REG_REF_BUF_SIZE; }
+ private static final int H5R_REF_BUF_SIZE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_REF_BUF_SIZE 64
+ * }
+ */
+ public static int H5R_REF_BUF_SIZE() { return H5R_REF_BUF_SIZE; }
+ private static final int H5R_OBJECT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_OBJECT 0
+ * }
+ */
+ public static int H5R_OBJECT() { return H5R_OBJECT; }
+ private static final int H5R_DATASET_REGION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_DATASET_REGION 1
+ * }
+ */
+ public static int H5R_DATASET_REGION() { return H5R_DATASET_REGION; }
+ private static final int H5VL_MAX_BLOB_ID_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAX_BLOB_ID_SIZE 16
+ * }
+ */
+ public static int H5VL_MAX_BLOB_ID_SIZE() { return H5VL_MAX_BLOB_ID_SIZE; }
+ private static final long H5S_UNLIMITED = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_UNLIMITED -1
+ * }
+ */
+ public static long H5S_UNLIMITED() { return H5S_UNLIMITED; }
+ private static final int H5Z_FILTER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_ERROR -1
+ * }
+ */
+ public static int H5Z_FILTER_ERROR() { return H5Z_FILTER_ERROR; }
+ private static final int H5Z_FILTER_CONFIG_ENCODE_ENABLED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_CONFIG_ENCODE_ENABLED 1
+ * }
+ */
+ public static int H5Z_FILTER_CONFIG_ENCODE_ENABLED() { return H5Z_FILTER_CONFIG_ENCODE_ENABLED; }
+ private static final int H5Z_FILTER_CONFIG_DECODE_ENABLED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_CONFIG_DECODE_ENABLED 2
+ * }
+ */
+ public static int H5Z_FILTER_CONFIG_DECODE_ENABLED() { return H5Z_FILTER_CONFIG_DECODE_ENABLED; }
+ private static final int H5D_SEL_IO_DISABLE_BY_API = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_DISABLE_BY_API 1
+ * }
+ */
+ public static int H5D_SEL_IO_DISABLE_BY_API() { return H5D_SEL_IO_DISABLE_BY_API; }
+ private static final int H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET 2
+ * }
+ */
+ public static int H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET()
+ {
+ return H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET;
+ }
+ private static final int H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER 4
+ * }
+ */
+ public static int H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER() { return H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER; }
+ private static final int H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB 8
+ * }
+ */
+ public static int H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB()
+ {
+ return H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB;
+ }
+ private static final int H5D_SEL_IO_PAGE_BUFFER = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_PAGE_BUFFER 16
+ * }
+ */
+ public static int H5D_SEL_IO_PAGE_BUFFER() { return H5D_SEL_IO_PAGE_BUFFER; }
+ private static final int H5D_SEL_IO_DATASET_FILTER = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_DATASET_FILTER 32
+ * }
+ */
+ public static int H5D_SEL_IO_DATASET_FILTER() { return H5D_SEL_IO_DATASET_FILTER; }
+ private static final int H5D_SEL_IO_CHUNK_CACHE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_CHUNK_CACHE 64
+ * }
+ */
+ public static int H5D_SEL_IO_CHUNK_CACHE() { return H5D_SEL_IO_CHUNK_CACHE; }
+ private static final int H5D_SEL_IO_TCONV_BUF_TOO_SMALL = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_TCONV_BUF_TOO_SMALL 128
+ * }
+ */
+ public static int H5D_SEL_IO_TCONV_BUF_TOO_SMALL() { return H5D_SEL_IO_TCONV_BUF_TOO_SMALL; }
+ private static final int H5D_SEL_IO_BKG_BUF_TOO_SMALL = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_BKG_BUF_TOO_SMALL 256
+ * }
+ */
+ public static int H5D_SEL_IO_BKG_BUF_TOO_SMALL() { return H5D_SEL_IO_BKG_BUF_TOO_SMALL; }
+ private static final int H5D_SEL_IO_DEFAULT_OFF = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_DEFAULT_OFF 512
+ * }
+ */
+ public static int H5D_SEL_IO_DEFAULT_OFF() { return H5D_SEL_IO_DEFAULT_OFF; }
+ private static final int H5D_MPIO_NO_SELECTION_IO_CAUSES = (int)481L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_MPIO_NO_SELECTION_IO_CAUSES 481
+ * }
+ */
+ public static int H5D_MPIO_NO_SELECTION_IO_CAUSES() { return H5D_MPIO_NO_SELECTION_IO_CAUSES; }
+ private static final int H5D_SCALAR_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SCALAR_IO 1
+ * }
+ */
+ public static int H5D_SCALAR_IO() { return H5D_SCALAR_IO; }
+ private static final int H5D_VECTOR_IO = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_VECTOR_IO 2
+ * }
+ */
+ public static int H5D_VECTOR_IO() { return H5D_VECTOR_IO; }
+ private static final int H5D_SELECTION_IO = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SELECTION_IO 4
+ * }
+ */
+ public static int H5D_SELECTION_IO() { return H5D_SELECTION_IO; }
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_NO_PLUGIN "::"
+ * }
+ */
+ public static MemorySegment H5PL_NO_PLUGIN()
+ {
+ class Holder {
+ static final MemorySegment H5PL_NO_PLUGIN = hdf5_h.LIBRARY_ARENA.allocateFrom("::");
+ }
+ return Holder.H5PL_NO_PLUGIN;
+ }
+ private static final int H5FD_MEM_FHEAP_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_HDR() { return H5FD_MEM_FHEAP_HDR; }
+ private static final int H5FD_MEM_FHEAP_IBLOCK = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_IBLOCK 6
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_IBLOCK() { return H5FD_MEM_FHEAP_IBLOCK; }
+ private static final int H5FD_MEM_FHEAP_DBLOCK = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_DBLOCK 5
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_DBLOCK() { return H5FD_MEM_FHEAP_DBLOCK; }
+ private static final int H5FD_MEM_FHEAP_HUGE_OBJ = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_HUGE_OBJ 3
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_HUGE_OBJ() { return H5FD_MEM_FHEAP_HUGE_OBJ; }
+ private static final int H5FD_MEM_FSPACE_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FSPACE_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_FSPACE_HDR() { return H5FD_MEM_FSPACE_HDR; }
+ private static final int H5FD_MEM_FSPACE_SINFO = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FSPACE_SINFO 5
+ * }
+ */
+ public static int H5FD_MEM_FSPACE_SINFO() { return H5FD_MEM_FSPACE_SINFO; }
+ private static final int H5FD_MEM_SOHM_TABLE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_SOHM_TABLE 6
+ * }
+ */
+ public static int H5FD_MEM_SOHM_TABLE() { return H5FD_MEM_SOHM_TABLE; }
+ private static final int H5FD_MEM_SOHM_INDEX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_SOHM_INDEX 2
+ * }
+ */
+ public static int H5FD_MEM_SOHM_INDEX() { return H5FD_MEM_SOHM_INDEX; }
+ private static final int H5FD_MEM_EARRAY_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_HDR() { return H5FD_MEM_EARRAY_HDR; }
+ private static final int H5FD_MEM_EARRAY_IBLOCK = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_IBLOCK 6
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_IBLOCK() { return H5FD_MEM_EARRAY_IBLOCK; }
+ private static final int H5FD_MEM_EARRAY_SBLOCK = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_SBLOCK 2
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_SBLOCK() { return H5FD_MEM_EARRAY_SBLOCK; }
+ private static final int H5FD_MEM_EARRAY_DBLOCK = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_DBLOCK 5
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_DBLOCK() { return H5FD_MEM_EARRAY_DBLOCK; }
+ private static final int H5FD_MEM_EARRAY_DBLK_PAGE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_DBLK_PAGE 5
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_DBLK_PAGE() { return H5FD_MEM_EARRAY_DBLK_PAGE; }
+ private static final int H5FD_MEM_FARRAY_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FARRAY_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_FARRAY_HDR() { return H5FD_MEM_FARRAY_HDR; }
+ private static final int H5FD_MEM_FARRAY_DBLOCK = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FARRAY_DBLOCK 5
+ * }
+ */
+ public static int H5FD_MEM_FARRAY_DBLOCK() { return H5FD_MEM_FARRAY_DBLOCK; }
+ private static final int H5FD_MEM_FARRAY_DBLK_PAGE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FARRAY_DBLK_PAGE 5
+ * }
+ */
+ public static int H5FD_MEM_FARRAY_DBLK_PAGE() { return H5FD_MEM_FARRAY_DBLK_PAGE; }
+ private static final int H5Z_CLASS_T_VERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_CLASS_T_VERS 1
+ * }
+ */
+ public static int H5Z_CLASS_T_VERS() { return H5Z_CLASS_T_VERS; }
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_NAME "native"
+ * }
+ */
+ public static MemorySegment H5VL_NATIVE_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5VL_NATIVE_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("native");
+ }
+ return Holder.H5VL_NATIVE_NAME;
+ }
+ private static final int H5VL_NATIVE_VALUE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_VALUE 0
+ * }
+ */
+ public static int H5VL_NATIVE_VALUE() { return H5VL_NATIVE_VALUE; }
+ private static final int H5FD_CORE_VALUE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CORE_VALUE 1
+ * }
+ */
+ public static int H5FD_CORE_VALUE() { return H5FD_CORE_VALUE; }
+ private static final int H5FD_DIRECT = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_DIRECT -1
+ * }
+ */
+ public static int H5FD_DIRECT() { return H5FD_DIRECT; }
+ private static final int H5FD_DIRECT_VALUE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_DIRECT_VALUE -1
+ * }
+ */
+ public static int H5FD_DIRECT_VALUE() { return H5FD_DIRECT_VALUE; }
+ private static final int CBSIZE_DEF = (int)16777216L;
+ /**
+ * {@snippet lang=c :
+ * #define CBSIZE_DEF 16777216
+ * }
+ */
+ public static int CBSIZE_DEF() { return CBSIZE_DEF; }
+ private static final int H5FD_FAMILY_VALUE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FAMILY_VALUE 3
+ * }
+ */
+ public static int H5FD_FAMILY_VALUE() { return H5FD_FAMILY_VALUE; }
+ private static final int H5FD_HDFS = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_HDFS -1
+ * }
+ */
+ public static int H5FD_HDFS() { return H5FD_HDFS; }
+ private static final int H5FD_HDFS_VALUE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_HDFS_VALUE -1
+ * }
+ */
+ public static int H5FD_HDFS_VALUE() { return H5FD_HDFS_VALUE; }
+ private static final int H5FD_LOG_VALUE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_VALUE 2
+ * }
+ */
+ public static int H5FD_LOG_VALUE() { return H5FD_LOG_VALUE; }
+ private static final int H5FD_LOG_META_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_META_IO 1
+ * }
+ */
+ public static int H5FD_LOG_META_IO() { return H5FD_LOG_META_IO; }
+ private static final int H5FD_LOG_LOC_IO = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_IO 14
+ * }
+ */
+ public static int H5FD_LOG_LOC_IO() { return H5FD_LOG_LOC_IO; }
+ private static final int H5FD_LOG_FILE_IO = (int)48L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FILE_IO 48
+ * }
+ */
+ public static int H5FD_LOG_FILE_IO() { return H5FD_LOG_FILE_IO; }
+ private static final int H5FD_LOG_NUM_IO = (int)1920L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_IO 1920
+ * }
+ */
+ public static int H5FD_LOG_NUM_IO() { return H5FD_LOG_NUM_IO; }
+ private static final int H5FD_LOG_TIME_IO = (int)260096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_IO 260096
+ * }
+ */
+ public static int H5FD_LOG_TIME_IO() { return H5FD_LOG_TIME_IO; }
+ private static final int H5FD_LOG_ALL = (int)1048575L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_ALL 1048575
+ * }
+ */
+ public static int H5FD_LOG_ALL() { return H5FD_LOG_ALL; }
+ private static final int H5FD_MPIO = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MPIO -1
+ * }
+ */
+ public static int H5FD_MPIO() { return H5FD_MPIO; }
+ private static final int H5FD_ONION_VALUE = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_VALUE 14
+ * }
+ */
+ public static int H5FD_ONION_VALUE() { return H5FD_ONION_VALUE; }
+ private static final int H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT 1
+ * }
+ */
+ public static int H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT()
+ {
+ return H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT;
+ }
+ private static final long H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST -1
+ * }
+ */
+ public static long H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST()
+ {
+ return H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST;
+ }
+ private static final int H5FD_ROS3 = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3 -1
+ * }
+ */
+ public static int H5FD_ROS3() { return H5FD_ROS3; }
+ private static final int H5FD_ROS3_VALUE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3_VALUE -1
+ * }
+ */
+ public static int H5FD_ROS3_VALUE() { return H5FD_ROS3_VALUE; }
+ private static final int H5FD_SEC2_VALUE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SEC2_VALUE 0
+ * }
+ */
+ public static int H5FD_SEC2_VALUE() { return H5FD_SEC2_VALUE; }
+ private static final int H5FD_SPLITTER_VALUE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SPLITTER_VALUE 6
+ * }
+ */
+ public static int H5FD_SPLITTER_VALUE() { return H5FD_SPLITTER_VALUE; }
+ private static final int H5FD_SUBFILING = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SUBFILING -1
+ * }
+ */
+ public static int H5FD_SUBFILING() { return H5FD_SUBFILING; }
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SUBFILING_NAME "subfiling"
+ * }
+ */
+ public static MemorySegment H5FD_SUBFILING_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5FD_SUBFILING_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("subfiling");
+ }
+ return Holder.H5FD_SUBFILING_NAME;
+ }
+ private static final int H5FD_IOC = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_IOC -1
+ * }
+ */
+ public static int H5FD_IOC() { return H5FD_IOC; }
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_IOC_NAME "ioc"
+ * }
+ */
+ public static MemorySegment H5FD_IOC_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5FD_IOC_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("ioc");
+ }
+ return Holder.H5FD_IOC_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_PASSTHRU_NAME "pass_through"
+ * }
+ */
+ public static MemorySegment H5VL_PASSTHRU_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5VL_PASSTHRU_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("pass_through");
+ }
+ return Holder.H5VL_PASSTHRU_NAME;
+ }
+}
diff --git a/java/jsrc/features/plain/windows/hdf5_h_1.java b/java/jsrc/features/plain/windows/hdf5_h_1.java
new file mode 100644
index 00000000000..9936e5486fc
--- /dev/null
+++ b/java/jsrc/features/plain/windows/hdf5_h_1.java
@@ -0,0 +1,40952 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h_1 extends hdf5_h_2 {
+
+ hdf5_h_1()
+ {
+ // Should not be called directly
+ }
+
+ private static class H5Dcreate2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate2$descriptor() { return H5Dcreate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate2$handle() { return H5Dcreate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate2$address() { return H5Dcreate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static long H5Dcreate2(long loc_id, MemorySegment name, long type_id, long space_id, long lcpl_id,
+ long dcpl_id, long dapl_id)
+ {
+ var mh$ = H5Dcreate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate2", loc_id, name, type_id, space_id, lcpl_id, dcpl_id, dapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, type_id, space_id, lcpl_id, dcpl_id, dapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dcreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate_async$descriptor() { return H5Dcreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate_async$handle() { return H5Dcreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate_async$address() { return H5Dcreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static long H5Dcreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long type_id, long space_id,
+ long lcpl_id, long dcpl_id, long dapl_id, long es_id)
+ {
+ var mh$ = H5Dcreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate_async", app_file, app_func, app_line, loc_id, name, type_id,
+ space_id, lcpl_id, dcpl_id, dapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, type_id, space_id,
+ lcpl_id, dcpl_id, dapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dcreate_anon {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate_anon");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate_anon$descriptor() { return H5Dcreate_anon.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate_anon$handle() { return H5Dcreate_anon.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate_anon$address() { return H5Dcreate_anon.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static long H5Dcreate_anon(long loc_id, long type_id, long space_id, long dcpl_id, long dapl_id)
+ {
+ var mh$ = H5Dcreate_anon.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate_anon", loc_id, type_id, space_id, dcpl_id, dapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, type_id, space_id, dcpl_id, dapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dopen2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dopen2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dopen2$descriptor() { return H5Dopen2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static MethodHandle H5Dopen2$handle() { return H5Dopen2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static MemorySegment H5Dopen2$address() { return H5Dopen2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static long H5Dopen2(long loc_id, MemorySegment name, long dapl_id)
+ {
+ var mh$ = H5Dopen2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dopen2", loc_id, name, dapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, dapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dopen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dopen_async$descriptor() { return H5Dopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dopen_async$handle() { return H5Dopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dopen_async$address() { return H5Dopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Dopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long dapl_id, long es_id)
+ {
+ var mh$ = H5Dopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dopen_async", app_file, app_func, app_line, loc_id, name, dapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, dapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_space {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_space$descriptor() { return H5Dget_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_space$handle() { return H5Dget_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_space$address() { return H5Dget_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_space(long dset_id)
+ {
+ var mh$ = H5Dget_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_space", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_space_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_space_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_space_async$descriptor() { return H5Dget_space_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dget_space_async$handle() { return H5Dget_space_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dget_space_async$address() { return H5Dget_space_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static long H5Dget_space_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long es_id)
+ {
+ var mh$ = H5Dget_space_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_space_async", app_file, app_func, app_line, dset_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, dset_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_space_status {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_space_status");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_space_status$descriptor() { return H5Dget_space_status.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static MethodHandle H5Dget_space_status$handle() { return H5Dget_space_status.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static MemorySegment H5Dget_space_status$address() { return H5Dget_space_status.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static int H5Dget_space_status(long dset_id, MemorySegment allocation)
+ {
+ var mh$ = H5Dget_space_status.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_space_status", dset_id, allocation);
+ }
+ return (int)mh$.invokeExact(dset_id, allocation);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_type$descriptor() { return H5Dget_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_type$handle() { return H5Dget_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_type$address() { return H5Dget_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_type(long dset_id)
+ {
+ var mh$ = H5Dget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_type", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_create_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_create_plist$descriptor() { return H5Dget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_create_plist$handle() { return H5Dget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_create_plist$address() { return H5Dget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_create_plist(long dset_id)
+ {
+ var mh$ = H5Dget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_create_plist", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_access_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_access_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_access_plist$descriptor() { return H5Dget_access_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_access_plist$handle() { return H5Dget_access_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_access_plist$address() { return H5Dget_access_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_access_plist(long dset_id)
+ {
+ var mh$ = H5Dget_access_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_access_plist", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_storage_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_storage_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_storage_size$descriptor() { return H5Dget_storage_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_storage_size$handle() { return H5Dget_storage_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_storage_size$address() { return H5Dget_storage_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_storage_size(long dset_id)
+ {
+ var mh$ = H5Dget_storage_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_storage_size", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_storage_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_storage_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_storage_size$descriptor()
+ {
+ return H5Dget_chunk_storage_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_storage_size$handle() { return H5Dget_chunk_storage_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_storage_size$address() { return H5Dget_chunk_storage_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static int H5Dget_chunk_storage_size(long dset_id, MemorySegment offset, MemorySegment chunk_bytes)
+ {
+ var mh$ = H5Dget_chunk_storage_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_storage_size", dset_id, offset, chunk_bytes);
+ }
+ return (int)mh$.invokeExact(dset_id, offset, chunk_bytes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_num_chunks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_num_chunks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_num_chunks$descriptor() { return H5Dget_num_chunks.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static MethodHandle H5Dget_num_chunks$handle() { return H5Dget_num_chunks.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static MemorySegment H5Dget_num_chunks$address() { return H5Dget_num_chunks.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static int H5Dget_num_chunks(long dset_id, long fspace_id, MemorySegment nchunks)
+ {
+ var mh$ = H5Dget_num_chunks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_num_chunks", dset_id, fspace_id, nchunks);
+ }
+ return (int)mh$.invokeExact(dset_id, fspace_id, nchunks);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_info_by_coord {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_info_by_coord");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_info_by_coord$descriptor()
+ {
+ return H5Dget_chunk_info_by_coord.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_info_by_coord$handle()
+ {
+ return H5Dget_chunk_info_by_coord.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_info_by_coord$address()
+ {
+ return H5Dget_chunk_info_by_coord.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static int H5Dget_chunk_info_by_coord(long dset_id, MemorySegment offset,
+ MemorySegment filter_mask, MemorySegment addr,
+ MemorySegment size)
+ {
+ var mh$ = H5Dget_chunk_info_by_coord.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_info_by_coord", dset_id, offset, filter_mask, addr, size);
+ }
+ return (int)mh$.invokeExact(dset_id, offset, filter_mask, addr, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dchunk_iter {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dchunk_iter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Dchunk_iter$descriptor() { return H5Dchunk_iter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Dchunk_iter$handle() { return H5Dchunk_iter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Dchunk_iter$address() { return H5Dchunk_iter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static int H5Dchunk_iter(long dset_id, long dxpl_id, MemorySegment cb, MemorySegment op_data)
+ {
+ var mh$ = H5Dchunk_iter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dchunk_iter", dset_id, dxpl_id, cb, op_data);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, cb, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_info$descriptor() { return H5Dget_chunk_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_info$handle() { return H5Dget_chunk_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_info$address() { return H5Dget_chunk_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static int H5Dget_chunk_info(long dset_id, long fspace_id, long chk_idx, MemorySegment offset,
+ MemorySegment filter_mask, MemorySegment addr, MemorySegment size)
+ {
+ var mh$ = H5Dget_chunk_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_info", dset_id, fspace_id, chk_idx, offset, filter_mask, addr,
+ size);
+ }
+ return (int)mh$.invokeExact(dset_id, fspace_id, chk_idx, offset, filter_mask, addr, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_offset$descriptor() { return H5Dget_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_offset$handle() { return H5Dget_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_offset$address() { return H5Dget_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_offset(long dset_id)
+ {
+ var mh$ = H5Dget_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_offset", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dread$descriptor() { return H5Dread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Dread$handle() { return H5Dread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Dread$address() { return H5Dread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static int H5Dread(long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf)
+ {
+ var mh$ = H5Dread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread", dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Dread_multi$descriptor() { return H5Dread_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static MethodHandle H5Dread_multi$handle() { return H5Dread_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static MemorySegment H5Dread_multi$address() { return H5Dread_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static int H5Dread_multi(long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id, long dxpl_id,
+ MemorySegment buf)
+ {
+ var mh$ = H5Dread_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_multi", count, dset_id, mem_type_id, mem_space_id, file_space_id,
+ dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(count, dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id,
+ buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_async$descriptor() { return H5Dread_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dread_async$handle() { return H5Dread_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dread_async$address() { return H5Dread_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static int H5Dread_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dread_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_async", app_file, app_func, app_line, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, mem_type_id, mem_space_id,
+ file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_multi_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_multi_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_multi_async$descriptor() { return H5Dread_multi_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dread_multi_async$handle() { return H5Dread_multi_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dread_multi_async$address() { return H5Dread_multi_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static int H5Dread_multi_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dread_multi_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_multi_async", app_file, app_func, app_line, count, dset_id,
+ mem_type_id, mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, count, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite$descriptor() { return H5Dwrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static MethodHandle H5Dwrite$handle() { return H5Dwrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static MemorySegment H5Dwrite$address() { return H5Dwrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static int H5Dwrite(long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf)
+ {
+ var mh$ = H5Dwrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite", dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_multi$descriptor() { return H5Dwrite_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static MethodHandle H5Dwrite_multi$handle() { return H5Dwrite_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static MemorySegment H5Dwrite_multi$address() { return H5Dwrite_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static int H5Dwrite_multi(long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id, long dxpl_id,
+ MemorySegment buf)
+ {
+ var mh$ = H5Dwrite_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_multi", count, dset_id, mem_type_id, mem_space_id, file_space_id,
+ dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(count, dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id,
+ buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_async$descriptor() { return H5Dwrite_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static MethodHandle H5Dwrite_async$handle() { return H5Dwrite_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static MemorySegment H5Dwrite_async$address() { return H5Dwrite_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static int H5Dwrite_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dwrite_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_async", app_file, app_func, app_line, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, mem_type_id, mem_space_id,
+ file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_multi_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_multi_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_multi_async$descriptor() { return H5Dwrite_multi_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dwrite_multi_async$handle() { return H5Dwrite_multi_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dwrite_multi_async$address() { return H5Dwrite_multi_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static int H5Dwrite_multi_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dwrite_multi_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_multi_async", app_file, app_func, app_line, count, dset_id,
+ mem_type_id, mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, count, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_chunk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_chunk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_chunk$descriptor() { return H5Dwrite_chunk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static MethodHandle H5Dwrite_chunk$handle() { return H5Dwrite_chunk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static MemorySegment H5Dwrite_chunk$address() { return H5Dwrite_chunk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static int H5Dwrite_chunk(long dset_id, long dxpl_id, int filters, MemorySegment offset,
+ long data_size, MemorySegment buf)
+ {
+ var mh$ = H5Dwrite_chunk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_chunk", dset_id, dxpl_id, filters, offset, data_size, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, filters, offset, data_size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_chunk2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_chunk2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_chunk2$descriptor() { return H5Dread_chunk2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static MethodHandle H5Dread_chunk2$handle() { return H5Dread_chunk2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static MemorySegment H5Dread_chunk2$address() { return H5Dread_chunk2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static int H5Dread_chunk2(long dset_id, long dxpl_id, MemorySegment offset, MemorySegment filters,
+ MemorySegment buf, MemorySegment buf_size)
+ {
+ var mh$ = H5Dread_chunk2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_chunk2", dset_id, dxpl_id, offset, filters, buf, buf_size);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, offset, filters, buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Diterate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Diterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static FunctionDescriptor H5Diterate$descriptor() { return H5Diterate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static MethodHandle H5Diterate$handle() { return H5Diterate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static MemorySegment H5Diterate$address() { return H5Diterate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static int H5Diterate(MemorySegment buf, long type_id, long space_id, MemorySegment op,
+ MemorySegment operator_data)
+ {
+ var mh$ = H5Diterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Diterate", buf, type_id, space_id, op, operator_data);
+ }
+ return (int)mh$.invokeExact(buf, type_id, space_id, op, operator_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dvlen_get_buf_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dvlen_get_buf_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Dvlen_get_buf_size$descriptor() { return H5Dvlen_get_buf_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Dvlen_get_buf_size$handle() { return H5Dvlen_get_buf_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Dvlen_get_buf_size$address() { return H5Dvlen_get_buf_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static int H5Dvlen_get_buf_size(long dset_id, long type_id, long space_id, MemorySegment size)
+ {
+ var mh$ = H5Dvlen_get_buf_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dvlen_get_buf_size", dset_id, type_id, space_id, size);
+ }
+ return (int)mh$.invokeExact(dset_id, type_id, space_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dfill {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dfill");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dfill$descriptor() { return H5Dfill.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Dfill$handle() { return H5Dfill.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Dfill$address() { return H5Dfill.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static int H5Dfill(MemorySegment fill, long fill_type_id, MemorySegment buf, long buf_type_id,
+ long space_id)
+ {
+ var mh$ = H5Dfill.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dfill", fill, fill_type_id, buf, buf_type_id, space_id);
+ }
+ return (int)mh$.invokeExact(fill, fill_type_id, buf, buf_type_id, space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dset_extent {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dset_extent");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static FunctionDescriptor H5Dset_extent$descriptor() { return H5Dset_extent.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MethodHandle H5Dset_extent$handle() { return H5Dset_extent.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MemorySegment H5Dset_extent$address() { return H5Dset_extent.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static int H5Dset_extent(long dset_id, MemorySegment size)
+ {
+ var mh$ = H5Dset_extent.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dset_extent", dset_id, size);
+ }
+ return (int)mh$.invokeExact(dset_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dset_extent_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dset_extent_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dset_extent_async$descriptor() { return H5Dset_extent_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dset_extent_async$handle() { return H5Dset_extent_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dset_extent_async$address() { return H5Dset_extent_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static int H5Dset_extent_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, MemorySegment size, long es_id)
+ {
+ var mh$ = H5Dset_extent_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dset_extent_async", app_file, app_func, app_line, dset_id, size, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, size, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dflush$descriptor() { return H5Dflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dflush$handle() { return H5Dflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dflush$address() { return H5Dflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static int H5Dflush(long dset_id)
+ {
+ var mh$ = H5Dflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dflush", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Drefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Drefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Drefresh$descriptor() { return H5Drefresh.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Drefresh$handle() { return H5Drefresh.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Drefresh$address() { return H5Drefresh.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static int H5Drefresh(long dset_id)
+ {
+ var mh$ = H5Drefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Drefresh", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dscatter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dscatter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dscatter$descriptor() { return H5Dscatter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static MethodHandle H5Dscatter$handle() { return H5Dscatter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static MemorySegment H5Dscatter$address() { return H5Dscatter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static int H5Dscatter(MemorySegment op, MemorySegment op_data, long type_id, long dst_space_id,
+ MemorySegment dst_buf)
+ {
+ var mh$ = H5Dscatter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dscatter", op, op_data, type_id, dst_space_id, dst_buf);
+ }
+ return (int)mh$.invokeExact(op, op_data, type_id, dst_space_id, dst_buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dgather {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dgather");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Dgather$descriptor() { return H5Dgather.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Dgather$handle() { return H5Dgather.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Dgather$address() { return H5Dgather.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static int H5Dgather(long src_space_id, MemorySegment src_buf, long type_id, long dst_buf_size,
+ MemorySegment dst_buf, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Dgather.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dgather", src_space_id, src_buf, type_id, dst_buf_size, dst_buf, op,
+ op_data);
+ }
+ return (int)mh$.invokeExact(src_space_id, src_buf, type_id, dst_buf_size, dst_buf, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dclose$descriptor() { return H5Dclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dclose$handle() { return H5Dclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dclose$address() { return H5Dclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static int H5Dclose(long dset_id)
+ {
+ var mh$ = H5Dclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dclose", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dclose_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dclose_async$descriptor() { return H5Dclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dclose_async$handle() { return H5Dclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dclose_async$address() { return H5Dclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Dclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long es_id)
+ {
+ var mh$ = H5Dclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dclose_async", app_file, app_func, app_line, dset_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ddebug {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ddebug");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ddebug$descriptor() { return H5Ddebug.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Ddebug$handle() { return H5Ddebug.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Ddebug$address() { return H5Ddebug.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static int H5Ddebug(long dset_id)
+ {
+ var mh$ = H5Ddebug.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ddebug", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dformat_convert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dformat_convert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dformat_convert$descriptor() { return H5Dformat_convert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dformat_convert$handle() { return H5Dformat_convert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dformat_convert$address() { return H5Dformat_convert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static int H5Dformat_convert(long dset_id)
+ {
+ var mh$ = H5Dformat_convert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dformat_convert", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_index_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_index_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_index_type$descriptor()
+ {
+ return H5Dget_chunk_index_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_index_type$handle() { return H5Dget_chunk_index_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_index_type$address() { return H5Dget_chunk_index_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static int H5Dget_chunk_index_type(long did, MemorySegment idx_type)
+ {
+ var mh$ = H5Dget_chunk_index_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_index_type", did, idx_type);
+ }
+ return (int)mh$.invokeExact(did, idx_type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dcreate1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate1$descriptor() { return H5Dcreate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate1$handle() { return H5Dcreate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate1$address() { return H5Dcreate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static long H5Dcreate1(long loc_id, MemorySegment name, long type_id, long space_id, long dcpl_id)
+ {
+ var mh$ = H5Dcreate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate1", loc_id, name, type_id, space_id, dcpl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, type_id, space_id, dcpl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dopen1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dopen1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Dopen1$descriptor() { return H5Dopen1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Dopen1$handle() { return H5Dopen1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Dopen1$address() { return H5Dopen1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Dopen1(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Dopen1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dopen1", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dextend {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dextend");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static FunctionDescriptor H5Dextend$descriptor() { return H5Dextend.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MethodHandle H5Dextend$handle() { return H5Dextend.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MemorySegment H5Dextend$address() { return H5Dextend.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static int H5Dextend(long dset_id, MemorySegment size)
+ {
+ var mh$ = H5Dextend.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dextend", dset_id, size);
+ }
+ return (int)mh$.invokeExact(dset_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dvlen_reclaim {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dvlen_reclaim");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dvlen_reclaim$descriptor() { return H5Dvlen_reclaim.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Dvlen_reclaim$handle() { return H5Dvlen_reclaim.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Dvlen_reclaim$address() { return H5Dvlen_reclaim.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static int H5Dvlen_reclaim(long type_id, long space_id, long dxpl_id, MemorySegment buf)
+ {
+ var mh$ = H5Dvlen_reclaim.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dvlen_reclaim", type_id, space_id, dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(type_id, space_id, dxpl_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_chunk1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_chunk1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_chunk1$descriptor() { return H5Dread_chunk1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static MethodHandle H5Dread_chunk1$handle() { return H5Dread_chunk1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static MemorySegment H5Dread_chunk1$address() { return H5Dread_chunk1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static int H5Dread_chunk1(long dset_id, long dxpl_id, MemorySegment offset, MemorySegment filters,
+ MemorySegment buf)
+ {
+ var mh$ = H5Dread_chunk1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_chunk1", dset_id, dxpl_id, offset, filters, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, offset, filters, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __acrt_iob_func {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__acrt_iob_func");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *__acrt_iob_func(unsigned int _Ix)
+ * }
+ */
+ public static FunctionDescriptor __acrt_iob_func$descriptor() { return __acrt_iob_func.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *__acrt_iob_func(unsigned int _Ix)
+ * }
+ */
+ public static MethodHandle __acrt_iob_func$handle() { return __acrt_iob_func.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *__acrt_iob_func(unsigned int _Ix)
+ * }
+ */
+ public static MemorySegment __acrt_iob_func$address() { return __acrt_iob_func.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *__acrt_iob_func(unsigned int _Ix)
+ * }
+ */
+ public static MemorySegment __acrt_iob_func(int _Ix)
+ {
+ var mh$ = __acrt_iob_func.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__acrt_iob_func", _Ix);
+ }
+ return (MemorySegment)mh$.invokeExact(_Ix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetwc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetwc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t fgetwc(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fgetwc$descriptor() { return fgetwc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t fgetwc(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fgetwc$handle() { return fgetwc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t fgetwc(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fgetwc$address() { return fgetwc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t fgetwc(FILE *_Stream)
+ * }
+ */
+ public static short fgetwc(MemorySegment _Stream)
+ {
+ var mh$ = fgetwc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetwc", _Stream);
+ }
+ return (short)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fgetwchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_SHORT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fgetwchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t _fgetwchar()
+ * }
+ */
+ public static FunctionDescriptor _fgetwchar$descriptor() { return _fgetwchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t _fgetwchar()
+ * }
+ */
+ public static MethodHandle _fgetwchar$handle() { return _fgetwchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t _fgetwchar()
+ * }
+ */
+ public static MemorySegment _fgetwchar$address() { return _fgetwchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t _fgetwchar()
+ * }
+ */
+ public static short _fgetwchar()
+ {
+ var mh$ = _fgetwchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fgetwchar");
+ }
+ return (short)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fputwc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputwc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t fputwc(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fputwc$descriptor() { return fputwc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t fputwc(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fputwc$handle() { return fputwc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t fputwc(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fputwc$address() { return fputwc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t fputwc(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static short fputwc(short _Character, MemorySegment _Stream)
+ {
+ var mh$ = fputwc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputwc", _Character, _Stream);
+ }
+ return (short)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fputwchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_SHORT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fputwchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t _fputwchar(wchar_t _Character)
+ * }
+ */
+ public static FunctionDescriptor _fputwchar$descriptor() { return _fputwchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t _fputwchar(wchar_t _Character)
+ * }
+ */
+ public static MethodHandle _fputwchar$handle() { return _fputwchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t _fputwchar(wchar_t _Character)
+ * }
+ */
+ public static MemorySegment _fputwchar$address() { return _fputwchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t _fputwchar(wchar_t _Character)
+ * }
+ */
+ public static short _fputwchar(short _Character)
+ {
+ var mh$ = _fputwchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fputwchar", _Character);
+ }
+ return (short)mh$.invokeExact(_Character);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getwc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getwc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t getwc(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor getwc$descriptor() { return getwc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t getwc(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle getwc$handle() { return getwc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t getwc(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment getwc$address() { return getwc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t getwc(FILE *_Stream)
+ * }
+ */
+ public static short getwc(MemorySegment _Stream)
+ {
+ var mh$ = getwc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getwc", _Stream);
+ }
+ return (short)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getwchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_SHORT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getwchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t getwchar()
+ * }
+ */
+ public static FunctionDescriptor getwchar$descriptor() { return getwchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t getwchar()
+ * }
+ */
+ public static MethodHandle getwchar$handle() { return getwchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t getwchar()
+ * }
+ */
+ public static MemorySegment getwchar$address() { return getwchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t getwchar()
+ * }
+ */
+ public static short getwchar()
+ {
+ var mh$ = getwchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getwchar");
+ }
+ return (short)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetws {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetws");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wchar_t *fgetws(wchar_t *_Buffer, int _BufferCount, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fgetws$descriptor() { return fgetws.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wchar_t *fgetws(wchar_t *_Buffer, int _BufferCount, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fgetws$handle() { return fgetws.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wchar_t *fgetws(wchar_t *_Buffer, int _BufferCount, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fgetws$address() { return fgetws.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wchar_t *fgetws(wchar_t *_Buffer, int _BufferCount, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fgetws(MemorySegment _Buffer, int _BufferCount, MemorySegment _Stream)
+ {
+ var mh$ = fgetws.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetws", _Buffer, _BufferCount, _Stream);
+ }
+ return (MemorySegment)mh$.invokeExact(_Buffer, _BufferCount, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fputws {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputws");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fputws(const wchar_t *_Buffer, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fputws$descriptor() { return fputws.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fputws(const wchar_t *_Buffer, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fputws$handle() { return fputws.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fputws(const wchar_t *_Buffer, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fputws$address() { return fputws.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fputws(const wchar_t *_Buffer, FILE *_Stream)
+ * }
+ */
+ public static int fputws(MemorySegment _Buffer, MemorySegment _Stream)
+ {
+ var mh$ = fputws.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputws", _Buffer, _Stream);
+ }
+ return (int)mh$.invokeExact(_Buffer, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _getws_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_getws_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wchar_t *_getws_s(wchar_t *_Buffer, size_t _BufferCount)
+ * }
+ */
+ public static FunctionDescriptor _getws_s$descriptor() { return _getws_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wchar_t *_getws_s(wchar_t *_Buffer, size_t _BufferCount)
+ * }
+ */
+ public static MethodHandle _getws_s$handle() { return _getws_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wchar_t *_getws_s(wchar_t *_Buffer, size_t _BufferCount)
+ * }
+ */
+ public static MemorySegment _getws_s$address() { return _getws_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wchar_t *_getws_s(wchar_t *_Buffer, size_t _BufferCount)
+ * }
+ */
+ public static MemorySegment _getws_s(MemorySegment _Buffer, long _BufferCount)
+ {
+ var mh$ = _getws_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_getws_s", _Buffer, _BufferCount);
+ }
+ return (MemorySegment)mh$.invokeExact(_Buffer, _BufferCount);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putwc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putwc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t putwc(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor putwc$descriptor() { return putwc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t putwc(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle putwc$handle() { return putwc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t putwc(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment putwc$address() { return putwc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t putwc(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static short putwc(short _Character, MemorySegment _Stream)
+ {
+ var mh$ = putwc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putwc", _Character, _Stream);
+ }
+ return (short)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putwchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_SHORT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putwchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t putwchar(wchar_t _Character)
+ * }
+ */
+ public static FunctionDescriptor putwchar$descriptor() { return putwchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t putwchar(wchar_t _Character)
+ * }
+ */
+ public static MethodHandle putwchar$handle() { return putwchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t putwchar(wchar_t _Character)
+ * }
+ */
+ public static MemorySegment putwchar$address() { return putwchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t putwchar(wchar_t _Character)
+ * }
+ */
+ public static short putwchar(short _Character)
+ {
+ var mh$ = putwchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putwchar", _Character);
+ }
+ return (short)mh$.invokeExact(_Character);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _putws {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_putws");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _putws(const wchar_t *_Buffer)
+ * }
+ */
+ public static FunctionDescriptor _putws$descriptor() { return _putws.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _putws(const wchar_t *_Buffer)
+ * }
+ */
+ public static MethodHandle _putws$handle() { return _putws.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _putws(const wchar_t *_Buffer)
+ * }
+ */
+ public static MemorySegment _putws$address() { return _putws.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _putws(const wchar_t *_Buffer)
+ * }
+ */
+ public static int _putws(MemorySegment _Buffer)
+ {
+ var mh$ = _putws.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_putws", _Buffer);
+ }
+ return (int)mh$.invokeExact(_Buffer);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ungetwc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ungetwc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t ungetwc(wint_t _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor ungetwc$descriptor() { return ungetwc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t ungetwc(wint_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle ungetwc$handle() { return ungetwc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t ungetwc(wint_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment ungetwc$address() { return ungetwc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t ungetwc(wint_t _Character, FILE *_Stream)
+ * }
+ */
+ public static short ungetwc(short _Character, MemorySegment _Stream)
+ {
+ var mh$ = ungetwc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ungetwc", _Character, _Stream);
+ }
+ return (short)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wfdopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wfdopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *_wfdopen(int _FileHandle, const wchar_t *_Mode)
+ * }
+ */
+ public static FunctionDescriptor _wfdopen$descriptor() { return _wfdopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *_wfdopen(int _FileHandle, const wchar_t *_Mode)
+ * }
+ */
+ public static MethodHandle _wfdopen$handle() { return _wfdopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *_wfdopen(int _FileHandle, const wchar_t *_Mode)
+ * }
+ */
+ public static MemorySegment _wfdopen$address() { return _wfdopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *_wfdopen(int _FileHandle, const wchar_t *_Mode)
+ * }
+ */
+ public static MemorySegment _wfdopen(int _FileHandle, MemorySegment _Mode)
+ {
+ var mh$ = _wfdopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wfdopen", _FileHandle, _Mode);
+ }
+ return (MemorySegment)mh$.invokeExact(_FileHandle, _Mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wfopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wfopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *_wfopen(const wchar_t *_FileName, const wchar_t *_Mode)
+ * }
+ */
+ public static FunctionDescriptor _wfopen$descriptor() { return _wfopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *_wfopen(const wchar_t *_FileName, const wchar_t *_Mode)
+ * }
+ */
+ public static MethodHandle _wfopen$handle() { return _wfopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *_wfopen(const wchar_t *_FileName, const wchar_t *_Mode)
+ * }
+ */
+ public static MemorySegment _wfopen$address() { return _wfopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *_wfopen(const wchar_t *_FileName, const wchar_t *_Mode)
+ * }
+ */
+ public static MemorySegment _wfopen(MemorySegment _FileName, MemorySegment _Mode)
+ {
+ var mh$ = _wfopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wfopen", _FileName, _Mode);
+ }
+ return (MemorySegment)mh$.invokeExact(_FileName, _Mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wfopen_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wfopen_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * errno_t _wfopen_s(FILE **_Stream, const wchar_t *_FileName, const wchar_t *_Mode)
+ * }
+ */
+ public static FunctionDescriptor _wfopen_s$descriptor() { return _wfopen_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * errno_t _wfopen_s(FILE **_Stream, const wchar_t *_FileName, const wchar_t *_Mode)
+ * }
+ */
+ public static MethodHandle _wfopen_s$handle() { return _wfopen_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * errno_t _wfopen_s(FILE **_Stream, const wchar_t *_FileName, const wchar_t *_Mode)
+ * }
+ */
+ public static MemorySegment _wfopen_s$address() { return _wfopen_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * errno_t _wfopen_s(FILE **_Stream, const wchar_t *_FileName, const wchar_t *_Mode)
+ * }
+ */
+ public static int _wfopen_s(MemorySegment _Stream, MemorySegment _FileName, MemorySegment _Mode)
+ {
+ var mh$ = _wfopen_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wfopen_s", _Stream, _FileName, _Mode);
+ }
+ return (int)mh$.invokeExact(_Stream, _FileName, _Mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wfreopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wfreopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *_wfreopen(const wchar_t *_FileName, const wchar_t *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static FunctionDescriptor _wfreopen$descriptor() { return _wfreopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *_wfreopen(const wchar_t *_FileName, const wchar_t *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static MethodHandle _wfreopen$handle() { return _wfreopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *_wfreopen(const wchar_t *_FileName, const wchar_t *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static MemorySegment _wfreopen$address() { return _wfreopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *_wfreopen(const wchar_t *_FileName, const wchar_t *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static MemorySegment _wfreopen(MemorySegment _FileName, MemorySegment _Mode,
+ MemorySegment _OldStream)
+ {
+ var mh$ = _wfreopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wfreopen", _FileName, _Mode, _OldStream);
+ }
+ return (MemorySegment)mh$.invokeExact(_FileName, _Mode, _OldStream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wfreopen_s {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wfreopen_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * errno_t _wfreopen_s(FILE **_Stream, const wchar_t *_FileName, const wchar_t *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static FunctionDescriptor _wfreopen_s$descriptor() { return _wfreopen_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * errno_t _wfreopen_s(FILE **_Stream, const wchar_t *_FileName, const wchar_t *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static MethodHandle _wfreopen_s$handle() { return _wfreopen_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * errno_t _wfreopen_s(FILE **_Stream, const wchar_t *_FileName, const wchar_t *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static MemorySegment _wfreopen_s$address() { return _wfreopen_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * errno_t _wfreopen_s(FILE **_Stream, const wchar_t *_FileName, const wchar_t *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static int _wfreopen_s(MemorySegment _Stream, MemorySegment _FileName, MemorySegment _Mode,
+ MemorySegment _OldStream)
+ {
+ var mh$ = _wfreopen_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wfreopen_s", _Stream, _FileName, _Mode, _OldStream);
+ }
+ return (int)mh$.invokeExact(_Stream, _FileName, _Mode, _OldStream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wfsopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wfsopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *_wfsopen(const wchar_t *_FileName, const wchar_t *_Mode, int _ShFlag)
+ * }
+ */
+ public static FunctionDescriptor _wfsopen$descriptor() { return _wfsopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *_wfsopen(const wchar_t *_FileName, const wchar_t *_Mode, int _ShFlag)
+ * }
+ */
+ public static MethodHandle _wfsopen$handle() { return _wfsopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *_wfsopen(const wchar_t *_FileName, const wchar_t *_Mode, int _ShFlag)
+ * }
+ */
+ public static MemorySegment _wfsopen$address() { return _wfsopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *_wfsopen(const wchar_t *_FileName, const wchar_t *_Mode, int _ShFlag)
+ * }
+ */
+ public static MemorySegment _wfsopen(MemorySegment _FileName, MemorySegment _Mode, int _ShFlag)
+ {
+ var mh$ = _wfsopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wfsopen", _FileName, _Mode, _ShFlag);
+ }
+ return (MemorySegment)mh$.invokeExact(_FileName, _Mode, _ShFlag);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wperror {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wperror");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void _wperror(const wchar_t *_ErrorMessage)
+ * }
+ */
+ public static FunctionDescriptor _wperror$descriptor() { return _wperror.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void _wperror(const wchar_t *_ErrorMessage)
+ * }
+ */
+ public static MethodHandle _wperror$handle() { return _wperror.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void _wperror(const wchar_t *_ErrorMessage)
+ * }
+ */
+ public static MemorySegment _wperror$address() { return _wperror.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void _wperror(const wchar_t *_ErrorMessage)
+ * }
+ */
+ public static void _wperror(MemorySegment _ErrorMessage)
+ {
+ var mh$ = _wperror.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wperror", _ErrorMessage);
+ }
+ mh$.invokeExact(_ErrorMessage);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wpopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wpopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *_wpopen(const wchar_t *_Command, const wchar_t *_Mode)
+ * }
+ */
+ public static FunctionDescriptor _wpopen$descriptor() { return _wpopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *_wpopen(const wchar_t *_Command, const wchar_t *_Mode)
+ * }
+ */
+ public static MethodHandle _wpopen$handle() { return _wpopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *_wpopen(const wchar_t *_Command, const wchar_t *_Mode)
+ * }
+ */
+ public static MemorySegment _wpopen$address() { return _wpopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *_wpopen(const wchar_t *_Command, const wchar_t *_Mode)
+ * }
+ */
+ public static MemorySegment _wpopen(MemorySegment _Command, MemorySegment _Mode)
+ {
+ var mh$ = _wpopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wpopen", _Command, _Mode);
+ }
+ return (MemorySegment)mh$.invokeExact(_Command, _Mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wremove {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wremove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _wremove(const wchar_t *_FileName)
+ * }
+ */
+ public static FunctionDescriptor _wremove$descriptor() { return _wremove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _wremove(const wchar_t *_FileName)
+ * }
+ */
+ public static MethodHandle _wremove$handle() { return _wremove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _wremove(const wchar_t *_FileName)
+ * }
+ */
+ public static MemorySegment _wremove$address() { return _wremove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _wremove(const wchar_t *_FileName)
+ * }
+ */
+ public static int _wremove(MemorySegment _FileName)
+ {
+ var mh$ = _wremove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wremove", _FileName);
+ }
+ return (int)mh$.invokeExact(_FileName);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wtempnam {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wtempnam");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wchar_t *_wtempnam(const wchar_t *_Directory, const wchar_t *_FilePrefix)
+ * }
+ */
+ public static FunctionDescriptor _wtempnam$descriptor() { return _wtempnam.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wchar_t *_wtempnam(const wchar_t *_Directory, const wchar_t *_FilePrefix)
+ * }
+ */
+ public static MethodHandle _wtempnam$handle() { return _wtempnam.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wchar_t *_wtempnam(const wchar_t *_Directory, const wchar_t *_FilePrefix)
+ * }
+ */
+ public static MemorySegment _wtempnam$address() { return _wtempnam.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wchar_t *_wtempnam(const wchar_t *_Directory, const wchar_t *_FilePrefix)
+ * }
+ */
+ public static MemorySegment _wtempnam(MemorySegment _Directory, MemorySegment _FilePrefix)
+ {
+ var mh$ = _wtempnam.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wtempnam", _Directory, _FilePrefix);
+ }
+ return (MemorySegment)mh$.invokeExact(_Directory, _FilePrefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wtmpnam_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wtmpnam_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * errno_t _wtmpnam_s(wchar_t *_Buffer, size_t _BufferCount)
+ * }
+ */
+ public static FunctionDescriptor _wtmpnam_s$descriptor() { return _wtmpnam_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * errno_t _wtmpnam_s(wchar_t *_Buffer, size_t _BufferCount)
+ * }
+ */
+ public static MethodHandle _wtmpnam_s$handle() { return _wtmpnam_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * errno_t _wtmpnam_s(wchar_t *_Buffer, size_t _BufferCount)
+ * }
+ */
+ public static MemorySegment _wtmpnam_s$address() { return _wtmpnam_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * errno_t _wtmpnam_s(wchar_t *_Buffer, size_t _BufferCount)
+ * }
+ */
+ public static int _wtmpnam_s(MemorySegment _Buffer, long _BufferCount)
+ {
+ var mh$ = _wtmpnam_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wtmpnam_s", _Buffer, _BufferCount);
+ }
+ return (int)mh$.invokeExact(_Buffer, _BufferCount);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wtmpnam {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wtmpnam");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wchar_t *_wtmpnam(wchar_t *_Buffer)
+ * }
+ */
+ public static FunctionDescriptor _wtmpnam$descriptor() { return _wtmpnam.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wchar_t *_wtmpnam(wchar_t *_Buffer)
+ * }
+ */
+ public static MethodHandle _wtmpnam$handle() { return _wtmpnam.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wchar_t *_wtmpnam(wchar_t *_Buffer)
+ * }
+ */
+ public static MemorySegment _wtmpnam$address() { return _wtmpnam.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wchar_t *_wtmpnam(wchar_t *_Buffer)
+ * }
+ */
+ public static MemorySegment _wtmpnam(MemorySegment _Buffer)
+ {
+ var mh$ = _wtmpnam.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wtmpnam", _Buffer);
+ }
+ return (MemorySegment)mh$.invokeExact(_Buffer);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fgetwc_nolock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fgetwc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t _fgetwc_nolock(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fgetwc_nolock$descriptor() { return _fgetwc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t _fgetwc_nolock(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fgetwc_nolock$handle() { return _fgetwc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t _fgetwc_nolock(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fgetwc_nolock$address() { return _fgetwc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t _fgetwc_nolock(FILE *_Stream)
+ * }
+ */
+ public static short _fgetwc_nolock(MemorySegment _Stream)
+ {
+ var mh$ = _fgetwc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fgetwc_nolock", _Stream);
+ }
+ return (short)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fputwc_nolock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fputwc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t _fputwc_nolock(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fputwc_nolock$descriptor() { return _fputwc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t _fputwc_nolock(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fputwc_nolock$handle() { return _fputwc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t _fputwc_nolock(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fputwc_nolock$address() { return _fputwc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t _fputwc_nolock(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static short _fputwc_nolock(short _Character, MemorySegment _Stream)
+ {
+ var mh$ = _fputwc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fputwc_nolock", _Character, _Stream);
+ }
+ return (short)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _getwc_nolock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_getwc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t _getwc_nolock(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _getwc_nolock$descriptor() { return _getwc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t _getwc_nolock(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _getwc_nolock$handle() { return _getwc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t _getwc_nolock(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _getwc_nolock$address() { return _getwc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t _getwc_nolock(FILE *_Stream)
+ * }
+ */
+ public static short _getwc_nolock(MemorySegment _Stream)
+ {
+ var mh$ = _getwc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_getwc_nolock", _Stream);
+ }
+ return (short)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _putwc_nolock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_putwc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t _putwc_nolock(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _putwc_nolock$descriptor() { return _putwc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t _putwc_nolock(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _putwc_nolock$handle() { return _putwc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t _putwc_nolock(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _putwc_nolock$address() { return _putwc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t _putwc_nolock(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static short _putwc_nolock(short _Character, MemorySegment _Stream)
+ {
+ var mh$ = _putwc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_putwc_nolock", _Character, _Stream);
+ }
+ return (short)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _ungetwc_nolock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_ungetwc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t _ungetwc_nolock(wint_t _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _ungetwc_nolock$descriptor() { return _ungetwc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t _ungetwc_nolock(wint_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _ungetwc_nolock$handle() { return _ungetwc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t _ungetwc_nolock(wint_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _ungetwc_nolock$address() { return _ungetwc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t _ungetwc_nolock(wint_t _Character, FILE *_Stream)
+ * }
+ */
+ public static short _ungetwc_nolock(short _Character, MemorySegment _Stream)
+ {
+ var mh$ = _ungetwc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_ungetwc_nolock", _Character, _Stream);
+ }
+ return (short)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vfwprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vfwprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vfwprintf$descriptor()
+ {
+ return __stdio_common_vfwprintf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vfwprintf$handle() { return __stdio_common_vfwprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vfwprintf$address() { return __stdio_common_vfwprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vfwprintf(long _Options, MemorySegment _Stream, MemorySegment _Format,
+ MemorySegment _Locale, MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vfwprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vfwprintf", _Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vfwprintf_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vfwprintf_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf_s(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vfwprintf_s$descriptor()
+ {
+ return __stdio_common_vfwprintf_s.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf_s(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vfwprintf_s$handle()
+ {
+ return __stdio_common_vfwprintf_s.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf_s(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vfwprintf_s$address()
+ {
+ return __stdio_common_vfwprintf_s.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf_s(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vfwprintf_s(long _Options, MemorySegment _Stream, MemorySegment _Format,
+ MemorySegment _Locale, MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vfwprintf_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vfwprintf_s", _Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vfwprintf_p {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vfwprintf_p");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf_p(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vfwprintf_p$descriptor()
+ {
+ return __stdio_common_vfwprintf_p.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf_p(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vfwprintf_p$handle()
+ {
+ return __stdio_common_vfwprintf_p.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf_p(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vfwprintf_p$address()
+ {
+ return __stdio_common_vfwprintf_p.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf_p(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vfwprintf_p(long _Options, MemorySegment _Stream, MemorySegment _Format,
+ MemorySegment _Locale, MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vfwprintf_p.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vfwprintf_p", _Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vfwscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vfwscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwscanf(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vfwscanf$descriptor()
+ {
+ return __stdio_common_vfwscanf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwscanf(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vfwscanf$handle() { return __stdio_common_vfwscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwscanf(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vfwscanf$address() { return __stdio_common_vfwscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vfwscanf(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vfwscanf(long _Options, MemorySegment _Stream, MemorySegment _Format,
+ MemorySegment _Locale, MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vfwscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vfwscanf", _Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vswprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vswprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount, const
+ * wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vswprintf$descriptor()
+ {
+ return __stdio_common_vswprintf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount, const
+ * wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vswprintf$handle() { return __stdio_common_vswprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount, const
+ * wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vswprintf$address() { return __stdio_common_vswprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount, const
+ * wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vswprintf(long _Options, MemorySegment _Buffer, long _BufferCount,
+ MemorySegment _Format, MemorySegment _Locale,
+ MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vswprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vswprintf", _Options, _Buffer, _BufferCount, _Format, _Locale,
+ _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vswprintf_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vswprintf_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf_s(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vswprintf_s$descriptor()
+ {
+ return __stdio_common_vswprintf_s.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf_s(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vswprintf_s$handle()
+ {
+ return __stdio_common_vswprintf_s.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf_s(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vswprintf_s$address()
+ {
+ return __stdio_common_vswprintf_s.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf_s(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vswprintf_s(long _Options, MemorySegment _Buffer, long _BufferCount,
+ MemorySegment _Format, MemorySegment _Locale,
+ MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vswprintf_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vswprintf_s", _Options, _Buffer, _BufferCount, _Format, _Locale,
+ _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vsnwprintf_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vsnwprintf_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsnwprintf_s(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * size_t _MaxCount, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vsnwprintf_s$descriptor()
+ {
+ return __stdio_common_vsnwprintf_s.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsnwprintf_s(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * size_t _MaxCount, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vsnwprintf_s$handle()
+ {
+ return __stdio_common_vsnwprintf_s.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsnwprintf_s(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * size_t _MaxCount, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vsnwprintf_s$address()
+ {
+ return __stdio_common_vsnwprintf_s.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vsnwprintf_s(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * size_t _MaxCount, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vsnwprintf_s(long _Options, MemorySegment _Buffer, long _BufferCount,
+ long _MaxCount, MemorySegment _Format,
+ MemorySegment _Locale, MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vsnwprintf_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vsnwprintf_s", _Options, _Buffer, _BufferCount, _MaxCount,
+ _Format, _Locale, _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _MaxCount, _Format, _Locale,
+ _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vswprintf_p {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vswprintf_p");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf_p(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vswprintf_p$descriptor()
+ {
+ return __stdio_common_vswprintf_p.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf_p(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vswprintf_p$handle()
+ {
+ return __stdio_common_vswprintf_p.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf_p(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vswprintf_p$address()
+ {
+ return __stdio_common_vswprintf_p.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf_p(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vswprintf_p(long _Options, MemorySegment _Buffer, long _BufferCount,
+ MemorySegment _Format, MemorySegment _Locale,
+ MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vswprintf_p.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vswprintf_p", _Options, _Buffer, _BufferCount, _Format, _Locale,
+ _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vswscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vswscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswscanf(unsigned long long _Options, const wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vswscanf$descriptor()
+ {
+ return __stdio_common_vswscanf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswscanf(unsigned long long _Options, const wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vswscanf$handle() { return __stdio_common_vswscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswscanf(unsigned long long _Options, const wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vswscanf$address() { return __stdio_common_vswscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vswscanf(unsigned long long _Options, const wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vswscanf(long _Options, MemorySegment _Buffer, long _BufferCount,
+ MemorySegment _Format, MemorySegment _Locale,
+ MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vswscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vswscanf", _Options, _Buffer, _BufferCount, _Format, _Locale,
+ _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef long long fpos_t
+ * }
+ */
+ public static final OfLong fpos_t = hdf5_h.C_LONG_LONG;
+
+ private static class _get_stream_buffer_pointers {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_get_stream_buffer_pointers");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * errno_t _get_stream_buffer_pointers(FILE *_Stream, char ***_Base, char ***_Pointer, int **_Count)
+ * }
+ */
+ public static FunctionDescriptor _get_stream_buffer_pointers$descriptor()
+ {
+ return _get_stream_buffer_pointers.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * errno_t _get_stream_buffer_pointers(FILE *_Stream, char ***_Base, char ***_Pointer, int **_Count)
+ * }
+ */
+ public static MethodHandle _get_stream_buffer_pointers$handle()
+ {
+ return _get_stream_buffer_pointers.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * errno_t _get_stream_buffer_pointers(FILE *_Stream, char ***_Base, char ***_Pointer, int **_Count)
+ * }
+ */
+ public static MemorySegment _get_stream_buffer_pointers$address()
+ {
+ return _get_stream_buffer_pointers.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * errno_t _get_stream_buffer_pointers(FILE *_Stream, char ***_Base, char ***_Pointer, int **_Count)
+ * }
+ */
+ public static int _get_stream_buffer_pointers(MemorySegment _Stream, MemorySegment _Base,
+ MemorySegment _Pointer, MemorySegment _Count)
+ {
+ var mh$ = _get_stream_buffer_pointers.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_get_stream_buffer_pointers", _Stream, _Base, _Pointer, _Count);
+ }
+ return (int)mh$.invokeExact(_Stream, _Base, _Pointer, _Count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class clearerr_s {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("clearerr_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * errno_t clearerr_s(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor clearerr_s$descriptor() { return clearerr_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * errno_t clearerr_s(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle clearerr_s$handle() { return clearerr_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * errno_t clearerr_s(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment clearerr_s$address() { return clearerr_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * errno_t clearerr_s(FILE *_Stream)
+ * }
+ */
+ public static int clearerr_s(MemorySegment _Stream)
+ {
+ var mh$ = clearerr_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("clearerr_s", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fopen_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fopen_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * errno_t fopen_s(FILE **_Stream, const char *_FileName, const char *_Mode)
+ * }
+ */
+ public static FunctionDescriptor fopen_s$descriptor() { return fopen_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * errno_t fopen_s(FILE **_Stream, const char *_FileName, const char *_Mode)
+ * }
+ */
+ public static MethodHandle fopen_s$handle() { return fopen_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * errno_t fopen_s(FILE **_Stream, const char *_FileName, const char *_Mode)
+ * }
+ */
+ public static MemorySegment fopen_s$address() { return fopen_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * errno_t fopen_s(FILE **_Stream, const char *_FileName, const char *_Mode)
+ * }
+ */
+ public static int fopen_s(MemorySegment _Stream, MemorySegment _FileName, MemorySegment _Mode)
+ {
+ var mh$ = fopen_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fopen_s", _Stream, _FileName, _Mode);
+ }
+ return (int)mh$.invokeExact(_Stream, _FileName, _Mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fread_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fread_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t fread_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount, FILE
+ * *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fread_s$descriptor() { return fread_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t fread_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount, FILE
+ * *_Stream)
+ * }
+ */
+ public static MethodHandle fread_s$handle() { return fread_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t fread_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount, FILE
+ * *_Stream)
+ * }
+ */
+ public static MemorySegment fread_s$address() { return fread_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t fread_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount, FILE
+ * *_Stream)
+ * }
+ */
+ public static long fread_s(MemorySegment _Buffer, long _BufferSize, long _ElementSize, long _ElementCount,
+ MemorySegment _Stream)
+ {
+ var mh$ = fread_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fread_s", _Buffer, _BufferSize, _ElementSize, _ElementCount, _Stream);
+ }
+ return (long)mh$.invokeExact(_Buffer, _BufferSize, _ElementSize, _ElementCount, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class freopen_s {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("freopen_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * errno_t freopen_s(FILE **_Stream, const char *_FileName, const char *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static FunctionDescriptor freopen_s$descriptor() { return freopen_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * errno_t freopen_s(FILE **_Stream, const char *_FileName, const char *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static MethodHandle freopen_s$handle() { return freopen_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * errno_t freopen_s(FILE **_Stream, const char *_FileName, const char *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static MemorySegment freopen_s$address() { return freopen_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * errno_t freopen_s(FILE **_Stream, const char *_FileName, const char *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static int freopen_s(MemorySegment _Stream, MemorySegment _FileName, MemorySegment _Mode,
+ MemorySegment _OldStream)
+ {
+ var mh$ = freopen_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("freopen_s", _Stream, _FileName, _Mode, _OldStream);
+ }
+ return (int)mh$.invokeExact(_Stream, _FileName, _Mode, _OldStream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class gets_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("gets_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *gets_s(char *_Buffer, rsize_t _Size)
+ * }
+ */
+ public static FunctionDescriptor gets_s$descriptor() { return gets_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *gets_s(char *_Buffer, rsize_t _Size)
+ * }
+ */
+ public static MethodHandle gets_s$handle() { return gets_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *gets_s(char *_Buffer, rsize_t _Size)
+ * }
+ */
+ public static MemorySegment gets_s$address() { return gets_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *gets_s(char *_Buffer, rsize_t _Size)
+ * }
+ */
+ public static MemorySegment gets_s(MemorySegment _Buffer, long _Size)
+ {
+ var mh$ = gets_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("gets_s", _Buffer, _Size);
+ }
+ return (MemorySegment)mh$.invokeExact(_Buffer, _Size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tmpfile_s {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tmpfile_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * errno_t tmpfile_s(FILE **_Stream)
+ * }
+ */
+ public static FunctionDescriptor tmpfile_s$descriptor() { return tmpfile_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * errno_t tmpfile_s(FILE **_Stream)
+ * }
+ */
+ public static MethodHandle tmpfile_s$handle() { return tmpfile_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * errno_t tmpfile_s(FILE **_Stream)
+ * }
+ */
+ public static MemorySegment tmpfile_s$address() { return tmpfile_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * errno_t tmpfile_s(FILE **_Stream)
+ * }
+ */
+ public static int tmpfile_s(MemorySegment _Stream)
+ {
+ var mh$ = tmpfile_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tmpfile_s", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tmpnam_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tmpnam_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * errno_t tmpnam_s(char *_Buffer, rsize_t _Size)
+ * }
+ */
+ public static FunctionDescriptor tmpnam_s$descriptor() { return tmpnam_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * errno_t tmpnam_s(char *_Buffer, rsize_t _Size)
+ * }
+ */
+ public static MethodHandle tmpnam_s$handle() { return tmpnam_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * errno_t tmpnam_s(char *_Buffer, rsize_t _Size)
+ * }
+ */
+ public static MemorySegment tmpnam_s$address() { return tmpnam_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * errno_t tmpnam_s(char *_Buffer, rsize_t _Size)
+ * }
+ */
+ public static int tmpnam_s(MemorySegment _Buffer, long _Size)
+ {
+ var mh$ = tmpnam_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tmpnam_s", _Buffer, _Size);
+ }
+ return (int)mh$.invokeExact(_Buffer, _Size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class clearerr {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("clearerr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void clearerr(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor clearerr$descriptor() { return clearerr.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void clearerr(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle clearerr$handle() { return clearerr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void clearerr(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment clearerr$address() { return clearerr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void clearerr(FILE *_Stream)
+ * }
+ */
+ public static void clearerr(MemorySegment _Stream)
+ {
+ var mh$ = clearerr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("clearerr", _Stream);
+ }
+ mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fclose(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fclose$descriptor() { return fclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fclose(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fclose$handle() { return fclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fclose(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fclose$address() { return fclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fclose(FILE *_Stream)
+ * }
+ */
+ public static int fclose(MemorySegment _Stream)
+ {
+ var mh$ = fclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fclose", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fcloseall {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fcloseall");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fcloseall()
+ * }
+ */
+ public static FunctionDescriptor _fcloseall$descriptor() { return _fcloseall.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fcloseall()
+ * }
+ */
+ public static MethodHandle _fcloseall$handle() { return _fcloseall.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fcloseall()
+ * }
+ */
+ public static MemorySegment _fcloseall$address() { return _fcloseall.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fcloseall()
+ * }
+ */
+ public static int _fcloseall()
+ {
+ var mh$ = _fcloseall.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fcloseall");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fdopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fdopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *_fdopen(int _FileHandle, const char *_Mode)
+ * }
+ */
+ public static FunctionDescriptor _fdopen$descriptor() { return _fdopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *_fdopen(int _FileHandle, const char *_Mode)
+ * }
+ */
+ public static MethodHandle _fdopen$handle() { return _fdopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *_fdopen(int _FileHandle, const char *_Mode)
+ * }
+ */
+ public static MemorySegment _fdopen$address() { return _fdopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *_fdopen(int _FileHandle, const char *_Mode)
+ * }
+ */
+ public static MemorySegment _fdopen(int _FileHandle, MemorySegment _Mode)
+ {
+ var mh$ = _fdopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fdopen", _FileHandle, _Mode);
+ }
+ return (MemorySegment)mh$.invokeExact(_FileHandle, _Mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class feof {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("feof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int feof(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor feof$descriptor() { return feof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int feof(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle feof$handle() { return feof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int feof(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment feof$address() { return feof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int feof(FILE *_Stream)
+ * }
+ */
+ public static int feof(MemorySegment _Stream)
+ {
+ var mh$ = feof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("feof", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ferror {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ferror");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int ferror(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor ferror$descriptor() { return ferror.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int ferror(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle ferror$handle() { return ferror.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int ferror(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment ferror$address() { return ferror.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int ferror(FILE *_Stream)
+ * }
+ */
+ public static int ferror(MemorySegment _Stream)
+ {
+ var mh$ = ferror.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ferror", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fflush(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fflush$descriptor() { return fflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fflush(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fflush$handle() { return fflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fflush(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fflush$address() { return fflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fflush(FILE *_Stream)
+ * }
+ */
+ public static int fflush(MemorySegment _Stream)
+ {
+ var mh$ = fflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fflush", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fgetc(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fgetc$descriptor() { return fgetc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fgetc(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fgetc$handle() { return fgetc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fgetc(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fgetc$address() { return fgetc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fgetc(FILE *_Stream)
+ * }
+ */
+ public static int fgetc(MemorySegment _Stream)
+ {
+ var mh$ = fgetc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetc", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fgetchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fgetchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fgetchar()
+ * }
+ */
+ public static FunctionDescriptor _fgetchar$descriptor() { return _fgetchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fgetchar()
+ * }
+ */
+ public static MethodHandle _fgetchar$handle() { return _fgetchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fgetchar()
+ * }
+ */
+ public static MemorySegment _fgetchar$address() { return _fgetchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fgetchar()
+ * }
+ */
+ public static int _fgetchar()
+ {
+ var mh$ = _fgetchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fgetchar");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetpos {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetpos");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fgetpos(FILE *_Stream, fpos_t *_Position)
+ * }
+ */
+ public static FunctionDescriptor fgetpos$descriptor() { return fgetpos.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fgetpos(FILE *_Stream, fpos_t *_Position)
+ * }
+ */
+ public static MethodHandle fgetpos$handle() { return fgetpos.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fgetpos(FILE *_Stream, fpos_t *_Position)
+ * }
+ */
+ public static MemorySegment fgetpos$address() { return fgetpos.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fgetpos(FILE *_Stream, fpos_t *_Position)
+ * }
+ */
+ public static int fgetpos(MemorySegment _Stream, MemorySegment _Position)
+ {
+ var mh$ = fgetpos.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetpos", _Stream, _Position);
+ }
+ return (int)mh$.invokeExact(_Stream, _Position);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgets {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgets");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *fgets(char *_Buffer, int _MaxCount, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fgets$descriptor() { return fgets.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *fgets(char *_Buffer, int _MaxCount, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fgets$handle() { return fgets.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *fgets(char *_Buffer, int _MaxCount, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fgets$address() { return fgets.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *fgets(char *_Buffer, int _MaxCount, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fgets(MemorySegment _Buffer, int _MaxCount, MemorySegment _Stream)
+ {
+ var mh$ = fgets.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgets", _Buffer, _MaxCount, _Stream);
+ }
+ return (MemorySegment)mh$.invokeExact(_Buffer, _MaxCount, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fileno {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fileno");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fileno(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fileno$descriptor() { return _fileno.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fileno(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fileno$handle() { return _fileno.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fileno(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fileno$address() { return _fileno.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fileno(FILE *_Stream)
+ * }
+ */
+ public static int _fileno(MemorySegment _Stream)
+ {
+ var mh$ = _fileno.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fileno", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _flushall {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_flushall");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _flushall()
+ * }
+ */
+ public static FunctionDescriptor _flushall$descriptor() { return _flushall.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _flushall()
+ * }
+ */
+ public static MethodHandle _flushall$handle() { return _flushall.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _flushall()
+ * }
+ */
+ public static MemorySegment _flushall$address() { return _flushall.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _flushall()
+ * }
+ */
+ public static int _flushall()
+ {
+ var mh$ = _flushall.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_flushall");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *fopen(const char *_FileName, const char *_Mode)
+ * }
+ */
+ public static FunctionDescriptor fopen$descriptor() { return fopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *fopen(const char *_FileName, const char *_Mode)
+ * }
+ */
+ public static MethodHandle fopen$handle() { return fopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *fopen(const char *_FileName, const char *_Mode)
+ * }
+ */
+ public static MemorySegment fopen$address() { return fopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *fopen(const char *_FileName, const char *_Mode)
+ * }
+ */
+ public static MemorySegment fopen(MemorySegment _FileName, MemorySegment _Mode)
+ {
+ var mh$ = fopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fopen", _FileName, _Mode);
+ }
+ return (MemorySegment)mh$.invokeExact(_FileName, _Mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fputc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fputc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fputc$descriptor() { return fputc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fputc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fputc$handle() { return fputc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fputc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fputc$address() { return fputc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fputc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static int fputc(int _Character, MemorySegment _Stream)
+ {
+ var mh$ = fputc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputc", _Character, _Stream);
+ }
+ return (int)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fputchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fputchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fputchar(int _Character)
+ * }
+ */
+ public static FunctionDescriptor _fputchar$descriptor() { return _fputchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fputchar(int _Character)
+ * }
+ */
+ public static MethodHandle _fputchar$handle() { return _fputchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fputchar(int _Character)
+ * }
+ */
+ public static MemorySegment _fputchar$address() { return _fputchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fputchar(int _Character)
+ * }
+ */
+ public static int _fputchar(int _Character)
+ {
+ var mh$ = _fputchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fputchar", _Character);
+ }
+ return (int)mh$.invokeExact(_Character);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fputs {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fputs(const char *_Buffer, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fputs$descriptor() { return fputs.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fputs(const char *_Buffer, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fputs$handle() { return fputs.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fputs(const char *_Buffer, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fputs$address() { return fputs.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fputs(const char *_Buffer, FILE *_Stream)
+ * }
+ */
+ public static int fputs(MemorySegment _Buffer, MemorySegment _Stream)
+ {
+ var mh$ = fputs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputs", _Buffer, _Stream);
+ }
+ return (int)mh$.invokeExact(_Buffer, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fread {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * unsigned long long fread(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fread$descriptor() { return fread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * unsigned long long fread(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fread$handle() { return fread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * unsigned long long fread(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fread$address() { return fread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * unsigned long long fread(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static long fread(MemorySegment _Buffer, long _ElementSize, long _ElementCount,
+ MemorySegment _Stream)
+ {
+ var mh$ = fread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fread", _Buffer, _ElementSize, _ElementCount, _Stream);
+ }
+ return (long)mh$.invokeExact(_Buffer, _ElementSize, _ElementCount, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class freopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("freopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *freopen(const char *_FileName, const char *_Mode, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor freopen$descriptor() { return freopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *freopen(const char *_FileName, const char *_Mode, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle freopen$handle() { return freopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *freopen(const char *_FileName, const char *_Mode, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment freopen$address() { return freopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *freopen(const char *_FileName, const char *_Mode, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment freopen(MemorySegment _FileName, MemorySegment _Mode, MemorySegment _Stream)
+ {
+ var mh$ = freopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("freopen", _FileName, _Mode, _Stream);
+ }
+ return (MemorySegment)mh$.invokeExact(_FileName, _Mode, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fsopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fsopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *_fsopen(const char *_FileName, const char *_Mode, int _ShFlag)
+ * }
+ */
+ public static FunctionDescriptor _fsopen$descriptor() { return _fsopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *_fsopen(const char *_FileName, const char *_Mode, int _ShFlag)
+ * }
+ */
+ public static MethodHandle _fsopen$handle() { return _fsopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *_fsopen(const char *_FileName, const char *_Mode, int _ShFlag)
+ * }
+ */
+ public static MemorySegment _fsopen$address() { return _fsopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *_fsopen(const char *_FileName, const char *_Mode, int _ShFlag)
+ * }
+ */
+ public static MemorySegment _fsopen(MemorySegment _FileName, MemorySegment _Mode, int _ShFlag)
+ {
+ var mh$ = _fsopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fsopen", _FileName, _Mode, _ShFlag);
+ }
+ return (MemorySegment)mh$.invokeExact(_FileName, _Mode, _ShFlag);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fsetpos {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fsetpos");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fsetpos(FILE *_Stream, const fpos_t *_Position)
+ * }
+ */
+ public static FunctionDescriptor fsetpos$descriptor() { return fsetpos.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fsetpos(FILE *_Stream, const fpos_t *_Position)
+ * }
+ */
+ public static MethodHandle fsetpos$handle() { return fsetpos.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fsetpos(FILE *_Stream, const fpos_t *_Position)
+ * }
+ */
+ public static MemorySegment fsetpos$address() { return fsetpos.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fsetpos(FILE *_Stream, const fpos_t *_Position)
+ * }
+ */
+ public static int fsetpos(MemorySegment _Stream, MemorySegment _Position)
+ {
+ var mh$ = fsetpos.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fsetpos", _Stream, _Position);
+ }
+ return (int)mh$.invokeExact(_Stream, _Position);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fseek {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fseek");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fseek(FILE *_Stream, long _Offset, int _Origin)
+ * }
+ */
+ public static FunctionDescriptor fseek$descriptor() { return fseek.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fseek(FILE *_Stream, long _Offset, int _Origin)
+ * }
+ */
+ public static MethodHandle fseek$handle() { return fseek.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fseek(FILE *_Stream, long _Offset, int _Origin)
+ * }
+ */
+ public static MemorySegment fseek$address() { return fseek.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fseek(FILE *_Stream, long _Offset, int _Origin)
+ * }
+ */
+ public static int fseek(MemorySegment _Stream, int _Offset, int _Origin)
+ {
+ var mh$ = fseek.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fseek", _Stream, _Offset, _Origin);
+ }
+ return (int)mh$.invokeExact(_Stream, _Offset, _Origin);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fseeki64 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fseeki64");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fseeki64(FILE *_Stream, long long _Offset, int _Origin)
+ * }
+ */
+ public static FunctionDescriptor _fseeki64$descriptor() { return _fseeki64.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fseeki64(FILE *_Stream, long long _Offset, int _Origin)
+ * }
+ */
+ public static MethodHandle _fseeki64$handle() { return _fseeki64.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fseeki64(FILE *_Stream, long long _Offset, int _Origin)
+ * }
+ */
+ public static MemorySegment _fseeki64$address() { return _fseeki64.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fseeki64(FILE *_Stream, long long _Offset, int _Origin)
+ * }
+ */
+ public static int _fseeki64(MemorySegment _Stream, long _Offset, int _Origin)
+ {
+ var mh$ = _fseeki64.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fseeki64", _Stream, _Offset, _Origin);
+ }
+ return (int)mh$.invokeExact(_Stream, _Offset, _Origin);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ftell {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ftell");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * long ftell(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor ftell$descriptor() { return ftell.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * long ftell(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle ftell$handle() { return ftell.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * long ftell(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment ftell$address() { return ftell.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * long ftell(FILE *_Stream)
+ * }
+ */
+ public static int ftell(MemorySegment _Stream)
+ {
+ var mh$ = ftell.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ftell", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _ftelli64 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_ftelli64");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * long long _ftelli64(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _ftelli64$descriptor() { return _ftelli64.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * long long _ftelli64(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _ftelli64$handle() { return _ftelli64.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * long long _ftelli64(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _ftelli64$address() { return _ftelli64.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * long long _ftelli64(FILE *_Stream)
+ * }
+ */
+ public static long _ftelli64(MemorySegment _Stream)
+ {
+ var mh$ = _ftelli64.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_ftelli64", _Stream);
+ }
+ return (long)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fwrite {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fwrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * unsigned long long fwrite(const void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE
+ * *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fwrite$descriptor() { return fwrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * unsigned long long fwrite(const void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE
+ * *_Stream)
+ * }
+ */
+ public static MethodHandle fwrite$handle() { return fwrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * unsigned long long fwrite(const void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE
+ * *_Stream)
+ * }
+ */
+ public static MemorySegment fwrite$address() { return fwrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * unsigned long long fwrite(const void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE
+ * *_Stream)
+ * }
+ */
+ public static long fwrite(MemorySegment _Buffer, long _ElementSize, long _ElementCount,
+ MemorySegment _Stream)
+ {
+ var mh$ = fwrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fwrite", _Buffer, _ElementSize, _ElementCount, _Stream);
+ }
+ return (long)mh$.invokeExact(_Buffer, _ElementSize, _ElementCount, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int getc(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor getc$descriptor() { return getc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int getc(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle getc$handle() { return getc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int getc(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment getc$address() { return getc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int getc(FILE *_Stream)
+ * }
+ */
+ public static int getc(MemorySegment _Stream)
+ {
+ var mh$ = getc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getc", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int getchar()
+ * }
+ */
+ public static FunctionDescriptor getchar$descriptor() { return getchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int getchar()
+ * }
+ */
+ public static MethodHandle getchar$handle() { return getchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int getchar()
+ * }
+ */
+ public static MemorySegment getchar$address() { return getchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int getchar()
+ * }
+ */
+ public static int getchar()
+ {
+ var mh$ = getchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getchar");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _getmaxstdio {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_getmaxstdio");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _getmaxstdio()
+ * }
+ */
+ public static FunctionDescriptor _getmaxstdio$descriptor() { return _getmaxstdio.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _getmaxstdio()
+ * }
+ */
+ public static MethodHandle _getmaxstdio$handle() { return _getmaxstdio.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _getmaxstdio()
+ * }
+ */
+ public static MemorySegment _getmaxstdio$address() { return _getmaxstdio.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _getmaxstdio()
+ * }
+ */
+ public static int _getmaxstdio()
+ {
+ var mh$ = _getmaxstdio.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_getmaxstdio");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _getw {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_getw");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _getw(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _getw$descriptor() { return _getw.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _getw(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _getw$handle() { return _getw.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _getw(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _getw$address() { return _getw.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _getw(FILE *_Stream)
+ * }
+ */
+ public static int _getw(MemorySegment _Stream)
+ {
+ var mh$ = _getw.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_getw", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class perror {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("perror");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void perror(const char *_ErrorMessage)
+ * }
+ */
+ public static FunctionDescriptor perror$descriptor() { return perror.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void perror(const char *_ErrorMessage)
+ * }
+ */
+ public static MethodHandle perror$handle() { return perror.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void perror(const char *_ErrorMessage)
+ * }
+ */
+ public static MemorySegment perror$address() { return perror.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void perror(const char *_ErrorMessage)
+ * }
+ */
+ public static void perror(MemorySegment _ErrorMessage)
+ {
+ var mh$ = perror.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("perror", _ErrorMessage);
+ }
+ mh$.invokeExact(_ErrorMessage);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _pclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_pclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _pclose(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _pclose$descriptor() { return _pclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _pclose(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _pclose$handle() { return _pclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _pclose(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _pclose$address() { return _pclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _pclose(FILE *_Stream)
+ * }
+ */
+ public static int _pclose(MemorySegment _Stream)
+ {
+ var mh$ = _pclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_pclose", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _popen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_popen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *_popen(const char *_Command, const char *_Mode)
+ * }
+ */
+ public static FunctionDescriptor _popen$descriptor() { return _popen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *_popen(const char *_Command, const char *_Mode)
+ * }
+ */
+ public static MethodHandle _popen$handle() { return _popen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *_popen(const char *_Command, const char *_Mode)
+ * }
+ */
+ public static MemorySegment _popen$address() { return _popen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *_popen(const char *_Command, const char *_Mode)
+ * }
+ */
+ public static MemorySegment _popen(MemorySegment _Command, MemorySegment _Mode)
+ {
+ var mh$ = _popen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_popen", _Command, _Mode);
+ }
+ return (MemorySegment)mh$.invokeExact(_Command, _Mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int putc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor putc$descriptor() { return putc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int putc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle putc$handle() { return putc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int putc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment putc$address() { return putc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int putc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static int putc(int _Character, MemorySegment _Stream)
+ {
+ var mh$ = putc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putc", _Character, _Stream);
+ }
+ return (int)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int putchar(int _Character)
+ * }
+ */
+ public static FunctionDescriptor putchar$descriptor() { return putchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int putchar(int _Character)
+ * }
+ */
+ public static MethodHandle putchar$handle() { return putchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int putchar(int _Character)
+ * }
+ */
+ public static MemorySegment putchar$address() { return putchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int putchar(int _Character)
+ * }
+ */
+ public static int putchar(int _Character)
+ {
+ var mh$ = putchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putchar", _Character);
+ }
+ return (int)mh$.invokeExact(_Character);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class puts {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("puts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int puts(const char *_Buffer)
+ * }
+ */
+ public static FunctionDescriptor puts$descriptor() { return puts.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int puts(const char *_Buffer)
+ * }
+ */
+ public static MethodHandle puts$handle() { return puts.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int puts(const char *_Buffer)
+ * }
+ */
+ public static MemorySegment puts$address() { return puts.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int puts(const char *_Buffer)
+ * }
+ */
+ public static int puts(MemorySegment _Buffer)
+ {
+ var mh$ = puts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("puts", _Buffer);
+ }
+ return (int)mh$.invokeExact(_Buffer);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _putw {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_putw");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _putw(int _Word, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _putw$descriptor() { return _putw.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _putw(int _Word, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _putw$handle() { return _putw.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _putw(int _Word, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _putw$address() { return _putw.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _putw(int _Word, FILE *_Stream)
+ * }
+ */
+ public static int _putw(int _Word, MemorySegment _Stream)
+ {
+ var mh$ = _putw.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_putw", _Word, _Stream);
+ }
+ return (int)mh$.invokeExact(_Word, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class remove {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("remove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int remove(const char *_FileName)
+ * }
+ */
+ public static FunctionDescriptor remove$descriptor() { return remove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int remove(const char *_FileName)
+ * }
+ */
+ public static MethodHandle remove$handle() { return remove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int remove(const char *_FileName)
+ * }
+ */
+ public static MemorySegment remove$address() { return remove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int remove(const char *_FileName)
+ * }
+ */
+ public static int remove(MemorySegment _FileName)
+ {
+ var mh$ = remove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("remove", _FileName);
+ }
+ return (int)mh$.invokeExact(_FileName);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class rename {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("rename");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int rename(const char *_OldFileName, const char *_NewFileName)
+ * }
+ */
+ public static FunctionDescriptor rename$descriptor() { return rename.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int rename(const char *_OldFileName, const char *_NewFileName)
+ * }
+ */
+ public static MethodHandle rename$handle() { return rename.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int rename(const char *_OldFileName, const char *_NewFileName)
+ * }
+ */
+ public static MemorySegment rename$address() { return rename.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int rename(const char *_OldFileName, const char *_NewFileName)
+ * }
+ */
+ public static int rename(MemorySegment _OldFileName, MemorySegment _NewFileName)
+ {
+ var mh$ = rename.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("rename", _OldFileName, _NewFileName);
+ }
+ return (int)mh$.invokeExact(_OldFileName, _NewFileName);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _unlink {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_unlink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _unlink(const char *_FileName)
+ * }
+ */
+ public static FunctionDescriptor _unlink$descriptor() { return _unlink.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _unlink(const char *_FileName)
+ * }
+ */
+ public static MethodHandle _unlink$handle() { return _unlink.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _unlink(const char *_FileName)
+ * }
+ */
+ public static MemorySegment _unlink$address() { return _unlink.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _unlink(const char *_FileName)
+ * }
+ */
+ public static int _unlink(MemorySegment _FileName)
+ {
+ var mh$ = _unlink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_unlink", _FileName);
+ }
+ return (int)mh$.invokeExact(_FileName);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class unlink {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("unlink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int unlink(const char *_FileName)
+ * }
+ */
+ public static FunctionDescriptor unlink$descriptor() { return unlink.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int unlink(const char *_FileName)
+ * }
+ */
+ public static MethodHandle unlink$handle() { return unlink.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int unlink(const char *_FileName)
+ * }
+ */
+ public static MemorySegment unlink$address() { return unlink.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int unlink(const char *_FileName)
+ * }
+ */
+ public static int unlink(MemorySegment _FileName)
+ {
+ var mh$ = unlink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("unlink", _FileName);
+ }
+ return (int)mh$.invokeExact(_FileName);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class rewind {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("rewind");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void rewind(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor rewind$descriptor() { return rewind.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void rewind(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle rewind$handle() { return rewind.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void rewind(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment rewind$address() { return rewind.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void rewind(FILE *_Stream)
+ * }
+ */
+ public static void rewind(MemorySegment _Stream)
+ {
+ var mh$ = rewind.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("rewind", _Stream);
+ }
+ mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _rmtmp {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_rmtmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _rmtmp()
+ * }
+ */
+ public static FunctionDescriptor _rmtmp$descriptor() { return _rmtmp.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _rmtmp()
+ * }
+ */
+ public static MethodHandle _rmtmp$handle() { return _rmtmp.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _rmtmp()
+ * }
+ */
+ public static MemorySegment _rmtmp$address() { return _rmtmp.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _rmtmp()
+ * }
+ */
+ public static int _rmtmp()
+ {
+ var mh$ = _rmtmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_rmtmp");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class setbuf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.ofVoid(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setbuf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void setbuf(FILE *_Stream, char *_Buffer)
+ * }
+ */
+ public static FunctionDescriptor setbuf$descriptor() { return setbuf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void setbuf(FILE *_Stream, char *_Buffer)
+ * }
+ */
+ public static MethodHandle setbuf$handle() { return setbuf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void setbuf(FILE *_Stream, char *_Buffer)
+ * }
+ */
+ public static MemorySegment setbuf$address() { return setbuf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void setbuf(FILE *_Stream, char *_Buffer)
+ * }
+ */
+ public static void setbuf(MemorySegment _Stream, MemorySegment _Buffer)
+ {
+ var mh$ = setbuf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setbuf", _Stream, _Buffer);
+ }
+ mh$.invokeExact(_Stream, _Buffer);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _setmaxstdio {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_setmaxstdio");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _setmaxstdio(int _Maximum)
+ * }
+ */
+ public static FunctionDescriptor _setmaxstdio$descriptor() { return _setmaxstdio.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _setmaxstdio(int _Maximum)
+ * }
+ */
+ public static MethodHandle _setmaxstdio$handle() { return _setmaxstdio.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _setmaxstdio(int _Maximum)
+ * }
+ */
+ public static MemorySegment _setmaxstdio$address() { return _setmaxstdio.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _setmaxstdio(int _Maximum)
+ * }
+ */
+ public static int _setmaxstdio(int _Maximum)
+ {
+ var mh$ = _setmaxstdio.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_setmaxstdio", _Maximum);
+ }
+ return (int)mh$.invokeExact(_Maximum);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class setvbuf {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setvbuf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int setvbuf(FILE *_Stream, char *_Buffer, int _Mode, size_t _Size)
+ * }
+ */
+ public static FunctionDescriptor setvbuf$descriptor() { return setvbuf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int setvbuf(FILE *_Stream, char *_Buffer, int _Mode, size_t _Size)
+ * }
+ */
+ public static MethodHandle setvbuf$handle() { return setvbuf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int setvbuf(FILE *_Stream, char *_Buffer, int _Mode, size_t _Size)
+ * }
+ */
+ public static MemorySegment setvbuf$address() { return setvbuf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int setvbuf(FILE *_Stream, char *_Buffer, int _Mode, size_t _Size)
+ * }
+ */
+ public static int setvbuf(MemorySegment _Stream, MemorySegment _Buffer, int _Mode, long _Size)
+ {
+ var mh$ = setvbuf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setvbuf", _Stream, _Buffer, _Mode, _Size);
+ }
+ return (int)mh$.invokeExact(_Stream, _Buffer, _Mode, _Size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _tempnam {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_tempnam");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *_tempnam(const char *_DirectoryName, const char *_FilePrefix)
+ * }
+ */
+ public static FunctionDescriptor _tempnam$descriptor() { return _tempnam.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *_tempnam(const char *_DirectoryName, const char *_FilePrefix)
+ * }
+ */
+ public static MethodHandle _tempnam$handle() { return _tempnam.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *_tempnam(const char *_DirectoryName, const char *_FilePrefix)
+ * }
+ */
+ public static MemorySegment _tempnam$address() { return _tempnam.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *_tempnam(const char *_DirectoryName, const char *_FilePrefix)
+ * }
+ */
+ public static MemorySegment _tempnam(MemorySegment _DirectoryName, MemorySegment _FilePrefix)
+ {
+ var mh$ = _tempnam.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_tempnam", _DirectoryName, _FilePrefix);
+ }
+ return (MemorySegment)mh$.invokeExact(_DirectoryName, _FilePrefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tmpfile {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tmpfile");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *tmpfile()
+ * }
+ */
+ public static FunctionDescriptor tmpfile$descriptor() { return tmpfile.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *tmpfile()
+ * }
+ */
+ public static MethodHandle tmpfile$handle() { return tmpfile.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *tmpfile()
+ * }
+ */
+ public static MemorySegment tmpfile$address() { return tmpfile.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *tmpfile()
+ * }
+ */
+ public static MemorySegment tmpfile()
+ {
+ var mh$ = tmpfile.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tmpfile");
+ }
+ return (MemorySegment)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tmpnam {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tmpnam");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *tmpnam(char *_Buffer)
+ * }
+ */
+ public static FunctionDescriptor tmpnam$descriptor() { return tmpnam.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *tmpnam(char *_Buffer)
+ * }
+ */
+ public static MethodHandle tmpnam$handle() { return tmpnam.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *tmpnam(char *_Buffer)
+ * }
+ */
+ public static MemorySegment tmpnam$address() { return tmpnam.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *tmpnam(char *_Buffer)
+ * }
+ */
+ public static MemorySegment tmpnam(MemorySegment _Buffer)
+ {
+ var mh$ = tmpnam.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tmpnam", _Buffer);
+ }
+ return (MemorySegment)mh$.invokeExact(_Buffer);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ungetc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ungetc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int ungetc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor ungetc$descriptor() { return ungetc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int ungetc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle ungetc$handle() { return ungetc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int ungetc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment ungetc$address() { return ungetc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int ungetc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static int ungetc(int _Character, MemorySegment _Stream)
+ {
+ var mh$ = ungetc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ungetc", _Character, _Stream);
+ }
+ return (int)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _lock_file {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_lock_file");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void _lock_file(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _lock_file$descriptor() { return _lock_file.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void _lock_file(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _lock_file$handle() { return _lock_file.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void _lock_file(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _lock_file$address() { return _lock_file.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void _lock_file(FILE *_Stream)
+ * }
+ */
+ public static void _lock_file(MemorySegment _Stream)
+ {
+ var mh$ = _lock_file.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_lock_file", _Stream);
+ }
+ mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _unlock_file {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_unlock_file");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void _unlock_file(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _unlock_file$descriptor() { return _unlock_file.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void _unlock_file(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _unlock_file$handle() { return _unlock_file.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void _unlock_file(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _unlock_file$address() { return _unlock_file.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void _unlock_file(FILE *_Stream)
+ * }
+ */
+ public static void _unlock_file(MemorySegment _Stream)
+ {
+ var mh$ = _unlock_file.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_unlock_file", _Stream);
+ }
+ mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fclose_nolock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fclose_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fclose_nolock(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fclose_nolock$descriptor() { return _fclose_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fclose_nolock(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fclose_nolock$handle() { return _fclose_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fclose_nolock(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fclose_nolock$address() { return _fclose_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fclose_nolock(FILE *_Stream)
+ * }
+ */
+ public static int _fclose_nolock(MemorySegment _Stream)
+ {
+ var mh$ = _fclose_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fclose_nolock", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fflush_nolock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fflush_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fflush_nolock(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fflush_nolock$descriptor() { return _fflush_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fflush_nolock(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fflush_nolock$handle() { return _fflush_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fflush_nolock(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fflush_nolock$address() { return _fflush_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fflush_nolock(FILE *_Stream)
+ * }
+ */
+ public static int _fflush_nolock(MemorySegment _Stream)
+ {
+ var mh$ = _fflush_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fflush_nolock", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fgetc_nolock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fgetc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fgetc_nolock(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fgetc_nolock$descriptor() { return _fgetc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fgetc_nolock(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fgetc_nolock$handle() { return _fgetc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fgetc_nolock(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fgetc_nolock$address() { return _fgetc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fgetc_nolock(FILE *_Stream)
+ * }
+ */
+ public static int _fgetc_nolock(MemorySegment _Stream)
+ {
+ var mh$ = _fgetc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fgetc_nolock", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fputc_nolock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fputc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fputc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fputc_nolock$descriptor() { return _fputc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fputc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fputc_nolock$handle() { return _fputc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fputc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fputc_nolock$address() { return _fputc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fputc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static int _fputc_nolock(int _Character, MemorySegment _Stream)
+ {
+ var mh$ = _fputc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fputc_nolock", _Character, _Stream);
+ }
+ return (int)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fread_nolock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fread_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t _fread_nolock(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fread_nolock$descriptor() { return _fread_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t _fread_nolock(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fread_nolock$handle() { return _fread_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t _fread_nolock(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fread_nolock$address() { return _fread_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t _fread_nolock(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static long _fread_nolock(MemorySegment _Buffer, long _ElementSize, long _ElementCount,
+ MemorySegment _Stream)
+ {
+ var mh$ = _fread_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fread_nolock", _Buffer, _ElementSize, _ElementCount, _Stream);
+ }
+ return (long)mh$.invokeExact(_Buffer, _ElementSize, _ElementCount, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fread_nolock_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fread_nolock_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t _fread_nolock_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount,
+ * FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fread_nolock_s$descriptor() { return _fread_nolock_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t _fread_nolock_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount,
+ * FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fread_nolock_s$handle() { return _fread_nolock_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t _fread_nolock_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount,
+ * FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fread_nolock_s$address() { return _fread_nolock_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t _fread_nolock_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount,
+ * FILE *_Stream)
+ * }
+ */
+ public static long _fread_nolock_s(MemorySegment _Buffer, long _BufferSize, long _ElementSize,
+ long _ElementCount, MemorySegment _Stream)
+ {
+ var mh$ = _fread_nolock_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fread_nolock_s", _Buffer, _BufferSize, _ElementSize, _ElementCount, _Stream);
+ }
+ return (long)mh$.invokeExact(_Buffer, _BufferSize, _ElementSize, _ElementCount, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fseek_nolock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fseek_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fseek_nolock(FILE *_Stream, long _Offset, int _Origin)
+ * }
+ */
+ public static FunctionDescriptor _fseek_nolock$descriptor() { return _fseek_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fseek_nolock(FILE *_Stream, long _Offset, int _Origin)
+ * }
+ */
+ public static MethodHandle _fseek_nolock$handle() { return _fseek_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fseek_nolock(FILE *_Stream, long _Offset, int _Origin)
+ * }
+ */
+ public static MemorySegment _fseek_nolock$address() { return _fseek_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fseek_nolock(FILE *_Stream, long _Offset, int _Origin)
+ * }
+ */
+ public static int _fseek_nolock(MemorySegment _Stream, int _Offset, int _Origin)
+ {
+ var mh$ = _fseek_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fseek_nolock", _Stream, _Offset, _Origin);
+ }
+ return (int)mh$.invokeExact(_Stream, _Offset, _Origin);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fseeki64_nolock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fseeki64_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fseeki64_nolock(FILE *_Stream, long long _Offset, int _Origin)
+ * }
+ */
+ public static FunctionDescriptor _fseeki64_nolock$descriptor() { return _fseeki64_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fseeki64_nolock(FILE *_Stream, long long _Offset, int _Origin)
+ * }
+ */
+ public static MethodHandle _fseeki64_nolock$handle() { return _fseeki64_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fseeki64_nolock(FILE *_Stream, long long _Offset, int _Origin)
+ * }
+ */
+ public static MemorySegment _fseeki64_nolock$address() { return _fseeki64_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fseeki64_nolock(FILE *_Stream, long long _Offset, int _Origin)
+ * }
+ */
+ public static int _fseeki64_nolock(MemorySegment _Stream, long _Offset, int _Origin)
+ {
+ var mh$ = _fseeki64_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fseeki64_nolock", _Stream, _Offset, _Origin);
+ }
+ return (int)mh$.invokeExact(_Stream, _Offset, _Origin);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _ftell_nolock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_ftell_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * long _ftell_nolock(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _ftell_nolock$descriptor() { return _ftell_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * long _ftell_nolock(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _ftell_nolock$handle() { return _ftell_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * long _ftell_nolock(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _ftell_nolock$address() { return _ftell_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * long _ftell_nolock(FILE *_Stream)
+ * }
+ */
+ public static int _ftell_nolock(MemorySegment _Stream)
+ {
+ var mh$ = _ftell_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_ftell_nolock", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _ftelli64_nolock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_ftelli64_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * long long _ftelli64_nolock(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _ftelli64_nolock$descriptor() { return _ftelli64_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * long long _ftelli64_nolock(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _ftelli64_nolock$handle() { return _ftelli64_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * long long _ftelli64_nolock(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _ftelli64_nolock$address() { return _ftelli64_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * long long _ftelli64_nolock(FILE *_Stream)
+ * }
+ */
+ public static long _ftelli64_nolock(MemorySegment _Stream)
+ {
+ var mh$ = _ftelli64_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_ftelli64_nolock", _Stream);
+ }
+ return (long)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fwrite_nolock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fwrite_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t _fwrite_nolock(const void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fwrite_nolock$descriptor() { return _fwrite_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t _fwrite_nolock(const void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fwrite_nolock$handle() { return _fwrite_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t _fwrite_nolock(const void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fwrite_nolock$address() { return _fwrite_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t _fwrite_nolock(const void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static long _fwrite_nolock(MemorySegment _Buffer, long _ElementSize, long _ElementCount,
+ MemorySegment _Stream)
+ {
+ var mh$ = _fwrite_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fwrite_nolock", _Buffer, _ElementSize, _ElementCount, _Stream);
+ }
+ return (long)mh$.invokeExact(_Buffer, _ElementSize, _ElementCount, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _getc_nolock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_getc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _getc_nolock(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _getc_nolock$descriptor() { return _getc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _getc_nolock(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _getc_nolock$handle() { return _getc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _getc_nolock(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _getc_nolock$address() { return _getc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _getc_nolock(FILE *_Stream)
+ * }
+ */
+ public static int _getc_nolock(MemorySegment _Stream)
+ {
+ var mh$ = _getc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_getc_nolock", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _putc_nolock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_putc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _putc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _putc_nolock$descriptor() { return _putc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _putc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _putc_nolock$handle() { return _putc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _putc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _putc_nolock$address() { return _putc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _putc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static int _putc_nolock(int _Character, MemorySegment _Stream)
+ {
+ var mh$ = _putc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_putc_nolock", _Character, _Stream);
+ }
+ return (int)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _ungetc_nolock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_ungetc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _ungetc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _ungetc_nolock$descriptor() { return _ungetc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _ungetc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _ungetc_nolock$handle() { return _ungetc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _ungetc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _ungetc_nolock$address() { return _ungetc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _ungetc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static int _ungetc_nolock(int _Character, MemorySegment _Stream)
+ {
+ var mh$ = _ungetc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_ungetc_nolock", _Character, _Stream);
+ }
+ return (int)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __p__commode {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__p__commode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int *__p__commode()
+ * }
+ */
+ public static FunctionDescriptor __p__commode$descriptor() { return __p__commode.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int *__p__commode()
+ * }
+ */
+ public static MethodHandle __p__commode$handle() { return __p__commode.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int *__p__commode()
+ * }
+ */
+ public static MemorySegment __p__commode$address() { return __p__commode.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int *__p__commode()
+ * }
+ */
+ public static MemorySegment __p__commode()
+ {
+ var mh$ = __p__commode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__p__commode");
+ }
+ return (MemorySegment)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vfprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vfprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf(unsigned long long _Options, FILE *_Stream, const char *_Format, _locale_t
+ * _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vfprintf$descriptor()
+ {
+ return __stdio_common_vfprintf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf(unsigned long long _Options, FILE *_Stream, const char *_Format, _locale_t
+ * _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vfprintf$handle() { return __stdio_common_vfprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf(unsigned long long _Options, FILE *_Stream, const char *_Format, _locale_t
+ * _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vfprintf$address() { return __stdio_common_vfprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf(unsigned long long _Options, FILE *_Stream, const char *_Format, _locale_t
+ * _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vfprintf(long _Options, MemorySegment _Stream, MemorySegment _Format,
+ MemorySegment _Locale, MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vfprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vfprintf", _Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vfprintf_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vfprintf_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf_s(unsigned long long _Options, FILE *_Stream, const char *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vfprintf_s$descriptor()
+ {
+ return __stdio_common_vfprintf_s.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf_s(unsigned long long _Options, FILE *_Stream, const char *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vfprintf_s$handle() { return __stdio_common_vfprintf_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf_s(unsigned long long _Options, FILE *_Stream, const char *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vfprintf_s$address() { return __stdio_common_vfprintf_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf_s(unsigned long long _Options, FILE *_Stream, const char *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vfprintf_s(long _Options, MemorySegment _Stream, MemorySegment _Format,
+ MemorySegment _Locale, MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vfprintf_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vfprintf_s", _Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vfprintf_p {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vfprintf_p");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf_p(unsigned long long _Options, FILE *_Stream, const char *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vfprintf_p$descriptor()
+ {
+ return __stdio_common_vfprintf_p.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf_p(unsigned long long _Options, FILE *_Stream, const char *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vfprintf_p$handle() { return __stdio_common_vfprintf_p.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf_p(unsigned long long _Options, FILE *_Stream, const char *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vfprintf_p$address() { return __stdio_common_vfprintf_p.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf_p(unsigned long long _Options, FILE *_Stream, const char *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vfprintf_p(long _Options, MemorySegment _Stream, MemorySegment _Format,
+ MemorySegment _Locale, MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vfprintf_p.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vfprintf_p", _Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _set_printf_count_output {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_set_printf_count_output");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _set_printf_count_output(int _Value)
+ * }
+ */
+ public static FunctionDescriptor _set_printf_count_output$descriptor()
+ {
+ return _set_printf_count_output.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _set_printf_count_output(int _Value)
+ * }
+ */
+ public static MethodHandle _set_printf_count_output$handle() { return _set_printf_count_output.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _set_printf_count_output(int _Value)
+ * }
+ */
+ public static MemorySegment _set_printf_count_output$address() { return _set_printf_count_output.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _set_printf_count_output(int _Value)
+ * }
+ */
+ public static int _set_printf_count_output(int _Value)
+ {
+ var mh$ = _set_printf_count_output.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_set_printf_count_output", _Value);
+ }
+ return (int)mh$.invokeExact(_Value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _get_printf_count_output {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_get_printf_count_output");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _get_printf_count_output()
+ * }
+ */
+ public static FunctionDescriptor _get_printf_count_output$descriptor()
+ {
+ return _get_printf_count_output.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _get_printf_count_output()
+ * }
+ */
+ public static MethodHandle _get_printf_count_output$handle() { return _get_printf_count_output.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _get_printf_count_output()
+ * }
+ */
+ public static MemorySegment _get_printf_count_output$address() { return _get_printf_count_output.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _get_printf_count_output()
+ * }
+ */
+ public static int _get_printf_count_output()
+ {
+ var mh$ = _get_printf_count_output.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_get_printf_count_output");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vfscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vfscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfscanf(unsigned long long _Options, FILE *_Stream, const char *_Format, _locale_t
+ * _Locale, va_list _Arglist)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vfscanf$descriptor()
+ {
+ return __stdio_common_vfscanf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfscanf(unsigned long long _Options, FILE *_Stream, const char *_Format, _locale_t
+ * _Locale, va_list _Arglist)
+ * }
+ */
+ public static MethodHandle __stdio_common_vfscanf$handle() { return __stdio_common_vfscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfscanf(unsigned long long _Options, FILE *_Stream, const char *_Format, _locale_t
+ * _Locale, va_list _Arglist)
+ * }
+ */
+ public static MemorySegment __stdio_common_vfscanf$address() { return __stdio_common_vfscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vfscanf(unsigned long long _Options, FILE *_Stream, const char *_Format, _locale_t
+ * _Locale, va_list _Arglist)
+ * }
+ */
+ public static int __stdio_common_vfscanf(long _Options, MemorySegment _Stream, MemorySegment _Format,
+ MemorySegment _Locale, MemorySegment _Arglist)
+ {
+ var mh$ = __stdio_common_vfscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vfscanf", _Options, _Stream, _Format, _Locale, _Arglist);
+ }
+ return (int)mh$.invokeExact(_Options, _Stream, _Format, _Locale, _Arglist);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vsprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vsprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const char
+ * *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vsprintf$descriptor()
+ {
+ return __stdio_common_vsprintf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const char
+ * *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vsprintf$handle() { return __stdio_common_vsprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const char
+ * *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vsprintf$address() { return __stdio_common_vsprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const char
+ * *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vsprintf(long _Options, MemorySegment _Buffer, long _BufferCount,
+ MemorySegment _Format, MemorySegment _Locale,
+ MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vsprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vsprintf", _Options, _Buffer, _BufferCount, _Format, _Locale,
+ _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vsprintf_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vsprintf_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf_s(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vsprintf_s$descriptor()
+ {
+ return __stdio_common_vsprintf_s.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf_s(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vsprintf_s$handle() { return __stdio_common_vsprintf_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf_s(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vsprintf_s$address() { return __stdio_common_vsprintf_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf_s(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vsprintf_s(long _Options, MemorySegment _Buffer, long _BufferCount,
+ MemorySegment _Format, MemorySegment _Locale,
+ MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vsprintf_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vsprintf_s", _Options, _Buffer, _BufferCount, _Format, _Locale,
+ _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vsnprintf_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vsnprintf_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsnprintf_s(unsigned long long _Options, char *_Buffer, size_t _BufferCount, size_t
+ * _MaxCount, const char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vsnprintf_s$descriptor()
+ {
+ return __stdio_common_vsnprintf_s.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsnprintf_s(unsigned long long _Options, char *_Buffer, size_t _BufferCount, size_t
+ * _MaxCount, const char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vsnprintf_s$handle()
+ {
+ return __stdio_common_vsnprintf_s.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsnprintf_s(unsigned long long _Options, char *_Buffer, size_t _BufferCount, size_t
+ * _MaxCount, const char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vsnprintf_s$address()
+ {
+ return __stdio_common_vsnprintf_s.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vsnprintf_s(unsigned long long _Options, char *_Buffer, size_t _BufferCount, size_t
+ * _MaxCount, const char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vsnprintf_s(long _Options, MemorySegment _Buffer, long _BufferCount,
+ long _MaxCount, MemorySegment _Format, MemorySegment _Locale,
+ MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vsnprintf_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vsnprintf_s", _Options, _Buffer, _BufferCount, _MaxCount,
+ _Format, _Locale, _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _MaxCount, _Format, _Locale,
+ _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vsprintf_p {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vsprintf_p");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf_p(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vsprintf_p$descriptor()
+ {
+ return __stdio_common_vsprintf_p.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf_p(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vsprintf_p$handle() { return __stdio_common_vsprintf_p.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf_p(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vsprintf_p$address() { return __stdio_common_vsprintf_p.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf_p(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vsprintf_p(long _Options, MemorySegment _Buffer, long _BufferCount,
+ MemorySegment _Format, MemorySegment _Locale,
+ MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vsprintf_p.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vsprintf_p", _Options, _Buffer, _BufferCount, _Format, _Locale,
+ _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vsscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vsscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsscanf(unsigned long long _Options, const char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vsscanf$descriptor()
+ {
+ return __stdio_common_vsscanf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsscanf(unsigned long long _Options, const char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vsscanf$handle() { return __stdio_common_vsscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsscanf(unsigned long long _Options, const char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vsscanf$address() { return __stdio_common_vsscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vsscanf(unsigned long long _Options, const char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vsscanf(long _Options, MemorySegment _Buffer, long _BufferCount,
+ MemorySegment _Format, MemorySegment _Locale,
+ MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vsscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vsscanf", _Options, _Buffer, _BufferCount, _Format, _Locale,
+ _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tempnam {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tempnam");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *tempnam(const char *_Directory, const char *_FilePrefix)
+ * }
+ */
+ public static FunctionDescriptor tempnam$descriptor() { return tempnam.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *tempnam(const char *_Directory, const char *_FilePrefix)
+ * }
+ */
+ public static MethodHandle tempnam$handle() { return tempnam.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *tempnam(const char *_Directory, const char *_FilePrefix)
+ * }
+ */
+ public static MemorySegment tempnam$address() { return tempnam.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *tempnam(const char *_Directory, const char *_FilePrefix)
+ * }
+ */
+ public static MemorySegment tempnam(MemorySegment _Directory, MemorySegment _FilePrefix)
+ {
+ var mh$ = tempnam.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tempnam", _Directory, _FilePrefix);
+ }
+ return (MemorySegment)mh$.invokeExact(_Directory, _FilePrefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fcloseall {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fcloseall");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fcloseall()
+ * }
+ */
+ public static FunctionDescriptor fcloseall$descriptor() { return fcloseall.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fcloseall()
+ * }
+ */
+ public static MethodHandle fcloseall$handle() { return fcloseall.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fcloseall()
+ * }
+ */
+ public static MemorySegment fcloseall$address() { return fcloseall.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fcloseall()
+ * }
+ */
+ public static int fcloseall()
+ {
+ var mh$ = fcloseall.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fcloseall");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fdopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fdopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *fdopen(int _FileHandle, const char *_Format)
+ * }
+ */
+ public static FunctionDescriptor fdopen$descriptor() { return fdopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *fdopen(int _FileHandle, const char *_Format)
+ * }
+ */
+ public static MethodHandle fdopen$handle() { return fdopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *fdopen(int _FileHandle, const char *_Format)
+ * }
+ */
+ public static MemorySegment fdopen$address() { return fdopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *fdopen(int _FileHandle, const char *_Format)
+ * }
+ */
+ public static MemorySegment fdopen(int _FileHandle, MemorySegment _Format)
+ {
+ var mh$ = fdopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fdopen", _FileHandle, _Format);
+ }
+ return (MemorySegment)mh$.invokeExact(_FileHandle, _Format);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fgetchar()
+ * }
+ */
+ public static FunctionDescriptor fgetchar$descriptor() { return fgetchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fgetchar()
+ * }
+ */
+ public static MethodHandle fgetchar$handle() { return fgetchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fgetchar()
+ * }
+ */
+ public static MemorySegment fgetchar$address() { return fgetchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fgetchar()
+ * }
+ */
+ public static int fgetchar()
+ {
+ var mh$ = fgetchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetchar");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fileno {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fileno");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fileno(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fileno$descriptor() { return fileno.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fileno(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fileno$handle() { return fileno.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fileno(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fileno$address() { return fileno.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fileno(FILE *_Stream)
+ * }
+ */
+ public static int fileno(MemorySegment _Stream)
+ {
+ var mh$ = fileno.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fileno", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class flushall {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("flushall");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int flushall()
+ * }
+ */
+ public static FunctionDescriptor flushall$descriptor() { return flushall.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int flushall()
+ * }
+ */
+ public static MethodHandle flushall$handle() { return flushall.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int flushall()
+ * }
+ */
+ public static MemorySegment flushall$address() { return flushall.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int flushall()
+ * }
+ */
+ public static int flushall()
+ {
+ var mh$ = flushall.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("flushall");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fputchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fputchar(int _Ch)
+ * }
+ */
+ public static FunctionDescriptor fputchar$descriptor() { return fputchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fputchar(int _Ch)
+ * }
+ */
+ public static MethodHandle fputchar$handle() { return fputchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fputchar(int _Ch)
+ * }
+ */
+ public static MemorySegment fputchar$address() { return fputchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fputchar(int _Ch)
+ * }
+ */
+ public static int fputchar(int _Ch)
+ {
+ var mh$ = fputchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputchar", _Ch);
+ }
+ return (int)mh$.invokeExact(_Ch);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getw {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getw");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int getw(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor getw$descriptor() { return getw.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int getw(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle getw$handle() { return getw.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int getw(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment getw$address() { return getw.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int getw(FILE *_Stream)
+ * }
+ */
+ public static int getw(MemorySegment _Stream)
+ {
+ var mh$ = getw.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getw", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putw {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putw");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int putw(int _Ch, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor putw$descriptor() { return putw.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int putw(int _Ch, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle putw$handle() { return putw.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int putw(int _Ch, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment putw$address() { return putw.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int putw(int _Ch, FILE *_Stream)
+ * }
+ */
+ public static int putw(int _Ch, MemorySegment _Stream)
+ {
+ var mh$ = putw.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putw", _Ch, _Stream);
+ }
+ return (int)mh$.invokeExact(_Ch, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class rmtmp {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("rmtmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int rmtmp()
+ * }
+ */
+ public static FunctionDescriptor rmtmp$descriptor() { return rmtmp.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int rmtmp()
+ * }
+ */
+ public static MethodHandle rmtmp$handle() { return rmtmp.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int rmtmp()
+ * }
+ */
+ public static MemorySegment rmtmp$address() { return rmtmp.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int rmtmp()
+ * }
+ */
+ public static int rmtmp()
+ {
+ var mh$ = rmtmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("rmtmp");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5E_MAJOR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_type_t.H5E_MAJOR = 0
+ * }
+ */
+ public static int H5E_MAJOR() { return H5E_MAJOR; }
+ private static final int H5E_MINOR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_type_t.H5E_MINOR = 1
+ * }
+ */
+ public static int H5E_MINOR() { return H5E_MINOR; }
+
+ private static class H5E_ERR_CLS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ERR_CLS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static OfLong H5E_ERR_CLS_g$layout() { return H5E_ERR_CLS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static MemorySegment H5E_ERR_CLS_g$segment() { return H5E_ERR_CLS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static long H5E_ERR_CLS_g()
+ {
+ return H5E_ERR_CLS_g$constants.SEGMENT.get(H5E_ERR_CLS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static void H5E_ERR_CLS_g(long varValue)
+ {
+ H5E_ERR_CLS_g$constants.SEGMENT.set(H5E_ERR_CLS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ARGS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ARGS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static OfLong H5E_ARGS_g$layout() { return H5E_ARGS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static MemorySegment H5E_ARGS_g$segment() { return H5E_ARGS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static long H5E_ARGS_g()
+ {
+ return H5E_ARGS_g$constants.SEGMENT.get(H5E_ARGS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static void H5E_ARGS_g(long varValue)
+ {
+ H5E_ARGS_g$constants.SEGMENT.set(H5E_ARGS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ATTR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ATTR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static OfLong H5E_ATTR_g$layout() { return H5E_ATTR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static MemorySegment H5E_ATTR_g$segment() { return H5E_ATTR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static long H5E_ATTR_g()
+ {
+ return H5E_ATTR_g$constants.SEGMENT.get(H5E_ATTR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static void H5E_ATTR_g(long varValue)
+ {
+ H5E_ATTR_g$constants.SEGMENT.set(H5E_ATTR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BTREE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BTREE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static OfLong H5E_BTREE_g$layout() { return H5E_BTREE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static MemorySegment H5E_BTREE_g$segment() { return H5E_BTREE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static long H5E_BTREE_g()
+ {
+ return H5E_BTREE_g$constants.SEGMENT.get(H5E_BTREE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static void H5E_BTREE_g(long varValue)
+ {
+ H5E_BTREE_g$constants.SEGMENT.set(H5E_BTREE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CACHE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CACHE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static OfLong H5E_CACHE_g$layout() { return H5E_CACHE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static MemorySegment H5E_CACHE_g$segment() { return H5E_CACHE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static long H5E_CACHE_g()
+ {
+ return H5E_CACHE_g$constants.SEGMENT.get(H5E_CACHE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static void H5E_CACHE_g(long varValue)
+ {
+ H5E_CACHE_g$constants.SEGMENT.set(H5E_CACHE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CONTEXT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CONTEXT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static OfLong H5E_CONTEXT_g$layout() { return H5E_CONTEXT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static MemorySegment H5E_CONTEXT_g$segment() { return H5E_CONTEXT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static long H5E_CONTEXT_g()
+ {
+ return H5E_CONTEXT_g$constants.SEGMENT.get(H5E_CONTEXT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static void H5E_CONTEXT_g(long varValue)
+ {
+ H5E_CONTEXT_g$constants.SEGMENT.set(H5E_CONTEXT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DATASET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DATASET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static OfLong H5E_DATASET_g$layout() { return H5E_DATASET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static MemorySegment H5E_DATASET_g$segment() { return H5E_DATASET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static long H5E_DATASET_g()
+ {
+ return H5E_DATASET_g$constants.SEGMENT.get(H5E_DATASET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static void H5E_DATASET_g(long varValue)
+ {
+ H5E_DATASET_g$constants.SEGMENT.set(H5E_DATASET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DATASPACE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DATASPACE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static OfLong H5E_DATASPACE_g$layout() { return H5E_DATASPACE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static MemorySegment H5E_DATASPACE_g$segment() { return H5E_DATASPACE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static long H5E_DATASPACE_g()
+ {
+ return H5E_DATASPACE_g$constants.SEGMENT.get(H5E_DATASPACE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static void H5E_DATASPACE_g(long varValue)
+ {
+ H5E_DATASPACE_g$constants.SEGMENT.set(H5E_DATASPACE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DATATYPE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DATATYPE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static OfLong H5E_DATATYPE_g$layout() { return H5E_DATATYPE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static MemorySegment H5E_DATATYPE_g$segment() { return H5E_DATATYPE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static long H5E_DATATYPE_g()
+ {
+ return H5E_DATATYPE_g$constants.SEGMENT.get(H5E_DATATYPE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static void H5E_DATATYPE_g(long varValue)
+ {
+ H5E_DATATYPE_g$constants.SEGMENT.set(H5E_DATATYPE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EARRAY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EARRAY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static OfLong H5E_EARRAY_g$layout() { return H5E_EARRAY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static MemorySegment H5E_EARRAY_g$segment() { return H5E_EARRAY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static long H5E_EARRAY_g()
+ {
+ return H5E_EARRAY_g$constants.SEGMENT.get(H5E_EARRAY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static void H5E_EARRAY_g(long varValue)
+ {
+ H5E_EARRAY_g$constants.SEGMENT.set(H5E_EARRAY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EFL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EFL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static OfLong H5E_EFL_g$layout() { return H5E_EFL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static MemorySegment H5E_EFL_g$segment() { return H5E_EFL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static long H5E_EFL_g() { return H5E_EFL_g$constants.SEGMENT.get(H5E_EFL_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static void H5E_EFL_g(long varValue)
+ {
+ H5E_EFL_g$constants.SEGMENT.set(H5E_EFL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static OfLong H5E_ERROR_g$layout() { return H5E_ERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static MemorySegment H5E_ERROR_g$segment() { return H5E_ERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static long H5E_ERROR_g()
+ {
+ return H5E_ERROR_g$constants.SEGMENT.get(H5E_ERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static void H5E_ERROR_g(long varValue)
+ {
+ H5E_ERROR_g$constants.SEGMENT.set(H5E_ERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EVENTSET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EVENTSET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static OfLong H5E_EVENTSET_g$layout() { return H5E_EVENTSET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static MemorySegment H5E_EVENTSET_g$segment() { return H5E_EVENTSET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static long H5E_EVENTSET_g()
+ {
+ return H5E_EVENTSET_g$constants.SEGMENT.get(H5E_EVENTSET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static void H5E_EVENTSET_g(long varValue)
+ {
+ H5E_EVENTSET_g$constants.SEGMENT.set(H5E_EVENTSET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FARRAY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FARRAY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static OfLong H5E_FARRAY_g$layout() { return H5E_FARRAY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static MemorySegment H5E_FARRAY_g$segment() { return H5E_FARRAY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static long H5E_FARRAY_g()
+ {
+ return H5E_FARRAY_g$constants.SEGMENT.get(H5E_FARRAY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static void H5E_FARRAY_g(long varValue)
+ {
+ H5E_FARRAY_g$constants.SEGMENT.set(H5E_FARRAY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static OfLong H5E_FILE_g$layout() { return H5E_FILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static MemorySegment H5E_FILE_g$segment() { return H5E_FILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static long H5E_FILE_g()
+ {
+ return H5E_FILE_g$constants.SEGMENT.get(H5E_FILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static void H5E_FILE_g(long varValue)
+ {
+ H5E_FILE_g$constants.SEGMENT.set(H5E_FILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FSPACE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FSPACE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static OfLong H5E_FSPACE_g$layout() { return H5E_FSPACE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static MemorySegment H5E_FSPACE_g$segment() { return H5E_FSPACE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static long H5E_FSPACE_g()
+ {
+ return H5E_FSPACE_g$constants.SEGMENT.get(H5E_FSPACE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static void H5E_FSPACE_g(long varValue)
+ {
+ H5E_FSPACE_g$constants.SEGMENT.set(H5E_FSPACE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FUNC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FUNC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static OfLong H5E_FUNC_g$layout() { return H5E_FUNC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static MemorySegment H5E_FUNC_g$segment() { return H5E_FUNC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static long H5E_FUNC_g()
+ {
+ return H5E_FUNC_g$constants.SEGMENT.get(H5E_FUNC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static void H5E_FUNC_g(long varValue)
+ {
+ H5E_FUNC_g$constants.SEGMENT.set(H5E_FUNC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_HEAP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_HEAP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static OfLong H5E_HEAP_g$layout() { return H5E_HEAP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static MemorySegment H5E_HEAP_g$segment() { return H5E_HEAP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static long H5E_HEAP_g()
+ {
+ return H5E_HEAP_g$constants.SEGMENT.get(H5E_HEAP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static void H5E_HEAP_g(long varValue)
+ {
+ H5E_HEAP_g$constants.SEGMENT.set(H5E_HEAP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static OfLong H5E_ID_g$layout() { return H5E_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static MemorySegment H5E_ID_g$segment() { return H5E_ID_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static long H5E_ID_g() { return H5E_ID_g$constants.SEGMENT.get(H5E_ID_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static void H5E_ID_g(long varValue)
+ {
+ H5E_ID_g$constants.SEGMENT.set(H5E_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_INTERNAL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_INTERNAL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static OfLong H5E_INTERNAL_g$layout() { return H5E_INTERNAL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static MemorySegment H5E_INTERNAL_g$segment() { return H5E_INTERNAL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static long H5E_INTERNAL_g()
+ {
+ return H5E_INTERNAL_g$constants.SEGMENT.get(H5E_INTERNAL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static void H5E_INTERNAL_g(long varValue)
+ {
+ H5E_INTERNAL_g$constants.SEGMENT.set(H5E_INTERNAL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_IO_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_IO_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static OfLong H5E_IO_g$layout() { return H5E_IO_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static MemorySegment H5E_IO_g$segment() { return H5E_IO_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static long H5E_IO_g() { return H5E_IO_g$constants.SEGMENT.get(H5E_IO_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static void H5E_IO_g(long varValue)
+ {
+ H5E_IO_g$constants.SEGMENT.set(H5E_IO_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LIB_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LIB_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static OfLong H5E_LIB_g$layout() { return H5E_LIB_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static MemorySegment H5E_LIB_g$segment() { return H5E_LIB_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static long H5E_LIB_g() { return H5E_LIB_g$constants.SEGMENT.get(H5E_LIB_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static void H5E_LIB_g(long varValue)
+ {
+ H5E_LIB_g$constants.SEGMENT.set(H5E_LIB_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LINK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LINK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static OfLong H5E_LINK_g$layout() { return H5E_LINK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static MemorySegment H5E_LINK_g$segment() { return H5E_LINK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static long H5E_LINK_g()
+ {
+ return H5E_LINK_g$constants.SEGMENT.get(H5E_LINK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static void H5E_LINK_g(long varValue)
+ {
+ H5E_LINK_g$constants.SEGMENT.set(H5E_LINK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MAP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MAP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static OfLong H5E_MAP_g$layout() { return H5E_MAP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static MemorySegment H5E_MAP_g$segment() { return H5E_MAP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static long H5E_MAP_g() { return H5E_MAP_g$constants.SEGMENT.get(H5E_MAP_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static void H5E_MAP_g(long varValue)
+ {
+ H5E_MAP_g$constants.SEGMENT.set(H5E_MAP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NONE_MAJOR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NONE_MAJOR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static OfLong H5E_NONE_MAJOR_g$layout() { return H5E_NONE_MAJOR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static MemorySegment H5E_NONE_MAJOR_g$segment() { return H5E_NONE_MAJOR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static long H5E_NONE_MAJOR_g()
+ {
+ return H5E_NONE_MAJOR_g$constants.SEGMENT.get(H5E_NONE_MAJOR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static void H5E_NONE_MAJOR_g(long varValue)
+ {
+ H5E_NONE_MAJOR_g$constants.SEGMENT.set(H5E_NONE_MAJOR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OHDR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OHDR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static OfLong H5E_OHDR_g$layout() { return H5E_OHDR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static MemorySegment H5E_OHDR_g$segment() { return H5E_OHDR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static long H5E_OHDR_g()
+ {
+ return H5E_OHDR_g$constants.SEGMENT.get(H5E_OHDR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static void H5E_OHDR_g(long varValue)
+ {
+ H5E_OHDR_g$constants.SEGMENT.set(H5E_OHDR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PAGEBUF_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PAGEBUF_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static OfLong H5E_PAGEBUF_g$layout() { return H5E_PAGEBUF_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static MemorySegment H5E_PAGEBUF_g$segment() { return H5E_PAGEBUF_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static long H5E_PAGEBUF_g()
+ {
+ return H5E_PAGEBUF_g$constants.SEGMENT.get(H5E_PAGEBUF_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static void H5E_PAGEBUF_g(long varValue)
+ {
+ H5E_PAGEBUF_g$constants.SEGMENT.set(H5E_PAGEBUF_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PLINE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PLINE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static OfLong H5E_PLINE_g$layout() { return H5E_PLINE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static MemorySegment H5E_PLINE_g$segment() { return H5E_PLINE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static long H5E_PLINE_g()
+ {
+ return H5E_PLINE_g$constants.SEGMENT.get(H5E_PLINE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static void H5E_PLINE_g(long varValue)
+ {
+ H5E_PLINE_g$constants.SEGMENT.set(H5E_PLINE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PLIST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PLIST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static OfLong H5E_PLIST_g$layout() { return H5E_PLIST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static MemorySegment H5E_PLIST_g$segment() { return H5E_PLIST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static long H5E_PLIST_g()
+ {
+ return H5E_PLIST_g$constants.SEGMENT.get(H5E_PLIST_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static void H5E_PLIST_g(long varValue)
+ {
+ H5E_PLIST_g$constants.SEGMENT.set(H5E_PLIST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PLUGIN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PLUGIN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static OfLong H5E_PLUGIN_g$layout() { return H5E_PLUGIN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static MemorySegment H5E_PLUGIN_g$segment() { return H5E_PLUGIN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static long H5E_PLUGIN_g()
+ {
+ return H5E_PLUGIN_g$constants.SEGMENT.get(H5E_PLUGIN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static void H5E_PLUGIN_g(long varValue)
+ {
+ H5E_PLUGIN_g$constants.SEGMENT.set(H5E_PLUGIN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_REFERENCE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_REFERENCE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static OfLong H5E_REFERENCE_g$layout() { return H5E_REFERENCE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static MemorySegment H5E_REFERENCE_g$segment() { return H5E_REFERENCE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static long H5E_REFERENCE_g()
+ {
+ return H5E_REFERENCE_g$constants.SEGMENT.get(H5E_REFERENCE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static void H5E_REFERENCE_g(long varValue)
+ {
+ H5E_REFERENCE_g$constants.SEGMENT.set(H5E_REFERENCE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_RESOURCE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_RESOURCE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static OfLong H5E_RESOURCE_g$layout() { return H5E_RESOURCE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static MemorySegment H5E_RESOURCE_g$segment() { return H5E_RESOURCE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static long H5E_RESOURCE_g()
+ {
+ return H5E_RESOURCE_g$constants.SEGMENT.get(H5E_RESOURCE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static void H5E_RESOURCE_g(long varValue)
+ {
+ H5E_RESOURCE_g$constants.SEGMENT.set(H5E_RESOURCE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_RS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_RS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static OfLong H5E_RS_g$layout() { return H5E_RS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static MemorySegment H5E_RS_g$segment() { return H5E_RS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static long H5E_RS_g() { return H5E_RS_g$constants.SEGMENT.get(H5E_RS_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static void H5E_RS_g(long varValue)
+ {
+ H5E_RS_g$constants.SEGMENT.set(H5E_RS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_RTREE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_RTREE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static OfLong H5E_RTREE_g$layout() { return H5E_RTREE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static MemorySegment H5E_RTREE_g$segment() { return H5E_RTREE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static long H5E_RTREE_g()
+ {
+ return H5E_RTREE_g$constants.SEGMENT.get(H5E_RTREE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static void H5E_RTREE_g(long varValue)
+ {
+ H5E_RTREE_g$constants.SEGMENT.set(H5E_RTREE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SLIST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SLIST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static OfLong H5E_SLIST_g$layout() { return H5E_SLIST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static MemorySegment H5E_SLIST_g$segment() { return H5E_SLIST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static long H5E_SLIST_g()
+ {
+ return H5E_SLIST_g$constants.SEGMENT.get(H5E_SLIST_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static void H5E_SLIST_g(long varValue)
+ {
+ H5E_SLIST_g$constants.SEGMENT.set(H5E_SLIST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SOHM_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SOHM_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static OfLong H5E_SOHM_g$layout() { return H5E_SOHM_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static MemorySegment H5E_SOHM_g$segment() { return H5E_SOHM_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static long H5E_SOHM_g()
+ {
+ return H5E_SOHM_g$constants.SEGMENT.get(H5E_SOHM_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static void H5E_SOHM_g(long varValue)
+ {
+ H5E_SOHM_g$constants.SEGMENT.set(H5E_SOHM_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_STORAGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_STORAGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static OfLong H5E_STORAGE_g$layout() { return H5E_STORAGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static MemorySegment H5E_STORAGE_g$segment() { return H5E_STORAGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static long H5E_STORAGE_g()
+ {
+ return H5E_STORAGE_g$constants.SEGMENT.get(H5E_STORAGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static void H5E_STORAGE_g(long varValue)
+ {
+ H5E_STORAGE_g$constants.SEGMENT.set(H5E_STORAGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SYM_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SYM_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static OfLong H5E_SYM_g$layout() { return H5E_SYM_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static MemorySegment H5E_SYM_g$segment() { return H5E_SYM_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static long H5E_SYM_g() { return H5E_SYM_g$constants.SEGMENT.get(H5E_SYM_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static void H5E_SYM_g(long varValue)
+ {
+ H5E_SYM_g$constants.SEGMENT.set(H5E_SYM_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_THREADSAFE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_THREADSAFE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static OfLong H5E_THREADSAFE_g$layout() { return H5E_THREADSAFE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static MemorySegment H5E_THREADSAFE_g$segment() { return H5E_THREADSAFE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static long H5E_THREADSAFE_g()
+ {
+ return H5E_THREADSAFE_g$constants.SEGMENT.get(H5E_THREADSAFE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static void H5E_THREADSAFE_g(long varValue)
+ {
+ H5E_THREADSAFE_g$constants.SEGMENT.set(H5E_THREADSAFE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_TST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_TST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static OfLong H5E_TST_g$layout() { return H5E_TST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static MemorySegment H5E_TST_g$segment() { return H5E_TST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static long H5E_TST_g() { return H5E_TST_g$constants.SEGMENT.get(H5E_TST_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static void H5E_TST_g(long varValue)
+ {
+ H5E_TST_g$constants.SEGMENT.set(H5E_TST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_VFL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_VFL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static OfLong H5E_VFL_g$layout() { return H5E_VFL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static MemorySegment H5E_VFL_g$segment() { return H5E_VFL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static long H5E_VFL_g() { return H5E_VFL_g$constants.SEGMENT.get(H5E_VFL_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static void H5E_VFL_g(long varValue)
+ {
+ H5E_VFL_g$constants.SEGMENT.set(H5E_VFL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_VOL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_VOL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static OfLong H5E_VOL_g$layout() { return H5E_VOL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static MemorySegment H5E_VOL_g$segment() { return H5E_VOL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static long H5E_VOL_g() { return H5E_VOL_g$constants.SEGMENT.get(H5E_VOL_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static void H5E_VOL_g(long varValue)
+ {
+ H5E_VOL_g$constants.SEGMENT.set(H5E_VOL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADRANGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADRANGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static OfLong H5E_BADRANGE_g$layout() { return H5E_BADRANGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static MemorySegment H5E_BADRANGE_g$segment() { return H5E_BADRANGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static long H5E_BADRANGE_g()
+ {
+ return H5E_BADRANGE_g$constants.SEGMENT.get(H5E_BADRANGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static void H5E_BADRANGE_g(long varValue)
+ {
+ H5E_BADRANGE_g$constants.SEGMENT.set(H5E_BADRANGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADTYPE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADTYPE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static OfLong H5E_BADTYPE_g$layout() { return H5E_BADTYPE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static MemorySegment H5E_BADTYPE_g$segment() { return H5E_BADTYPE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static long H5E_BADTYPE_g()
+ {
+ return H5E_BADTYPE_g$constants.SEGMENT.get(H5E_BADTYPE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static void H5E_BADTYPE_g(long varValue)
+ {
+ H5E_BADTYPE_g$constants.SEGMENT.set(H5E_BADTYPE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADVALUE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADVALUE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static OfLong H5E_BADVALUE_g$layout() { return H5E_BADVALUE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static MemorySegment H5E_BADVALUE_g$segment() { return H5E_BADVALUE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static long H5E_BADVALUE_g()
+ {
+ return H5E_BADVALUE_g$constants.SEGMENT.get(H5E_BADVALUE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static void H5E_BADVALUE_g(long varValue)
+ {
+ H5E_BADVALUE_g$constants.SEGMENT.set(H5E_BADVALUE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_UNINITIALIZED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_UNINITIALIZED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static OfLong H5E_UNINITIALIZED_g$layout() { return H5E_UNINITIALIZED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static MemorySegment H5E_UNINITIALIZED_g$segment()
+ {
+ return H5E_UNINITIALIZED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static long H5E_UNINITIALIZED_g()
+ {
+ return H5E_UNINITIALIZED_g$constants.SEGMENT.get(H5E_UNINITIALIZED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static void H5E_UNINITIALIZED_g(long varValue)
+ {
+ H5E_UNINITIALIZED_g$constants.SEGMENT.set(H5E_UNINITIALIZED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_UNSUPPORTED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_UNSUPPORTED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static OfLong H5E_UNSUPPORTED_g$layout() { return H5E_UNSUPPORTED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static MemorySegment H5E_UNSUPPORTED_g$segment() { return H5E_UNSUPPORTED_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static long H5E_UNSUPPORTED_g()
+ {
+ return H5E_UNSUPPORTED_g$constants.SEGMENT.get(H5E_UNSUPPORTED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static void H5E_UNSUPPORTED_g(long varValue)
+ {
+ H5E_UNSUPPORTED_g$constants.SEGMENT.set(H5E_UNSUPPORTED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCANCEL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCANCEL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static OfLong H5E_CANTCANCEL_g$layout() { return H5E_CANTCANCEL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCANCEL_g$segment() { return H5E_CANTCANCEL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static long H5E_CANTCANCEL_g()
+ {
+ return H5E_CANTCANCEL_g$constants.SEGMENT.get(H5E_CANTCANCEL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static void H5E_CANTCANCEL_g(long varValue)
+ {
+ H5E_CANTCANCEL_g$constants.SEGMENT.set(H5E_CANTCANCEL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTWAIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTWAIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static OfLong H5E_CANTWAIT_g$layout() { return H5E_CANTWAIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTWAIT_g$segment() { return H5E_CANTWAIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static long H5E_CANTWAIT_g()
+ {
+ return H5E_CANTWAIT_g$constants.SEGMENT.get(H5E_CANTWAIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static void H5E_CANTWAIT_g(long varValue)
+ {
+ H5E_CANTWAIT_g$constants.SEGMENT.set(H5E_CANTWAIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDECODE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDECODE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static OfLong H5E_CANTDECODE_g$layout() { return H5E_CANTDECODE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDECODE_g$segment() { return H5E_CANTDECODE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static long H5E_CANTDECODE_g()
+ {
+ return H5E_CANTDECODE_g$constants.SEGMENT.get(H5E_CANTDECODE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static void H5E_CANTDECODE_g(long varValue)
+ {
+ H5E_CANTDECODE_g$constants.SEGMENT.set(H5E_CANTDECODE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTENCODE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTENCODE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static OfLong H5E_CANTENCODE_g$layout() { return H5E_CANTENCODE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTENCODE_g$segment() { return H5E_CANTENCODE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static long H5E_CANTENCODE_g()
+ {
+ return H5E_CANTENCODE_g$constants.SEGMENT.get(H5E_CANTENCODE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static void H5E_CANTENCODE_g(long varValue)
+ {
+ H5E_CANTENCODE_g$constants.SEGMENT.set(H5E_CANTENCODE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFIND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFIND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static OfLong H5E_CANTFIND_g$layout() { return H5E_CANTFIND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFIND_g$segment() { return H5E_CANTFIND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static long H5E_CANTFIND_g()
+ {
+ return H5E_CANTFIND_g$constants.SEGMENT.get(H5E_CANTFIND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static void H5E_CANTFIND_g(long varValue)
+ {
+ H5E_CANTFIND_g$constants.SEGMENT.set(H5E_CANTFIND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINSERT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINSERT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static OfLong H5E_CANTINSERT_g$layout() { return H5E_CANTINSERT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINSERT_g$segment() { return H5E_CANTINSERT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static long H5E_CANTINSERT_g()
+ {
+ return H5E_CANTINSERT_g$constants.SEGMENT.get(H5E_CANTINSERT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static void H5E_CANTINSERT_g(long varValue)
+ {
+ H5E_CANTINSERT_g$constants.SEGMENT.set(H5E_CANTINSERT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLIST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLIST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static OfLong H5E_CANTLIST_g$layout() { return H5E_CANTLIST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLIST_g$segment() { return H5E_CANTLIST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static long H5E_CANTLIST_g()
+ {
+ return H5E_CANTLIST_g$constants.SEGMENT.get(H5E_CANTLIST_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static void H5E_CANTLIST_g(long varValue)
+ {
+ H5E_CANTLIST_g$constants.SEGMENT.set(H5E_CANTLIST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMODIFY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMODIFY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static OfLong H5E_CANTMODIFY_g$layout() { return H5E_CANTMODIFY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMODIFY_g$segment() { return H5E_CANTMODIFY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static long H5E_CANTMODIFY_g()
+ {
+ return H5E_CANTMODIFY_g$constants.SEGMENT.get(H5E_CANTMODIFY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static void H5E_CANTMODIFY_g(long varValue)
+ {
+ H5E_CANTMODIFY_g$constants.SEGMENT.set(H5E_CANTMODIFY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREDISTRIBUTE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREDISTRIBUTE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static OfLong H5E_CANTREDISTRIBUTE_g$layout() { return H5E_CANTREDISTRIBUTE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREDISTRIBUTE_g$segment()
+ {
+ return H5E_CANTREDISTRIBUTE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static long H5E_CANTREDISTRIBUTE_g()
+ {
+ return H5E_CANTREDISTRIBUTE_g$constants.SEGMENT.get(H5E_CANTREDISTRIBUTE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static void H5E_CANTREDISTRIBUTE_g(long varValue)
+ {
+ H5E_CANTREDISTRIBUTE_g$constants.SEGMENT.set(H5E_CANTREDISTRIBUTE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREMOVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREMOVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static OfLong H5E_CANTREMOVE_g$layout() { return H5E_CANTREMOVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREMOVE_g$segment() { return H5E_CANTREMOVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static long H5E_CANTREMOVE_g()
+ {
+ return H5E_CANTREMOVE_g$constants.SEGMENT.get(H5E_CANTREMOVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static void H5E_CANTREMOVE_g(long varValue)
+ {
+ H5E_CANTREMOVE_g$constants.SEGMENT.set(H5E_CANTREMOVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSPLIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSPLIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static OfLong H5E_CANTSPLIT_g$layout() { return H5E_CANTSPLIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSPLIT_g$segment() { return H5E_CANTSPLIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static long H5E_CANTSPLIT_g()
+ {
+ return H5E_CANTSPLIT_g$constants.SEGMENT.get(H5E_CANTSPLIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static void H5E_CANTSPLIT_g(long varValue)
+ {
+ H5E_CANTSPLIT_g$constants.SEGMENT.set(H5E_CANTSPLIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSWAP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSWAP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static OfLong H5E_CANTSWAP_g$layout() { return H5E_CANTSWAP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSWAP_g$segment() { return H5E_CANTSWAP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static long H5E_CANTSWAP_g()
+ {
+ return H5E_CANTSWAP_g$constants.SEGMENT.get(H5E_CANTSWAP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static void H5E_CANTSWAP_g(long varValue)
+ {
+ H5E_CANTSWAP_g$constants.SEGMENT.set(H5E_CANTSWAP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EXISTS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EXISTS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static OfLong H5E_EXISTS_g$layout() { return H5E_EXISTS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static MemorySegment H5E_EXISTS_g$segment() { return H5E_EXISTS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static long H5E_EXISTS_g()
+ {
+ return H5E_EXISTS_g$constants.SEGMENT.get(H5E_EXISTS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static void H5E_EXISTS_g(long varValue)
+ {
+ H5E_EXISTS_g$constants.SEGMENT.set(H5E_EXISTS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTFOUND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTFOUND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static OfLong H5E_NOTFOUND_g$layout() { return H5E_NOTFOUND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static MemorySegment H5E_NOTFOUND_g$segment() { return H5E_NOTFOUND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static long H5E_NOTFOUND_g()
+ {
+ return H5E_NOTFOUND_g$constants.SEGMENT.get(H5E_NOTFOUND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static void H5E_NOTFOUND_g(long varValue)
+ {
+ H5E_NOTFOUND_g$constants.SEGMENT.set(H5E_NOTFOUND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLEAN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLEAN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static OfLong H5E_CANTCLEAN_g$layout() { return H5E_CANTCLEAN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLEAN_g$segment() { return H5E_CANTCLEAN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static long H5E_CANTCLEAN_g()
+ {
+ return H5E_CANTCLEAN_g$constants.SEGMENT.get(H5E_CANTCLEAN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static void H5E_CANTCLEAN_g(long varValue)
+ {
+ H5E_CANTCLEAN_g$constants.SEGMENT.set(H5E_CANTCLEAN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCORK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCORK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static OfLong H5E_CANTCORK_g$layout() { return H5E_CANTCORK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCORK_g$segment() { return H5E_CANTCORK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static long H5E_CANTCORK_g()
+ {
+ return H5E_CANTCORK_g$constants.SEGMENT.get(H5E_CANTCORK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static void H5E_CANTCORK_g(long varValue)
+ {
+ H5E_CANTCORK_g$constants.SEGMENT.set(H5E_CANTCORK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDEPEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDEPEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static OfLong H5E_CANTDEPEND_g$layout() { return H5E_CANTDEPEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDEPEND_g$segment() { return H5E_CANTDEPEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static long H5E_CANTDEPEND_g()
+ {
+ return H5E_CANTDEPEND_g$constants.SEGMENT.get(H5E_CANTDEPEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static void H5E_CANTDEPEND_g(long varValue)
+ {
+ H5E_CANTDEPEND_g$constants.SEGMENT.set(H5E_CANTDEPEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDIRTY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDIRTY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static OfLong H5E_CANTDIRTY_g$layout() { return H5E_CANTDIRTY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDIRTY_g$segment() { return H5E_CANTDIRTY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static long H5E_CANTDIRTY_g()
+ {
+ return H5E_CANTDIRTY_g$constants.SEGMENT.get(H5E_CANTDIRTY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static void H5E_CANTDIRTY_g(long varValue)
+ {
+ H5E_CANTDIRTY_g$constants.SEGMENT.set(H5E_CANTDIRTY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTEXPUNGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTEXPUNGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static OfLong H5E_CANTEXPUNGE_g$layout() { return H5E_CANTEXPUNGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTEXPUNGE_g$segment() { return H5E_CANTEXPUNGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static long H5E_CANTEXPUNGE_g()
+ {
+ return H5E_CANTEXPUNGE_g$constants.SEGMENT.get(H5E_CANTEXPUNGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static void H5E_CANTEXPUNGE_g(long varValue)
+ {
+ H5E_CANTEXPUNGE_g$constants.SEGMENT.set(H5E_CANTEXPUNGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFLUSH_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFLUSH_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static OfLong H5E_CANTFLUSH_g$layout() { return H5E_CANTFLUSH_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFLUSH_g$segment() { return H5E_CANTFLUSH_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static long H5E_CANTFLUSH_g()
+ {
+ return H5E_CANTFLUSH_g$constants.SEGMENT.get(H5E_CANTFLUSH_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static void H5E_CANTFLUSH_g(long varValue)
+ {
+ H5E_CANTFLUSH_g$constants.SEGMENT.set(H5E_CANTFLUSH_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static OfLong H5E_CANTINS_g$layout() { return H5E_CANTINS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINS_g$segment() { return H5E_CANTINS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static long H5E_CANTINS_g()
+ {
+ return H5E_CANTINS_g$constants.SEGMENT.get(H5E_CANTINS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static void H5E_CANTINS_g(long varValue)
+ {
+ H5E_CANTINS_g$constants.SEGMENT.set(H5E_CANTINS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLOAD_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLOAD_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static OfLong H5E_CANTLOAD_g$layout() { return H5E_CANTLOAD_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLOAD_g$segment() { return H5E_CANTLOAD_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static long H5E_CANTLOAD_g()
+ {
+ return H5E_CANTLOAD_g$constants.SEGMENT.get(H5E_CANTLOAD_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static void H5E_CANTLOAD_g(long varValue)
+ {
+ H5E_CANTLOAD_g$constants.SEGMENT.set(H5E_CANTLOAD_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMARKCLEAN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKCLEAN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKCLEAN_g$layout() { return H5E_CANTMARKCLEAN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKCLEAN_g$segment()
+ {
+ return H5E_CANTMARKCLEAN_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static long H5E_CANTMARKCLEAN_g()
+ {
+ return H5E_CANTMARKCLEAN_g$constants.SEGMENT.get(H5E_CANTMARKCLEAN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static void H5E_CANTMARKCLEAN_g(long varValue)
+ {
+ H5E_CANTMARKCLEAN_g$constants.SEGMENT.set(H5E_CANTMARKCLEAN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMARKDIRTY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKDIRTY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKDIRTY_g$layout() { return H5E_CANTMARKDIRTY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKDIRTY_g$segment()
+ {
+ return H5E_CANTMARKDIRTY_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static long H5E_CANTMARKDIRTY_g()
+ {
+ return H5E_CANTMARKDIRTY_g$constants.SEGMENT.get(H5E_CANTMARKDIRTY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static void H5E_CANTMARKDIRTY_g(long varValue)
+ {
+ H5E_CANTMARKDIRTY_g$constants.SEGMENT.set(H5E_CANTMARKDIRTY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMARKSERIALIZED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKSERIALIZED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKSERIALIZED_g$layout()
+ {
+ return H5E_CANTMARKSERIALIZED_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKSERIALIZED_g$segment()
+ {
+ return H5E_CANTMARKSERIALIZED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static long H5E_CANTMARKSERIALIZED_g()
+ {
+ return H5E_CANTMARKSERIALIZED_g$constants.SEGMENT.get(H5E_CANTMARKSERIALIZED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static void H5E_CANTMARKSERIALIZED_g(long varValue)
+ {
+ H5E_CANTMARKSERIALIZED_g$constants.SEGMENT.set(H5E_CANTMARKSERIALIZED_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5E_CANTMARKUNSERIALIZED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKUNSERIALIZED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKUNSERIALIZED_g$layout()
+ {
+ return H5E_CANTMARKUNSERIALIZED_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKUNSERIALIZED_g$segment()
+ {
+ return H5E_CANTMARKUNSERIALIZED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static long H5E_CANTMARKUNSERIALIZED_g()
+ {
+ return H5E_CANTMARKUNSERIALIZED_g$constants.SEGMENT.get(H5E_CANTMARKUNSERIALIZED_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static void H5E_CANTMARKUNSERIALIZED_g(long varValue)
+ {
+ H5E_CANTMARKUNSERIALIZED_g$constants.SEGMENT.set(H5E_CANTMARKUNSERIALIZED_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5E_CANTNOTIFY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTNOTIFY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static OfLong H5E_CANTNOTIFY_g$layout() { return H5E_CANTNOTIFY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTNOTIFY_g$segment() { return H5E_CANTNOTIFY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static long H5E_CANTNOTIFY_g()
+ {
+ return H5E_CANTNOTIFY_g$constants.SEGMENT.get(H5E_CANTNOTIFY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static void H5E_CANTNOTIFY_g(long varValue)
+ {
+ H5E_CANTNOTIFY_g$constants.SEGMENT.set(H5E_CANTNOTIFY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPIN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPIN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static OfLong H5E_CANTPIN_g$layout() { return H5E_CANTPIN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPIN_g$segment() { return H5E_CANTPIN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static long H5E_CANTPIN_g()
+ {
+ return H5E_CANTPIN_g$constants.SEGMENT.get(H5E_CANTPIN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static void H5E_CANTPIN_g(long varValue)
+ {
+ H5E_CANTPIN_g$constants.SEGMENT.set(H5E_CANTPIN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPROTECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPROTECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static OfLong H5E_CANTPROTECT_g$layout() { return H5E_CANTPROTECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPROTECT_g$segment() { return H5E_CANTPROTECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static long H5E_CANTPROTECT_g()
+ {
+ return H5E_CANTPROTECT_g$constants.SEGMENT.get(H5E_CANTPROTECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static void H5E_CANTPROTECT_g(long varValue)
+ {
+ H5E_CANTPROTECT_g$constants.SEGMENT.set(H5E_CANTPROTECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRESIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRESIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTRESIZE_g$layout() { return H5E_CANTRESIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRESIZE_g$segment() { return H5E_CANTRESIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static long H5E_CANTRESIZE_g()
+ {
+ return H5E_CANTRESIZE_g$constants.SEGMENT.get(H5E_CANTRESIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static void H5E_CANTRESIZE_g(long varValue)
+ {
+ H5E_CANTRESIZE_g$constants.SEGMENT.set(H5E_CANTRESIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSERIALIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSERIALIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTSERIALIZE_g$layout() { return H5E_CANTSERIALIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSERIALIZE_g$segment()
+ {
+ return H5E_CANTSERIALIZE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static long H5E_CANTSERIALIZE_g()
+ {
+ return H5E_CANTSERIALIZE_g$constants.SEGMENT.get(H5E_CANTSERIALIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static void H5E_CANTSERIALIZE_g(long varValue)
+ {
+ H5E_CANTSERIALIZE_g$constants.SEGMENT.set(H5E_CANTSERIALIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTTAG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTTAG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static OfLong H5E_CANTTAG_g$layout() { return H5E_CANTTAG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static MemorySegment H5E_CANTTAG_g$segment() { return H5E_CANTTAG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static long H5E_CANTTAG_g()
+ {
+ return H5E_CANTTAG_g$constants.SEGMENT.get(H5E_CANTTAG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static void H5E_CANTTAG_g(long varValue)
+ {
+ H5E_CANTTAG_g$constants.SEGMENT.set(H5E_CANTTAG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNCORK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNCORK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static OfLong H5E_CANTUNCORK_g$layout() { return H5E_CANTUNCORK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNCORK_g$segment() { return H5E_CANTUNCORK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static long H5E_CANTUNCORK_g()
+ {
+ return H5E_CANTUNCORK_g$constants.SEGMENT.get(H5E_CANTUNCORK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static void H5E_CANTUNCORK_g(long varValue)
+ {
+ H5E_CANTUNCORK_g$constants.SEGMENT.set(H5E_CANTUNCORK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNDEPEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNDEPEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static OfLong H5E_CANTUNDEPEND_g$layout() { return H5E_CANTUNDEPEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNDEPEND_g$segment() { return H5E_CANTUNDEPEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static long H5E_CANTUNDEPEND_g()
+ {
+ return H5E_CANTUNDEPEND_g$constants.SEGMENT.get(H5E_CANTUNDEPEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static void H5E_CANTUNDEPEND_g(long varValue)
+ {
+ H5E_CANTUNDEPEND_g$constants.SEGMENT.set(H5E_CANTUNDEPEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNPIN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNPIN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static OfLong H5E_CANTUNPIN_g$layout() { return H5E_CANTUNPIN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNPIN_g$segment() { return H5E_CANTUNPIN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static long H5E_CANTUNPIN_g()
+ {
+ return H5E_CANTUNPIN_g$constants.SEGMENT.get(H5E_CANTUNPIN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static void H5E_CANTUNPIN_g(long varValue)
+ {
+ H5E_CANTUNPIN_g$constants.SEGMENT.set(H5E_CANTUNPIN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNPROTECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNPROTECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static OfLong H5E_CANTUNPROTECT_g$layout() { return H5E_CANTUNPROTECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNPROTECT_g$segment()
+ {
+ return H5E_CANTUNPROTECT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static long H5E_CANTUNPROTECT_g()
+ {
+ return H5E_CANTUNPROTECT_g$constants.SEGMENT.get(H5E_CANTUNPROTECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static void H5E_CANTUNPROTECT_g(long varValue)
+ {
+ H5E_CANTUNPROTECT_g$constants.SEGMENT.set(H5E_CANTUNPROTECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNSERIALIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNSERIALIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTUNSERIALIZE_g$layout() { return H5E_CANTUNSERIALIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNSERIALIZE_g$segment()
+ {
+ return H5E_CANTUNSERIALIZE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static long H5E_CANTUNSERIALIZE_g()
+ {
+ return H5E_CANTUNSERIALIZE_g$constants.SEGMENT.get(H5E_CANTUNSERIALIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static void H5E_CANTUNSERIALIZE_g(long varValue)
+ {
+ H5E_CANTUNSERIALIZE_g$constants.SEGMENT.set(H5E_CANTUNSERIALIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LOGGING_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LOGGING_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static OfLong H5E_LOGGING_g$layout() { return H5E_LOGGING_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static MemorySegment H5E_LOGGING_g$segment() { return H5E_LOGGING_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static long H5E_LOGGING_g()
+ {
+ return H5E_LOGGING_g$constants.SEGMENT.get(H5E_LOGGING_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static void H5E_LOGGING_g(long varValue)
+ {
+ H5E_LOGGING_g$constants.SEGMENT.set(H5E_LOGGING_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTCACHED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTCACHED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static OfLong H5E_NOTCACHED_g$layout() { return H5E_NOTCACHED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static MemorySegment H5E_NOTCACHED_g$segment() { return H5E_NOTCACHED_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static long H5E_NOTCACHED_g()
+ {
+ return H5E_NOTCACHED_g$constants.SEGMENT.get(H5E_NOTCACHED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static void H5E_NOTCACHED_g(long varValue)
+ {
+ H5E_NOTCACHED_g$constants.SEGMENT.set(H5E_NOTCACHED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PROTECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PROTECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static OfLong H5E_PROTECT_g$layout() { return H5E_PROTECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static MemorySegment H5E_PROTECT_g$segment() { return H5E_PROTECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static long H5E_PROTECT_g()
+ {
+ return H5E_PROTECT_g$constants.SEGMENT.get(H5E_PROTECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static void H5E_PROTECT_g(long varValue)
+ {
+ H5E_PROTECT_g$constants.SEGMENT.set(H5E_PROTECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SYSTEM_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SYSTEM_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static OfLong H5E_SYSTEM_g$layout() { return H5E_SYSTEM_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static MemorySegment H5E_SYSTEM_g$segment() { return H5E_SYSTEM_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static long H5E_SYSTEM_g()
+ {
+ return H5E_SYSTEM_g$constants.SEGMENT.get(H5E_SYSTEM_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static void H5E_SYSTEM_g(long varValue)
+ {
+ H5E_SYSTEM_g$constants.SEGMENT.set(H5E_SYSTEM_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADSELECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADSELECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static OfLong H5E_BADSELECT_g$layout() { return H5E_BADSELECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static MemorySegment H5E_BADSELECT_g$segment() { return H5E_BADSELECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static long H5E_BADSELECT_g()
+ {
+ return H5E_BADSELECT_g$constants.SEGMENT.get(H5E_BADSELECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static void H5E_BADSELECT_g(long varValue)
+ {
+ H5E_BADSELECT_g$constants.SEGMENT.set(H5E_BADSELECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTAPPEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTAPPEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static OfLong H5E_CANTAPPEND_g$layout() { return H5E_CANTAPPEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTAPPEND_g$segment() { return H5E_CANTAPPEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static long H5E_CANTAPPEND_g()
+ {
+ return H5E_CANTAPPEND_g$constants.SEGMENT.get(H5E_CANTAPPEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static void H5E_CANTAPPEND_g(long varValue)
+ {
+ H5E_CANTAPPEND_g$constants.SEGMENT.set(H5E_CANTAPPEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLIP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLIP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static OfLong H5E_CANTCLIP_g$layout() { return H5E_CANTCLIP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLIP_g$segment() { return H5E_CANTCLIP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static long H5E_CANTCLIP_g()
+ {
+ return H5E_CANTCLIP_g$constants.SEGMENT.get(H5E_CANTCLIP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static void H5E_CANTCLIP_g(long varValue)
+ {
+ H5E_CANTCLIP_g$constants.SEGMENT.set(H5E_CANTCLIP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOMPARE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOMPARE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static OfLong H5E_CANTCOMPARE_g$layout() { return H5E_CANTCOMPARE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOMPARE_g$segment() { return H5E_CANTCOMPARE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static long H5E_CANTCOMPARE_g()
+ {
+ return H5E_CANTCOMPARE_g$constants.SEGMENT.get(H5E_CANTCOMPARE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static void H5E_CANTCOMPARE_g(long varValue)
+ {
+ H5E_CANTCOMPARE_g$constants.SEGMENT.set(H5E_CANTCOMPARE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static OfLong H5E_CANTCOUNT_g$layout() { return H5E_CANTCOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOUNT_g$segment() { return H5E_CANTCOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static long H5E_CANTCOUNT_g()
+ {
+ return H5E_CANTCOUNT_g$constants.SEGMENT.get(H5E_CANTCOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static void H5E_CANTCOUNT_g(long varValue)
+ {
+ H5E_CANTCOUNT_g$constants.SEGMENT.set(H5E_CANTCOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTNEXT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTNEXT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static OfLong H5E_CANTNEXT_g$layout() { return H5E_CANTNEXT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTNEXT_g$segment() { return H5E_CANTNEXT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static long H5E_CANTNEXT_g()
+ {
+ return H5E_CANTNEXT_g$constants.SEGMENT.get(H5E_CANTNEXT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static void H5E_CANTNEXT_g(long varValue)
+ {
+ H5E_CANTNEXT_g$constants.SEGMENT.set(H5E_CANTNEXT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSELECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSELECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static OfLong H5E_CANTSELECT_g$layout() { return H5E_CANTSELECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSELECT_g$segment() { return H5E_CANTSELECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static long H5E_CANTSELECT_g()
+ {
+ return H5E_CANTSELECT_g$constants.SEGMENT.get(H5E_CANTSELECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static void H5E_CANTSELECT_g(long varValue)
+ {
+ H5E_CANTSELECT_g$constants.SEGMENT.set(H5E_CANTSELECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_INCONSISTENTSTATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_INCONSISTENTSTATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static OfLong H5E_INCONSISTENTSTATE_g$layout() { return H5E_INCONSISTENTSTATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static MemorySegment H5E_INCONSISTENTSTATE_g$segment()
+ {
+ return H5E_INCONSISTENTSTATE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static long H5E_INCONSISTENTSTATE_g()
+ {
+ return H5E_INCONSISTENTSTATE_g$constants.SEGMENT.get(H5E_INCONSISTENTSTATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static void H5E_INCONSISTENTSTATE_g(long varValue)
+ {
+ H5E_INCONSISTENTSTATE_g$constants.SEGMENT.set(H5E_INCONSISTENTSTATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CLOSEERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CLOSEERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static OfLong H5E_CLOSEERROR_g$layout() { return H5E_CLOSEERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static MemorySegment H5E_CLOSEERROR_g$segment() { return H5E_CLOSEERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static long H5E_CLOSEERROR_g()
+ {
+ return H5E_CLOSEERROR_g$constants.SEGMENT.get(H5E_CLOSEERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static void H5E_CLOSEERROR_g(long varValue)
+ {
+ H5E_CLOSEERROR_g$constants.SEGMENT.set(H5E_CLOSEERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FCNTL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FCNTL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static OfLong H5E_FCNTL_g$layout() { return H5E_FCNTL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static MemorySegment H5E_FCNTL_g$segment() { return H5E_FCNTL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static long H5E_FCNTL_g()
+ {
+ return H5E_FCNTL_g$constants.SEGMENT.get(H5E_FCNTL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static void H5E_FCNTL_g(long varValue)
+ {
+ H5E_FCNTL_g$constants.SEGMENT.set(H5E_FCNTL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OVERFLOW_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OVERFLOW_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static OfLong H5E_OVERFLOW_g$layout() { return H5E_OVERFLOW_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static MemorySegment H5E_OVERFLOW_g$segment() { return H5E_OVERFLOW_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static long H5E_OVERFLOW_g()
+ {
+ return H5E_OVERFLOW_g$constants.SEGMENT.get(H5E_OVERFLOW_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static void H5E_OVERFLOW_g(long varValue)
+ {
+ H5E_OVERFLOW_g$constants.SEGMENT.set(H5E_OVERFLOW_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_READERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_READERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static OfLong H5E_READERROR_g$layout() { return H5E_READERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static MemorySegment H5E_READERROR_g$segment() { return H5E_READERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static long H5E_READERROR_g()
+ {
+ return H5E_READERROR_g$constants.SEGMENT.get(H5E_READERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static void H5E_READERROR_g(long varValue)
+ {
+ H5E_READERROR_g$constants.SEGMENT.set(H5E_READERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SEEKERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SEEKERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static OfLong H5E_SEEKERROR_g$layout() { return H5E_SEEKERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static MemorySegment H5E_SEEKERROR_g$segment() { return H5E_SEEKERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static long H5E_SEEKERROR_g()
+ {
+ return H5E_SEEKERROR_g$constants.SEGMENT.get(H5E_SEEKERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static void H5E_SEEKERROR_g(long varValue)
+ {
+ H5E_SEEKERROR_g$constants.SEGMENT.set(H5E_SEEKERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_WRITEERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_WRITEERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static OfLong H5E_WRITEERROR_g$layout() { return H5E_WRITEERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static MemorySegment H5E_WRITEERROR_g$segment() { return H5E_WRITEERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static long H5E_WRITEERROR_g()
+ {
+ return H5E_WRITEERROR_g$constants.SEGMENT.get(H5E_WRITEERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static void H5E_WRITEERROR_g(long varValue)
+ {
+ H5E_WRITEERROR_g$constants.SEGMENT.set(H5E_WRITEERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static OfLong H5E_BADFILE_g$layout() { return H5E_BADFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static MemorySegment H5E_BADFILE_g$segment() { return H5E_BADFILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static long H5E_BADFILE_g()
+ {
+ return H5E_BADFILE_g$constants.SEGMENT.get(H5E_BADFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static void H5E_BADFILE_g(long varValue)
+ {
+ H5E_BADFILE_g$constants.SEGMENT.set(H5E_BADFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLOSEFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLOSEFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTCLOSEFILE_g$layout() { return H5E_CANTCLOSEFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLOSEFILE_g$segment()
+ {
+ return H5E_CANTCLOSEFILE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static long H5E_CANTCLOSEFILE_g()
+ {
+ return H5E_CANTCLOSEFILE_g$constants.SEGMENT.get(H5E_CANTCLOSEFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static void H5E_CANTCLOSEFILE_g(long varValue)
+ {
+ H5E_CANTCLOSEFILE_g$constants.SEGMENT.set(H5E_CANTCLOSEFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCREATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCREATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static OfLong H5E_CANTCREATE_g$layout() { return H5E_CANTCREATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCREATE_g$segment() { return H5E_CANTCREATE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static long H5E_CANTCREATE_g()
+ {
+ return H5E_CANTCREATE_g$constants.SEGMENT.get(H5E_CANTCREATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static void H5E_CANTCREATE_g(long varValue)
+ {
+ H5E_CANTCREATE_g$constants.SEGMENT.set(H5E_CANTCREATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDELETEFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDELETEFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTDELETEFILE_g$layout() { return H5E_CANTDELETEFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDELETEFILE_g$segment()
+ {
+ return H5E_CANTDELETEFILE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static long H5E_CANTDELETEFILE_g()
+ {
+ return H5E_CANTDELETEFILE_g$constants.SEGMENT.get(H5E_CANTDELETEFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static void H5E_CANTDELETEFILE_g(long varValue)
+ {
+ H5E_CANTDELETEFILE_g$constants.SEGMENT.set(H5E_CANTDELETEFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLOCKFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLOCKFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTLOCKFILE_g$layout() { return H5E_CANTLOCKFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLOCKFILE_g$segment() { return H5E_CANTLOCKFILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static long H5E_CANTLOCKFILE_g()
+ {
+ return H5E_CANTLOCKFILE_g$constants.SEGMENT.get(H5E_CANTLOCKFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static void H5E_CANTLOCKFILE_g(long varValue)
+ {
+ H5E_CANTLOCKFILE_g$constants.SEGMENT.set(H5E_CANTLOCKFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTOPENFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTOPENFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTOPENFILE_g$layout() { return H5E_CANTOPENFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTOPENFILE_g$segment() { return H5E_CANTOPENFILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static long H5E_CANTOPENFILE_g()
+ {
+ return H5E_CANTOPENFILE_g$constants.SEGMENT.get(H5E_CANTOPENFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static void H5E_CANTOPENFILE_g(long varValue)
+ {
+ H5E_CANTOPENFILE_g$constants.SEGMENT.set(H5E_CANTOPENFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNLOCKFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNLOCKFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTUNLOCKFILE_g$layout() { return H5E_CANTUNLOCKFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNLOCKFILE_g$segment()
+ {
+ return H5E_CANTUNLOCKFILE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static long H5E_CANTUNLOCKFILE_g()
+ {
+ return H5E_CANTUNLOCKFILE_g$constants.SEGMENT.get(H5E_CANTUNLOCKFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static void H5E_CANTUNLOCKFILE_g(long varValue)
+ {
+ H5E_CANTUNLOCKFILE_g$constants.SEGMENT.set(H5E_CANTUNLOCKFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FILEEXISTS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FILEEXISTS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static OfLong H5E_FILEEXISTS_g$layout() { return H5E_FILEEXISTS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static MemorySegment H5E_FILEEXISTS_g$segment() { return H5E_FILEEXISTS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static long H5E_FILEEXISTS_g()
+ {
+ return H5E_FILEEXISTS_g$constants.SEGMENT.get(H5E_FILEEXISTS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static void H5E_FILEEXISTS_g(long varValue)
+ {
+ H5E_FILEEXISTS_g$constants.SEGMENT.set(H5E_FILEEXISTS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FILEOPEN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FILEOPEN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static OfLong H5E_FILEOPEN_g$layout() { return H5E_FILEOPEN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static MemorySegment H5E_FILEOPEN_g$segment() { return H5E_FILEOPEN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static long H5E_FILEOPEN_g()
+ {
+ return H5E_FILEOPEN_g$constants.SEGMENT.get(H5E_FILEOPEN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static void H5E_FILEOPEN_g(long varValue)
+ {
+ H5E_FILEOPEN_g$constants.SEGMENT.set(H5E_FILEOPEN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static OfLong H5E_MOUNT_g$layout() { return H5E_MOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_MOUNT_g$segment() { return H5E_MOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static long H5E_MOUNT_g()
+ {
+ return H5E_MOUNT_g$constants.SEGMENT.get(H5E_MOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static void H5E_MOUNT_g(long varValue)
+ {
+ H5E_MOUNT_g$constants.SEGMENT.set(H5E_MOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTHDF5_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTHDF5_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static OfLong H5E_NOTHDF5_g$layout() { return H5E_NOTHDF5_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static MemorySegment H5E_NOTHDF5_g$segment() { return H5E_NOTHDF5_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static long H5E_NOTHDF5_g()
+ {
+ return H5E_NOTHDF5_g$constants.SEGMENT.get(H5E_NOTHDF5_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static void H5E_NOTHDF5_g(long varValue)
+ {
+ H5E_NOTHDF5_g$constants.SEGMENT.set(H5E_NOTHDF5_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_TRUNCATED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_TRUNCATED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static OfLong H5E_TRUNCATED_g$layout() { return H5E_TRUNCATED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static MemorySegment H5E_TRUNCATED_g$segment() { return H5E_TRUNCATED_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static long H5E_TRUNCATED_g()
+ {
+ return H5E_TRUNCATED_g$constants.SEGMENT.get(H5E_TRUNCATED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static void H5E_TRUNCATED_g(long varValue)
+ {
+ H5E_TRUNCATED_g$constants.SEGMENT.set(H5E_TRUNCATED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_UNMOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_UNMOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static OfLong H5E_UNMOUNT_g$layout() { return H5E_UNMOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_UNMOUNT_g$segment() { return H5E_UNMOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static long H5E_UNMOUNT_g()
+ {
+ return H5E_UNMOUNT_g$constants.SEGMENT.get(H5E_UNMOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static void H5E_UNMOUNT_g(long varValue)
+ {
+ H5E_UNMOUNT_g$constants.SEGMENT.set(H5E_UNMOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMERGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMERGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static OfLong H5E_CANTMERGE_g$layout() { return H5E_CANTMERGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMERGE_g$segment() { return H5E_CANTMERGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static long H5E_CANTMERGE_g()
+ {
+ return H5E_CANTMERGE_g$constants.SEGMENT.get(H5E_CANTMERGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static void H5E_CANTMERGE_g(long varValue)
+ {
+ H5E_CANTMERGE_g$constants.SEGMENT.set(H5E_CANTMERGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREVIVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREVIVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static OfLong H5E_CANTREVIVE_g$layout() { return H5E_CANTREVIVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREVIVE_g$segment() { return H5E_CANTREVIVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static long H5E_CANTREVIVE_g()
+ {
+ return H5E_CANTREVIVE_g$constants.SEGMENT.get(H5E_CANTREVIVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static void H5E_CANTREVIVE_g(long varValue)
+ {
+ H5E_CANTREVIVE_g$constants.SEGMENT.set(H5E_CANTREVIVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSHRINK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSHRINK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static OfLong H5E_CANTSHRINK_g$layout() { return H5E_CANTSHRINK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSHRINK_g$segment() { return H5E_CANTSHRINK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static long H5E_CANTSHRINK_g()
+ {
+ return H5E_CANTSHRINK_g$constants.SEGMENT.get(H5E_CANTSHRINK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static void H5E_CANTSHRINK_g(long varValue)
+ {
+ H5E_CANTSHRINK_g$constants.SEGMENT.set(H5E_CANTSHRINK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ALREADYINIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ALREADYINIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static OfLong H5E_ALREADYINIT_g$layout() { return H5E_ALREADYINIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static MemorySegment H5E_ALREADYINIT_g$segment() { return H5E_ALREADYINIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static long H5E_ALREADYINIT_g()
+ {
+ return H5E_ALREADYINIT_g$constants.SEGMENT.get(H5E_ALREADYINIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static void H5E_ALREADYINIT_g(long varValue)
+ {
+ H5E_ALREADYINIT_g$constants.SEGMENT.set(H5E_ALREADYINIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static OfLong H5E_CANTINIT_g$layout() { return H5E_CANTINIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINIT_g$segment() { return H5E_CANTINIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static long H5E_CANTINIT_g()
+ {
+ return H5E_CANTINIT_g$constants.SEGMENT.get(H5E_CANTINIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static void H5E_CANTINIT_g(long varValue)
+ {
+ H5E_CANTINIT_g$constants.SEGMENT.set(H5E_CANTINIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRELEASE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRELEASE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static OfLong H5E_CANTRELEASE_g$layout() { return H5E_CANTRELEASE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRELEASE_g$segment() { return H5E_CANTRELEASE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static long H5E_CANTRELEASE_g()
+ {
+ return H5E_CANTRELEASE_g$constants.SEGMENT.get(H5E_CANTRELEASE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static void H5E_CANTRELEASE_g(long varValue)
+ {
+ H5E_CANTRELEASE_g$constants.SEGMENT.set(H5E_CANTRELEASE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLOSEOBJ_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLOSEOBJ_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static OfLong H5E_CANTCLOSEOBJ_g$layout() { return H5E_CANTCLOSEOBJ_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLOSEOBJ_g$segment() { return H5E_CANTCLOSEOBJ_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static long H5E_CANTCLOSEOBJ_g()
+ {
+ return H5E_CANTCLOSEOBJ_g$constants.SEGMENT.get(H5E_CANTCLOSEOBJ_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static void H5E_CANTCLOSEOBJ_g(long varValue)
+ {
+ H5E_CANTCLOSEOBJ_g$constants.SEGMENT.set(H5E_CANTCLOSEOBJ_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTOPENOBJ_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTOPENOBJ_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static OfLong H5E_CANTOPENOBJ_g$layout() { return H5E_CANTOPENOBJ_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static MemorySegment H5E_CANTOPENOBJ_g$segment() { return H5E_CANTOPENOBJ_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static long H5E_CANTOPENOBJ_g()
+ {
+ return H5E_CANTOPENOBJ_g$constants.SEGMENT.get(H5E_CANTOPENOBJ_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static void H5E_CANTOPENOBJ_g(long varValue)
+ {
+ H5E_CANTOPENOBJ_g$constants.SEGMENT.set(H5E_CANTOPENOBJ_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_COMPLEN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_COMPLEN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static OfLong H5E_COMPLEN_g$layout() { return H5E_COMPLEN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static MemorySegment H5E_COMPLEN_g$segment() { return H5E_COMPLEN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static long H5E_COMPLEN_g()
+ {
+ return H5E_COMPLEN_g$constants.SEGMENT.get(H5E_COMPLEN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static void H5E_COMPLEN_g(long varValue)
+ {
+ H5E_COMPLEN_g$constants.SEGMENT.set(H5E_COMPLEN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PATH_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PATH_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static OfLong H5E_PATH_g$layout() { return H5E_PATH_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static MemorySegment H5E_PATH_g$segment() { return H5E_PATH_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static long H5E_PATH_g()
+ {
+ return H5E_PATH_g$constants.SEGMENT.get(H5E_PATH_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static void H5E_PATH_g(long varValue)
+ {
+ H5E_PATH_g$constants.SEGMENT.set(H5E_PATH_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTATTACH_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTATTACH_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static OfLong H5E_CANTATTACH_g$layout() { return H5E_CANTATTACH_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static MemorySegment H5E_CANTATTACH_g$segment() { return H5E_CANTATTACH_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static long H5E_CANTATTACH_g()
+ {
+ return H5E_CANTATTACH_g$constants.SEGMENT.get(H5E_CANTATTACH_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static void H5E_CANTATTACH_g(long varValue)
+ {
+ H5E_CANTATTACH_g$constants.SEGMENT.set(H5E_CANTATTACH_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOMPUTE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOMPUTE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static OfLong H5E_CANTCOMPUTE_g$layout() { return H5E_CANTCOMPUTE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOMPUTE_g$segment() { return H5E_CANTCOMPUTE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static long H5E_CANTCOMPUTE_g()
+ {
+ return H5E_CANTCOMPUTE_g$constants.SEGMENT.get(H5E_CANTCOMPUTE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static void H5E_CANTCOMPUTE_g(long varValue)
+ {
+ H5E_CANTCOMPUTE_g$constants.SEGMENT.set(H5E_CANTCOMPUTE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTEXTEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTEXTEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static OfLong H5E_CANTEXTEND_g$layout() { return H5E_CANTEXTEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTEXTEND_g$segment() { return H5E_CANTEXTEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static long H5E_CANTEXTEND_g()
+ {
+ return H5E_CANTEXTEND_g$constants.SEGMENT.get(H5E_CANTEXTEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static void H5E_CANTEXTEND_g(long varValue)
+ {
+ H5E_CANTEXTEND_g$constants.SEGMENT.set(H5E_CANTEXTEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTOPERATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTOPERATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static OfLong H5E_CANTOPERATE_g$layout() { return H5E_CANTOPERATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTOPERATE_g$segment() { return H5E_CANTOPERATE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static long H5E_CANTOPERATE_g()
+ {
+ return H5E_CANTOPERATE_g$constants.SEGMENT.get(H5E_CANTOPERATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static void H5E_CANTOPERATE_g(long varValue)
+ {
+ H5E_CANTOPERATE_g$constants.SEGMENT.set(H5E_CANTOPERATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRESTORE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRESTORE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static OfLong H5E_CANTRESTORE_g$layout() { return H5E_CANTRESTORE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRESTORE_g$segment() { return H5E_CANTRESTORE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static long H5E_CANTRESTORE_g()
+ {
+ return H5E_CANTRESTORE_g$constants.SEGMENT.get(H5E_CANTRESTORE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static void H5E_CANTRESTORE_g(long varValue)
+ {
+ H5E_CANTRESTORE_g$constants.SEGMENT.set(H5E_CANTRESTORE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUPDATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUPDATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static OfLong H5E_CANTUPDATE_g$layout() { return H5E_CANTUPDATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUPDATE_g$segment() { return H5E_CANTUPDATE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static long H5E_CANTUPDATE_g()
+ {
+ return H5E_CANTUPDATE_g$constants.SEGMENT.get(H5E_CANTUPDATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static void H5E_CANTUPDATE_g(long varValue)
+ {
+ H5E_CANTUPDATE_g$constants.SEGMENT.set(H5E_CANTUPDATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADGROUP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADGROUP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static OfLong H5E_BADGROUP_g$layout() { return H5E_BADGROUP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static MemorySegment H5E_BADGROUP_g$segment() { return H5E_BADGROUP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static long H5E_BADGROUP_g()
+ {
+ return H5E_BADGROUP_g$constants.SEGMENT.get(H5E_BADGROUP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static void H5E_BADGROUP_g(long varValue)
+ {
+ H5E_BADGROUP_g$constants.SEGMENT.set(H5E_BADGROUP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static OfLong H5E_BADID_g$layout() { return H5E_BADID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static MemorySegment H5E_BADID_g$segment() { return H5E_BADID_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static long H5E_BADID_g()
+ {
+ return H5E_BADID_g$constants.SEGMENT.get(H5E_BADID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static void H5E_BADID_g(long varValue)
+ {
+ H5E_BADID_g$constants.SEGMENT.set(H5E_BADID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDEC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDEC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static OfLong H5E_CANTDEC_g$layout() { return H5E_CANTDEC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDEC_g$segment() { return H5E_CANTDEC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static long H5E_CANTDEC_g()
+ {
+ return H5E_CANTDEC_g$constants.SEGMENT.get(H5E_CANTDEC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static void H5E_CANTDEC_g(long varValue)
+ {
+ H5E_CANTDEC_g$constants.SEGMENT.set(H5E_CANTDEC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static OfLong H5E_CANTINC_g$layout() { return H5E_CANTINC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINC_g$segment() { return H5E_CANTINC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static long H5E_CANTINC_g()
+ {
+ return H5E_CANTINC_g$constants.SEGMENT.get(H5E_CANTINC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static void H5E_CANTINC_g(long varValue)
+ {
+ H5E_CANTINC_g$constants.SEGMENT.set(H5E_CANTINC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREGISTER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREGISTER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static OfLong H5E_CANTREGISTER_g$layout() { return H5E_CANTREGISTER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREGISTER_g$segment() { return H5E_CANTREGISTER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static long H5E_CANTREGISTER_g()
+ {
+ return H5E_CANTREGISTER_g$constants.SEGMENT.get(H5E_CANTREGISTER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static void H5E_CANTREGISTER_g(long varValue)
+ {
+ H5E_CANTREGISTER_g$constants.SEGMENT.set(H5E_CANTREGISTER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOIDS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOIDS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static OfLong H5E_NOIDS_g$layout() { return H5E_NOIDS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static MemorySegment H5E_NOIDS_g$segment() { return H5E_NOIDS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static long H5E_NOIDS_g()
+ {
+ return H5E_NOIDS_g$constants.SEGMENT.get(H5E_NOIDS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static void H5E_NOIDS_g(long varValue)
+ {
+ H5E_NOIDS_g$constants.SEGMENT.set(H5E_NOIDS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMOVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMOVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static OfLong H5E_CANTMOVE_g$layout() { return H5E_CANTMOVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMOVE_g$segment() { return H5E_CANTMOVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static long H5E_CANTMOVE_g()
+ {
+ return H5E_CANTMOVE_g$constants.SEGMENT.get(H5E_CANTMOVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static void H5E_CANTMOVE_g(long varValue)
+ {
+ H5E_CANTMOVE_g$constants.SEGMENT.set(H5E_CANTMOVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSORT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSORT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static OfLong H5E_CANTSORT_g$layout() { return H5E_CANTSORT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSORT_g$segment() { return H5E_CANTSORT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static long H5E_CANTSORT_g()
+ {
+ return H5E_CANTSORT_g$constants.SEGMENT.get(H5E_CANTSORT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static void H5E_CANTSORT_g(long varValue)
+ {
+ H5E_CANTSORT_g$constants.SEGMENT.set(H5E_CANTSORT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NLINKS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NLINKS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static OfLong H5E_NLINKS_g$layout() { return H5E_NLINKS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static MemorySegment H5E_NLINKS_g$segment() { return H5E_NLINKS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static long H5E_NLINKS_g()
+ {
+ return H5E_NLINKS_g$constants.SEGMENT.get(H5E_NLINKS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static void H5E_NLINKS_g(long varValue)
+ {
+ H5E_NLINKS_g$constants.SEGMENT.set(H5E_NLINKS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTREGISTERED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTREGISTERED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static OfLong H5E_NOTREGISTERED_g$layout() { return H5E_NOTREGISTERED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static MemorySegment H5E_NOTREGISTERED_g$segment()
+ {
+ return H5E_NOTREGISTERED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static long H5E_NOTREGISTERED_g()
+ {
+ return H5E_NOTREGISTERED_g$constants.SEGMENT.get(H5E_NOTREGISTERED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static void H5E_NOTREGISTERED_g(long varValue)
+ {
+ H5E_NOTREGISTERED_g$constants.SEGMENT.set(H5E_NOTREGISTERED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_TRAVERSE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_TRAVERSE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static OfLong H5E_TRAVERSE_g$layout() { return H5E_TRAVERSE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static MemorySegment H5E_TRAVERSE_g$segment() { return H5E_TRAVERSE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static long H5E_TRAVERSE_g()
+ {
+ return H5E_TRAVERSE_g$constants.SEGMENT.get(H5E_TRAVERSE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static void H5E_TRAVERSE_g(long varValue)
+ {
+ H5E_TRAVERSE_g$constants.SEGMENT.set(H5E_TRAVERSE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPUT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPUT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static OfLong H5E_CANTPUT_g$layout() { return H5E_CANTPUT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPUT_g$segment() { return H5E_CANTPUT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static long H5E_CANTPUT_g()
+ {
+ return H5E_CANTPUT_g$constants.SEGMENT.get(H5E_CANTPUT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static void H5E_CANTPUT_g(long varValue)
+ {
+ H5E_CANTPUT_g$constants.SEGMENT.set(H5E_CANTPUT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGATHER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGATHER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static OfLong H5E_CANTGATHER_g$layout() { return H5E_CANTGATHER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGATHER_g$segment() { return H5E_CANTGATHER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static long H5E_CANTGATHER_g()
+ {
+ return H5E_CANTGATHER_g$constants.SEGMENT.get(H5E_CANTGATHER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static void H5E_CANTGATHER_g(long varValue)
+ {
+ H5E_CANTGATHER_g$constants.SEGMENT.set(H5E_CANTGATHER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRECV_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRECV_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static OfLong H5E_CANTRECV_g$layout() { return H5E_CANTRECV_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRECV_g$segment() { return H5E_CANTRECV_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static long H5E_CANTRECV_g()
+ {
+ return H5E_CANTRECV_g$constants.SEGMENT.get(H5E_CANTRECV_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static void H5E_CANTRECV_g(long varValue)
+ {
+ H5E_CANTRECV_g$constants.SEGMENT.set(H5E_CANTRECV_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MPI_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MPI_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static OfLong H5E_MPI_g$layout() { return H5E_MPI_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static MemorySegment H5E_MPI_g$segment() { return H5E_MPI_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static long H5E_MPI_g() { return H5E_MPI_g$constants.SEGMENT.get(H5E_MPI_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static void H5E_MPI_g(long varValue)
+ {
+ H5E_MPI_g$constants.SEGMENT.set(H5E_MPI_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MPIERRSTR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MPIERRSTR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static OfLong H5E_MPIERRSTR_g$layout() { return H5E_MPIERRSTR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static MemorySegment H5E_MPIERRSTR_g$segment() { return H5E_MPIERRSTR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static long H5E_MPIERRSTR_g()
+ {
+ return H5E_MPIERRSTR_g$constants.SEGMENT.get(H5E_MPIERRSTR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static void H5E_MPIERRSTR_g(long varValue)
+ {
+ H5E_MPIERRSTR_g$constants.SEGMENT.set(H5E_MPIERRSTR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NO_INDEPENDENT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NO_INDEPENDENT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static OfLong H5E_NO_INDEPENDENT_g$layout() { return H5E_NO_INDEPENDENT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static MemorySegment H5E_NO_INDEPENDENT_g$segment()
+ {
+ return H5E_NO_INDEPENDENT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static long H5E_NO_INDEPENDENT_g()
+ {
+ return H5E_NO_INDEPENDENT_g$constants.SEGMENT.get(H5E_NO_INDEPENDENT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static void H5E_NO_INDEPENDENT_g(long varValue)
+ {
+ H5E_NO_INDEPENDENT_g$constants.SEGMENT.set(H5E_NO_INDEPENDENT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NONE_MINOR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NONE_MINOR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static OfLong H5E_NONE_MINOR_g$layout() { return H5E_NONE_MINOR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static MemorySegment H5E_NONE_MINOR_g$segment() { return H5E_NONE_MINOR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static long H5E_NONE_MINOR_g()
+ {
+ return H5E_NONE_MINOR_g$constants.SEGMENT.get(H5E_NONE_MINOR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static void H5E_NONE_MINOR_g(long varValue)
+ {
+ H5E_NONE_MINOR_g$constants.SEGMENT.set(H5E_NONE_MINOR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ALIGNMENT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ALIGNMENT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static OfLong H5E_ALIGNMENT_g$layout() { return H5E_ALIGNMENT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static MemorySegment H5E_ALIGNMENT_g$segment() { return H5E_ALIGNMENT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static long H5E_ALIGNMENT_g()
+ {
+ return H5E_ALIGNMENT_g$constants.SEGMENT.get(H5E_ALIGNMENT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static void H5E_ALIGNMENT_g(long varValue)
+ {
+ H5E_ALIGNMENT_g$constants.SEGMENT.set(H5E_ALIGNMENT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADITER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADITER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static OfLong H5E_BADITER_g$layout() { return H5E_BADITER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static MemorySegment H5E_BADITER_g$segment() { return H5E_BADITER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static long H5E_BADITER_g()
+ {
+ return H5E_BADITER_g$constants.SEGMENT.get(H5E_BADITER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static void H5E_BADITER_g(long varValue)
+ {
+ H5E_BADITER_g$constants.SEGMENT.set(H5E_BADITER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADMESG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADMESG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static OfLong H5E_BADMESG_g$layout() { return H5E_BADMESG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static MemorySegment H5E_BADMESG_g$segment() { return H5E_BADMESG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static long H5E_BADMESG_g()
+ {
+ return H5E_BADMESG_g$constants.SEGMENT.get(H5E_BADMESG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static void H5E_BADMESG_g(long varValue)
+ {
+ H5E_BADMESG_g$constants.SEGMENT.set(H5E_BADMESG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDELETE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDELETE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static OfLong H5E_CANTDELETE_g$layout() { return H5E_CANTDELETE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDELETE_g$segment() { return H5E_CANTDELETE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static long H5E_CANTDELETE_g()
+ {
+ return H5E_CANTDELETE_g$constants.SEGMENT.get(H5E_CANTDELETE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static void H5E_CANTDELETE_g(long varValue)
+ {
+ H5E_CANTDELETE_g$constants.SEGMENT.set(H5E_CANTDELETE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPACK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPACK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static OfLong H5E_CANTPACK_g$layout() { return H5E_CANTPACK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPACK_g$segment() { return H5E_CANTPACK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static long H5E_CANTPACK_g()
+ {
+ return H5E_CANTPACK_g$constants.SEGMENT.get(H5E_CANTPACK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static void H5E_CANTPACK_g(long varValue)
+ {
+ H5E_CANTPACK_g$constants.SEGMENT.set(H5E_CANTPACK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRENAME_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRENAME_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static OfLong H5E_CANTRENAME_g$layout() { return H5E_CANTRENAME_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRENAME_g$segment() { return H5E_CANTRENAME_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static long H5E_CANTRENAME_g()
+ {
+ return H5E_CANTRENAME_g$constants.SEGMENT.get(H5E_CANTRENAME_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static void H5E_CANTRENAME_g(long varValue)
+ {
+ H5E_CANTRENAME_g$constants.SEGMENT.set(H5E_CANTRENAME_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRESET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRESET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static OfLong H5E_CANTRESET_g$layout() { return H5E_CANTRESET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRESET_g$segment() { return H5E_CANTRESET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static long H5E_CANTRESET_g()
+ {
+ return H5E_CANTRESET_g$constants.SEGMENT.get(H5E_CANTRESET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static void H5E_CANTRESET_g(long varValue)
+ {
+ H5E_CANTRESET_g$constants.SEGMENT.set(H5E_CANTRESET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LINKCOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LINKCOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static OfLong H5E_LINKCOUNT_g$layout() { return H5E_LINKCOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_LINKCOUNT_g$segment() { return H5E_LINKCOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static long H5E_LINKCOUNT_g()
+ {
+ return H5E_LINKCOUNT_g$constants.SEGMENT.get(H5E_LINKCOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static void H5E_LINKCOUNT_g(long varValue)
+ {
+ H5E_LINKCOUNT_g$constants.SEGMENT.set(H5E_LINKCOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_VERSION_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_VERSION_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static OfLong H5E_VERSION_g$layout() { return H5E_VERSION_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static MemorySegment H5E_VERSION_g$segment() { return H5E_VERSION_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static long H5E_VERSION_g()
+ {
+ return H5E_VERSION_g$constants.SEGMENT.get(H5E_VERSION_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static void H5E_VERSION_g(long varValue)
+ {
+ H5E_VERSION_g$constants.SEGMENT.set(H5E_VERSION_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CALLBACK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CALLBACK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static OfLong H5E_CALLBACK_g$layout() { return H5E_CALLBACK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static MemorySegment H5E_CALLBACK_g$segment() { return H5E_CALLBACK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static long H5E_CALLBACK_g()
+ {
+ return H5E_CALLBACK_g$constants.SEGMENT.get(H5E_CALLBACK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static void H5E_CALLBACK_g(long varValue)
+ {
+ H5E_CALLBACK_g$constants.SEGMENT.set(H5E_CALLBACK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANAPPLY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANAPPLY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static OfLong H5E_CANAPPLY_g$layout() { return H5E_CANAPPLY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static MemorySegment H5E_CANAPPLY_g$segment() { return H5E_CANAPPLY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static long H5E_CANAPPLY_g()
+ {
+ return H5E_CANAPPLY_g$constants.SEGMENT.get(H5E_CANAPPLY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static void H5E_CANAPPLY_g(long varValue)
+ {
+ H5E_CANAPPLY_g$constants.SEGMENT.set(H5E_CANAPPLY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFILTER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFILTER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static OfLong H5E_CANTFILTER_g$layout() { return H5E_CANTFILTER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFILTER_g$segment() { return H5E_CANTFILTER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static long H5E_CANTFILTER_g()
+ {
+ return H5E_CANTFILTER_g$constants.SEGMENT.get(H5E_CANTFILTER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static void H5E_CANTFILTER_g(long varValue)
+ {
+ H5E_CANTFILTER_g$constants.SEGMENT.set(H5E_CANTFILTER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOENCODER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOENCODER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static OfLong H5E_NOENCODER_g$layout() { return H5E_NOENCODER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static MemorySegment H5E_NOENCODER_g$segment() { return H5E_NOENCODER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static long H5E_NOENCODER_g()
+ {
+ return H5E_NOENCODER_g$constants.SEGMENT.get(H5E_NOENCODER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static void H5E_NOENCODER_g(long varValue)
+ {
+ H5E_NOENCODER_g$constants.SEGMENT.set(H5E_NOENCODER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOFILTER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOFILTER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static OfLong H5E_NOFILTER_g$layout() { return H5E_NOFILTER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static MemorySegment H5E_NOFILTER_g$segment() { return H5E_NOFILTER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static long H5E_NOFILTER_g()
+ {
+ return H5E_NOFILTER_g$constants.SEGMENT.get(H5E_NOFILTER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static void H5E_NOFILTER_g(long varValue)
+ {
+ H5E_NOFILTER_g$constants.SEGMENT.set(H5E_NOFILTER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SETLOCAL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SETLOCAL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static OfLong H5E_SETLOCAL_g$layout() { return H5E_SETLOCAL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static MemorySegment H5E_SETLOCAL_g$segment() { return H5E_SETLOCAL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static long H5E_SETLOCAL_g()
+ {
+ return H5E_SETLOCAL_g$constants.SEGMENT.get(H5E_SETLOCAL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static void H5E_SETLOCAL_g(long varValue)
+ {
+ H5E_SETLOCAL_g$constants.SEGMENT.set(H5E_SETLOCAL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static OfLong H5E_CANTGET_g$layout() { return H5E_CANTGET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGET_g$segment() { return H5E_CANTGET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static long H5E_CANTGET_g()
+ {
+ return H5E_CANTGET_g$constants.SEGMENT.get(H5E_CANTGET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static void H5E_CANTGET_g(long varValue)
+ {
+ H5E_CANTGET_g$constants.SEGMENT.set(H5E_CANTGET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static OfLong H5E_CANTSET_g$layout() { return H5E_CANTSET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSET_g$segment() { return H5E_CANTSET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static long H5E_CANTSET_g()
+ {
+ return H5E_CANTSET_g$constants.SEGMENT.get(H5E_CANTSET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static void H5E_CANTSET_g(long varValue)
+ {
+ H5E_CANTSET_g$constants.SEGMENT.set(H5E_CANTSET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DUPCLASS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DUPCLASS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static OfLong H5E_DUPCLASS_g$layout() { return H5E_DUPCLASS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static MemorySegment H5E_DUPCLASS_g$segment() { return H5E_DUPCLASS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static long H5E_DUPCLASS_g()
+ {
+ return H5E_DUPCLASS_g$constants.SEGMENT.get(H5E_DUPCLASS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static void H5E_DUPCLASS_g(long varValue)
+ {
+ H5E_DUPCLASS_g$constants.SEGMENT.set(H5E_DUPCLASS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SETDISALLOWED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SETDISALLOWED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static OfLong H5E_SETDISALLOWED_g$layout() { return H5E_SETDISALLOWED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static MemorySegment H5E_SETDISALLOWED_g$segment()
+ {
+ return H5E_SETDISALLOWED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static long H5E_SETDISALLOWED_g()
+ {
+ return H5E_SETDISALLOWED_g$constants.SEGMENT.get(H5E_SETDISALLOWED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static void H5E_SETDISALLOWED_g(long varValue)
+ {
+ H5E_SETDISALLOWED_g$constants.SEGMENT.set(H5E_SETDISALLOWED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OPENERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OPENERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static OfLong H5E_OPENERROR_g$layout() { return H5E_OPENERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static MemorySegment H5E_OPENERROR_g$segment() { return H5E_OPENERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static long H5E_OPENERROR_g()
+ {
+ return H5E_OPENERROR_g$constants.SEGMENT.get(H5E_OPENERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static void H5E_OPENERROR_g(long varValue)
+ {
+ H5E_OPENERROR_g$constants.SEGMENT.set(H5E_OPENERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ALREADYEXISTS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ALREADYEXISTS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static OfLong H5E_ALREADYEXISTS_g$layout() { return H5E_ALREADYEXISTS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static MemorySegment H5E_ALREADYEXISTS_g$segment()
+ {
+ return H5E_ALREADYEXISTS_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static long H5E_ALREADYEXISTS_g()
+ {
+ return H5E_ALREADYEXISTS_g$constants.SEGMENT.get(H5E_ALREADYEXISTS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static void H5E_ALREADYEXISTS_g(long varValue)
+ {
+ H5E_ALREADYEXISTS_g$constants.SEGMENT.set(H5E_ALREADYEXISTS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTALLOC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTALLOC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static OfLong H5E_CANTALLOC_g$layout() { return H5E_CANTALLOC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTALLOC_g$segment() { return H5E_CANTALLOC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static long H5E_CANTALLOC_g()
+ {
+ return H5E_CANTALLOC_g$constants.SEGMENT.get(H5E_CANTALLOC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static void H5E_CANTALLOC_g(long varValue)
+ {
+ H5E_CANTALLOC_g$constants.SEGMENT.set(H5E_CANTALLOC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOPY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOPY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static OfLong H5E_CANTCOPY_g$layout() { return H5E_CANTCOPY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOPY_g$segment() { return H5E_CANTCOPY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static long H5E_CANTCOPY_g()
+ {
+ return H5E_CANTCOPY_g$constants.SEGMENT.get(H5E_CANTCOPY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static void H5E_CANTCOPY_g(long varValue)
+ {
+ H5E_CANTCOPY_g$constants.SEGMENT.set(H5E_CANTCOPY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFREE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFREE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static OfLong H5E_CANTFREE_g$layout() { return H5E_CANTFREE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFREE_g$segment() { return H5E_CANTFREE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static long H5E_CANTFREE_g()
+ {
+ return H5E_CANTFREE_g$constants.SEGMENT.get(H5E_CANTFREE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static void H5E_CANTFREE_g(long varValue)
+ {
+ H5E_CANTFREE_g$constants.SEGMENT.set(H5E_CANTFREE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static OfLong H5E_CANTGC_g$layout() { return H5E_CANTGC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGC_g$segment() { return H5E_CANTGC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static long H5E_CANTGC_g()
+ {
+ return H5E_CANTGC_g$constants.SEGMENT.get(H5E_CANTGC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static void H5E_CANTGC_g(long varValue)
+ {
+ H5E_CANTGC_g$constants.SEGMENT.set(H5E_CANTGC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGETSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGETSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTGETSIZE_g$layout() { return H5E_CANTGETSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGETSIZE_g$segment() { return H5E_CANTGETSIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static long H5E_CANTGETSIZE_g()
+ {
+ return H5E_CANTGETSIZE_g$constants.SEGMENT.get(H5E_CANTGETSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static void H5E_CANTGETSIZE_g(long varValue)
+ {
+ H5E_CANTGETSIZE_g$constants.SEGMENT.set(H5E_CANTGETSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLOCK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLOCK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static OfLong H5E_CANTLOCK_g$layout() { return H5E_CANTLOCK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLOCK_g$segment() { return H5E_CANTLOCK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static long H5E_CANTLOCK_g()
+ {
+ return H5E_CANTLOCK_g$constants.SEGMENT.get(H5E_CANTLOCK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static void H5E_CANTLOCK_g(long varValue)
+ {
+ H5E_CANTLOCK_g$constants.SEGMENT.set(H5E_CANTLOCK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNLOCK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNLOCK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static OfLong H5E_CANTUNLOCK_g$layout() { return H5E_CANTUNLOCK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNLOCK_g$segment() { return H5E_CANTUNLOCK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static long H5E_CANTUNLOCK_g()
+ {
+ return H5E_CANTUNLOCK_g$constants.SEGMENT.get(H5E_CANTUNLOCK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static void H5E_CANTUNLOCK_g(long varValue)
+ {
+ H5E_CANTUNLOCK_g$constants.SEGMENT.set(H5E_CANTUNLOCK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOSPACE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOSPACE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static OfLong H5E_NOSPACE_g$layout() { return H5E_NOSPACE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static MemorySegment H5E_NOSPACE_g$segment() { return H5E_NOSPACE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static long H5E_NOSPACE_g()
+ {
+ return H5E_NOSPACE_g$constants.SEGMENT.get(H5E_NOSPACE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static void H5E_NOSPACE_g(long varValue)
+ {
+ H5E_NOSPACE_g$constants.SEGMENT.set(H5E_NOSPACE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OBJOPEN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OBJOPEN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static OfLong H5E_OBJOPEN_g$layout() { return H5E_OBJOPEN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static MemorySegment H5E_OBJOPEN_g$segment() { return H5E_OBJOPEN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static long H5E_OBJOPEN_g()
+ {
+ return H5E_OBJOPEN_g$constants.SEGMENT.get(H5E_OBJOPEN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static void H5E_OBJOPEN_g(long varValue)
+ {
+ H5E_OBJOPEN_g$constants.SEGMENT.set(H5E_OBJOPEN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SYSERRSTR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SYSERRSTR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static OfLong H5E_SYSERRSTR_g$layout() { return H5E_SYSERRSTR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static MemorySegment H5E_SYSERRSTR_g$segment() { return H5E_SYSERRSTR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static long H5E_SYSERRSTR_g()
+ {
+ return H5E_SYSERRSTR_g$constants.SEGMENT.get(H5E_SYSERRSTR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static void H5E_SYSERRSTR_g(long varValue)
+ {
+ H5E_SYSERRSTR_g$constants.SEGMENT.set(H5E_SYSERRSTR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static OfLong H5E_BADSIZE_g$layout() { return H5E_BADSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static MemorySegment H5E_BADSIZE_g$segment() { return H5E_BADSIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static long H5E_BADSIZE_g()
+ {
+ return H5E_BADSIZE_g$constants.SEGMENT.get(H5E_BADSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static void H5E_BADSIZE_g(long varValue)
+ {
+ H5E_BADSIZE_g$constants.SEGMENT.set(H5E_BADSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCONVERT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCONVERT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static OfLong H5E_CANTCONVERT_g$layout() { return H5E_CANTCONVERT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCONVERT_g$segment() { return H5E_CANTCONVERT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static long H5E_CANTCONVERT_g()
+ {
+ return H5E_CANTCONVERT_g$constants.SEGMENT.get(H5E_CANTCONVERT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static void H5E_CANTCONVERT_g(long varValue)
+ {
+ H5E_CANTCONVERT_g$constants.SEGMENT.set(H5E_CANTCONVERT_g$constants.LAYOUT, 0L, varValue);
+ }
+ private static final int H5E_WALK_UPWARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_direction_t.H5E_WALK_UPWARD = 0
+ * }
+ */
+ public static int H5E_WALK_UPWARD() { return H5E_WALK_UPWARD; }
+ private static final int H5E_WALK_DOWNWARD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_direction_t.H5E_WALK_DOWNWARD = 1
+ * }
+ */
+ public static int H5E_WALK_DOWNWARD() { return H5E_WALK_DOWNWARD; }
+
+ private static class H5Eregister_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eregister_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static FunctionDescriptor H5Eregister_class$descriptor() { return H5Eregister_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static MethodHandle H5Eregister_class$handle() { return H5Eregister_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static MemorySegment H5Eregister_class$address() { return H5Eregister_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static long H5Eregister_class(MemorySegment cls_name, MemorySegment lib_name,
+ MemorySegment version)
+ {
+ var mh$ = H5Eregister_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eregister_class", cls_name, lib_name, version);
+ }
+ return (long)mh$.invokeExact(cls_name, lib_name, version);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eunregister_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eunregister_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eunregister_class$descriptor() { return H5Eunregister_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static MethodHandle H5Eunregister_class$handle() { return H5Eunregister_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static MemorySegment H5Eunregister_class$address() { return H5Eunregister_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static int H5Eunregister_class(long class_id)
+ {
+ var mh$ = H5Eunregister_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eunregister_class", class_id);
+ }
+ return (int)mh$.invokeExact(class_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eclose_msg {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclose_msg");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eclose_msg$descriptor() { return H5Eclose_msg.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static MethodHandle H5Eclose_msg$handle() { return H5Eclose_msg.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static MemorySegment H5Eclose_msg$address() { return H5Eclose_msg.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static int H5Eclose_msg(long err_id)
+ {
+ var mh$ = H5Eclose_msg.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclose_msg", err_id);
+ }
+ return (int)mh$.invokeExact(err_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ecreate_msg {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ecreate_msg");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static FunctionDescriptor H5Ecreate_msg$descriptor() { return H5Ecreate_msg.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static MethodHandle H5Ecreate_msg$handle() { return H5Ecreate_msg.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static MemorySegment H5Ecreate_msg$address() { return H5Ecreate_msg.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static long H5Ecreate_msg(long cls, int msg_type, MemorySegment msg)
+ {
+ var mh$ = H5Ecreate_msg.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ecreate_msg", cls, msg_type, msg);
+ }
+ return (long)mh$.invokeExact(cls, msg_type, msg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ecreate_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ecreate_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static FunctionDescriptor H5Ecreate_stack$descriptor() { return H5Ecreate_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static MethodHandle H5Ecreate_stack$handle() { return H5Ecreate_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static MemorySegment H5Ecreate_stack$address() { return H5Ecreate_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static long H5Ecreate_stack()
+ {
+ var mh$ = H5Ecreate_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ecreate_stack");
+ }
+ return (long)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_current_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_current_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static FunctionDescriptor H5Eget_current_stack$descriptor() { return H5Eget_current_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static MethodHandle H5Eget_current_stack$handle() { return H5Eget_current_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static MemorySegment H5Eget_current_stack$address() { return H5Eget_current_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static long H5Eget_current_stack()
+ {
+ var mh$ = H5Eget_current_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_current_stack");
+ }
+ return (long)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eappend_stack {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eappend_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static FunctionDescriptor H5Eappend_stack$descriptor() { return H5Eappend_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static MethodHandle H5Eappend_stack$handle() { return H5Eappend_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static MemorySegment H5Eappend_stack$address() { return H5Eappend_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static int H5Eappend_stack(long dst_stack_id, long src_stack_id, boolean close_source_stack)
+ {
+ var mh$ = H5Eappend_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eappend_stack", dst_stack_id, src_stack_id, close_source_stack);
+ }
+ return (int)mh$.invokeExact(dst_stack_id, src_stack_id, close_source_stack);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eis_paused {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eis_paused");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static FunctionDescriptor H5Eis_paused$descriptor() { return H5Eis_paused.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static MethodHandle H5Eis_paused$handle() { return H5Eis_paused.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static MemorySegment H5Eis_paused$address() { return H5Eis_paused.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static int H5Eis_paused(long stack_id, MemorySegment is_paused)
+ {
+ var mh$ = H5Eis_paused.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eis_paused", stack_id, is_paused);
+ }
+ return (int)mh$.invokeExact(stack_id, is_paused);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Epause_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epause_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Epause_stack$descriptor() { return H5Epause_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static MethodHandle H5Epause_stack$handle() { return H5Epause_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static MemorySegment H5Epause_stack$address() { return H5Epause_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static int H5Epause_stack(long stack_id)
+ {
+ var mh$ = H5Epause_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epause_stack", stack_id);
+ }
+ return (int)mh$.invokeExact(stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eresume_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eresume_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eresume_stack$descriptor() { return H5Eresume_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static MethodHandle H5Eresume_stack$handle() { return H5Eresume_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static MemorySegment H5Eresume_stack$address() { return H5Eresume_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static int H5Eresume_stack(long stack_id)
+ {
+ var mh$ = H5Eresume_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eresume_stack", stack_id);
+ }
+ return (int)mh$.invokeExact(stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eclose_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclose_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eclose_stack$descriptor() { return H5Eclose_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static MethodHandle H5Eclose_stack$handle() { return H5Eclose_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static MemorySegment H5Eclose_stack$address() { return H5Eclose_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static int H5Eclose_stack(long stack_id)
+ {
+ var mh$ = H5Eclose_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclose_stack", stack_id);
+ }
+ return (int)mh$.invokeExact(stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_class_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_class_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_class_name$descriptor() { return H5Eget_class_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Eget_class_name$handle() { return H5Eget_class_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Eget_class_name$address() { return H5Eget_class_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static long H5Eget_class_name(long class_id, MemorySegment name, long size)
+ {
+ var mh$ = H5Eget_class_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_class_name", class_id, name, size);
+ }
+ return (long)mh$.invokeExact(class_id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eset_current_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eset_current_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eset_current_stack$descriptor() { return H5Eset_current_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static MethodHandle H5Eset_current_stack$handle() { return H5Eset_current_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static MemorySegment H5Eset_current_stack$address() { return H5Eset_current_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static int H5Eset_current_stack(long err_stack_id)
+ {
+ var mh$ = H5Eset_current_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eset_current_stack", err_stack_id);
+ }
+ return (int)mh$.invokeExact(err_stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * herr_t H5Epush2(hid_t err_stack, const char *file, const char *func, unsigned int line, hid_t cls_id,
+ * hid_t maj_id, hid_t min_id, const char *msg, ...)
+ * }
+ */
+ public static class H5Epush2 {
+ private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epush2");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private H5Epush2(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * herr_t H5Epush2(hid_t err_stack, const char *file, const char *func, unsigned int line, hid_t
+ * cls_id, hid_t maj_id, hid_t min_id, const char *msg, ...)
+ * }
+ */
+ public static H5Epush2 makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new H5Epush2(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(long err_stack, MemorySegment file, MemorySegment func, int line, long cls_id,
+ long maj_id, long min_id, MemorySegment msg, Object... x8)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epush2", err_stack, file, func, line, cls_id, maj_id, min_id, msg, x8);
+ }
+ return (int)spreader.invokeExact(err_stack, file, func, line, cls_id, maj_id, min_id, msg,
+ x8);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class H5Epop {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epop");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static FunctionDescriptor H5Epop$descriptor() { return H5Epop.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static MethodHandle H5Epop$handle() { return H5Epop.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static MemorySegment H5Epop$address() { return H5Epop.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static int H5Epop(long err_stack, long count)
+ {
+ var mh$ = H5Epop.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epop", err_stack, count);
+ }
+ return (int)mh$.invokeExact(err_stack, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eprint2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eprint2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static FunctionDescriptor H5Eprint2$descriptor() { return H5Eprint2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static MethodHandle H5Eprint2$handle() { return H5Eprint2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static MemorySegment H5Eprint2$address() { return H5Eprint2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static int H5Eprint2(long err_stack, MemorySegment stream)
+ {
+ var mh$ = H5Eprint2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eprint2", err_stack, stream);
+ }
+ return (int)mh$.invokeExact(err_stack, stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ewalk2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ewalk2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Ewalk2$descriptor() { return H5Ewalk2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Ewalk2$handle() { return H5Ewalk2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Ewalk2$address() { return H5Ewalk2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static int H5Ewalk2(long err_stack, int direction, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Ewalk2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ewalk2", err_stack, direction, func, client_data);
+ }
+ return (int)mh$.invokeExact(err_stack, direction, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_auto2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_auto2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_auto2$descriptor() { return H5Eget_auto2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static MethodHandle H5Eget_auto2$handle() { return H5Eget_auto2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static MemorySegment H5Eget_auto2$address() { return H5Eget_auto2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static int H5Eget_auto2(long estack_id, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eget_auto2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_auto2", estack_id, func, client_data);
+ }
+ return (int)mh$.invokeExact(estack_id, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eset_auto2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eset_auto2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eset_auto2$descriptor() { return H5Eset_auto2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Eset_auto2$handle() { return H5Eset_auto2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Eset_auto2$address() { return H5Eset_auto2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static int H5Eset_auto2(long estack_id, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eset_auto2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eset_auto2", estack_id, func, client_data);
+ }
+ return (int)mh$.invokeExact(estack_id, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eclear2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclear2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static FunctionDescriptor H5Eclear2$descriptor() { return H5Eclear2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static MethodHandle H5Eclear2$handle() { return H5Eclear2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static MemorySegment H5Eclear2$address() { return H5Eclear2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static int H5Eclear2(long err_stack)
+ {
+ var mh$ = H5Eclear2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclear2", err_stack);
+ }
+ return (int)mh$.invokeExact(err_stack);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eauto_is_v2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eauto_is_v2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static FunctionDescriptor H5Eauto_is_v2$descriptor() { return H5Eauto_is_v2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static MethodHandle H5Eauto_is_v2$handle() { return H5Eauto_is_v2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static MemorySegment H5Eauto_is_v2$address() { return H5Eauto_is_v2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static int H5Eauto_is_v2(long err_stack, MemorySegment is_stack)
+ {
+ var mh$ = H5Eauto_is_v2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eauto_is_v2", err_stack, is_stack);
+ }
+ return (int)mh$.invokeExact(err_stack, is_stack);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_msg {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_msg");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_msg$descriptor() { return H5Eget_msg.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static MethodHandle H5Eget_msg$handle() { return H5Eget_msg.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static MemorySegment H5Eget_msg$address() { return H5Eget_msg.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static long H5Eget_msg(long msg_id, MemorySegment type, MemorySegment msg, long size)
+ {
+ var mh$ = H5Eget_msg.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_msg", msg_id, type, msg, size);
+ }
+ return (long)mh$.invokeExact(msg_id, type, msg, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_num {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_num");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_num$descriptor() { return H5Eget_num.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static MethodHandle H5Eget_num$handle() { return H5Eget_num.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static MemorySegment H5Eget_num$address() { return H5Eget_num.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static long H5Eget_num(long error_stack_id)
+ {
+ var mh$ = H5Eget_num.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_num", error_stack_id);
+ }
+ return (long)mh$.invokeExact(error_stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef hid_t H5E_major_t
+ * }
+ */
+ public static final OfLong H5E_major_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef hid_t H5E_minor_t
+ * }
+ */
+ public static final OfLong H5E_minor_t = hdf5_h.C_LONG_LONG;
+
+ private static class H5Eclear1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclear1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static FunctionDescriptor H5Eclear1$descriptor() { return H5Eclear1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static MethodHandle H5Eclear1$handle() { return H5Eclear1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static MemorySegment H5Eclear1$address() { return H5Eclear1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static int H5Eclear1()
+ {
+ var mh$ = H5Eclear1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclear1");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_auto1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_auto1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_auto1$descriptor() { return H5Eget_auto1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static MethodHandle H5Eget_auto1$handle() { return H5Eget_auto1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static MemorySegment H5Eget_auto1$address() { return H5Eget_auto1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static int H5Eget_auto1(MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eget_auto1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_auto1", func, client_data);
+ }
+ return (int)mh$.invokeExact(func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Epush1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epush1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static FunctionDescriptor H5Epush1$descriptor() { return H5Epush1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static MethodHandle H5Epush1$handle() { return H5Epush1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static MemorySegment H5Epush1$address() { return H5Epush1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static int H5Epush1(MemorySegment file, MemorySegment func, int line, long maj, long min,
+ MemorySegment str)
+ {
+ var mh$ = H5Epush1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epush1", file, func, line, maj, min, str);
+ }
+ return (int)mh$.invokeExact(file, func, line, maj, min, str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eprint1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eprint1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static FunctionDescriptor H5Eprint1$descriptor() { return H5Eprint1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static MethodHandle H5Eprint1$handle() { return H5Eprint1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static MemorySegment H5Eprint1$address() { return H5Eprint1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static int H5Eprint1(MemorySegment stream)
+ {
+ var mh$ = H5Eprint1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eprint1", stream);
+ }
+ return (int)mh$.invokeExact(stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eset_auto1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eset_auto1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eset_auto1$descriptor() { return H5Eset_auto1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Eset_auto1$handle() { return H5Eset_auto1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Eset_auto1$address() { return H5Eset_auto1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static int H5Eset_auto1(MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eset_auto1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eset_auto1", func, client_data);
+ }
+ return (int)mh$.invokeExact(func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ewalk1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ewalk1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Ewalk1$descriptor() { return H5Ewalk1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Ewalk1$handle() { return H5Ewalk1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Ewalk1$address() { return H5Ewalk1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static int H5Ewalk1(int direction, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Ewalk1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ewalk1", direction, func, client_data);
+ }
+ return (int)mh$.invokeExact(direction, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_major {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_major");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_major$descriptor() { return H5Eget_major.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static MethodHandle H5Eget_major$handle() { return H5Eget_major.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static MemorySegment H5Eget_major$address() { return H5Eget_major.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static MemorySegment H5Eget_major(long maj)
+ {
+ var mh$ = H5Eget_major.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_major", maj);
+ }
+ return (MemorySegment)mh$.invokeExact(maj);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_minor {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_minor");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_minor$descriptor() { return H5Eget_minor.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static MethodHandle H5Eget_minor$handle() { return H5Eget_minor.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static MemorySegment H5Eget_minor$address() { return H5Eget_minor.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static MemorySegment H5Eget_minor(long min)
+ {
+ var mh$ = H5Eget_minor.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_minor", min);
+ }
+ return (MemorySegment)mh$.invokeExact(min);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5ES_STATUS_IN_PROGRESS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_IN_PROGRESS = 0
+ * }
+ */
+ public static int H5ES_STATUS_IN_PROGRESS() { return H5ES_STATUS_IN_PROGRESS; }
+ private static final int H5ES_STATUS_SUCCEED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_SUCCEED = 1
+ * }
+ */
+ public static int H5ES_STATUS_SUCCEED() { return H5ES_STATUS_SUCCEED; }
+ private static final int H5ES_STATUS_CANCELED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_CANCELED = 2
+ * }
+ */
+ public static int H5ES_STATUS_CANCELED() { return H5ES_STATUS_CANCELED; }
+ private static final int H5ES_STATUS_FAIL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_FAIL = 3
+ * }
+ */
+ public static int H5ES_STATUS_FAIL() { return H5ES_STATUS_FAIL; }
+
+ private static class H5EScreate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5EScreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static FunctionDescriptor H5EScreate$descriptor() { return H5EScreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static MethodHandle H5EScreate$handle() { return H5EScreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static MemorySegment H5EScreate$address() { return H5EScreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static long H5EScreate()
+ {
+ var mh$ = H5EScreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5EScreate");
+ }
+ return (long)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESwait {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESwait");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static FunctionDescriptor H5ESwait$descriptor() { return H5ESwait.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static MethodHandle H5ESwait$handle() { return H5ESwait.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static MemorySegment H5ESwait$address() { return H5ESwait.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static int H5ESwait(long es_id, long timeout, MemorySegment num_in_progress,
+ MemorySegment err_occurred)
+ {
+ var mh$ = H5ESwait.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESwait", es_id, timeout, num_in_progress, err_occurred);
+ }
+ return (int)mh$.invokeExact(es_id, timeout, num_in_progress, err_occurred);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5EScancel {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5EScancel");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static FunctionDescriptor H5EScancel$descriptor() { return H5EScancel.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static MethodHandle H5EScancel$handle() { return H5EScancel.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static MemorySegment H5EScancel$address() { return H5EScancel.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static int H5EScancel(long es_id, MemorySegment num_not_canceled, MemorySegment err_occurred)
+ {
+ var mh$ = H5EScancel.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5EScancel", es_id, num_not_canceled, err_occurred);
+ }
+ return (int)mh$.invokeExact(es_id, num_not_canceled, err_occurred);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_count$descriptor() { return H5ESget_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static MethodHandle H5ESget_count$handle() { return H5ESget_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static MemorySegment H5ESget_count$address() { return H5ESget_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static int H5ESget_count(long es_id, MemorySegment count)
+ {
+ var mh$ = H5ESget_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_count", es_id, count);
+ }
+ return (int)mh$.invokeExact(es_id, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_op_counter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_op_counter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_op_counter$descriptor() { return H5ESget_op_counter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static MethodHandle H5ESget_op_counter$handle() { return H5ESget_op_counter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static MemorySegment H5ESget_op_counter$address() { return H5ESget_op_counter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static int H5ESget_op_counter(long es_id, MemorySegment counter)
+ {
+ var mh$ = H5ESget_op_counter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_op_counter", es_id, counter);
+ }
+ return (int)mh$.invokeExact(es_id, counter);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_err_status {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_err_status");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_err_status$descriptor() { return H5ESget_err_status.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static MethodHandle H5ESget_err_status$handle() { return H5ESget_err_status.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static MemorySegment H5ESget_err_status$address() { return H5ESget_err_status.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static int H5ESget_err_status(long es_id, MemorySegment err_occurred)
+ {
+ var mh$ = H5ESget_err_status.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_err_status", es_id, err_occurred);
+ }
+ return (int)mh$.invokeExact(es_id, err_occurred);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_err_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_err_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_err_count$descriptor() { return H5ESget_err_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static MethodHandle H5ESget_err_count$handle() { return H5ESget_err_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static MemorySegment H5ESget_err_count$address() { return H5ESget_err_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static int H5ESget_err_count(long es_id, MemorySegment num_errs)
+ {
+ var mh$ = H5ESget_err_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_err_count", es_id, num_errs);
+ }
+ return (int)mh$.invokeExact(es_id, num_errs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_err_info {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_err_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_err_info$descriptor() { return H5ESget_err_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static MethodHandle H5ESget_err_info$handle() { return H5ESget_err_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static MemorySegment H5ESget_err_info$address() { return H5ESget_err_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static int H5ESget_err_info(long es_id, long num_err_info, MemorySegment err_info,
+ MemorySegment err_cleared)
+ {
+ var mh$ = H5ESget_err_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_err_info", es_id, num_err_info, err_info, err_cleared);
+ }
+ return (int)mh$.invokeExact(es_id, num_err_info, err_info, err_cleared);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESfree_err_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESfree_err_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static FunctionDescriptor H5ESfree_err_info$descriptor() { return H5ESfree_err_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static MethodHandle H5ESfree_err_info$handle() { return H5ESfree_err_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static MemorySegment H5ESfree_err_info$address() { return H5ESfree_err_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static int H5ESfree_err_info(long num_err_info, MemorySegment err_info)
+ {
+ var mh$ = H5ESfree_err_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESfree_err_info", num_err_info, err_info);
+ }
+ return (int)mh$.invokeExact(num_err_info, err_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESregister_insert_func {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESregister_insert_func");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5ESregister_insert_func$descriptor()
+ {
+ return H5ESregister_insert_func.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static MethodHandle H5ESregister_insert_func$handle() { return H5ESregister_insert_func.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static MemorySegment H5ESregister_insert_func$address() { return H5ESregister_insert_func.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static int H5ESregister_insert_func(long es_id, MemorySegment func, MemorySegment ctx)
+ {
+ var mh$ = H5ESregister_insert_func.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESregister_insert_func", es_id, func, ctx);
+ }
+ return (int)mh$.invokeExact(es_id, func, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESregister_complete_func {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESregister_complete_func");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5ESregister_complete_func$descriptor()
+ {
+ return H5ESregister_complete_func.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static MethodHandle H5ESregister_complete_func$handle()
+ {
+ return H5ESregister_complete_func.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static MemorySegment H5ESregister_complete_func$address()
+ {
+ return H5ESregister_complete_func.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static int H5ESregister_complete_func(long es_id, MemorySegment func, MemorySegment ctx)
+ {
+ var mh$ = H5ESregister_complete_func.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESregister_complete_func", es_id, func, ctx);
+ }
+ return (int)mh$.invokeExact(es_id, func, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5ESclose$descriptor() { return H5ESclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5ESclose$handle() { return H5ESclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5ESclose$address() { return H5ESclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static int H5ESclose(long es_id)
+ {
+ var mh$ = H5ESclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESclose", es_id);
+ }
+ return (int)mh$.invokeExact(es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5F_SCOPE_LOCAL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_scope_t.H5F_SCOPE_LOCAL = 0
+ * }
+ */
+ public static int H5F_SCOPE_LOCAL() { return H5F_SCOPE_LOCAL; }
+ private static final int H5F_SCOPE_GLOBAL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_scope_t.H5F_SCOPE_GLOBAL = 1
+ * }
+ */
+ public static int H5F_SCOPE_GLOBAL() { return H5F_SCOPE_GLOBAL; }
+ private static final int H5F_CLOSE_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_DEFAULT = 0
+ * }
+ */
+ public static int H5F_CLOSE_DEFAULT() { return H5F_CLOSE_DEFAULT; }
+ private static final int H5F_CLOSE_WEAK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_WEAK = 1
+ * }
+ */
+ public static int H5F_CLOSE_WEAK() { return H5F_CLOSE_WEAK; }
+ private static final int H5F_CLOSE_SEMI = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_SEMI = 2
+ * }
+ */
+ public static int H5F_CLOSE_SEMI() { return H5F_CLOSE_SEMI; }
+ private static final int H5F_CLOSE_STRONG = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_STRONG = 3
+ * }
+ */
+ public static int H5F_CLOSE_STRONG() { return H5F_CLOSE_STRONG; }
+ private static final int H5FD_MEM_NOLIST = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_NOLIST = -1
+ * }
+ */
+ public static int H5FD_MEM_NOLIST() { return H5FD_MEM_NOLIST; }
+ private static final int H5FD_MEM_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_DEFAULT = 0
+ * }
+ */
+ public static int H5FD_MEM_DEFAULT() { return H5FD_MEM_DEFAULT; }
+ private static final int H5FD_MEM_SUPER = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_SUPER = 1
+ * }
+ */
+ public static int H5FD_MEM_SUPER() { return H5FD_MEM_SUPER; }
+ private static final int H5FD_MEM_BTREE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_BTREE = 2
+ * }
+ */
+ public static int H5FD_MEM_BTREE() { return H5FD_MEM_BTREE; }
+ private static final int H5FD_MEM_DRAW = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_DRAW = 3
+ * }
+ */
+ public static int H5FD_MEM_DRAW() { return H5FD_MEM_DRAW; }
+ private static final int H5FD_MEM_GHEAP = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_GHEAP = 4
+ * }
+ */
+ public static int H5FD_MEM_GHEAP() { return H5FD_MEM_GHEAP; }
+ private static final int H5FD_MEM_LHEAP = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_LHEAP = 5
+ * }
+ */
+ public static int H5FD_MEM_LHEAP() { return H5FD_MEM_LHEAP; }
+ private static final int H5FD_MEM_OHDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_OHDR = 6
+ * }
+ */
+ public static int H5FD_MEM_OHDR() { return H5FD_MEM_OHDR; }
+ private static final int H5FD_MEM_NTYPES = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_NTYPES = 7
+ * }
+ */
+ public static int H5FD_MEM_NTYPES() { return H5FD_MEM_NTYPES; }
+ private static final int H5F_LIBVER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_ERROR = -1
+ * }
+ */
+ public static int H5F_LIBVER_ERROR() { return H5F_LIBVER_ERROR; }
+ private static final int H5F_LIBVER_EARLIEST = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_EARLIEST = 0
+ * }
+ */
+ public static int H5F_LIBVER_EARLIEST() { return H5F_LIBVER_EARLIEST; }
+ private static final int H5F_LIBVER_V18 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V18 = 1
+ * }
+ */
+ public static int H5F_LIBVER_V18() { return H5F_LIBVER_V18; }
+ private static final int H5F_LIBVER_V110 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V110 = 2
+ * }
+ */
+ public static int H5F_LIBVER_V110() { return H5F_LIBVER_V110; }
+ private static final int H5F_LIBVER_V112 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V112 = 3
+ * }
+ */
+ public static int H5F_LIBVER_V112() { return H5F_LIBVER_V112; }
+ private static final int H5F_LIBVER_V114 = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V114 = 4
+ * }
+ */
+ public static int H5F_LIBVER_V114() { return H5F_LIBVER_V114; }
+ private static final int H5F_LIBVER_V200 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V200 = 5
+ * }
+ */
+ public static int H5F_LIBVER_V200() { return H5F_LIBVER_V200; }
+ private static final int H5F_LIBVER_LATEST = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_LATEST = 5
+ * }
+ */
+ public static int H5F_LIBVER_LATEST() { return H5F_LIBVER_LATEST; }
+ private static final int H5F_LIBVER_NBOUNDS = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_NBOUNDS = 6
+ * }
+ */
+ public static int H5F_LIBVER_NBOUNDS() { return H5F_LIBVER_NBOUNDS; }
+ private static final int H5F_FSPACE_STRATEGY_FSM_AGGR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_FSM_AGGR = 0
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_FSM_AGGR() { return H5F_FSPACE_STRATEGY_FSM_AGGR; }
+ private static final int H5F_FSPACE_STRATEGY_PAGE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_PAGE = 1
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_PAGE() { return H5F_FSPACE_STRATEGY_PAGE; }
+ private static final int H5F_FSPACE_STRATEGY_AGGR = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_AGGR = 2
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_AGGR() { return H5F_FSPACE_STRATEGY_AGGR; }
+ private static final int H5F_FSPACE_STRATEGY_NONE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_NONE = 3
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_NONE() { return H5F_FSPACE_STRATEGY_NONE; }
+ private static final int H5F_FSPACE_STRATEGY_NTYPES = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_NTYPES = 4
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_NTYPES() { return H5F_FSPACE_STRATEGY_NTYPES; }
+ private static final int H5F_FILE_SPACE_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_DEFAULT = 0
+ * }
+ */
+ public static int H5F_FILE_SPACE_DEFAULT() { return H5F_FILE_SPACE_DEFAULT; }
+ private static final int H5F_FILE_SPACE_ALL_PERSIST = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_ALL_PERSIST = 1
+ * }
+ */
+ public static int H5F_FILE_SPACE_ALL_PERSIST() { return H5F_FILE_SPACE_ALL_PERSIST; }
+ private static final int H5F_FILE_SPACE_ALL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_ALL = 2
+ * }
+ */
+ public static int H5F_FILE_SPACE_ALL() { return H5F_FILE_SPACE_ALL; }
+ private static final int H5F_FILE_SPACE_AGGR_VFD = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_AGGR_VFD = 3
+ * }
+ */
+ public static int H5F_FILE_SPACE_AGGR_VFD() { return H5F_FILE_SPACE_AGGR_VFD; }
+ private static final int H5F_FILE_SPACE_VFD = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_VFD = 4
+ * }
+ */
+ public static int H5F_FILE_SPACE_VFD() { return H5F_FILE_SPACE_VFD; }
+ private static final int H5F_FILE_SPACE_NTYPES = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_NTYPES = 5
+ * }
+ */
+ public static int H5F_FILE_SPACE_NTYPES() { return H5F_FILE_SPACE_NTYPES; }
+
+ private static class H5Fis_accessible {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fis_accessible");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fis_accessible$descriptor() { return H5Fis_accessible.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fis_accessible$handle() { return H5Fis_accessible.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fis_accessible$address() { return H5Fis_accessible.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static int H5Fis_accessible(MemorySegment container_name, long fapl_id)
+ {
+ var mh$ = H5Fis_accessible.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fis_accessible", container_name, fapl_id);
+ }
+ return (int)mh$.invokeExact(container_name, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fcreate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fcreate$descriptor() { return H5Fcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fcreate$handle() { return H5Fcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fcreate$address() { return H5Fcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static long H5Fcreate(MemorySegment filename, int flags, long fcpl_id, long fapl_id)
+ {
+ var mh$ = H5Fcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fcreate", filename, flags, fcpl_id, fapl_id);
+ }
+ return (long)mh$.invokeExact(filename, flags, fcpl_id, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fcreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fcreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fcreate_async$descriptor() { return H5Fcreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fcreate_async$handle() { return H5Fcreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fcreate_async$address() { return H5Fcreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Fcreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment filename, int flags, long fcpl_id, long fapl_id,
+ long es_id)
+ {
+ var mh$ = H5Fcreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fcreate_async", app_file, app_func, app_line, filename, flags, fcpl_id,
+ fapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, filename, flags, fcpl_id, fapl_id,
+ es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fopen$descriptor() { return H5Fopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fopen$handle() { return H5Fopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fopen$address() { return H5Fopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static long H5Fopen(MemorySegment filename, int flags, long fapl_id)
+ {
+ var mh$ = H5Fopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fopen", filename, flags, fapl_id);
+ }
+ return (long)mh$.invokeExact(filename, flags, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fopen_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fopen_async$descriptor() { return H5Fopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fopen_async$handle() { return H5Fopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fopen_async$address() { return H5Fopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static long H5Fopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment filename, int flags, long access_plist, long es_id)
+ {
+ var mh$ = H5Fopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fopen_async", app_file, app_func, app_line, filename, flags, access_plist,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, filename, flags, access_plist, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freopen$descriptor() { return H5Freopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Freopen$handle() { return H5Freopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Freopen$address() { return H5Freopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static long H5Freopen(long file_id)
+ {
+ var mh$ = H5Freopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freopen", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freopen_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freopen_async$descriptor() { return H5Freopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Freopen_async$handle() { return H5Freopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Freopen_async$address() { return H5Freopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static long H5Freopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long file_id, long es_id)
+ {
+ var mh$ = H5Freopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freopen_async", app_file, app_func, app_line, file_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, file_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fflush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static FunctionDescriptor H5Fflush$descriptor() { return H5Fflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static MethodHandle H5Fflush$handle() { return H5Fflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static MemorySegment H5Fflush$address() { return H5Fflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static int H5Fflush(long object_id, int scope)
+ {
+ var mh$ = H5Fflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fflush", object_id, scope);
+ }
+ return (int)mh$.invokeExact(object_id, scope);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fflush_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fflush_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fflush_async$descriptor() { return H5Fflush_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fflush_async$handle() { return H5Fflush_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fflush_async$address() { return H5Fflush_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static int H5Fflush_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long object_id, int scope, long es_id)
+ {
+ var mh$ = H5Fflush_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fflush_async", app_file, app_func, app_line, object_id, scope, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, object_id, scope, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fclose$descriptor() { return H5Fclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fclose$handle() { return H5Fclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fclose$address() { return H5Fclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static int H5Fclose(long file_id)
+ {
+ var mh$ = H5Fclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fclose", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fclose_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fclose_async$descriptor() { return H5Fclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fclose_async$handle() { return H5Fclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fclose_async$address() { return H5Fclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Fclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long file_id, long es_id)
+ {
+ var mh$ = H5Fclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fclose_async", app_file, app_func, app_line, file_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, file_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fdelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fdelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fdelete$descriptor() { return H5Fdelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fdelete$handle() { return H5Fdelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fdelete$address() { return H5Fdelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static int H5Fdelete(MemorySegment filename, long fapl_id)
+ {
+ var mh$ = H5Fdelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fdelete", filename, fapl_id);
+ }
+ return (int)mh$.invokeExact(filename, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_create_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_create_plist$descriptor() { return H5Fget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fget_create_plist$handle() { return H5Fget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fget_create_plist$address() { return H5Fget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static long H5Fget_create_plist(long file_id)
+ {
+ var mh$ = H5Fget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_create_plist", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_access_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_access_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_access_plist$descriptor() { return H5Fget_access_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fget_access_plist$handle() { return H5Fget_access_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fget_access_plist$address() { return H5Fget_access_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static long H5Fget_access_plist(long file_id)
+ {
+ var mh$ = H5Fget_access_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_access_plist", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_intent {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_intent");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_intent$descriptor() { return H5Fget_intent.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static MethodHandle H5Fget_intent$handle() { return H5Fget_intent.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static MemorySegment H5Fget_intent$address() { return H5Fget_intent.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static int H5Fget_intent(long file_id, MemorySegment intent)
+ {
+ var mh$ = H5Fget_intent.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_intent", file_id, intent);
+ }
+ return (int)mh$.invokeExact(file_id, intent);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_fileno {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_fileno");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_fileno$descriptor() { return H5Fget_fileno.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static MethodHandle H5Fget_fileno$handle() { return H5Fget_fileno.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static MemorySegment H5Fget_fileno$address() { return H5Fget_fileno.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static int H5Fget_fileno(long file_id, MemorySegment fileno)
+ {
+ var mh$ = H5Fget_fileno.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_fileno", file_id, fileno);
+ }
+ return (int)mh$.invokeExact(file_id, fileno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_obj_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_obj_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_obj_count$descriptor() { return H5Fget_obj_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static MethodHandle H5Fget_obj_count$handle() { return H5Fget_obj_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static MemorySegment H5Fget_obj_count$address() { return H5Fget_obj_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static long H5Fget_obj_count(long file_id, int types)
+ {
+ var mh$ = H5Fget_obj_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_obj_count", file_id, types);
+ }
+ return (long)mh$.invokeExact(file_id, types);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_obj_ids {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_obj_ids");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_obj_ids$descriptor() { return H5Fget_obj_ids.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static MethodHandle H5Fget_obj_ids$handle() { return H5Fget_obj_ids.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static MemorySegment H5Fget_obj_ids$address() { return H5Fget_obj_ids.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static long H5Fget_obj_ids(long file_id, int types, long max_objs, MemorySegment obj_id_list)
+ {
+ var mh$ = H5Fget_obj_ids.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_obj_ids", file_id, types, max_objs, obj_id_list);
+ }
+ return (long)mh$.invokeExact(file_id, types, max_objs, obj_id_list);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_vfd_handle {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_vfd_handle");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_vfd_handle$descriptor() { return H5Fget_vfd_handle.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MethodHandle H5Fget_vfd_handle$handle() { return H5Fget_vfd_handle.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MemorySegment H5Fget_vfd_handle$address() { return H5Fget_vfd_handle.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static int H5Fget_vfd_handle(long file_id, long fapl, MemorySegment file_handle)
+ {
+ var mh$ = H5Fget_vfd_handle.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_vfd_handle", file_id, fapl, file_handle);
+ }
+ return (int)mh$.invokeExact(file_id, fapl, file_handle);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fmount {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fmount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static FunctionDescriptor H5Fmount$descriptor() { return H5Fmount.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static MethodHandle H5Fmount$handle() { return H5Fmount.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static MemorySegment H5Fmount$address() { return H5Fmount.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static int H5Fmount(long loc_id, MemorySegment name, long child, long plist)
+ {
+ var mh$ = H5Fmount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fmount", loc_id, name, child, plist);
+ }
+ return (int)mh$.invokeExact(loc_id, name, child, plist);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Funmount {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Funmount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Funmount$descriptor() { return H5Funmount.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Funmount$handle() { return H5Funmount.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Funmount$address() { return H5Funmount.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static int H5Funmount(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Funmount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Funmount", loc_id, name);
+ }
+ return (int)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_freespace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_freespace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_freespace$descriptor() { return H5Fget_freespace.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fget_freespace$handle() { return H5Fget_freespace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fget_freespace$address() { return H5Fget_freespace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static long H5Fget_freespace(long file_id)
+ {
+ var mh$ = H5Fget_freespace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_freespace", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_filesize {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_filesize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_filesize$descriptor() { return H5Fget_filesize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Fget_filesize$handle() { return H5Fget_filesize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Fget_filesize$address() { return H5Fget_filesize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static int H5Fget_filesize(long file_id, MemorySegment size)
+ {
+ var mh$ = H5Fget_filesize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_filesize", file_id, size);
+ }
+ return (int)mh$.invokeExact(file_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_eoa {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_eoa");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_eoa$descriptor() { return H5Fget_eoa.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static MethodHandle H5Fget_eoa$handle() { return H5Fget_eoa.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static MemorySegment H5Fget_eoa$address() { return H5Fget_eoa.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static int H5Fget_eoa(long file_id, MemorySegment eoa)
+ {
+ var mh$ = H5Fget_eoa.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_eoa", file_id, eoa);
+ }
+ return (int)mh$.invokeExact(file_id, eoa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fincrement_filesize {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fincrement_filesize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static FunctionDescriptor H5Fincrement_filesize$descriptor() { return H5Fincrement_filesize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static MethodHandle H5Fincrement_filesize$handle() { return H5Fincrement_filesize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static MemorySegment H5Fincrement_filesize$address() { return H5Fincrement_filesize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static int H5Fincrement_filesize(long file_id, long increment)
+ {
+ var mh$ = H5Fincrement_filesize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fincrement_filesize", file_id, increment);
+ }
+ return (int)mh$.invokeExact(file_id, increment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_file_image {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_file_image");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_file_image$descriptor() { return H5Fget_file_image.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MethodHandle H5Fget_file_image$handle() { return H5Fget_file_image.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MemorySegment H5Fget_file_image$address() { return H5Fget_file_image.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static long H5Fget_file_image(long file_id, MemorySegment buf_ptr, long buf_len)
+ {
+ var mh$ = H5Fget_file_image.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_file_image", file_id, buf_ptr, buf_len);
+ }
+ return (long)mh$.invokeExact(file_id, buf_ptr, buf_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_config$descriptor() { return H5Fget_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_config$handle() { return H5Fget_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_config$address() { return H5Fget_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Fget_mdc_config(long file_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Fget_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_config", file_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_mdc_config$descriptor() { return H5Fset_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Fset_mdc_config$handle() { return H5Fset_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Fset_mdc_config$address() { return H5Fset_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Fset_mdc_config(long file_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Fset_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_mdc_config", file_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_hit_rate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_hit_rate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_hit_rate$descriptor() { return H5Fget_mdc_hit_rate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_hit_rate$handle() { return H5Fget_mdc_hit_rate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_hit_rate$address() { return H5Fget_mdc_hit_rate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static int H5Fget_mdc_hit_rate(long file_id, MemorySegment hit_rate_ptr)
+ {
+ var mh$ = H5Fget_mdc_hit_rate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_hit_rate", file_id, hit_rate_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, hit_rate_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_size$descriptor() { return H5Fget_mdc_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_size$handle() { return H5Fget_mdc_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_size$address() { return H5Fget_mdc_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static int H5Fget_mdc_size(long file_id, MemorySegment max_size_ptr,
+ MemorySegment min_clean_size_ptr, MemorySegment cur_size_ptr,
+ MemorySegment cur_num_entries_ptr)
+ {
+ var mh$ = H5Fget_mdc_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_size", file_id, max_size_ptr, min_clean_size_ptr, cur_size_ptr,
+ cur_num_entries_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, max_size_ptr, min_clean_size_ptr, cur_size_ptr,
+ cur_num_entries_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freset_mdc_hit_rate_stats {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freset_mdc_hit_rate_stats");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freset_mdc_hit_rate_stats$descriptor()
+ {
+ return H5Freset_mdc_hit_rate_stats.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Freset_mdc_hit_rate_stats$handle()
+ {
+ return H5Freset_mdc_hit_rate_stats.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Freset_mdc_hit_rate_stats$address()
+ {
+ return H5Freset_mdc_hit_rate_stats.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static int H5Freset_mdc_hit_rate_stats(long file_id)
+ {
+ var mh$ = H5Freset_mdc_hit_rate_stats.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freset_mdc_hit_rate_stats", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_name$descriptor() { return H5Fget_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Fget_name$handle() { return H5Fget_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Fget_name$address() { return H5Fget_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static long H5Fget_name(long obj_id, MemorySegment name, long size)
+ {
+ var mh$ = H5Fget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_name", obj_id, name, size);
+ }
+ return (long)mh$.invokeExact(obj_id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_info2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_info2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_info2$descriptor() { return H5Fget_info2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static MethodHandle H5Fget_info2$handle() { return H5Fget_info2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static MemorySegment H5Fget_info2$address() { return H5Fget_info2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static int H5Fget_info2(long obj_id, MemorySegment file_info)
+ {
+ var mh$ = H5Fget_info2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_info2", obj_id, file_info);
+ }
+ return (int)mh$.invokeExact(obj_id, file_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_metadata_read_retry_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_metadata_read_retry_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_metadata_read_retry_info$descriptor()
+ {
+ return H5Fget_metadata_read_retry_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static MethodHandle H5Fget_metadata_read_retry_info$handle()
+ {
+ return H5Fget_metadata_read_retry_info.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static MemorySegment H5Fget_metadata_read_retry_info$address()
+ {
+ return H5Fget_metadata_read_retry_info.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static int H5Fget_metadata_read_retry_info(long file_id, MemorySegment info)
+ {
+ var mh$ = H5Fget_metadata_read_retry_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_metadata_read_retry_info", file_id, info);
+ }
+ return (int)mh$.invokeExact(file_id, info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fstart_swmr_write {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fstart_swmr_write");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fstart_swmr_write$descriptor() { return H5Fstart_swmr_write.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fstart_swmr_write$handle() { return H5Fstart_swmr_write.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fstart_swmr_write$address() { return H5Fstart_swmr_write.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static int H5Fstart_swmr_write(long file_id)
+ {
+ var mh$ = H5Fstart_swmr_write.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fstart_swmr_write", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_free_sections {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_free_sections");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_free_sections$descriptor() { return H5Fget_free_sections.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static MethodHandle H5Fget_free_sections$handle() { return H5Fget_free_sections.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static MemorySegment H5Fget_free_sections$address() { return H5Fget_free_sections.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static long H5Fget_free_sections(long file_id, int type, long nsects, MemorySegment sect_info)
+ {
+ var mh$ = H5Fget_free_sections.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_free_sections", file_id, type, nsects, sect_info);
+ }
+ return (long)mh$.invokeExact(file_id, type, nsects, sect_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fclear_elink_file_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fclear_elink_file_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fclear_elink_file_cache$descriptor()
+ {
+ return H5Fclear_elink_file_cache.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fclear_elink_file_cache$handle() { return H5Fclear_elink_file_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fclear_elink_file_cache$address() { return H5Fclear_elink_file_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static int H5Fclear_elink_file_cache(long file_id)
+ {
+ var mh$ = H5Fclear_elink_file_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fclear_elink_file_cache", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_libver_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_libver_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_libver_bounds$descriptor() { return H5Fset_libver_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MethodHandle H5Fset_libver_bounds$handle() { return H5Fset_libver_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MemorySegment H5Fset_libver_bounds$address() { return H5Fset_libver_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static int H5Fset_libver_bounds(long file_id, int low, int high)
+ {
+ var mh$ = H5Fset_libver_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_libver_bounds", file_id, low, high);
+ }
+ return (int)mh$.invokeExact(file_id, low, high);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fstart_mdc_logging {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fstart_mdc_logging");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fstart_mdc_logging$descriptor() { return H5Fstart_mdc_logging.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fstart_mdc_logging$handle() { return H5Fstart_mdc_logging.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fstart_mdc_logging$address() { return H5Fstart_mdc_logging.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static int H5Fstart_mdc_logging(long file_id)
+ {
+ var mh$ = H5Fstart_mdc_logging.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fstart_mdc_logging", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fstop_mdc_logging {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fstop_mdc_logging");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fstop_mdc_logging$descriptor() { return H5Fstop_mdc_logging.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fstop_mdc_logging$handle() { return H5Fstop_mdc_logging.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fstop_mdc_logging$address() { return H5Fstop_mdc_logging.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static int H5Fstop_mdc_logging(long file_id)
+ {
+ var mh$ = H5Fstop_mdc_logging.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fstop_mdc_logging", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_logging_status {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_logging_status");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_logging_status$descriptor()
+ {
+ return H5Fget_mdc_logging_status.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_logging_status$handle() { return H5Fget_mdc_logging_status.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_logging_status$address() { return H5Fget_mdc_logging_status.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static int H5Fget_mdc_logging_status(long file_id, MemorySegment is_enabled,
+ MemorySegment is_currently_logging)
+ {
+ var mh$ = H5Fget_mdc_logging_status.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_logging_status", file_id, is_enabled, is_currently_logging);
+ }
+ return (int)mh$.invokeExact(file_id, is_enabled, is_currently_logging);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freset_page_buffering_stats {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freset_page_buffering_stats");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freset_page_buffering_stats$descriptor()
+ {
+ return H5Freset_page_buffering_stats.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Freset_page_buffering_stats$handle()
+ {
+ return H5Freset_page_buffering_stats.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Freset_page_buffering_stats$address()
+ {
+ return H5Freset_page_buffering_stats.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static int H5Freset_page_buffering_stats(long file_id)
+ {
+ var mh$ = H5Freset_page_buffering_stats.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freset_page_buffering_stats", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_page_buffering_stats {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_page_buffering_stats");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static FunctionDescriptor H5Fget_page_buffering_stats$descriptor()
+ {
+ return H5Fget_page_buffering_stats.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static MethodHandle H5Fget_page_buffering_stats$handle()
+ {
+ return H5Fget_page_buffering_stats.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static MemorySegment H5Fget_page_buffering_stats$address()
+ {
+ return H5Fget_page_buffering_stats.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static int H5Fget_page_buffering_stats(long file_id, MemorySegment accesses, MemorySegment hits,
+ MemorySegment misses, MemorySegment evictions,
+ MemorySegment bypasses)
+ {
+ var mh$ = H5Fget_page_buffering_stats.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_page_buffering_stats", file_id, accesses, hits, misses, evictions,
+ bypasses);
+ }
+ return (int)mh$.invokeExact(file_id, accesses, hits, misses, evictions, bypasses);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_image_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_image_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_image_info$descriptor() { return H5Fget_mdc_image_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_image_info$handle() { return H5Fget_mdc_image_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_image_info$address() { return H5Fget_mdc_image_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static int H5Fget_mdc_image_info(long file_id, MemorySegment image_addr, MemorySegment image_size)
+ {
+ var mh$ = H5Fget_mdc_image_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_image_info", file_id, image_addr, image_size);
+ }
+ return (int)mh$.invokeExact(file_id, image_addr, image_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_dset_no_attrs_hint$descriptor()
+ {
+ return H5Fget_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static MethodHandle H5Fget_dset_no_attrs_hint$handle() { return H5Fget_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static MemorySegment H5Fget_dset_no_attrs_hint$address() { return H5Fget_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static int H5Fget_dset_no_attrs_hint(long file_id, MemorySegment minimize)
+ {
+ var mh$ = H5Fget_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_dset_no_attrs_hint", file_id, minimize);
+ }
+ return (int)mh$.invokeExact(file_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_dset_no_attrs_hint$descriptor()
+ {
+ return H5Fset_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static MethodHandle H5Fset_dset_no_attrs_hint$handle() { return H5Fset_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static MemorySegment H5Fset_dset_no_attrs_hint$address() { return H5Fset_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static int H5Fset_dset_no_attrs_hint(long file_id, boolean minimize)
+ {
+ var mh$ = H5Fset_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_dset_no_attrs_hint", file_id, minimize);
+ }
+ return (int)mh$.invokeExact(file_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fformat_convert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fformat_convert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static FunctionDescriptor H5Fformat_convert$descriptor() { return H5Fformat_convert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static MethodHandle H5Fformat_convert$handle() { return H5Fformat_convert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static MemorySegment H5Fformat_convert$address() { return H5Fformat_convert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static int H5Fformat_convert(long fid)
+ {
+ var mh$ = H5Fformat_convert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fformat_convert", fid);
+ }
+ return (int)mh$.invokeExact(fid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_info1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_info1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_info1$descriptor() { return H5Fget_info1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static MethodHandle H5Fget_info1$handle() { return H5Fget_info1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static MemorySegment H5Fget_info1$address() { return H5Fget_info1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static int H5Fget_info1(long obj_id, MemorySegment file_info)
+ {
+ var mh$ = H5Fget_info1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_info1", obj_id, file_info);
+ }
+ return (int)mh$.invokeExact(obj_id, file_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_latest_format {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_latest_format");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_latest_format$descriptor() { return H5Fset_latest_format.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static MethodHandle H5Fset_latest_format$handle() { return H5Fset_latest_format.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static MemorySegment H5Fset_latest_format$address() { return H5Fset_latest_format.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static int H5Fset_latest_format(long file_id, boolean latest_format)
+ {
+ var mh$ = H5Fset_latest_format.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_latest_format", file_id, latest_format);
+ }
+ return (int)mh$.invokeExact(file_id, latest_format);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fis_hdf5 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fis_hdf5");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static FunctionDescriptor H5Fis_hdf5$descriptor() { return H5Fis_hdf5.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static MethodHandle H5Fis_hdf5$handle() { return H5Fis_hdf5.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static MemorySegment H5Fis_hdf5$address() { return H5Fis_hdf5.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static int H5Fis_hdf5(MemorySegment file_name)
+ {
+ var mh$ = H5Fis_hdf5.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fis_hdf5", file_name);
+ }
+ return (int)mh$.invokeExact(file_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5FD_class_value_t
+ * }
+ */
+ public static final OfInt H5FD_class_value_t = hdf5_h.C_INT;
+ private static final int H5FD_FILE_IMAGE_OP_NO_OP = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_NO_OP = 0
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_NO_OP() { return H5FD_FILE_IMAGE_OP_NO_OP; }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET = 1
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET() { return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET; }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY = 2
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY()
+ {
+ return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY;
+ }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET = 3
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET() { return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET; }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE = 4
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE()
+ {
+ return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE;
+ }
+ private static final int H5FD_FILE_IMAGE_OP_FILE_OPEN = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_FILE_OPEN = 5
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_FILE_OPEN() { return H5FD_FILE_IMAGE_OP_FILE_OPEN; }
+ private static final int H5FD_FILE_IMAGE_OP_FILE_RESIZE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_FILE_RESIZE = 6
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_FILE_RESIZE() { return H5FD_FILE_IMAGE_OP_FILE_RESIZE; }
+ private static final int H5FD_FILE_IMAGE_OP_FILE_CLOSE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_FILE_CLOSE = 7
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_FILE_CLOSE() { return H5FD_FILE_IMAGE_OP_FILE_CLOSE; }
+
+ private static class H5FDdriver_query {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDdriver_query");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static FunctionDescriptor H5FDdriver_query$descriptor() { return H5FDdriver_query.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static MethodHandle H5FDdriver_query$handle() { return H5FDdriver_query.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static MemorySegment H5FDdriver_query$address() { return H5FDdriver_query.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static int H5FDdriver_query(long driver_id, MemorySegment flags)
+ {
+ var mh$ = H5FDdriver_query.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDdriver_query", driver_id, flags);
+ }
+ return (int)mh$.invokeExact(driver_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5L_TYPE_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_ERROR = -1
+ * }
+ */
+ public static int H5L_TYPE_ERROR() { return H5L_TYPE_ERROR; }
+ private static final int H5L_TYPE_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_HARD = 0
+ * }
+ */
+ public static int H5L_TYPE_HARD() { return H5L_TYPE_HARD; }
+ private static final int H5L_TYPE_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_SOFT = 1
+ * }
+ */
+ public static int H5L_TYPE_SOFT() { return H5L_TYPE_SOFT; }
+ private static final int H5L_TYPE_EXTERNAL = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_EXTERNAL = 64
+ * }
+ */
+ public static int H5L_TYPE_EXTERNAL() { return H5L_TYPE_EXTERNAL; }
+ private static final int H5L_TYPE_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_MAX = 255
+ * }
+ */
+ public static int H5L_TYPE_MAX() { return H5L_TYPE_MAX; }
+
+ private static class H5Lmove {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lmove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lmove$descriptor() { return H5Lmove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lmove$handle() { return H5Lmove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lmove$address() { return H5Lmove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Lmove(long src_loc, MemorySegment src_name, long dst_loc, MemorySegment dst_name,
+ long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lmove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lmove", src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcopy$descriptor() { return H5Lcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcopy$handle() { return H5Lcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcopy$address() { return H5Lcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcopy(long src_loc, MemorySegment src_name, long dst_loc, MemorySegment dst_name,
+ long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcopy", src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_hard {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_hard");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_hard$descriptor() { return H5Lcreate_hard.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_hard$handle() { return H5Lcreate_hard.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_hard$address() { return H5Lcreate_hard.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_hard(long cur_loc, MemorySegment cur_name, long dst_loc,
+ MemorySegment dst_name, long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_hard.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_hard", cur_loc, cur_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(cur_loc, cur_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_hard_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_hard_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_hard_async$descriptor() { return H5Lcreate_hard_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_hard_async$handle() { return H5Lcreate_hard_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_hard_async$address() { return H5Lcreate_hard_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Lcreate_hard_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long cur_loc_id, MemorySegment cur_name, long new_loc_id,
+ MemorySegment new_name, long lcpl_id, long lapl_id, long es_id)
+ {
+ var mh$ = H5Lcreate_hard_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_hard_async", app_file, app_func, app_line, cur_loc_id, cur_name,
+ new_loc_id, new_name, lcpl_id, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, cur_loc_id, cur_name, new_loc_id,
+ new_name, lcpl_id, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_soft {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_soft");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_soft$descriptor() { return H5Lcreate_soft.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_soft$handle() { return H5Lcreate_soft.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_soft$address() { return H5Lcreate_soft.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_soft(MemorySegment link_target, long link_loc_id, MemorySegment link_name,
+ long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_soft.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_soft", link_target, link_loc_id, link_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(link_target, link_loc_id, link_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_soft_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_soft_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_soft_async$descriptor() { return H5Lcreate_soft_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_soft_async$handle() { return H5Lcreate_soft_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_soft_async$address() { return H5Lcreate_soft_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Lcreate_soft_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment link_target, long link_loc_id,
+ MemorySegment link_name, long lcpl_id, long lapl_id, long es_id)
+ {
+ var mh$ = H5Lcreate_soft_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_soft_async", app_file, app_func, app_line, link_target, link_loc_id,
+ link_name, lcpl_id, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, link_target, link_loc_id, link_name,
+ lcpl_id, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete$descriptor() { return H5Ldelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete$handle() { return H5Ldelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete$address() { return H5Ldelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ldelete(long loc_id, MemorySegment name, long lapl_id)
+ {
+ var mh$ = H5Ldelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete", loc_id, name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete_async$descriptor() { return H5Ldelete_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete_async$handle() { return H5Ldelete_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete_async$address() { return H5Ldelete_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Ldelete_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lapl_id, long es_id)
+ {
+ var mh$ = H5Ldelete_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete_async", app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete_by_idx$descriptor() { return H5Ldelete_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete_by_idx$handle() { return H5Ldelete_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete_by_idx$address() { return H5Ldelete_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ldelete_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order, long n,
+ long lapl_id)
+ {
+ var mh$ = H5Ldelete_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete_by_idx", loc_id, group_name, idx_type, order, n, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete_by_idx_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete_by_idx_async$descriptor()
+ {
+ return H5Ldelete_by_idx_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete_by_idx_async$handle() { return H5Ldelete_by_idx_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete_by_idx_async$address() { return H5Ldelete_by_idx_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Ldelete_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, long lapl_id, long es_id)
+ {
+ var mh$ = H5Ldelete_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete_by_idx_async", app_file, app_func, app_line, loc_id, group_name,
+ idx_type, order, n, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, group_name, idx_type, order, n,
+ lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_val {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_val");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_val$descriptor() { return H5Lget_val.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_val$handle() { return H5Lget_val.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_val$address() { return H5Lget_val.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_val(long loc_id, MemorySegment name, MemorySegment buf, long size, long lapl_id)
+ {
+ var mh$ = H5Lget_val.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_val", loc_id, name, buf, size, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, buf, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_val_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_val_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_val_by_idx$descriptor() { return H5Lget_val_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_val_by_idx$handle() { return H5Lget_val_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_val_by_idx$address() { return H5Lget_val_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_val_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment buf, long size, long lapl_id)
+ {
+ var mh$ = H5Lget_val_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_val_by_idx", loc_id, group_name, idx_type, order, n, buf, size,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, buf, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lexists {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lexists");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lexists$descriptor() { return H5Lexists.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lexists$handle() { return H5Lexists.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lexists$address() { return H5Lexists.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lexists(long loc_id, MemorySegment name, long lapl_id)
+ {
+ var mh$ = H5Lexists.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lexists", loc_id, name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lexists_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lexists_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lexists_async$descriptor() { return H5Lexists_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Lexists_async$handle() { return H5Lexists_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Lexists_async$address() { return H5Lexists_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Lexists_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, MemorySegment exists, long lapl_id,
+ long es_id)
+ {
+ var mh$ = H5Lexists_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lexists_async", app_file, app_func, app_line, loc_id, name, exists, lapl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, exists, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info2$descriptor() { return H5Lget_info2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info2$handle() { return H5Lget_info2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info2$address() { return H5Lget_info2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info2(long loc_id, MemorySegment name, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info2", loc_id, name, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info_by_idx2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info_by_idx2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info_by_idx2$descriptor() { return H5Lget_info_by_idx2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info_by_idx2$handle() { return H5Lget_info_by_idx2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info_by_idx2$address() { return H5Lget_info_by_idx2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info_by_idx2(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info_by_idx2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info_by_idx2", loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_name_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_name_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_name_by_idx$descriptor() { return H5Lget_name_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_name_by_idx$handle() { return H5Lget_name_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_name_by_idx$address() { return H5Lget_name_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static long H5Lget_name_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment name, long size, long lapl_id)
+ {
+ var mh$ = H5Lget_name_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_name_by_idx", loc_id, group_name, idx_type, order, n, name, size,
+ lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, group_name, idx_type, order, n, name, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Literate2$descriptor() { return H5Literate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Literate2$handle() { return H5Literate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Literate2$address() { return H5Literate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static int H5Literate2(long grp_id, int idx_type, int order, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Literate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate2", grp_id, idx_type, order, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Literate_async$descriptor() { return H5Literate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Literate_async$handle() { return H5Literate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Literate_async$address() { return H5Literate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Literate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long group_id, int idx_type, int order, MemorySegment idx_p,
+ MemorySegment op, MemorySegment op_data, long es_id)
+ {
+ var mh$ = H5Literate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate_async", app_file, app_func, app_line, group_id, idx_type, order,
+ idx_p, op, op_data, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, group_id, idx_type, order, idx_p, op,
+ op_data, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate_by_name2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Literate_by_name2$descriptor() { return H5Literate_by_name2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Literate_by_name2$handle() { return H5Literate_by_name2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Literate_by_name2$address() { return H5Literate_by_name2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Literate_by_name2(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment idx, MemorySegment op, MemorySegment op_data,
+ long lapl_id)
+ {
+ var mh$ = H5Literate_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate_by_name2", loc_id, group_name, idx_type, order, idx, op, op_data,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, idx, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit2$descriptor() { return H5Lvisit2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static MethodHandle H5Lvisit2$handle() { return H5Lvisit2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static MemorySegment H5Lvisit2$address() { return H5Lvisit2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static int H5Lvisit2(long grp_id, int idx_type, int order, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Lvisit2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit2", grp_id, idx_type, order, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit_by_name2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit_by_name2$descriptor() { return H5Lvisit_by_name2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lvisit_by_name2$handle() { return H5Lvisit_by_name2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lvisit_by_name2$address() { return H5Lvisit_by_name2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lvisit_by_name2(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment op, MemorySegment op_data, long lapl_id)
+ {
+ var mh$ = H5Lvisit_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit_by_name2", loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_ud {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_ud");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_ud$descriptor() { return H5Lcreate_ud.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_ud$handle() { return H5Lcreate_ud.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_ud$address() { return H5Lcreate_ud.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_ud(long link_loc_id, MemorySegment link_name, int link_type,
+ MemorySegment udata, long udata_size, long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_ud.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_ud", link_loc_id, link_name, link_type, udata, udata_size, lcpl_id,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(link_loc_id, link_name, link_type, udata, udata_size, lcpl_id,
+ lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lis_registered {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lis_registered");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Lis_registered$descriptor() { return H5Lis_registered.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static MethodHandle H5Lis_registered$handle() { return H5Lis_registered.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static MemorySegment H5Lis_registered$address() { return H5Lis_registered.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static int H5Lis_registered(int id)
+ {
+ var mh$ = H5Lis_registered.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lis_registered", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lunpack_elink_val {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lunpack_elink_val");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static FunctionDescriptor H5Lunpack_elink_val$descriptor() { return H5Lunpack_elink_val.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static MethodHandle H5Lunpack_elink_val$handle() { return H5Lunpack_elink_val.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static MemorySegment H5Lunpack_elink_val$address() { return H5Lunpack_elink_val.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static int H5Lunpack_elink_val(MemorySegment ext_linkval, long link_size, MemorySegment flags,
+ MemorySegment filename, MemorySegment obj_path)
+ {
+ var mh$ = H5Lunpack_elink_val.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lunpack_elink_val", ext_linkval, link_size, flags, filename, obj_path);
+ }
+ return (int)mh$.invokeExact(ext_linkval, link_size, flags, filename, obj_path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_external {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_external");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_external$descriptor() { return H5Lcreate_external.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_external$handle() { return H5Lcreate_external.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_external$address() { return H5Lcreate_external.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_external(MemorySegment file_name, MemorySegment obj_name, long link_loc_id,
+ MemorySegment link_name, long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_external.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_external", file_name, obj_name, link_loc_id, link_name, lcpl_id,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(file_name, obj_name, link_loc_id, link_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info1$descriptor() { return H5Lget_info1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info1$handle() { return H5Lget_info1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info1$address() { return H5Lget_info1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info1(long loc_id, MemorySegment name, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info1", loc_id, name, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info_by_idx1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info_by_idx1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info_by_idx1$descriptor() { return H5Lget_info_by_idx1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info_by_idx1$handle() { return H5Lget_info_by_idx1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info_by_idx1$address() { return H5Lget_info_by_idx1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info_by_idx1(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info_by_idx1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info_by_idx1", loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Literate1$descriptor() { return H5Literate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Literate1$handle() { return H5Literate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Literate1$address() { return H5Literate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static int H5Literate1(long grp_id, int idx_type, int order, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Literate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate1", grp_id, idx_type, order, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate_by_name1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Literate_by_name1$descriptor() { return H5Literate_by_name1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Literate_by_name1$handle() { return H5Literate_by_name1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Literate_by_name1$address() { return H5Literate_by_name1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Literate_by_name1(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment idx, MemorySegment op, MemorySegment op_data,
+ long lapl_id)
+ {
+ var mh$ = H5Literate_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate_by_name1", loc_id, group_name, idx_type, order, idx, op, op_data,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, idx, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit1$descriptor() { return H5Lvisit1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static MethodHandle H5Lvisit1$handle() { return H5Lvisit1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static MemorySegment H5Lvisit1$address() { return H5Lvisit1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static int H5Lvisit1(long grp_id, int idx_type, int order, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Lvisit1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit1", grp_id, idx_type, order, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit_by_name1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit_by_name1$descriptor() { return H5Lvisit_by_name1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lvisit_by_name1$handle() { return H5Lvisit_by_name1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lvisit_by_name1$address() { return H5Lvisit_by_name1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lvisit_by_name1(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment op, MemorySegment op_data, long lapl_id)
+ {
+ var mh$ = H5Lvisit_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit_by_name1", loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5G_STORAGE_TYPE_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_UNKNOWN = -1
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_UNKNOWN() { return H5G_STORAGE_TYPE_UNKNOWN; }
+ private static final int H5G_STORAGE_TYPE_SYMBOL_TABLE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_SYMBOL_TABLE = 0
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_SYMBOL_TABLE() { return H5G_STORAGE_TYPE_SYMBOL_TABLE; }
+ private static final int H5G_STORAGE_TYPE_COMPACT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_COMPACT = 1
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_COMPACT() { return H5G_STORAGE_TYPE_COMPACT; }
+ private static final int H5G_STORAGE_TYPE_DENSE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_DENSE = 2
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_DENSE() { return H5G_STORAGE_TYPE_DENSE; }
+
+ private static class H5Gcreate2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate2$descriptor() { return H5Gcreate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MethodHandle H5Gcreate2$handle() { return H5Gcreate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MemorySegment H5Gcreate2$address() { return H5Gcreate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static long H5Gcreate2(long loc_id, MemorySegment name, long lcpl_id, long gcpl_id, long gapl_id)
+ {
+ var mh$ = H5Gcreate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate2", loc_id, name, lcpl_id, gcpl_id, gapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, lcpl_id, gcpl_id, gapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gcreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate_async$descriptor() { return H5Gcreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gcreate_async$handle() { return H5Gcreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gcreate_async$address() { return H5Gcreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Gcreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lcpl_id, long gcpl_id,
+ long gapl_id, long es_id)
+ {
+ var mh$ = H5Gcreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate_async", app_file, app_func, app_line, loc_id, name, lcpl_id, gcpl_id,
+ gapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lcpl_id, gcpl_id,
+ gapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gcreate_anon {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate_anon");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate_anon$descriptor() { return H5Gcreate_anon.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MethodHandle H5Gcreate_anon$handle() { return H5Gcreate_anon.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MemorySegment H5Gcreate_anon$address() { return H5Gcreate_anon.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static long H5Gcreate_anon(long loc_id, long gcpl_id, long gapl_id)
+ {
+ var mh$ = H5Gcreate_anon.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate_anon", loc_id, gcpl_id, gapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, gcpl_id, gapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gopen2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gopen2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gopen2$descriptor() { return H5Gopen2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static MethodHandle H5Gopen2$handle() { return H5Gopen2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static MemorySegment H5Gopen2$address() { return H5Gopen2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static long H5Gopen2(long loc_id, MemorySegment name, long gapl_id)
+ {
+ var mh$ = H5Gopen2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gopen2", loc_id, name, gapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, gapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gopen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gopen_async$descriptor() { return H5Gopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gopen_async$handle() { return H5Gopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gopen_async$address() { return H5Gopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Gopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long gapl_id, long es_id)
+ {
+ var mh$ = H5Gopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gopen_async", app_file, app_func, app_line, loc_id, name, gapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, gapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_create_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_create_plist$descriptor() { return H5Gget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Gget_create_plist$handle() { return H5Gget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Gget_create_plist$address() { return H5Gget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static long H5Gget_create_plist(long group_id)
+ {
+ var mh$ = H5Gget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_create_plist", group_id);
+ }
+ return (long)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info$descriptor() { return H5Gget_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static MethodHandle H5Gget_info$handle() { return H5Gget_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static MemorySegment H5Gget_info$address() { return H5Gget_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static int H5Gget_info(long loc_id, MemorySegment ginfo)
+ {
+ var mh$ = H5Gget_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info", loc_id, ginfo);
+ }
+ return (int)mh$.invokeExact(loc_id, ginfo);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_async$descriptor() { return H5Gget_info_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_async$handle() { return H5Gget_info_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_async$address() { return H5Gget_info_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static int H5Gget_info_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment ginfo, long es_id)
+ {
+ var mh$ = H5Gget_info_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_async", app_file, app_func, app_line, loc_id, ginfo, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, ginfo, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_name$descriptor() { return H5Gget_info_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_name$handle() { return H5Gget_info_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_name$address() { return H5Gget_info_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Gget_info_by_name(long loc_id, MemorySegment name, MemorySegment ginfo, long lapl_id)
+ {
+ var mh$ = H5Gget_info_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_name", loc_id, name, ginfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, ginfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_name_async$descriptor()
+ {
+ return H5Gget_info_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_name_async$handle() { return H5Gget_info_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_name_async$address() { return H5Gget_info_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Gget_info_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, MemorySegment ginfo,
+ long lapl_id, long es_id)
+ {
+ var mh$ = H5Gget_info_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_name_async", app_file, app_func, app_line, loc_id, name, ginfo,
+ lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, ginfo, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_idx$descriptor() { return H5Gget_info_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_idx$handle() { return H5Gget_info_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_idx$address() { return H5Gget_info_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Gget_info_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment ginfo, long lapl_id)
+ {
+ var mh$ = H5Gget_info_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_idx", loc_id, group_name, idx_type, order, n, ginfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, ginfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_idx_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_idx_async$descriptor()
+ {
+ return H5Gget_info_by_idx_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_idx_async$handle() { return H5Gget_info_by_idx_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_idx_async$address() { return H5Gget_info_by_idx_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Gget_info_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment ginfo, long lapl_id, long es_id)
+ {
+ var mh$ = H5Gget_info_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_idx_async", app_file, app_func, app_line, loc_id, group_name,
+ idx_type, order, n, ginfo, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, group_name, idx_type, order, n,
+ ginfo, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gflush$descriptor() { return H5Gflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Gflush$handle() { return H5Gflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Gflush$address() { return H5Gflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static int H5Gflush(long group_id)
+ {
+ var mh$ = H5Gflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gflush", group_id);
+ }
+ return (int)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Grefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Grefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Grefresh$descriptor() { return H5Grefresh.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Grefresh$handle() { return H5Grefresh.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Grefresh$address() { return H5Grefresh.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static int H5Grefresh(long group_id)
+ {
+ var mh$ = H5Grefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Grefresh", group_id);
+ }
+ return (int)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gclose$descriptor() { return H5Gclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Gclose$handle() { return H5Gclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Gclose$address() { return H5Gclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static int H5Gclose(long group_id)
+ {
+ var mh$ = H5Gclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gclose", group_id);
+ }
+ return (int)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gclose_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gclose_async$descriptor() { return H5Gclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gclose_async$handle() { return H5Gclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gclose_async$address() { return H5Gclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static int H5Gclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long group_id, long es_id)
+ {
+ var mh$ = H5Gclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gclose_async", app_file, app_func, app_line, group_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, group_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5G_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_UNKNOWN = -1
+ * }
+ */
+ public static int H5G_UNKNOWN() { return H5G_UNKNOWN; }
+ private static final int H5G_GROUP = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_GROUP = 0
+ * }
+ */
+ public static int H5G_GROUP() { return H5G_GROUP; }
+ private static final int H5G_DATASET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_DATASET = 1
+ * }
+ */
+ public static int H5G_DATASET() { return H5G_DATASET; }
+ private static final int H5G_TYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_TYPE = 2
+ * }
+ */
+ public static int H5G_TYPE() { return H5G_TYPE; }
+ private static final int H5G_LINK = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_LINK = 3
+ * }
+ */
+ public static int H5G_LINK() { return H5G_LINK; }
+ private static final int H5G_UDLINK = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_UDLINK = 4
+ * }
+ */
+ public static int H5G_UDLINK() { return H5G_UDLINK; }
+ private static final int H5G_RESERVED_5 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_RESERVED_5 = 5
+ * }
+ */
+ public static int H5G_RESERVED_5() { return H5G_RESERVED_5; }
+ private static final int H5G_RESERVED_6 = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_RESERVED_6 = 6
+ * }
+ */
+ public static int H5G_RESERVED_6() { return H5G_RESERVED_6; }
+ private static final int H5G_RESERVED_7 = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_RESERVED_7 = 7
+ * }
+ */
+ public static int H5G_RESERVED_7() { return H5G_RESERVED_7; }
+
+ private static class H5Gcreate1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate1$descriptor() { return H5Gcreate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static MethodHandle H5Gcreate1$handle() { return H5Gcreate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static MemorySegment H5Gcreate1$address() { return H5Gcreate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static long H5Gcreate1(long loc_id, MemorySegment name, long size_hint)
+ {
+ var mh$ = H5Gcreate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate1", loc_id, name, size_hint);
+ }
+ return (long)mh$.invokeExact(loc_id, name, size_hint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gopen1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gopen1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Gopen1$descriptor() { return H5Gopen1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Gopen1$handle() { return H5Gopen1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Gopen1$address() { return H5Gopen1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Gopen1(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Gopen1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gopen1", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Glink {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Glink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static FunctionDescriptor H5Glink$descriptor() { return H5Glink.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static MethodHandle H5Glink$handle() { return H5Glink.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static MemorySegment H5Glink$address() { return H5Glink.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static int H5Glink(long cur_loc_id, int type, MemorySegment cur_name, MemorySegment new_name)
+ {
+ var mh$ = H5Glink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Glink", cur_loc_id, type, cur_name, new_name);
+ }
+ return (int)mh$.invokeExact(cur_loc_id, type, cur_name, new_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Glink2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Glink2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static FunctionDescriptor H5Glink2$descriptor() { return H5Glink2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static MethodHandle H5Glink2$handle() { return H5Glink2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static MemorySegment H5Glink2$address() { return H5Glink2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static int H5Glink2(long cur_loc_id, MemorySegment cur_name, int type, long new_loc_id,
+ MemorySegment new_name)
+ {
+ var mh$ = H5Glink2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Glink2", cur_loc_id, cur_name, type, new_loc_id, new_name);
+ }
+ return (int)mh$.invokeExact(cur_loc_id, cur_name, type, new_loc_id, new_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gmove {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gmove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static FunctionDescriptor H5Gmove$descriptor() { return H5Gmove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static MethodHandle H5Gmove$handle() { return H5Gmove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static MemorySegment H5Gmove$address() { return H5Gmove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static int H5Gmove(long src_loc_id, MemorySegment src_name, MemorySegment dst_name)
+ {
+ var mh$ = H5Gmove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gmove", src_loc_id, src_name, dst_name);
+ }
+ return (int)mh$.invokeExact(src_loc_id, src_name, dst_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gmove2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gmove2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static FunctionDescriptor H5Gmove2$descriptor() { return H5Gmove2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static MethodHandle H5Gmove2$handle() { return H5Gmove2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static MemorySegment H5Gmove2$address() { return H5Gmove2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static int H5Gmove2(long src_loc_id, MemorySegment src_name, long dst_loc_id,
+ MemorySegment dst_name)
+ {
+ var mh$ = H5Gmove2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gmove2", src_loc_id, src_name, dst_loc_id, dst_name);
+ }
+ return (int)mh$.invokeExact(src_loc_id, src_name, dst_loc_id, dst_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gunlink {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gunlink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Gunlink$descriptor() { return H5Gunlink.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Gunlink$handle() { return H5Gunlink.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Gunlink$address() { return H5Gunlink.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static int H5Gunlink(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Gunlink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gunlink", loc_id, name);
+ }
+ return (int)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_linkval {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_linkval");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_linkval$descriptor() { return H5Gget_linkval.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static MethodHandle H5Gget_linkval$handle() { return H5Gget_linkval.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static MemorySegment H5Gget_linkval$address() { return H5Gget_linkval.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static int H5Gget_linkval(long loc_id, MemorySegment name, long size, MemorySegment buf)
+ {
+ var mh$ = H5Gget_linkval.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_linkval", loc_id, name, size, buf);
+ }
+ return (int)mh$.invokeExact(loc_id, name, size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gset_comment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gset_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static FunctionDescriptor H5Gset_comment$descriptor() { return H5Gset_comment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static MethodHandle H5Gset_comment$handle() { return H5Gset_comment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static MemorySegment H5Gset_comment$address() { return H5Gset_comment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static int H5Gset_comment(long loc_id, MemorySegment name, MemorySegment comment)
+ {
+ var mh$ = H5Gset_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gset_comment", loc_id, name, comment);
+ }
+ return (int)mh$.invokeExact(loc_id, name, comment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_comment {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_comment$descriptor() { return H5Gget_comment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static MethodHandle H5Gget_comment$handle() { return H5Gget_comment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static MemorySegment H5Gget_comment$address() { return H5Gget_comment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static int H5Gget_comment(long loc_id, MemorySegment name, long bufsize, MemorySegment buf)
+ {
+ var mh$ = H5Gget_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_comment", loc_id, name, bufsize, buf);
+ }
+ return (int)mh$.invokeExact(loc_id, name, bufsize, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Giterate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Giterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Giterate$descriptor() { return H5Giterate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Giterate$handle() { return H5Giterate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Giterate$address() { return H5Giterate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static int H5Giterate(long loc_id, MemorySegment name, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Giterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Giterate", loc_id, name, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(loc_id, name, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_num_objs {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_num_objs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_num_objs$descriptor() { return H5Gget_num_objs.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static MethodHandle H5Gget_num_objs$handle() { return H5Gget_num_objs.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static MemorySegment H5Gget_num_objs$address() { return H5Gget_num_objs.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static int H5Gget_num_objs(long loc_id, MemorySegment num_objs)
+ {
+ var mh$ = H5Gget_num_objs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_num_objs", loc_id, num_objs);
+ }
+ return (int)mh$.invokeExact(loc_id, num_objs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_objinfo {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_BOOL, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_objinfo");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_objinfo$descriptor() { return H5Gget_objinfo.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static MethodHandle H5Gget_objinfo$handle() { return H5Gget_objinfo.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static MemorySegment H5Gget_objinfo$address() { return H5Gget_objinfo.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static int H5Gget_objinfo(long loc_id, MemorySegment name, boolean follow_link,
+ MemorySegment statbuf)
+ {
+ var mh$ = H5Gget_objinfo.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_objinfo", loc_id, name, follow_link, statbuf);
+ }
+ return (int)mh$.invokeExact(loc_id, name, follow_link, statbuf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_objname_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_objname_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_objname_by_idx$descriptor() { return H5Gget_objname_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Gget_objname_by_idx$handle() { return H5Gget_objname_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Gget_objname_by_idx$address() { return H5Gget_objname_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static long H5Gget_objname_by_idx(long loc_id, long idx, MemorySegment name, long size)
+ {
+ var mh$ = H5Gget_objname_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_objname_by_idx", loc_id, idx, name, size);
+ }
+ return (long)mh$.invokeExact(loc_id, idx, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_objtype_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_objtype_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_objtype_by_idx$descriptor() { return H5Gget_objtype_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static MethodHandle H5Gget_objtype_by_idx$handle() { return H5Gget_objtype_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static MemorySegment H5Gget_objtype_by_idx$address() { return H5Gget_objtype_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static int H5Gget_objtype_by_idx(long loc_id, long idx)
+ {
+ var mh$ = H5Gget_objtype_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_objtype_by_idx", loc_id, idx);
+ }
+ return (int)mh$.invokeExact(loc_id, idx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_class_value_t
+ * }
+ */
+ public static final OfInt H5VL_class_value_t = hdf5_h.C_INT;
+ private static final int H5VL_SUBCLS_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_NONE = 0
+ * }
+ */
+ public static int H5VL_SUBCLS_NONE() { return H5VL_SUBCLS_NONE; }
+ private static final int H5VL_SUBCLS_INFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_INFO = 1
+ * }
+ */
+ public static int H5VL_SUBCLS_INFO() { return H5VL_SUBCLS_INFO; }
+ private static final int H5VL_SUBCLS_WRAP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_WRAP = 2
+ * }
+ */
+ public static int H5VL_SUBCLS_WRAP() { return H5VL_SUBCLS_WRAP; }
+ private static final int H5VL_SUBCLS_ATTR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_ATTR = 3
+ * }
+ */
+ public static int H5VL_SUBCLS_ATTR() { return H5VL_SUBCLS_ATTR; }
+ private static final int H5VL_SUBCLS_DATASET = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_DATASET = 4
+ * }
+ */
+ public static int H5VL_SUBCLS_DATASET() { return H5VL_SUBCLS_DATASET; }
+ private static final int H5VL_SUBCLS_DATATYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_DATATYPE = 5
+ * }
+ */
+ public static int H5VL_SUBCLS_DATATYPE() { return H5VL_SUBCLS_DATATYPE; }
+ private static final int H5VL_SUBCLS_FILE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_FILE = 6
+ * }
+ */
+ public static int H5VL_SUBCLS_FILE() { return H5VL_SUBCLS_FILE; }
+ private static final int H5VL_SUBCLS_GROUP = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_GROUP = 7
+ * }
+ */
+ public static int H5VL_SUBCLS_GROUP() { return H5VL_SUBCLS_GROUP; }
+ private static final int H5VL_SUBCLS_LINK = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_LINK = 8
+ * }
+ */
+ public static int H5VL_SUBCLS_LINK() { return H5VL_SUBCLS_LINK; }
+ private static final int H5VL_SUBCLS_OBJECT = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_OBJECT = 9
+ * }
+ */
+ public static int H5VL_SUBCLS_OBJECT() { return H5VL_SUBCLS_OBJECT; }
+ private static final int H5VL_SUBCLS_REQUEST = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_REQUEST = 10
+ * }
+ */
+ public static int H5VL_SUBCLS_REQUEST() { return H5VL_SUBCLS_REQUEST; }
+ private static final int H5VL_SUBCLS_BLOB = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_BLOB = 11
+ * }
+ */
+ public static int H5VL_SUBCLS_BLOB() { return H5VL_SUBCLS_BLOB; }
+ private static final int H5VL_SUBCLS_TOKEN = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_TOKEN = 12
+ * }
+ */
+ public static int H5VL_SUBCLS_TOKEN() { return H5VL_SUBCLS_TOKEN; }
+
+ private static class H5VLregister_connector_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_connector_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_connector_by_name$descriptor()
+ {
+ return H5VLregister_connector_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLregister_connector_by_name$handle()
+ {
+ return H5VLregister_connector_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLregister_connector_by_name$address()
+ {
+ return H5VLregister_connector_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static long H5VLregister_connector_by_name(MemorySegment connector_name, long vipl_id)
+ {
+ var mh$ = H5VLregister_connector_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_connector_by_name", connector_name, vipl_id);
+ }
+ return (long)mh$.invokeExact(connector_name, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLregister_connector_by_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_connector_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_connector_by_value$descriptor()
+ {
+ return H5VLregister_connector_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLregister_connector_by_value$handle()
+ {
+ return H5VLregister_connector_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLregister_connector_by_value$address()
+ {
+ return H5VLregister_connector_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static long H5VLregister_connector_by_value(int connector_value, long vipl_id)
+ {
+ var mh$ = H5VLregister_connector_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_connector_by_value", connector_value, vipl_id);
+ }
+ return (long)mh$.invokeExact(connector_value, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLis_connector_registered_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLis_connector_registered_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5VLis_connector_registered_by_name$descriptor()
+ {
+ return H5VLis_connector_registered_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static MethodHandle H5VLis_connector_registered_by_name$handle()
+ {
+ return H5VLis_connector_registered_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static MemorySegment H5VLis_connector_registered_by_name$address()
+ {
+ return H5VLis_connector_registered_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static int H5VLis_connector_registered_by_name(MemorySegment name)
+ {
+ var mh$ = H5VLis_connector_registered_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLis_connector_registered_by_name", name);
+ }
+ return (int)mh$.invokeExact(name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLis_connector_registered_by_value {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLis_connector_registered_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLis_connector_registered_by_value$descriptor()
+ {
+ return H5VLis_connector_registered_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MethodHandle H5VLis_connector_registered_by_value$handle()
+ {
+ return H5VLis_connector_registered_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MemorySegment H5VLis_connector_registered_by_value$address()
+ {
+ return H5VLis_connector_registered_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static int H5VLis_connector_registered_by_value(int connector_value)
+ {
+ var mh$ = H5VLis_connector_registered_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLis_connector_registered_by_value", connector_value);
+ }
+ return (int)mh$.invokeExact(connector_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_id {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_id");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_id$descriptor() { return H5VLget_connector_id.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_id$handle() { return H5VLget_connector_id.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_id$address() { return H5VLget_connector_id.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static long H5VLget_connector_id(long obj_id)
+ {
+ var mh$ = H5VLget_connector_id.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_id", obj_id);
+ }
+ return (long)mh$.invokeExact(obj_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_id_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_id_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_id_by_name$descriptor()
+ {
+ return H5VLget_connector_id_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_id_by_name$handle()
+ {
+ return H5VLget_connector_id_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_id_by_name$address()
+ {
+ return H5VLget_connector_id_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static long H5VLget_connector_id_by_name(MemorySegment name)
+ {
+ var mh$ = H5VLget_connector_id_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_id_by_name", name);
+ }
+ return (long)mh$.invokeExact(name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_id_by_value {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_id_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_id_by_value$descriptor()
+ {
+ return H5VLget_connector_id_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_id_by_value$handle()
+ {
+ return H5VLget_connector_id_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_id_by_value$address()
+ {
+ return H5VLget_connector_id_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static long H5VLget_connector_id_by_value(int connector_value)
+ {
+ var mh$ = H5VLget_connector_id_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_id_by_value", connector_value);
+ }
+ return (long)mh$.invokeExact(connector_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_name$descriptor()
+ {
+ return H5VLget_connector_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_name$handle() { return H5VLget_connector_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_name$address() { return H5VLget_connector_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static long H5VLget_connector_name(long id, MemorySegment name, long size)
+ {
+ var mh$ = H5VLget_connector_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_name", id, name, size);
+ }
+ return (long)mh$.invokeExact(id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLclose$descriptor() { return H5VLclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLclose$handle() { return H5VLclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLclose$address() { return H5VLclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static int H5VLclose(long connector_id)
+ {
+ var mh$ = H5VLclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLclose", connector_id);
+ }
+ return (int)mh$.invokeExact(connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLunregister_connector {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLunregister_connector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLunregister_connector$descriptor()
+ {
+ return H5VLunregister_connector.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLunregister_connector$handle() { return H5VLunregister_connector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLunregister_connector$address() { return H5VLunregister_connector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static int H5VLunregister_connector(long connector_id)
+ {
+ var mh$ = H5VLunregister_connector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLunregister_connector", connector_id);
+ }
+ return (int)mh$.invokeExact(connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLquery_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLquery_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLquery_optional$descriptor() { return H5VLquery_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static MethodHandle H5VLquery_optional$handle() { return H5VLquery_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static MemorySegment H5VLquery_optional$address() { return H5VLquery_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static int H5VLquery_optional(long obj_id, int subcls, int opt_type, MemorySegment flags)
+ {
+ var mh$ = H5VLquery_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLquery_optional", obj_id, subcls, opt_type, flags);
+ }
+ return (int)mh$.invokeExact(obj_id, subcls, opt_type, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_is_native {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_is_native");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_is_native$descriptor() { return H5VLobject_is_native.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static MethodHandle H5VLobject_is_native$handle() { return H5VLobject_is_native.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static MemorySegment H5VLobject_is_native$address() { return H5VLobject_is_native.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static int H5VLobject_is_native(long obj_id, MemorySegment is_native)
+ {
+ var mh$ = H5VLobject_is_native.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_is_native", obj_id, is_native);
+ }
+ return (int)mh$.invokeExact(obj_id, is_native);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5R_BADTYPE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_BADTYPE = -1
+ * }
+ */
+ public static int H5R_BADTYPE() { return H5R_BADTYPE; }
+ private static final int H5R_OBJECT1 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_OBJECT1 = 0
+ * }
+ */
+ public static int H5R_OBJECT1() { return H5R_OBJECT1; }
+ private static final int H5R_DATASET_REGION1 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_DATASET_REGION1 = 1
+ * }
+ */
+ public static int H5R_DATASET_REGION1() { return H5R_DATASET_REGION1; }
+ private static final int H5R_OBJECT2 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_OBJECT2 = 2
+ * }
+ */
+ public static int H5R_OBJECT2() { return H5R_OBJECT2; }
+ private static final int H5R_DATASET_REGION2 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_DATASET_REGION2 = 3
+ * }
+ */
+ public static int H5R_DATASET_REGION2() { return H5R_DATASET_REGION2; }
+ private static final int H5R_ATTR = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_ATTR = 4
+ * }
+ */
+ public static int H5R_ATTR() { return H5R_ATTR; }
+ private static final int H5R_MAXTYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_MAXTYPE = 5
+ * }
+ */
+ public static int H5R_MAXTYPE() { return H5R_MAXTYPE; }
+ /**
+ * {@snippet lang=c :
+ * typedef haddr_t hobj_ref_t
+ * }
+ */
+ public static final OfLong hobj_ref_t = hdf5_h.C_LONG_LONG;
+
+ private static class H5Rcreate_object {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate_object$descriptor() { return H5Rcreate_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcreate_object$handle() { return H5Rcreate_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcreate_object$address() { return H5Rcreate_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static int H5Rcreate_object(long loc_id, MemorySegment name, long oapl_id, MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rcreate_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate_object", loc_id, name, oapl_id, ref_ptr);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oapl_id, ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcreate_region {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate_region");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate_region$descriptor() { return H5Rcreate_region.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcreate_region$handle() { return H5Rcreate_region.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcreate_region$address() { return H5Rcreate_region.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static int H5Rcreate_region(long loc_id, MemorySegment name, long space_id, long oapl_id,
+ MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rcreate_region.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate_region", loc_id, name, space_id, oapl_id, ref_ptr);
+ }
+ return (int)mh$.invokeExact(loc_id, name, space_id, oapl_id, ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcreate_attr {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate_attr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate_attr$descriptor() { return H5Rcreate_attr.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcreate_attr$handle() { return H5Rcreate_attr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcreate_attr$address() { return H5Rcreate_attr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static int H5Rcreate_attr(long loc_id, MemorySegment name, MemorySegment attr_name, long oapl_id,
+ MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rcreate_attr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate_attr", loc_id, name, attr_name, oapl_id, ref_ptr);
+ }
+ return (int)mh$.invokeExact(loc_id, name, attr_name, oapl_id, ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rdestroy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rdestroy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rdestroy$descriptor() { return H5Rdestroy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rdestroy$handle() { return H5Rdestroy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rdestroy$address() { return H5Rdestroy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static int H5Rdestroy(MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rdestroy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rdestroy", ref_ptr);
+ }
+ return (int)mh$.invokeExact(ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_type$descriptor() { return H5Rget_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rget_type$handle() { return H5Rget_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rget_type$address() { return H5Rget_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static int H5Rget_type(MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_type", ref_ptr);
+ }
+ return (int)mh$.invokeExact(ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Requal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Requal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Requal$descriptor() { return H5Requal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static MethodHandle H5Requal$handle() { return H5Requal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static MemorySegment H5Requal$address() { return H5Requal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static int H5Requal(MemorySegment ref1_ptr, MemorySegment ref2_ptr)
+ {
+ var mh$ = H5Requal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Requal", ref1_ptr, ref2_ptr);
+ }
+ return (int)mh$.invokeExact(ref1_ptr, ref2_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcopy$descriptor() { return H5Rcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcopy$handle() { return H5Rcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcopy$address() { return H5Rcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static int H5Rcopy(MemorySegment src_ref_ptr, MemorySegment dst_ref_ptr)
+ {
+ var mh$ = H5Rcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcopy", src_ref_ptr, dst_ref_ptr);
+ }
+ return (int)mh$.invokeExact(src_ref_ptr, dst_ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_object {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_object$descriptor() { return H5Ropen_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_object$handle() { return H5Ropen_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_object$address() { return H5Ropen_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static long H5Ropen_object(MemorySegment ref_ptr, long rapl_id, long oapl_id)
+ {
+ var mh$ = H5Ropen_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_object", ref_ptr, rapl_id, oapl_id);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, oapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_object_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_object_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_object_async$descriptor() { return H5Ropen_object_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_object_async$handle() { return H5Ropen_object_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_object_async$address() { return H5Ropen_object_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Ropen_object_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment ref_ptr, long rapl_id, long oapl_id, long es_id)
+ {
+ var mh$ = H5Ropen_object_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_object_async", app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_region {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_region");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_region$descriptor() { return H5Ropen_region.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_region$handle() { return H5Ropen_region.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_region$address() { return H5Ropen_region.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static long H5Ropen_region(MemorySegment ref_ptr, long rapl_id, long oapl_id)
+ {
+ var mh$ = H5Ropen_region.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_region", ref_ptr, rapl_id, oapl_id);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, oapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_region_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_region_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_region_async$descriptor() { return H5Ropen_region_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_region_async$handle() { return H5Ropen_region_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_region_async$address() { return H5Ropen_region_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Ropen_region_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment ref_ptr, long rapl_id, long oapl_id, long es_id)
+ {
+ var mh$ = H5Ropen_region_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_region_async", app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_attr {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_attr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_attr$descriptor() { return H5Ropen_attr.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_attr$handle() { return H5Ropen_attr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_attr$address() { return H5Ropen_attr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static long H5Ropen_attr(MemorySegment ref_ptr, long rapl_id, long aapl_id)
+ {
+ var mh$ = H5Ropen_attr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_attr", ref_ptr, rapl_id, aapl_id);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, aapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_attr_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_attr_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_attr_async$descriptor() { return H5Ropen_attr_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_attr_async$handle() { return H5Ropen_attr_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_attr_async$address() { return H5Ropen_attr_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Ropen_attr_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment ref_ptr, long rapl_id, long aapl_id, long es_id)
+ {
+ var mh$ = H5Ropen_attr_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_attr_async", app_file, app_func, app_line, ref_ptr, rapl_id, aapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, ref_ptr, rapl_id, aapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_type3 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_type3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_type3$descriptor() { return H5Rget_obj_type3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_type3$handle() { return H5Rget_obj_type3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_type3$address() { return H5Rget_obj_type3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static int H5Rget_obj_type3(MemorySegment ref_ptr, long rapl_id, MemorySegment obj_type)
+ {
+ var mh$ = H5Rget_obj_type3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_type3", ref_ptr, rapl_id, obj_type);
+ }
+ return (int)mh$.invokeExact(ref_ptr, rapl_id, obj_type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_file_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_file_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_file_name$descriptor() { return H5Rget_file_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_file_name$handle() { return H5Rget_file_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_file_name$address() { return H5Rget_file_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_file_name(MemorySegment ref_ptr, MemorySegment name, long size)
+ {
+ var mh$ = H5Rget_file_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_file_name", ref_ptr, name, size);
+ }
+ return (long)mh$.invokeExact(ref_ptr, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_name$descriptor() { return H5Rget_obj_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_name$handle() { return H5Rget_obj_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_name$address() { return H5Rget_obj_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_obj_name(MemorySegment ref_ptr, long rapl_id, MemorySegment name, long size)
+ {
+ var mh$ = H5Rget_obj_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_name", ref_ptr, rapl_id, name, size);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_attr_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_attr_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_attr_name$descriptor() { return H5Rget_attr_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_attr_name$handle() { return H5Rget_attr_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_attr_name$address() { return H5Rget_attr_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_attr_name(MemorySegment ref_ptr, MemorySegment name, long size)
+ {
+ var mh$ = H5Rget_attr_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_attr_name", ref_ptr, name, size);
+ }
+ return (long)mh$.invokeExact(ref_ptr, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_type1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_type1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_type1$descriptor() { return H5Rget_obj_type1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_type1$handle() { return H5Rget_obj_type1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_type1$address() { return H5Rget_obj_type1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static int H5Rget_obj_type1(long id, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rget_obj_type1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_type1", id, ref_type, ref);
+ }
+ return (int)mh$.invokeExact(id, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rdereference1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rdereference1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rdereference1$descriptor() { return H5Rdereference1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rdereference1$handle() { return H5Rdereference1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rdereference1$address() { return H5Rdereference1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static long H5Rdereference1(long obj_id, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rdereference1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rdereference1", obj_id, ref_type, ref);
+ }
+ return (long)mh$.invokeExact(obj_id, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcreate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate$descriptor() { return H5Rcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Rcreate$handle() { return H5Rcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Rcreate$address() { return H5Rcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static int H5Rcreate(MemorySegment ref, long loc_id, MemorySegment name, int ref_type,
+ long space_id)
+ {
+ var mh$ = H5Rcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate", ref, loc_id, name, ref_type, space_id);
+ }
+ return (int)mh$.invokeExact(ref, loc_id, name, ref_type, space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_type2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_type2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_type2$descriptor() { return H5Rget_obj_type2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_type2$handle() { return H5Rget_obj_type2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_type2$address() { return H5Rget_obj_type2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static int H5Rget_obj_type2(long id, int ref_type, MemorySegment ref, MemorySegment obj_type)
+ {
+ var mh$ = H5Rget_obj_type2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_type2", id, ref_type, ref, obj_type);
+ }
+ return (int)mh$.invokeExact(id, ref_type, ref, obj_type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rdereference2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rdereference2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rdereference2$descriptor() { return H5Rdereference2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rdereference2$handle() { return H5Rdereference2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rdereference2$address() { return H5Rdereference2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static long H5Rdereference2(long obj_id, long oapl_id, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rdereference2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rdereference2", obj_id, oapl_id, ref_type, ref);
+ }
+ return (long)mh$.invokeExact(obj_id, oapl_id, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_region {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_region");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_region$descriptor() { return H5Rget_region.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rget_region$handle() { return H5Rget_region.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rget_region$address() { return H5Rget_region.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static long H5Rget_region(long dataset, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rget_region.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_region", dataset, ref_type, ref);
+ }
+ return (long)mh$.invokeExact(dataset, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_name$descriptor() { return H5Rget_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_name$handle() { return H5Rget_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_name$address() { return H5Rget_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_name(long loc_id, int ref_type, MemorySegment ref, MemorySegment name,
+ long size)
+ {
+ var mh$ = H5Rget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_name", loc_id, ref_type, ref, name, size);
+ }
+ return (long)mh$.invokeExact(loc_id, ref_type, ref, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5VL_OBJECT_BY_SELF = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_SELF = 0
+ * }
+ */
+ public static int H5VL_OBJECT_BY_SELF() { return H5VL_OBJECT_BY_SELF; }
+ private static final int H5VL_OBJECT_BY_NAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_NAME = 1
+ * }
+ */
+ public static int H5VL_OBJECT_BY_NAME() { return H5VL_OBJECT_BY_NAME; }
+ private static final int H5VL_OBJECT_BY_IDX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_IDX = 2
+ * }
+ */
+ public static int H5VL_OBJECT_BY_IDX() { return H5VL_OBJECT_BY_IDX; }
+ private static final int H5VL_OBJECT_BY_TOKEN = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_TOKEN = 3
+ * }
+ */
+ public static int H5VL_OBJECT_BY_TOKEN() { return H5VL_OBJECT_BY_TOKEN; }
+ private static final int H5VL_ATTR_GET_ACPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_ACPL = 0
+ * }
+ */
+ public static int H5VL_ATTR_GET_ACPL() { return H5VL_ATTR_GET_ACPL; }
+ private static final int H5VL_ATTR_GET_INFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_INFO = 1
+ * }
+ */
+ public static int H5VL_ATTR_GET_INFO() { return H5VL_ATTR_GET_INFO; }
+ private static final int H5VL_ATTR_GET_NAME = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_NAME = 2
+ * }
+ */
+ public static int H5VL_ATTR_GET_NAME() { return H5VL_ATTR_GET_NAME; }
+ private static final int H5VL_ATTR_GET_SPACE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_SPACE = 3
+ * }
+ */
+ public static int H5VL_ATTR_GET_SPACE() { return H5VL_ATTR_GET_SPACE; }
+ private static final int H5VL_ATTR_GET_STORAGE_SIZE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_STORAGE_SIZE = 4
+ * }
+ */
+ public static int H5VL_ATTR_GET_STORAGE_SIZE() { return H5VL_ATTR_GET_STORAGE_SIZE; }
+ private static final int H5VL_ATTR_GET_TYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_TYPE = 5
+ * }
+ */
+ public static int H5VL_ATTR_GET_TYPE() { return H5VL_ATTR_GET_TYPE; }
+ private static final int H5VL_ATTR_DELETE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_DELETE = 0
+ * }
+ */
+ public static int H5VL_ATTR_DELETE() { return H5VL_ATTR_DELETE; }
+ private static final int H5VL_ATTR_DELETE_BY_IDX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_DELETE_BY_IDX = 1
+ * }
+ */
+ public static int H5VL_ATTR_DELETE_BY_IDX() { return H5VL_ATTR_DELETE_BY_IDX; }
+ private static final int H5VL_ATTR_EXISTS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_EXISTS = 2
+ * }
+ */
+ public static int H5VL_ATTR_EXISTS() { return H5VL_ATTR_EXISTS; }
+ private static final int H5VL_ATTR_ITER = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_ITER = 3
+ * }
+ */
+ public static int H5VL_ATTR_ITER() { return H5VL_ATTR_ITER; }
+ private static final int H5VL_ATTR_RENAME = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_RENAME = 4
+ * }
+ */
+ public static int H5VL_ATTR_RENAME() { return H5VL_ATTR_RENAME; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_attr_optional_t
+ * }
+ */
+ public static final OfInt H5VL_attr_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_DATASET_GET_DAPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_DAPL = 0
+ * }
+ */
+ public static int H5VL_DATASET_GET_DAPL() { return H5VL_DATASET_GET_DAPL; }
+ private static final int H5VL_DATASET_GET_DCPL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_DCPL = 1
+ * }
+ */
+ public static int H5VL_DATASET_GET_DCPL() { return H5VL_DATASET_GET_DCPL; }
+ private static final int H5VL_DATASET_GET_SPACE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_SPACE = 2
+ * }
+ */
+ public static int H5VL_DATASET_GET_SPACE() { return H5VL_DATASET_GET_SPACE; }
+ private static final int H5VL_DATASET_GET_SPACE_STATUS = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_SPACE_STATUS = 3
+ * }
+ */
+ public static int H5VL_DATASET_GET_SPACE_STATUS() { return H5VL_DATASET_GET_SPACE_STATUS; }
+ private static final int H5VL_DATASET_GET_STORAGE_SIZE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_STORAGE_SIZE = 4
+ * }
+ */
+ public static int H5VL_DATASET_GET_STORAGE_SIZE() { return H5VL_DATASET_GET_STORAGE_SIZE; }
+ private static final int H5VL_DATASET_GET_TYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_TYPE = 5
+ * }
+ */
+ public static int H5VL_DATASET_GET_TYPE() { return H5VL_DATASET_GET_TYPE; }
+ private static final int H5VL_DATASET_SET_EXTENT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_specific_t.H5VL_DATASET_SET_EXTENT = 0
+ * }
+ */
+ public static int H5VL_DATASET_SET_EXTENT() { return H5VL_DATASET_SET_EXTENT; }
+ private static final int H5VL_DATASET_FLUSH = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_specific_t.H5VL_DATASET_FLUSH = 1
+ * }
+ */
+ public static int H5VL_DATASET_FLUSH() { return H5VL_DATASET_FLUSH; }
+ private static final int H5VL_DATASET_REFRESH = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_specific_t.H5VL_DATASET_REFRESH = 2
+ * }
+ */
+ public static int H5VL_DATASET_REFRESH() { return H5VL_DATASET_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_dataset_optional_t
+ * }
+ */
+ public static final OfInt H5VL_dataset_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_DATATYPE_GET_BINARY_SIZE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_get_t.H5VL_DATATYPE_GET_BINARY_SIZE = 0
+ * }
+ */
+ public static int H5VL_DATATYPE_GET_BINARY_SIZE() { return H5VL_DATATYPE_GET_BINARY_SIZE; }
+ private static final int H5VL_DATATYPE_GET_BINARY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_get_t.H5VL_DATATYPE_GET_BINARY = 1
+ * }
+ */
+ public static int H5VL_DATATYPE_GET_BINARY() { return H5VL_DATATYPE_GET_BINARY; }
+ private static final int H5VL_DATATYPE_GET_TCPL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_get_t.H5VL_DATATYPE_GET_TCPL = 2
+ * }
+ */
+ public static int H5VL_DATATYPE_GET_TCPL() { return H5VL_DATATYPE_GET_TCPL; }
+ private static final int H5VL_DATATYPE_FLUSH = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_specific_t.H5VL_DATATYPE_FLUSH = 0
+ * }
+ */
+ public static int H5VL_DATATYPE_FLUSH() { return H5VL_DATATYPE_FLUSH; }
+ private static final int H5VL_DATATYPE_REFRESH = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_specific_t.H5VL_DATATYPE_REFRESH = 1
+ * }
+ */
+ public static int H5VL_DATATYPE_REFRESH() { return H5VL_DATATYPE_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_datatype_optional_t
+ * }
+ */
+ public static final OfInt H5VL_datatype_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_FILE_GET_CONT_INFO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_CONT_INFO = 0
+ * }
+ */
+ public static int H5VL_FILE_GET_CONT_INFO() { return H5VL_FILE_GET_CONT_INFO; }
+ private static final int H5VL_FILE_GET_FAPL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_FAPL = 1
+ * }
+ */
+ public static int H5VL_FILE_GET_FAPL() { return H5VL_FILE_GET_FAPL; }
+ private static final int H5VL_FILE_GET_FCPL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_FCPL = 2
+ * }
+ */
+ public static int H5VL_FILE_GET_FCPL() { return H5VL_FILE_GET_FCPL; }
+ private static final int H5VL_FILE_GET_FILENO = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_FILENO = 3
+ * }
+ */
+ public static int H5VL_FILE_GET_FILENO() { return H5VL_FILE_GET_FILENO; }
+ private static final int H5VL_FILE_GET_INTENT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_INTENT = 4
+ * }
+ */
+ public static int H5VL_FILE_GET_INTENT() { return H5VL_FILE_GET_INTENT; }
+ private static final int H5VL_FILE_GET_NAME = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_NAME = 5
+ * }
+ */
+ public static int H5VL_FILE_GET_NAME() { return H5VL_FILE_GET_NAME; }
+ private static final int H5VL_FILE_GET_OBJ_COUNT = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_OBJ_COUNT = 6
+ * }
+ */
+ public static int H5VL_FILE_GET_OBJ_COUNT() { return H5VL_FILE_GET_OBJ_COUNT; }
+ private static final int H5VL_FILE_GET_OBJ_IDS = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_OBJ_IDS = 7
+ * }
+ */
+ public static int H5VL_FILE_GET_OBJ_IDS() { return H5VL_FILE_GET_OBJ_IDS; }
+ private static final int H5VL_FILE_FLUSH = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_FLUSH = 0
+ * }
+ */
+ public static int H5VL_FILE_FLUSH() { return H5VL_FILE_FLUSH; }
+ private static final int H5VL_FILE_REOPEN = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_REOPEN = 1
+ * }
+ */
+ public static int H5VL_FILE_REOPEN() { return H5VL_FILE_REOPEN; }
+ private static final int H5VL_FILE_IS_ACCESSIBLE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_IS_ACCESSIBLE = 2
+ * }
+ */
+ public static int H5VL_FILE_IS_ACCESSIBLE() { return H5VL_FILE_IS_ACCESSIBLE; }
+ private static final int H5VL_FILE_DELETE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_DELETE = 3
+ * }
+ */
+ public static int H5VL_FILE_DELETE() { return H5VL_FILE_DELETE; }
+ private static final int H5VL_FILE_IS_EQUAL = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_IS_EQUAL = 4
+ * }
+ */
+ public static int H5VL_FILE_IS_EQUAL() { return H5VL_FILE_IS_EQUAL; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_file_optional_t
+ * }
+ */
+ public static final OfInt H5VL_file_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_GROUP_GET_GCPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_get_t.H5VL_GROUP_GET_GCPL = 0
+ * }
+ */
+ public static int H5VL_GROUP_GET_GCPL() { return H5VL_GROUP_GET_GCPL; }
+ private static final int H5VL_GROUP_GET_INFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_get_t.H5VL_GROUP_GET_INFO = 1
+ * }
+ */
+ public static int H5VL_GROUP_GET_INFO() { return H5VL_GROUP_GET_INFO; }
+ private static final int H5VL_GROUP_MOUNT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_MOUNT = 0
+ * }
+ */
+ public static int H5VL_GROUP_MOUNT() { return H5VL_GROUP_MOUNT; }
+ private static final int H5VL_GROUP_UNMOUNT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_UNMOUNT = 1
+ * }
+ */
+ public static int H5VL_GROUP_UNMOUNT() { return H5VL_GROUP_UNMOUNT; }
+ private static final int H5VL_GROUP_FLUSH = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_FLUSH = 2
+ * }
+ */
+ public static int H5VL_GROUP_FLUSH() { return H5VL_GROUP_FLUSH; }
+ private static final int H5VL_GROUP_REFRESH = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_REFRESH = 3
+ * }
+ */
+ public static int H5VL_GROUP_REFRESH() { return H5VL_GROUP_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_group_optional_t
+ * }
+ */
+ public static final OfInt H5VL_group_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_LINK_CREATE_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_create_t.H5VL_LINK_CREATE_HARD = 0
+ * }
+ */
+ public static int H5VL_LINK_CREATE_HARD() { return H5VL_LINK_CREATE_HARD; }
+ private static final int H5VL_LINK_CREATE_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_create_t.H5VL_LINK_CREATE_SOFT = 1
+ * }
+ */
+ public static int H5VL_LINK_CREATE_SOFT() { return H5VL_LINK_CREATE_SOFT; }
+ private static final int H5VL_LINK_CREATE_UD = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_create_t.H5VL_LINK_CREATE_UD = 2
+ * }
+ */
+ public static int H5VL_LINK_CREATE_UD() { return H5VL_LINK_CREATE_UD; }
+ private static final int H5VL_LINK_GET_INFO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_get_t.H5VL_LINK_GET_INFO = 0
+ * }
+ */
+ public static int H5VL_LINK_GET_INFO() { return H5VL_LINK_GET_INFO; }
+ private static final int H5VL_LINK_GET_NAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_get_t.H5VL_LINK_GET_NAME = 1
+ * }
+ */
+ public static int H5VL_LINK_GET_NAME() { return H5VL_LINK_GET_NAME; }
+ private static final int H5VL_LINK_GET_VAL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_get_t.H5VL_LINK_GET_VAL = 2
+ * }
+ */
+ public static int H5VL_LINK_GET_VAL() { return H5VL_LINK_GET_VAL; }
+ private static final int H5VL_LINK_DELETE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_specific_t.H5VL_LINK_DELETE = 0
+ * }
+ */
+ public static int H5VL_LINK_DELETE() { return H5VL_LINK_DELETE; }
+ private static final int H5VL_LINK_EXISTS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_specific_t.H5VL_LINK_EXISTS = 1
+ * }
+ */
+ public static int H5VL_LINK_EXISTS() { return H5VL_LINK_EXISTS; }
+ private static final int H5VL_LINK_ITER = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_specific_t.H5VL_LINK_ITER = 2
+ * }
+ */
+ public static int H5VL_LINK_ITER() { return H5VL_LINK_ITER; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_link_optional_t
+ * }
+ */
+ public static final OfInt H5VL_link_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_OBJECT_GET_FILE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_FILE = 0
+ * }
+ */
+ public static int H5VL_OBJECT_GET_FILE() { return H5VL_OBJECT_GET_FILE; }
+ private static final int H5VL_OBJECT_GET_NAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_NAME = 1
+ * }
+ */
+ public static int H5VL_OBJECT_GET_NAME() { return H5VL_OBJECT_GET_NAME; }
+ private static final int H5VL_OBJECT_GET_TYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_TYPE = 2
+ * }
+ */
+ public static int H5VL_OBJECT_GET_TYPE() { return H5VL_OBJECT_GET_TYPE; }
+ private static final int H5VL_OBJECT_GET_INFO = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_INFO = 3
+ * }
+ */
+ public static int H5VL_OBJECT_GET_INFO() { return H5VL_OBJECT_GET_INFO; }
+ private static final int H5VL_OBJECT_CHANGE_REF_COUNT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_CHANGE_REF_COUNT = 0
+ * }
+ */
+ public static int H5VL_OBJECT_CHANGE_REF_COUNT() { return H5VL_OBJECT_CHANGE_REF_COUNT; }
+ private static final int H5VL_OBJECT_EXISTS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_EXISTS = 1
+ * }
+ */
+ public static int H5VL_OBJECT_EXISTS() { return H5VL_OBJECT_EXISTS; }
+ private static final int H5VL_OBJECT_LOOKUP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_LOOKUP = 2
+ * }
+ */
+ public static int H5VL_OBJECT_LOOKUP() { return H5VL_OBJECT_LOOKUP; }
+ private static final int H5VL_OBJECT_VISIT = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_VISIT = 3
+ * }
+ */
+ public static int H5VL_OBJECT_VISIT() { return H5VL_OBJECT_VISIT; }
+ private static final int H5VL_OBJECT_FLUSH = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_FLUSH = 4
+ * }
+ */
+ public static int H5VL_OBJECT_FLUSH() { return H5VL_OBJECT_FLUSH; }
+ private static final int H5VL_OBJECT_REFRESH = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_REFRESH = 5
+ * }
+ */
+ public static int H5VL_OBJECT_REFRESH() { return H5VL_OBJECT_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_object_optional_t
+ * }
+ */
+ public static final OfInt H5VL_object_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_REQUEST_STATUS_IN_PROGRESS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_IN_PROGRESS = 0
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_IN_PROGRESS() { return H5VL_REQUEST_STATUS_IN_PROGRESS; }
+ private static final int H5VL_REQUEST_STATUS_SUCCEED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_SUCCEED = 1
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_SUCCEED() { return H5VL_REQUEST_STATUS_SUCCEED; }
+ private static final int H5VL_REQUEST_STATUS_FAIL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_FAIL = 2
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_FAIL() { return H5VL_REQUEST_STATUS_FAIL; }
+ private static final int H5VL_REQUEST_STATUS_CANT_CANCEL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_CANT_CANCEL = 3
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_CANT_CANCEL() { return H5VL_REQUEST_STATUS_CANT_CANCEL; }
+ private static final int H5VL_REQUEST_STATUS_CANCELED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_CANCELED = 4
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_CANCELED() { return H5VL_REQUEST_STATUS_CANCELED; }
+ private static final int H5VL_REQUEST_GET_ERR_STACK = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_specific_t.H5VL_REQUEST_GET_ERR_STACK = 0
+ * }
+ */
+ public static int H5VL_REQUEST_GET_ERR_STACK() { return H5VL_REQUEST_GET_ERR_STACK; }
+ private static final int H5VL_REQUEST_GET_EXEC_TIME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_specific_t.H5VL_REQUEST_GET_EXEC_TIME = 1
+ * }
+ */
+ public static int H5VL_REQUEST_GET_EXEC_TIME() { return H5VL_REQUEST_GET_EXEC_TIME; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_request_optional_t
+ * }
+ */
+ public static final OfInt H5VL_request_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_BLOB_DELETE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_blob_specific_t.H5VL_BLOB_DELETE = 0
+ * }
+ */
+ public static int H5VL_BLOB_DELETE() { return H5VL_BLOB_DELETE; }
+ private static final int H5VL_BLOB_ISNULL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_blob_specific_t.H5VL_BLOB_ISNULL = 1
+ * }
+ */
+ public static int H5VL_BLOB_ISNULL() { return H5VL_BLOB_ISNULL; }
+ private static final int H5VL_BLOB_SETNULL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_blob_specific_t.H5VL_BLOB_SETNULL = 2
+ * }
+ */
+ public static int H5VL_BLOB_SETNULL() { return H5VL_BLOB_SETNULL; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_blob_optional_t
+ * }
+ */
+ public static final OfInt H5VL_blob_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_GET_CONN_LVL_CURR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_get_conn_lvl_t.H5VL_GET_CONN_LVL_CURR = 0
+ * }
+ */
+ public static int H5VL_GET_CONN_LVL_CURR() { return H5VL_GET_CONN_LVL_CURR; }
+ private static final int H5VL_GET_CONN_LVL_TERM = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_get_conn_lvl_t.H5VL_GET_CONN_LVL_TERM = 1
+ * }
+ */
+ public static int H5VL_GET_CONN_LVL_TERM() { return H5VL_GET_CONN_LVL_TERM; }
+
+ private static class H5VLregister_connector {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_connector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_connector$descriptor()
+ {
+ return H5VLregister_connector.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLregister_connector$handle() { return H5VLregister_connector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLregister_connector$address() { return H5VLregister_connector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static long H5VLregister_connector(MemorySegment cls, long vipl_id)
+ {
+ var mh$ = H5VLregister_connector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_connector", cls, vipl_id);
+ }
+ return (long)mh$.invokeExact(cls, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject$descriptor() { return H5VLobject.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static MethodHandle H5VLobject$handle() { return H5VLobject.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5VLobject$address() { return H5VLobject.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5VLobject(long obj_id)
+ {
+ var mh$ = H5VLobject.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject", obj_id);
+ }
+ return (MemorySegment)mh$.invokeExact(obj_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_file_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_file_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_file_type$descriptor() { return H5VLget_file_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static MethodHandle H5VLget_file_type$handle() { return H5VLget_file_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static MemorySegment H5VLget_file_type$address() { return H5VLget_file_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static long H5VLget_file_type(MemorySegment file_obj, long connector_id, long dtype_id)
+ {
+ var mh$ = H5VLget_file_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_file_type", file_obj, connector_id, dtype_id);
+ }
+ return (long)mh$.invokeExact(file_obj, connector_id, dtype_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLregister_opt_operation {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_opt_operation");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_opt_operation$descriptor()
+ {
+ return H5VLregister_opt_operation.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MethodHandle H5VLregister_opt_operation$handle()
+ {
+ return H5VLregister_opt_operation.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MemorySegment H5VLregister_opt_operation$address()
+ {
+ return H5VLregister_opt_operation.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static int H5VLregister_opt_operation(int subcls, MemorySegment op_name, MemorySegment op_val)
+ {
+ var mh$ = H5VLregister_opt_operation.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_opt_operation", subcls, op_name, op_val);
+ }
+ return (int)mh$.invokeExact(subcls, op_name, op_val);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfind_opt_operation {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfind_opt_operation");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static FunctionDescriptor H5VLfind_opt_operation$descriptor()
+ {
+ return H5VLfind_opt_operation.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MethodHandle H5VLfind_opt_operation$handle() { return H5VLfind_opt_operation.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MemorySegment H5VLfind_opt_operation$address() { return H5VLfind_opt_operation.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static int H5VLfind_opt_operation(int subcls, MemorySegment op_name, MemorySegment op_val)
+ {
+ var mh$ = H5VLfind_opt_operation.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfind_opt_operation", subcls, op_name, op_val);
+ }
+ return (int)mh$.invokeExact(subcls, op_name, op_val);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLunregister_opt_operation {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLunregister_opt_operation");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static FunctionDescriptor H5VLunregister_opt_operation$descriptor()
+ {
+ return H5VLunregister_opt_operation.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static MethodHandle H5VLunregister_opt_operation$handle()
+ {
+ return H5VLunregister_opt_operation.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static MemorySegment H5VLunregister_opt_operation$address()
+ {
+ return H5VLunregister_opt_operation.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static int H5VLunregister_opt_operation(int subcls, MemorySegment op_name)
+ {
+ var mh$ = H5VLunregister_opt_operation.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLunregister_opt_operation", subcls, op_name);
+ }
+ return (int)mh$.invokeExact(subcls, op_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_optional_op$descriptor() { return H5VLattr_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLattr_optional_op$handle() { return H5VLattr_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLattr_optional_op$address() { return H5VLattr_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLattr_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long attr_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLattr_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_optional_op", app_file, app_func, app_line, attr_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_optional_op$descriptor()
+ {
+ return H5VLdataset_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLdataset_optional_op$handle() { return H5VLdataset_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLdataset_optional_op$address() { return H5VLdataset_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLdataset_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLdataset_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_optional_op", app_file, app_func, app_line, dset_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_optional_op$descriptor()
+ {
+ return H5VLdatatype_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_optional_op$handle() { return H5VLdatatype_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_optional_op$address() { return H5VLdatatype_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLdatatype_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long type_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLdatatype_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_optional_op", app_file, app_func, app_line, type_id, args,
+ dxpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, type_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_optional_op$descriptor() { return H5VLfile_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLfile_optional_op$handle() { return H5VLfile_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLfile_optional_op$address() { return H5VLfile_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLfile_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long file_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLfile_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_optional_op", app_file, app_func, app_line, file_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, file_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_optional_op$descriptor() { return H5VLgroup_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLgroup_optional_op$handle() { return H5VLgroup_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLgroup_optional_op$address() { return H5VLgroup_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLgroup_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long group_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLgroup_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_optional_op", app_file, app_func, app_line, group_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, group_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_optional_op$descriptor() { return H5VLlink_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLlink_optional_op$handle() { return H5VLlink_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLlink_optional_op$address() { return H5VLlink_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLlink_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lapl_id, MemorySegment args,
+ long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLlink_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_optional_op", app_file, app_func, app_line, loc_id, name, lapl_id,
+ args, dxpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, args, dxpl_id,
+ es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_optional_op$descriptor()
+ {
+ return H5VLobject_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLobject_optional_op$handle() { return H5VLobject_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLobject_optional_op$address() { return H5VLobject_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLobject_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lapl_id,
+ MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLobject_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_optional_op", app_file, app_func, app_line, loc_id, name, lapl_id,
+ args, dxpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, args, dxpl_id,
+ es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_optional_op {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_optional_op$descriptor()
+ {
+ return H5VLrequest_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLrequest_optional_op$handle() { return H5VLrequest_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLrequest_optional_op$address() { return H5VLrequest_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static int H5VLrequest_optional_op(MemorySegment req, long connector_id, MemorySegment args)
+ {
+ var mh$ = H5VLrequest_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_optional_op", req, connector_id, args);
+ }
+ return (int)mh$.invokeExact(req, connector_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5VL_MAP_GET_MAPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_MAPL = 0
+ * }
+ */
+ public static int H5VL_MAP_GET_MAPL() { return H5VL_MAP_GET_MAPL; }
+ private static final int H5VL_MAP_GET_MCPL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_MCPL = 1
+ * }
+ */
+ public static int H5VL_MAP_GET_MCPL() { return H5VL_MAP_GET_MCPL; }
+ private static final int H5VL_MAP_GET_KEY_TYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_KEY_TYPE = 2
+ * }
+ */
+ public static int H5VL_MAP_GET_KEY_TYPE() { return H5VL_MAP_GET_KEY_TYPE; }
+ private static final int H5VL_MAP_GET_VAL_TYPE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_VAL_TYPE = 3
+ * }
+ */
+ public static int H5VL_MAP_GET_VAL_TYPE() { return H5VL_MAP_GET_VAL_TYPE; }
+ private static final int H5VL_MAP_GET_COUNT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_COUNT = 4
+ * }
+ */
+ public static int H5VL_MAP_GET_COUNT() { return H5VL_MAP_GET_COUNT; }
+ private static final int H5VL_MAP_ITER = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_specific_t.H5VL_MAP_ITER = 0
+ * }
+ */
+ public static int H5VL_MAP_ITER() { return H5VL_MAP_ITER; }
+ private static final int H5VL_MAP_DELETE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_specific_t.H5VL_MAP_DELETE = 1
+ * }
+ */
+ public static int H5VL_MAP_DELETE() { return H5VL_MAP_DELETE; }
+ private static final int H5S_NO_CLASS = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_NO_CLASS = -1
+ * }
+ */
+ public static int H5S_NO_CLASS() { return H5S_NO_CLASS; }
+ private static final int H5S_SCALAR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_SCALAR = 0
+ * }
+ */
+ public static int H5S_SCALAR() { return H5S_SCALAR; }
+ private static final int H5S_SIMPLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_SIMPLE = 1
+ * }
+ */
+ public static int H5S_SIMPLE() { return H5S_SIMPLE; }
+ private static final int H5S_NULL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_NULL = 2
+ * }
+ */
+ public static int H5S_NULL() { return H5S_NULL; }
+ private static final int H5S_SELECT_NOOP = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_NOOP = -1
+ * }
+ */
+ public static int H5S_SELECT_NOOP() { return H5S_SELECT_NOOP; }
+ private static final int H5S_SELECT_SET = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_SET = 0
+ * }
+ */
+ public static int H5S_SELECT_SET() { return H5S_SELECT_SET; }
+ private static final int H5S_SELECT_OR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_OR = 1
+ * }
+ */
+ public static int H5S_SELECT_OR() { return H5S_SELECT_OR; }
+ private static final int H5S_SELECT_AND = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_AND = 2
+ * }
+ */
+ public static int H5S_SELECT_AND() { return H5S_SELECT_AND; }
+ private static final int H5S_SELECT_XOR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_XOR = 3
+ * }
+ */
+ public static int H5S_SELECT_XOR() { return H5S_SELECT_XOR; }
+ private static final int H5S_SELECT_NOTB = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_NOTB = 4
+ * }
+ */
+ public static int H5S_SELECT_NOTB() { return H5S_SELECT_NOTB; }
+ private static final int H5S_SELECT_NOTA = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_NOTA = 5
+ * }
+ */
+ public static int H5S_SELECT_NOTA() { return H5S_SELECT_NOTA; }
+ private static final int H5S_SELECT_APPEND = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_APPEND = 6
+ * }
+ */
+ public static int H5S_SELECT_APPEND() { return H5S_SELECT_APPEND; }
+ private static final int H5S_SELECT_PREPEND = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_PREPEND = 7
+ * }
+ */
+ public static int H5S_SELECT_PREPEND() { return H5S_SELECT_PREPEND; }
+ private static final int H5S_SELECT_INVALID = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_INVALID = 8
+ * }
+ */
+ public static int H5S_SELECT_INVALID() { return H5S_SELECT_INVALID; }
+ private static final int H5S_SEL_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_ERROR = -1
+ * }
+ */
+ public static int H5S_SEL_ERROR() { return H5S_SEL_ERROR; }
+ private static final int H5S_SEL_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_NONE = 0
+ * }
+ */
+ public static int H5S_SEL_NONE() { return H5S_SEL_NONE; }
+ private static final int H5S_SEL_POINTS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_POINTS = 1
+ * }
+ */
+ public static int H5S_SEL_POINTS() { return H5S_SEL_POINTS; }
+ private static final int H5S_SEL_HYPERSLABS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_HYPERSLABS = 2
+ * }
+ */
+ public static int H5S_SEL_HYPERSLABS() { return H5S_SEL_HYPERSLABS; }
+ private static final int H5S_SEL_ALL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_ALL = 3
+ * }
+ */
+ public static int H5S_SEL_ALL() { return H5S_SEL_ALL; }
+ private static final int H5S_SEL_N = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_N = 4
+ * }
+ */
+ public static int H5S_SEL_N() { return H5S_SEL_N; }
+
+ private static class H5Sclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sclose$descriptor() { return H5Sclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sclose$handle() { return H5Sclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sclose$address() { return H5Sclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static int H5Sclose(long space_id)
+ {
+ var mh$ = H5Sclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sclose", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Scombine_hyperslab {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Scombine_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Scombine_hyperslab$descriptor() { return H5Scombine_hyperslab.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Scombine_hyperslab$handle() { return H5Scombine_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Scombine_hyperslab$address() { return H5Scombine_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static long H5Scombine_hyperslab(long space_id, int op, MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Scombine_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Scombine_hyperslab", space_id, op, start, stride, count, block);
+ }
+ return (long)mh$.invokeExact(space_id, op, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Scombine_select {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Scombine_select");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Scombine_select$descriptor() { return H5Scombine_select.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Scombine_select$handle() { return H5Scombine_select.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Scombine_select$address() { return H5Scombine_select.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static long H5Scombine_select(long space1_id, int op, long space2_id)
+ {
+ var mh$ = H5Scombine_select.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Scombine_select", space1_id, op, space2_id);
+ }
+ return (long)mh$.invokeExact(space1_id, op, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Scopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Scopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Scopy$descriptor() { return H5Scopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Scopy$handle() { return H5Scopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Scopy$address() { return H5Scopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static long H5Scopy(long space_id)
+ {
+ var mh$ = H5Scopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Scopy", space_id);
+ }
+ return (long)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Screate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Screate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Screate$descriptor() { return H5Screate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static MethodHandle H5Screate$handle() { return H5Screate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static MemorySegment H5Screate$address() { return H5Screate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static long H5Screate(int type)
+ {
+ var mh$ = H5Screate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Screate", type);
+ }
+ return (long)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Screate_simple {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Screate_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static FunctionDescriptor H5Screate_simple$descriptor() { return H5Screate_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static MethodHandle H5Screate_simple$handle() { return H5Screate_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static MemorySegment H5Screate_simple$address() { return H5Screate_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static long H5Screate_simple(int rank, MemorySegment dims, MemorySegment maxdims)
+ {
+ var mh$ = H5Screate_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Screate_simple", rank, dims, maxdims);
+ }
+ return (long)mh$.invokeExact(rank, dims, maxdims);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sdecode {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sdecode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Sdecode$descriptor() { return H5Sdecode.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static MethodHandle H5Sdecode$handle() { return H5Sdecode.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static MemorySegment H5Sdecode$address() { return H5Sdecode.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static long H5Sdecode(MemorySegment buf)
+ {
+ var mh$ = H5Sdecode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sdecode", buf);
+ }
+ return (long)mh$.invokeExact(buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sencode2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sencode2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static FunctionDescriptor H5Sencode2$descriptor() { return H5Sencode2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static MethodHandle H5Sencode2$handle() { return H5Sencode2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static MemorySegment H5Sencode2$address() { return H5Sencode2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static int H5Sencode2(long obj_id, MemorySegment buf, MemorySegment nalloc, long fapl)
+ {
+ var mh$ = H5Sencode2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sencode2", obj_id, buf, nalloc, fapl);
+ }
+ return (int)mh$.invokeExact(obj_id, buf, nalloc, fapl);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sextent_copy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sextent_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sextent_copy$descriptor() { return H5Sextent_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MethodHandle H5Sextent_copy$handle() { return H5Sextent_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MemorySegment H5Sextent_copy$address() { return H5Sextent_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static int H5Sextent_copy(long dst_id, long src_id)
+ {
+ var mh$ = H5Sextent_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sextent_copy", dst_id, src_id);
+ }
+ return (int)mh$.invokeExact(dst_id, src_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sextent_equal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sextent_equal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sextent_equal$descriptor() { return H5Sextent_equal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Sextent_equal$handle() { return H5Sextent_equal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Sextent_equal$address() { return H5Sextent_equal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static int H5Sextent_equal(long space1_id, long space2_id)
+ {
+ var mh$ = H5Sextent_equal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sextent_equal", space1_id, space2_id);
+ }
+ return (int)mh$.invokeExact(space1_id, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_regular_hyperslab {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_regular_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_regular_hyperslab$descriptor()
+ {
+ return H5Sget_regular_hyperslab.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Sget_regular_hyperslab$handle() { return H5Sget_regular_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Sget_regular_hyperslab$address() { return H5Sget_regular_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static int H5Sget_regular_hyperslab(long spaceid, MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Sget_regular_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_regular_hyperslab", spaceid, start, stride, count, block);
+ }
+ return (int)mh$.invokeExact(spaceid, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_bounds$descriptor() { return H5Sget_select_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static MethodHandle H5Sget_select_bounds$handle() { return H5Sget_select_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static MemorySegment H5Sget_select_bounds$address() { return H5Sget_select_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static int H5Sget_select_bounds(long spaceid, MemorySegment start, MemorySegment end)
+ {
+ var mh$ = H5Sget_select_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_bounds", spaceid, start, end);
+ }
+ return (int)mh$.invokeExact(spaceid, start, end);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_elem_npoints {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_elem_npoints");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_elem_npoints$descriptor()
+ {
+ return H5Sget_select_elem_npoints.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_elem_npoints$handle()
+ {
+ return H5Sget_select_elem_npoints.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_elem_npoints$address()
+ {
+ return H5Sget_select_elem_npoints.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static long H5Sget_select_elem_npoints(long spaceid)
+ {
+ var mh$ = H5Sget_select_elem_npoints.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_elem_npoints", spaceid);
+ }
+ return (long)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_elem_pointlist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_elem_pointlist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_elem_pointlist$descriptor()
+ {
+ return H5Sget_select_elem_pointlist.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static MethodHandle H5Sget_select_elem_pointlist$handle()
+ {
+ return H5Sget_select_elem_pointlist.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static MemorySegment H5Sget_select_elem_pointlist$address()
+ {
+ return H5Sget_select_elem_pointlist.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static int H5Sget_select_elem_pointlist(long spaceid, long startpoint, long numpoints,
+ MemorySegment buf)
+ {
+ var mh$ = H5Sget_select_elem_pointlist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_elem_pointlist", spaceid, startpoint, numpoints, buf);
+ }
+ return (int)mh$.invokeExact(spaceid, startpoint, numpoints, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_hyper_blocklist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_hyper_blocklist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_hyper_blocklist$descriptor()
+ {
+ return H5Sget_select_hyper_blocklist.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static MethodHandle H5Sget_select_hyper_blocklist$handle()
+ {
+ return H5Sget_select_hyper_blocklist.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static MemorySegment H5Sget_select_hyper_blocklist$address()
+ {
+ return H5Sget_select_hyper_blocklist.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static int H5Sget_select_hyper_blocklist(long spaceid, long startblock, long numblocks,
+ MemorySegment buf)
+ {
+ var mh$ = H5Sget_select_hyper_blocklist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_hyper_blocklist", spaceid, startblock, numblocks, buf);
+ }
+ return (int)mh$.invokeExact(spaceid, startblock, numblocks, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_hyper_nblocks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_hyper_nblocks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_hyper_nblocks$descriptor()
+ {
+ return H5Sget_select_hyper_nblocks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_hyper_nblocks$handle()
+ {
+ return H5Sget_select_hyper_nblocks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_hyper_nblocks$address()
+ {
+ return H5Sget_select_hyper_nblocks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static long H5Sget_select_hyper_nblocks(long spaceid)
+ {
+ var mh$ = H5Sget_select_hyper_nblocks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_hyper_nblocks", spaceid);
+ }
+ return (long)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_npoints {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_npoints");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_npoints$descriptor() { return H5Sget_select_npoints.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_npoints$handle() { return H5Sget_select_npoints.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_npoints$address() { return H5Sget_select_npoints.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static long H5Sget_select_npoints(long spaceid)
+ {
+ var mh$ = H5Sget_select_npoints.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_npoints", spaceid);
+ }
+ return (long)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_type$descriptor() { return H5Sget_select_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_type$handle() { return H5Sget_select_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_type$address() { return H5Sget_select_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static int H5Sget_select_type(long spaceid)
+ {
+ var mh$ = H5Sget_select_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_type", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_dims {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_dims");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_dims$descriptor()
+ {
+ return H5Sget_simple_extent_dims.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_dims$handle() { return H5Sget_simple_extent_dims.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_dims$address() { return H5Sget_simple_extent_dims.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static int H5Sget_simple_extent_dims(long space_id, MemorySegment dims, MemorySegment maxdims)
+ {
+ var mh$ = H5Sget_simple_extent_dims.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_dims", space_id, dims, maxdims);
+ }
+ return (int)mh$.invokeExact(space_id, dims, maxdims);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_ndims {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_ndims");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_ndims$descriptor()
+ {
+ return H5Sget_simple_extent_ndims.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_ndims$handle()
+ {
+ return H5Sget_simple_extent_ndims.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_ndims$address()
+ {
+ return H5Sget_simple_extent_ndims.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static int H5Sget_simple_extent_ndims(long space_id)
+ {
+ var mh$ = H5Sget_simple_extent_ndims.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_ndims", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_npoints {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_npoints");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_npoints$descriptor()
+ {
+ return H5Sget_simple_extent_npoints.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_npoints$handle()
+ {
+ return H5Sget_simple_extent_npoints.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_npoints$address()
+ {
+ return H5Sget_simple_extent_npoints.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static long H5Sget_simple_extent_npoints(long space_id)
+ {
+ var mh$ = H5Sget_simple_extent_npoints.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_npoints", space_id);
+ }
+ return (long)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_type$descriptor()
+ {
+ return H5Sget_simple_extent_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_type$handle() { return H5Sget_simple_extent_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_type$address() { return H5Sget_simple_extent_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static int H5Sget_simple_extent_type(long space_id)
+ {
+ var mh$ = H5Sget_simple_extent_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_type", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sis_regular_hyperslab {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sis_regular_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sis_regular_hyperslab$descriptor()
+ {
+ return H5Sis_regular_hyperslab.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sis_regular_hyperslab$handle() { return H5Sis_regular_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sis_regular_hyperslab$address() { return H5Sis_regular_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static int H5Sis_regular_hyperslab(long spaceid)
+ {
+ var mh$ = H5Sis_regular_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sis_regular_hyperslab", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sis_simple {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sis_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sis_simple$descriptor() { return H5Sis_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sis_simple$handle() { return H5Sis_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sis_simple$address() { return H5Sis_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static int H5Sis_simple(long space_id)
+ {
+ var mh$ = H5Sis_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sis_simple", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Smodify_select {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Smodify_select");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Smodify_select$descriptor() { return H5Smodify_select.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Smodify_select$handle() { return H5Smodify_select.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Smodify_select$address() { return H5Smodify_select.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static int H5Smodify_select(long space1_id, int op, long space2_id)
+ {
+ var mh$ = H5Smodify_select.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Smodify_select", space1_id, op, space2_id);
+ }
+ return (int)mh$.invokeExact(space1_id, op, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Soffset_simple {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Soffset_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static FunctionDescriptor H5Soffset_simple$descriptor() { return H5Soffset_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static MethodHandle H5Soffset_simple$handle() { return H5Soffset_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static MemorySegment H5Soffset_simple$address() { return H5Soffset_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static int H5Soffset_simple(long space_id, MemorySegment offset)
+ {
+ var mh$ = H5Soffset_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Soffset_simple", space_id, offset);
+ }
+ return (int)mh$.invokeExact(space_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_close$descriptor() { return H5Ssel_iter_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_close$handle() { return H5Ssel_iter_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_close$address() { return H5Ssel_iter_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static int H5Ssel_iter_close(long sel_iter_id)
+ {
+ var mh$ = H5Ssel_iter_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_close", sel_iter_id);
+ }
+ return (int)mh$.invokeExact(sel_iter_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_create$descriptor() { return H5Ssel_iter_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_create$handle() { return H5Ssel_iter_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_create$address() { return H5Ssel_iter_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static long H5Ssel_iter_create(long spaceid, long elmt_size, int flags)
+ {
+ var mh$ = H5Ssel_iter_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_create", spaceid, elmt_size, flags);
+ }
+ return (long)mh$.invokeExact(spaceid, elmt_size, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_get_seq_list {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_get_seq_list");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_get_seq_list$descriptor()
+ {
+ return H5Ssel_iter_get_seq_list.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_get_seq_list$handle() { return H5Ssel_iter_get_seq_list.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_get_seq_list$address() { return H5Ssel_iter_get_seq_list.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static int H5Ssel_iter_get_seq_list(long sel_iter_id, long maxseq, long maxelmts,
+ MemorySegment nseq, MemorySegment nelmts, MemorySegment off,
+ MemorySegment len)
+ {
+ var mh$ = H5Ssel_iter_get_seq_list.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_get_seq_list", sel_iter_id, maxseq, maxelmts, nseq, nelmts, off,
+ len);
+ }
+ return (int)mh$.invokeExact(sel_iter_id, maxseq, maxelmts, nseq, nelmts, off, len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_reset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_reset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_reset$descriptor() { return H5Ssel_iter_reset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_reset$handle() { return H5Ssel_iter_reset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_reset$address() { return H5Ssel_iter_reset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static int H5Ssel_iter_reset(long sel_iter_id, long space_id)
+ {
+ var mh$ = H5Ssel_iter_reset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_reset", sel_iter_id, space_id);
+ }
+ return (int)mh$.invokeExact(sel_iter_id, space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_adjust {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_adjust");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_adjust$descriptor() { return H5Sselect_adjust.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static MethodHandle H5Sselect_adjust$handle() { return H5Sselect_adjust.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static MemorySegment H5Sselect_adjust$address() { return H5Sselect_adjust.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static int H5Sselect_adjust(long spaceid, MemorySegment offset)
+ {
+ var mh$ = H5Sselect_adjust.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_adjust", spaceid, offset);
+ }
+ return (int)mh$.invokeExact(spaceid, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_all {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_all");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_all$descriptor() { return H5Sselect_all.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sselect_all$handle() { return H5Sselect_all.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sselect_all$address() { return H5Sselect_all.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static int H5Sselect_all(long spaceid)
+ {
+ var mh$ = H5Sselect_all.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_all", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_copy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_copy$descriptor() { return H5Sselect_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MethodHandle H5Sselect_copy$handle() { return H5Sselect_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MemorySegment H5Sselect_copy$address() { return H5Sselect_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static int H5Sselect_copy(long dst_id, long src_id)
+ {
+ var mh$ = H5Sselect_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_copy", dst_id, src_id);
+ }
+ return (int)mh$.invokeExact(dst_id, src_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_elements {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_elements");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_elements$descriptor() { return H5Sselect_elements.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static MethodHandle H5Sselect_elements$handle() { return H5Sselect_elements.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static MemorySegment H5Sselect_elements$address() { return H5Sselect_elements.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static int H5Sselect_elements(long space_id, int op, long num_elem, MemorySegment coord)
+ {
+ var mh$ = H5Sselect_elements.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_elements", space_id, op, num_elem, coord);
+ }
+ return (int)mh$.invokeExact(space_id, op, num_elem, coord);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_hyperslab {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_hyperslab$descriptor() { return H5Sselect_hyperslab.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Sselect_hyperslab$handle() { return H5Sselect_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Sselect_hyperslab$address() { return H5Sselect_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static int H5Sselect_hyperslab(long space_id, int op, MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Sselect_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_hyperslab", space_id, op, start, stride, count, block);
+ }
+ return (int)mh$.invokeExact(space_id, op, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_intersect_block {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_intersect_block");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_intersect_block$descriptor()
+ {
+ return H5Sselect_intersect_block.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static MethodHandle H5Sselect_intersect_block$handle() { return H5Sselect_intersect_block.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static MemorySegment H5Sselect_intersect_block$address() { return H5Sselect_intersect_block.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static int H5Sselect_intersect_block(long space_id, MemorySegment start, MemorySegment end)
+ {
+ var mh$ = H5Sselect_intersect_block.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_intersect_block", space_id, start, end);
+ }
+ return (int)mh$.invokeExact(space_id, start, end);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_none {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_none");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_none$descriptor() { return H5Sselect_none.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sselect_none$handle() { return H5Sselect_none.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sselect_none$address() { return H5Sselect_none.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static int H5Sselect_none(long spaceid)
+ {
+ var mh$ = H5Sselect_none.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_none", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_project_intersection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_project_intersection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_project_intersection$descriptor()
+ {
+ return H5Sselect_project_intersection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static MethodHandle H5Sselect_project_intersection$handle()
+ {
+ return H5Sselect_project_intersection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static MemorySegment H5Sselect_project_intersection$address()
+ {
+ return H5Sselect_project_intersection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static long H5Sselect_project_intersection(long src_space_id, long dst_space_id,
+ long src_intersect_space_id)
+ {
+ var mh$ = H5Sselect_project_intersection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_project_intersection", src_space_id, dst_space_id,
+ src_intersect_space_id);
+ }
+ return (long)mh$.invokeExact(src_space_id, dst_space_id, src_intersect_space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_shape_same {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_shape_same");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_shape_same$descriptor() { return H5Sselect_shape_same.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Sselect_shape_same$handle() { return H5Sselect_shape_same.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Sselect_shape_same$address() { return H5Sselect_shape_same.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static int H5Sselect_shape_same(long space1_id, long space2_id)
+ {
+ var mh$ = H5Sselect_shape_same.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_shape_same", space1_id, space2_id);
+ }
+ return (int)mh$.invokeExact(space1_id, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_valid {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_valid");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_valid$descriptor() { return H5Sselect_valid.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sselect_valid$handle() { return H5Sselect_valid.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sselect_valid$address() { return H5Sselect_valid.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static int H5Sselect_valid(long spaceid)
+ {
+ var mh$ = H5Sselect_valid.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_valid", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sset_extent_none {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sset_extent_none");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sset_extent_none$descriptor() { return H5Sset_extent_none.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sset_extent_none$handle() { return H5Sset_extent_none.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sset_extent_none$address() { return H5Sset_extent_none.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static int H5Sset_extent_none(long space_id)
+ {
+ var mh$ = H5Sset_extent_none.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sset_extent_none", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sset_extent_simple {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sset_extent_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static FunctionDescriptor H5Sset_extent_simple$descriptor() { return H5Sset_extent_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static MethodHandle H5Sset_extent_simple$handle() { return H5Sset_extent_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static MemorySegment H5Sset_extent_simple$address() { return H5Sset_extent_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static int H5Sset_extent_simple(long space_id, int rank, MemorySegment dims, MemorySegment max)
+ {
+ var mh$ = H5Sset_extent_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sset_extent_simple", space_id, rank, dims, max);
+ }
+ return (int)mh$.invokeExact(space_id, rank, dims, max);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sencode1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sencode1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static FunctionDescriptor H5Sencode1$descriptor() { return H5Sencode1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MethodHandle H5Sencode1$handle() { return H5Sencode1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MemorySegment H5Sencode1$address() { return H5Sencode1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static int H5Sencode1(long obj_id, MemorySegment buf, MemorySegment nalloc)
+ {
+ var mh$ = H5Sencode1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sencode1", obj_id, buf, nalloc);
+ }
+ return (int)mh$.invokeExact(obj_id, buf, nalloc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5Z_filter_t
+ * }
+ */
+ public static final OfInt H5Z_filter_t = hdf5_h.C_INT;
+ private static final int H5Z_SO_FLOAT_DSCALE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_SO_scale_type_t.H5Z_SO_FLOAT_DSCALE = 0
+ * }
+ */
+ public static int H5Z_SO_FLOAT_DSCALE() { return H5Z_SO_FLOAT_DSCALE; }
+ private static final int H5Z_SO_FLOAT_ESCALE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_SO_scale_type_t.H5Z_SO_FLOAT_ESCALE = 1
+ * }
+ */
+ public static int H5Z_SO_FLOAT_ESCALE() { return H5Z_SO_FLOAT_ESCALE; }
+ private static final int H5Z_SO_INT = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_SO_scale_type_t.H5Z_SO_INT = 2
+ * }
+ */
+ public static int H5Z_SO_INT() { return H5Z_SO_INT; }
+ private static final int H5Z_ERROR_EDC = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_ERROR_EDC = -1
+ * }
+ */
+ public static int H5Z_ERROR_EDC() { return H5Z_ERROR_EDC; }
+ private static final int H5Z_DISABLE_EDC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_DISABLE_EDC = 0
+ * }
+ */
+ public static int H5Z_DISABLE_EDC() { return H5Z_DISABLE_EDC; }
+ private static final int H5Z_ENABLE_EDC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_ENABLE_EDC = 1
+ * }
+ */
+ public static int H5Z_ENABLE_EDC() { return H5Z_ENABLE_EDC; }
+ private static final int H5Z_NO_EDC = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_NO_EDC = 2
+ * }
+ */
+ public static int H5Z_NO_EDC() { return H5Z_NO_EDC; }
+ private static final int H5Z_CB_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_ERROR = -1
+ * }
+ */
+ public static int H5Z_CB_ERROR() { return H5Z_CB_ERROR; }
+ private static final int H5Z_CB_FAIL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_FAIL = 0
+ * }
+ */
+ public static int H5Z_CB_FAIL() { return H5Z_CB_FAIL; }
+ private static final int H5Z_CB_CONT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_CONT = 1
+ * }
+ */
+ public static int H5Z_CB_CONT() { return H5Z_CB_CONT; }
+ private static final int H5Z_CB_NO = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_NO = 2
+ * }
+ */
+ public static int H5Z_CB_NO() { return H5Z_CB_NO; }
+
+ private static class H5Zfilter_avail {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zfilter_avail");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Zfilter_avail$descriptor() { return H5Zfilter_avail.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static MethodHandle H5Zfilter_avail$handle() { return H5Zfilter_avail.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static MemorySegment H5Zfilter_avail$address() { return H5Zfilter_avail.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static int H5Zfilter_avail(int id)
+ {
+ var mh$ = H5Zfilter_avail.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zfilter_avail", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Zget_filter_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zget_filter_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Zget_filter_info$descriptor() { return H5Zget_filter_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static MethodHandle H5Zget_filter_info$handle() { return H5Zget_filter_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static MemorySegment H5Zget_filter_info$address() { return H5Zget_filter_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static int H5Zget_filter_info(int filter, MemorySegment filter_config_flags)
+ {
+ var mh$ = H5Zget_filter_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zget_filter_info", filter, filter_config_flags);
+ }
+ return (int)mh$.invokeExact(filter, filter_config_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5D_MPIO_NO_CHUNK_OPTIMIZATION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_chunk_opt_mode_t.H5D_MPIO_NO_CHUNK_OPTIMIZATION = 0
+ * }
+ */
+ public static int H5D_MPIO_NO_CHUNK_OPTIMIZATION() { return H5D_MPIO_NO_CHUNK_OPTIMIZATION; }
+ private static final int H5D_MPIO_LINK_CHUNK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_chunk_opt_mode_t.H5D_MPIO_LINK_CHUNK = 1
+ * }
+ */
+ public static int H5D_MPIO_LINK_CHUNK() { return H5D_MPIO_LINK_CHUNK; }
+ private static final int H5D_MPIO_MULTI_CHUNK = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_chunk_opt_mode_t.H5D_MPIO_MULTI_CHUNK = 2
+ * }
+ */
+ public static int H5D_MPIO_MULTI_CHUNK() { return H5D_MPIO_MULTI_CHUNK; }
+ private static final int H5D_MPIO_NO_COLLECTIVE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_NO_COLLECTIVE = 0
+ * }
+ */
+ public static int H5D_MPIO_NO_COLLECTIVE() { return H5D_MPIO_NO_COLLECTIVE; }
+ private static final int H5D_MPIO_CHUNK_INDEPENDENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CHUNK_INDEPENDENT = 1
+ * }
+ */
+ public static int H5D_MPIO_CHUNK_INDEPENDENT() { return H5D_MPIO_CHUNK_INDEPENDENT; }
+ private static final int H5D_MPIO_CHUNK_COLLECTIVE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CHUNK_COLLECTIVE = 2
+ * }
+ */
+ public static int H5D_MPIO_CHUNK_COLLECTIVE() { return H5D_MPIO_CHUNK_COLLECTIVE; }
+ private static final int H5D_MPIO_CHUNK_MIXED = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CHUNK_MIXED = 3
+ * }
+ */
+ public static int H5D_MPIO_CHUNK_MIXED() { return H5D_MPIO_CHUNK_MIXED; }
+ private static final int H5D_MPIO_CONTIGUOUS_COLLECTIVE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CONTIGUOUS_COLLECTIVE = 4
+ * }
+ */
+ public static int H5D_MPIO_CONTIGUOUS_COLLECTIVE() { return H5D_MPIO_CONTIGUOUS_COLLECTIVE; }
+ private static final int H5D_MPIO_COLLECTIVE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_COLLECTIVE = 0
+ * }
+ */
+ public static int H5D_MPIO_COLLECTIVE() { return H5D_MPIO_COLLECTIVE; }
+ private static final int H5D_MPIO_SET_INDEPENDENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_SET_INDEPENDENT = 1
+ * }
+ */
+ public static int H5D_MPIO_SET_INDEPENDENT() { return H5D_MPIO_SET_INDEPENDENT; }
+ private static final int H5D_MPIO_DATATYPE_CONVERSION = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_DATATYPE_CONVERSION = 2
+ * }
+ */
+ public static int H5D_MPIO_DATATYPE_CONVERSION() { return H5D_MPIO_DATATYPE_CONVERSION; }
+ private static final int H5D_MPIO_DATA_TRANSFORMS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_DATA_TRANSFORMS = 4
+ * }
+ */
+ public static int H5D_MPIO_DATA_TRANSFORMS() { return H5D_MPIO_DATA_TRANSFORMS; }
+ private static final int H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED = 8
+ * }
+ */
+ public static int H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED()
+ {
+ return H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED;
+ }
+ private static final int H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES = 16
+ * }
+ */
+ public static int H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES()
+ {
+ return H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES;
+ }
+ private static final int H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET = 32
+ * }
+ */
+ public static int H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET()
+ {
+ return H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET;
+ }
+ private static final int H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED = 64
+ * }
+ */
+ public static int H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED()
+ {
+ return H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED;
+ }
+ private static final int H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE = 128
+ * }
+ */
+ public static int H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE()
+ {
+ return H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE;
+ }
+ private static final int H5D_MPIO_NO_SELECTION_IO = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NO_SELECTION_IO = 256
+ * }
+ */
+ public static int H5D_MPIO_NO_SELECTION_IO() { return H5D_MPIO_NO_SELECTION_IO; }
+ private static final int H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE = 512
+ * }
+ */
+ public static int H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE() { return H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE; }
+ private static final int H5D_SELECTION_IO_MODE_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_selection_io_mode_t.H5D_SELECTION_IO_MODE_DEFAULT = 0
+ * }
+ */
+ public static int H5D_SELECTION_IO_MODE_DEFAULT() { return H5D_SELECTION_IO_MODE_DEFAULT; }
+ private static final int H5D_SELECTION_IO_MODE_OFF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_selection_io_mode_t.H5D_SELECTION_IO_MODE_OFF = 1
+ * }
+ */
+ public static int H5D_SELECTION_IO_MODE_OFF() { return H5D_SELECTION_IO_MODE_OFF; }
+ private static final int H5D_SELECTION_IO_MODE_ON = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_selection_io_mode_t.H5D_SELECTION_IO_MODE_ON = 2
+ * }
+ */
+ public static int H5D_SELECTION_IO_MODE_ON() { return H5D_SELECTION_IO_MODE_ON; }
+
+ private static class H5P_CLS_ROOT_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_ROOT_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_ROOT_ID_g$layout() { return H5P_CLS_ROOT_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_ROOT_ID_g$segment() { return H5P_CLS_ROOT_ID_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static long H5P_CLS_ROOT_ID_g()
+ {
+ return H5P_CLS_ROOT_ID_g$constants.SEGMENT.get(H5P_CLS_ROOT_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static void H5P_CLS_ROOT_ID_g(long varValue)
+ {
+ H5P_CLS_ROOT_ID_g$constants.SEGMENT.set(H5P_CLS_ROOT_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_OBJECT_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_OBJECT_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_OBJECT_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_OBJECT_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_OBJECT_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_OBJECT_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_OBJECT_CREATE_ID_g()
+ {
+ return H5P_CLS_OBJECT_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_OBJECT_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_OBJECT_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_OBJECT_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_OBJECT_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_FILE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_FILE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_FILE_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_FILE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_FILE_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_FILE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_FILE_CREATE_ID_g()
+ {
+ return H5P_CLS_FILE_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_FILE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_FILE_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_FILE_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_FILE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_FILE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_FILE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_FILE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_FILE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_FILE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_FILE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_FILE_ACCESS_ID_g()
+ {
+ return H5P_CLS_FILE_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_FILE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_FILE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_FILE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_FILE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATASET_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATASET_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATASET_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_DATASET_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATASET_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_DATASET_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATASET_CREATE_ID_g()
+ {
+ return H5P_CLS_DATASET_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_DATASET_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATASET_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_DATASET_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_DATASET_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATASET_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATASET_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATASET_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_DATASET_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATASET_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_DATASET_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATASET_ACCESS_ID_g()
+ {
+ return H5P_CLS_DATASET_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_DATASET_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATASET_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_DATASET_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_DATASET_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATASET_XFER_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATASET_XFER_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATASET_XFER_ID_g$layout()
+ {
+ return H5P_CLS_DATASET_XFER_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATASET_XFER_ID_g$segment()
+ {
+ return H5P_CLS_DATASET_XFER_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATASET_XFER_ID_g()
+ {
+ return H5P_CLS_DATASET_XFER_ID_g$constants.SEGMENT.get(H5P_CLS_DATASET_XFER_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATASET_XFER_ID_g(long varValue)
+ {
+ H5P_CLS_DATASET_XFER_ID_g$constants.SEGMENT.set(H5P_CLS_DATASET_XFER_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_FILE_MOUNT_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_FILE_MOUNT_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_FILE_MOUNT_ID_g$layout() { return H5P_CLS_FILE_MOUNT_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_FILE_MOUNT_ID_g$segment()
+ {
+ return H5P_CLS_FILE_MOUNT_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static long H5P_CLS_FILE_MOUNT_ID_g()
+ {
+ return H5P_CLS_FILE_MOUNT_ID_g$constants.SEGMENT.get(H5P_CLS_FILE_MOUNT_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static void H5P_CLS_FILE_MOUNT_ID_g(long varValue)
+ {
+ H5P_CLS_FILE_MOUNT_ID_g$constants.SEGMENT.set(H5P_CLS_FILE_MOUNT_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_GROUP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_GROUP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_GROUP_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_GROUP_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_GROUP_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_GROUP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_GROUP_CREATE_ID_g()
+ {
+ return H5P_CLS_GROUP_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_GROUP_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_GROUP_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_GROUP_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_GROUP_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_GROUP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_GROUP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_GROUP_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_GROUP_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_GROUP_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_GROUP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_GROUP_ACCESS_ID_g()
+ {
+ return H5P_CLS_GROUP_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_GROUP_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_GROUP_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_GROUP_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_GROUP_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATATYPE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATATYPE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATATYPE_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_DATATYPE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATATYPE_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_DATATYPE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATATYPE_CREATE_ID_g()
+ {
+ return H5P_CLS_DATATYPE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_CLS_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATATYPE_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_DATATYPE_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATATYPE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATATYPE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATATYPE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_DATATYPE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATATYPE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_DATATYPE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATATYPE_ACCESS_ID_g()
+ {
+ return H5P_CLS_DATATYPE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_CLS_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATATYPE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_DATATYPE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_MAP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_MAP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_MAP_CREATE_ID_g$layout() { return H5P_CLS_MAP_CREATE_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_MAP_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_MAP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_MAP_CREATE_ID_g()
+ {
+ return H5P_CLS_MAP_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_MAP_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_MAP_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_MAP_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_MAP_CREATE_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_MAP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_MAP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_MAP_ACCESS_ID_g$layout() { return H5P_CLS_MAP_ACCESS_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_MAP_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_MAP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_MAP_ACCESS_ID_g()
+ {
+ return H5P_CLS_MAP_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_MAP_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_MAP_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_MAP_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_MAP_ACCESS_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_STRING_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_STRING_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_STRING_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_STRING_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_STRING_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_STRING_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_STRING_CREATE_ID_g()
+ {
+ return H5P_CLS_STRING_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_STRING_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_STRING_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_STRING_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_STRING_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_ATTRIBUTE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_ATTRIBUTE_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_ATTRIBUTE_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_ATTRIBUTE_CREATE_ID_g()
+ {
+ return H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_ATTRIBUTE_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_ATTRIBUTE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_ATTRIBUTE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_ATTRIBUTE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_ATTRIBUTE_ACCESS_ID_g()
+ {
+ return H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_ATTRIBUTE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_CLS_OBJECT_COPY_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_OBJECT_COPY_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_OBJECT_COPY_ID_g$layout()
+ {
+ return H5P_CLS_OBJECT_COPY_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_OBJECT_COPY_ID_g$segment()
+ {
+ return H5P_CLS_OBJECT_COPY_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static long H5P_CLS_OBJECT_COPY_ID_g()
+ {
+ return H5P_CLS_OBJECT_COPY_ID_g$constants.SEGMENT.get(H5P_CLS_OBJECT_COPY_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static void H5P_CLS_OBJECT_COPY_ID_g(long varValue)
+ {
+ H5P_CLS_OBJECT_COPY_ID_g$constants.SEGMENT.set(H5P_CLS_OBJECT_COPY_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_LINK_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_LINK_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_LINK_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_LINK_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_LINK_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_LINK_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_LINK_CREATE_ID_g()
+ {
+ return H5P_CLS_LINK_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_LINK_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_LINK_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_LINK_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_LINK_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_LINK_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_LINK_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_LINK_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_LINK_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_LINK_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_LINK_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_LINK_ACCESS_ID_g()
+ {
+ return H5P_CLS_LINK_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_LINK_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_LINK_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_LINK_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_LINK_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_VOL_INITIALIZE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_VOL_INITIALIZE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_VOL_INITIALIZE_ID_g$layout()
+ {
+ return H5P_CLS_VOL_INITIALIZE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_VOL_INITIALIZE_ID_g$segment()
+ {
+ return H5P_CLS_VOL_INITIALIZE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static long H5P_CLS_VOL_INITIALIZE_ID_g()
+ {
+ return H5P_CLS_VOL_INITIALIZE_ID_g$constants.SEGMENT.get(H5P_CLS_VOL_INITIALIZE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static void H5P_CLS_VOL_INITIALIZE_ID_g(long varValue)
+ {
+ H5P_CLS_VOL_INITIALIZE_ID_g$constants.SEGMENT.set(H5P_CLS_VOL_INITIALIZE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_REFERENCE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_REFERENCE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_REFERENCE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_REFERENCE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_REFERENCE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_REFERENCE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_REFERENCE_ACCESS_ID_g()
+ {
+ return H5P_CLS_REFERENCE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_CLS_REFERENCE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_REFERENCE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_REFERENCE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_REFERENCE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_LST_FILE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_FILE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_FILE_CREATE_ID_g$layout()
+ {
+ return H5P_LST_FILE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_FILE_CREATE_ID_g$segment()
+ {
+ return H5P_LST_FILE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_FILE_CREATE_ID_g()
+ {
+ return H5P_LST_FILE_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_FILE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_FILE_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_FILE_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_FILE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_FILE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_FILE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_FILE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_FILE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_FILE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_FILE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_FILE_ACCESS_ID_g()
+ {
+ return H5P_LST_FILE_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_FILE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_FILE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_FILE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_FILE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATASET_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATASET_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATASET_CREATE_ID_g$layout()
+ {
+ return H5P_LST_DATASET_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATASET_CREATE_ID_g$segment()
+ {
+ return H5P_LST_DATASET_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_DATASET_CREATE_ID_g()
+ {
+ return H5P_LST_DATASET_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_DATASET_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_DATASET_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_DATASET_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_DATASET_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATASET_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATASET_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATASET_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_DATASET_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATASET_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_DATASET_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_DATASET_ACCESS_ID_g()
+ {
+ return H5P_LST_DATASET_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_DATASET_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_DATASET_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_DATASET_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_DATASET_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATASET_XFER_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATASET_XFER_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATASET_XFER_ID_g$layout()
+ {
+ return H5P_LST_DATASET_XFER_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATASET_XFER_ID_g$segment()
+ {
+ return H5P_LST_DATASET_XFER_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static long H5P_LST_DATASET_XFER_ID_g()
+ {
+ return H5P_LST_DATASET_XFER_ID_g$constants.SEGMENT.get(H5P_LST_DATASET_XFER_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static void H5P_LST_DATASET_XFER_ID_g(long varValue)
+ {
+ H5P_LST_DATASET_XFER_ID_g$constants.SEGMENT.set(H5P_LST_DATASET_XFER_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_FILE_MOUNT_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_FILE_MOUNT_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_FILE_MOUNT_ID_g$layout() { return H5P_LST_FILE_MOUNT_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_FILE_MOUNT_ID_g$segment()
+ {
+ return H5P_LST_FILE_MOUNT_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static long H5P_LST_FILE_MOUNT_ID_g()
+ {
+ return H5P_LST_FILE_MOUNT_ID_g$constants.SEGMENT.get(H5P_LST_FILE_MOUNT_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static void H5P_LST_FILE_MOUNT_ID_g(long varValue)
+ {
+ H5P_LST_FILE_MOUNT_ID_g$constants.SEGMENT.set(H5P_LST_FILE_MOUNT_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_LST_GROUP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_GROUP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_GROUP_CREATE_ID_g$layout()
+ {
+ return H5P_LST_GROUP_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_GROUP_CREATE_ID_g$segment()
+ {
+ return H5P_LST_GROUP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_GROUP_CREATE_ID_g()
+ {
+ return H5P_LST_GROUP_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_GROUP_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_GROUP_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_GROUP_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_GROUP_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_GROUP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_GROUP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_GROUP_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_GROUP_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_GROUP_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_GROUP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_GROUP_ACCESS_ID_g()
+ {
+ return H5P_LST_GROUP_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_GROUP_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_GROUP_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_GROUP_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_GROUP_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATATYPE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATATYPE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATATYPE_CREATE_ID_g$layout()
+ {
+ return H5P_LST_DATATYPE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATATYPE_CREATE_ID_g$segment()
+ {
+ return H5P_LST_DATATYPE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_DATATYPE_CREATE_ID_g()
+ {
+ return H5P_LST_DATATYPE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_LST_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_DATATYPE_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_DATATYPE_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATATYPE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATATYPE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATATYPE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_DATATYPE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATATYPE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_DATATYPE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_DATATYPE_ACCESS_ID_g()
+ {
+ return H5P_LST_DATATYPE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_LST_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_DATATYPE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_DATATYPE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_MAP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_MAP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_MAP_CREATE_ID_g$layout() { return H5P_LST_MAP_CREATE_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_MAP_CREATE_ID_g$segment()
+ {
+ return H5P_LST_MAP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_MAP_CREATE_ID_g()
+ {
+ return H5P_LST_MAP_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_MAP_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_MAP_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_MAP_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_MAP_CREATE_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_LST_MAP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_MAP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_MAP_ACCESS_ID_g$layout() { return H5P_LST_MAP_ACCESS_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_MAP_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_MAP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_MAP_ACCESS_ID_g()
+ {
+ return H5P_LST_MAP_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_MAP_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_MAP_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_MAP_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_MAP_ACCESS_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_LST_ATTRIBUTE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_ATTRIBUTE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_ATTRIBUTE_CREATE_ID_g$layout()
+ {
+ return H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_ATTRIBUTE_CREATE_ID_g$segment()
+ {
+ return H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_ATTRIBUTE_CREATE_ID_g()
+ {
+ return H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_ATTRIBUTE_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_ATTRIBUTE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_ATTRIBUTE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_ATTRIBUTE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_ATTRIBUTE_ACCESS_ID_g()
+ {
+ return H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_ATTRIBUTE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_LST_OBJECT_COPY_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_OBJECT_COPY_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_OBJECT_COPY_ID_g$layout()
+ {
+ return H5P_LST_OBJECT_COPY_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_OBJECT_COPY_ID_g$segment()
+ {
+ return H5P_LST_OBJECT_COPY_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static long H5P_LST_OBJECT_COPY_ID_g()
+ {
+ return H5P_LST_OBJECT_COPY_ID_g$constants.SEGMENT.get(H5P_LST_OBJECT_COPY_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static void H5P_LST_OBJECT_COPY_ID_g(long varValue)
+ {
+ H5P_LST_OBJECT_COPY_ID_g$constants.SEGMENT.set(H5P_LST_OBJECT_COPY_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_LINK_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_LINK_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_LINK_CREATE_ID_g$layout()
+ {
+ return H5P_LST_LINK_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_LINK_CREATE_ID_g$segment()
+ {
+ return H5P_LST_LINK_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_LINK_CREATE_ID_g()
+ {
+ return H5P_LST_LINK_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_LINK_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_LINK_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_LINK_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_LINK_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_LINK_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_LINK_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_LINK_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_LINK_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_LINK_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_LINK_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_LINK_ACCESS_ID_g()
+ {
+ return H5P_LST_LINK_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_LINK_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_LINK_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_LINK_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_LINK_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_VOL_INITIALIZE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_VOL_INITIALIZE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_VOL_INITIALIZE_ID_g$layout()
+ {
+ return H5P_LST_VOL_INITIALIZE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_VOL_INITIALIZE_ID_g$segment()
+ {
+ return H5P_LST_VOL_INITIALIZE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static long H5P_LST_VOL_INITIALIZE_ID_g()
+ {
+ return H5P_LST_VOL_INITIALIZE_ID_g$constants.SEGMENT.get(H5P_LST_VOL_INITIALIZE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static void H5P_LST_VOL_INITIALIZE_ID_g(long varValue)
+ {
+ H5P_LST_VOL_INITIALIZE_ID_g$constants.SEGMENT.set(H5P_LST_VOL_INITIALIZE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_REFERENCE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_REFERENCE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_REFERENCE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_REFERENCE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_REFERENCE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_REFERENCE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_REFERENCE_ACCESS_ID_g()
+ {
+ return H5P_LST_REFERENCE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_LST_REFERENCE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_REFERENCE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_REFERENCE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_REFERENCE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5Pclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pclose$descriptor() { return H5Pclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pclose$handle() { return H5Pclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pclose$address() { return H5Pclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static int H5Pclose(long plist_id)
+ {
+ var mh$ = H5Pclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pclose", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pclose_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pclose_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pclose_class$descriptor() { return H5Pclose_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pclose_class$handle() { return H5Pclose_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pclose_class$address() { return H5Pclose_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static int H5Pclose_class(long plist_id)
+ {
+ var mh$ = H5Pclose_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pclose_class", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pcopy$descriptor() { return H5Pcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pcopy$handle() { return H5Pcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pcopy$address() { return H5Pcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static long H5Pcopy(long plist_id)
+ {
+ var mh$ = H5Pcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcopy", plist_id);
+ }
+ return (long)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcopy_prop {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcopy_prop");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Pcopy_prop$descriptor() { return H5Pcopy_prop.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Pcopy_prop$handle() { return H5Pcopy_prop.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Pcopy_prop$address() { return H5Pcopy_prop.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static int H5Pcopy_prop(long dst_id, long src_id, MemorySegment name)
+ {
+ var mh$ = H5Pcopy_prop.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcopy_prop", dst_id, src_id, name);
+ }
+ return (int)mh$.invokeExact(dst_id, src_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcreate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pcreate$descriptor() { return H5Pcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static MethodHandle H5Pcreate$handle() { return H5Pcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static MemorySegment H5Pcreate$address() { return H5Pcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static long H5Pcreate(long cls_id)
+ {
+ var mh$ = H5Pcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcreate", cls_id);
+ }
+ return (long)mh$.invokeExact(cls_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcreate_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcreate_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pcreate_class$descriptor() { return H5Pcreate_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static MethodHandle H5Pcreate_class$handle() { return H5Pcreate_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static MemorySegment H5Pcreate_class$address() { return H5Pcreate_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static long H5Pcreate_class(long parent, MemorySegment name, MemorySegment create,
+ MemorySegment create_data, MemorySegment copy, MemorySegment copy_data,
+ MemorySegment close, MemorySegment close_data)
+ {
+ var mh$ = H5Pcreate_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcreate_class", parent, name, create, create_data, copy, copy_data, close,
+ close_data);
+ }
+ return (long)mh$.invokeExact(parent, name, create, create_data, copy, copy_data, close,
+ close_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pdecode {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pdecode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Pdecode$descriptor() { return H5Pdecode.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static MethodHandle H5Pdecode$handle() { return H5Pdecode.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static MemorySegment H5Pdecode$address() { return H5Pdecode.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static long H5Pdecode(MemorySegment buf)
+ {
+ var mh$ = H5Pdecode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pdecode", buf);
+ }
+ return (long)mh$.invokeExact(buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pencode2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pencode2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pencode2$descriptor() { return H5Pencode2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pencode2$handle() { return H5Pencode2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pencode2$address() { return H5Pencode2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static int H5Pencode2(long plist_id, MemorySegment buf, MemorySegment nalloc, long fapl_id)
+ {
+ var mh$ = H5Pencode2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pencode2", plist_id, buf, nalloc, fapl_id);
+ }
+ return (int)mh$.invokeExact(plist_id, buf, nalloc, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pequal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pequal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static FunctionDescriptor H5Pequal$descriptor() { return H5Pequal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static MethodHandle H5Pequal$handle() { return H5Pequal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static MemorySegment H5Pequal$address() { return H5Pequal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static int H5Pequal(long id1, long id2)
+ {
+ var mh$ = H5Pequal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pequal", id1, id2);
+ }
+ return (int)mh$.invokeExact(id1, id2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pexist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pexist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Pexist$descriptor() { return H5Pexist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Pexist$handle() { return H5Pexist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Pexist$address() { return H5Pexist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static int H5Pexist(long plist_id, MemorySegment name)
+ {
+ var mh$ = H5Pexist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pexist", plist_id, name);
+ }
+ return (int)mh$.invokeExact(plist_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pget$descriptor() { return H5Pget.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static MethodHandle H5Pget$handle() { return H5Pget.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static MemorySegment H5Pget$address() { return H5Pget.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static int H5Pget(long plist_id, MemorySegment name, MemorySegment value)
+ {
+ var mh$ = H5Pget.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget", plist_id, name, value);
+ }
+ return (int)mh$.invokeExact(plist_id, name, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_class$descriptor() { return H5Pget_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_class$handle() { return H5Pget_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class$address() { return H5Pget_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static long H5Pget_class(long plist_id)
+ {
+ var mh$ = H5Pget_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_class", plist_id);
+ }
+ return (long)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_class_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_class_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_class_name$descriptor() { return H5Pget_class_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static MethodHandle H5Pget_class_name$handle() { return H5Pget_class_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class_name$address() { return H5Pget_class_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class_name(long pclass_id)
+ {
+ var mh$ = H5Pget_class_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_class_name", pclass_id);
+ }
+ return (MemorySegment)mh$.invokeExact(pclass_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_class_parent {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_class_parent");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_class_parent$descriptor() { return H5Pget_class_parent.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static MethodHandle H5Pget_class_parent$handle() { return H5Pget_class_parent.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class_parent$address() { return H5Pget_class_parent.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static long H5Pget_class_parent(long pclass_id)
+ {
+ var mh$ = H5Pget_class_parent.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_class_parent", pclass_id);
+ }
+ return (long)mh$.invokeExact(pclass_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_nprops {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_nprops");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_nprops$descriptor() { return H5Pget_nprops.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static MethodHandle H5Pget_nprops$handle() { return H5Pget_nprops.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static MemorySegment H5Pget_nprops$address() { return H5Pget_nprops.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static int H5Pget_nprops(long id, MemorySegment nprops)
+ {
+ var mh$ = H5Pget_nprops.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_nprops", id, nprops);
+ }
+ return (int)mh$.invokeExact(id, nprops);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_size$descriptor() { return H5Pget_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_size$handle() { return H5Pget_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_size$address() { return H5Pget_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static int H5Pget_size(long id, MemorySegment name, MemorySegment size)
+ {
+ var mh$ = H5Pget_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_size", id, name, size);
+ }
+ return (int)mh$.invokeExact(id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pinsert2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pinsert2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static FunctionDescriptor H5Pinsert2$descriptor() { return H5Pinsert2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MethodHandle H5Pinsert2$handle() { return H5Pinsert2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MemorySegment H5Pinsert2$address() { return H5Pinsert2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static int H5Pinsert2(long plist_id, MemorySegment name, long size, MemorySegment value,
+ MemorySegment set, MemorySegment get, MemorySegment prp_del,
+ MemorySegment copy, MemorySegment compare, MemorySegment close)
+ {
+ var mh$ = H5Pinsert2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pinsert2", plist_id, name, size, value, set, get, prp_del, copy, compare,
+ close);
+ }
+ return (int)mh$.invokeExact(plist_id, name, size, value, set, get, prp_del, copy, compare, close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pisa_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pisa_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pisa_class$descriptor() { return H5Pisa_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static MethodHandle H5Pisa_class$handle() { return H5Pisa_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pisa_class$address() { return H5Pisa_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static int H5Pisa_class(long plist_id, long pclass_id)
+ {
+ var mh$ = H5Pisa_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pisa_class", plist_id, pclass_id);
+ }
+ return (int)mh$.invokeExact(plist_id, pclass_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Piterate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Piterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static FunctionDescriptor H5Piterate$descriptor() { return H5Piterate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static MethodHandle H5Piterate$handle() { return H5Piterate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static MemorySegment H5Piterate$address() { return H5Piterate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static int H5Piterate(long id, MemorySegment idx, MemorySegment iter_func, MemorySegment iter_data)
+ {
+ var mh$ = H5Piterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Piterate", id, idx, iter_func, iter_data);
+ }
+ return (int)mh$.invokeExact(id, idx, iter_func, iter_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pregister2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pregister2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static FunctionDescriptor H5Pregister2$descriptor() { return H5Pregister2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MethodHandle H5Pregister2$handle() { return H5Pregister2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MemorySegment H5Pregister2$address() { return H5Pregister2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static int H5Pregister2(long cls_id, MemorySegment name, long size, MemorySegment def_value,
+ MemorySegment create, MemorySegment set, MemorySegment get,
+ MemorySegment prp_del, MemorySegment copy, MemorySegment compare,
+ MemorySegment close)
+ {
+ var mh$ = H5Pregister2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pregister2", cls_id, name, size, def_value, create, set, get, prp_del, copy,
+ compare, close);
+ }
+ return (int)mh$.invokeExact(cls_id, name, size, def_value, create, set, get, prp_del, copy,
+ compare, close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Premove {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Premove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Premove$descriptor() { return H5Premove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Premove$handle() { return H5Premove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Premove$address() { return H5Premove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static int H5Premove(long plist_id, MemorySegment name)
+ {
+ var mh$ = H5Premove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Premove", plist_id, name);
+ }
+ return (int)mh$.invokeExact(plist_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pset$descriptor() { return H5Pset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static MethodHandle H5Pset$handle() { return H5Pset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static MemorySegment H5Pset$address() { return H5Pset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static int H5Pset(long plist_id, MemorySegment name, MemorySegment value)
+ {
+ var mh$ = H5Pset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset", plist_id, name, value);
+ }
+ return (int)mh$.invokeExact(plist_id, name, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Punregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Punregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Punregister$descriptor() { return H5Punregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Punregister$handle() { return H5Punregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Punregister$address() { return H5Punregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static int H5Punregister(long pclass_id, MemorySegment name)
+ {
+ var mh$ = H5Punregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Punregister", pclass_id, name);
+ }
+ return (int)mh$.invokeExact(pclass_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pall_filters_avail {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pall_filters_avail");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pall_filters_avail$descriptor() { return H5Pall_filters_avail.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pall_filters_avail$handle() { return H5Pall_filters_avail.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pall_filters_avail$address() { return H5Pall_filters_avail.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static int H5Pall_filters_avail(long plist_id)
+ {
+ var mh$ = H5Pall_filters_avail.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pall_filters_avail", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_attr_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_attr_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_attr_creation_order$descriptor()
+ {
+ return H5Pget_attr_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pget_attr_creation_order$handle()
+ {
+ return H5Pget_attr_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pget_attr_creation_order$address()
+ {
+ return H5Pget_attr_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static int H5Pget_attr_creation_order(long plist_id, MemorySegment crt_order_flags)
+ {
+ var mh$ = H5Pget_attr_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_attr_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_attr_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_attr_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_attr_phase_change$descriptor()
+ {
+ return H5Pget_attr_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MethodHandle H5Pget_attr_phase_change$handle() { return H5Pget_attr_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MemorySegment H5Pget_attr_phase_change$address() { return H5Pget_attr_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static int H5Pget_attr_phase_change(long plist_id, MemorySegment max_compact,
+ MemorySegment min_dense)
+ {
+ var mh$ = H5Pget_attr_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_attr_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter2$descriptor() { return H5Pget_filter2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MethodHandle H5Pget_filter2$handle() { return H5Pget_filter2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MemorySegment H5Pget_filter2$address() { return H5Pget_filter2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static int H5Pget_filter2(long plist_id, int idx, MemorySegment flags, MemorySegment cd_nelmts,
+ MemorySegment cd_values, long namelen, MemorySegment name,
+ MemorySegment filter_config)
+ {
+ var mh$ = H5Pget_filter2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter2", plist_id, idx, flags, cd_nelmts, cd_values, namelen, name,
+ filter_config);
+ }
+ return (int)mh$.invokeExact(plist_id, idx, flags, cd_nelmts, cd_values, namelen, name,
+ filter_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter_by_id2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter_by_id2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter_by_id2$descriptor() { return H5Pget_filter_by_id2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MethodHandle H5Pget_filter_by_id2$handle() { return H5Pget_filter_by_id2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MemorySegment H5Pget_filter_by_id2$address() { return H5Pget_filter_by_id2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static int H5Pget_filter_by_id2(long plist_id, int filter_id, MemorySegment flags,
+ MemorySegment cd_nelmts, MemorySegment cd_values, long namelen,
+ MemorySegment name, MemorySegment filter_config)
+ {
+ var mh$ = H5Pget_filter_by_id2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter_by_id2", plist_id, filter_id, flags, cd_nelmts, cd_values,
+ namelen, name, filter_config);
+ }
+ return (int)mh$.invokeExact(plist_id, filter_id, flags, cd_nelmts, cd_values, namelen, name,
+ filter_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_nfilters {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_nfilters");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_nfilters$descriptor() { return H5Pget_nfilters.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_nfilters$handle() { return H5Pget_nfilters.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_nfilters$address() { return H5Pget_nfilters.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_nfilters(long plist_id)
+ {
+ var mh$ = H5Pget_nfilters.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_nfilters", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_obj_track_times {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_obj_track_times");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_obj_track_times$descriptor()
+ {
+ return H5Pget_obj_track_times.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static MethodHandle H5Pget_obj_track_times$handle() { return H5Pget_obj_track_times.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static MemorySegment H5Pget_obj_track_times$address() { return H5Pget_obj_track_times.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static int H5Pget_obj_track_times(long plist_id, MemorySegment track_times)
+ {
+ var mh$ = H5Pget_obj_track_times.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_obj_track_times", plist_id, track_times);
+ }
+ return (int)mh$.invokeExact(plist_id, track_times);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pmodify_filter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pmodify_filter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static FunctionDescriptor H5Pmodify_filter$descriptor() { return H5Pmodify_filter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static MethodHandle H5Pmodify_filter$handle() { return H5Pmodify_filter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static MemorySegment H5Pmodify_filter$address() { return H5Pmodify_filter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static int H5Pmodify_filter(long plist_id, int filter, int flags, long cd_nelmts,
+ MemorySegment cd_values)
+ {
+ var mh$ = H5Pmodify_filter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pmodify_filter", plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ return (int)mh$.invokeExact(plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Premove_filter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Premove_filter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static FunctionDescriptor H5Premove_filter$descriptor() { return H5Premove_filter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static MethodHandle H5Premove_filter$handle() { return H5Premove_filter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static MemorySegment H5Premove_filter$address() { return H5Premove_filter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static int H5Premove_filter(long plist_id, int filter)
+ {
+ var mh$ = H5Premove_filter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Premove_filter", plist_id, filter);
+ }
+ return (int)mh$.invokeExact(plist_id, filter);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_attr_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_attr_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_attr_creation_order$descriptor()
+ {
+ return H5Pset_attr_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pset_attr_creation_order$handle()
+ {
+ return H5Pset_attr_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pset_attr_creation_order$address()
+ {
+ return H5Pset_attr_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static int H5Pset_attr_creation_order(long plist_id, int crt_order_flags)
+ {
+ var mh$ = H5Pset_attr_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_attr_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_attr_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_attr_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_attr_phase_change$descriptor()
+ {
+ return H5Pset_attr_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MethodHandle H5Pset_attr_phase_change$handle() { return H5Pset_attr_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MemorySegment H5Pset_attr_phase_change$address() { return H5Pset_attr_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static int H5Pset_attr_phase_change(long plist_id, int max_compact, int min_dense)
+ {
+ var mh$ = H5Pset_attr_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_attr_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_deflate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_deflate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_deflate$descriptor() { return H5Pset_deflate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static MethodHandle H5Pset_deflate$handle() { return H5Pset_deflate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static MemorySegment H5Pset_deflate$address() { return H5Pset_deflate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static int H5Pset_deflate(long plist_id, int level)
+ {
+ var mh$ = H5Pset_deflate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_deflate", plist_id, level);
+ }
+ return (int)mh$.invokeExact(plist_id, level);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_filter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_filter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static FunctionDescriptor H5Pset_filter$descriptor() { return H5Pset_filter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static MethodHandle H5Pset_filter$handle() { return H5Pset_filter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static MemorySegment H5Pset_filter$address() { return H5Pset_filter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static int H5Pset_filter(long plist_id, int filter, int flags, long cd_nelmts,
+ MemorySegment cd_values)
+ {
+ var mh$ = H5Pset_filter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_filter", plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ return (int)mh$.invokeExact(plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fletcher32 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fletcher32");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fletcher32$descriptor() { return H5Pset_fletcher32.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fletcher32$handle() { return H5Pset_fletcher32.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fletcher32$address() { return H5Pset_fletcher32.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static int H5Pset_fletcher32(long plist_id)
+ {
+ var mh$ = H5Pset_fletcher32.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fletcher32", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_obj_track_times {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_obj_track_times");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_obj_track_times$descriptor()
+ {
+ return H5Pset_obj_track_times.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static MethodHandle H5Pset_obj_track_times$handle() { return H5Pset_obj_track_times.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static MemorySegment H5Pset_obj_track_times$address() { return H5Pset_obj_track_times.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static int H5Pset_obj_track_times(long plist_id, boolean track_times)
+ {
+ var mh$ = H5Pset_obj_track_times.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_obj_track_times", plist_id, track_times);
+ }
+ return (int)mh$.invokeExact(plist_id, track_times);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_space_page_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_space_page_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_space_page_size$descriptor()
+ {
+ return H5Pget_file_space_page_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static MethodHandle H5Pget_file_space_page_size$handle()
+ {
+ return H5Pget_file_space_page_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static MemorySegment H5Pget_file_space_page_size$address()
+ {
+ return H5Pget_file_space_page_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static int H5Pget_file_space_page_size(long plist_id, MemorySegment fsp_size)
+ {
+ var mh$ = H5Pget_file_space_page_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_space_page_size", plist_id, fsp_size);
+ }
+ return (int)mh$.invokeExact(plist_id, fsp_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_space_strategy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_space_strategy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_space_strategy$descriptor()
+ {
+ return H5Pget_file_space_strategy.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static MethodHandle H5Pget_file_space_strategy$handle()
+ {
+ return H5Pget_file_space_strategy.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static MemorySegment H5Pget_file_space_strategy$address()
+ {
+ return H5Pget_file_space_strategy.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static int H5Pget_file_space_strategy(long plist_id, MemorySegment strategy, MemorySegment persist,
+ MemorySegment threshold)
+ {
+ var mh$ = H5Pget_file_space_strategy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_space_strategy", plist_id, strategy, persist, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, persist, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_istore_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_istore_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_istore_k$descriptor() { return H5Pget_istore_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static MethodHandle H5Pget_istore_k$handle() { return H5Pget_istore_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static MemorySegment H5Pget_istore_k$address() { return H5Pget_istore_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static int H5Pget_istore_k(long plist_id, MemorySegment ik)
+ {
+ var mh$ = H5Pget_istore_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_istore_k", plist_id, ik);
+ }
+ return (int)mh$.invokeExact(plist_id, ik);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_shared_mesg_index {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_shared_mesg_index");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_shared_mesg_index$descriptor()
+ {
+ return H5Pget_shared_mesg_index.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static MethodHandle H5Pget_shared_mesg_index$handle() { return H5Pget_shared_mesg_index.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static MemorySegment H5Pget_shared_mesg_index$address() { return H5Pget_shared_mesg_index.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static int H5Pget_shared_mesg_index(long plist_id, int index_num, MemorySegment mesg_type_flags,
+ MemorySegment min_mesg_size)
+ {
+ var mh$ = H5Pget_shared_mesg_index.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_shared_mesg_index", plist_id, index_num, mesg_type_flags,
+ min_mesg_size);
+ }
+ return (int)mh$.invokeExact(plist_id, index_num, mesg_type_flags, min_mesg_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_shared_mesg_nindexes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_shared_mesg_nindexes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_shared_mesg_nindexes$descriptor()
+ {
+ return H5Pget_shared_mesg_nindexes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static MethodHandle H5Pget_shared_mesg_nindexes$handle()
+ {
+ return H5Pget_shared_mesg_nindexes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static MemorySegment H5Pget_shared_mesg_nindexes$address()
+ {
+ return H5Pget_shared_mesg_nindexes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static int H5Pget_shared_mesg_nindexes(long plist_id, MemorySegment nindexes)
+ {
+ var mh$ = H5Pget_shared_mesg_nindexes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_shared_mesg_nindexes", plist_id, nindexes);
+ }
+ return (int)mh$.invokeExact(plist_id, nindexes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_shared_mesg_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_shared_mesg_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_shared_mesg_phase_change$descriptor()
+ {
+ return H5Pget_shared_mesg_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static MethodHandle H5Pget_shared_mesg_phase_change$handle()
+ {
+ return H5Pget_shared_mesg_phase_change.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static MemorySegment H5Pget_shared_mesg_phase_change$address()
+ {
+ return H5Pget_shared_mesg_phase_change.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static int H5Pget_shared_mesg_phase_change(long plist_id, MemorySegment max_list,
+ MemorySegment min_btree)
+ {
+ var mh$ = H5Pget_shared_mesg_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_shared_mesg_phase_change", plist_id, max_list, min_btree);
+ }
+ return (int)mh$.invokeExact(plist_id, max_list, min_btree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_sizes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_sizes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_sizes$descriptor() { return H5Pget_sizes.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static MethodHandle H5Pget_sizes$handle() { return H5Pget_sizes.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static MemorySegment H5Pget_sizes$address() { return H5Pget_sizes.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static int H5Pget_sizes(long plist_id, MemorySegment sizeof_addr, MemorySegment sizeof_size)
+ {
+ var mh$ = H5Pget_sizes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_sizes", plist_id, sizeof_addr, sizeof_size);
+ }
+ return (int)mh$.invokeExact(plist_id, sizeof_addr, sizeof_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_sym_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_sym_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_sym_k$descriptor() { return H5Pget_sym_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static MethodHandle H5Pget_sym_k$handle() { return H5Pget_sym_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static MemorySegment H5Pget_sym_k$address() { return H5Pget_sym_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static int H5Pget_sym_k(long plist_id, MemorySegment ik, MemorySegment lk)
+ {
+ var mh$ = H5Pget_sym_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_sym_k", plist_id, ik, lk);
+ }
+ return (int)mh$.invokeExact(plist_id, ik, lk);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_userblock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_userblock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_userblock$descriptor() { return H5Pget_userblock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_userblock$handle() { return H5Pget_userblock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_userblock$address() { return H5Pget_userblock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static int H5Pget_userblock(long plist_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_userblock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_userblock", plist_id, size);
+ }
+ return (int)mh$.invokeExact(plist_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_space_page_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_space_page_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_space_page_size$descriptor()
+ {
+ return H5Pset_file_space_page_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static MethodHandle H5Pset_file_space_page_size$handle()
+ {
+ return H5Pset_file_space_page_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static MemorySegment H5Pset_file_space_page_size$address()
+ {
+ return H5Pset_file_space_page_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static int H5Pset_file_space_page_size(long plist_id, long fsp_size)
+ {
+ var mh$ = H5Pset_file_space_page_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_space_page_size", plist_id, fsp_size);
+ }
+ return (int)mh$.invokeExact(plist_id, fsp_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_space_strategy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_BOOL, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_space_strategy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_space_strategy$descriptor()
+ {
+ return H5Pset_file_space_strategy.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static MethodHandle H5Pset_file_space_strategy$handle()
+ {
+ return H5Pset_file_space_strategy.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static MemorySegment H5Pset_file_space_strategy$address()
+ {
+ return H5Pset_file_space_strategy.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static int H5Pset_file_space_strategy(long plist_id, int strategy, boolean persist, long threshold)
+ {
+ var mh$ = H5Pset_file_space_strategy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_space_strategy", plist_id, strategy, persist, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, persist, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_istore_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_istore_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_istore_k$descriptor() { return H5Pset_istore_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static MethodHandle H5Pset_istore_k$handle() { return H5Pset_istore_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static MemorySegment H5Pset_istore_k$address() { return H5Pset_istore_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static int H5Pset_istore_k(long plist_id, int ik)
+ {
+ var mh$ = H5Pset_istore_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_istore_k", plist_id, ik);
+ }
+ return (int)mh$.invokeExact(plist_id, ik);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shared_mesg_index {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shared_mesg_index");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shared_mesg_index$descriptor()
+ {
+ return H5Pset_shared_mesg_index.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static MethodHandle H5Pset_shared_mesg_index$handle() { return H5Pset_shared_mesg_index.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static MemorySegment H5Pset_shared_mesg_index$address() { return H5Pset_shared_mesg_index.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static int H5Pset_shared_mesg_index(long plist_id, int index_num, int mesg_type_flags,
+ int min_mesg_size)
+ {
+ var mh$ = H5Pset_shared_mesg_index.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shared_mesg_index", plist_id, index_num, mesg_type_flags,
+ min_mesg_size);
+ }
+ return (int)mh$.invokeExact(plist_id, index_num, mesg_type_flags, min_mesg_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shared_mesg_nindexes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shared_mesg_nindexes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shared_mesg_nindexes$descriptor()
+ {
+ return H5Pset_shared_mesg_nindexes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static MethodHandle H5Pset_shared_mesg_nindexes$handle()
+ {
+ return H5Pset_shared_mesg_nindexes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static MemorySegment H5Pset_shared_mesg_nindexes$address()
+ {
+ return H5Pset_shared_mesg_nindexes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static int H5Pset_shared_mesg_nindexes(long plist_id, int nindexes)
+ {
+ var mh$ = H5Pset_shared_mesg_nindexes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shared_mesg_nindexes", plist_id, nindexes);
+ }
+ return (int)mh$.invokeExact(plist_id, nindexes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shared_mesg_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shared_mesg_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shared_mesg_phase_change$descriptor()
+ {
+ return H5Pset_shared_mesg_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static MethodHandle H5Pset_shared_mesg_phase_change$handle()
+ {
+ return H5Pset_shared_mesg_phase_change.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static MemorySegment H5Pset_shared_mesg_phase_change$address()
+ {
+ return H5Pset_shared_mesg_phase_change.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static int H5Pset_shared_mesg_phase_change(long plist_id, int max_list, int min_btree)
+ {
+ var mh$ = H5Pset_shared_mesg_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shared_mesg_phase_change", plist_id, max_list, min_btree);
+ }
+ return (int)mh$.invokeExact(plist_id, max_list, min_btree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_sizes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_sizes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_sizes$descriptor() { return H5Pset_sizes.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static MethodHandle H5Pset_sizes$handle() { return H5Pset_sizes.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static MemorySegment H5Pset_sizes$address() { return H5Pset_sizes.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static int H5Pset_sizes(long plist_id, long sizeof_addr, long sizeof_size)
+ {
+ var mh$ = H5Pset_sizes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_sizes", plist_id, sizeof_addr, sizeof_size);
+ }
+ return (int)mh$.invokeExact(plist_id, sizeof_addr, sizeof_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_sym_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_sym_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_sym_k$descriptor() { return H5Pset_sym_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static MethodHandle H5Pset_sym_k$handle() { return H5Pset_sym_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static MemorySegment H5Pset_sym_k$address() { return H5Pset_sym_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static int H5Pset_sym_k(long plist_id, int ik, int lk)
+ {
+ var mh$ = H5Pset_sym_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_sym_k", plist_id, ik, lk);
+ }
+ return (int)mh$.invokeExact(plist_id, ik, lk);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_userblock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_userblock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_userblock$descriptor() { return H5Pset_userblock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_userblock$handle() { return H5Pset_userblock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_userblock$address() { return H5Pset_userblock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static int H5Pset_userblock(long plist_id, long size)
+ {
+ var mh$ = H5Pset_userblock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_userblock", plist_id, size);
+ }
+ return (int)mh$.invokeExact(plist_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_alignment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_alignment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_alignment$descriptor() { return H5Pget_alignment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static MethodHandle H5Pget_alignment$handle() { return H5Pget_alignment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static MemorySegment H5Pget_alignment$address() { return H5Pget_alignment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static int H5Pget_alignment(long fapl_id, MemorySegment threshold, MemorySegment alignment)
+ {
+ var mh$ = H5Pget_alignment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_alignment", fapl_id, threshold, alignment);
+ }
+ return (int)mh$.invokeExact(fapl_id, threshold, alignment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_cache {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_cache$descriptor() { return H5Pget_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pget_cache$handle() { return H5Pget_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pget_cache$address() { return H5Pget_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static int H5Pget_cache(long plist_id, MemorySegment mdc_nelmts, MemorySegment rdcc_nslots,
+ MemorySegment rdcc_nbytes, MemorySegment rdcc_w0)
+ {
+ var mh$ = H5Pget_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_cache", plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_core_write_tracking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_core_write_tracking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_core_write_tracking$descriptor()
+ {
+ return H5Pget_core_write_tracking.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static MethodHandle H5Pget_core_write_tracking$handle()
+ {
+ return H5Pget_core_write_tracking.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static MemorySegment H5Pget_core_write_tracking$address()
+ {
+ return H5Pget_core_write_tracking.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static int H5Pget_core_write_tracking(long fapl_id, MemorySegment is_enabled,
+ MemorySegment page_size)
+ {
+ var mh$ = H5Pget_core_write_tracking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_core_write_tracking", fapl_id, is_enabled, page_size);
+ }
+ return (int)mh$.invokeExact(fapl_id, is_enabled, page_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_driver {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_driver");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_driver$descriptor() { return H5Pget_driver.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_driver$handle() { return H5Pget_driver.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_driver$address() { return H5Pget_driver.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static long H5Pget_driver(long plist_id)
+ {
+ var mh$ = H5Pget_driver.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_driver", plist_id);
+ }
+ return (long)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_driver_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_driver_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_driver_info$descriptor() { return H5Pget_driver_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_driver_info$handle() { return H5Pget_driver_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_driver_info$address() { return H5Pget_driver_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_driver_info(long plist_id)
+ {
+ var mh$ = H5Pget_driver_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_driver_info", plist_id);
+ }
+ return (MemorySegment)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_driver_config_str {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_driver_config_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_driver_config_str$descriptor()
+ {
+ return H5Pget_driver_config_str.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5Pget_driver_config_str$handle() { return H5Pget_driver_config_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5Pget_driver_config_str$address() { return H5Pget_driver_config_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static long H5Pget_driver_config_str(long fapl_id, MemorySegment config_buf, long buf_size)
+ {
+ var mh$ = H5Pget_driver_config_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_driver_config_str", fapl_id, config_buf, buf_size);
+ }
+ return (long)mh$.invokeExact(fapl_id, config_buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_file_cache_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_file_cache_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_file_cache_size$descriptor()
+ {
+ return H5Pget_elink_file_cache_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_file_cache_size$handle()
+ {
+ return H5Pget_elink_file_cache_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_file_cache_size$address()
+ {
+ return H5Pget_elink_file_cache_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static int H5Pget_elink_file_cache_size(long plist_id, MemorySegment efc_size)
+ {
+ var mh$ = H5Pget_elink_file_cache_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_file_cache_size", plist_id, efc_size);
+ }
+ return (int)mh$.invokeExact(plist_id, efc_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_evict_on_close {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_evict_on_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_evict_on_close$descriptor() { return H5Pget_evict_on_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static MethodHandle H5Pget_evict_on_close$handle() { return H5Pget_evict_on_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static MemorySegment H5Pget_evict_on_close$address() { return H5Pget_evict_on_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static int H5Pget_evict_on_close(long fapl_id, MemorySegment evict_on_close)
+ {
+ var mh$ = H5Pget_evict_on_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_evict_on_close", fapl_id, evict_on_close);
+ }
+ return (int)mh$.invokeExact(fapl_id, evict_on_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_family_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_family_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_family_offset$descriptor() { return H5Pget_family_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static MethodHandle H5Pget_family_offset$handle() { return H5Pget_family_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static MemorySegment H5Pget_family_offset$address() { return H5Pget_family_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static int H5Pget_family_offset(long fapl_id, MemorySegment offset)
+ {
+ var mh$ = H5Pget_family_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_family_offset", fapl_id, offset);
+ }
+ return (int)mh$.invokeExact(fapl_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fclose_degree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fclose_degree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fclose_degree$descriptor() { return H5Pget_fclose_degree.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static MethodHandle H5Pget_fclose_degree$handle() { return H5Pget_fclose_degree.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static MemorySegment H5Pget_fclose_degree$address() { return H5Pget_fclose_degree.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static int H5Pget_fclose_degree(long fapl_id, MemorySegment degree)
+ {
+ var mh$ = H5Pget_fclose_degree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fclose_degree", fapl_id, degree);
+ }
+ return (int)mh$.invokeExact(fapl_id, degree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_image {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_image");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_image$descriptor() { return H5Pget_file_image.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_file_image$handle() { return H5Pget_file_image.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_file_image$address() { return H5Pget_file_image.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static int H5Pget_file_image(long fapl_id, MemorySegment buf_ptr_ptr, MemorySegment buf_len_ptr)
+ {
+ var mh$ = H5Pget_file_image.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_image", fapl_id, buf_ptr_ptr, buf_len_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, buf_ptr_ptr, buf_len_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_image_callbacks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_image_callbacks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_image_callbacks$descriptor()
+ {
+ return H5Pget_file_image_callbacks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_file_image_callbacks$handle()
+ {
+ return H5Pget_file_image_callbacks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_file_image_callbacks$address()
+ {
+ return H5Pget_file_image_callbacks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static int H5Pget_file_image_callbacks(long fapl_id, MemorySegment callbacks_ptr)
+ {
+ var mh$ = H5Pget_file_image_callbacks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_image_callbacks", fapl_id, callbacks_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, callbacks_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_locking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_locking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_locking$descriptor() { return H5Pget_file_locking.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static MethodHandle H5Pget_file_locking$handle() { return H5Pget_file_locking.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static MemorySegment H5Pget_file_locking$address() { return H5Pget_file_locking.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static int H5Pget_file_locking(long fapl_id, MemorySegment use_file_locking,
+ MemorySegment ignore_when_disabled)
+ {
+ var mh$ = H5Pget_file_locking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_locking", fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ return (int)mh$.invokeExact(fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_gc_references {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_gc_references");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_gc_references$descriptor() { return H5Pget_gc_references.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static MethodHandle H5Pget_gc_references$handle() { return H5Pget_gc_references.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static MemorySegment H5Pget_gc_references$address() { return H5Pget_gc_references.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static int H5Pget_gc_references(long fapl_id, MemorySegment gc_ref)
+ {
+ var mh$ = H5Pget_gc_references.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_gc_references", fapl_id, gc_ref);
+ }
+ return (int)mh$.invokeExact(fapl_id, gc_ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_libver_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_libver_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_libver_bounds$descriptor() { return H5Pget_libver_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static MethodHandle H5Pget_libver_bounds$handle() { return H5Pget_libver_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static MemorySegment H5Pget_libver_bounds$address() { return H5Pget_libver_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static int H5Pget_libver_bounds(long plist_id, MemorySegment low, MemorySegment high)
+ {
+ var mh$ = H5Pget_libver_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_libver_bounds", plist_id, low, high);
+ }
+ return (int)mh$.invokeExact(plist_id, low, high);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mdc_config$descriptor() { return H5Pget_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_mdc_config$handle() { return H5Pget_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_mdc_config$address() { return H5Pget_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pget_mdc_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pget_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mdc_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mdc_image_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mdc_image_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mdc_image_config$descriptor()
+ {
+ return H5Pget_mdc_image_config.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_mdc_image_config$handle() { return H5Pget_mdc_image_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_mdc_image_config$address() { return H5Pget_mdc_image_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pget_mdc_image_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pget_mdc_image_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mdc_image_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mdc_log_options {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mdc_log_options");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mdc_log_options$descriptor()
+ {
+ return H5Pget_mdc_log_options.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static MethodHandle H5Pget_mdc_log_options$handle() { return H5Pget_mdc_log_options.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static MemorySegment H5Pget_mdc_log_options$address() { return H5Pget_mdc_log_options.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static int H5Pget_mdc_log_options(long plist_id, MemorySegment is_enabled, MemorySegment location,
+ MemorySegment location_size, MemorySegment start_on_access)
+ {
+ var mh$ = H5Pget_mdc_log_options.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mdc_log_options", plist_id, is_enabled, location, location_size,
+ start_on_access);
+ }
+ return (int)mh$.invokeExact(plist_id, is_enabled, location, location_size, start_on_access);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_meta_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_meta_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_meta_block_size$descriptor()
+ {
+ return H5Pget_meta_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_meta_block_size$handle() { return H5Pget_meta_block_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_meta_block_size$address() { return H5Pget_meta_block_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static int H5Pget_meta_block_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_meta_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_meta_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_metadata_read_attempts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_metadata_read_attempts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_metadata_read_attempts$descriptor()
+ {
+ return H5Pget_metadata_read_attempts.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static MethodHandle H5Pget_metadata_read_attempts$handle()
+ {
+ return H5Pget_metadata_read_attempts.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static MemorySegment H5Pget_metadata_read_attempts$address()
+ {
+ return H5Pget_metadata_read_attempts.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static int H5Pget_metadata_read_attempts(long plist_id, MemorySegment attempts)
+ {
+ var mh$ = H5Pget_metadata_read_attempts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_metadata_read_attempts", plist_id, attempts);
+ }
+ return (int)mh$.invokeExact(plist_id, attempts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_multi_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_multi_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_multi_type$descriptor() { return H5Pget_multi_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static MethodHandle H5Pget_multi_type$handle() { return H5Pget_multi_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static MemorySegment H5Pget_multi_type$address() { return H5Pget_multi_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static int H5Pget_multi_type(long fapl_id, MemorySegment type)
+ {
+ var mh$ = H5Pget_multi_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_multi_type", fapl_id, type);
+ }
+ return (int)mh$.invokeExact(fapl_id, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_object_flush_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_object_flush_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_object_flush_cb$descriptor()
+ {
+ return H5Pget_object_flush_cb.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static MethodHandle H5Pget_object_flush_cb$handle() { return H5Pget_object_flush_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static MemorySegment H5Pget_object_flush_cb$address() { return H5Pget_object_flush_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static int H5Pget_object_flush_cb(long plist_id, MemorySegment func, MemorySegment udata)
+ {
+ var mh$ = H5Pget_object_flush_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_object_flush_cb", plist_id, func, udata);
+ }
+ return (int)mh$.invokeExact(plist_id, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_page_buffer_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_page_buffer_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_page_buffer_size$descriptor()
+ {
+ return H5Pget_page_buffer_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static MethodHandle H5Pget_page_buffer_size$handle() { return H5Pget_page_buffer_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static MemorySegment H5Pget_page_buffer_size$address() { return H5Pget_page_buffer_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static int H5Pget_page_buffer_size(long plist_id, MemorySegment buf_size,
+ MemorySegment min_meta_perc, MemorySegment min_raw_perc)
+ {
+ var mh$ = H5Pget_page_buffer_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_page_buffer_size", plist_id, buf_size, min_meta_perc, min_raw_perc);
+ }
+ return (int)mh$.invokeExact(plist_id, buf_size, min_meta_perc, min_raw_perc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_sieve_buf_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_sieve_buf_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_sieve_buf_size$descriptor() { return H5Pget_sieve_buf_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_sieve_buf_size$handle() { return H5Pget_sieve_buf_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_sieve_buf_size$address() { return H5Pget_sieve_buf_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static int H5Pget_sieve_buf_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_sieve_buf_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_sieve_buf_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_small_data_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_small_data_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_small_data_block_size$descriptor()
+ {
+ return H5Pget_small_data_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_small_data_block_size$handle()
+ {
+ return H5Pget_small_data_block_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_small_data_block_size$address()
+ {
+ return H5Pget_small_data_block_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static int H5Pget_small_data_block_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_small_data_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_small_data_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vol_id {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vol_id");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vol_id$descriptor() { return H5Pget_vol_id.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static MethodHandle H5Pget_vol_id$handle() { return H5Pget_vol_id.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static MemorySegment H5Pget_vol_id$address() { return H5Pget_vol_id.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static int H5Pget_vol_id(long plist_id, MemorySegment vol_id)
+ {
+ var mh$ = H5Pget_vol_id.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vol_id", plist_id, vol_id);
+ }
+ return (int)mh$.invokeExact(plist_id, vol_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vol_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vol_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vol_info$descriptor() { return H5Pget_vol_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static MethodHandle H5Pget_vol_info$handle() { return H5Pget_vol_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static MemorySegment H5Pget_vol_info$address() { return H5Pget_vol_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static int H5Pget_vol_info(long plist_id, MemorySegment vol_info)
+ {
+ var mh$ = H5Pget_vol_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vol_info", plist_id, vol_info);
+ }
+ return (int)mh$.invokeExact(plist_id, vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_alignment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_alignment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_alignment$descriptor() { return H5Pset_alignment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static MethodHandle H5Pset_alignment$handle() { return H5Pset_alignment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static MemorySegment H5Pset_alignment$address() { return H5Pset_alignment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static int H5Pset_alignment(long fapl_id, long threshold, long alignment)
+ {
+ var mh$ = H5Pset_alignment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_alignment", fapl_id, threshold, alignment);
+ }
+ return (int)mh$.invokeExact(fapl_id, threshold, alignment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_cache {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_DOUBLE);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_cache$descriptor() { return H5Pset_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pset_cache$handle() { return H5Pset_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pset_cache$address() { return H5Pset_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static int H5Pset_cache(long plist_id, int mdc_nelmts, long rdcc_nslots, long rdcc_nbytes,
+ double rdcc_w0)
+ {
+ var mh$ = H5Pset_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_cache", plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_core_write_tracking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_core_write_tracking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_core_write_tracking$descriptor()
+ {
+ return H5Pset_core_write_tracking.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static MethodHandle H5Pset_core_write_tracking$handle()
+ {
+ return H5Pset_core_write_tracking.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static MemorySegment H5Pset_core_write_tracking$address()
+ {
+ return H5Pset_core_write_tracking.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static int H5Pset_core_write_tracking(long fapl_id, boolean is_enabled, long page_size)
+ {
+ var mh$ = H5Pset_core_write_tracking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_core_write_tracking", fapl_id, is_enabled, page_size);
+ }
+ return (int)mh$.invokeExact(fapl_id, is_enabled, page_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_driver {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_driver");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_driver$descriptor() { return H5Pset_driver.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static MethodHandle H5Pset_driver$handle() { return H5Pset_driver.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static MemorySegment H5Pset_driver$address() { return H5Pset_driver.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static int H5Pset_driver(long plist_id, long driver_id, MemorySegment driver_info)
+ {
+ var mh$ = H5Pset_driver.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_driver", plist_id, driver_id, driver_info);
+ }
+ return (int)mh$.invokeExact(plist_id, driver_id, driver_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_driver_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_driver_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_driver_by_name$descriptor() { return H5Pset_driver_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static MethodHandle H5Pset_driver_by_name$handle() { return H5Pset_driver_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static MemorySegment H5Pset_driver_by_name$address() { return H5Pset_driver_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static int H5Pset_driver_by_name(long plist_id, MemorySegment driver_name,
+ MemorySegment driver_config)
+ {
+ var mh$ = H5Pset_driver_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_driver_by_name", plist_id, driver_name, driver_config);
+ }
+ return (int)mh$.invokeExact(plist_id, driver_name, driver_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_driver_by_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_driver_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_driver_by_value$descriptor()
+ {
+ return H5Pset_driver_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static MethodHandle H5Pset_driver_by_value$handle() { return H5Pset_driver_by_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static MemorySegment H5Pset_driver_by_value$address() { return H5Pset_driver_by_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static int H5Pset_driver_by_value(long plist_id, int driver_value, MemorySegment driver_config)
+ {
+ var mh$ = H5Pset_driver_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_driver_by_value", plist_id, driver_value, driver_config);
+ }
+ return (int)mh$.invokeExact(plist_id, driver_value, driver_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_file_cache_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_file_cache_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_file_cache_size$descriptor()
+ {
+ return H5Pset_elink_file_cache_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_file_cache_size$handle()
+ {
+ return H5Pset_elink_file_cache_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_file_cache_size$address()
+ {
+ return H5Pset_elink_file_cache_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static int H5Pset_elink_file_cache_size(long plist_id, int efc_size)
+ {
+ var mh$ = H5Pset_elink_file_cache_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_file_cache_size", plist_id, efc_size);
+ }
+ return (int)mh$.invokeExact(plist_id, efc_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_evict_on_close {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_evict_on_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_evict_on_close$descriptor() { return H5Pset_evict_on_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static MethodHandle H5Pset_evict_on_close$handle() { return H5Pset_evict_on_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static MemorySegment H5Pset_evict_on_close$address() { return H5Pset_evict_on_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static int H5Pset_evict_on_close(long fapl_id, boolean evict_on_close)
+ {
+ var mh$ = H5Pset_evict_on_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_evict_on_close", fapl_id, evict_on_close);
+ }
+ return (int)mh$.invokeExact(fapl_id, evict_on_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_family_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_family_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_family_offset$descriptor() { return H5Pset_family_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static MethodHandle H5Pset_family_offset$handle() { return H5Pset_family_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static MemorySegment H5Pset_family_offset$address() { return H5Pset_family_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static int H5Pset_family_offset(long fapl_id, long offset)
+ {
+ var mh$ = H5Pset_family_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_family_offset", fapl_id, offset);
+ }
+ return (int)mh$.invokeExact(fapl_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fclose_degree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fclose_degree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fclose_degree$descriptor() { return H5Pset_fclose_degree.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static MethodHandle H5Pset_fclose_degree$handle() { return H5Pset_fclose_degree.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static MemorySegment H5Pset_fclose_degree$address() { return H5Pset_fclose_degree.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static int H5Pset_fclose_degree(long fapl_id, int degree)
+ {
+ var mh$ = H5Pset_fclose_degree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fclose_degree", fapl_id, degree);
+ }
+ return (int)mh$.invokeExact(fapl_id, degree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_image {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_image");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_image$descriptor() { return H5Pset_file_image.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MethodHandle H5Pset_file_image$handle() { return H5Pset_file_image.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MemorySegment H5Pset_file_image$address() { return H5Pset_file_image.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static int H5Pset_file_image(long fapl_id, MemorySegment buf_ptr, long buf_len)
+ {
+ var mh$ = H5Pset_file_image.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_image", fapl_id, buf_ptr, buf_len);
+ }
+ return (int)mh$.invokeExact(fapl_id, buf_ptr, buf_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_image_callbacks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_image_callbacks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_image_callbacks$descriptor()
+ {
+ return H5Pset_file_image_callbacks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_file_image_callbacks$handle()
+ {
+ return H5Pset_file_image_callbacks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_file_image_callbacks$address()
+ {
+ return H5Pset_file_image_callbacks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static int H5Pset_file_image_callbacks(long fapl_id, MemorySegment callbacks_ptr)
+ {
+ var mh$ = H5Pset_file_image_callbacks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_image_callbacks", fapl_id, callbacks_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, callbacks_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_locking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_locking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_locking$descriptor() { return H5Pset_file_locking.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static MethodHandle H5Pset_file_locking$handle() { return H5Pset_file_locking.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static MemorySegment H5Pset_file_locking$address() { return H5Pset_file_locking.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static int H5Pset_file_locking(long fapl_id, boolean use_file_locking,
+ boolean ignore_when_disabled)
+ {
+ var mh$ = H5Pset_file_locking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_locking", fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ return (int)mh$.invokeExact(fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_gc_references {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_gc_references");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_gc_references$descriptor() { return H5Pset_gc_references.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static MethodHandle H5Pset_gc_references$handle() { return H5Pset_gc_references.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static MemorySegment H5Pset_gc_references$address() { return H5Pset_gc_references.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static int H5Pset_gc_references(long fapl_id, int gc_ref)
+ {
+ var mh$ = H5Pset_gc_references.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_gc_references", fapl_id, gc_ref);
+ }
+ return (int)mh$.invokeExact(fapl_id, gc_ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_libver_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_libver_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_libver_bounds$descriptor() { return H5Pset_libver_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MethodHandle H5Pset_libver_bounds$handle() { return H5Pset_libver_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MemorySegment H5Pset_libver_bounds$address() { return H5Pset_libver_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static int H5Pset_libver_bounds(long plist_id, int low, int high)
+ {
+ var mh$ = H5Pset_libver_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_libver_bounds", plist_id, low, high);
+ }
+ return (int)mh$.invokeExact(plist_id, low, high);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+}
diff --git a/java/jsrc/features/plain/windows/hdf5_h_2.java b/java/jsrc/features/plain/windows/hdf5_h_2.java
new file mode 100644
index 00000000000..4a347e901e1
--- /dev/null
+++ b/java/jsrc/features/plain/windows/hdf5_h_2.java
@@ -0,0 +1,23492 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h_2 {
+
+ hdf5_h_2()
+ {
+ // Should not be called directly
+ }
+
+ static final Arena LIBRARY_ARENA = Arena.ofAuto();
+ static final boolean TRACE_DOWNCALLS = Boolean.getBoolean("jextract.trace.downcalls");
+
+ static void traceDowncall(String name, Object... args)
+ {
+ String traceArgs = Arrays.stream(args).map(Object::toString).collect(Collectors.joining(", "));
+ System.out.printf("%s(%s)\n", name, traceArgs);
+ }
+
+ static MemorySegment findOrThrow(String symbol)
+ {
+ return SYMBOL_LOOKUP.find(symbol).orElseThrow(
+ () -> new UnsatisfiedLinkError("unresolved symbol: " + symbol));
+ }
+
+ static MethodHandle upcallHandle(Class> fi, String name, FunctionDescriptor fdesc)
+ {
+ try {
+ return MethodHandles.lookup().findVirtual(fi, name, fdesc.toMethodType());
+ }
+ catch (ReflectiveOperationException ex) {
+ throw new AssertionError(ex);
+ }
+ }
+
+ static MemoryLayout align(MemoryLayout layout, long align)
+ {
+ return switch (layout)
+ {
+ case PaddingLayout p -> p; case ValueLayout v -> v.withByteAlignment(align);
+ case GroupLayout g
+ -> { MemoryLayout[] alignedMembers =
+ g.memberLayouts().stream().map(m -> align(m, align)).toArray(MemoryLayout[] ::new);
+ yield g instanceof StructLayout ? MemoryLayout.structLayout(alignedMembers):
+ MemoryLayout.unionLayout(alignedMembers);
+ }
+ case SequenceLayout s -> MemoryLayout.sequenceLayout(s.elementCount(), align(s.elementLayout(), align));
+ };
+ }
+
+ static final SymbolLookup SYMBOL_LOOKUP = SymbolLookup.libraryLookup(System.mapLibraryName("hdf5"), LIBRARY_ARENA)
+ .or(SymbolLookup.loaderLookup())
+ .or(Linker.nativeLinker().defaultLookup());
+
+ public static final ValueLayout.OfBoolean C_BOOL = ValueLayout.JAVA_BOOLEAN;
+ public static final ValueLayout.OfByte C_CHAR = ValueLayout.JAVA_BYTE;
+ public static final ValueLayout.OfShort C_SHORT = ValueLayout.JAVA_SHORT;
+ public static final ValueLayout.OfInt C_INT = ValueLayout.JAVA_INT;
+ public static final ValueLayout.OfLong C_LONG_LONG = ValueLayout.JAVA_LONG;
+ public static final ValueLayout.OfFloat C_FLOAT = ValueLayout.JAVA_FLOAT;
+ public static final ValueLayout.OfDouble C_DOUBLE = ValueLayout.JAVA_DOUBLE;
+ public static final AddressLayout C_POINTER = ValueLayout.ADDRESS
+ .withTargetLayout(MemoryLayout.sequenceLayout(java.lang.Long.MAX_VALUE, JAVA_BYTE));
+ public static final ValueLayout.OfInt C_LONG = ValueLayout.JAVA_INT;
+ public static final ValueLayout.OfDouble C_LONG_DOUBLE = ValueLayout.JAVA_DOUBLE;
+ private static final int H5_HAVE_WINDOWS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_WINDOWS 1
+ * }
+ */
+ public static int H5_HAVE_WINDOWS() {
+ return H5_HAVE_WINDOWS;
+ }
+ private static final int H5_HAVE_WIN32_API = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_WIN32_API 1
+ * }
+ */
+ public static int H5_HAVE_WIN32_API() {
+ return H5_HAVE_WIN32_API;
+ }
+ private static final int H5_HAVE_VISUAL_STUDIO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_VISUAL_STUDIO 1
+ * }
+ */
+ public static int H5_HAVE_VISUAL_STUDIO() {
+ return H5_HAVE_VISUAL_STUDIO;
+ }
+ private static final int H5_HAVE_COMPLEX_NUMBERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_COMPLEX_NUMBERS 1
+ * }
+ */
+ public static int H5_HAVE_COMPLEX_NUMBERS() {
+ return H5_HAVE_COMPLEX_NUMBERS;
+ }
+ private static final int H5_HAVE_EMBEDDED_LIBINFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_EMBEDDED_LIBINFO 1
+ * }
+ */
+ public static int H5_HAVE_EMBEDDED_LIBINFO() {
+ return H5_HAVE_EMBEDDED_LIBINFO;
+ }
+ private static final int H5_HAVE_GETCONSOLESCREENBUFFERINFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_GETCONSOLESCREENBUFFERINFO 1
+ * }
+ */
+ public static int H5_HAVE_GETCONSOLESCREENBUFFERINFO() {
+ return H5_HAVE_GETCONSOLESCREENBUFFERINFO;
+ }
+ private static final int H5_HAVE_GETHOSTNAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_GETHOSTNAME 1
+ * }
+ */
+ public static int H5_HAVE_GETHOSTNAME() {
+ return H5_HAVE_GETHOSTNAME;
+ }
+ private static final int H5_HAVE_GETTIMEOFDAY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_GETTIMEOFDAY 1
+ * }
+ */
+ public static int H5_HAVE_GETTIMEOFDAY() {
+ return H5_HAVE_GETTIMEOFDAY;
+ }
+ private static final int H5_HAVE_LIBM = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_LIBM 1
+ * }
+ */
+ public static int H5_HAVE_LIBM() {
+ return H5_HAVE_LIBM;
+ }
+ private static final int H5_HAVE_LIBWS2_32 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_LIBWS2_32 1
+ * }
+ */
+ public static int H5_HAVE_LIBWS2_32() {
+ return H5_HAVE_LIBWS2_32;
+ }
+ private static final int H5_HAVE_STRDUP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_STRDUP 1
+ * }
+ */
+ public static int H5_HAVE_STRDUP() {
+ return H5_HAVE_STRDUP;
+ }
+ private static final int H5_HAVE_SYS_STAT_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_STAT_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_STAT_H() {
+ return H5_HAVE_SYS_STAT_H;
+ }
+ private static final int H5_HAVE_THREADS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_THREADS 1
+ * }
+ */
+ public static int H5_HAVE_THREADS() {
+ return H5_HAVE_THREADS;
+ }
+ private static final int H5_HAVE_TIMEZONE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TIMEZONE 1
+ * }
+ */
+ public static int H5_HAVE_TIMEZONE() {
+ return H5_HAVE_TIMEZONE;
+ }
+ private static final int H5_HAVE_TMPFILE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TMPFILE 1
+ * }
+ */
+ public static int H5_HAVE_TMPFILE() {
+ return H5_HAVE_TMPFILE;
+ }
+ private static final int H5_HAVE_WIN_THREADS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_WIN_THREADS 1
+ * }
+ */
+ public static int H5_HAVE_WIN_THREADS() {
+ return H5_HAVE_WIN_THREADS;
+ }
+ private static final int H5_HAVE_WINDOW_PATH = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_WINDOW_PATH 1
+ * }
+ */
+ public static int H5_HAVE_WINDOW_PATH() {
+ return H5_HAVE_WINDOW_PATH;
+ }
+ private static final int H5_IGNORE_DISABLED_FILE_LOCKS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_IGNORE_DISABLED_FILE_LOCKS 1
+ * }
+ */
+ public static int H5_IGNORE_DISABLED_FILE_LOCKS() {
+ return H5_IGNORE_DISABLED_FILE_LOCKS;
+ }
+ private static final int H5_INCLUDE_HL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_INCLUDE_HL 1
+ * }
+ */
+ public static int H5_INCLUDE_HL() {
+ return H5_INCLUDE_HL;
+ }
+ private static final int H5_LDOUBLE_TO_LLONG_ACCURATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_LDOUBLE_TO_LLONG_ACCURATE 1
+ * }
+ */
+ public static int H5_LDOUBLE_TO_LLONG_ACCURATE() {
+ return H5_LDOUBLE_TO_LLONG_ACCURATE;
+ }
+ private static final int H5_LLONG_TO_LDOUBLE_CORRECT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_LLONG_TO_LDOUBLE_CORRECT 1
+ * }
+ */
+ public static int H5_LLONG_TO_LDOUBLE_CORRECT() {
+ return H5_LLONG_TO_LDOUBLE_CORRECT;
+ }
+ private static final int H5_SIZEOF_BOOL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_BOOL 1
+ * }
+ */
+ public static int H5_SIZEOF_BOOL() {
+ return H5_SIZEOF_BOOL;
+ }
+ private static final int H5_SIZEOF_CHAR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_CHAR 1
+ * }
+ */
+ public static int H5_SIZEOF_CHAR() {
+ return H5_SIZEOF_CHAR;
+ }
+ private static final int H5_SIZEOF_DOUBLE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_DOUBLE 8
+ * }
+ */
+ public static int H5_SIZEOF_DOUBLE() {
+ return H5_SIZEOF_DOUBLE;
+ }
+ private static final int H5_SIZEOF_DOUBLE_COMPLEX = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_DOUBLE_COMPLEX 16
+ * }
+ */
+ public static int H5_SIZEOF_DOUBLE_COMPLEX() {
+ return H5_SIZEOF_DOUBLE_COMPLEX;
+ }
+ private static final int H5_SIZEOF_FLOAT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_FLOAT 4
+ * }
+ */
+ public static int H5_SIZEOF_FLOAT() {
+ return H5_SIZEOF_FLOAT;
+ }
+ private static final int H5_SIZEOF_FLOAT_COMPLEX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_FLOAT_COMPLEX 8
+ * }
+ */
+ public static int H5_SIZEOF_FLOAT_COMPLEX() {
+ return H5_SIZEOF_FLOAT_COMPLEX;
+ }
+ private static final int H5_SIZEOF_INT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT 4
+ * }
+ */
+ public static int H5_SIZEOF_INT() {
+ return H5_SIZEOF_INT;
+ }
+ private static final int H5_SIZEOF_INT16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_INT16_T() {
+ return H5_SIZEOF_INT16_T;
+ }
+ private static final int H5_SIZEOF_INT32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_INT32_T() {
+ return H5_SIZEOF_INT32_T;
+ }
+ private static final int H5_SIZEOF_INT64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT64_T() {
+ return H5_SIZEOF_INT64_T;
+ }
+ private static final int H5_SIZEOF_INT8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_INT8_T() {
+ return H5_SIZEOF_INT8_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST16_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST16_T 4
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST16_T() {
+ return H5_SIZEOF_INT_FAST16_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST32_T() {
+ return H5_SIZEOF_INT_FAST32_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST64_T() {
+ return H5_SIZEOF_INT_FAST64_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST8_T() {
+ return H5_SIZEOF_INT_FAST8_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST16_T() {
+ return H5_SIZEOF_INT_LEAST16_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST32_T() {
+ return H5_SIZEOF_INT_LEAST32_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST64_T() {
+ return H5_SIZEOF_INT_LEAST64_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST8_T() {
+ return H5_SIZEOF_INT_LEAST8_T;
+ }
+ private static final int H5_SIZEOF_SIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_SIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_SIZE_T() {
+ return H5_SIZEOF_SIZE_T;
+ }
+ private static final int H5_SIZEOF_LONG = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG 4
+ * }
+ */
+ public static int H5_SIZEOF_LONG() {
+ return H5_SIZEOF_LONG;
+ }
+ private static final int H5_SIZEOF_LONG_DOUBLE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG_DOUBLE 8
+ * }
+ */
+ public static int H5_SIZEOF_LONG_DOUBLE() {
+ return H5_SIZEOF_LONG_DOUBLE;
+ }
+ private static final int H5_SIZEOF_LONG_DOUBLE_COMPLEX = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG_DOUBLE_COMPLEX 16
+ * }
+ */
+ public static int H5_SIZEOF_LONG_DOUBLE_COMPLEX() {
+ return H5_SIZEOF_LONG_DOUBLE_COMPLEX;
+ }
+ private static final int H5_SIZEOF_LONG_LONG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG_LONG 8
+ * }
+ */
+ public static int H5_SIZEOF_LONG_LONG() {
+ return H5_SIZEOF_LONG_LONG;
+ }
+ private static final int H5_SIZEOF_OFF_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_OFF_T 4
+ * }
+ */
+ public static int H5_SIZEOF_OFF_T() {
+ return H5_SIZEOF_OFF_T;
+ }
+ private static final int H5_SIZEOF_SHORT = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_SHORT 2
+ * }
+ */
+ public static int H5_SIZEOF_SHORT() {
+ return H5_SIZEOF_SHORT;
+ }
+ private static final int H5_SIZEOF_TIME_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_TIME_T 8
+ * }
+ */
+ public static int H5_SIZEOF_TIME_T() {
+ return H5_SIZEOF_TIME_T;
+ }
+ private static final int H5_SIZEOF_UINT16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_UINT16_T() {
+ return H5_SIZEOF_UINT16_T;
+ }
+ private static final int H5_SIZEOF_UINT32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_UINT32_T() {
+ return H5_SIZEOF_UINT32_T;
+ }
+ private static final int H5_SIZEOF_UINT64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT64_T() {
+ return H5_SIZEOF_UINT64_T;
+ }
+ private static final int H5_SIZEOF_UINT8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_UINT8_T() {
+ return H5_SIZEOF_UINT8_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST16_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST16_T 4
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST16_T() {
+ return H5_SIZEOF_UINT_FAST16_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST32_T() {
+ return H5_SIZEOF_UINT_FAST32_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST64_T() {
+ return H5_SIZEOF_UINT_FAST64_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST8_T() {
+ return H5_SIZEOF_UINT_FAST8_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST16_T() {
+ return H5_SIZEOF_UINT_LEAST16_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST32_T() {
+ return H5_SIZEOF_UINT_LEAST32_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST64_T() {
+ return H5_SIZEOF_UINT_LEAST64_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST8_T() {
+ return H5_SIZEOF_UINT_LEAST8_T;
+ }
+ private static final int H5_SIZEOF_UNSIGNED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UNSIGNED 4
+ * }
+ */
+ public static int H5_SIZEOF_UNSIGNED() {
+ return H5_SIZEOF_UNSIGNED;
+ }
+ private static final int H5_SIZEOF__FLOAT16 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF__FLOAT16 0
+ * }
+ */
+ public static int H5_SIZEOF__FLOAT16() {
+ return H5_SIZEOF__FLOAT16;
+ }
+ private static final int H5_USE_FILE_LOCKING = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_USE_FILE_LOCKING 1
+ * }
+ */
+ public static int H5_USE_FILE_LOCKING() {
+ return H5_USE_FILE_LOCKING;
+ }
+ private static final int H5_WANT_DATA_ACCURACY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_WANT_DATA_ACCURACY 1
+ * }
+ */
+ public static int H5_WANT_DATA_ACCURACY() {
+ return H5_WANT_DATA_ACCURACY;
+ }
+ private static final int H5_WANT_DCONV_EXCEPTION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_WANT_DCONV_EXCEPTION 1
+ * }
+ */
+ public static int H5_WANT_DCONV_EXCEPTION() {
+ return H5_WANT_DCONV_EXCEPTION;
+ }
+ private static final int H5Acreate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Acreate_vers 2
+ * }
+ */
+ public static int H5Acreate_vers() {
+ return H5Acreate_vers;
+ }
+ private static final int H5Aiterate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Aiterate_vers 2
+ * }
+ */
+ public static int H5Aiterate_vers() {
+ return H5Aiterate_vers;
+ }
+ private static final int H5Dcreate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Dcreate_vers 2
+ * }
+ */
+ public static int H5Dcreate_vers() {
+ return H5Dcreate_vers;
+ }
+ private static final int H5Dopen_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Dopen_vers 2
+ * }
+ */
+ public static int H5Dopen_vers() {
+ return H5Dopen_vers;
+ }
+ private static final int H5Dread_chunk_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Dread_chunk_vers 2
+ * }
+ */
+ public static int H5Dread_chunk_vers() {
+ return H5Dread_chunk_vers;
+ }
+ private static final int H5Eclear_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eclear_vers 2
+ * }
+ */
+ public static int H5Eclear_vers() {
+ return H5Eclear_vers;
+ }
+ private static final int H5Eget_auto_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eget_auto_vers 2
+ * }
+ */
+ public static int H5Eget_auto_vers() {
+ return H5Eget_auto_vers;
+ }
+ private static final int H5Eprint_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eprint_vers 2
+ * }
+ */
+ public static int H5Eprint_vers() {
+ return H5Eprint_vers;
+ }
+ private static final int H5Epush_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Epush_vers 2
+ * }
+ */
+ public static int H5Epush_vers() {
+ return H5Epush_vers;
+ }
+ private static final int H5Eset_auto_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eset_auto_vers 2
+ * }
+ */
+ public static int H5Eset_auto_vers() {
+ return H5Eset_auto_vers;
+ }
+ private static final int H5Ewalk_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Ewalk_vers 2
+ * }
+ */
+ public static int H5Ewalk_vers() {
+ return H5Ewalk_vers;
+ }
+ private static final int H5Fget_info_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Fget_info_vers 2
+ * }
+ */
+ public static int H5Fget_info_vers() {
+ return H5Fget_info_vers;
+ }
+ private static final int H5Gcreate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Gcreate_vers 2
+ * }
+ */
+ public static int H5Gcreate_vers() {
+ return H5Gcreate_vers;
+ }
+ private static final int H5Gopen_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Gopen_vers 2
+ * }
+ */
+ public static int H5Gopen_vers() {
+ return H5Gopen_vers;
+ }
+ private static final int H5Iregister_type_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Iregister_type_vers 2
+ * }
+ */
+ public static int H5Iregister_type_vers() {
+ return H5Iregister_type_vers;
+ }
+ private static final int H5Lget_info_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lget_info_vers 2
+ * }
+ */
+ public static int H5Lget_info_vers() {
+ return H5Lget_info_vers;
+ }
+ private static final int H5Lget_info_by_idx_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lget_info_by_idx_vers 2
+ * }
+ */
+ public static int H5Lget_info_by_idx_vers() {
+ return H5Lget_info_by_idx_vers;
+ }
+ private static final int H5Literate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Literate_vers 2
+ * }
+ */
+ public static int H5Literate_vers() {
+ return H5Literate_vers;
+ }
+ private static final int H5Literate_by_name_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Literate_by_name_vers 2
+ * }
+ */
+ public static int H5Literate_by_name_vers() {
+ return H5Literate_by_name_vers;
+ }
+ private static final int H5Lvisit_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lvisit_vers 2
+ * }
+ */
+ public static int H5Lvisit_vers() {
+ return H5Lvisit_vers;
+ }
+ private static final int H5Lvisit_by_name_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lvisit_by_name_vers 2
+ * }
+ */
+ public static int H5Lvisit_by_name_vers() {
+ return H5Lvisit_by_name_vers;
+ }
+ private static final int H5Oget_info_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Oget_info_vers 3
+ * }
+ */
+ public static int H5Oget_info_vers() {
+ return H5Oget_info_vers;
+ }
+ private static final int H5Oget_info_by_idx_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Oget_info_by_idx_vers 3
+ * }
+ */
+ public static int H5Oget_info_by_idx_vers() {
+ return H5Oget_info_by_idx_vers;
+ }
+ private static final int H5Oget_info_by_name_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Oget_info_by_name_vers 3
+ * }
+ */
+ public static int H5Oget_info_by_name_vers() {
+ return H5Oget_info_by_name_vers;
+ }
+ private static final int H5Ovisit_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Ovisit_vers 3
+ * }
+ */
+ public static int H5Ovisit_vers() {
+ return H5Ovisit_vers;
+ }
+ private static final int H5Ovisit_by_name_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Ovisit_by_name_vers 3
+ * }
+ */
+ public static int H5Ovisit_by_name_vers() {
+ return H5Ovisit_by_name_vers;
+ }
+ private static final int H5Pencode_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pencode_vers 2
+ * }
+ */
+ public static int H5Pencode_vers() {
+ return H5Pencode_vers;
+ }
+ private static final int H5Pget_filter_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pget_filter_vers 2
+ * }
+ */
+ public static int H5Pget_filter_vers() {
+ return H5Pget_filter_vers;
+ }
+ private static final int H5Pget_filter_by_id_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pget_filter_by_id_vers 2
+ * }
+ */
+ public static int H5Pget_filter_by_id_vers() {
+ return H5Pget_filter_by_id_vers;
+ }
+ private static final int H5Pinsert_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pinsert_vers 2
+ * }
+ */
+ public static int H5Pinsert_vers() {
+ return H5Pinsert_vers;
+ }
+ private static final int H5Pregister_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pregister_vers 2
+ * }
+ */
+ public static int H5Pregister_vers() {
+ return H5Pregister_vers;
+ }
+ private static final int H5Rdereference_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Rdereference_vers 2
+ * }
+ */
+ public static int H5Rdereference_vers() {
+ return H5Rdereference_vers;
+ }
+ private static final int H5Rget_obj_type_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Rget_obj_type_vers 2
+ * }
+ */
+ public static int H5Rget_obj_type_vers() {
+ return H5Rget_obj_type_vers;
+ }
+ private static final int H5Sencode_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Sencode_vers 2
+ * }
+ */
+ public static int H5Sencode_vers() {
+ return H5Sencode_vers;
+ }
+ private static final int H5Tarray_create_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tarray_create_vers 2
+ * }
+ */
+ public static int H5Tarray_create_vers() {
+ return H5Tarray_create_vers;
+ }
+ private static final int H5Tcommit_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tcommit_vers 2
+ * }
+ */
+ public static int H5Tcommit_vers() {
+ return H5Tcommit_vers;
+ }
+ private static final int H5Tdecode_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tdecode_vers 2
+ * }
+ */
+ public static int H5Tdecode_vers() {
+ return H5Tdecode_vers;
+ }
+ private static final int H5Tget_array_dims_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tget_array_dims_vers 2
+ * }
+ */
+ public static int H5Tget_array_dims_vers() {
+ return H5Tget_array_dims_vers;
+ }
+ private static final int H5Topen_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Topen_vers 2
+ * }
+ */
+ public static int H5Topen_vers() {
+ return H5Topen_vers;
+ }
+ private static final int H5E_auto_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5E_auto_t_vers 2
+ * }
+ */
+ public static int H5E_auto_t_vers() {
+ return H5E_auto_t_vers;
+ }
+ private static final int H5O_info_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_info_t_vers 2
+ * }
+ */
+ public static int H5O_info_t_vers() {
+ return H5O_info_t_vers;
+ }
+ private static final int H5O_iterate_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_iterate_t_vers 2
+ * }
+ */
+ public static int H5O_iterate_t_vers() {
+ return H5O_iterate_t_vers;
+ }
+ private static final int H5Z_class_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_class_t_vers 2
+ * }
+ */
+ public static int H5Z_class_t_vers() {
+ return H5Z_class_t_vers;
+ }
+ private static final int _VCRT_COMPILER_PREPROCESSOR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _VCRT_COMPILER_PREPROCESSOR 1
+ * }
+ */
+ public static int _VCRT_COMPILER_PREPROCESSOR() {
+ return _VCRT_COMPILER_PREPROCESSOR;
+ }
+ private static final int _SAL_VERSION = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define _SAL_VERSION 20
+ * }
+ */
+ public static int _SAL_VERSION() {
+ return _SAL_VERSION;
+ }
+ private static final int __SAL_H_VERSION = (int)180000000L;
+ /**
+ * {@snippet lang=c :
+ * #define __SAL_H_VERSION 180000000
+ * }
+ */
+ public static int __SAL_H_VERSION() {
+ return __SAL_H_VERSION;
+ }
+ private static final int _USE_DECLSPECS_FOR_SAL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _USE_DECLSPECS_FOR_SAL 0
+ * }
+ */
+ public static int _USE_DECLSPECS_FOR_SAL() {
+ return _USE_DECLSPECS_FOR_SAL;
+ }
+ private static final int _USE_ATTRIBUTES_FOR_SAL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _USE_ATTRIBUTES_FOR_SAL 0
+ * }
+ */
+ public static int _USE_ATTRIBUTES_FOR_SAL() {
+ return _USE_ATTRIBUTES_FOR_SAL;
+ }
+ private static final int _CRT_PACKING = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_PACKING 8
+ * }
+ */
+ public static int _CRT_PACKING() {
+ return _CRT_PACKING;
+ }
+ private static final int _HAS_EXCEPTIONS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _HAS_EXCEPTIONS 1
+ * }
+ */
+ public static int _HAS_EXCEPTIONS() {
+ return _HAS_EXCEPTIONS;
+ }
+ private static final int _HAS_CXX17 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _HAS_CXX17 0
+ * }
+ */
+ public static int _HAS_CXX17() {
+ return _HAS_CXX17;
+ }
+ private static final int _HAS_CXX20 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _HAS_CXX20 0
+ * }
+ */
+ public static int _HAS_CXX20() {
+ return _HAS_CXX20;
+ }
+ private static final int _HAS_CXX23 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _HAS_CXX23 0
+ * }
+ */
+ public static int _HAS_CXX23() {
+ return _HAS_CXX23;
+ }
+ private static final int _HAS_CXX26 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _HAS_CXX26 0
+ * }
+ */
+ public static int _HAS_CXX26() {
+ return _HAS_CXX26;
+ }
+ private static final int _HAS_NODISCARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _HAS_NODISCARD 0
+ * }
+ */
+ public static int _HAS_NODISCARD() {
+ return _HAS_NODISCARD;
+ }
+ private static final int _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE 1
+ * }
+ */
+ public static int _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE() {
+ return _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE;
+ }
+ private static final int _CRT_BUILD_DESKTOP_APP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_BUILD_DESKTOP_APP 1
+ * }
+ */
+ public static int _CRT_BUILD_DESKTOP_APP() {
+ return _CRT_BUILD_DESKTOP_APP;
+ }
+ private static final int _ARGMAX = (int)100L;
+ /**
+ * {@snippet lang=c :
+ * #define _ARGMAX 100
+ * }
+ */
+ public static int _ARGMAX() {
+ return _ARGMAX;
+ }
+ private static final int _CRT_INT_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INT_MAX 2147483647
+ * }
+ */
+ public static int _CRT_INT_MAX() {
+ return _CRT_INT_MAX;
+ }
+ private static final int _CRT_FUNCTIONS_REQUIRED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_FUNCTIONS_REQUIRED 1
+ * }
+ */
+ public static int _CRT_FUNCTIONS_REQUIRED() {
+ return _CRT_FUNCTIONS_REQUIRED;
+ }
+ private static final int _CRT_HAS_CXX17 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_HAS_CXX17 0
+ * }
+ */
+ public static int _CRT_HAS_CXX17() {
+ return _CRT_HAS_CXX17;
+ }
+ private static final int _CRT_HAS_C11 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_HAS_C11 1
+ * }
+ */
+ public static int _CRT_HAS_C11() {
+ return _CRT_HAS_C11;
+ }
+ private static final int _CRT_INTERNAL_NONSTDC_NAMES = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_NONSTDC_NAMES 1
+ * }
+ */
+ public static int _CRT_INTERNAL_NONSTDC_NAMES() {
+ return _CRT_INTERNAL_NONSTDC_NAMES;
+ }
+ private static final int __STDC_WANT_SECURE_LIB__ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __STDC_WANT_SECURE_LIB__ 1
+ * }
+ */
+ public static int __STDC_WANT_SECURE_LIB__() {
+ return __STDC_WANT_SECURE_LIB__;
+ }
+ private static final int _SECURECRT_FILL_BUFFER_PATTERN = (int)254L;
+ /**
+ * {@snippet lang=c :
+ * #define _SECURECRT_FILL_BUFFER_PATTERN 254
+ * }
+ */
+ public static int _SECURECRT_FILL_BUFFER_PATTERN() {
+ return _SECURECRT_FILL_BUFFER_PATTERN;
+ }
+ private static final int _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 0
+ * }
+ */
+ public static int _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES() {
+ return _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES;
+ }
+ private static final int _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT 0
+ * }
+ */
+ public static int _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT() {
+ return _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT;
+ }
+ private static final int _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES 1
+ * }
+ */
+ public static int _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES() {
+ return _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES;
+ }
+ private static final int _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY 0
+ * }
+ */
+ public static int _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY() {
+ return _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_MEMORY;
+ }
+ private static final int _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY 0
+ * }
+ */
+ public static int _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY() {
+ return _CRT_SECURE_CPP_OVERLOAD_SECURE_NAMES_MEMORY;
+ }
+ private static final int WCHAR_MIN = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define WCHAR_MIN 0
+ * }
+ */
+ public static int WCHAR_MIN() {
+ return WCHAR_MIN;
+ }
+ private static final int WCHAR_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define WCHAR_MAX 65535
+ * }
+ */
+ public static int WCHAR_MAX() {
+ return WCHAR_MAX;
+ }
+ private static final int WINT_MIN = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define WINT_MIN 0
+ * }
+ */
+ public static int WINT_MIN() {
+ return WINT_MIN;
+ }
+ private static final int WINT_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define WINT_MAX 65535
+ * }
+ */
+ public static int WINT_MAX() {
+ return WINT_MAX;
+ }
+ private static final int CHAR_BIT = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define CHAR_BIT 8
+ * }
+ */
+ public static int CHAR_BIT() {
+ return CHAR_BIT;
+ }
+ private static final int SCHAR_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define SCHAR_MAX 127
+ * }
+ */
+ public static int SCHAR_MAX() {
+ return SCHAR_MAX;
+ }
+ private static final int UCHAR_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UCHAR_MAX 255
+ * }
+ */
+ public static int UCHAR_MAX() {
+ return UCHAR_MAX;
+ }
+ private static final int MB_LEN_MAX = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define MB_LEN_MAX 5
+ * }
+ */
+ public static int MB_LEN_MAX() {
+ return MB_LEN_MAX;
+ }
+ private static final int SHRT_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define SHRT_MAX 32767
+ * }
+ */
+ public static int SHRT_MAX() {
+ return SHRT_MAX;
+ }
+ private static final int USHRT_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define USHRT_MAX 65535
+ * }
+ */
+ public static int USHRT_MAX() {
+ return USHRT_MAX;
+ }
+ private static final int INT_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_MAX 2147483647
+ * }
+ */
+ public static int INT_MAX() {
+ return INT_MAX;
+ }
+ private static final int __GNUC_VA_LIST = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __GNUC_VA_LIST 1
+ * }
+ */
+ public static int __GNUC_VA_LIST() {
+ return __GNUC_VA_LIST;
+ }
+ private static final int true_ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define true 1
+ * }
+ */
+ public static int true_() {
+ return true_;
+ }
+ private static final int false_ = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define false 0
+ * }
+ */
+ public static int false_() {
+ return false_;
+ }
+ private static final int __bool_true_false_are_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __bool_true_false_are_defined 1
+ * }
+ */
+ public static int __bool_true_false_are_defined() {
+ return __bool_true_false_are_defined;
+ }
+ private static final int H5_VERS_MAJOR = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_MAJOR 2
+ * }
+ */
+ public static int H5_VERS_MAJOR() {
+ return H5_VERS_MAJOR;
+ }
+ private static final int H5_VERS_MINOR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_MINOR 0
+ * }
+ */
+ public static int H5_VERS_MINOR() {
+ return H5_VERS_MINOR;
+ }
+ private static final int H5_VERS_RELEASE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_RELEASE 0
+ * }
+ */
+ public static int H5_VERS_RELEASE() {
+ return H5_VERS_RELEASE;
+ }
+ private static final int H5_SIZEOF_HSIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HSIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HSIZE_T() {
+ return H5_SIZEOF_HSIZE_T;
+ }
+ private static final int H5_SIZEOF_HSSIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HSSIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HSSIZE_T() {
+ return H5_SIZEOF_HSSIZE_T;
+ }
+ private static final int H5_SIZEOF_HADDR_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HADDR_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HADDR_T() {
+ return H5_SIZEOF_HADDR_T;
+ }
+ private static final int H5_HAVE_BUILTIN_EXPECT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_BUILTIN_EXPECT 1
+ * }
+ */
+ public static int H5_HAVE_BUILTIN_EXPECT() {
+ return H5_HAVE_BUILTIN_EXPECT;
+ }
+ private static final int H5O_SHMESG_NONE_FLAG = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_NONE_FLAG 0
+ * }
+ */
+ public static int H5O_SHMESG_NONE_FLAG() {
+ return H5O_SHMESG_NONE_FLAG;
+ }
+ private static final int H5O_HDR_CHUNK0_SIZE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_CHUNK0_SIZE 3
+ * }
+ */
+ public static int H5O_HDR_CHUNK0_SIZE() {
+ return H5O_HDR_CHUNK0_SIZE;
+ }
+ private static final int H5O_HDR_ATTR_CRT_ORDER_TRACKED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ATTR_CRT_ORDER_TRACKED 4
+ * }
+ */
+ public static int H5O_HDR_ATTR_CRT_ORDER_TRACKED() {
+ return H5O_HDR_ATTR_CRT_ORDER_TRACKED;
+ }
+ private static final int H5O_HDR_ATTR_CRT_ORDER_INDEXED = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ATTR_CRT_ORDER_INDEXED 8
+ * }
+ */
+ public static int H5O_HDR_ATTR_CRT_ORDER_INDEXED() {
+ return H5O_HDR_ATTR_CRT_ORDER_INDEXED;
+ }
+ private static final int H5O_HDR_ATTR_STORE_PHASE_CHANGE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ATTR_STORE_PHASE_CHANGE 16
+ * }
+ */
+ public static int H5O_HDR_ATTR_STORE_PHASE_CHANGE() {
+ return H5O_HDR_ATTR_STORE_PHASE_CHANGE;
+ }
+ private static final int H5O_HDR_STORE_TIMES = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_STORE_TIMES 32
+ * }
+ */
+ public static int H5O_HDR_STORE_TIMES() {
+ return H5O_HDR_STORE_TIMES;
+ }
+ private static final int H5O_SHMESG_MAX_NINDEXES = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_MAX_NINDEXES 8
+ * }
+ */
+ public static int H5O_SHMESG_MAX_NINDEXES() {
+ return H5O_SHMESG_MAX_NINDEXES;
+ }
+ private static final int H5O_SHMESG_MAX_LIST_SIZE = (int)5000L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_MAX_LIST_SIZE 5000
+ * }
+ */
+ public static int H5O_SHMESG_MAX_LIST_SIZE() {
+ return H5O_SHMESG_MAX_LIST_SIZE;
+ }
+ private static final int H5T_OPAQUE_TAG_MAX = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_OPAQUE_TAG_MAX 256
+ * }
+ */
+ public static int H5T_OPAQUE_TAG_MAX() {
+ return H5T_OPAQUE_TAG_MAX;
+ }
+ private static final int H5AC__CURR_CACHE_CONFIG_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CURR_CACHE_CONFIG_VERSION 1
+ * }
+ */
+ public static int H5AC__CURR_CACHE_CONFIG_VERSION() {
+ return H5AC__CURR_CACHE_CONFIG_VERSION;
+ }
+ private static final int H5AC__MAX_TRACE_FILE_NAME_LEN = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__MAX_TRACE_FILE_NAME_LEN 1024
+ * }
+ */
+ public static int H5AC__MAX_TRACE_FILE_NAME_LEN() {
+ return H5AC__MAX_TRACE_FILE_NAME_LEN;
+ }
+ private static final int H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY 0
+ * }
+ */
+ public static int H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY() {
+ return H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY;
+ }
+ private static final int H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED 1
+ * }
+ */
+ public static int H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED() {
+ return H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED;
+ }
+ private static final int H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION 1
+ * }
+ */
+ public static int H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION() {
+ return H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION;
+ }
+ private static final int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX = (int)100L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX 100
+ * }
+ */
+ public static int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX() {
+ return H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX;
+ }
+ private static final int BUFSIZ = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define BUFSIZ 512
+ * }
+ */
+ public static int BUFSIZ() {
+ return BUFSIZ;
+ }
+ private static final int _NSTREAM_ = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define _NSTREAM_ 512
+ * }
+ */
+ public static int _NSTREAM_() {
+ return _NSTREAM_;
+ }
+ private static final int _IOB_ENTRIES = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define _IOB_ENTRIES 3
+ * }
+ */
+ public static int _IOB_ENTRIES() {
+ return _IOB_ENTRIES;
+ }
+ private static final int _IOFBF = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _IOFBF 0
+ * }
+ */
+ public static int _IOFBF() {
+ return _IOFBF;
+ }
+ private static final int _IOLBF = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define _IOLBF 64
+ * }
+ */
+ public static int _IOLBF() {
+ return _IOLBF;
+ }
+ private static final int _IONBF = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define _IONBF 4
+ * }
+ */
+ public static int _IONBF() {
+ return _IONBF;
+ }
+ private static final int L_tmpnam = (int)260L;
+ /**
+ * {@snippet lang=c :
+ * #define L_tmpnam 260
+ * }
+ */
+ public static int L_tmpnam() {
+ return L_tmpnam;
+ }
+ private static final int SEEK_CUR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_CUR 1
+ * }
+ */
+ public static int SEEK_CUR() {
+ return SEEK_CUR;
+ }
+ private static final int SEEK_END = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_END 2
+ * }
+ */
+ public static int SEEK_END() {
+ return SEEK_END;
+ }
+ private static final int SEEK_SET = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_SET 0
+ * }
+ */
+ public static int SEEK_SET() {
+ return SEEK_SET;
+ }
+ private static final int FILENAME_MAX = (int)260L;
+ /**
+ * {@snippet lang=c :
+ * #define FILENAME_MAX 260
+ * }
+ */
+ public static int FILENAME_MAX() {
+ return FILENAME_MAX;
+ }
+ private static final int FOPEN_MAX = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define FOPEN_MAX 20
+ * }
+ */
+ public static int FOPEN_MAX() {
+ return FOPEN_MAX;
+ }
+ private static final int _SYS_OPEN = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define _SYS_OPEN 20
+ * }
+ */
+ public static int _SYS_OPEN() {
+ return _SYS_OPEN;
+ }
+ private static final int H5E_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5E_DEFAULT 0
+ * }
+ */
+ public static int H5E_DEFAULT() {
+ return H5E_DEFAULT;
+ }
+ private static final int H5ES_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5ES_NONE 0
+ * }
+ */
+ public static int H5ES_NONE() {
+ return H5ES_NONE;
+ }
+ private static final int H5F_FAMILY_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_FAMILY_DEFAULT 0
+ * }
+ */
+ public static int H5F_FAMILY_DEFAULT() {
+ return H5F_FAMILY_DEFAULT;
+ }
+ private static final int H5F_NUM_METADATA_READ_RETRY_TYPES = (int)21L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_NUM_METADATA_READ_RETRY_TYPES 21
+ * }
+ */
+ public static int H5F_NUM_METADATA_READ_RETRY_TYPES() {
+ return H5F_NUM_METADATA_READ_RETRY_TYPES;
+ }
+ private static final int H5FD_VFD_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_VFD_DEFAULT 0
+ * }
+ */
+ public static int H5FD_VFD_DEFAULT() {
+ return H5FD_VFD_DEFAULT;
+ }
+ private static final int H5_VFD_RESERVED = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_RESERVED 256
+ * }
+ */
+ public static int H5_VFD_RESERVED() {
+ return H5_VFD_RESERVED;
+ }
+ private static final int H5_VFD_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MAX 65535
+ * }
+ */
+ public static int H5_VFD_MAX() {
+ return H5_VFD_MAX;
+ }
+ private static final int H5FD_FEAT_AGGREGATE_METADATA = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_AGGREGATE_METADATA 1
+ * }
+ */
+ public static int H5FD_FEAT_AGGREGATE_METADATA() {
+ return H5FD_FEAT_AGGREGATE_METADATA;
+ }
+ private static final int H5FD_FEAT_ACCUMULATE_METADATA_WRITE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ACCUMULATE_METADATA_WRITE 2
+ * }
+ */
+ public static int H5FD_FEAT_ACCUMULATE_METADATA_WRITE() {
+ return H5FD_FEAT_ACCUMULATE_METADATA_WRITE;
+ }
+ private static final int H5FD_FEAT_ACCUMULATE_METADATA_READ = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ACCUMULATE_METADATA_READ 4
+ * }
+ */
+ public static int H5FD_FEAT_ACCUMULATE_METADATA_READ() {
+ return H5FD_FEAT_ACCUMULATE_METADATA_READ;
+ }
+ private static final int H5FD_FEAT_DATA_SIEVE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_DATA_SIEVE 8
+ * }
+ */
+ public static int H5FD_FEAT_DATA_SIEVE() {
+ return H5FD_FEAT_DATA_SIEVE;
+ }
+ private static final int H5FD_FEAT_AGGREGATE_SMALLDATA = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_AGGREGATE_SMALLDATA 16
+ * }
+ */
+ public static int H5FD_FEAT_AGGREGATE_SMALLDATA() {
+ return H5FD_FEAT_AGGREGATE_SMALLDATA;
+ }
+ private static final int H5FD_FEAT_IGNORE_DRVRINFO = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_IGNORE_DRVRINFO 32
+ * }
+ */
+ public static int H5FD_FEAT_IGNORE_DRVRINFO() {
+ return H5FD_FEAT_IGNORE_DRVRINFO;
+ }
+ private static final int H5FD_FEAT_DIRTY_DRVRINFO_LOAD = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_DIRTY_DRVRINFO_LOAD 64
+ * }
+ */
+ public static int H5FD_FEAT_DIRTY_DRVRINFO_LOAD() {
+ return H5FD_FEAT_DIRTY_DRVRINFO_LOAD;
+ }
+ private static final int H5FD_FEAT_POSIX_COMPAT_HANDLE = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_POSIX_COMPAT_HANDLE 128
+ * }
+ */
+ public static int H5FD_FEAT_POSIX_COMPAT_HANDLE() {
+ return H5FD_FEAT_POSIX_COMPAT_HANDLE;
+ }
+ private static final int H5FD_FEAT_HAS_MPI = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_HAS_MPI 256
+ * }
+ */
+ public static int H5FD_FEAT_HAS_MPI() {
+ return H5FD_FEAT_HAS_MPI;
+ }
+ private static final int H5FD_FEAT_ALLOCATE_EARLY = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ALLOCATE_EARLY 512
+ * }
+ */
+ public static int H5FD_FEAT_ALLOCATE_EARLY() {
+ return H5FD_FEAT_ALLOCATE_EARLY;
+ }
+ private static final int H5FD_FEAT_ALLOW_FILE_IMAGE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ALLOW_FILE_IMAGE 1024
+ * }
+ */
+ public static int H5FD_FEAT_ALLOW_FILE_IMAGE() {
+ return H5FD_FEAT_ALLOW_FILE_IMAGE;
+ }
+ private static final int H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS 2048
+ * }
+ */
+ public static int H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS() {
+ return H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS;
+ }
+ private static final int H5FD_FEAT_SUPPORTS_SWMR_IO = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_SUPPORTS_SWMR_IO 4096
+ * }
+ */
+ public static int H5FD_FEAT_SUPPORTS_SWMR_IO() {
+ return H5FD_FEAT_SUPPORTS_SWMR_IO;
+ }
+ private static final int H5FD_FEAT_USE_ALLOC_SIZE = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_USE_ALLOC_SIZE 8192
+ * }
+ */
+ public static int H5FD_FEAT_USE_ALLOC_SIZE() {
+ return H5FD_FEAT_USE_ALLOC_SIZE;
+ }
+ private static final int H5FD_FEAT_PAGED_AGGR = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_PAGED_AGGR 16384
+ * }
+ */
+ public static int H5FD_FEAT_PAGED_AGGR() {
+ return H5FD_FEAT_PAGED_AGGR;
+ }
+ private static final int H5FD_FEAT_DEFAULT_VFD_COMPATIBLE = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_DEFAULT_VFD_COMPATIBLE 32768
+ * }
+ */
+ public static int H5FD_FEAT_DEFAULT_VFD_COMPATIBLE() {
+ return H5FD_FEAT_DEFAULT_VFD_COMPATIBLE;
+ }
+ private static final int H5FD_FEAT_MEMMANAGE = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_MEMMANAGE 65536
+ * }
+ */
+ public static int H5FD_FEAT_MEMMANAGE() {
+ return H5FD_FEAT_MEMMANAGE;
+ }
+ private static final int H5FD_CTL_OPC_RESERVED = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_OPC_RESERVED 512
+ * }
+ */
+ public static int H5FD_CTL_OPC_RESERVED() {
+ return H5FD_CTL_OPC_RESERVED;
+ }
+ private static final int H5FD_CTL_INVALID_OPCODE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_INVALID_OPCODE 0
+ * }
+ */
+ public static int H5FD_CTL_INVALID_OPCODE() {
+ return H5FD_CTL_INVALID_OPCODE;
+ }
+ private static final int H5FD_CTL_TEST_OPCODE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_TEST_OPCODE 1
+ * }
+ */
+ public static int H5FD_CTL_TEST_OPCODE() {
+ return H5FD_CTL_TEST_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE 2
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE() {
+ return H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_INFO_OPCODE = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_INFO_OPCODE 9
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_INFO_OPCODE() {
+ return H5FD_CTL_GET_MPI_INFO_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_RANK_OPCODE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_RANK_OPCODE 3
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_RANK_OPCODE() {
+ return H5FD_CTL_GET_MPI_RANK_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_SIZE_OPCODE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_SIZE_OPCODE 4
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_SIZE_OPCODE() {
+ return H5FD_CTL_GET_MPI_SIZE_OPCODE;
+ }
+ private static final int H5FD_CTL_MEM_ALLOC = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_MEM_ALLOC 5
+ * }
+ */
+ public static int H5FD_CTL_MEM_ALLOC() {
+ return H5FD_CTL_MEM_ALLOC;
+ }
+ private static final int H5FD_CTL_MEM_FREE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_MEM_FREE 6
+ * }
+ */
+ public static int H5FD_CTL_MEM_FREE() {
+ return H5FD_CTL_MEM_FREE;
+ }
+ private static final int H5FD_CTL_MEM_COPY = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_MEM_COPY 7
+ * }
+ */
+ public static int H5FD_CTL_MEM_COPY() {
+ return H5FD_CTL_MEM_COPY;
+ }
+ private static final int H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE 8
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE() {
+ return H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE;
+ }
+ private static final int H5FD_CTL_FAIL_IF_UNKNOWN_FLAG = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_FAIL_IF_UNKNOWN_FLAG 1
+ * }
+ */
+ public static int H5FD_CTL_FAIL_IF_UNKNOWN_FLAG() {
+ return H5FD_CTL_FAIL_IF_UNKNOWN_FLAG;
+ }
+ private static final int H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG 2
+ * }
+ */
+ public static int H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG() {
+ return H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG;
+ }
+ private static final int H5L_SAME_LOC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_SAME_LOC 0
+ * }
+ */
+ public static int H5L_SAME_LOC() {
+ return H5L_SAME_LOC;
+ }
+ private static final int H5G_NTYPES = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_NTYPES 256
+ * }
+ */
+ public static int H5G_NTYPES() {
+ return H5G_NTYPES;
+ }
+ private static final int H5G_NLIBTYPES = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_NLIBTYPES 8
+ * }
+ */
+ public static int H5G_NLIBTYPES() {
+ return H5G_NLIBTYPES;
+ }
+ private static final int H5VL_VERSION = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_VERSION 3
+ * }
+ */
+ public static int H5VL_VERSION() {
+ return H5VL_VERSION;
+ }
+ private static final int H5_VOL_NATIVE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_NATIVE 0
+ * }
+ */
+ public static int H5_VOL_NATIVE() {
+ return H5_VOL_NATIVE;
+ }
+ private static final int H5_VOL_RESERVED = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_RESERVED 256
+ * }
+ */
+ public static int H5_VOL_RESERVED() {
+ return H5_VOL_RESERVED;
+ }
+ private static final int H5_VOL_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_MAX 65535
+ * }
+ */
+ public static int H5_VOL_MAX() {
+ return H5_VOL_MAX;
+ }
+ private static final int H5VL_CAP_FLAG_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_NONE 0
+ * }
+ */
+ public static int H5VL_CAP_FLAG_NONE() {
+ return H5VL_CAP_FLAG_NONE;
+ }
+ private static final int H5VL_CAP_FLAG_THREADSAFE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_THREADSAFE 1
+ * }
+ */
+ public static int H5VL_CAP_FLAG_THREADSAFE() {
+ return H5VL_CAP_FLAG_THREADSAFE;
+ }
+ private static final int H5VL_CAP_FLAG_ASYNC = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ASYNC 2
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ASYNC() {
+ return H5VL_CAP_FLAG_ASYNC;
+ }
+ private static final int H5VL_CAP_FLAG_NATIVE_FILES = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_NATIVE_FILES 4
+ * }
+ */
+ public static int H5VL_CAP_FLAG_NATIVE_FILES() {
+ return H5VL_CAP_FLAG_NATIVE_FILES;
+ }
+ private static final int H5VL_CAP_FLAG_ATTR_BASIC = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ATTR_BASIC 8
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ATTR_BASIC() {
+ return H5VL_CAP_FLAG_ATTR_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_ATTR_MORE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ATTR_MORE 16
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ATTR_MORE() {
+ return H5VL_CAP_FLAG_ATTR_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_DATASET_BASIC = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_DATASET_BASIC 32
+ * }
+ */
+ public static int H5VL_CAP_FLAG_DATASET_BASIC() {
+ return H5VL_CAP_FLAG_DATASET_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_DATASET_MORE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_DATASET_MORE 64
+ * }
+ */
+ public static int H5VL_CAP_FLAG_DATASET_MORE() {
+ return H5VL_CAP_FLAG_DATASET_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_FILE_BASIC = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILE_BASIC 128
+ * }
+ */
+ public static int H5VL_CAP_FLAG_FILE_BASIC() {
+ return H5VL_CAP_FLAG_FILE_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_FILE_MORE = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILE_MORE 256
+ * }
+ */
+ public static int H5VL_CAP_FLAG_FILE_MORE() {
+ return H5VL_CAP_FLAG_FILE_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_GROUP_BASIC = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_GROUP_BASIC 512
+ * }
+ */
+ public static int H5VL_CAP_FLAG_GROUP_BASIC() {
+ return H5VL_CAP_FLAG_GROUP_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_GROUP_MORE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_GROUP_MORE 1024
+ * }
+ */
+ public static int H5VL_CAP_FLAG_GROUP_MORE() {
+ return H5VL_CAP_FLAG_GROUP_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_LINK_BASIC = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_LINK_BASIC 2048
+ * }
+ */
+ public static int H5VL_CAP_FLAG_LINK_BASIC() {
+ return H5VL_CAP_FLAG_LINK_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_LINK_MORE = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_LINK_MORE 4096
+ * }
+ */
+ public static int H5VL_CAP_FLAG_LINK_MORE() {
+ return H5VL_CAP_FLAG_LINK_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_MAP_BASIC = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_MAP_BASIC 8192
+ * }
+ */
+ public static int H5VL_CAP_FLAG_MAP_BASIC() {
+ return H5VL_CAP_FLAG_MAP_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_MAP_MORE = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_MAP_MORE 16384
+ * }
+ */
+ public static int H5VL_CAP_FLAG_MAP_MORE() {
+ return H5VL_CAP_FLAG_MAP_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_OBJECT_BASIC = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_OBJECT_BASIC 32768
+ * }
+ */
+ public static int H5VL_CAP_FLAG_OBJECT_BASIC() {
+ return H5VL_CAP_FLAG_OBJECT_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_OBJECT_MORE = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_OBJECT_MORE 65536
+ * }
+ */
+ public static int H5VL_CAP_FLAG_OBJECT_MORE() {
+ return H5VL_CAP_FLAG_OBJECT_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_REF_BASIC = (int)131072L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_REF_BASIC 131072
+ * }
+ */
+ public static int H5VL_CAP_FLAG_REF_BASIC() {
+ return H5VL_CAP_FLAG_REF_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_REF_MORE = (int)262144L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_REF_MORE 262144
+ * }
+ */
+ public static int H5VL_CAP_FLAG_REF_MORE() {
+ return H5VL_CAP_FLAG_REF_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_OBJ_REF = (int)524288L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_OBJ_REF 524288
+ * }
+ */
+ public static int H5VL_CAP_FLAG_OBJ_REF() {
+ return H5VL_CAP_FLAG_OBJ_REF;
+ }
+ private static final int H5VL_CAP_FLAG_REG_REF = (int)1048576L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_REG_REF 1048576
+ * }
+ */
+ public static int H5VL_CAP_FLAG_REG_REF() {
+ return H5VL_CAP_FLAG_REG_REF;
+ }
+ private static final int H5VL_CAP_FLAG_ATTR_REF = (int)2097152L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ATTR_REF 2097152
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ATTR_REF() {
+ return H5VL_CAP_FLAG_ATTR_REF;
+ }
+ private static final int H5VL_CAP_FLAG_STORED_DATATYPES = (int)4194304L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_STORED_DATATYPES 4194304
+ * }
+ */
+ public static int H5VL_CAP_FLAG_STORED_DATATYPES() {
+ return H5VL_CAP_FLAG_STORED_DATATYPES;
+ }
+ private static final int H5VL_CAP_FLAG_CREATION_ORDER = (int)8388608L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_CREATION_ORDER 8388608
+ * }
+ */
+ public static int H5VL_CAP_FLAG_CREATION_ORDER() {
+ return H5VL_CAP_FLAG_CREATION_ORDER;
+ }
+ private static final int H5VL_CAP_FLAG_ITERATE = (int)16777216L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ITERATE 16777216
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ITERATE() {
+ return H5VL_CAP_FLAG_ITERATE;
+ }
+ private static final int H5VL_CAP_FLAG_STORAGE_SIZE = (int)33554432L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_STORAGE_SIZE 33554432
+ * }
+ */
+ public static int H5VL_CAP_FLAG_STORAGE_SIZE() {
+ return H5VL_CAP_FLAG_STORAGE_SIZE;
+ }
+ private static final int H5VL_CAP_FLAG_BY_IDX = (int)67108864L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_BY_IDX 67108864
+ * }
+ */
+ public static int H5VL_CAP_FLAG_BY_IDX() {
+ return H5VL_CAP_FLAG_BY_IDX;
+ }
+ private static final int H5VL_CAP_FLAG_GET_PLIST = (int)134217728L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_GET_PLIST 134217728
+ * }
+ */
+ public static int H5VL_CAP_FLAG_GET_PLIST() {
+ return H5VL_CAP_FLAG_GET_PLIST;
+ }
+ private static final int H5VL_CAP_FLAG_FLUSH_REFRESH = (int)268435456L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FLUSH_REFRESH 268435456
+ * }
+ */
+ public static int H5VL_CAP_FLAG_FLUSH_REFRESH() {
+ return H5VL_CAP_FLAG_FLUSH_REFRESH;
+ }
+ private static final int H5VL_CAP_FLAG_EXTERNAL_LINKS = (int)536870912L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_EXTERNAL_LINKS 536870912
+ * }
+ */
+ public static int H5VL_CAP_FLAG_EXTERNAL_LINKS() {
+ return H5VL_CAP_FLAG_EXTERNAL_LINKS;
+ }
+ private static final int H5VL_CAP_FLAG_HARD_LINKS = (int)1073741824L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_HARD_LINKS 1073741824
+ * }
+ */
+ public static int H5VL_CAP_FLAG_HARD_LINKS() {
+ return H5VL_CAP_FLAG_HARD_LINKS;
+ }
+ private static final int H5VL_OPT_QUERY_SUPPORTED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_SUPPORTED 1
+ * }
+ */
+ public static int H5VL_OPT_QUERY_SUPPORTED() {
+ return H5VL_OPT_QUERY_SUPPORTED;
+ }
+ private static final int H5VL_OPT_QUERY_READ_DATA = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_READ_DATA 2
+ * }
+ */
+ public static int H5VL_OPT_QUERY_READ_DATA() {
+ return H5VL_OPT_QUERY_READ_DATA;
+ }
+ private static final int H5VL_OPT_QUERY_WRITE_DATA = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_WRITE_DATA 4
+ * }
+ */
+ public static int H5VL_OPT_QUERY_WRITE_DATA() {
+ return H5VL_OPT_QUERY_WRITE_DATA;
+ }
+ private static final int H5VL_OPT_QUERY_QUERY_METADATA = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_QUERY_METADATA 8
+ * }
+ */
+ public static int H5VL_OPT_QUERY_QUERY_METADATA() {
+ return H5VL_OPT_QUERY_QUERY_METADATA;
+ }
+ private static final int H5VL_OPT_QUERY_MODIFY_METADATA = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_MODIFY_METADATA 16
+ * }
+ */
+ public static int H5VL_OPT_QUERY_MODIFY_METADATA() {
+ return H5VL_OPT_QUERY_MODIFY_METADATA;
+ }
+ private static final int H5VL_OPT_QUERY_COLLECTIVE = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_COLLECTIVE 32
+ * }
+ */
+ public static int H5VL_OPT_QUERY_COLLECTIVE() {
+ return H5VL_OPT_QUERY_COLLECTIVE;
+ }
+ private static final int H5VL_OPT_QUERY_NO_ASYNC = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_NO_ASYNC 64
+ * }
+ */
+ public static int H5VL_OPT_QUERY_NO_ASYNC() {
+ return H5VL_OPT_QUERY_NO_ASYNC;
+ }
+ private static final int H5VL_OPT_QUERY_MULTI_OBJ = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_MULTI_OBJ 128
+ * }
+ */
+ public static int H5VL_OPT_QUERY_MULTI_OBJ() {
+ return H5VL_OPT_QUERY_MULTI_OBJ;
+ }
+ private static final int H5VL_CONTAINER_INFO_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CONTAINER_INFO_VERSION 1
+ * }
+ */
+ public static int H5VL_CONTAINER_INFO_VERSION() {
+ return H5VL_CONTAINER_INFO_VERSION;
+ }
+ private static final int H5VL_RESERVED_NATIVE_OPTIONAL = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_RESERVED_NATIVE_OPTIONAL 1024
+ * }
+ */
+ public static int H5VL_RESERVED_NATIVE_OPTIONAL() {
+ return H5VL_RESERVED_NATIVE_OPTIONAL;
+ }
+ private static final int H5VL_MAP_CREATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_CREATE 1
+ * }
+ */
+ public static int H5VL_MAP_CREATE() {
+ return H5VL_MAP_CREATE;
+ }
+ private static final int H5VL_MAP_OPEN = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_OPEN 2
+ * }
+ */
+ public static int H5VL_MAP_OPEN() {
+ return H5VL_MAP_OPEN;
+ }
+ private static final int H5VL_MAP_GET_VAL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_GET_VAL 3
+ * }
+ */
+ public static int H5VL_MAP_GET_VAL() {
+ return H5VL_MAP_GET_VAL;
+ }
+ private static final int H5VL_MAP_EXISTS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_EXISTS 4
+ * }
+ */
+ public static int H5VL_MAP_EXISTS() {
+ return H5VL_MAP_EXISTS;
+ }
+ private static final int H5VL_MAP_PUT = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_PUT 5
+ * }
+ */
+ public static int H5VL_MAP_PUT() {
+ return H5VL_MAP_PUT;
+ }
+ private static final int H5VL_MAP_GET = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_GET 6
+ * }
+ */
+ public static int H5VL_MAP_GET() {
+ return H5VL_MAP_GET;
+ }
+ private static final int H5VL_MAP_SPECIFIC = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_SPECIFIC 7
+ * }
+ */
+ public static int H5VL_MAP_SPECIFIC() {
+ return H5VL_MAP_SPECIFIC;
+ }
+ private static final int H5VL_MAP_OPTIONAL = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_OPTIONAL 8
+ * }
+ */
+ public static int H5VL_MAP_OPTIONAL() {
+ return H5VL_MAP_OPTIONAL;
+ }
+ private static final int H5VL_MAP_CLOSE = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_CLOSE 9
+ * }
+ */
+ public static int H5VL_MAP_CLOSE() {
+ return H5VL_MAP_CLOSE;
+ }
+ private static final int H5S_ALL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_ALL 0
+ * }
+ */
+ public static int H5S_ALL() {
+ return H5S_ALL;
+ }
+ private static final int H5S_BLOCK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_BLOCK 1
+ * }
+ */
+ public static int H5S_BLOCK() {
+ return H5S_BLOCK;
+ }
+ private static final int H5S_PLIST = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_PLIST 2
+ * }
+ */
+ public static int H5S_PLIST() {
+ return H5S_PLIST;
+ }
+ private static final int H5S_MAX_RANK = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_MAX_RANK 32
+ * }
+ */
+ public static int H5S_MAX_RANK() {
+ return H5S_MAX_RANK;
+ }
+ private static final int H5S_SEL_ITER_GET_SEQ_LIST_SORTED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_SEL_ITER_GET_SEQ_LIST_SORTED 1
+ * }
+ */
+ public static int H5S_SEL_ITER_GET_SEQ_LIST_SORTED() {
+ return H5S_SEL_ITER_GET_SEQ_LIST_SORTED;
+ }
+ private static final int H5S_SEL_ITER_SHARE_WITH_DATASPACE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_SEL_ITER_SHARE_WITH_DATASPACE 2
+ * }
+ */
+ public static int H5S_SEL_ITER_SHARE_WITH_DATASPACE() {
+ return H5S_SEL_ITER_SHARE_WITH_DATASPACE;
+ }
+ private static final int H5Z_FILTER_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_NONE 0
+ * }
+ */
+ public static int H5Z_FILTER_NONE() {
+ return H5Z_FILTER_NONE;
+ }
+ private static final int H5Z_FILTER_DEFLATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_DEFLATE 1
+ * }
+ */
+ public static int H5Z_FILTER_DEFLATE() {
+ return H5Z_FILTER_DEFLATE;
+ }
+ private static final int H5Z_FILTER_SHUFFLE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_SHUFFLE 2
+ * }
+ */
+ public static int H5Z_FILTER_SHUFFLE() {
+ return H5Z_FILTER_SHUFFLE;
+ }
+ private static final int H5Z_FILTER_FLETCHER32 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_FLETCHER32 3
+ * }
+ */
+ public static int H5Z_FILTER_FLETCHER32() {
+ return H5Z_FILTER_FLETCHER32;
+ }
+ private static final int H5Z_FILTER_SZIP = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_SZIP 4
+ * }
+ */
+ public static int H5Z_FILTER_SZIP() {
+ return H5Z_FILTER_SZIP;
+ }
+ private static final int H5Z_FILTER_NBIT = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_NBIT 5
+ * }
+ */
+ public static int H5Z_FILTER_NBIT() {
+ return H5Z_FILTER_NBIT;
+ }
+ private static final int H5Z_FILTER_SCALEOFFSET = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_SCALEOFFSET 6
+ * }
+ */
+ public static int H5Z_FILTER_SCALEOFFSET() {
+ return H5Z_FILTER_SCALEOFFSET;
+ }
+ private static final int H5Z_FILTER_RESERVED = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_RESERVED 256
+ * }
+ */
+ public static int H5Z_FILTER_RESERVED() {
+ return H5Z_FILTER_RESERVED;
+ }
+ private static final int H5Z_FILTER_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_MAX 65535
+ * }
+ */
+ public static int H5Z_FILTER_MAX() {
+ return H5Z_FILTER_MAX;
+ }
+ private static final int H5Z_FILTER_ALL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_ALL 0
+ * }
+ */
+ public static int H5Z_FILTER_ALL() {
+ return H5Z_FILTER_ALL;
+ }
+ private static final int H5Z_MAX_NFILTERS = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_MAX_NFILTERS 32
+ * }
+ */
+ public static int H5Z_MAX_NFILTERS() {
+ return H5Z_MAX_NFILTERS;
+ }
+ private static final int H5Z_FLAG_DEFMASK = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_DEFMASK 255
+ * }
+ */
+ public static int H5Z_FLAG_DEFMASK() {
+ return H5Z_FLAG_DEFMASK;
+ }
+ private static final int H5Z_FLAG_MANDATORY = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_MANDATORY 0
+ * }
+ */
+ public static int H5Z_FLAG_MANDATORY() {
+ return H5Z_FLAG_MANDATORY;
+ }
+ private static final int H5Z_FLAG_OPTIONAL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_OPTIONAL 1
+ * }
+ */
+ public static int H5Z_FLAG_OPTIONAL() {
+ return H5Z_FLAG_OPTIONAL;
+ }
+ private static final int H5Z_FLAG_INVMASK = (int)65280L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_INVMASK 65280
+ * }
+ */
+ public static int H5Z_FLAG_INVMASK() {
+ return H5Z_FLAG_INVMASK;
+ }
+ private static final int H5Z_FLAG_REVERSE = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_REVERSE 256
+ * }
+ */
+ public static int H5Z_FLAG_REVERSE() {
+ return H5Z_FLAG_REVERSE;
+ }
+ private static final int H5Z_FLAG_SKIP_EDC = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_SKIP_EDC 512
+ * }
+ */
+ public static int H5Z_FLAG_SKIP_EDC() {
+ return H5Z_FLAG_SKIP_EDC;
+ }
+ private static final int H5_SZIP_ALLOW_K13_OPTION_MASK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_ALLOW_K13_OPTION_MASK 1
+ * }
+ */
+ public static int H5_SZIP_ALLOW_K13_OPTION_MASK() {
+ return H5_SZIP_ALLOW_K13_OPTION_MASK;
+ }
+ private static final int H5_SZIP_CHIP_OPTION_MASK = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_CHIP_OPTION_MASK 2
+ * }
+ */
+ public static int H5_SZIP_CHIP_OPTION_MASK() {
+ return H5_SZIP_CHIP_OPTION_MASK;
+ }
+ private static final int H5_SZIP_EC_OPTION_MASK = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_EC_OPTION_MASK 4
+ * }
+ */
+ public static int H5_SZIP_EC_OPTION_MASK() {
+ return H5_SZIP_EC_OPTION_MASK;
+ }
+ private static final int H5_SZIP_NN_OPTION_MASK = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_NN_OPTION_MASK 32
+ * }
+ */
+ public static int H5_SZIP_NN_OPTION_MASK() {
+ return H5_SZIP_NN_OPTION_MASK;
+ }
+ private static final int H5_SZIP_MAX_PIXELS_PER_BLOCK = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_MAX_PIXELS_PER_BLOCK 32
+ * }
+ */
+ public static int H5_SZIP_MAX_PIXELS_PER_BLOCK() {
+ return H5_SZIP_MAX_PIXELS_PER_BLOCK;
+ }
+ private static final int H5Z_SHUFFLE_USER_NPARMS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SHUFFLE_USER_NPARMS 0
+ * }
+ */
+ public static int H5Z_SHUFFLE_USER_NPARMS() {
+ return H5Z_SHUFFLE_USER_NPARMS;
+ }
+ private static final int H5Z_SHUFFLE_TOTAL_NPARMS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SHUFFLE_TOTAL_NPARMS 1
+ * }
+ */
+ public static int H5Z_SHUFFLE_TOTAL_NPARMS() {
+ return H5Z_SHUFFLE_TOTAL_NPARMS;
+ }
+ private static final int H5Z_SZIP_USER_NPARMS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_USER_NPARMS 2
+ * }
+ */
+ public static int H5Z_SZIP_USER_NPARMS() {
+ return H5Z_SZIP_USER_NPARMS;
+ }
+ private static final int H5Z_SZIP_TOTAL_NPARMS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_TOTAL_NPARMS 4
+ * }
+ */
+ public static int H5Z_SZIP_TOTAL_NPARMS() {
+ return H5Z_SZIP_TOTAL_NPARMS;
+ }
+ private static final int H5Z_SZIP_PARM_MASK = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_MASK 0
+ * }
+ */
+ public static int H5Z_SZIP_PARM_MASK() {
+ return H5Z_SZIP_PARM_MASK;
+ }
+ private static final int H5Z_SZIP_PARM_PPB = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_PPB 1
+ * }
+ */
+ public static int H5Z_SZIP_PARM_PPB() {
+ return H5Z_SZIP_PARM_PPB;
+ }
+ private static final int H5Z_SZIP_PARM_BPP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_BPP 2
+ * }
+ */
+ public static int H5Z_SZIP_PARM_BPP() {
+ return H5Z_SZIP_PARM_BPP;
+ }
+ private static final int H5Z_SZIP_PARM_PPS = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_PPS 3
+ * }
+ */
+ public static int H5Z_SZIP_PARM_PPS() {
+ return H5Z_SZIP_PARM_PPS;
+ }
+ private static final int H5Z_NBIT_USER_NPARMS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_NBIT_USER_NPARMS 0
+ * }
+ */
+ public static int H5Z_NBIT_USER_NPARMS() {
+ return H5Z_NBIT_USER_NPARMS;
+ }
+ private static final int H5Z_SCALEOFFSET_USER_NPARMS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SCALEOFFSET_USER_NPARMS 2
+ * }
+ */
+ public static int H5Z_SCALEOFFSET_USER_NPARMS() {
+ return H5Z_SCALEOFFSET_USER_NPARMS;
+ }
+ private static final int H5Z_SO_INT_MINBITS_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SO_INT_MINBITS_DEFAULT 0
+ * }
+ */
+ public static int H5Z_SO_INT_MINBITS_DEFAULT() {
+ return H5Z_SO_INT_MINBITS_DEFAULT;
+ }
+ private static final int H5P_CRT_ORDER_TRACKED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5P_CRT_ORDER_TRACKED 1
+ * }
+ */
+ public static int H5P_CRT_ORDER_TRACKED() {
+ return H5P_CRT_ORDER_TRACKED;
+ }
+ private static final int H5P_CRT_ORDER_INDEXED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5P_CRT_ORDER_INDEXED 2
+ * }
+ */
+ public static int H5P_CRT_ORDER_INDEXED() {
+ return H5P_CRT_ORDER_INDEXED;
+ }
+ private static final int H5P_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5P_DEFAULT 0
+ * }
+ */
+ public static int H5P_DEFAULT() {
+ return H5P_DEFAULT;
+ }
+ private static final int H5PL_FILTER_PLUGIN = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_FILTER_PLUGIN 1
+ * }
+ */
+ public static int H5PL_FILTER_PLUGIN() {
+ return H5PL_FILTER_PLUGIN;
+ }
+ private static final int H5PL_VOL_PLUGIN = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_VOL_PLUGIN 2
+ * }
+ */
+ public static int H5PL_VOL_PLUGIN() {
+ return H5PL_VOL_PLUGIN;
+ }
+ private static final int H5PL_VFD_PLUGIN = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_VFD_PLUGIN 4
+ * }
+ */
+ public static int H5PL_VFD_PLUGIN() {
+ return H5PL_VFD_PLUGIN;
+ }
+ private static final int H5PL_ALL_PLUGIN = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_ALL_PLUGIN 65535
+ * }
+ */
+ public static int H5PL_ALL_PLUGIN() {
+ return H5PL_ALL_PLUGIN;
+ }
+ private static final int H5FD_CLASS_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CLASS_VERSION 1
+ * }
+ */
+ public static int H5FD_CLASS_VERSION() {
+ return H5FD_CLASS_VERSION;
+ }
+ private static final int H5L_LINK_CLASS_T_VERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_LINK_CLASS_T_VERS 1
+ * }
+ */
+ public static int H5L_LINK_CLASS_T_VERS() {
+ return H5L_LINK_CLASS_T_VERS;
+ }
+ private static final int H5L_EXT_VERSION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_EXT_VERSION 0
+ * }
+ */
+ public static int H5L_EXT_VERSION() {
+ return H5L_EXT_VERSION;
+ }
+ private static final int H5L_EXT_FLAGS_ALL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_EXT_FLAGS_ALL 0
+ * }
+ */
+ public static int H5L_EXT_FLAGS_ALL() {
+ return H5L_EXT_FLAGS_ALL;
+ }
+ private static final int H5L_LINK_CLASS_T_VERS_0 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_LINK_CLASS_T_VERS_0 0
+ * }
+ */
+ public static int H5L_LINK_CLASS_T_VERS_0() {
+ return H5L_LINK_CLASS_T_VERS_0;
+ }
+ private static final int H5VL_NATIVE_VERSION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_VERSION 0
+ * }
+ */
+ public static int H5VL_NATIVE_VERSION() {
+ return H5VL_NATIVE_VERSION;
+ }
+ private static final int H5VL_NATIVE_ATTR_ITERATE_OLD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_ATTR_ITERATE_OLD 0
+ * }
+ */
+ public static int H5VL_NATIVE_ATTR_ITERATE_OLD() {
+ return H5VL_NATIVE_ATTR_ITERATE_OLD;
+ }
+ private static final int H5VL_NATIVE_DATASET_FORMAT_CONVERT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_FORMAT_CONVERT 0
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_FORMAT_CONVERT() {
+ return H5VL_NATIVE_DATASET_FORMAT_CONVERT;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE 1
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE 2
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_NUM_CHUNKS = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_NUM_CHUNKS 3
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_NUM_CHUNKS() {
+ return H5VL_NATIVE_DATASET_GET_NUM_CHUNKS;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX 4
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD 5
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD;
+ }
+ private static final int H5VL_NATIVE_DATASET_CHUNK_READ = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_CHUNK_READ 6
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_CHUNK_READ() {
+ return H5VL_NATIVE_DATASET_CHUNK_READ;
+ }
+ private static final int H5VL_NATIVE_DATASET_CHUNK_WRITE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_CHUNK_WRITE 7
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_CHUNK_WRITE() {
+ return H5VL_NATIVE_DATASET_CHUNK_WRITE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE 8
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE() {
+ return H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_OFFSET = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_OFFSET 9
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_OFFSET() {
+ return H5VL_NATIVE_DATASET_GET_OFFSET;
+ }
+ private static final int H5VL_NATIVE_DATASET_CHUNK_ITER = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_CHUNK_ITER 10
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_CHUNK_ITER() {
+ return H5VL_NATIVE_DATASET_CHUNK_ITER;
+ }
+ private static final int H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE 0
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE() {
+ return H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_FILE_IMAGE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_FILE_IMAGE 1
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_FILE_IMAGE() {
+ return H5VL_NATIVE_FILE_GET_FILE_IMAGE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_FREE_SECTIONS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_FREE_SECTIONS 2
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_FREE_SECTIONS() {
+ return H5VL_NATIVE_FILE_GET_FREE_SECTIONS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_FREE_SPACE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_FREE_SPACE 3
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_FREE_SPACE() {
+ return H5VL_NATIVE_FILE_GET_FREE_SPACE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_INFO = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_INFO 4
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_INFO() {
+ return H5VL_NATIVE_FILE_GET_INFO;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_CONF = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_CONF 5
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_CONF() {
+ return H5VL_NATIVE_FILE_GET_MDC_CONF;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_HR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_HR 6
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_HR() {
+ return H5VL_NATIVE_FILE_GET_MDC_HR;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_SIZE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_SIZE 7
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_SIZE() {
+ return H5VL_NATIVE_FILE_GET_MDC_SIZE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_SIZE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_SIZE 8
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_SIZE() {
+ return H5VL_NATIVE_FILE_GET_SIZE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_VFD_HANDLE = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_VFD_HANDLE 9
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_VFD_HANDLE() {
+ return H5VL_NATIVE_FILE_GET_VFD_HANDLE;
+ }
+ private static final int H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE 10
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE() {
+ return H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE;
+ }
+ private static final int H5VL_NATIVE_FILE_SET_MDC_CONFIG = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_SET_MDC_CONFIG 11
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_SET_MDC_CONFIG() {
+ return H5VL_NATIVE_FILE_SET_MDC_CONFIG;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO 12
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO() {
+ return H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO;
+ }
+ private static final int H5VL_NATIVE_FILE_START_SWMR_WRITE = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_START_SWMR_WRITE 13
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_START_SWMR_WRITE() {
+ return H5VL_NATIVE_FILE_START_SWMR_WRITE;
+ }
+ private static final int H5VL_NATIVE_FILE_START_MDC_LOGGING = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_START_MDC_LOGGING 14
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_START_MDC_LOGGING() {
+ return H5VL_NATIVE_FILE_START_MDC_LOGGING;
+ }
+ private static final int H5VL_NATIVE_FILE_STOP_MDC_LOGGING = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_STOP_MDC_LOGGING 15
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_STOP_MDC_LOGGING() {
+ return H5VL_NATIVE_FILE_STOP_MDC_LOGGING;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS 16
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS() {
+ return H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS;
+ }
+ private static final int H5VL_NATIVE_FILE_FORMAT_CONVERT = (int)17L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_FORMAT_CONVERT 17
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_FORMAT_CONVERT() {
+ return H5VL_NATIVE_FILE_FORMAT_CONVERT;
+ }
+ private static final int H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS = (int)18L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS 18
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS() {
+ return H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS = (int)19L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS 19
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS() {
+ return H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO 20
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO() {
+ return H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_EOA = (int)21L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_EOA 21
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_EOA() {
+ return H5VL_NATIVE_FILE_GET_EOA;
+ }
+ private static final int H5VL_NATIVE_FILE_INCR_FILESIZE = (int)22L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_INCR_FILESIZE 22
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_INCR_FILESIZE() {
+ return H5VL_NATIVE_FILE_INCR_FILESIZE;
+ }
+ private static final int H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS = (int)23L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS 23
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS() {
+ return H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG = (int)24L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG 24
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG() {
+ return H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG;
+ }
+ private static final int H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG = (int)25L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG 25
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG() {
+ return H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG;
+ }
+ private static final int H5VL_NATIVE_FILE_POST_OPEN = (int)28L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_POST_OPEN 28
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_POST_OPEN() {
+ return H5VL_NATIVE_FILE_POST_OPEN;
+ }
+ private static final int H5VL_NATIVE_GROUP_ITERATE_OLD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_GROUP_ITERATE_OLD 0
+ * }
+ */
+ public static int H5VL_NATIVE_GROUP_ITERATE_OLD() {
+ return H5VL_NATIVE_GROUP_ITERATE_OLD;
+ }
+ private static final int H5VL_NATIVE_GROUP_GET_OBJINFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_GROUP_GET_OBJINFO 1
+ * }
+ */
+ public static int H5VL_NATIVE_GROUP_GET_OBJINFO() {
+ return H5VL_NATIVE_GROUP_GET_OBJINFO;
+ }
+ private static final int H5VL_NATIVE_OBJECT_GET_COMMENT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_GET_COMMENT 0
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_GET_COMMENT() {
+ return H5VL_NATIVE_OBJECT_GET_COMMENT;
+ }
+ private static final int H5VL_NATIVE_OBJECT_SET_COMMENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_SET_COMMENT 1
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_SET_COMMENT() {
+ return H5VL_NATIVE_OBJECT_SET_COMMENT;
+ }
+ private static final int H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES 2
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES() {
+ return H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES;
+ }
+ private static final int H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES 3
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES() {
+ return H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES;
+ }
+ private static final int H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED 4
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED() {
+ return H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED;
+ }
+ private static final int H5VL_NATIVE_OBJECT_GET_NATIVE_INFO = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_GET_NATIVE_INFO 5
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_GET_NATIVE_INFO() {
+ return H5VL_NATIVE_OBJECT_GET_NATIVE_INFO;
+ }
+ private static final int MBOUNDARY_DEF = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define MBOUNDARY_DEF 4096
+ * }
+ */
+ public static int MBOUNDARY_DEF() {
+ return MBOUNDARY_DEF;
+ }
+ private static final int FBSIZE_DEF = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define FBSIZE_DEF 4096
+ * }
+ */
+ public static int FBSIZE_DEF() {
+ return FBSIZE_DEF;
+ }
+ private static final int H5FD_LOG_TRUNCATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TRUNCATE 1
+ * }
+ */
+ public static int H5FD_LOG_TRUNCATE() {
+ return H5FD_LOG_TRUNCATE;
+ }
+ private static final int H5FD_LOG_LOC_READ = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_READ 2
+ * }
+ */
+ public static int H5FD_LOG_LOC_READ() {
+ return H5FD_LOG_LOC_READ;
+ }
+ private static final int H5FD_LOG_LOC_WRITE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_WRITE 4
+ * }
+ */
+ public static int H5FD_LOG_LOC_WRITE() {
+ return H5FD_LOG_LOC_WRITE;
+ }
+ private static final int H5FD_LOG_LOC_SEEK = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_SEEK 8
+ * }
+ */
+ public static int H5FD_LOG_LOC_SEEK() {
+ return H5FD_LOG_LOC_SEEK;
+ }
+ private static final int H5FD_LOG_FILE_READ = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FILE_READ 16
+ * }
+ */
+ public static int H5FD_LOG_FILE_READ() {
+ return H5FD_LOG_FILE_READ;
+ }
+ private static final int H5FD_LOG_FILE_WRITE = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FILE_WRITE 32
+ * }
+ */
+ public static int H5FD_LOG_FILE_WRITE() {
+ return H5FD_LOG_FILE_WRITE;
+ }
+ private static final int H5FD_LOG_FLAVOR = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FLAVOR 64
+ * }
+ */
+ public static int H5FD_LOG_FLAVOR() {
+ return H5FD_LOG_FLAVOR;
+ }
+ private static final int H5FD_LOG_NUM_READ = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_READ 128
+ * }
+ */
+ public static int H5FD_LOG_NUM_READ() {
+ return H5FD_LOG_NUM_READ;
+ }
+ private static final int H5FD_LOG_NUM_WRITE = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_WRITE 256
+ * }
+ */
+ public static int H5FD_LOG_NUM_WRITE() {
+ return H5FD_LOG_NUM_WRITE;
+ }
+ private static final int H5FD_LOG_NUM_SEEK = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_SEEK 512
+ * }
+ */
+ public static int H5FD_LOG_NUM_SEEK() {
+ return H5FD_LOG_NUM_SEEK;
+ }
+ private static final int H5FD_LOG_NUM_TRUNCATE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_TRUNCATE 1024
+ * }
+ */
+ public static int H5FD_LOG_NUM_TRUNCATE() {
+ return H5FD_LOG_NUM_TRUNCATE;
+ }
+ private static final int H5FD_LOG_TIME_OPEN = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_OPEN 2048
+ * }
+ */
+ public static int H5FD_LOG_TIME_OPEN() {
+ return H5FD_LOG_TIME_OPEN;
+ }
+ private static final int H5FD_LOG_TIME_STAT = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_STAT 4096
+ * }
+ */
+ public static int H5FD_LOG_TIME_STAT() {
+ return H5FD_LOG_TIME_STAT;
+ }
+ private static final int H5FD_LOG_TIME_READ = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_READ 8192
+ * }
+ */
+ public static int H5FD_LOG_TIME_READ() {
+ return H5FD_LOG_TIME_READ;
+ }
+ private static final int H5FD_LOG_TIME_WRITE = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_WRITE 16384
+ * }
+ */
+ public static int H5FD_LOG_TIME_WRITE() {
+ return H5FD_LOG_TIME_WRITE;
+ }
+ private static final int H5FD_LOG_TIME_SEEK = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_SEEK 32768
+ * }
+ */
+ public static int H5FD_LOG_TIME_SEEK() {
+ return H5FD_LOG_TIME_SEEK;
+ }
+ private static final int H5FD_LOG_TIME_TRUNCATE = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_TRUNCATE 65536
+ * }
+ */
+ public static int H5FD_LOG_TIME_TRUNCATE() {
+ return H5FD_LOG_TIME_TRUNCATE;
+ }
+ private static final int H5FD_LOG_TIME_CLOSE = (int)131072L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_CLOSE 131072
+ * }
+ */
+ public static int H5FD_LOG_TIME_CLOSE() {
+ return H5FD_LOG_TIME_CLOSE;
+ }
+ private static final int H5FD_LOG_ALLOC = (int)262144L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_ALLOC 262144
+ * }
+ */
+ public static int H5FD_LOG_ALLOC() {
+ return H5FD_LOG_ALLOC;
+ }
+ private static final int H5FD_LOG_FREE = (int)524288L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FREE 524288
+ * }
+ */
+ public static int H5FD_LOG_FREE() {
+ return H5FD_LOG_FREE;
+ }
+ private static final int H5D_ONE_LINK_CHUNK_IO_THRESHOLD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_ONE_LINK_CHUNK_IO_THRESHOLD 0
+ * }
+ */
+ public static int H5D_ONE_LINK_CHUNK_IO_THRESHOLD() {
+ return H5D_ONE_LINK_CHUNK_IO_THRESHOLD;
+ }
+ private static final int H5D_MULTI_CHUNK_IO_COL_THRESHOLD = (int)60L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_MULTI_CHUNK_IO_COL_THRESHOLD 60
+ * }
+ */
+ public static int H5D_MULTI_CHUNK_IO_COL_THRESHOLD() {
+ return H5D_MULTI_CHUNK_IO_COL_THRESHOLD;
+ }
+ private static final int H5FD_ONION_FAPL_INFO_VERSION_CURR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_VERSION_CURR 1
+ * }
+ */
+ public static int H5FD_ONION_FAPL_INFO_VERSION_CURR() {
+ return H5FD_ONION_FAPL_INFO_VERSION_CURR;
+ }
+ private static final int H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN 255
+ * }
+ */
+ public static int H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN() {
+ return H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN;
+ }
+ private static final int H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION 1
+ * }
+ */
+ public static int H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION() {
+ return H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION;
+ }
+ private static final int H5FD_SPLITTER_PATH_MAX = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SPLITTER_PATH_MAX 4096
+ * }
+ */
+ public static int H5FD_SPLITTER_PATH_MAX() {
+ return H5FD_SPLITTER_PATH_MAX;
+ }
+ private static final int H5FD_SPLITTER_MAGIC = (int)730949760L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SPLITTER_MAGIC 730949760
+ * }
+ */
+ public static int H5FD_SPLITTER_MAGIC() {
+ return H5FD_SPLITTER_MAGIC;
+ }
+ private static final int H5VL_PASSTHRU_VALUE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_PASSTHRU_VALUE 1
+ * }
+ */
+ public static int H5VL_PASSTHRU_VALUE() {
+ return H5VL_PASSTHRU_VALUE;
+ }
+ private static final int H5VL_PASSTHRU_VERSION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_PASSTHRU_VERSION 0
+ * }
+ */
+ public static int H5VL_PASSTHRU_VERSION() {
+ return H5VL_PASSTHRU_VERSION;
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long uintptr_t
+ * }
+ */
+ public static final OfLong uintptr_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef char *va_list
+ * }
+ */
+ public static final AddressLayout va_list = hdf5_h.C_POINTER;
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * void __va_start(va_list *, ...)
+ * }
+ */
+ public static class __va_start {
+ private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.ofVoid(
+ hdf5_h.C_POINTER
+ );
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("__va_start");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private __va_start(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader) {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * void __va_start(va_list *, ...)
+ * }
+ */
+ public static __va_start makeInvoker(MemoryLayout... layouts) {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new __va_start(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() {
+ return ADDR;
+ }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() {
+ return handle;
+ }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() {
+ return descriptor;
+ }
+
+ public void apply(MemorySegment x0, Object... x1) {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__va_start", x0, x1);
+ }
+ spreader.invokeExact(x0, x1);
+ } catch(IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long size_t
+ * }
+ */
+ public static final OfLong size_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long long ptrdiff_t
+ * }
+ */
+ public static final OfLong ptrdiff_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long long intptr_t
+ * }
+ */
+ public static final OfLong intptr_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef bool __vcrt_bool
+ * }
+ */
+ public static final OfBoolean __vcrt_bool = hdf5_h.C_BOOL;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short wchar_t
+ * }
+ */
+ public static final OfShort wchar_t = hdf5_h.C_SHORT;
+
+ private static class __security_init_cookie {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__security_init_cookie");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void __security_init_cookie()
+ * }
+ */
+ public static FunctionDescriptor __security_init_cookie$descriptor() {
+ return __security_init_cookie.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void __security_init_cookie()
+ * }
+ */
+ public static MethodHandle __security_init_cookie$handle() {
+ return __security_init_cookie.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void __security_init_cookie()
+ * }
+ */
+ public static MemorySegment __security_init_cookie$address() {
+ return __security_init_cookie.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void __security_init_cookie()
+ * }
+ */
+ public static void __security_init_cookie() {
+ var mh$ = __security_init_cookie.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__security_init_cookie");
+ }
+ mh$.invokeExact();
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __security_check_cookie {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__security_check_cookie");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void __security_check_cookie(uintptr_t _StackCookie)
+ * }
+ */
+ public static FunctionDescriptor __security_check_cookie$descriptor() {
+ return __security_check_cookie.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void __security_check_cookie(uintptr_t _StackCookie)
+ * }
+ */
+ public static MethodHandle __security_check_cookie$handle() {
+ return __security_check_cookie.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void __security_check_cookie(uintptr_t _StackCookie)
+ * }
+ */
+ public static MemorySegment __security_check_cookie$address() {
+ return __security_check_cookie.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void __security_check_cookie(uintptr_t _StackCookie)
+ * }
+ */
+ public static void __security_check_cookie(long _StackCookie) {
+ var mh$ = __security_check_cookie.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__security_check_cookie", _StackCookie);
+ }
+ mh$.invokeExact(_StackCookie);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __report_gsfailure {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__report_gsfailure");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void __report_gsfailure(uintptr_t _StackCookie)
+ * }
+ */
+ public static FunctionDescriptor __report_gsfailure$descriptor() {
+ return __report_gsfailure.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void __report_gsfailure(uintptr_t _StackCookie)
+ * }
+ */
+ public static MethodHandle __report_gsfailure$handle() {
+ return __report_gsfailure.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void __report_gsfailure(uintptr_t _StackCookie)
+ * }
+ */
+ public static MemorySegment __report_gsfailure$address() {
+ return __report_gsfailure.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void __report_gsfailure(uintptr_t _StackCookie)
+ * }
+ */
+ public static void __report_gsfailure(long _StackCookie) {
+ var mh$ = __report_gsfailure.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__report_gsfailure", _StackCookie);
+ }
+ mh$.invokeExact(_StackCookie);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __security_cookie$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("__security_cookie").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern uintptr_t __security_cookie
+ * }
+ */
+ public static OfLong __security_cookie$layout() {
+ return __security_cookie$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern uintptr_t __security_cookie
+ * }
+ */
+ public static MemorySegment __security_cookie$segment() {
+ return __security_cookie$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern uintptr_t __security_cookie
+ * }
+ */
+ public static long __security_cookie() {
+ return __security_cookie$constants.SEGMENT.get(__security_cookie$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern uintptr_t __security_cookie
+ * }
+ */
+ public static void __security_cookie(long varValue) {
+ __security_cookie$constants.SEGMENT.set(__security_cookie$constants.LAYOUT, 0L, varValue);
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef bool __crt_bool
+ * }
+ */
+ public static final OfBoolean __crt_bool = hdf5_h.C_BOOL;
+
+ private static class _invalid_parameter_noinfo {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_invalid_parameter_noinfo");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void _invalid_parameter_noinfo()
+ * }
+ */
+ public static FunctionDescriptor _invalid_parameter_noinfo$descriptor() {
+ return _invalid_parameter_noinfo.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void _invalid_parameter_noinfo()
+ * }
+ */
+ public static MethodHandle _invalid_parameter_noinfo$handle() {
+ return _invalid_parameter_noinfo.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void _invalid_parameter_noinfo()
+ * }
+ */
+ public static MemorySegment _invalid_parameter_noinfo$address() {
+ return _invalid_parameter_noinfo.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void _invalid_parameter_noinfo()
+ * }
+ */
+ public static void _invalid_parameter_noinfo() {
+ var mh$ = _invalid_parameter_noinfo.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_invalid_parameter_noinfo");
+ }
+ mh$.invokeExact();
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _invalid_parameter_noinfo_noreturn {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid( );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_invalid_parameter_noinfo_noreturn");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void _invalid_parameter_noinfo_noreturn()
+ * }
+ */
+ public static FunctionDescriptor _invalid_parameter_noinfo_noreturn$descriptor() {
+ return _invalid_parameter_noinfo_noreturn.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void _invalid_parameter_noinfo_noreturn()
+ * }
+ */
+ public static MethodHandle _invalid_parameter_noinfo_noreturn$handle() {
+ return _invalid_parameter_noinfo_noreturn.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void _invalid_parameter_noinfo_noreturn()
+ * }
+ */
+ public static MemorySegment _invalid_parameter_noinfo_noreturn$address() {
+ return _invalid_parameter_noinfo_noreturn.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void _invalid_parameter_noinfo_noreturn()
+ * }
+ */
+ public static void _invalid_parameter_noinfo_noreturn() {
+ var mh$ = _invalid_parameter_noinfo_noreturn.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_invalid_parameter_noinfo_noreturn");
+ }
+ mh$.invokeExact();
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _invoke_watson {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_invoke_watson");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void _invoke_watson(const wchar_t *_Expression, const wchar_t *_FunctionName, const wchar_t *_FileName, unsigned int _LineNo, uintptr_t _Reserved)
+ * }
+ */
+ public static FunctionDescriptor _invoke_watson$descriptor() {
+ return _invoke_watson.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void _invoke_watson(const wchar_t *_Expression, const wchar_t *_FunctionName, const wchar_t *_FileName, unsigned int _LineNo, uintptr_t _Reserved)
+ * }
+ */
+ public static MethodHandle _invoke_watson$handle() {
+ return _invoke_watson.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void _invoke_watson(const wchar_t *_Expression, const wchar_t *_FunctionName, const wchar_t *_FileName, unsigned int _LineNo, uintptr_t _Reserved)
+ * }
+ */
+ public static MemorySegment _invoke_watson$address() {
+ return _invoke_watson.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void _invoke_watson(const wchar_t *_Expression, const wchar_t *_FunctionName, const wchar_t *_FileName, unsigned int _LineNo, uintptr_t _Reserved)
+ * }
+ */
+ public static void _invoke_watson(MemorySegment _Expression, MemorySegment _FunctionName, MemorySegment _FileName, int _LineNo, long _Reserved) {
+ var mh$ = _invoke_watson.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_invoke_watson", _Expression, _FunctionName, _FileName, _LineNo, _Reserved);
+ }
+ mh$.invokeExact(_Expression, _FunctionName, _FileName, _LineNo, _Reserved);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int errno_t
+ * }
+ */
+ public static final OfInt errno_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short wint_t
+ * }
+ */
+ public static final OfShort wint_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short wctype_t
+ * }
+ */
+ public static final OfShort wctype_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef long __time32_t
+ * }
+ */
+ public static final OfInt __time32_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long long __time64_t
+ * }
+ */
+ public static final OfLong __time64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __crt_locale_pointers *_locale_t
+ * }
+ */
+ public static final AddressLayout _locale_t = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef __time64_t time_t
+ * }
+ */
+ public static final OfLong time_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef size_t rsize_t
+ * }
+ */
+ public static final OfLong rsize_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef signed char int8_t
+ * }
+ */
+ public static final OfByte int8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef short int16_t
+ * }
+ */
+ public static final OfShort int16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef int int32_t
+ * }
+ */
+ public static final OfInt int32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long long int64_t
+ * }
+ */
+ public static final OfLong int64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char uint8_t
+ * }
+ */
+ public static final OfByte uint8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short uint16_t
+ * }
+ */
+ public static final OfShort uint16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int uint32_t
+ * }
+ */
+ public static final OfInt uint32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long uint64_t
+ * }
+ */
+ public static final OfLong uint64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef signed char int_least8_t
+ * }
+ */
+ public static final OfByte int_least8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef short int_least16_t
+ * }
+ */
+ public static final OfShort int_least16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef int int_least32_t
+ * }
+ */
+ public static final OfInt int_least32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long long int_least64_t
+ * }
+ */
+ public static final OfLong int_least64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char uint_least8_t
+ * }
+ */
+ public static final OfByte uint_least8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short uint_least16_t
+ * }
+ */
+ public static final OfShort uint_least16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int uint_least32_t
+ * }
+ */
+ public static final OfInt uint_least32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long uint_least64_t
+ * }
+ */
+ public static final OfLong uint_least64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef signed char int_fast8_t
+ * }
+ */
+ public static final OfByte int_fast8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef int int_fast16_t
+ * }
+ */
+ public static final OfInt int_fast16_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int int_fast32_t
+ * }
+ */
+ public static final OfInt int_fast32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long long int_fast64_t
+ * }
+ */
+ public static final OfLong int_fast64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char uint_fast8_t
+ * }
+ */
+ public static final OfByte uint_fast8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int uint_fast16_t
+ * }
+ */
+ public static final OfInt uint_fast16_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int uint_fast32_t
+ * }
+ */
+ public static final OfInt uint_fast32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long uint_fast64_t
+ * }
+ */
+ public static final OfLong uint_fast64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long long intmax_t
+ * }
+ */
+ public static final OfLong intmax_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long uintmax_t
+ * }
+ */
+ public static final OfLong uintmax_t = hdf5_h.C_LONG_LONG;
+
+ private static class imaxabs {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("imaxabs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * intmax_t imaxabs(intmax_t _Number)
+ * }
+ */
+ public static FunctionDescriptor imaxabs$descriptor() {
+ return imaxabs.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * intmax_t imaxabs(intmax_t _Number)
+ * }
+ */
+ public static MethodHandle imaxabs$handle() {
+ return imaxabs.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * intmax_t imaxabs(intmax_t _Number)
+ * }
+ */
+ public static MemorySegment imaxabs$address() {
+ return imaxabs.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * intmax_t imaxabs(intmax_t _Number)
+ * }
+ */
+ public static long imaxabs(long _Number) {
+ var mh$ = imaxabs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("imaxabs", _Number);
+ }
+ return (long)mh$.invokeExact(_Number);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class imaxdiv {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ _Lldiv_t.layout(),
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("imaxdiv");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * imaxdiv_t imaxdiv(intmax_t _Numerator, intmax_t _Denominator)
+ * }
+ */
+ public static FunctionDescriptor imaxdiv$descriptor() {
+ return imaxdiv.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * imaxdiv_t imaxdiv(intmax_t _Numerator, intmax_t _Denominator)
+ * }
+ */
+ public static MethodHandle imaxdiv$handle() {
+ return imaxdiv.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * imaxdiv_t imaxdiv(intmax_t _Numerator, intmax_t _Denominator)
+ * }
+ */
+ public static MemorySegment imaxdiv$address() {
+ return imaxdiv.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * imaxdiv_t imaxdiv(intmax_t _Numerator, intmax_t _Denominator)
+ * }
+ */
+ public static MemorySegment imaxdiv(SegmentAllocator allocator, long _Numerator, long _Denominator) {
+ var mh$ = imaxdiv.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("imaxdiv", allocator, _Numerator, _Denominator);
+ }
+ return (MemorySegment)mh$.invokeExact(allocator, _Numerator, _Denominator);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class strtoimax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("strtoimax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * intmax_t strtoimax(const char *_String, char **_EndPtr, int _Radix)
+ * }
+ */
+ public static FunctionDescriptor strtoimax$descriptor() {
+ return strtoimax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * intmax_t strtoimax(const char *_String, char **_EndPtr, int _Radix)
+ * }
+ */
+ public static MethodHandle strtoimax$handle() {
+ return strtoimax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * intmax_t strtoimax(const char *_String, char **_EndPtr, int _Radix)
+ * }
+ */
+ public static MemorySegment strtoimax$address() {
+ return strtoimax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * intmax_t strtoimax(const char *_String, char **_EndPtr, int _Radix)
+ * }
+ */
+ public static long strtoimax(MemorySegment _String, MemorySegment _EndPtr, int _Radix) {
+ var mh$ = strtoimax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("strtoimax", _String, _EndPtr, _Radix);
+ }
+ return (long)mh$.invokeExact(_String, _EndPtr, _Radix);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _strtoimax_l {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_strtoimax_l");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * intmax_t _strtoimax_l(const char *_String, char **_EndPtr, int _Radix, _locale_t _Locale)
+ * }
+ */
+ public static FunctionDescriptor _strtoimax_l$descriptor() {
+ return _strtoimax_l.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * intmax_t _strtoimax_l(const char *_String, char **_EndPtr, int _Radix, _locale_t _Locale)
+ * }
+ */
+ public static MethodHandle _strtoimax_l$handle() {
+ return _strtoimax_l.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * intmax_t _strtoimax_l(const char *_String, char **_EndPtr, int _Radix, _locale_t _Locale)
+ * }
+ */
+ public static MemorySegment _strtoimax_l$address() {
+ return _strtoimax_l.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * intmax_t _strtoimax_l(const char *_String, char **_EndPtr, int _Radix, _locale_t _Locale)
+ * }
+ */
+ public static long _strtoimax_l(MemorySegment _String, MemorySegment _EndPtr, int _Radix, MemorySegment _Locale) {
+ var mh$ = _strtoimax_l.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_strtoimax_l", _String, _EndPtr, _Radix, _Locale);
+ }
+ return (long)mh$.invokeExact(_String, _EndPtr, _Radix, _Locale);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class strtoumax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("strtoumax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * uintmax_t strtoumax(const char *_String, char **_EndPtr, int _Radix)
+ * }
+ */
+ public static FunctionDescriptor strtoumax$descriptor() {
+ return strtoumax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * uintmax_t strtoumax(const char *_String, char **_EndPtr, int _Radix)
+ * }
+ */
+ public static MethodHandle strtoumax$handle() {
+ return strtoumax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * uintmax_t strtoumax(const char *_String, char **_EndPtr, int _Radix)
+ * }
+ */
+ public static MemorySegment strtoumax$address() {
+ return strtoumax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * uintmax_t strtoumax(const char *_String, char **_EndPtr, int _Radix)
+ * }
+ */
+ public static long strtoumax(MemorySegment _String, MemorySegment _EndPtr, int _Radix) {
+ var mh$ = strtoumax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("strtoumax", _String, _EndPtr, _Radix);
+ }
+ return (long)mh$.invokeExact(_String, _EndPtr, _Radix);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _strtoumax_l {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_strtoumax_l");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * uintmax_t _strtoumax_l(const char *_String, char **_EndPtr, int _Radix, _locale_t _Locale)
+ * }
+ */
+ public static FunctionDescriptor _strtoumax_l$descriptor() {
+ return _strtoumax_l.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * uintmax_t _strtoumax_l(const char *_String, char **_EndPtr, int _Radix, _locale_t _Locale)
+ * }
+ */
+ public static MethodHandle _strtoumax_l$handle() {
+ return _strtoumax_l.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * uintmax_t _strtoumax_l(const char *_String, char **_EndPtr, int _Radix, _locale_t _Locale)
+ * }
+ */
+ public static MemorySegment _strtoumax_l$address() {
+ return _strtoumax_l.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * uintmax_t _strtoumax_l(const char *_String, char **_EndPtr, int _Radix, _locale_t _Locale)
+ * }
+ */
+ public static long _strtoumax_l(MemorySegment _String, MemorySegment _EndPtr, int _Radix, MemorySegment _Locale) {
+ var mh$ = _strtoumax_l.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_strtoumax_l", _String, _EndPtr, _Radix, _Locale);
+ }
+ return (long)mh$.invokeExact(_String, _EndPtr, _Radix, _Locale);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class wcstoimax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("wcstoimax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * intmax_t wcstoimax(const wchar_t *_String, wchar_t **_EndPtr, int _Radix)
+ * }
+ */
+ public static FunctionDescriptor wcstoimax$descriptor() {
+ return wcstoimax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * intmax_t wcstoimax(const wchar_t *_String, wchar_t **_EndPtr, int _Radix)
+ * }
+ */
+ public static MethodHandle wcstoimax$handle() {
+ return wcstoimax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * intmax_t wcstoimax(const wchar_t *_String, wchar_t **_EndPtr, int _Radix)
+ * }
+ */
+ public static MemorySegment wcstoimax$address() {
+ return wcstoimax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * intmax_t wcstoimax(const wchar_t *_String, wchar_t **_EndPtr, int _Radix)
+ * }
+ */
+ public static long wcstoimax(MemorySegment _String, MemorySegment _EndPtr, int _Radix) {
+ var mh$ = wcstoimax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("wcstoimax", _String, _EndPtr, _Radix);
+ }
+ return (long)mh$.invokeExact(_String, _EndPtr, _Radix);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wcstoimax_l {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wcstoimax_l");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * intmax_t _wcstoimax_l(const wchar_t *_String, wchar_t **_EndPtr, int _Radix, _locale_t _Locale)
+ * }
+ */
+ public static FunctionDescriptor _wcstoimax_l$descriptor() {
+ return _wcstoimax_l.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * intmax_t _wcstoimax_l(const wchar_t *_String, wchar_t **_EndPtr, int _Radix, _locale_t _Locale)
+ * }
+ */
+ public static MethodHandle _wcstoimax_l$handle() {
+ return _wcstoimax_l.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * intmax_t _wcstoimax_l(const wchar_t *_String, wchar_t **_EndPtr, int _Radix, _locale_t _Locale)
+ * }
+ */
+ public static MemorySegment _wcstoimax_l$address() {
+ return _wcstoimax_l.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * intmax_t _wcstoimax_l(const wchar_t *_String, wchar_t **_EndPtr, int _Radix, _locale_t _Locale)
+ * }
+ */
+ public static long _wcstoimax_l(MemorySegment _String, MemorySegment _EndPtr, int _Radix, MemorySegment _Locale) {
+ var mh$ = _wcstoimax_l.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wcstoimax_l", _String, _EndPtr, _Radix, _Locale);
+ }
+ return (long)mh$.invokeExact(_String, _EndPtr, _Radix, _Locale);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class wcstoumax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("wcstoumax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * uintmax_t wcstoumax(const wchar_t *_String, wchar_t **_EndPtr, int _Radix)
+ * }
+ */
+ public static FunctionDescriptor wcstoumax$descriptor() {
+ return wcstoumax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * uintmax_t wcstoumax(const wchar_t *_String, wchar_t **_EndPtr, int _Radix)
+ * }
+ */
+ public static MethodHandle wcstoumax$handle() {
+ return wcstoumax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * uintmax_t wcstoumax(const wchar_t *_String, wchar_t **_EndPtr, int _Radix)
+ * }
+ */
+ public static MemorySegment wcstoumax$address() {
+ return wcstoumax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * uintmax_t wcstoumax(const wchar_t *_String, wchar_t **_EndPtr, int _Radix)
+ * }
+ */
+ public static long wcstoumax(MemorySegment _String, MemorySegment _EndPtr, int _Radix) {
+ var mh$ = wcstoumax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("wcstoumax", _String, _EndPtr, _Radix);
+ }
+ return (long)mh$.invokeExact(_String, _EndPtr, _Radix);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wcstoumax_l {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wcstoumax_l");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * uintmax_t _wcstoumax_l(const wchar_t *_String, wchar_t **_EndPtr, int _Radix, _locale_t _Locale)
+ * }
+ */
+ public static FunctionDescriptor _wcstoumax_l$descriptor() {
+ return _wcstoumax_l.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * uintmax_t _wcstoumax_l(const wchar_t *_String, wchar_t **_EndPtr, int _Radix, _locale_t _Locale)
+ * }
+ */
+ public static MethodHandle _wcstoumax_l$handle() {
+ return _wcstoumax_l.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * uintmax_t _wcstoumax_l(const wchar_t *_String, wchar_t **_EndPtr, int _Radix, _locale_t _Locale)
+ * }
+ */
+ public static MemorySegment _wcstoumax_l$address() {
+ return _wcstoumax_l.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * uintmax_t _wcstoumax_l(const wchar_t *_String, wchar_t **_EndPtr, int _Radix, _locale_t _Locale)
+ * }
+ */
+ public static long _wcstoumax_l(MemorySegment _String, MemorySegment _EndPtr, int _Radix, MemorySegment _Locale) {
+ var mh$ = _wcstoumax_l.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wcstoumax_l", _String, _EndPtr, _Radix, _Locale);
+ }
+ return (long)mh$.invokeExact(_String, _EndPtr, _Radix, _Locale);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef __builtin_va_list __gnuc_va_list
+ * }
+ */
+ public static final AddressLayout __gnuc_va_list = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef double max_align_t
+ * }
+ */
+ public static final OfDouble max_align_t = hdf5_h.C_DOUBLE;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short _ino_t
+ * }
+ */
+ public static final OfShort _ino_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef _ino_t ino_t
+ * }
+ */
+ public static final OfShort ino_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int _dev_t
+ * }
+ */
+ public static final OfInt _dev_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef _dev_t dev_t
+ * }
+ */
+ public static final OfInt dev_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long _off_t
+ * }
+ */
+ public static final OfInt _off_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef _off_t off_t
+ * }
+ */
+ public static final OfInt off_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int herr_t
+ * }
+ */
+ public static final OfInt herr_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef bool hbool_t
+ * }
+ */
+ public static final OfBoolean hbool_t = hdf5_h.C_BOOL;
+ /**
+ * {@snippet lang=c :
+ * typedef int htri_t
+ * }
+ */
+ public static final OfInt htri_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long POINTER_64_INT
+ * }
+ */
+ public static final OfLong POINTER_64_INT = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef signed char INT8
+ * }
+ */
+ public static final OfByte INT8 = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef signed char *PINT8
+ * }
+ */
+ public static final AddressLayout PINT8 = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef short INT16
+ * }
+ */
+ public static final OfShort INT16 = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef short *PINT16
+ * }
+ */
+ public static final AddressLayout PINT16 = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef int INT32
+ * }
+ */
+ public static final OfInt INT32 = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int *PINT32
+ * }
+ */
+ public static final AddressLayout PINT32 = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef long long INT64
+ * }
+ */
+ public static final OfLong INT64 = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long long *PINT64
+ * }
+ */
+ public static final AddressLayout PINT64 = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char UINT8
+ * }
+ */
+ public static final OfByte UINT8 = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char *PUINT8
+ * }
+ */
+ public static final AddressLayout PUINT8 = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short UINT16
+ * }
+ */
+ public static final OfShort UINT16 = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short *PUINT16
+ * }
+ */
+ public static final AddressLayout PUINT16 = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int UINT32
+ * }
+ */
+ public static final OfInt UINT32 = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int *PUINT32
+ * }
+ */
+ public static final AddressLayout PUINT32 = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long UINT64
+ * }
+ */
+ public static final OfLong UINT64 = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long *PUINT64
+ * }
+ */
+ public static final AddressLayout PUINT64 = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef int LONG32
+ * }
+ */
+ public static final OfInt LONG32 = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int *PLONG32
+ * }
+ */
+ public static final AddressLayout PLONG32 = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int ULONG32
+ * }
+ */
+ public static final OfInt ULONG32 = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int *PULONG32
+ * }
+ */
+ public static final AddressLayout PULONG32 = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int DWORD32
+ * }
+ */
+ public static final OfInt DWORD32 = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int *PDWORD32
+ * }
+ */
+ public static final AddressLayout PDWORD32 = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef long long INT_PTR
+ * }
+ */
+ public static final OfLong INT_PTR = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long long *PINT_PTR
+ * }
+ */
+ public static final AddressLayout PINT_PTR = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long UINT_PTR
+ * }
+ */
+ public static final OfLong UINT_PTR = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long *PUINT_PTR
+ * }
+ */
+ public static final AddressLayout PUINT_PTR = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef long long LONG_PTR
+ * }
+ */
+ public static final OfLong LONG_PTR = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long long *PLONG_PTR
+ * }
+ */
+ public static final AddressLayout PLONG_PTR = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long ULONG_PTR
+ * }
+ */
+ public static final OfLong ULONG_PTR = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long *PULONG_PTR
+ * }
+ */
+ public static final AddressLayout PULONG_PTR = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef void * __ptr64 HANDLE64
+ * }
+ */
+ public static final AddressLayout HANDLE64 = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef HANDLE64 *PHANDLE64
+ * }
+ */
+ public static final AddressLayout PHANDLE64 = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef long long SHANDLE_PTR
+ * }
+ */
+ public static final OfLong SHANDLE_PTR = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long HANDLE_PTR
+ * }
+ */
+ public static final OfLong HANDLE_PTR = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int UHALF_PTR
+ * }
+ */
+ public static final OfInt UHALF_PTR = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int *PUHALF_PTR
+ * }
+ */
+ public static final AddressLayout PUHALF_PTR = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef int HALF_PTR
+ * }
+ */
+ public static final OfInt HALF_PTR = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int *PHALF_PTR
+ * }
+ */
+ public static final AddressLayout PHALF_PTR = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef ULONG_PTR SIZE_T
+ * }
+ */
+ public static final OfLong SIZE_T$4 = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef ULONG_PTR *PSIZE_T
+ * }
+ */
+ public static final AddressLayout PSIZE_T = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef LONG_PTR SSIZE_T
+ * }
+ */
+ public static final OfLong SSIZE_T = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef LONG_PTR *PSSIZE_T
+ * }
+ */
+ public static final AddressLayout PSSIZE_T = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef ULONG_PTR DWORD_PTR
+ * }
+ */
+ public static final OfLong DWORD_PTR = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef ULONG_PTR *PDWORD_PTR
+ * }
+ */
+ public static final AddressLayout PDWORD_PTR = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef long long LONG64
+ * }
+ */
+ public static final OfLong LONG64 = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long long *PLONG64
+ * }
+ */
+ public static final AddressLayout PLONG64 = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long ULONG64
+ * }
+ */
+ public static final OfLong ULONG64 = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long *PULONG64
+ * }
+ */
+ public static final AddressLayout PULONG64 = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long DWORD64
+ * }
+ */
+ public static final OfLong DWORD64 = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long *PDWORD64
+ * }
+ */
+ public static final AddressLayout PDWORD64 = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef ULONG_PTR KAFFINITY
+ * }
+ */
+ public static final OfLong KAFFINITY = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef KAFFINITY *PKAFFINITY
+ * }
+ */
+ public static final AddressLayout PKAFFINITY = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef SSIZE_T ssize_t
+ * }
+ */
+ public static final OfLong ssize_t$5 = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef uint64_t hsize_t
+ * }
+ */
+ public static final OfLong hsize_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t HDoff_t
+ * }
+ */
+ public static final OfLong HDoff_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t hssize_t
+ * }
+ */
+ public static final OfLong hssize_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef uint64_t haddr_t
+ * }
+ */
+ public static final OfLong haddr_t = hdf5_h.C_LONG_LONG;
+ private static final int H5_ITER_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_UNKNOWN = -1
+ * }
+ */
+ public static int H5_ITER_UNKNOWN() {
+ return H5_ITER_UNKNOWN;
+ }
+ private static final int H5_ITER_INC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_INC = 0
+ * }
+ */
+ public static int H5_ITER_INC() {
+ return H5_ITER_INC;
+ }
+ private static final int H5_ITER_DEC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_DEC = 1
+ * }
+ */
+ public static int H5_ITER_DEC() {
+ return H5_ITER_DEC;
+ }
+ private static final int H5_ITER_NATIVE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_NATIVE = 2
+ * }
+ */
+ public static int H5_ITER_NATIVE() {
+ return H5_ITER_NATIVE;
+ }
+ private static final int H5_ITER_N = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_N = 3
+ * }
+ */
+ public static int H5_ITER_N() {
+ return H5_ITER_N;
+ }
+ private static final int H5_INDEX_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_UNKNOWN = -1
+ * }
+ */
+ public static int H5_INDEX_UNKNOWN() {
+ return H5_INDEX_UNKNOWN;
+ }
+ private static final int H5_INDEX_NAME = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_NAME = 0
+ * }
+ */
+ public static int H5_INDEX_NAME() {
+ return H5_INDEX_NAME;
+ }
+ private static final int H5_INDEX_CRT_ORDER = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_CRT_ORDER = 1
+ * }
+ */
+ public static int H5_INDEX_CRT_ORDER() {
+ return H5_INDEX_CRT_ORDER;
+ }
+ private static final int H5_INDEX_N = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_N = 2
+ * }
+ */
+ public static int H5_INDEX_N() {
+ return H5_INDEX_N;
+ }
+
+ private static class H5_libinit_g$constants {
+ public static final OfBoolean LAYOUT = hdf5_h.C_BOOL;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5_libinit_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static OfBoolean H5_libinit_g$layout() {
+ return H5_libinit_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static MemorySegment H5_libinit_g$segment() {
+ return H5_libinit_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static boolean H5_libinit_g() {
+ return H5_libinit_g$constants.SEGMENT.get(H5_libinit_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static void H5_libinit_g(boolean varValue) {
+ H5_libinit_g$constants.SEGMENT.set(H5_libinit_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5_libterm_g$constants {
+ public static final OfBoolean LAYOUT = hdf5_h.C_BOOL;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5_libterm_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static OfBoolean H5_libterm_g$layout() {
+ return H5_libterm_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static MemorySegment H5_libterm_g$segment() {
+ return H5_libterm_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static boolean H5_libterm_g() {
+ return H5_libterm_g$constants.SEGMENT.get(H5_libterm_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static void H5_libterm_g(boolean varValue) {
+ H5_libterm_g$constants.SEGMENT.set(H5_libterm_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5open {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static FunctionDescriptor H5open$descriptor() {
+ return H5open.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static MethodHandle H5open$handle() {
+ return H5open.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static MemorySegment H5open$address() {
+ return H5open.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static int H5open() {
+ var mh$ = H5open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5open");
+ }
+ return (int)mh$.invokeExact();
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5atclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5atclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5atclose$descriptor() {
+ return H5atclose.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static MethodHandle H5atclose$handle() {
+ return H5atclose.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static MemorySegment H5atclose$address() {
+ return H5atclose.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static int H5atclose(MemorySegment func, MemorySegment ctx) {
+ var mh$ = H5atclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5atclose", func, ctx);
+ }
+ return (int)mh$.invokeExact(func, ctx);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static FunctionDescriptor H5close$descriptor() {
+ return H5close.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static MethodHandle H5close$handle() {
+ return H5close.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static MemorySegment H5close$address() {
+ return H5close.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static int H5close() {
+ var mh$ = H5close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5close");
+ }
+ return (int)mh$.invokeExact();
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5dont_atexit {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5dont_atexit");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static FunctionDescriptor H5dont_atexit$descriptor() {
+ return H5dont_atexit.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static MethodHandle H5dont_atexit$handle() {
+ return H5dont_atexit.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static MemorySegment H5dont_atexit$address() {
+ return H5dont_atexit.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static int H5dont_atexit() {
+ var mh$ = H5dont_atexit.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5dont_atexit");
+ }
+ return (int)mh$.invokeExact();
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5garbage_collect {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5garbage_collect");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static FunctionDescriptor H5garbage_collect$descriptor() {
+ return H5garbage_collect.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static MethodHandle H5garbage_collect$handle() {
+ return H5garbage_collect.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static MemorySegment H5garbage_collect$address() {
+ return H5garbage_collect.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static int H5garbage_collect() {
+ var mh$ = H5garbage_collect.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5garbage_collect");
+ }
+ return (int)mh$.invokeExact();
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5set_free_list_limits {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5set_free_list_limits");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static FunctionDescriptor H5set_free_list_limits$descriptor() {
+ return H5set_free_list_limits.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static MethodHandle H5set_free_list_limits$handle() {
+ return H5set_free_list_limits.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static MemorySegment H5set_free_list_limits$address() {
+ return H5set_free_list_limits.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static int H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim) {
+ var mh$ = H5set_free_list_limits.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5set_free_list_limits", reg_global_lim, reg_list_lim, arr_global_lim, arr_list_lim, blk_global_lim, blk_list_lim);
+ }
+ return (int)mh$.invokeExact(reg_global_lim, reg_list_lim, arr_global_lim, arr_list_lim, blk_global_lim, blk_list_lim);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5get_free_list_sizes {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5get_free_list_sizes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static FunctionDescriptor H5get_free_list_sizes$descriptor() {
+ return H5get_free_list_sizes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static MethodHandle H5get_free_list_sizes$handle() {
+ return H5get_free_list_sizes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static MemorySegment H5get_free_list_sizes$address() {
+ return H5get_free_list_sizes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static int H5get_free_list_sizes(MemorySegment reg_size, MemorySegment arr_size, MemorySegment blk_size, MemorySegment fac_size) {
+ var mh$ = H5get_free_list_sizes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5get_free_list_sizes", reg_size, arr_size, blk_size, fac_size);
+ }
+ return (int)mh$.invokeExact(reg_size, arr_size, blk_size, fac_size);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5get_libversion {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5get_libversion");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static FunctionDescriptor H5get_libversion$descriptor() {
+ return H5get_libversion.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static MethodHandle H5get_libversion$handle() {
+ return H5get_libversion.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static MemorySegment H5get_libversion$address() {
+ return H5get_libversion.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static int H5get_libversion(MemorySegment majnum, MemorySegment minnum, MemorySegment relnum) {
+ var mh$ = H5get_libversion.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5get_libversion", majnum, minnum, relnum);
+ }
+ return (int)mh$.invokeExact(majnum, minnum, relnum);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5check_version {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5check_version");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static FunctionDescriptor H5check_version$descriptor() {
+ return H5check_version.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static MethodHandle H5check_version$handle() {
+ return H5check_version.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static MemorySegment H5check_version$address() {
+ return H5check_version.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static int H5check_version(int majnum, int minnum, int relnum) {
+ var mh$ = H5check_version.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5check_version", majnum, minnum, relnum);
+ }
+ return (int)mh$.invokeExact(majnum, minnum, relnum);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5is_library_terminating {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5is_library_terminating");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static FunctionDescriptor H5is_library_terminating$descriptor() {
+ return H5is_library_terminating.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static MethodHandle H5is_library_terminating$handle() {
+ return H5is_library_terminating.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static MemorySegment H5is_library_terminating$address() {
+ return H5is_library_terminating.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static int H5is_library_terminating(MemorySegment is_terminating) {
+ var mh$ = H5is_library_terminating.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5is_library_terminating", is_terminating);
+ }
+ return (int)mh$.invokeExact(is_terminating);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5is_library_threadsafe {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5is_library_threadsafe");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static FunctionDescriptor H5is_library_threadsafe$descriptor() {
+ return H5is_library_threadsafe.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static MethodHandle H5is_library_threadsafe$handle() {
+ return H5is_library_threadsafe.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static MemorySegment H5is_library_threadsafe$address() {
+ return H5is_library_threadsafe.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static int H5is_library_threadsafe(MemorySegment is_ts) {
+ var mh$ = H5is_library_threadsafe.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5is_library_threadsafe", is_ts);
+ }
+ return (int)mh$.invokeExact(is_ts);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5free_memory {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5free_memory");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static FunctionDescriptor H5free_memory$descriptor() {
+ return H5free_memory.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static MethodHandle H5free_memory$handle() {
+ return H5free_memory.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static MemorySegment H5free_memory$address() {
+ return H5free_memory.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static int H5free_memory(MemorySegment mem) {
+ var mh$ = H5free_memory.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5free_memory", mem);
+ }
+ return (int)mh$.invokeExact(mem);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5allocate_memory {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_BOOL
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5allocate_memory");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static FunctionDescriptor H5allocate_memory$descriptor() {
+ return H5allocate_memory.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static MethodHandle H5allocate_memory$handle() {
+ return H5allocate_memory.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static MemorySegment H5allocate_memory$address() {
+ return H5allocate_memory.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static MemorySegment H5allocate_memory(long size, boolean clear) {
+ var mh$ = H5allocate_memory.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5allocate_memory", size, clear);
+ }
+ return (MemorySegment)mh$.invokeExact(size, clear);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5resize_memory {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5resize_memory");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5resize_memory$descriptor() {
+ return H5resize_memory.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static MethodHandle H5resize_memory$handle() {
+ return H5resize_memory.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static MemorySegment H5resize_memory$address() {
+ return H5resize_memory.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static MemorySegment H5resize_memory(MemorySegment mem, long size) {
+ var mh$ = H5resize_memory.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5resize_memory", mem, size);
+ }
+ return (MemorySegment)mh$.invokeExact(mem, size);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5I_UNINIT = (int)-2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_UNINIT = -2
+ * }
+ */
+ public static int H5I_UNINIT() {
+ return H5I_UNINIT;
+ }
+ private static final int H5I_BADID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_BADID = -1
+ * }
+ */
+ public static int H5I_BADID() {
+ return H5I_BADID;
+ }
+ private static final int H5I_FILE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_FILE = 1
+ * }
+ */
+ public static int H5I_FILE() {
+ return H5I_FILE;
+ }
+ private static final int H5I_GROUP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_GROUP = 2
+ * }
+ */
+ public static int H5I_GROUP() {
+ return H5I_GROUP;
+ }
+ private static final int H5I_DATATYPE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_DATATYPE = 3
+ * }
+ */
+ public static int H5I_DATATYPE() {
+ return H5I_DATATYPE;
+ }
+ private static final int H5I_DATASPACE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_DATASPACE = 4
+ * }
+ */
+ public static int H5I_DATASPACE() {
+ return H5I_DATASPACE;
+ }
+ private static final int H5I_DATASET = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_DATASET = 5
+ * }
+ */
+ public static int H5I_DATASET() {
+ return H5I_DATASET;
+ }
+ private static final int H5I_MAP = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_MAP = 6
+ * }
+ */
+ public static int H5I_MAP() {
+ return H5I_MAP;
+ }
+ private static final int H5I_ATTR = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ATTR = 7
+ * }
+ */
+ public static int H5I_ATTR() {
+ return H5I_ATTR;
+ }
+ private static final int H5I_VFL = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_VFL = 8
+ * }
+ */
+ public static int H5I_VFL() {
+ return H5I_VFL;
+ }
+ private static final int H5I_VOL = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_VOL = 9
+ * }
+ */
+ public static int H5I_VOL() {
+ return H5I_VOL;
+ }
+ private static final int H5I_GENPROP_CLS = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_GENPROP_CLS = 10
+ * }
+ */
+ public static int H5I_GENPROP_CLS() {
+ return H5I_GENPROP_CLS;
+ }
+ private static final int H5I_GENPROP_LST = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_GENPROP_LST = 11
+ * }
+ */
+ public static int H5I_GENPROP_LST() {
+ return H5I_GENPROP_LST;
+ }
+ private static final int H5I_ERROR_CLASS = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ERROR_CLASS = 12
+ * }
+ */
+ public static int H5I_ERROR_CLASS() {
+ return H5I_ERROR_CLASS;
+ }
+ private static final int H5I_ERROR_MSG = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ERROR_MSG = 13
+ * }
+ */
+ public static int H5I_ERROR_MSG() {
+ return H5I_ERROR_MSG;
+ }
+ private static final int H5I_ERROR_STACK = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ERROR_STACK = 14
+ * }
+ */
+ public static int H5I_ERROR_STACK() {
+ return H5I_ERROR_STACK;
+ }
+ private static final int H5I_SPACE_SEL_ITER = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_SPACE_SEL_ITER = 15
+ * }
+ */
+ public static int H5I_SPACE_SEL_ITER() {
+ return H5I_SPACE_SEL_ITER;
+ }
+ private static final int H5I_EVENTSET = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_EVENTSET = 16
+ * }
+ */
+ public static int H5I_EVENTSET() {
+ return H5I_EVENTSET;
+ }
+ private static final int H5I_NTYPES = (int)17L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_NTYPES = 17
+ * }
+ */
+ public static int H5I_NTYPES() {
+ return H5I_NTYPES;
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t hid_t
+ * }
+ */
+ public static final OfLong hid_t = hdf5_h.C_LONG_LONG;
+
+ private static class H5Iregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister$descriptor() {
+ return H5Iregister.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static MethodHandle H5Iregister$handle() {
+ return H5Iregister.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static MemorySegment H5Iregister$address() {
+ return H5Iregister.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static long H5Iregister(int type, MemorySegment object) {
+ var mh$ = H5Iregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister", type, object);
+ }
+ return (long)mh$.invokeExact(type, object);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iobject_verify {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iobject_verify");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iobject_verify$descriptor() {
+ return H5Iobject_verify.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iobject_verify$handle() {
+ return H5Iobject_verify.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iobject_verify$address() {
+ return H5Iobject_verify.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iobject_verify(long id, int type) {
+ var mh$ = H5Iobject_verify.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iobject_verify", id, type);
+ }
+ return (MemorySegment)mh$.invokeExact(id, type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iremove_verify {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iremove_verify");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iremove_verify$descriptor() {
+ return H5Iremove_verify.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iremove_verify$handle() {
+ return H5Iremove_verify.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iremove_verify$address() {
+ return H5Iremove_verify.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iremove_verify(long id, int type) {
+ var mh$ = H5Iremove_verify.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iremove_verify", id, type);
+ }
+ return (MemorySegment)mh$.invokeExact(id, type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_type$descriptor() {
+ return H5Iget_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iget_type$handle() {
+ return H5Iget_type.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iget_type$address() {
+ return H5Iget_type.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static int H5Iget_type(long id) {
+ var mh$ = H5Iget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_type", id);
+ }
+ return (int)mh$.invokeExact(id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_file_id {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_file_id");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_file_id$descriptor() {
+ return H5Iget_file_id.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iget_file_id$handle() {
+ return H5Iget_file_id.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iget_file_id$address() {
+ return H5Iget_file_id.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static long H5Iget_file_id(long id) {
+ var mh$ = H5Iget_file_id.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_file_id", id);
+ }
+ return (long)mh$.invokeExact(id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_name$descriptor() {
+ return H5Iget_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Iget_name$handle() {
+ return H5Iget_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Iget_name$address() {
+ return H5Iget_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static long H5Iget_name(long id, MemorySegment name, long size) {
+ var mh$ = H5Iget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_name", id, name, size);
+ }
+ return (long)mh$.invokeExact(id, name, size);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iinc_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iinc_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iinc_ref$descriptor() {
+ return H5Iinc_ref.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iinc_ref$handle() {
+ return H5Iinc_ref.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iinc_ref$address() {
+ return H5Iinc_ref.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static int H5Iinc_ref(long id) {
+ var mh$ = H5Iinc_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iinc_ref", id);
+ }
+ return (int)mh$.invokeExact(id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Idec_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Idec_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Idec_ref$descriptor() {
+ return H5Idec_ref.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Idec_ref$handle() {
+ return H5Idec_ref.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Idec_ref$address() {
+ return H5Idec_ref.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static int H5Idec_ref(long id) {
+ var mh$ = H5Idec_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Idec_ref", id);
+ }
+ return (int)mh$.invokeExact(id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_ref$descriptor() {
+ return H5Iget_ref.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iget_ref$handle() {
+ return H5Iget_ref.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iget_ref$address() {
+ return H5Iget_ref.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static int H5Iget_ref(long id) {
+ var mh$ = H5Iget_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_ref", id);
+ }
+ return (int)mh$.invokeExact(id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iregister_type2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister_type2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister_type2$descriptor() {
+ return H5Iregister_type2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MethodHandle H5Iregister_type2$handle() {
+ return H5Iregister_type2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MemorySegment H5Iregister_type2$address() {
+ return H5Iregister_type2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static int H5Iregister_type2(int reserved, MemorySegment free_func) {
+ var mh$ = H5Iregister_type2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister_type2", reserved, free_func);
+ }
+ return (int)mh$.invokeExact(reserved, free_func);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iclear_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_BOOL
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iclear_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static FunctionDescriptor H5Iclear_type$descriptor() {
+ return H5Iclear_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static MethodHandle H5Iclear_type$handle() {
+ return H5Iclear_type.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static MemorySegment H5Iclear_type$address() {
+ return H5Iclear_type.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static int H5Iclear_type(int type, boolean force) {
+ var mh$ = H5Iclear_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iclear_type", type, force);
+ }
+ return (int)mh$.invokeExact(type, force);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Idestroy_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Idestroy_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Idestroy_type$descriptor() {
+ return H5Idestroy_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Idestroy_type$handle() {
+ return H5Idestroy_type.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Idestroy_type$address() {
+ return H5Idestroy_type.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static int H5Idestroy_type(int type) {
+ var mh$ = H5Idestroy_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Idestroy_type", type);
+ }
+ return (int)mh$.invokeExact(type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iinc_type_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iinc_type_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iinc_type_ref$descriptor() {
+ return H5Iinc_type_ref.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iinc_type_ref$handle() {
+ return H5Iinc_type_ref.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iinc_type_ref$address() {
+ return H5Iinc_type_ref.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static int H5Iinc_type_ref(int type) {
+ var mh$ = H5Iinc_type_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iinc_type_ref", type);
+ }
+ return (int)mh$.invokeExact(type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Idec_type_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Idec_type_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Idec_type_ref$descriptor() {
+ return H5Idec_type_ref.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Idec_type_ref$handle() {
+ return H5Idec_type_ref.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Idec_type_ref$address() {
+ return H5Idec_type_ref.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static int H5Idec_type_ref(int type) {
+ var mh$ = H5Idec_type_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Idec_type_ref", type);
+ }
+ return (int)mh$.invokeExact(type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_type_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_type_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_type_ref$descriptor() {
+ return H5Iget_type_ref.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iget_type_ref$handle() {
+ return H5Iget_type_ref.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iget_type_ref$address() {
+ return H5Iget_type_ref.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static int H5Iget_type_ref(int type) {
+ var mh$ = H5Iget_type_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_type_ref", type);
+ }
+ return (int)mh$.invokeExact(type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Isearch {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Isearch");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static FunctionDescriptor H5Isearch$descriptor() {
+ return H5Isearch.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static MethodHandle H5Isearch$handle() {
+ return H5Isearch.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static MemorySegment H5Isearch$address() {
+ return H5Isearch.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static MemorySegment H5Isearch(int type, MemorySegment func, MemorySegment key) {
+ var mh$ = H5Isearch.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Isearch", type, func, key);
+ }
+ return (MemorySegment)mh$.invokeExact(type, func, key);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iiterate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iiterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Iiterate$descriptor() {
+ return H5Iiterate.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Iiterate$handle() {
+ return H5Iiterate.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Iiterate$address() {
+ return H5Iiterate.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static int H5Iiterate(int type, MemorySegment op, MemorySegment op_data) {
+ var mh$ = H5Iiterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iiterate", type, op, op_data);
+ }
+ return (int)mh$.invokeExact(type, op, op_data);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Inmembers {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Inmembers");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static FunctionDescriptor H5Inmembers$descriptor() {
+ return H5Inmembers.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static MethodHandle H5Inmembers$handle() {
+ return H5Inmembers.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static MemorySegment H5Inmembers$address() {
+ return H5Inmembers.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static int H5Inmembers(int type, MemorySegment num_members) {
+ var mh$ = H5Inmembers.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Inmembers", type, num_members);
+ }
+ return (int)mh$.invokeExact(type, num_members);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Itype_exists {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Itype_exists");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Itype_exists$descriptor() {
+ return H5Itype_exists.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Itype_exists$handle() {
+ return H5Itype_exists.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Itype_exists$address() {
+ return H5Itype_exists.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static int H5Itype_exists(int type) {
+ var mh$ = H5Itype_exists.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Itype_exists", type);
+ }
+ return (int)mh$.invokeExact(type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iis_valid {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iis_valid");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iis_valid$descriptor() {
+ return H5Iis_valid.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iis_valid$handle() {
+ return H5Iis_valid.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iis_valid$address() {
+ return H5Iis_valid.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static int H5Iis_valid(long id) {
+ var mh$ = H5Iis_valid.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iis_valid", id);
+ }
+ return (int)mh$.invokeExact(id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iregister_type1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister_type1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister_type1$descriptor() {
+ return H5Iregister_type1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MethodHandle H5Iregister_type1$handle() {
+ return H5Iregister_type1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MemorySegment H5Iregister_type1$address() {
+ return H5Iregister_type1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static int H5Iregister_type1(long hash_size, int reserved, MemorySegment free_func) {
+ var mh$ = H5Iregister_type1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister_type1", hash_size, reserved, free_func);
+ }
+ return (int)mh$.invokeExact(hash_size, reserved, free_func);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5O_TYPE_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_UNKNOWN = -1
+ * }
+ */
+ public static int H5O_TYPE_UNKNOWN() {
+ return H5O_TYPE_UNKNOWN;
+ }
+ private static final int H5O_TYPE_GROUP = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_GROUP = 0
+ * }
+ */
+ public static int H5O_TYPE_GROUP() {
+ return H5O_TYPE_GROUP;
+ }
+ private static final int H5O_TYPE_DATASET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_DATASET = 1
+ * }
+ */
+ public static int H5O_TYPE_DATASET() {
+ return H5O_TYPE_DATASET;
+ }
+ private static final int H5O_TYPE_NAMED_DATATYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_NAMED_DATATYPE = 2
+ * }
+ */
+ public static int H5O_TYPE_NAMED_DATATYPE() {
+ return H5O_TYPE_NAMED_DATATYPE;
+ }
+ private static final int H5O_TYPE_MAP = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_MAP = 3
+ * }
+ */
+ public static int H5O_TYPE_MAP() {
+ return H5O_TYPE_MAP;
+ }
+ private static final int H5O_TYPE_NTYPES = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_NTYPES = 4
+ * }
+ */
+ public static int H5O_TYPE_NTYPES() {
+ return H5O_TYPE_NTYPES;
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef uint32_t H5O_msg_crt_idx_t
+ * }
+ */
+ public static final OfInt H5O_msg_crt_idx_t = hdf5_h.C_INT;
+ private static final int H5O_MCDT_SEARCH_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_mcdt_search_ret_t.H5O_MCDT_SEARCH_ERROR = -1
+ * }
+ */
+ public static int H5O_MCDT_SEARCH_ERROR() {
+ return H5O_MCDT_SEARCH_ERROR;
+ }
+ private static final int H5O_MCDT_SEARCH_CONT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_mcdt_search_ret_t.H5O_MCDT_SEARCH_CONT = 0
+ * }
+ */
+ public static int H5O_MCDT_SEARCH_CONT() {
+ return H5O_MCDT_SEARCH_CONT;
+ }
+ private static final int H5O_MCDT_SEARCH_STOP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_mcdt_search_ret_t.H5O_MCDT_SEARCH_STOP = 1
+ * }
+ */
+ public static int H5O_MCDT_SEARCH_STOP() {
+ return H5O_MCDT_SEARCH_STOP;
+ }
+
+ private static class H5Oopen {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen$descriptor() {
+ return H5Oopen.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oopen$handle() {
+ return H5Oopen.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oopen$address() {
+ return H5Oopen.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static long H5Oopen(long loc_id, MemorySegment name, long lapl_id) {
+ var mh$ = H5Oopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen", loc_id, name, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_async$descriptor() {
+ return H5Oopen_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oopen_async$handle() {
+ return H5Oopen_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oopen_async$address() {
+ return H5Oopen_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Oopen_async(MemorySegment app_file, MemorySegment app_func, int app_line, long loc_id, MemorySegment name, long lapl_id, long es_id) {
+ var mh$ = H5Oopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_async", app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_by_token {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ H5O_token_t.layout()
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_token");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_token$descriptor() {
+ return H5Oopen_by_token.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_token$handle() {
+ return H5Oopen_by_token.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_token$address() {
+ return H5Oopen_by_token.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static long H5Oopen_by_token(long loc_id, MemorySegment token) {
+ var mh$ = H5Oopen_by_token.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_token", loc_id, token);
+ }
+ return (long)mh$.invokeExact(loc_id, token);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_idx$descriptor() {
+ return H5Oopen_by_idx.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_idx$handle() {
+ return H5Oopen_by_idx.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_idx$address() {
+ return H5Oopen_by_idx.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static long H5Oopen_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order, long n, long lapl_id) {
+ var mh$ = H5Oopen_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_idx", loc_id, group_name, idx_type, order, n, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, group_name, idx_type, order, n, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_by_idx_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_idx_async$descriptor() {
+ return H5Oopen_by_idx_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_idx_async$handle() {
+ return H5Oopen_by_idx_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_idx_async$address() {
+ return H5Oopen_by_idx_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Oopen_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line, long loc_id, MemorySegment group_name, int idx_type, int order, long n, long lapl_id, long es_id) {
+ var mh$ = H5Oopen_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_idx_async", app_file, app_func, app_line, loc_id, group_name, idx_type, order, n, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, group_name, idx_type, order, n, lapl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oexists_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oexists_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oexists_by_name$descriptor() {
+ return H5Oexists_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oexists_by_name$handle() {
+ return H5Oexists_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oexists_by_name$address() {
+ return H5Oexists_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oexists_by_name(long loc_id, MemorySegment name, long lapl_id) {
+ var mh$ = H5Oexists_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oexists_by_name", loc_id, name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info3$descriptor() {
+ return H5Oget_info3.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Oget_info3$handle() {
+ return H5Oget_info3.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Oget_info3$address() {
+ return H5Oget_info3.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static int H5Oget_info3(long loc_id, MemorySegment oinfo, int fields) {
+ var mh$ = H5Oget_info3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info3", loc_id, oinfo, fields);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo, fields);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name3$descriptor() {
+ return H5Oget_info_by_name3.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name3$handle() {
+ return H5Oget_info_by_name3.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name3$address() {
+ return H5Oget_info_by_name3.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_name3(long loc_id, MemorySegment name, MemorySegment oinfo, int fields, long lapl_id) {
+ var mh$ = H5Oget_info_by_name3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name3", loc_id, name, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name_async$descriptor() {
+ return H5Oget_info_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name_async$handle() {
+ return H5Oget_info_by_name_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name_async$address() {
+ return H5Oget_info_by_name_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Oget_info_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line, long loc_id, MemorySegment name, MemorySegment oinfo, int fields, long lapl_id, long es_id) {
+ var mh$ = H5Oget_info_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name_async", app_file, app_func, app_line, loc_id, name, oinfo, fields, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, oinfo, fields, lapl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_idx3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_idx3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_idx3$descriptor() {
+ return H5Oget_info_by_idx3.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_idx3$handle() {
+ return H5Oget_info_by_idx3.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_idx3$address() {
+ return H5Oget_info_by_idx3.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_idx3(long loc_id, MemorySegment group_name, int idx_type, int order, long n, MemorySegment oinfo, int fields, long lapl_id) {
+ var mh$ = H5Oget_info_by_idx3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_idx3", loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_native_info {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_native_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_native_info$descriptor() {
+ return H5Oget_native_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Oget_native_info$handle() {
+ return H5Oget_native_info.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Oget_native_info$address() {
+ return H5Oget_native_info.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static int H5Oget_native_info(long loc_id, MemorySegment oinfo, int fields) {
+ var mh$ = H5Oget_native_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_native_info", loc_id, oinfo, fields);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo, fields);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_native_info_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_native_info_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_native_info_by_name$descriptor() {
+ return H5Oget_native_info_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_native_info_by_name$handle() {
+ return H5Oget_native_info_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_native_info_by_name$address() {
+ return H5Oget_native_info_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_native_info_by_name(long loc_id, MemorySegment name, MemorySegment oinfo, int fields, long lapl_id) {
+ var mh$ = H5Oget_native_info_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_native_info_by_name", loc_id, name, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_native_info_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_native_info_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_native_info_by_idx$descriptor() {
+ return H5Oget_native_info_by_idx.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_native_info_by_idx$handle() {
+ return H5Oget_native_info_by_idx.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_native_info_by_idx$address() {
+ return H5Oget_native_info_by_idx.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_native_info_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order, long n, MemorySegment oinfo, int fields, long lapl_id) {
+ var mh$ = H5Oget_native_info_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_native_info_by_idx", loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Olink {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Olink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Olink$descriptor() {
+ return H5Olink.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Olink$handle() {
+ return H5Olink.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Olink$address() {
+ return H5Olink.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Olink(long obj_id, long new_loc_id, MemorySegment new_name, long lcpl_id, long lapl_id) {
+ var mh$ = H5Olink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Olink", obj_id, new_loc_id, new_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(obj_id, new_loc_id, new_name, lcpl_id, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oincr_refcount {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oincr_refcount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oincr_refcount$descriptor() {
+ return H5Oincr_refcount.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Oincr_refcount$handle() {
+ return H5Oincr_refcount.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Oincr_refcount$address() {
+ return H5Oincr_refcount.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static int H5Oincr_refcount(long object_id) {
+ var mh$ = H5Oincr_refcount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oincr_refcount", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Odecr_refcount {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Odecr_refcount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Odecr_refcount$descriptor() {
+ return H5Odecr_refcount.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Odecr_refcount$handle() {
+ return H5Odecr_refcount.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Odecr_refcount$address() {
+ return H5Odecr_refcount.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static int H5Odecr_refcount(long object_id) {
+ var mh$ = H5Odecr_refcount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Odecr_refcount", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ocopy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ocopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ocopy$descriptor() {
+ return H5Ocopy.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static MethodHandle H5Ocopy$handle() {
+ return H5Ocopy.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static MemorySegment H5Ocopy$address() {
+ return H5Ocopy.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static int H5Ocopy(long src_loc_id, MemorySegment src_name, long dst_loc_id, MemorySegment dst_name, long ocpypl_id, long lcpl_id) {
+ var mh$ = H5Ocopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ocopy", src_loc_id, src_name, dst_loc_id, dst_name, ocpypl_id, lcpl_id);
+ }
+ return (int)mh$.invokeExact(src_loc_id, src_name, dst_loc_id, dst_name, ocpypl_id, lcpl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ocopy_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ocopy_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ocopy_async$descriptor() {
+ return H5Ocopy_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ocopy_async$handle() {
+ return H5Ocopy_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ocopy_async$address() {
+ return H5Ocopy_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Ocopy_async(MemorySegment app_file, MemorySegment app_func, int app_line, long src_loc_id, MemorySegment src_name, long dst_loc_id, MemorySegment dst_name, long ocpypl_id, long lcpl_id, long es_id) {
+ var mh$ = H5Ocopy_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ocopy_async", app_file, app_func, app_line, src_loc_id, src_name, dst_loc_id, dst_name, ocpypl_id, lcpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, src_loc_id, src_name, dst_loc_id, dst_name, ocpypl_id, lcpl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oset_comment {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oset_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static FunctionDescriptor H5Oset_comment$descriptor() {
+ return H5Oset_comment.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static MethodHandle H5Oset_comment$handle() {
+ return H5Oset_comment.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static MemorySegment H5Oset_comment$address() {
+ return H5Oset_comment.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static int H5Oset_comment(long obj_id, MemorySegment comment) {
+ var mh$ = H5Oset_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oset_comment", obj_id, comment);
+ }
+ return (int)mh$.invokeExact(obj_id, comment);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oset_comment_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oset_comment_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oset_comment_by_name$descriptor() {
+ return H5Oset_comment_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oset_comment_by_name$handle() {
+ return H5Oset_comment_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oset_comment_by_name$address() {
+ return H5Oset_comment_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oset_comment_by_name(long loc_id, MemorySegment name, MemorySegment comment, long lapl_id) {
+ var mh$ = H5Oset_comment_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oset_comment_by_name", loc_id, name, comment, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, comment, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_comment {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_comment$descriptor() {
+ return H5Oget_comment.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static MethodHandle H5Oget_comment$handle() {
+ return H5Oget_comment.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static MemorySegment H5Oget_comment$address() {
+ return H5Oget_comment.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static long H5Oget_comment(long obj_id, MemorySegment comment, long bufsize) {
+ var mh$ = H5Oget_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_comment", obj_id, comment, bufsize);
+ }
+ return (long)mh$.invokeExact(obj_id, comment, bufsize);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_comment_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_comment_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_comment_by_name$descriptor() {
+ return H5Oget_comment_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_comment_by_name$handle() {
+ return H5Oget_comment_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_comment_by_name$address() {
+ return H5Oget_comment_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t lapl_id)
+ * }
+ */
+ public static long H5Oget_comment_by_name(long loc_id, MemorySegment name, MemorySegment comment, long bufsize, long lapl_id) {
+ var mh$ = H5Oget_comment_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_comment_by_name", loc_id, name, comment, bufsize, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, comment, bufsize, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit3$descriptor() {
+ return H5Ovisit3.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Ovisit3$handle() {
+ return H5Ovisit3.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Ovisit3$address() {
+ return H5Ovisit3.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static int H5Ovisit3(long obj_id, int idx_type, int order, MemorySegment op, MemorySegment op_data, int fields) {
+ var mh$ = H5Ovisit3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit3", obj_id, idx_type, order, op, op_data, fields);
+ }
+ return (int)mh$.invokeExact(obj_id, idx_type, order, op, op_data, fields);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit_by_name3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit_by_name3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit_by_name3$descriptor() {
+ return H5Ovisit_by_name3.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ovisit_by_name3$handle() {
+ return H5Ovisit_by_name3.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ovisit_by_name3$address() {
+ return H5Ovisit_by_name3.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ovisit_by_name3(long loc_id, MemorySegment obj_name, int idx_type, int order, MemorySegment op, MemorySegment op_data, int fields, long lapl_id) {
+ var mh$ = H5Ovisit_by_name3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit_by_name3", loc_id, obj_name, idx_type, order, op, op_data, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, op, op_data, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oclose$descriptor() {
+ return H5Oclose.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Oclose$handle() {
+ return H5Oclose.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Oclose$address() {
+ return H5Oclose.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static int H5Oclose(long object_id) {
+ var mh$ = H5Oclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oclose", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oclose_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t object_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oclose_async$descriptor() {
+ return H5Oclose_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t object_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oclose_async$handle() {
+ return H5Oclose_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t object_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oclose_async$address() {
+ return H5Oclose_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t object_id, hid_t es_id)
+ * }
+ */
+ public static int H5Oclose_async(MemorySegment app_file, MemorySegment app_func, int app_line, long object_id, long es_id) {
+ var mh$ = H5Oclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oclose_async", app_file, app_func, app_line, object_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, object_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oflush$descriptor() {
+ return H5Oflush.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static MethodHandle H5Oflush$handle() {
+ return H5Oflush.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5Oflush$address() {
+ return H5Oflush.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static int H5Oflush(long obj_id) {
+ var mh$ = H5Oflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oflush", obj_id);
+ }
+ return (int)mh$.invokeExact(obj_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oflush_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oflush_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oflush_async$descriptor() {
+ return H5Oflush_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oflush_async$handle() {
+ return H5Oflush_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oflush_async$address() {
+ return H5Oflush_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, hid_t es_id)
+ * }
+ */
+ public static int H5Oflush_async(MemorySegment app_file, MemorySegment app_func, int app_line, long obj_id, long es_id) {
+ var mh$ = H5Oflush_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oflush_async", app_file, app_func, app_line, obj_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, obj_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Orefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Orefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static FunctionDescriptor H5Orefresh$descriptor() {
+ return H5Orefresh.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static MethodHandle H5Orefresh$handle() {
+ return H5Orefresh.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static MemorySegment H5Orefresh$address() {
+ return H5Orefresh.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static int H5Orefresh(long oid) {
+ var mh$ = H5Orefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Orefresh", oid);
+ }
+ return (int)mh$.invokeExact(oid);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Orefresh_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Orefresh_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Orefresh_async$descriptor() {
+ return H5Orefresh_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Orefresh_async$handle() {
+ return H5Orefresh_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Orefresh_async$address() {
+ return H5Orefresh_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid, hid_t es_id)
+ * }
+ */
+ public static int H5Orefresh_async(MemorySegment app_file, MemorySegment app_func, int app_line, long oid, long es_id) {
+ var mh$ = H5Orefresh_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Orefresh_async", app_file, app_func, app_line, oid, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, oid, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Odisable_mdc_flushes {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Odisable_mdc_flushes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Odisable_mdc_flushes$descriptor() {
+ return H5Odisable_mdc_flushes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Odisable_mdc_flushes$handle() {
+ return H5Odisable_mdc_flushes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Odisable_mdc_flushes$address() {
+ return H5Odisable_mdc_flushes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static int H5Odisable_mdc_flushes(long object_id) {
+ var mh$ = H5Odisable_mdc_flushes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Odisable_mdc_flushes", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oenable_mdc_flushes {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oenable_mdc_flushes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oenable_mdc_flushes$descriptor() {
+ return H5Oenable_mdc_flushes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Oenable_mdc_flushes$handle() {
+ return H5Oenable_mdc_flushes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Oenable_mdc_flushes$address() {
+ return H5Oenable_mdc_flushes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static int H5Oenable_mdc_flushes(long object_id) {
+ var mh$ = H5Oenable_mdc_flushes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oenable_mdc_flushes", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oare_mdc_flushes_disabled {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oare_mdc_flushes_disabled");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static FunctionDescriptor H5Oare_mdc_flushes_disabled$descriptor() {
+ return H5Oare_mdc_flushes_disabled.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static MethodHandle H5Oare_mdc_flushes_disabled$handle() {
+ return H5Oare_mdc_flushes_disabled.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static MemorySegment H5Oare_mdc_flushes_disabled$address() {
+ return H5Oare_mdc_flushes_disabled.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static int H5Oare_mdc_flushes_disabled(long object_id, MemorySegment are_disabled) {
+ var mh$ = H5Oare_mdc_flushes_disabled.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oare_mdc_flushes_disabled", object_id, are_disabled);
+ }
+ return (int)mh$.invokeExact(object_id, are_disabled);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Otoken_cmp {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Otoken_cmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static FunctionDescriptor H5Otoken_cmp$descriptor() {
+ return H5Otoken_cmp.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static MethodHandle H5Otoken_cmp$handle() {
+ return H5Otoken_cmp.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static MemorySegment H5Otoken_cmp$address() {
+ return H5Otoken_cmp.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static int H5Otoken_cmp(long loc_id, MemorySegment token1, MemorySegment token2, MemorySegment cmp_value) {
+ var mh$ = H5Otoken_cmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Otoken_cmp", loc_id, token1, token2, cmp_value);
+ }
+ return (int)mh$.invokeExact(loc_id, token1, token2, cmp_value);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Otoken_to_str {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Otoken_to_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static FunctionDescriptor H5Otoken_to_str$descriptor() {
+ return H5Otoken_to_str.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static MethodHandle H5Otoken_to_str$handle() {
+ return H5Otoken_to_str.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static MemorySegment H5Otoken_to_str$address() {
+ return H5Otoken_to_str.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static int H5Otoken_to_str(long loc_id, MemorySegment token, MemorySegment token_str) {
+ var mh$ = H5Otoken_to_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Otoken_to_str", loc_id, token, token_str);
+ }
+ return (int)mh$.invokeExact(loc_id, token, token_str);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Otoken_from_str {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Otoken_from_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static FunctionDescriptor H5Otoken_from_str$descriptor() {
+ return H5Otoken_from_str.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static MethodHandle H5Otoken_from_str$handle() {
+ return H5Otoken_from_str.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static MemorySegment H5Otoken_from_str$address() {
+ return H5Otoken_from_str.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static int H5Otoken_from_str(long loc_id, MemorySegment token_str, MemorySegment token) {
+ var mh$ = H5Otoken_from_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Otoken_from_str", loc_id, token_str, token);
+ }
+ return (int)mh$.invokeExact(loc_id, token_str, token);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5O_TOKEN_UNDEF_g$constants {
+ public static final GroupLayout LAYOUT = H5O_token_t.layout();
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5O_TOKEN_UNDEF_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern const H5O_token_t H5O_TOKEN_UNDEF_g
+ * }
+ */
+ public static GroupLayout H5O_TOKEN_UNDEF_g$layout() {
+ return H5O_TOKEN_UNDEF_g$constants.LAYOUT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern const H5O_token_t H5O_TOKEN_UNDEF_g
+ * }
+ */
+ public static MemorySegment H5O_TOKEN_UNDEF_g() {
+ return H5O_TOKEN_UNDEF_g$constants.SEGMENT;
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern const H5O_token_t H5O_TOKEN_UNDEF_g
+ * }
+ */
+ public static void H5O_TOKEN_UNDEF_g(MemorySegment varValue) {
+ MemorySegment.copy(varValue, 0L, H5O_TOKEN_UNDEF_g$constants.SEGMENT, 0L, H5O_TOKEN_UNDEF_g$constants.LAYOUT.byteSize());
+ }
+
+ private static class H5Oopen_by_addr {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_addr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_addr$descriptor() {
+ return H5Oopen_by_addr.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_addr$handle() {
+ return H5Oopen_by_addr.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_addr$address() {
+ return H5Oopen_by_addr.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static long H5Oopen_by_addr(long loc_id, long addr) {
+ var mh$ = H5Oopen_by_addr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_addr", loc_id, addr);
+ }
+ return (long)mh$.invokeExact(loc_id, addr);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info1$descriptor() {
+ return H5Oget_info1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static MethodHandle H5Oget_info1$handle() {
+ return H5Oget_info1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static MemorySegment H5Oget_info1$address() {
+ return H5Oget_info1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static int H5Oget_info1(long loc_id, MemorySegment oinfo) {
+ var mh$ = H5Oget_info1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info1", loc_id, oinfo);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name1$descriptor() {
+ return H5Oget_info_by_name1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name1$handle() {
+ return H5Oget_info_by_name1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name1$address() {
+ return H5Oget_info_by_name1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_name1(long loc_id, MemorySegment name, MemorySegment oinfo, long lapl_id) {
+ var mh$ = H5Oget_info_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name1", loc_id, name, oinfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_idx1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_idx1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_idx1$descriptor() {
+ return H5Oget_info_by_idx1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_idx1$handle() {
+ return H5Oget_info_by_idx1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_idx1$address() {
+ return H5Oget_info_by_idx1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_idx1(long loc_id, MemorySegment group_name, int idx_type, int order, long n, MemorySegment oinfo, long lapl_id) {
+ var mh$ = H5Oget_info_by_idx1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_idx1", loc_id, group_name, idx_type, order, n, oinfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info2$descriptor() {
+ return H5Oget_info2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Oget_info2$handle() {
+ return H5Oget_info2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Oget_info2$address() {
+ return H5Oget_info2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static int H5Oget_info2(long loc_id, MemorySegment oinfo, int fields) {
+ var mh$ = H5Oget_info2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info2", loc_id, oinfo, fields);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo, fields);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name2$descriptor() {
+ return H5Oget_info_by_name2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name2$handle() {
+ return H5Oget_info_by_name2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name2$address() {
+ return H5Oget_info_by_name2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_name2(long loc_id, MemorySegment name, MemorySegment oinfo, int fields, long lapl_id) {
+ var mh$ = H5Oget_info_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name2", loc_id, name, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_idx2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_idx2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_idx2$descriptor() {
+ return H5Oget_info_by_idx2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_idx2$handle() {
+ return H5Oget_info_by_idx2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_idx2$address() {
+ return H5Oget_info_by_idx2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_idx2(long loc_id, MemorySegment group_name, int idx_type, int order, long n, MemorySegment oinfo, int fields, long lapl_id) {
+ var mh$ = H5Oget_info_by_idx2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_idx2", loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit1$descriptor() {
+ return H5Ovisit1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Ovisit1$handle() {
+ return H5Ovisit1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Ovisit1$address() {
+ return H5Ovisit1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data)
+ * }
+ */
+ public static int H5Ovisit1(long obj_id, int idx_type, int order, MemorySegment op, MemorySegment op_data) {
+ var mh$ = H5Ovisit1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit1", obj_id, idx_type, order, op, op_data);
+ }
+ return (int)mh$.invokeExact(obj_id, idx_type, order, op, op_data);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit_by_name1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit_by_name1$descriptor() {
+ return H5Ovisit_by_name1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ovisit_by_name1$handle() {
+ return H5Ovisit_by_name1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ovisit_by_name1$address() {
+ return H5Ovisit_by_name1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ovisit_by_name1(long loc_id, MemorySegment obj_name, int idx_type, int order, MemorySegment op, MemorySegment op_data, long lapl_id) {
+ var mh$ = H5Ovisit_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit_by_name1", loc_id, obj_name, idx_type, order, op, op_data, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, op, op_data, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit2$descriptor() {
+ return H5Ovisit2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Ovisit2$handle() {
+ return H5Ovisit2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Ovisit2$address() {
+ return H5Ovisit2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static int H5Ovisit2(long obj_id, int idx_type, int order, MemorySegment op, MemorySegment op_data, int fields) {
+ var mh$ = H5Ovisit2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit2", obj_id, idx_type, order, op, op_data, fields);
+ }
+ return (int)mh$.invokeExact(obj_id, idx_type, order, op, op_data, fields);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit_by_name2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit_by_name2$descriptor() {
+ return H5Ovisit_by_name2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ovisit_by_name2$handle() {
+ return H5Ovisit_by_name2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ovisit_by_name2$address() {
+ return H5Ovisit_by_name2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ovisit_by_name2(long loc_id, MemorySegment obj_name, int idx_type, int order, MemorySegment op, MemorySegment op_data, int fields, long lapl_id) {
+ var mh$ = H5Ovisit_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit_by_name2", loc_id, obj_name, idx_type, order, op, op_data, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, op, op_data, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5T_NO_CLASS = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_NO_CLASS = -1
+ * }
+ */
+ public static int H5T_NO_CLASS() {
+ return H5T_NO_CLASS;
+ }
+ private static final int H5T_INTEGER = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_INTEGER = 0
+ * }
+ */
+ public static int H5T_INTEGER() {
+ return H5T_INTEGER;
+ }
+ private static final int H5T_FLOAT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_FLOAT = 1
+ * }
+ */
+ public static int H5T_FLOAT() {
+ return H5T_FLOAT;
+ }
+ private static final int H5T_TIME = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_TIME = 2
+ * }
+ */
+ public static int H5T_TIME() {
+ return H5T_TIME;
+ }
+ private static final int H5T_STRING = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_STRING = 3
+ * }
+ */
+ public static int H5T_STRING() {
+ return H5T_STRING;
+ }
+ private static final int H5T_BITFIELD = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_BITFIELD = 4
+ * }
+ */
+ public static int H5T_BITFIELD() {
+ return H5T_BITFIELD;
+ }
+ private static final int H5T_OPAQUE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_OPAQUE = 5
+ * }
+ */
+ public static int H5T_OPAQUE() {
+ return H5T_OPAQUE;
+ }
+ private static final int H5T_COMPOUND = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_COMPOUND = 6
+ * }
+ */
+ public static int H5T_COMPOUND() {
+ return H5T_COMPOUND;
+ }
+ private static final int H5T_REFERENCE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_REFERENCE = 7
+ * }
+ */
+ public static int H5T_REFERENCE() {
+ return H5T_REFERENCE;
+ }
+ private static final int H5T_ENUM = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_ENUM = 8
+ * }
+ */
+ public static int H5T_ENUM() {
+ return H5T_ENUM;
+ }
+ private static final int H5T_VLEN = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_VLEN = 9
+ * }
+ */
+ public static int H5T_VLEN() {
+ return H5T_VLEN;
+ }
+ private static final int H5T_ARRAY = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_ARRAY = 10
+ * }
+ */
+ public static int H5T_ARRAY() {
+ return H5T_ARRAY;
+ }
+ private static final int H5T_COMPLEX = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_COMPLEX = 11
+ * }
+ */
+ public static int H5T_COMPLEX() {
+ return H5T_COMPLEX;
+ }
+ private static final int H5T_NCLASSES = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_NCLASSES = 12
+ * }
+ */
+ public static int H5T_NCLASSES() {
+ return H5T_NCLASSES;
+ }
+ private static final int H5T_ORDER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_ERROR = -1
+ * }
+ */
+ public static int H5T_ORDER_ERROR() {
+ return H5T_ORDER_ERROR;
+ }
+ private static final int H5T_ORDER_LE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_LE = 0
+ * }
+ */
+ public static int H5T_ORDER_LE() {
+ return H5T_ORDER_LE;
+ }
+ private static final int H5T_ORDER_BE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_BE = 1
+ * }
+ */
+ public static int H5T_ORDER_BE() {
+ return H5T_ORDER_BE;
+ }
+ private static final int H5T_ORDER_VAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_VAX = 2
+ * }
+ */
+ public static int H5T_ORDER_VAX() {
+ return H5T_ORDER_VAX;
+ }
+ private static final int H5T_ORDER_MIXED = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_MIXED = 3
+ * }
+ */
+ public static int H5T_ORDER_MIXED() {
+ return H5T_ORDER_MIXED;
+ }
+ private static final int H5T_ORDER_NONE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_NONE = 4
+ * }
+ */
+ public static int H5T_ORDER_NONE() {
+ return H5T_ORDER_NONE;
+ }
+ private static final int H5T_SGN_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_SGN_ERROR = -1
+ * }
+ */
+ public static int H5T_SGN_ERROR() {
+ return H5T_SGN_ERROR;
+ }
+ private static final int H5T_SGN_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_SGN_NONE = 0
+ * }
+ */
+ public static int H5T_SGN_NONE() {
+ return H5T_SGN_NONE;
+ }
+ private static final int H5T_SGN_2 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_SGN_2 = 1
+ * }
+ */
+ public static int H5T_SGN_2() {
+ return H5T_SGN_2;
+ }
+ private static final int H5T_NSGN = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_NSGN = 2
+ * }
+ */
+ public static int H5T_NSGN() {
+ return H5T_NSGN;
+ }
+ private static final int H5T_NORM_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_ERROR = -1
+ * }
+ */
+ public static int H5T_NORM_ERROR() {
+ return H5T_NORM_ERROR;
+ }
+ private static final int H5T_NORM_IMPLIED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_IMPLIED = 0
+ * }
+ */
+ public static int H5T_NORM_IMPLIED() {
+ return H5T_NORM_IMPLIED;
+ }
+ private static final int H5T_NORM_MSBSET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_MSBSET = 1
+ * }
+ */
+ public static int H5T_NORM_MSBSET() {
+ return H5T_NORM_MSBSET;
+ }
+ private static final int H5T_NORM_NONE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_NONE = 2
+ * }
+ */
+ public static int H5T_NORM_NONE() {
+ return H5T_NORM_NONE;
+ }
+ private static final int H5T_CSET_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_ERROR = -1
+ * }
+ */
+ public static int H5T_CSET_ERROR() {
+ return H5T_CSET_ERROR;
+ }
+ private static final int H5T_CSET_ASCII = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_ASCII = 0
+ * }
+ */
+ public static int H5T_CSET_ASCII() {
+ return H5T_CSET_ASCII;
+ }
+ private static final int H5T_CSET_UTF8 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_UTF8 = 1
+ * }
+ */
+ public static int H5T_CSET_UTF8() {
+ return H5T_CSET_UTF8;
+ }
+ private static final int H5T_CSET_RESERVED_2 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_2 = 2
+ * }
+ */
+ public static int H5T_CSET_RESERVED_2() {
+ return H5T_CSET_RESERVED_2;
+ }
+ private static final int H5T_CSET_RESERVED_3 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_3 = 3
+ * }
+ */
+ public static int H5T_CSET_RESERVED_3() {
+ return H5T_CSET_RESERVED_3;
+ }
+ private static final int H5T_CSET_RESERVED_4 = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_4 = 4
+ * }
+ */
+ public static int H5T_CSET_RESERVED_4() {
+ return H5T_CSET_RESERVED_4;
+ }
+ private static final int H5T_CSET_RESERVED_5 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_5 = 5
+ * }
+ */
+ public static int H5T_CSET_RESERVED_5() {
+ return H5T_CSET_RESERVED_5;
+ }
+ private static final int H5T_CSET_RESERVED_6 = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_6 = 6
+ * }
+ */
+ public static int H5T_CSET_RESERVED_6() {
+ return H5T_CSET_RESERVED_6;
+ }
+ private static final int H5T_CSET_RESERVED_7 = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_7 = 7
+ * }
+ */
+ public static int H5T_CSET_RESERVED_7() {
+ return H5T_CSET_RESERVED_7;
+ }
+ private static final int H5T_CSET_RESERVED_8 = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_8 = 8
+ * }
+ */
+ public static int H5T_CSET_RESERVED_8() {
+ return H5T_CSET_RESERVED_8;
+ }
+ private static final int H5T_CSET_RESERVED_9 = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_9 = 9
+ * }
+ */
+ public static int H5T_CSET_RESERVED_9() {
+ return H5T_CSET_RESERVED_9;
+ }
+ private static final int H5T_CSET_RESERVED_10 = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_10 = 10
+ * }
+ */
+ public static int H5T_CSET_RESERVED_10() {
+ return H5T_CSET_RESERVED_10;
+ }
+ private static final int H5T_CSET_RESERVED_11 = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_11 = 11
+ * }
+ */
+ public static int H5T_CSET_RESERVED_11() {
+ return H5T_CSET_RESERVED_11;
+ }
+ private static final int H5T_CSET_RESERVED_12 = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_12 = 12
+ * }
+ */
+ public static int H5T_CSET_RESERVED_12() {
+ return H5T_CSET_RESERVED_12;
+ }
+ private static final int H5T_CSET_RESERVED_13 = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_13 = 13
+ * }
+ */
+ public static int H5T_CSET_RESERVED_13() {
+ return H5T_CSET_RESERVED_13;
+ }
+ private static final int H5T_CSET_RESERVED_14 = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_14 = 14
+ * }
+ */
+ public static int H5T_CSET_RESERVED_14() {
+ return H5T_CSET_RESERVED_14;
+ }
+ private static final int H5T_CSET_RESERVED_15 = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_15 = 15
+ * }
+ */
+ public static int H5T_CSET_RESERVED_15() {
+ return H5T_CSET_RESERVED_15;
+ }
+ private static final int H5T_STR_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_ERROR = -1
+ * }
+ */
+ public static int H5T_STR_ERROR() {
+ return H5T_STR_ERROR;
+ }
+ private static final int H5T_STR_NULLTERM = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_NULLTERM = 0
+ * }
+ */
+ public static int H5T_STR_NULLTERM() {
+ return H5T_STR_NULLTERM;
+ }
+ private static final int H5T_STR_NULLPAD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_NULLPAD = 1
+ * }
+ */
+ public static int H5T_STR_NULLPAD() {
+ return H5T_STR_NULLPAD;
+ }
+ private static final int H5T_STR_SPACEPAD = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_SPACEPAD = 2
+ * }
+ */
+ public static int H5T_STR_SPACEPAD() {
+ return H5T_STR_SPACEPAD;
+ }
+ private static final int H5T_STR_RESERVED_3 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_3 = 3
+ * }
+ */
+ public static int H5T_STR_RESERVED_3() {
+ return H5T_STR_RESERVED_3;
+ }
+ private static final int H5T_STR_RESERVED_4 = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_4 = 4
+ * }
+ */
+ public static int H5T_STR_RESERVED_4() {
+ return H5T_STR_RESERVED_4;
+ }
+ private static final int H5T_STR_RESERVED_5 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_5 = 5
+ * }
+ */
+ public static int H5T_STR_RESERVED_5() {
+ return H5T_STR_RESERVED_5;
+ }
+ private static final int H5T_STR_RESERVED_6 = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_6 = 6
+ * }
+ */
+ public static int H5T_STR_RESERVED_6() {
+ return H5T_STR_RESERVED_6;
+ }
+ private static final int H5T_STR_RESERVED_7 = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_7 = 7
+ * }
+ */
+ public static int H5T_STR_RESERVED_7() {
+ return H5T_STR_RESERVED_7;
+ }
+ private static final int H5T_STR_RESERVED_8 = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_8 = 8
+ * }
+ */
+ public static int H5T_STR_RESERVED_8() {
+ return H5T_STR_RESERVED_8;
+ }
+ private static final int H5T_STR_RESERVED_9 = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_9 = 9
+ * }
+ */
+ public static int H5T_STR_RESERVED_9() {
+ return H5T_STR_RESERVED_9;
+ }
+ private static final int H5T_STR_RESERVED_10 = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_10 = 10
+ * }
+ */
+ public static int H5T_STR_RESERVED_10() {
+ return H5T_STR_RESERVED_10;
+ }
+ private static final int H5T_STR_RESERVED_11 = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_11 = 11
+ * }
+ */
+ public static int H5T_STR_RESERVED_11() {
+ return H5T_STR_RESERVED_11;
+ }
+ private static final int H5T_STR_RESERVED_12 = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_12 = 12
+ * }
+ */
+ public static int H5T_STR_RESERVED_12() {
+ return H5T_STR_RESERVED_12;
+ }
+ private static final int H5T_STR_RESERVED_13 = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_13 = 13
+ * }
+ */
+ public static int H5T_STR_RESERVED_13() {
+ return H5T_STR_RESERVED_13;
+ }
+ private static final int H5T_STR_RESERVED_14 = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_14 = 14
+ * }
+ */
+ public static int H5T_STR_RESERVED_14() {
+ return H5T_STR_RESERVED_14;
+ }
+ private static final int H5T_STR_RESERVED_15 = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_15 = 15
+ * }
+ */
+ public static int H5T_STR_RESERVED_15() {
+ return H5T_STR_RESERVED_15;
+ }
+ private static final int H5T_PAD_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_ERROR = -1
+ * }
+ */
+ public static int H5T_PAD_ERROR() {
+ return H5T_PAD_ERROR;
+ }
+ private static final int H5T_PAD_ZERO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_ZERO = 0
+ * }
+ */
+ public static int H5T_PAD_ZERO() {
+ return H5T_PAD_ZERO;
+ }
+ private static final int H5T_PAD_ONE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_ONE = 1
+ * }
+ */
+ public static int H5T_PAD_ONE() {
+ return H5T_PAD_ONE;
+ }
+ private static final int H5T_PAD_BACKGROUND = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_BACKGROUND = 2
+ * }
+ */
+ public static int H5T_PAD_BACKGROUND() {
+ return H5T_PAD_BACKGROUND;
+ }
+ private static final int H5T_NPAD = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_NPAD = 3
+ * }
+ */
+ public static int H5T_NPAD() {
+ return H5T_NPAD;
+ }
+ private static final int H5T_DIR_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_direction_t.H5T_DIR_DEFAULT = 0
+ * }
+ */
+ public static int H5T_DIR_DEFAULT() {
+ return H5T_DIR_DEFAULT;
+ }
+ private static final int H5T_DIR_ASCEND = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_direction_t.H5T_DIR_ASCEND = 1
+ * }
+ */
+ public static int H5T_DIR_ASCEND() {
+ return H5T_DIR_ASCEND;
+ }
+ private static final int H5T_DIR_DESCEND = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_direction_t.H5T_DIR_DESCEND = 2
+ * }
+ */
+ public static int H5T_DIR_DESCEND() {
+ return H5T_DIR_DESCEND;
+ }
+ private static final int H5T_CONV_EXCEPT_RANGE_HI = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_RANGE_HI = 0
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_RANGE_HI() {
+ return H5T_CONV_EXCEPT_RANGE_HI;
+ }
+ private static final int H5T_CONV_EXCEPT_RANGE_LOW = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_RANGE_LOW = 1
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_RANGE_LOW() {
+ return H5T_CONV_EXCEPT_RANGE_LOW;
+ }
+ private static final int H5T_CONV_EXCEPT_PRECISION = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_PRECISION = 2
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_PRECISION() {
+ return H5T_CONV_EXCEPT_PRECISION;
+ }
+ private static final int H5T_CONV_EXCEPT_TRUNCATE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_TRUNCATE = 3
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_TRUNCATE() {
+ return H5T_CONV_EXCEPT_TRUNCATE;
+ }
+ private static final int H5T_CONV_EXCEPT_PINF = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_PINF = 4
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_PINF() {
+ return H5T_CONV_EXCEPT_PINF;
+ }
+ private static final int H5T_CONV_EXCEPT_NINF = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_NINF = 5
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_NINF() {
+ return H5T_CONV_EXCEPT_NINF;
+ }
+ private static final int H5T_CONV_EXCEPT_NAN = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_NAN = 6
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_NAN() {
+ return H5T_CONV_EXCEPT_NAN;
+ }
+ private static final int H5T_CONV_ABORT = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_ret_t.H5T_CONV_ABORT = -1
+ * }
+ */
+ public static int H5T_CONV_ABORT() {
+ return H5T_CONV_ABORT;
+ }
+ private static final int H5T_CONV_UNHANDLED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_ret_t.H5T_CONV_UNHANDLED = 0
+ * }
+ */
+ public static int H5T_CONV_UNHANDLED() {
+ return H5T_CONV_UNHANDLED;
+ }
+ private static final int H5T_CONV_HANDLED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_ret_t.H5T_CONV_HANDLED = 1
+ * }
+ */
+ public static int H5T_CONV_HANDLED() {
+ return H5T_CONV_HANDLED;
+ }
+
+ private static class H5T_IEEE_F16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_IEEE_F16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F16BE_g$layout() {
+ return H5T_IEEE_F16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F16BE_g$segment() {
+ return H5T_IEEE_F16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static long H5T_IEEE_F16BE_g() {
+ return H5T_IEEE_F16BE_g$constants.SEGMENT.get(H5T_IEEE_F16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static void H5T_IEEE_F16BE_g(long varValue) {
+ H5T_IEEE_F16BE_g$constants.SEGMENT.set(H5T_IEEE_F16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_IEEE_F16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F16LE_g$layout() {
+ return H5T_IEEE_F16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F16LE_g$segment() {
+ return H5T_IEEE_F16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static long H5T_IEEE_F16LE_g() {
+ return H5T_IEEE_F16LE_g$constants.SEGMENT.get(H5T_IEEE_F16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static void H5T_IEEE_F16LE_g(long varValue) {
+ H5T_IEEE_F16LE_g$constants.SEGMENT.set(H5T_IEEE_F16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_IEEE_F32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F32BE_g$layout() {
+ return H5T_IEEE_F32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F32BE_g$segment() {
+ return H5T_IEEE_F32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static long H5T_IEEE_F32BE_g() {
+ return H5T_IEEE_F32BE_g$constants.SEGMENT.get(H5T_IEEE_F32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static void H5T_IEEE_F32BE_g(long varValue) {
+ H5T_IEEE_F32BE_g$constants.SEGMENT.set(H5T_IEEE_F32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_IEEE_F32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F32LE_g$layout() {
+ return H5T_IEEE_F32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F32LE_g$segment() {
+ return H5T_IEEE_F32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static long H5T_IEEE_F32LE_g() {
+ return H5T_IEEE_F32LE_g$constants.SEGMENT.get(H5T_IEEE_F32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static void H5T_IEEE_F32LE_g(long varValue) {
+ H5T_IEEE_F32LE_g$constants.SEGMENT.set(H5T_IEEE_F32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_IEEE_F64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F64BE_g$layout() {
+ return H5T_IEEE_F64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F64BE_g$segment() {
+ return H5T_IEEE_F64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static long H5T_IEEE_F64BE_g() {
+ return H5T_IEEE_F64BE_g$constants.SEGMENT.get(H5T_IEEE_F64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static void H5T_IEEE_F64BE_g(long varValue) {
+ H5T_IEEE_F64BE_g$constants.SEGMENT.set(H5T_IEEE_F64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_IEEE_F64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F64LE_g$layout() {
+ return H5T_IEEE_F64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F64LE_g$segment() {
+ return H5T_IEEE_F64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static long H5T_IEEE_F64LE_g() {
+ return H5T_IEEE_F64LE_g$constants.SEGMENT.get(H5T_IEEE_F64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static void H5T_IEEE_F64LE_g(long varValue) {
+ H5T_IEEE_F64LE_g$constants.SEGMENT.set(H5T_IEEE_F64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_FLOAT_BFLOAT16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_FLOAT_BFLOAT16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static OfLong H5T_FLOAT_BFLOAT16BE_g$layout() {
+ return H5T_FLOAT_BFLOAT16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static MemorySegment H5T_FLOAT_BFLOAT16BE_g$segment() {
+ return H5T_FLOAT_BFLOAT16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static long H5T_FLOAT_BFLOAT16BE_g() {
+ return H5T_FLOAT_BFLOAT16BE_g$constants.SEGMENT.get(H5T_FLOAT_BFLOAT16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static void H5T_FLOAT_BFLOAT16BE_g(long varValue) {
+ H5T_FLOAT_BFLOAT16BE_g$constants.SEGMENT.set(H5T_FLOAT_BFLOAT16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_FLOAT_BFLOAT16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_FLOAT_BFLOAT16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static OfLong H5T_FLOAT_BFLOAT16LE_g$layout() {
+ return H5T_FLOAT_BFLOAT16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static MemorySegment H5T_FLOAT_BFLOAT16LE_g$segment() {
+ return H5T_FLOAT_BFLOAT16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static long H5T_FLOAT_BFLOAT16LE_g() {
+ return H5T_FLOAT_BFLOAT16LE_g$constants.SEGMENT.get(H5T_FLOAT_BFLOAT16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static void H5T_FLOAT_BFLOAT16LE_g(long varValue) {
+ H5T_FLOAT_BFLOAT16LE_g$constants.SEGMENT.set(H5T_FLOAT_BFLOAT16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F16BE_g$layout() {
+ return H5T_COMPLEX_IEEE_F16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F16BE_g$segment() {
+ return H5T_COMPLEX_IEEE_F16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F16BE_g() {
+ return H5T_COMPLEX_IEEE_F16BE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F16BE_g(long varValue) {
+ H5T_COMPLEX_IEEE_F16BE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F16LE_g$layout() {
+ return H5T_COMPLEX_IEEE_F16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F16LE_g$segment() {
+ return H5T_COMPLEX_IEEE_F16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F16LE_g() {
+ return H5T_COMPLEX_IEEE_F16LE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F16LE_g(long varValue) {
+ H5T_COMPLEX_IEEE_F16LE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F32BE_g$layout() {
+ return H5T_COMPLEX_IEEE_F32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F32BE_g$segment() {
+ return H5T_COMPLEX_IEEE_F32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F32BE_g() {
+ return H5T_COMPLEX_IEEE_F32BE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F32BE_g(long varValue) {
+ H5T_COMPLEX_IEEE_F32BE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F32LE_g$layout() {
+ return H5T_COMPLEX_IEEE_F32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F32LE_g$segment() {
+ return H5T_COMPLEX_IEEE_F32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F32LE_g() {
+ return H5T_COMPLEX_IEEE_F32LE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F32LE_g(long varValue) {
+ H5T_COMPLEX_IEEE_F32LE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F64BE_g$layout() {
+ return H5T_COMPLEX_IEEE_F64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F64BE_g$segment() {
+ return H5T_COMPLEX_IEEE_F64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F64BE_g() {
+ return H5T_COMPLEX_IEEE_F64BE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F64BE_g(long varValue) {
+ H5T_COMPLEX_IEEE_F64BE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F64LE_g$layout() {
+ return H5T_COMPLEX_IEEE_F64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F64LE_g$segment() {
+ return H5T_COMPLEX_IEEE_F64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F64LE_g() {
+ return H5T_COMPLEX_IEEE_F64LE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F64LE_g(long varValue) {
+ H5T_COMPLEX_IEEE_F64LE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I8BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I8BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I8BE_g$layout() {
+ return H5T_STD_I8BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I8BE_g$segment() {
+ return H5T_STD_I8BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static long H5T_STD_I8BE_g() {
+ return H5T_STD_I8BE_g$constants.SEGMENT.get(H5T_STD_I8BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static void H5T_STD_I8BE_g(long varValue) {
+ H5T_STD_I8BE_g$constants.SEGMENT.set(H5T_STD_I8BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I8LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I8LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I8LE_g$layout() {
+ return H5T_STD_I8LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I8LE_g$segment() {
+ return H5T_STD_I8LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static long H5T_STD_I8LE_g() {
+ return H5T_STD_I8LE_g$constants.SEGMENT.get(H5T_STD_I8LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static void H5T_STD_I8LE_g(long varValue) {
+ H5T_STD_I8LE_g$constants.SEGMENT.set(H5T_STD_I8LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I16BE_g$layout() {
+ return H5T_STD_I16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I16BE_g$segment() {
+ return H5T_STD_I16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static long H5T_STD_I16BE_g() {
+ return H5T_STD_I16BE_g$constants.SEGMENT.get(H5T_STD_I16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static void H5T_STD_I16BE_g(long varValue) {
+ H5T_STD_I16BE_g$constants.SEGMENT.set(H5T_STD_I16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I16LE_g$layout() {
+ return H5T_STD_I16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I16LE_g$segment() {
+ return H5T_STD_I16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static long H5T_STD_I16LE_g() {
+ return H5T_STD_I16LE_g$constants.SEGMENT.get(H5T_STD_I16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static void H5T_STD_I16LE_g(long varValue) {
+ H5T_STD_I16LE_g$constants.SEGMENT.set(H5T_STD_I16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I32BE_g$layout() {
+ return H5T_STD_I32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I32BE_g$segment() {
+ return H5T_STD_I32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static long H5T_STD_I32BE_g() {
+ return H5T_STD_I32BE_g$constants.SEGMENT.get(H5T_STD_I32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static void H5T_STD_I32BE_g(long varValue) {
+ H5T_STD_I32BE_g$constants.SEGMENT.set(H5T_STD_I32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I32LE_g$layout() {
+ return H5T_STD_I32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I32LE_g$segment() {
+ return H5T_STD_I32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static long H5T_STD_I32LE_g() {
+ return H5T_STD_I32LE_g$constants.SEGMENT.get(H5T_STD_I32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static void H5T_STD_I32LE_g(long varValue) {
+ H5T_STD_I32LE_g$constants.SEGMENT.set(H5T_STD_I32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I64BE_g$layout() {
+ return H5T_STD_I64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I64BE_g$segment() {
+ return H5T_STD_I64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static long H5T_STD_I64BE_g() {
+ return H5T_STD_I64BE_g$constants.SEGMENT.get(H5T_STD_I64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static void H5T_STD_I64BE_g(long varValue) {
+ H5T_STD_I64BE_g$constants.SEGMENT.set(H5T_STD_I64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I64LE_g$layout() {
+ return H5T_STD_I64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I64LE_g$segment() {
+ return H5T_STD_I64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static long H5T_STD_I64LE_g() {
+ return H5T_STD_I64LE_g$constants.SEGMENT.get(H5T_STD_I64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static void H5T_STD_I64LE_g(long varValue) {
+ H5T_STD_I64LE_g$constants.SEGMENT.set(H5T_STD_I64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U8BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U8BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U8BE_g$layout() {
+ return H5T_STD_U8BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U8BE_g$segment() {
+ return H5T_STD_U8BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static long H5T_STD_U8BE_g() {
+ return H5T_STD_U8BE_g$constants.SEGMENT.get(H5T_STD_U8BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static void H5T_STD_U8BE_g(long varValue) {
+ H5T_STD_U8BE_g$constants.SEGMENT.set(H5T_STD_U8BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U8LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U8LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U8LE_g$layout() {
+ return H5T_STD_U8LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U8LE_g$segment() {
+ return H5T_STD_U8LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static long H5T_STD_U8LE_g() {
+ return H5T_STD_U8LE_g$constants.SEGMENT.get(H5T_STD_U8LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static void H5T_STD_U8LE_g(long varValue) {
+ H5T_STD_U8LE_g$constants.SEGMENT.set(H5T_STD_U8LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U16BE_g$layout() {
+ return H5T_STD_U16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U16BE_g$segment() {
+ return H5T_STD_U16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static long H5T_STD_U16BE_g() {
+ return H5T_STD_U16BE_g$constants.SEGMENT.get(H5T_STD_U16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static void H5T_STD_U16BE_g(long varValue) {
+ H5T_STD_U16BE_g$constants.SEGMENT.set(H5T_STD_U16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U16LE_g$layout() {
+ return H5T_STD_U16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U16LE_g$segment() {
+ return H5T_STD_U16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static long H5T_STD_U16LE_g() {
+ return H5T_STD_U16LE_g$constants.SEGMENT.get(H5T_STD_U16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static void H5T_STD_U16LE_g(long varValue) {
+ H5T_STD_U16LE_g$constants.SEGMENT.set(H5T_STD_U16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U32BE_g$layout() {
+ return H5T_STD_U32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U32BE_g$segment() {
+ return H5T_STD_U32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static long H5T_STD_U32BE_g() {
+ return H5T_STD_U32BE_g$constants.SEGMENT.get(H5T_STD_U32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static void H5T_STD_U32BE_g(long varValue) {
+ H5T_STD_U32BE_g$constants.SEGMENT.set(H5T_STD_U32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U32LE_g$layout() {
+ return H5T_STD_U32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U32LE_g$segment() {
+ return H5T_STD_U32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static long H5T_STD_U32LE_g() {
+ return H5T_STD_U32LE_g$constants.SEGMENT.get(H5T_STD_U32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static void H5T_STD_U32LE_g(long varValue) {
+ H5T_STD_U32LE_g$constants.SEGMENT.set(H5T_STD_U32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U64BE_g$layout() {
+ return H5T_STD_U64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U64BE_g$segment() {
+ return H5T_STD_U64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static long H5T_STD_U64BE_g() {
+ return H5T_STD_U64BE_g$constants.SEGMENT.get(H5T_STD_U64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static void H5T_STD_U64BE_g(long varValue) {
+ H5T_STD_U64BE_g$constants.SEGMENT.set(H5T_STD_U64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U64LE_g$layout() {
+ return H5T_STD_U64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U64LE_g$segment() {
+ return H5T_STD_U64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static long H5T_STD_U64LE_g() {
+ return H5T_STD_U64LE_g$constants.SEGMENT.get(H5T_STD_U64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static void H5T_STD_U64LE_g(long varValue) {
+ H5T_STD_U64LE_g$constants.SEGMENT.set(H5T_STD_U64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B8BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B8BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B8BE_g$layout() {
+ return H5T_STD_B8BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B8BE_g$segment() {
+ return H5T_STD_B8BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static long H5T_STD_B8BE_g() {
+ return H5T_STD_B8BE_g$constants.SEGMENT.get(H5T_STD_B8BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static void H5T_STD_B8BE_g(long varValue) {
+ H5T_STD_B8BE_g$constants.SEGMENT.set(H5T_STD_B8BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B8LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B8LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B8LE_g$layout() {
+ return H5T_STD_B8LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B8LE_g$segment() {
+ return H5T_STD_B8LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static long H5T_STD_B8LE_g() {
+ return H5T_STD_B8LE_g$constants.SEGMENT.get(H5T_STD_B8LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static void H5T_STD_B8LE_g(long varValue) {
+ H5T_STD_B8LE_g$constants.SEGMENT.set(H5T_STD_B8LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B16BE_g$layout() {
+ return H5T_STD_B16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B16BE_g$segment() {
+ return H5T_STD_B16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static long H5T_STD_B16BE_g() {
+ return H5T_STD_B16BE_g$constants.SEGMENT.get(H5T_STD_B16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static void H5T_STD_B16BE_g(long varValue) {
+ H5T_STD_B16BE_g$constants.SEGMENT.set(H5T_STD_B16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B16LE_g$layout() {
+ return H5T_STD_B16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B16LE_g$segment() {
+ return H5T_STD_B16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static long H5T_STD_B16LE_g() {
+ return H5T_STD_B16LE_g$constants.SEGMENT.get(H5T_STD_B16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static void H5T_STD_B16LE_g(long varValue) {
+ H5T_STD_B16LE_g$constants.SEGMENT.set(H5T_STD_B16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B32BE_g$layout() {
+ return H5T_STD_B32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B32BE_g$segment() {
+ return H5T_STD_B32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static long H5T_STD_B32BE_g() {
+ return H5T_STD_B32BE_g$constants.SEGMENT.get(H5T_STD_B32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static void H5T_STD_B32BE_g(long varValue) {
+ H5T_STD_B32BE_g$constants.SEGMENT.set(H5T_STD_B32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B32LE_g$layout() {
+ return H5T_STD_B32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B32LE_g$segment() {
+ return H5T_STD_B32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static long H5T_STD_B32LE_g() {
+ return H5T_STD_B32LE_g$constants.SEGMENT.get(H5T_STD_B32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static void H5T_STD_B32LE_g(long varValue) {
+ H5T_STD_B32LE_g$constants.SEGMENT.set(H5T_STD_B32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B64BE_g$layout() {
+ return H5T_STD_B64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B64BE_g$segment() {
+ return H5T_STD_B64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static long H5T_STD_B64BE_g() {
+ return H5T_STD_B64BE_g$constants.SEGMENT.get(H5T_STD_B64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static void H5T_STD_B64BE_g(long varValue) {
+ H5T_STD_B64BE_g$constants.SEGMENT.set(H5T_STD_B64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B64LE_g$layout() {
+ return H5T_STD_B64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B64LE_g$segment() {
+ return H5T_STD_B64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static long H5T_STD_B64LE_g() {
+ return H5T_STD_B64LE_g$constants.SEGMENT.get(H5T_STD_B64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static void H5T_STD_B64LE_g(long varValue) {
+ H5T_STD_B64LE_g$constants.SEGMENT.set(H5T_STD_B64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_REF_OBJ_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_REF_OBJ_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static OfLong H5T_STD_REF_OBJ_g$layout() {
+ return H5T_STD_REF_OBJ_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static MemorySegment H5T_STD_REF_OBJ_g$segment() {
+ return H5T_STD_REF_OBJ_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static long H5T_STD_REF_OBJ_g() {
+ return H5T_STD_REF_OBJ_g$constants.SEGMENT.get(H5T_STD_REF_OBJ_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static void H5T_STD_REF_OBJ_g(long varValue) {
+ H5T_STD_REF_OBJ_g$constants.SEGMENT.set(H5T_STD_REF_OBJ_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_REF_DSETREG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_REF_DSETREG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static OfLong H5T_STD_REF_DSETREG_g$layout() {
+ return H5T_STD_REF_DSETREG_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static MemorySegment H5T_STD_REF_DSETREG_g$segment() {
+ return H5T_STD_REF_DSETREG_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static long H5T_STD_REF_DSETREG_g() {
+ return H5T_STD_REF_DSETREG_g$constants.SEGMENT.get(H5T_STD_REF_DSETREG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static void H5T_STD_REF_DSETREG_g(long varValue) {
+ H5T_STD_REF_DSETREG_g$constants.SEGMENT.set(H5T_STD_REF_DSETREG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_REF_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_REF_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static OfLong H5T_STD_REF_g$layout() {
+ return H5T_STD_REF_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static MemorySegment H5T_STD_REF_g$segment() {
+ return H5T_STD_REF_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static long H5T_STD_REF_g() {
+ return H5T_STD_REF_g$constants.SEGMENT.get(H5T_STD_REF_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static void H5T_STD_REF_g(long varValue) {
+ H5T_STD_REF_g$constants.SEGMENT.set(H5T_STD_REF_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_UNIX_D32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D32BE_g$layout() {
+ return H5T_UNIX_D32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D32BE_g$segment() {
+ return H5T_UNIX_D32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static long H5T_UNIX_D32BE_g() {
+ return H5T_UNIX_D32BE_g$constants.SEGMENT.get(H5T_UNIX_D32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static void H5T_UNIX_D32BE_g(long varValue) {
+ H5T_UNIX_D32BE_g$constants.SEGMENT.set(H5T_UNIX_D32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_UNIX_D32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D32LE_g$layout() {
+ return H5T_UNIX_D32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D32LE_g$segment() {
+ return H5T_UNIX_D32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static long H5T_UNIX_D32LE_g() {
+ return H5T_UNIX_D32LE_g$constants.SEGMENT.get(H5T_UNIX_D32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static void H5T_UNIX_D32LE_g(long varValue) {
+ H5T_UNIX_D32LE_g$constants.SEGMENT.set(H5T_UNIX_D32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_UNIX_D64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D64BE_g$layout() {
+ return H5T_UNIX_D64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D64BE_g$segment() {
+ return H5T_UNIX_D64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static long H5T_UNIX_D64BE_g() {
+ return H5T_UNIX_D64BE_g$constants.SEGMENT.get(H5T_UNIX_D64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static void H5T_UNIX_D64BE_g(long varValue) {
+ H5T_UNIX_D64BE_g$constants.SEGMENT.set(H5T_UNIX_D64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_UNIX_D64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D64LE_g$layout() {
+ return H5T_UNIX_D64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D64LE_g$segment() {
+ return H5T_UNIX_D64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static long H5T_UNIX_D64LE_g() {
+ return H5T_UNIX_D64LE_g$constants.SEGMENT.get(H5T_UNIX_D64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static void H5T_UNIX_D64LE_g(long varValue) {
+ H5T_UNIX_D64LE_g$constants.SEGMENT.set(H5T_UNIX_D64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_C_S1_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_C_S1_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static OfLong H5T_C_S1_g$layout() {
+ return H5T_C_S1_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static MemorySegment H5T_C_S1_g$segment() {
+ return H5T_C_S1_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static long H5T_C_S1_g() {
+ return H5T_C_S1_g$constants.SEGMENT.get(H5T_C_S1_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static void H5T_C_S1_g(long varValue) {
+ H5T_C_S1_g$constants.SEGMENT.set(H5T_C_S1_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_FORTRAN_S1_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_FORTRAN_S1_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static OfLong H5T_FORTRAN_S1_g$layout() {
+ return H5T_FORTRAN_S1_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static MemorySegment H5T_FORTRAN_S1_g$segment() {
+ return H5T_FORTRAN_S1_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static long H5T_FORTRAN_S1_g() {
+ return H5T_FORTRAN_S1_g$constants.SEGMENT.get(H5T_FORTRAN_S1_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static void H5T_FORTRAN_S1_g(long varValue) {
+ H5T_FORTRAN_S1_g$constants.SEGMENT.set(H5T_FORTRAN_S1_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_VAX_F32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_VAX_F32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static OfLong H5T_VAX_F32_g$layout() {
+ return H5T_VAX_F32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static MemorySegment H5T_VAX_F32_g$segment() {
+ return H5T_VAX_F32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static long H5T_VAX_F32_g() {
+ return H5T_VAX_F32_g$constants.SEGMENT.get(H5T_VAX_F32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static void H5T_VAX_F32_g(long varValue) {
+ H5T_VAX_F32_g$constants.SEGMENT.set(H5T_VAX_F32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_VAX_F64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_VAX_F64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static OfLong H5T_VAX_F64_g$layout() {
+ return H5T_VAX_F64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static MemorySegment H5T_VAX_F64_g$segment() {
+ return H5T_VAX_F64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static long H5T_VAX_F64_g() {
+ return H5T_VAX_F64_g$constants.SEGMENT.get(H5T_VAX_F64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static void H5T_VAX_F64_g(long varValue) {
+ H5T_VAX_F64_g$constants.SEGMENT.set(H5T_VAX_F64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_SCHAR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_SCHAR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_SCHAR_g$layout() {
+ return H5T_NATIVE_SCHAR_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_SCHAR_g$segment() {
+ return H5T_NATIVE_SCHAR_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static long H5T_NATIVE_SCHAR_g() {
+ return H5T_NATIVE_SCHAR_g$constants.SEGMENT.get(H5T_NATIVE_SCHAR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static void H5T_NATIVE_SCHAR_g(long varValue) {
+ H5T_NATIVE_SCHAR_g$constants.SEGMENT.set(H5T_NATIVE_SCHAR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UCHAR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_UCHAR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UCHAR_g$layout() {
+ return H5T_NATIVE_UCHAR_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UCHAR_g$segment() {
+ return H5T_NATIVE_UCHAR_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static long H5T_NATIVE_UCHAR_g() {
+ return H5T_NATIVE_UCHAR_g$constants.SEGMENT.get(H5T_NATIVE_UCHAR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static void H5T_NATIVE_UCHAR_g(long varValue) {
+ H5T_NATIVE_UCHAR_g$constants.SEGMENT.set(H5T_NATIVE_UCHAR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_SHORT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_SHORT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_SHORT_g$layout() {
+ return H5T_NATIVE_SHORT_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_SHORT_g$segment() {
+ return H5T_NATIVE_SHORT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static long H5T_NATIVE_SHORT_g() {
+ return H5T_NATIVE_SHORT_g$constants.SEGMENT.get(H5T_NATIVE_SHORT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static void H5T_NATIVE_SHORT_g(long varValue) {
+ H5T_NATIVE_SHORT_g$constants.SEGMENT.set(H5T_NATIVE_SHORT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_USHORT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_USHORT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_USHORT_g$layout() {
+ return H5T_NATIVE_USHORT_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_USHORT_g$segment() {
+ return H5T_NATIVE_USHORT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static long H5T_NATIVE_USHORT_g() {
+ return H5T_NATIVE_USHORT_g$constants.SEGMENT.get(H5T_NATIVE_USHORT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static void H5T_NATIVE_USHORT_g(long varValue) {
+ H5T_NATIVE_USHORT_g$constants.SEGMENT.set(H5T_NATIVE_USHORT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_INT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_g$layout() {
+ return H5T_NATIVE_INT_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_g$segment() {
+ return H5T_NATIVE_INT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_g() {
+ return H5T_NATIVE_INT_g$constants.SEGMENT.get(H5T_NATIVE_INT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_g(long varValue) {
+ H5T_NATIVE_INT_g$constants.SEGMENT.set(H5T_NATIVE_INT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_UINT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_g$layout() {
+ return H5T_NATIVE_UINT_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_g$segment() {
+ return H5T_NATIVE_UINT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_g() {
+ return H5T_NATIVE_UINT_g$constants.SEGMENT.get(H5T_NATIVE_UINT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_g(long varValue) {
+ H5T_NATIVE_UINT_g$constants.SEGMENT.set(H5T_NATIVE_UINT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_LONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_LONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LONG_g$layout() {
+ return H5T_NATIVE_LONG_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LONG_g$segment() {
+ return H5T_NATIVE_LONG_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static long H5T_NATIVE_LONG_g() {
+ return H5T_NATIVE_LONG_g$constants.SEGMENT.get(H5T_NATIVE_LONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static void H5T_NATIVE_LONG_g(long varValue) {
+ H5T_NATIVE_LONG_g$constants.SEGMENT.set(H5T_NATIVE_LONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_ULONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_ULONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_ULONG_g$layout() {
+ return H5T_NATIVE_ULONG_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_ULONG_g$segment() {
+ return H5T_NATIVE_ULONG_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static long H5T_NATIVE_ULONG_g() {
+ return H5T_NATIVE_ULONG_g$constants.SEGMENT.get(H5T_NATIVE_ULONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static void H5T_NATIVE_ULONG_g(long varValue) {
+ H5T_NATIVE_ULONG_g$constants.SEGMENT.set(H5T_NATIVE_ULONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_LLONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_LLONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LLONG_g$layout() {
+ return H5T_NATIVE_LLONG_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LLONG_g$segment() {
+ return H5T_NATIVE_LLONG_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static long H5T_NATIVE_LLONG_g() {
+ return H5T_NATIVE_LLONG_g$constants.SEGMENT.get(H5T_NATIVE_LLONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static void H5T_NATIVE_LLONG_g(long varValue) {
+ H5T_NATIVE_LLONG_g$constants.SEGMENT.set(H5T_NATIVE_LLONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_ULLONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_ULLONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_ULLONG_g$layout() {
+ return H5T_NATIVE_ULLONG_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_ULLONG_g$segment() {
+ return H5T_NATIVE_ULLONG_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static long H5T_NATIVE_ULLONG_g() {
+ return H5T_NATIVE_ULLONG_g$constants.SEGMENT.get(H5T_NATIVE_ULLONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static void H5T_NATIVE_ULLONG_g(long varValue) {
+ H5T_NATIVE_ULLONG_g$constants.SEGMENT.set(H5T_NATIVE_ULLONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_FLOAT16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_FLOAT16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_FLOAT16_g$layout() {
+ return H5T_NATIVE_FLOAT16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_FLOAT16_g$segment() {
+ return H5T_NATIVE_FLOAT16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static long H5T_NATIVE_FLOAT16_g() {
+ return H5T_NATIVE_FLOAT16_g$constants.SEGMENT.get(H5T_NATIVE_FLOAT16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static void H5T_NATIVE_FLOAT16_g(long varValue) {
+ H5T_NATIVE_FLOAT16_g$constants.SEGMENT.set(H5T_NATIVE_FLOAT16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_FLOAT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_FLOAT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_FLOAT_g$layout() {
+ return H5T_NATIVE_FLOAT_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_FLOAT_g$segment() {
+ return H5T_NATIVE_FLOAT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static long H5T_NATIVE_FLOAT_g() {
+ return H5T_NATIVE_FLOAT_g$constants.SEGMENT.get(H5T_NATIVE_FLOAT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static void H5T_NATIVE_FLOAT_g(long varValue) {
+ H5T_NATIVE_FLOAT_g$constants.SEGMENT.set(H5T_NATIVE_FLOAT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_DOUBLE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_DOUBLE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_DOUBLE_g$layout() {
+ return H5T_NATIVE_DOUBLE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_DOUBLE_g$segment() {
+ return H5T_NATIVE_DOUBLE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static long H5T_NATIVE_DOUBLE_g() {
+ return H5T_NATIVE_DOUBLE_g$constants.SEGMENT.get(H5T_NATIVE_DOUBLE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static void H5T_NATIVE_DOUBLE_g(long varValue) {
+ H5T_NATIVE_DOUBLE_g$constants.SEGMENT.set(H5T_NATIVE_DOUBLE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_LDOUBLE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_LDOUBLE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LDOUBLE_g$layout() {
+ return H5T_NATIVE_LDOUBLE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LDOUBLE_g$segment() {
+ return H5T_NATIVE_LDOUBLE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static long H5T_NATIVE_LDOUBLE_g() {
+ return H5T_NATIVE_LDOUBLE_g$constants.SEGMENT.get(H5T_NATIVE_LDOUBLE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static void H5T_NATIVE_LDOUBLE_g(long varValue) {
+ H5T_NATIVE_LDOUBLE_g$constants.SEGMENT.set(H5T_NATIVE_LDOUBLE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_FLOAT_COMPLEX_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_FLOAT_COMPLEX_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_FLOAT_COMPLEX_g$layout() {
+ return H5T_NATIVE_FLOAT_COMPLEX_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_FLOAT_COMPLEX_g$segment() {
+ return H5T_NATIVE_FLOAT_COMPLEX_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static long H5T_NATIVE_FLOAT_COMPLEX_g() {
+ return H5T_NATIVE_FLOAT_COMPLEX_g$constants.SEGMENT.get(H5T_NATIVE_FLOAT_COMPLEX_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static void H5T_NATIVE_FLOAT_COMPLEX_g(long varValue) {
+ H5T_NATIVE_FLOAT_COMPLEX_g$constants.SEGMENT.set(H5T_NATIVE_FLOAT_COMPLEX_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_DOUBLE_COMPLEX_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_DOUBLE_COMPLEX_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_DOUBLE_COMPLEX_g$layout() {
+ return H5T_NATIVE_DOUBLE_COMPLEX_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_DOUBLE_COMPLEX_g$segment() {
+ return H5T_NATIVE_DOUBLE_COMPLEX_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static long H5T_NATIVE_DOUBLE_COMPLEX_g() {
+ return H5T_NATIVE_DOUBLE_COMPLEX_g$constants.SEGMENT.get(H5T_NATIVE_DOUBLE_COMPLEX_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static void H5T_NATIVE_DOUBLE_COMPLEX_g(long varValue) {
+ H5T_NATIVE_DOUBLE_COMPLEX_g$constants.SEGMENT.set(H5T_NATIVE_DOUBLE_COMPLEX_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_LDOUBLE_COMPLEX_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_LDOUBLE_COMPLEX_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LDOUBLE_COMPLEX_g$layout() {
+ return H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LDOUBLE_COMPLEX_g$segment() {
+ return H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static long H5T_NATIVE_LDOUBLE_COMPLEX_g() {
+ return H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.SEGMENT.get(H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static void H5T_NATIVE_LDOUBLE_COMPLEX_g(long varValue) {
+ H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.SEGMENT.set(H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_B8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_B8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B8_g$layout() {
+ return H5T_NATIVE_B8_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B8_g$segment() {
+ return H5T_NATIVE_B8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static long H5T_NATIVE_B8_g() {
+ return H5T_NATIVE_B8_g$constants.SEGMENT.get(H5T_NATIVE_B8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static void H5T_NATIVE_B8_g(long varValue) {
+ H5T_NATIVE_B8_g$constants.SEGMENT.set(H5T_NATIVE_B8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_B16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_B16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B16_g$layout() {
+ return H5T_NATIVE_B16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B16_g$segment() {
+ return H5T_NATIVE_B16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static long H5T_NATIVE_B16_g() {
+ return H5T_NATIVE_B16_g$constants.SEGMENT.get(H5T_NATIVE_B16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static void H5T_NATIVE_B16_g(long varValue) {
+ H5T_NATIVE_B16_g$constants.SEGMENT.set(H5T_NATIVE_B16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_B32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_B32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B32_g$layout() {
+ return H5T_NATIVE_B32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B32_g$segment() {
+ return H5T_NATIVE_B32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static long H5T_NATIVE_B32_g() {
+ return H5T_NATIVE_B32_g$constants.SEGMENT.get(H5T_NATIVE_B32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static void H5T_NATIVE_B32_g(long varValue) {
+ H5T_NATIVE_B32_g$constants.SEGMENT.set(H5T_NATIVE_B32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_B64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_B64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B64_g$layout() {
+ return H5T_NATIVE_B64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B64_g$segment() {
+ return H5T_NATIVE_B64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static long H5T_NATIVE_B64_g() {
+ return H5T_NATIVE_B64_g$constants.SEGMENT.get(H5T_NATIVE_B64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static void H5T_NATIVE_B64_g(long varValue) {
+ H5T_NATIVE_B64_g$constants.SEGMENT.set(H5T_NATIVE_B64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_OPAQUE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_OPAQUE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_OPAQUE_g$layout() {
+ return H5T_NATIVE_OPAQUE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_OPAQUE_g$segment() {
+ return H5T_NATIVE_OPAQUE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static long H5T_NATIVE_OPAQUE_g() {
+ return H5T_NATIVE_OPAQUE_g$constants.SEGMENT.get(H5T_NATIVE_OPAQUE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static void H5T_NATIVE_OPAQUE_g(long varValue) {
+ H5T_NATIVE_OPAQUE_g$constants.SEGMENT.set(H5T_NATIVE_OPAQUE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HADDR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_HADDR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HADDR_g$layout() {
+ return H5T_NATIVE_HADDR_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HADDR_g$segment() {
+ return H5T_NATIVE_HADDR_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static long H5T_NATIVE_HADDR_g() {
+ return H5T_NATIVE_HADDR_g$constants.SEGMENT.get(H5T_NATIVE_HADDR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static void H5T_NATIVE_HADDR_g(long varValue) {
+ H5T_NATIVE_HADDR_g$constants.SEGMENT.set(H5T_NATIVE_HADDR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_HSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HSIZE_g$layout() {
+ return H5T_NATIVE_HSIZE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HSIZE_g$segment() {
+ return H5T_NATIVE_HSIZE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static long H5T_NATIVE_HSIZE_g() {
+ return H5T_NATIVE_HSIZE_g$constants.SEGMENT.get(H5T_NATIVE_HSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static void H5T_NATIVE_HSIZE_g(long varValue) {
+ H5T_NATIVE_HSIZE_g$constants.SEGMENT.set(H5T_NATIVE_HSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HSSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_HSSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HSSIZE_g$layout() {
+ return H5T_NATIVE_HSSIZE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HSSIZE_g$segment() {
+ return H5T_NATIVE_HSSIZE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static long H5T_NATIVE_HSSIZE_g() {
+ return H5T_NATIVE_HSSIZE_g$constants.SEGMENT.get(H5T_NATIVE_HSSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static void H5T_NATIVE_HSSIZE_g(long varValue) {
+ H5T_NATIVE_HSSIZE_g$constants.SEGMENT.set(H5T_NATIVE_HSSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HERR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_HERR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HERR_g$layout() {
+ return H5T_NATIVE_HERR_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HERR_g$segment() {
+ return H5T_NATIVE_HERR_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static long H5T_NATIVE_HERR_g() {
+ return H5T_NATIVE_HERR_g$constants.SEGMENT.get(H5T_NATIVE_HERR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static void H5T_NATIVE_HERR_g(long varValue) {
+ H5T_NATIVE_HERR_g$constants.SEGMENT.set(H5T_NATIVE_HERR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HBOOL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_HBOOL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HBOOL_g$layout() {
+ return H5T_NATIVE_HBOOL_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HBOOL_g$segment() {
+ return H5T_NATIVE_HBOOL_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static long H5T_NATIVE_HBOOL_g() {
+ return H5T_NATIVE_HBOOL_g$constants.SEGMENT.get(H5T_NATIVE_HBOOL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static void H5T_NATIVE_HBOOL_g(long varValue) {
+ H5T_NATIVE_HBOOL_g$constants.SEGMENT.set(H5T_NATIVE_HBOOL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_INT8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT8_g$layout() {
+ return H5T_NATIVE_INT8_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT8_g$segment() {
+ return H5T_NATIVE_INT8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static long H5T_NATIVE_INT8_g() {
+ return H5T_NATIVE_INT8_g$constants.SEGMENT.get(H5T_NATIVE_INT8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static void H5T_NATIVE_INT8_g(long varValue) {
+ H5T_NATIVE_INT8_g$constants.SEGMENT.set(H5T_NATIVE_INT8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_UINT8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT8_g$layout() {
+ return H5T_NATIVE_UINT8_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT8_g$segment() {
+ return H5T_NATIVE_UINT8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT8_g() {
+ return H5T_NATIVE_UINT8_g$constants.SEGMENT.get(H5T_NATIVE_UINT8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT8_g(long varValue) {
+ H5T_NATIVE_UINT8_g$constants.SEGMENT.set(H5T_NATIVE_UINT8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST8_g$layout() {
+ return H5T_NATIVE_INT_LEAST8_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST8_g$segment() {
+ return H5T_NATIVE_INT_LEAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST8_g() {
+ return H5T_NATIVE_INT_LEAST8_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST8_g(long varValue) {
+ H5T_NATIVE_INT_LEAST8_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST8_g$layout() {
+ return H5T_NATIVE_UINT_LEAST8_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST8_g$segment() {
+ return H5T_NATIVE_UINT_LEAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST8_g() {
+ return H5T_NATIVE_UINT_LEAST8_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST8_g(long varValue) {
+ H5T_NATIVE_UINT_LEAST8_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST8_g$layout() {
+ return H5T_NATIVE_INT_FAST8_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST8_g$segment() {
+ return H5T_NATIVE_INT_FAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST8_g() {
+ return H5T_NATIVE_INT_FAST8_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST8_g(long varValue) {
+ H5T_NATIVE_INT_FAST8_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST8_g$layout() {
+ return H5T_NATIVE_UINT_FAST8_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST8_g$segment() {
+ return H5T_NATIVE_UINT_FAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST8_g() {
+ return H5T_NATIVE_UINT_FAST8_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST8_g(long varValue) {
+ H5T_NATIVE_UINT_FAST8_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_INT16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT16_g$layout() {
+ return H5T_NATIVE_INT16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT16_g$segment() {
+ return H5T_NATIVE_INT16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static long H5T_NATIVE_INT16_g() {
+ return H5T_NATIVE_INT16_g$constants.SEGMENT.get(H5T_NATIVE_INT16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static void H5T_NATIVE_INT16_g(long varValue) {
+ H5T_NATIVE_INT16_g$constants.SEGMENT.set(H5T_NATIVE_INT16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_UINT16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT16_g$layout() {
+ return H5T_NATIVE_UINT16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT16_g$segment() {
+ return H5T_NATIVE_UINT16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT16_g() {
+ return H5T_NATIVE_UINT16_g$constants.SEGMENT.get(H5T_NATIVE_UINT16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT16_g(long varValue) {
+ H5T_NATIVE_UINT16_g$constants.SEGMENT.set(H5T_NATIVE_UINT16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST16_g$layout() {
+ return H5T_NATIVE_INT_LEAST16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST16_g$segment() {
+ return H5T_NATIVE_INT_LEAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST16_g() {
+ return H5T_NATIVE_INT_LEAST16_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST16_g(long varValue) {
+ H5T_NATIVE_INT_LEAST16_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST16_g$layout() {
+ return H5T_NATIVE_UINT_LEAST16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST16_g$segment() {
+ return H5T_NATIVE_UINT_LEAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST16_g() {
+ return H5T_NATIVE_UINT_LEAST16_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST16_g(long varValue) {
+ H5T_NATIVE_UINT_LEAST16_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST16_g$layout() {
+ return H5T_NATIVE_INT_FAST16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST16_g$segment() {
+ return H5T_NATIVE_INT_FAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST16_g() {
+ return H5T_NATIVE_INT_FAST16_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST16_g(long varValue) {
+ H5T_NATIVE_INT_FAST16_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST16_g$layout() {
+ return H5T_NATIVE_UINT_FAST16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST16_g$segment() {
+ return H5T_NATIVE_UINT_FAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST16_g() {
+ return H5T_NATIVE_UINT_FAST16_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST16_g(long varValue) {
+ H5T_NATIVE_UINT_FAST16_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_INT32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT32_g$layout() {
+ return H5T_NATIVE_INT32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT32_g$segment() {
+ return H5T_NATIVE_INT32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static long H5T_NATIVE_INT32_g() {
+ return H5T_NATIVE_INT32_g$constants.SEGMENT.get(H5T_NATIVE_INT32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static void H5T_NATIVE_INT32_g(long varValue) {
+ H5T_NATIVE_INT32_g$constants.SEGMENT.set(H5T_NATIVE_INT32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_UINT32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT32_g$layout() {
+ return H5T_NATIVE_UINT32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT32_g$segment() {
+ return H5T_NATIVE_UINT32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT32_g() {
+ return H5T_NATIVE_UINT32_g$constants.SEGMENT.get(H5T_NATIVE_UINT32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT32_g(long varValue) {
+ H5T_NATIVE_UINT32_g$constants.SEGMENT.set(H5T_NATIVE_UINT32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST32_g$layout() {
+ return H5T_NATIVE_INT_LEAST32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST32_g$segment() {
+ return H5T_NATIVE_INT_LEAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST32_g() {
+ return H5T_NATIVE_INT_LEAST32_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST32_g(long varValue) {
+ H5T_NATIVE_INT_LEAST32_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST32_g$layout() {
+ return H5T_NATIVE_UINT_LEAST32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST32_g$segment() {
+ return H5T_NATIVE_UINT_LEAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST32_g() {
+ return H5T_NATIVE_UINT_LEAST32_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST32_g(long varValue) {
+ H5T_NATIVE_UINT_LEAST32_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST32_g$layout() {
+ return H5T_NATIVE_INT_FAST32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST32_g$segment() {
+ return H5T_NATIVE_INT_FAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST32_g() {
+ return H5T_NATIVE_INT_FAST32_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST32_g(long varValue) {
+ H5T_NATIVE_INT_FAST32_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST32_g$layout() {
+ return H5T_NATIVE_UINT_FAST32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST32_g$segment() {
+ return H5T_NATIVE_UINT_FAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST32_g() {
+ return H5T_NATIVE_UINT_FAST32_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST32_g(long varValue) {
+ H5T_NATIVE_UINT_FAST32_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_INT64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT64_g$layout() {
+ return H5T_NATIVE_INT64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT64_g$segment() {
+ return H5T_NATIVE_INT64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static long H5T_NATIVE_INT64_g() {
+ return H5T_NATIVE_INT64_g$constants.SEGMENT.get(H5T_NATIVE_INT64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static void H5T_NATIVE_INT64_g(long varValue) {
+ H5T_NATIVE_INT64_g$constants.SEGMENT.set(H5T_NATIVE_INT64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_UINT64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT64_g$layout() {
+ return H5T_NATIVE_UINT64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT64_g$segment() {
+ return H5T_NATIVE_UINT64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT64_g() {
+ return H5T_NATIVE_UINT64_g$constants.SEGMENT.get(H5T_NATIVE_UINT64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT64_g(long varValue) {
+ H5T_NATIVE_UINT64_g$constants.SEGMENT.set(H5T_NATIVE_UINT64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST64_g$layout() {
+ return H5T_NATIVE_INT_LEAST64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST64_g$segment() {
+ return H5T_NATIVE_INT_LEAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST64_g() {
+ return H5T_NATIVE_INT_LEAST64_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST64_g(long varValue) {
+ H5T_NATIVE_INT_LEAST64_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST64_g$layout() {
+ return H5T_NATIVE_UINT_LEAST64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST64_g$segment() {
+ return H5T_NATIVE_UINT_LEAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST64_g() {
+ return H5T_NATIVE_UINT_LEAST64_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST64_g(long varValue) {
+ H5T_NATIVE_UINT_LEAST64_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST64_g$layout() {
+ return H5T_NATIVE_INT_FAST64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST64_g$segment() {
+ return H5T_NATIVE_INT_FAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST64_g() {
+ return H5T_NATIVE_INT_FAST64_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST64_g(long varValue) {
+ H5T_NATIVE_INT_FAST64_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST64_g$layout() {
+ return H5T_NATIVE_UINT_FAST64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST64_g$segment() {
+ return H5T_NATIVE_UINT_FAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST64_g() {
+ return H5T_NATIVE_UINT_FAST64_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST64_g(long varValue) {
+ H5T_NATIVE_UINT_FAST64_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Tcreate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Tcreate$descriptor() {
+ return H5Tcreate.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static MethodHandle H5Tcreate$handle() {
+ return H5Tcreate.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static MemorySegment H5Tcreate$address() {
+ return H5Tcreate.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static long H5Tcreate(int type, long size) {
+ var mh$ = H5Tcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcreate", type, size);
+ }
+ return (long)mh$.invokeExact(type, size);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcopy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcopy$descriptor() {
+ return H5Tcopy.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tcopy$handle() {
+ return H5Tcopy.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tcopy$address() {
+ return H5Tcopy.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static long H5Tcopy(long type_id) {
+ var mh$ = H5Tcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcopy", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tclose$descriptor() {
+ return H5Tclose.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tclose$handle() {
+ return H5Tclose.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tclose$address() {
+ return H5Tclose.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static int H5Tclose(long type_id) {
+ var mh$ = H5Tclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tclose", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tclose_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tclose_async$descriptor() {
+ return H5Tclose_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Tclose_async$handle() {
+ return H5Tclose_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Tclose_async$address() {
+ return H5Tclose_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id, hid_t es_id)
+ * }
+ */
+ public static int H5Tclose_async(MemorySegment app_file, MemorySegment app_func, int app_line, long type_id, long es_id) {
+ var mh$ = H5Tclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tclose_async", app_file, app_func, app_line, type_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, type_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tequal {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tequal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tequal$descriptor() {
+ return H5Tequal.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static MethodHandle H5Tequal$handle() {
+ return H5Tequal.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static MemorySegment H5Tequal$address() {
+ return H5Tequal.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static int H5Tequal(long type1_id, long type2_id) {
+ var mh$ = H5Tequal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tequal", type1_id, type2_id);
+ }
+ return (int)mh$.invokeExact(type1_id, type2_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tlock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tlock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tlock$descriptor() {
+ return H5Tlock.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tlock$handle() {
+ return H5Tlock.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tlock$address() {
+ return H5Tlock.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static int H5Tlock(long type_id) {
+ var mh$ = H5Tlock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tlock", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit2$descriptor() {
+ return H5Tcommit2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit2$handle() {
+ return H5Tcommit2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit2$address() {
+ return H5Tcommit2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static int H5Tcommit2(long loc_id, MemorySegment name, long type_id, long lcpl_id, long tcpl_id, long tapl_id) {
+ var mh$ = H5Tcommit2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit2", loc_id, name, type_id, lcpl_id, tcpl_id, tapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, type_id, lcpl_id, tcpl_id, tapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit_async$descriptor() {
+ return H5Tcommit_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit_async$handle() {
+ return H5Tcommit_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit_async$address() {
+ return H5Tcommit_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Tcommit_async(MemorySegment app_file, MemorySegment app_func, int app_line, long loc_id, MemorySegment name, long type_id, long lcpl_id, long tcpl_id, long tapl_id, long es_id) {
+ var mh$ = H5Tcommit_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit_async", app_file, app_func, app_line, loc_id, name, type_id, lcpl_id, tcpl_id, tapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, type_id, lcpl_id, tcpl_id, tapl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Topen2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Topen2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Topen2$descriptor() {
+ return H5Topen2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static MethodHandle H5Topen2$handle() {
+ return H5Topen2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static MemorySegment H5Topen2$address() {
+ return H5Topen2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static long H5Topen2(long loc_id, MemorySegment name, long tapl_id) {
+ var mh$ = H5Topen2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Topen2", loc_id, name, tapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, tapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Topen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Topen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Topen_async$descriptor() {
+ return H5Topen_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Topen_async$handle() {
+ return H5Topen_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Topen_async$address() {
+ return H5Topen_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Topen_async(MemorySegment app_file, MemorySegment app_func, int app_line, long loc_id, MemorySegment name, long tapl_id, long es_id) {
+ var mh$ = H5Topen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Topen_async", app_file, app_func, app_line, loc_id, name, tapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, tapl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit_anon {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit_anon");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit_anon$descriptor() {
+ return H5Tcommit_anon.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit_anon$handle() {
+ return H5Tcommit_anon.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit_anon$address() {
+ return H5Tcommit_anon.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static int H5Tcommit_anon(long loc_id, long type_id, long tcpl_id, long tapl_id) {
+ var mh$ = H5Tcommit_anon.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit_anon", loc_id, type_id, tcpl_id, tapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, type_id, tcpl_id, tapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_create_plist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_create_plist$descriptor() {
+ return H5Tget_create_plist.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_create_plist$handle() {
+ return H5Tget_create_plist.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_create_plist$address() {
+ return H5Tget_create_plist.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_create_plist(long type_id) {
+ var mh$ = H5Tget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_create_plist", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommitted {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommitted");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommitted$descriptor() {
+ return H5Tcommitted.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tcommitted$handle() {
+ return H5Tcommitted.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tcommitted$address() {
+ return H5Tcommitted.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static int H5Tcommitted(long type_id) {
+ var mh$ = H5Tcommitted.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommitted", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tencode {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tencode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static FunctionDescriptor H5Tencode$descriptor() {
+ return H5Tencode.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MethodHandle H5Tencode$handle() {
+ return H5Tencode.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MemorySegment H5Tencode$address() {
+ return H5Tencode.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static int H5Tencode(long obj_id, MemorySegment buf, MemorySegment nalloc) {
+ var mh$ = H5Tencode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tencode", obj_id, buf, nalloc);
+ }
+ return (int)mh$.invokeExact(obj_id, buf, nalloc);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tdecode2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tdecode2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Tdecode2$descriptor() {
+ return H5Tdecode2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5Tdecode2$handle() {
+ return H5Tdecode2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5Tdecode2$address() {
+ return H5Tdecode2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static long H5Tdecode2(MemorySegment buf, long buf_size) {
+ var mh$ = H5Tdecode2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tdecode2", buf, buf_size);
+ }
+ return (long)mh$.invokeExact(buf, buf_size);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tflush$descriptor() {
+ return H5Tflush.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tflush$handle() {
+ return H5Tflush.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tflush$address() {
+ return H5Tflush.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static int H5Tflush(long type_id) {
+ var mh$ = H5Tflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tflush", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Trefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Trefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Trefresh$descriptor() {
+ return H5Trefresh.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Trefresh$handle() {
+ return H5Trefresh.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Trefresh$address() {
+ return H5Trefresh.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static int H5Trefresh(long type_id) {
+ var mh$ = H5Trefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Trefresh", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tinsert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tinsert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tinsert$descriptor() {
+ return H5Tinsert.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static MethodHandle H5Tinsert$handle() {
+ return H5Tinsert.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static MemorySegment H5Tinsert$address() {
+ return H5Tinsert.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static int H5Tinsert(long parent_id, MemorySegment name, long offset, long member_id) {
+ var mh$ = H5Tinsert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tinsert", parent_id, name, offset, member_id);
+ }
+ return (int)mh$.invokeExact(parent_id, name, offset, member_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tpack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tpack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tpack$descriptor() {
+ return H5Tpack.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tpack$handle() {
+ return H5Tpack.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tpack$address() {
+ return H5Tpack.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static int H5Tpack(long type_id) {
+ var mh$ = H5Tpack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tpack", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_create$descriptor() {
+ return H5Tenum_create.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static MethodHandle H5Tenum_create$handle() {
+ return H5Tenum_create.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static MemorySegment H5Tenum_create$address() {
+ return H5Tenum_create.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static long H5Tenum_create(long base_id) {
+ var mh$ = H5Tenum_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_create", base_id);
+ }
+ return (long)mh$.invokeExact(base_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_insert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_insert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_insert$descriptor() {
+ return H5Tenum_insert.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static MethodHandle H5Tenum_insert$handle() {
+ return H5Tenum_insert.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static MemorySegment H5Tenum_insert$address() {
+ return H5Tenum_insert.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static int H5Tenum_insert(long type, MemorySegment name, MemorySegment value) {
+ var mh$ = H5Tenum_insert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_insert", type, name, value);
+ }
+ return (int)mh$.invokeExact(type, name, value);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_nameof {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_nameof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_nameof$descriptor() {
+ return H5Tenum_nameof.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Tenum_nameof$handle() {
+ return H5Tenum_nameof.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Tenum_nameof$address() {
+ return H5Tenum_nameof.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static int H5Tenum_nameof(long type, MemorySegment value, MemorySegment name, long size) {
+ var mh$ = H5Tenum_nameof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_nameof", type, value, name, size);
+ }
+ return (int)mh$.invokeExact(type, value, name, size);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_valueof {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_valueof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_valueof$descriptor() {
+ return H5Tenum_valueof.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static MethodHandle H5Tenum_valueof$handle() {
+ return H5Tenum_valueof.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static MemorySegment H5Tenum_valueof$address() {
+ return H5Tenum_valueof.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static int H5Tenum_valueof(long type, MemorySegment name, MemorySegment value) {
+ var mh$ = H5Tenum_valueof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_valueof", type, name, value);
+ }
+ return (int)mh$.invokeExact(type, name, value);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tvlen_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tvlen_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tvlen_create$descriptor() {
+ return H5Tvlen_create.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static MethodHandle H5Tvlen_create$handle() {
+ return H5Tvlen_create.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static MemorySegment H5Tvlen_create$address() {
+ return H5Tvlen_create.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static long H5Tvlen_create(long base_id) {
+ var mh$ = H5Tvlen_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tvlen_create", base_id);
+ }
+ return (long)mh$.invokeExact(base_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tarray_create2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tarray_create2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static FunctionDescriptor H5Tarray_create2$descriptor() {
+ return H5Tarray_create2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MethodHandle H5Tarray_create2$handle() {
+ return H5Tarray_create2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MemorySegment H5Tarray_create2$address() {
+ return H5Tarray_create2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static long H5Tarray_create2(long base_id, int ndims, MemorySegment dim) {
+ var mh$ = H5Tarray_create2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tarray_create2", base_id, ndims, dim);
+ }
+ return (long)mh$.invokeExact(base_id, ndims, dim);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_array_ndims {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_array_ndims");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_array_ndims$descriptor() {
+ return H5Tget_array_ndims.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_array_ndims$handle() {
+ return H5Tget_array_ndims.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_array_ndims$address() {
+ return H5Tget_array_ndims.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_array_ndims(long type_id) {
+ var mh$ = H5Tget_array_ndims.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_array_ndims", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_array_dims2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_array_dims2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static FunctionDescriptor H5Tget_array_dims2$descriptor() {
+ return H5Tget_array_dims2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static MethodHandle H5Tget_array_dims2$handle() {
+ return H5Tget_array_dims2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static MemorySegment H5Tget_array_dims2$address() {
+ return H5Tget_array_dims2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static int H5Tget_array_dims2(long type_id, MemorySegment dims) {
+ var mh$ = H5Tget_array_dims2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_array_dims2", type_id, dims);
+ }
+ return (int)mh$.invokeExact(type_id, dims);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcomplex_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcomplex_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcomplex_create$descriptor() {
+ return H5Tcomplex_create.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static MethodHandle H5Tcomplex_create$handle() {
+ return H5Tcomplex_create.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static MemorySegment H5Tcomplex_create$address() {
+ return H5Tcomplex_create.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static long H5Tcomplex_create(long base_type_id) {
+ var mh$ = H5Tcomplex_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcomplex_create", base_type_id);
+ }
+ return (long)mh$.invokeExact(base_type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_tag {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_tag");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_tag$descriptor() {
+ return H5Tset_tag.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static MethodHandle H5Tset_tag$handle() {
+ return H5Tset_tag.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static MemorySegment H5Tset_tag$address() {
+ return H5Tset_tag.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static int H5Tset_tag(long type, MemorySegment tag) {
+ var mh$ = H5Tset_tag.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_tag", type, tag);
+ }
+ return (int)mh$.invokeExact(type, tag);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_tag {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_tag");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_tag$descriptor() {
+ return H5Tget_tag.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static MethodHandle H5Tget_tag$handle() {
+ return H5Tget_tag.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static MemorySegment H5Tget_tag$address() {
+ return H5Tget_tag.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static MemorySegment H5Tget_tag(long type) {
+ var mh$ = H5Tget_tag.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_tag", type);
+ }
+ return (MemorySegment)mh$.invokeExact(type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_super {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_super");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_super$descriptor() {
+ return H5Tget_super.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static MethodHandle H5Tget_super$handle() {
+ return H5Tget_super.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static MemorySegment H5Tget_super$address() {
+ return H5Tget_super.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static long H5Tget_super(long type) {
+ var mh$ = H5Tget_super.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_super", type);
+ }
+ return (long)mh$.invokeExact(type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_class$descriptor() {
+ return H5Tget_class.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_class$handle() {
+ return H5Tget_class.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_class$address() {
+ return H5Tget_class.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_class(long type_id) {
+ var mh$ = H5Tget_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_class", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tdetect_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tdetect_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static FunctionDescriptor H5Tdetect_class$descriptor() {
+ return H5Tdetect_class.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static MethodHandle H5Tdetect_class$handle() {
+ return H5Tdetect_class.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static MemorySegment H5Tdetect_class$address() {
+ return H5Tdetect_class.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static int H5Tdetect_class(long type_id, int cls) {
+ var mh$ = H5Tdetect_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tdetect_class", type_id, cls);
+ }
+ return (int)mh$.invokeExact(type_id, cls);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_size$descriptor() {
+ return H5Tget_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_size$handle() {
+ return H5Tget_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_size$address() {
+ return H5Tget_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_size(long type_id) {
+ var mh$ = H5Tget_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_size", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_order {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_order$descriptor() {
+ return H5Tget_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_order$handle() {
+ return H5Tget_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_order$address() {
+ return H5Tget_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_order(long type_id) {
+ var mh$ = H5Tget_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_order", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_precision {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_precision");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_precision$descriptor() {
+ return H5Tget_precision.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_precision$handle() {
+ return H5Tget_precision.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_precision$address() {
+ return H5Tget_precision.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_precision(long type_id) {
+ var mh$ = H5Tget_precision.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_precision", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_offset {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_offset$descriptor() {
+ return H5Tget_offset.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_offset$handle() {
+ return H5Tget_offset.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_offset$address() {
+ return H5Tget_offset.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_offset(long type_id) {
+ var mh$ = H5Tget_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_offset", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_pad {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_pad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_pad$descriptor() {
+ return H5Tget_pad.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static MethodHandle H5Tget_pad$handle() {
+ return H5Tget_pad.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static MemorySegment H5Tget_pad$address() {
+ return H5Tget_pad.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static int H5Tget_pad(long type_id, MemorySegment lsb, MemorySegment msb) {
+ var mh$ = H5Tget_pad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_pad", type_id, lsb, msb);
+ }
+ return (int)mh$.invokeExact(type_id, lsb, msb);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_sign {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_sign");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_sign$descriptor() {
+ return H5Tget_sign.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_sign$handle() {
+ return H5Tget_sign.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_sign$address() {
+ return H5Tget_sign.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_sign(long type_id) {
+ var mh$ = H5Tget_sign.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_sign", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_fields {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_fields");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t *msize)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_fields$descriptor() {
+ return H5Tget_fields.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t *msize)
+ * }
+ */
+ public static MethodHandle H5Tget_fields$handle() {
+ return H5Tget_fields.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t *msize)
+ * }
+ */
+ public static MemorySegment H5Tget_fields$address() {
+ return H5Tget_fields.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t *msize)
+ * }
+ */
+ public static int H5Tget_fields(long type_id, MemorySegment spos, MemorySegment epos, MemorySegment esize, MemorySegment mpos, MemorySegment msize) {
+ var mh$ = H5Tget_fields.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_fields", type_id, spos, epos, esize, mpos, msize);
+ }
+ return (int)mh$.invokeExact(type_id, spos, epos, esize, mpos, msize);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_ebias {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_ebias");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_ebias$descriptor() {
+ return H5Tget_ebias.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_ebias$handle() {
+ return H5Tget_ebias.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_ebias$address() {
+ return H5Tget_ebias.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_ebias(long type_id) {
+ var mh$ = H5Tget_ebias.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_ebias", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_norm {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_norm");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_norm$descriptor() {
+ return H5Tget_norm.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_norm$handle() {
+ return H5Tget_norm.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_norm$address() {
+ return H5Tget_norm.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_norm(long type_id) {
+ var mh$ = H5Tget_norm.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_norm", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_inpad {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_inpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_inpad$descriptor() {
+ return H5Tget_inpad.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_inpad$handle() {
+ return H5Tget_inpad.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_inpad$address() {
+ return H5Tget_inpad.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_inpad(long type_id) {
+ var mh$ = H5Tget_inpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_inpad", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_strpad {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_strpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_strpad$descriptor() {
+ return H5Tget_strpad.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_strpad$handle() {
+ return H5Tget_strpad.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_strpad$address() {
+ return H5Tget_strpad.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_strpad(long type_id) {
+ var mh$ = H5Tget_strpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_strpad", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_nmembers {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_nmembers");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_nmembers$descriptor() {
+ return H5Tget_nmembers.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_nmembers$handle() {
+ return H5Tget_nmembers.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_nmembers$address() {
+ return H5Tget_nmembers.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_nmembers(long type_id) {
+ var mh$ = H5Tget_nmembers.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_nmembers", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_name$descriptor() {
+ return H5Tget_member_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_name$handle() {
+ return H5Tget_member_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_name$address() {
+ return H5Tget_member_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_name(long type_id, int membno) {
+ var mh$ = H5Tget_member_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_name", type_id, membno);
+ }
+ return (MemorySegment)mh$.invokeExact(type_id, membno);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_index {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_index");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_index$descriptor() {
+ return H5Tget_member_index.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Tget_member_index$handle() {
+ return H5Tget_member_index.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Tget_member_index$address() {
+ return H5Tget_member_index.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static int H5Tget_member_index(long type_id, MemorySegment name) {
+ var mh$ = H5Tget_member_index.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_index", type_id, name);
+ }
+ return (int)mh$.invokeExact(type_id, name);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_offset {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_offset$descriptor() {
+ return H5Tget_member_offset.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_offset$handle() {
+ return H5Tget_member_offset.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_offset$address() {
+ return H5Tget_member_offset.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static long H5Tget_member_offset(long type_id, int membno) {
+ var mh$ = H5Tget_member_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_offset", type_id, membno);
+ }
+ return (long)mh$.invokeExact(type_id, membno);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_class$descriptor() {
+ return H5Tget_member_class.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_class$handle() {
+ return H5Tget_member_class.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_class$address() {
+ return H5Tget_member_class.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static int H5Tget_member_class(long type_id, int membno) {
+ var mh$ = H5Tget_member_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_class", type_id, membno);
+ }
+ return (int)mh$.invokeExact(type_id, membno);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_type$descriptor() {
+ return H5Tget_member_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_type$handle() {
+ return H5Tget_member_type.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_type$address() {
+ return H5Tget_member_type.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static long H5Tget_member_type(long type_id, int membno) {
+ var mh$ = H5Tget_member_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_type", type_id, membno);
+ }
+ return (long)mh$.invokeExact(type_id, membno);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_value {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_value$descriptor() {
+ return H5Tget_member_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static MethodHandle H5Tget_member_value$handle() {
+ return H5Tget_member_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static MemorySegment H5Tget_member_value$address() {
+ return H5Tget_member_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static int H5Tget_member_value(long type_id, int membno, MemorySegment value) {
+ var mh$ = H5Tget_member_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_value", type_id, membno, value);
+ }
+ return (int)mh$.invokeExact(type_id, membno, value);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_cset {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_cset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_cset$descriptor() {
+ return H5Tget_cset.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_cset$handle() {
+ return H5Tget_cset.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_cset$address() {
+ return H5Tget_cset.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_cset(long type_id) {
+ var mh$ = H5Tget_cset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_cset", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tis_variable_str {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tis_variable_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tis_variable_str$descriptor() {
+ return H5Tis_variable_str.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tis_variable_str$handle() {
+ return H5Tis_variable_str.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tis_variable_str$address() {
+ return H5Tis_variable_str.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static int H5Tis_variable_str(long type_id) {
+ var mh$ = H5Tis_variable_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tis_variable_str", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_native_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_native_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_native_type$descriptor() {
+ return H5Tget_native_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static MethodHandle H5Tget_native_type$handle() {
+ return H5Tget_native_type.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static MemorySegment H5Tget_native_type$address() {
+ return H5Tget_native_type.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static long H5Tget_native_type(long type_id, int direction) {
+ var mh$ = H5Tget_native_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_native_type", type_id, direction);
+ }
+ return (long)mh$.invokeExact(type_id, direction);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_size$descriptor() {
+ return H5Tset_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static MethodHandle H5Tset_size$handle() {
+ return H5Tset_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static MemorySegment H5Tset_size$address() {
+ return H5Tset_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static int H5Tset_size(long type_id, long size) {
+ var mh$ = H5Tset_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_size", type_id, size);
+ }
+ return (int)mh$.invokeExact(type_id, size);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_order {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_order$descriptor() {
+ return H5Tset_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static MethodHandle H5Tset_order$handle() {
+ return H5Tset_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static MemorySegment H5Tset_order$address() {
+ return H5Tset_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static int H5Tset_order(long type_id, int order) {
+ var mh$ = H5Tset_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_order", type_id, order);
+ }
+ return (int)mh$.invokeExact(type_id, order);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_precision {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_precision");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_precision$descriptor() {
+ return H5Tset_precision.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static MethodHandle H5Tset_precision$handle() {
+ return H5Tset_precision.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static MemorySegment H5Tset_precision$address() {
+ return H5Tset_precision.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static int H5Tset_precision(long type_id, long prec) {
+ var mh$ = H5Tset_precision.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_precision", type_id, prec);
+ }
+ return (int)mh$.invokeExact(type_id, prec);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_offset {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_offset$descriptor() {
+ return H5Tset_offset.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static MethodHandle H5Tset_offset$handle() {
+ return H5Tset_offset.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static MemorySegment H5Tset_offset$address() {
+ return H5Tset_offset.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static int H5Tset_offset(long type_id, long offset) {
+ var mh$ = H5Tset_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_offset", type_id, offset);
+ }
+ return (int)mh$.invokeExact(type_id, offset);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_pad {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_pad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_pad$descriptor() {
+ return H5Tset_pad.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static MethodHandle H5Tset_pad$handle() {
+ return H5Tset_pad.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static MemorySegment H5Tset_pad$address() {
+ return H5Tset_pad.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static int H5Tset_pad(long type_id, int lsb, int msb) {
+ var mh$ = H5Tset_pad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_pad", type_id, lsb, msb);
+ }
+ return (int)mh$.invokeExact(type_id, lsb, msb);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_sign {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_sign");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_sign$descriptor() {
+ return H5Tset_sign.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static MethodHandle H5Tset_sign$handle() {
+ return H5Tset_sign.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static MemorySegment H5Tset_sign$address() {
+ return H5Tset_sign.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static int H5Tset_sign(long type_id, int sign) {
+ var mh$ = H5Tset_sign.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_sign", type_id, sign);
+ }
+ return (int)mh$.invokeExact(type_id, sign);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_fields {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_fields");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_fields$descriptor() {
+ return H5Tset_fields.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static MethodHandle H5Tset_fields$handle() {
+ return H5Tset_fields.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static MemorySegment H5Tset_fields$address() {
+ return H5Tset_fields.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static int H5Tset_fields(long type_id, long spos, long epos, long esize, long mpos, long msize) {
+ var mh$ = H5Tset_fields.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_fields", type_id, spos, epos, esize, mpos, msize);
+ }
+ return (int)mh$.invokeExact(type_id, spos, epos, esize, mpos, msize);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_ebias {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_ebias");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_ebias$descriptor() {
+ return H5Tset_ebias.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static MethodHandle H5Tset_ebias$handle() {
+ return H5Tset_ebias.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static MemorySegment H5Tset_ebias$address() {
+ return H5Tset_ebias.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static int H5Tset_ebias(long type_id, long ebias) {
+ var mh$ = H5Tset_ebias.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_ebias", type_id, ebias);
+ }
+ return (int)mh$.invokeExact(type_id, ebias);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_norm {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_norm");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_norm$descriptor() {
+ return H5Tset_norm.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static MethodHandle H5Tset_norm$handle() {
+ return H5Tset_norm.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static MemorySegment H5Tset_norm$address() {
+ return H5Tset_norm.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static int H5Tset_norm(long type_id, int norm) {
+ var mh$ = H5Tset_norm.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_norm", type_id, norm);
+ }
+ return (int)mh$.invokeExact(type_id, norm);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_inpad {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_inpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_inpad$descriptor() {
+ return H5Tset_inpad.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static MethodHandle H5Tset_inpad$handle() {
+ return H5Tset_inpad.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static MemorySegment H5Tset_inpad$address() {
+ return H5Tset_inpad.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static int H5Tset_inpad(long type_id, int pad) {
+ var mh$ = H5Tset_inpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_inpad", type_id, pad);
+ }
+ return (int)mh$.invokeExact(type_id, pad);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_cset {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_cset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_cset$descriptor() {
+ return H5Tset_cset.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static MethodHandle H5Tset_cset$handle() {
+ return H5Tset_cset.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static MemorySegment H5Tset_cset$address() {
+ return H5Tset_cset.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static int H5Tset_cset(long type_id, int cset) {
+ var mh$ = H5Tset_cset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_cset", type_id, cset);
+ }
+ return (int)mh$.invokeExact(type_id, cset);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_strpad {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_strpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_strpad$descriptor() {
+ return H5Tset_strpad.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static MethodHandle H5Tset_strpad$handle() {
+ return H5Tset_strpad.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static MemorySegment H5Tset_strpad$address() {
+ return H5Tset_strpad.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static int H5Tset_strpad(long type_id, int strpad) {
+ var mh$ = H5Tset_strpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_strpad", type_id, strpad);
+ }
+ return (int)mh$.invokeExact(type_id, strpad);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tconvert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tconvert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tconvert$descriptor() {
+ return H5Tconvert.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Tconvert$handle() {
+ return H5Tconvert.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Tconvert$address() {
+ return H5Tconvert.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t plist_id)
+ * }
+ */
+ public static int H5Tconvert(long src_id, long dst_id, long nelmts, MemorySegment buf, MemorySegment background, long plist_id) {
+ var mh$ = H5Tconvert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tconvert", src_id, dst_id, nelmts, buf, background, plist_id);
+ }
+ return (int)mh$.invokeExact(src_id, dst_id, nelmts, buf, background, plist_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Treclaim {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Treclaim");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Treclaim$descriptor() {
+ return H5Treclaim.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Treclaim$handle() {
+ return H5Treclaim.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Treclaim$address() {
+ return H5Treclaim.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static int H5Treclaim(long type_id, long space_id, long plist_id, MemorySegment buf) {
+ var mh$ = H5Treclaim.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Treclaim", type_id, space_id, plist_id, buf);
+ }
+ return (int)mh$.invokeExact(type_id, space_id, plist_id, buf);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tdecode1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tdecode1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Tdecode1$descriptor() {
+ return H5Tdecode1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static MethodHandle H5Tdecode1$handle() {
+ return H5Tdecode1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static MemorySegment H5Tdecode1$address() {
+ return H5Tdecode1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static long H5Tdecode1(MemorySegment buf) {
+ var mh$ = H5Tdecode1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tdecode1", buf);
+ }
+ return (long)mh$.invokeExact(buf);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit1$descriptor() {
+ return H5Tcommit1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit1$handle() {
+ return H5Tcommit1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit1$address() {
+ return H5Tcommit1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static int H5Tcommit1(long loc_id, MemorySegment name, long type_id) {
+ var mh$ = H5Tcommit1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit1", loc_id, name, type_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, type_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Topen1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Topen1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Topen1$descriptor() {
+ return H5Topen1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Topen1$handle() {
+ return H5Topen1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Topen1$address() {
+ return H5Topen1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Topen1(long loc_id, MemorySegment name) {
+ var mh$ = H5Topen1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Topen1", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tarray_create1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tarray_create1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static FunctionDescriptor H5Tarray_create1$descriptor() {
+ return H5Tarray_create1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static MethodHandle H5Tarray_create1$handle() {
+ return H5Tarray_create1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static MemorySegment H5Tarray_create1$address() {
+ return H5Tarray_create1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static long H5Tarray_create1(long base_id, int ndims, MemorySegment dim, MemorySegment perm) {
+ var mh$ = H5Tarray_create1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tarray_create1", base_id, ndims, dim, perm);
+ }
+ return (long)mh$.invokeExact(base_id, ndims, dim, perm);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_array_dims1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_array_dims1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static FunctionDescriptor H5Tget_array_dims1$descriptor() {
+ return H5Tget_array_dims1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static MethodHandle H5Tget_array_dims1$handle() {
+ return H5Tget_array_dims1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static MemorySegment H5Tget_array_dims1$address() {
+ return H5Tget_array_dims1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static int H5Tget_array_dims1(long type_id, MemorySegment dims, MemorySegment perm) {
+ var mh$ = H5Tget_array_dims1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_array_dims1", type_id, dims, perm);
+ }
+ return (int)mh$.invokeExact(type_id, dims, perm);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aclose$descriptor() {
+ return H5Aclose.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aclose$handle() {
+ return H5Aclose.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aclose$address() {
+ return H5Aclose.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static int H5Aclose(long attr_id) {
+ var mh$ = H5Aclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aclose", attr_id);
+ }
+ return (int)mh$.invokeExact(attr_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aclose_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aclose_async$descriptor() {
+ return H5Aclose_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aclose_async$handle() {
+ return H5Aclose_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aclose_async$address() {
+ return H5Aclose_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id, hid_t es_id)
+ * }
+ */
+ public static int H5Aclose_async(MemorySegment app_file, MemorySegment app_func, int app_line, long attr_id, long es_id) {
+ var mh$ = H5Aclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aclose_async", app_file, app_func, app_line, attr_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate2$descriptor() {
+ return H5Acreate2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id)
+ * }
+ */
+ public static MethodHandle H5Acreate2$handle() {
+ return H5Acreate2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id)
+ * }
+ */
+ public static MemorySegment H5Acreate2$address() {
+ return H5Acreate2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id)
+ * }
+ */
+ public static long H5Acreate2(long loc_id, MemorySegment attr_name, long type_id, long space_id, long acpl_id, long aapl_id) {
+ var mh$ = H5Acreate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate2", loc_id, attr_name, type_id, space_id, acpl_id, aapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, attr_name, type_id, space_id, acpl_id, aapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate_async$descriptor() {
+ return H5Acreate_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Acreate_async$handle() {
+ return H5Acreate_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Acreate_async$address() {
+ return H5Acreate_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Acreate_async(MemorySegment app_file, MemorySegment app_func, int app_line, long loc_id, MemorySegment attr_name, long type_id, long space_id, long acpl_id, long aapl_id, long es_id) {
+ var mh$ = H5Acreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate_async", app_file, app_func, app_line, loc_id, attr_name, type_id, space_id, acpl_id, aapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, attr_name, type_id, space_id, acpl_id, aapl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate_by_name$descriptor() {
+ return H5Acreate_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Acreate_by_name$handle() {
+ return H5Acreate_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Acreate_by_name$address() {
+ return H5Acreate_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static long H5Acreate_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name, long type_id, long space_id, long acpl_id, long aapl_id, long lapl_id) {
+ var mh$ = H5Acreate_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate_by_name", loc_id, obj_name, attr_name, type_id, space_id, acpl_id, aapl_id, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, attr_name, type_id, space_id, acpl_id, aapl_id, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate_by_name_async$descriptor() {
+ return H5Acreate_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Acreate_by_name_async$handle() {
+ return H5Acreate_by_name_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Acreate_by_name_async$address() {
+ return H5Acreate_by_name_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Acreate_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line, long loc_id, MemorySegment obj_name, MemorySegment attr_name, long type_id, long space_id, long acpl_id, long aapl_id, long lapl_id, long es_id) {
+ var mh$ = H5Acreate_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate_by_name_async", app_file, app_func, app_line, loc_id, obj_name, attr_name, type_id, space_id, acpl_id, aapl_id, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, attr_name, type_id, space_id, acpl_id, aapl_id, lapl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Adelete {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Adelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static FunctionDescriptor H5Adelete$descriptor() {
+ return H5Adelete.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static MethodHandle H5Adelete$handle() {
+ return H5Adelete.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static MemorySegment H5Adelete$address() {
+ return H5Adelete.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static int H5Adelete(long loc_id, MemorySegment attr_name) {
+ var mh$ = H5Adelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Adelete", loc_id, attr_name);
+ }
+ return (int)mh$.invokeExact(loc_id, attr_name);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Adelete_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Adelete_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Adelete_by_idx$descriptor() {
+ return H5Adelete_by_idx.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Adelete_by_idx$handle() {
+ return H5Adelete_by_idx.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Adelete_by_idx$address() {
+ return H5Adelete_by_idx.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static int H5Adelete_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order, long n, long lapl_id) {
+ var mh$ = H5Adelete_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Adelete_by_idx", loc_id, obj_name, idx_type, order, n, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Adelete_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Adelete_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Adelete_by_name$descriptor() {
+ return H5Adelete_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Adelete_by_name$handle() {
+ return H5Adelete_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Adelete_by_name$address() {
+ return H5Adelete_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Adelete_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name, long lapl_id) {
+ var mh$ = H5Adelete_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Adelete_by_name", loc_id, obj_name, attr_name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, attr_name, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists$descriptor() {
+ return H5Aexists.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static MethodHandle H5Aexists$handle() {
+ return H5Aexists.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static MemorySegment H5Aexists$address() {
+ return H5Aexists.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static int H5Aexists(long obj_id, MemorySegment attr_name) {
+ var mh$ = H5Aexists.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists", obj_id, attr_name);
+ }
+ return (int)mh$.invokeExact(obj_id, attr_name);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists_async$descriptor() {
+ return H5Aexists_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aexists_async$handle() {
+ return H5Aexists_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aexists_async$address() {
+ return H5Aexists_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static int H5Aexists_async(MemorySegment app_file, MemorySegment app_func, int app_line, long obj_id, MemorySegment attr_name, MemorySegment exists, long es_id) {
+ var mh$ = H5Aexists_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists_async", app_file, app_func, app_line, obj_id, attr_name, exists, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, obj_id, attr_name, exists, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists_by_name$descriptor() {
+ return H5Aexists_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aexists_by_name$handle() {
+ return H5Aexists_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aexists_by_name$address() {
+ return H5Aexists_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aexists_by_name(long obj_id, MemorySegment obj_name, MemorySegment attr_name, long lapl_id) {
+ var mh$ = H5Aexists_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists_by_name", obj_id, obj_name, attr_name, lapl_id);
+ }
+ return (int)mh$.invokeExact(obj_id, obj_name, attr_name, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists_by_name_async$descriptor() {
+ return H5Aexists_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aexists_by_name_async$handle() {
+ return H5Aexists_by_name_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aexists_by_name_async$address() {
+ return H5Aexists_by_name_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Aexists_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line, long loc_id, MemorySegment obj_name, MemorySegment attr_name, MemorySegment exists, long lapl_id, long es_id) {
+ var mh$ = H5Aexists_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists_by_name_async", app_file, app_func, app_line, loc_id, obj_name, attr_name, exists, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, attr_name, exists, lapl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_create_plist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_create_plist$descriptor() {
+ return H5Aget_create_plist.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_create_plist$handle() {
+ return H5Aget_create_plist.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_create_plist$address() {
+ return H5Aget_create_plist.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_create_plist(long attr_id) {
+ var mh$ = H5Aget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_create_plist", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_info {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_info$descriptor() {
+ return H5Aget_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static MethodHandle H5Aget_info$handle() {
+ return H5Aget_info.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static MemorySegment H5Aget_info$address() {
+ return H5Aget_info.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static int H5Aget_info(long attr_id, MemorySegment ainfo) {
+ var mh$ = H5Aget_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_info", attr_id, ainfo);
+ }
+ return (int)mh$.invokeExact(attr_id, ainfo);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_info_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_info_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_info_by_idx$descriptor() {
+ return H5Aget_info_by_idx.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aget_info_by_idx$handle() {
+ return H5Aget_info_by_idx.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aget_info_by_idx$address() {
+ return H5Aget_info_by_idx.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aget_info_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order, long n, MemorySegment ainfo, long lapl_id) {
+ var mh$ = H5Aget_info_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_info_by_idx", loc_id, obj_name, idx_type, order, n, ainfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, ainfo, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_info_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_info_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_info_by_name$descriptor() {
+ return H5Aget_info_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aget_info_by_name$handle() {
+ return H5Aget_info_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aget_info_by_name$address() {
+ return H5Aget_info_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aget_info_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name, MemorySegment ainfo, long lapl_id) {
+ var mh$ = H5Aget_info_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_info_by_name", loc_id, obj_name, attr_name, ainfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, attr_name, ainfo, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_name$descriptor() {
+ return H5Aget_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static MethodHandle H5Aget_name$handle() {
+ return H5Aget_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static MemorySegment H5Aget_name$address() {
+ return H5Aget_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static long H5Aget_name(long attr_id, long buf_size, MemorySegment buf) {
+ var mh$ = H5Aget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_name", attr_id, buf_size, buf);
+ }
+ return (long)mh$.invokeExact(attr_id, buf_size, buf);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_name_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_name_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_name_by_idx$descriptor() {
+ return H5Aget_name_by_idx.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aget_name_by_idx$handle() {
+ return H5Aget_name_by_idx.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aget_name_by_idx$address() {
+ return H5Aget_name_by_idx.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static long H5Aget_name_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order, long n, MemorySegment name, long size, long lapl_id) {
+ var mh$ = H5Aget_name_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_name_by_idx", loc_id, obj_name, idx_type, order, n, name, size, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, name, size, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_space {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_space$descriptor() {
+ return H5Aget_space.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_space$handle() {
+ return H5Aget_space.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_space$address() {
+ return H5Aget_space.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_space(long attr_id) {
+ var mh$ = H5Aget_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_space", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_storage_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_storage_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_storage_size$descriptor() {
+ return H5Aget_storage_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_storage_size$handle() {
+ return H5Aget_storage_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_storage_size$address() {
+ return H5Aget_storage_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_storage_size(long attr_id) {
+ var mh$ = H5Aget_storage_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_storage_size", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_type$descriptor() {
+ return H5Aget_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_type$handle() {
+ return H5Aget_type.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_type$address() {
+ return H5Aget_type.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_type(long attr_id) {
+ var mh$ = H5Aget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_type", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aiterate2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aiterate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx, H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Aiterate2$descriptor() {
+ return H5Aiterate2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx, H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Aiterate2$handle() {
+ return H5Aiterate2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx, H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Aiterate2$address() {
+ return H5Aiterate2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx, H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static int H5Aiterate2(long loc_id, int idx_type, int order, MemorySegment idx, MemorySegment op, MemorySegment op_data) {
+ var mh$ = H5Aiterate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aiterate2", loc_id, idx_type, order, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(loc_id, idx_type, order, idx, op, op_data);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aiterate_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aiterate_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aiterate_by_name$descriptor() {
+ return H5Aiterate_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aiterate_by_name$handle() {
+ return H5Aiterate_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aiterate_by_name$address() {
+ return H5Aiterate_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aiterate_by_name(long loc_id, MemorySegment obj_name, int idx_type, int order, MemorySegment idx, MemorySegment op, MemorySegment op_data, long lapl_id) {
+ var mh$ = H5Aiterate_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aiterate_by_name", loc_id, obj_name, idx_type, order, idx, op, op_data, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, idx, op, op_data, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen$descriptor() {
+ return H5Aopen.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static MethodHandle H5Aopen$handle() {
+ return H5Aopen.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static MemorySegment H5Aopen$address() {
+ return H5Aopen.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static long H5Aopen(long obj_id, MemorySegment attr_name, long aapl_id) {
+ var mh$ = H5Aopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen", obj_id, attr_name, aapl_id);
+ }
+ return (long)mh$.invokeExact(obj_id, attr_name, aapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_async$descriptor() {
+ return H5Aopen_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_async$handle() {
+ return H5Aopen_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_async$address() {
+ return H5Aopen_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Aopen_async(MemorySegment app_file, MemorySegment app_func, int app_line, long obj_id, MemorySegment attr_name, long aapl_id, long es_id) {
+ var mh$ = H5Aopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_async", app_file, app_func, app_line, obj_id, attr_name, aapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, obj_id, attr_name, aapl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_idx$descriptor() {
+ return H5Aopen_by_idx.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_idx$handle() {
+ return H5Aopen_by_idx.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_idx$address() {
+ return H5Aopen_by_idx.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static long H5Aopen_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order, long n, long aapl_id, long lapl_id) {
+ var mh$ = H5Aopen_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_idx", loc_id, obj_name, idx_type, order, n, aapl_id, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, aapl_id, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_idx_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_idx_async$descriptor() {
+ return H5Aopen_by_idx_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_idx_async$handle() {
+ return H5Aopen_by_idx_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_idx_async$address() {
+ return H5Aopen_by_idx_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Aopen_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line, long loc_id, MemorySegment obj_name, int idx_type, int order, long n, long aapl_id, long lapl_id, long es_id) {
+ var mh$ = H5Aopen_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_idx_async", app_file, app_func, app_line, loc_id, obj_name, idx_type, order, n, aapl_id, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, idx_type, order, n, aapl_id, lapl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_name$descriptor() {
+ return H5Aopen_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_name$handle() {
+ return H5Aopen_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_name$address() {
+ return H5Aopen_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static long H5Aopen_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name, long aapl_id, long lapl_id) {
+ var mh$ = H5Aopen_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_name", loc_id, obj_name, attr_name, aapl_id, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, attr_name, aapl_id, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_name_async$descriptor() {
+ return H5Aopen_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_name_async$handle() {
+ return H5Aopen_by_name_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_name_async$address() {
+ return H5Aopen_by_name_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Aopen_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line, long loc_id, MemorySegment obj_name, MemorySegment attr_name, long aapl_id, long lapl_id, long es_id) {
+ var mh$ = H5Aopen_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_name_async", app_file, app_func, app_line, loc_id, obj_name, attr_name, aapl_id, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, attr_name, aapl_id, lapl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aread {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Aread$descriptor() {
+ return H5Aread.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Aread$handle() {
+ return H5Aread.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Aread$address() {
+ return H5Aread.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static int H5Aread(long attr_id, long type_id, MemorySegment buf) {
+ var mh$ = H5Aread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aread", attr_id, type_id, buf);
+ }
+ return (int)mh$.invokeExact(attr_id, type_id, buf);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aread_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aread_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id, hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aread_async$descriptor() {
+ return H5Aread_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id, hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aread_async$handle() {
+ return H5Aread_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id, hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aread_async$address() {
+ return H5Aread_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id, hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static int H5Aread_async(MemorySegment app_file, MemorySegment app_func, int app_line, long attr_id, long dtype_id, MemorySegment buf, long es_id) {
+ var mh$ = H5Aread_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aread_async", app_file, app_func, app_line, attr_id, dtype_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, dtype_id, buf, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static FunctionDescriptor H5Arename$descriptor() {
+ return H5Arename.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static MethodHandle H5Arename$handle() {
+ return H5Arename.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static MemorySegment H5Arename$address() {
+ return H5Arename.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static int H5Arename(long loc_id, MemorySegment old_name, MemorySegment new_name) {
+ var mh$ = H5Arename.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename", loc_id, old_name, new_name);
+ }
+ return (int)mh$.invokeExact(loc_id, old_name, new_name);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Arename_async$descriptor() {
+ return H5Arename_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Arename_async$handle() {
+ return H5Arename_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Arename_async$address() {
+ return H5Arename_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static int H5Arename_async(MemorySegment app_file, MemorySegment app_func, int app_line, long loc_id, MemorySegment old_name, MemorySegment new_name, long es_id) {
+ var mh$ = H5Arename_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename_async", app_file, app_func, app_line, loc_id, old_name, new_name, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, old_name, new_name, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Arename_by_name_async$descriptor() {
+ return H5Arename_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Arename_by_name_async$handle() {
+ return H5Arename_by_name_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Arename_by_name_async$address() {
+ return H5Arename_by_name_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Arename_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line, long loc_id, MemorySegment obj_name, MemorySegment old_attr_name, MemorySegment new_attr_name, long lapl_id, long es_id) {
+ var mh$ = H5Arename_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename_by_name_async", app_file, app_func, app_line, loc_id, obj_name, old_attr_name, new_attr_name, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, old_attr_name, new_attr_name, lapl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Awrite {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Awrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Awrite$descriptor() {
+ return H5Awrite.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static MethodHandle H5Awrite$handle() {
+ return H5Awrite.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static MemorySegment H5Awrite$address() {
+ return H5Awrite.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static int H5Awrite(long attr_id, long type_id, MemorySegment buf) {
+ var mh$ = H5Awrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Awrite", attr_id, type_id, buf);
+ }
+ return (int)mh$.invokeExact(attr_id, type_id, buf);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Awrite_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Awrite_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id, hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Awrite_async$descriptor() {
+ return H5Awrite_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id, hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Awrite_async$handle() {
+ return H5Awrite_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id, hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Awrite_async$address() {
+ return H5Awrite_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id, hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static int H5Awrite_async(MemorySegment app_file, MemorySegment app_func, int app_line, long attr_id, long type_id, MemorySegment buf, long es_id) {
+ var mh$ = H5Awrite_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Awrite_async", app_file, app_func, app_line, attr_id, type_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, type_id, buf, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Arename_by_name$descriptor() {
+ return H5Arename_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Arename_by_name$handle() {
+ return H5Arename_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Arename_by_name$address() {
+ return H5Arename_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Arename_by_name(long loc_id, MemorySegment obj_name, MemorySegment old_attr_name, MemorySegment new_attr_name, long lapl_id) {
+ var mh$ = H5Arename_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename_by_name", loc_id, obj_name, old_attr_name, new_attr_name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, old_attr_name, new_attr_name, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate1$descriptor() {
+ return H5Acreate1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static MethodHandle H5Acreate1$handle() {
+ return H5Acreate1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static MemorySegment H5Acreate1$address() {
+ return H5Acreate1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static long H5Acreate1(long loc_id, MemorySegment name, long type_id, long space_id, long acpl_id) {
+ var mh$ = H5Acreate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate1", loc_id, name, type_id, space_id, acpl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, type_id, space_id, acpl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_num_attrs {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_num_attrs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_num_attrs$descriptor() {
+ return H5Aget_num_attrs.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static MethodHandle H5Aget_num_attrs$handle() {
+ return H5Aget_num_attrs.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static MemorySegment H5Aget_num_attrs$address() {
+ return H5Aget_num_attrs.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static int H5Aget_num_attrs(long loc_id) {
+ var mh$ = H5Aget_num_attrs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_num_attrs", loc_id);
+ }
+ return (int)mh$.invokeExact(loc_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aiterate1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aiterate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Aiterate1$descriptor() {
+ return H5Aiterate1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Aiterate1$handle() {
+ return H5Aiterate1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Aiterate1$address() {
+ return H5Aiterate1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static int H5Aiterate1(long loc_id, MemorySegment idx, MemorySegment op, MemorySegment op_data) {
+ var mh$ = H5Aiterate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aiterate1", loc_id, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(loc_id, idx, op, op_data);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_idx$descriptor() {
+ return H5Aopen_idx.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static MethodHandle H5Aopen_idx$handle() {
+ return H5Aopen_idx.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static MemorySegment H5Aopen_idx$address() {
+ return H5Aopen_idx.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static long H5Aopen_idx(long loc_id, int idx) {
+ var mh$ = H5Aopen_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_idx", loc_id, idx);
+ }
+ return (long)mh$.invokeExact(loc_id, idx);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_name$descriptor() {
+ return H5Aopen_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Aopen_name$handle() {
+ return H5Aopen_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Aopen_name$address() {
+ return H5Aopen_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Aopen_name(long loc_id, MemorySegment name) {
+ var mh$ = H5Aopen_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_name", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5C_incr__off = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_incr_mode.H5C_incr__off = 0
+ * }
+ */
+ public static int H5C_incr__off() {
+ return H5C_incr__off;
+ }
+ private static final int H5C_incr__threshold = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_incr_mode.H5C_incr__threshold = 1
+ * }
+ */
+ public static int H5C_incr__threshold() {
+ return H5C_incr__threshold;
+ }
+ private static final int H5C_flash_incr__off = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_flash_incr_mode.H5C_flash_incr__off = 0
+ * }
+ */
+ public static int H5C_flash_incr__off() {
+ return H5C_flash_incr__off;
+ }
+ private static final int H5C_flash_incr__add_space = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_flash_incr_mode.H5C_flash_incr__add_space = 1
+ * }
+ */
+ public static int H5C_flash_incr__add_space() {
+ return H5C_flash_incr__add_space;
+ }
+ private static final int H5C_decr__off = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__off = 0
+ * }
+ */
+ public static int H5C_decr__off() {
+ return H5C_decr__off;
+ }
+ private static final int H5C_decr__threshold = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__threshold = 1
+ * }
+ */
+ public static int H5C_decr__threshold() {
+ return H5C_decr__threshold;
+ }
+ private static final int H5C_decr__age_out = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__age_out = 2
+ * }
+ */
+ public static int H5C_decr__age_out() {
+ return H5C_decr__age_out;
+ }
+ private static final int H5C_decr__age_out_with_threshold = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__age_out_with_threshold = 3
+ * }
+ */
+ public static int H5C_decr__age_out_with_threshold() {
+ return H5C_decr__age_out_with_threshold;
+ }
+ private static final int H5D_LAYOUT_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_LAYOUT_ERROR = -1
+ * }
+ */
+ public static int H5D_LAYOUT_ERROR() {
+ return H5D_LAYOUT_ERROR;
+ }
+ private static final int H5D_COMPACT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_COMPACT = 0
+ * }
+ */
+ public static int H5D_COMPACT() {
+ return H5D_COMPACT;
+ }
+ private static final int H5D_CONTIGUOUS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_CONTIGUOUS = 1
+ * }
+ */
+ public static int H5D_CONTIGUOUS() {
+ return H5D_CONTIGUOUS;
+ }
+ private static final int H5D_CHUNKED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_CHUNKED = 2
+ * }
+ */
+ public static int H5D_CHUNKED() {
+ return H5D_CHUNKED;
+ }
+ private static final int H5D_VIRTUAL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_VIRTUAL = 3
+ * }
+ */
+ public static int H5D_VIRTUAL() {
+ return H5D_VIRTUAL;
+ }
+ private static final int H5D_NLAYOUTS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_NLAYOUTS = 4
+ * }
+ */
+ public static int H5D_NLAYOUTS() {
+ return H5D_NLAYOUTS;
+ }
+ private static final int H5D_CHUNK_IDX_BTREE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_BTREE = 0
+ * }
+ */
+ public static int H5D_CHUNK_IDX_BTREE() {
+ return H5D_CHUNK_IDX_BTREE;
+ }
+ private static final int H5D_CHUNK_IDX_SINGLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_SINGLE = 1
+ * }
+ */
+ public static int H5D_CHUNK_IDX_SINGLE() {
+ return H5D_CHUNK_IDX_SINGLE;
+ }
+ private static final int H5D_CHUNK_IDX_NONE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_NONE = 2
+ * }
+ */
+ public static int H5D_CHUNK_IDX_NONE() {
+ return H5D_CHUNK_IDX_NONE;
+ }
+ private static final int H5D_CHUNK_IDX_FARRAY = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_FARRAY = 3
+ * }
+ */
+ public static int H5D_CHUNK_IDX_FARRAY() {
+ return H5D_CHUNK_IDX_FARRAY;
+ }
+ private static final int H5D_CHUNK_IDX_EARRAY = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_EARRAY = 4
+ * }
+ */
+ public static int H5D_CHUNK_IDX_EARRAY() {
+ return H5D_CHUNK_IDX_EARRAY;
+ }
+ private static final int H5D_CHUNK_IDX_BT2 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_BT2 = 5
+ * }
+ */
+ public static int H5D_CHUNK_IDX_BT2() {
+ return H5D_CHUNK_IDX_BT2;
+ }
+ private static final int H5D_CHUNK_IDX_NTYPES = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_NTYPES = 6
+ * }
+ */
+ public static int H5D_CHUNK_IDX_NTYPES() {
+ return H5D_CHUNK_IDX_NTYPES;
+ }
+ private static final int H5D_ALLOC_TIME_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_ERROR = -1
+ * }
+ */
+ public static int H5D_ALLOC_TIME_ERROR() {
+ return H5D_ALLOC_TIME_ERROR;
+ }
+ private static final int H5D_ALLOC_TIME_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_DEFAULT = 0
+ * }
+ */
+ public static int H5D_ALLOC_TIME_DEFAULT() {
+ return H5D_ALLOC_TIME_DEFAULT;
+ }
+ private static final int H5D_ALLOC_TIME_EARLY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_EARLY = 1
+ * }
+ */
+ public static int H5D_ALLOC_TIME_EARLY() {
+ return H5D_ALLOC_TIME_EARLY;
+ }
+ private static final int H5D_ALLOC_TIME_LATE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_LATE = 2
+ * }
+ */
+ public static int H5D_ALLOC_TIME_LATE() {
+ return H5D_ALLOC_TIME_LATE;
+ }
+ private static final int H5D_ALLOC_TIME_INCR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_INCR = 3
+ * }
+ */
+ public static int H5D_ALLOC_TIME_INCR() {
+ return H5D_ALLOC_TIME_INCR;
+ }
+ private static final int H5D_SPACE_STATUS_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_ERROR = -1
+ * }
+ */
+ public static int H5D_SPACE_STATUS_ERROR() {
+ return H5D_SPACE_STATUS_ERROR;
+ }
+ private static final int H5D_SPACE_STATUS_NOT_ALLOCATED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_NOT_ALLOCATED = 0
+ * }
+ */
+ public static int H5D_SPACE_STATUS_NOT_ALLOCATED() {
+ return H5D_SPACE_STATUS_NOT_ALLOCATED;
+ }
+ private static final int H5D_SPACE_STATUS_PART_ALLOCATED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_PART_ALLOCATED = 1
+ * }
+ */
+ public static int H5D_SPACE_STATUS_PART_ALLOCATED() {
+ return H5D_SPACE_STATUS_PART_ALLOCATED;
+ }
+ private static final int H5D_SPACE_STATUS_ALLOCATED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_ALLOCATED = 2
+ * }
+ */
+ public static int H5D_SPACE_STATUS_ALLOCATED() {
+ return H5D_SPACE_STATUS_ALLOCATED;
+ }
+ private static final int H5D_FILL_TIME_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_ERROR = -1
+ * }
+ */
+ public static int H5D_FILL_TIME_ERROR() {
+ return H5D_FILL_TIME_ERROR;
+ }
+ private static final int H5D_FILL_TIME_ALLOC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_ALLOC = 0
+ * }
+ */
+ public static int H5D_FILL_TIME_ALLOC() {
+ return H5D_FILL_TIME_ALLOC;
+ }
+ private static final int H5D_FILL_TIME_NEVER = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_NEVER = 1
+ * }
+ */
+ public static int H5D_FILL_TIME_NEVER() {
+ return H5D_FILL_TIME_NEVER;
+ }
+ private static final int H5D_FILL_TIME_IFSET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_IFSET = 2
+ * }
+ */
+ public static int H5D_FILL_TIME_IFSET() {
+ return H5D_FILL_TIME_IFSET;
+ }
+ private static final int H5D_FILL_VALUE_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_ERROR = -1
+ * }
+ */
+ public static int H5D_FILL_VALUE_ERROR() {
+ return H5D_FILL_VALUE_ERROR;
+ }
+ private static final int H5D_FILL_VALUE_UNDEFINED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_UNDEFINED = 0
+ * }
+ */
+ public static int H5D_FILL_VALUE_UNDEFINED() {
+ return H5D_FILL_VALUE_UNDEFINED;
+ }
+ private static final int H5D_FILL_VALUE_DEFAULT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_DEFAULT = 1
+ * }
+ */
+ public static int H5D_FILL_VALUE_DEFAULT() {
+ return H5D_FILL_VALUE_DEFAULT;
+ }
+ private static final int H5D_FILL_VALUE_USER_DEFINED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_USER_DEFINED = 2
+ * }
+ */
+ public static int H5D_FILL_VALUE_USER_DEFINED() {
+ return H5D_FILL_VALUE_USER_DEFINED;
+ }
+ private static final int H5D_VDS_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_vds_view_t.H5D_VDS_ERROR = -1
+ * }
+ */
+ public static int H5D_VDS_ERROR() {
+ return H5D_VDS_ERROR;
+ }
+ private static final int H5D_VDS_FIRST_MISSING = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_vds_view_t.H5D_VDS_FIRST_MISSING = 0
+ * }
+ */
+ public static int H5D_VDS_FIRST_MISSING() {
+ return H5D_VDS_FIRST_MISSING;
+ }
+ private static final int H5D_VDS_LAST_AVAILABLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_vds_view_t.H5D_VDS_LAST_AVAILABLE = 1
+ * }
+ */
+ public static int H5D_VDS_LAST_AVAILABLE() {
+ return H5D_VDS_LAST_AVAILABLE;
+ }
+}
diff --git a/java/jsrc/features/ros3/linux/H5FD_ros3_fapl_t.java b/java/jsrc/features/ros3/linux/H5FD_ros3_fapl_t.java
new file mode 100644
index 00000000000..c16dd432a9f
--- /dev/null
+++ b/java/jsrc/features/ros3/linux/H5FD_ros3_fapl_t.java
@@ -0,0 +1,402 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+/**
+ * {@snippet lang=c :
+ * struct H5FD_ros3_fapl_t {
+ * int32_t version;
+ * bool authenticate;
+ * char aws_region[33];
+ * char secret_id[129];
+ * char secret_key[129];
+ * }
+ * }
+ */
+public class H5FD_ros3_fapl_t {
+
+ H5FD_ros3_fapl_t()
+ {
+ // Should not be called directly
+ }
+
+ private static final GroupLayout $LAYOUT =
+ MemoryLayout
+ .structLayout(hdf5_h.C_INT.withName("version"), hdf5_h.C_BOOL.withName("authenticate"),
+ MemoryLayout.sequenceLayout(33, hdf5_h.C_CHAR).withName("aws_region"),
+ MemoryLayout.sequenceLayout(129, hdf5_h.C_CHAR).withName("secret_id"),
+ MemoryLayout.sequenceLayout(129, hdf5_h.C_CHAR).withName("secret_key"))
+ .withName("H5FD_ros3_fapl_t");
+
+ /**
+ * The layout of this struct
+ */
+ public static final GroupLayout layout() { return $LAYOUT; }
+
+ private static final OfInt version$LAYOUT = (OfInt)$LAYOUT.select(groupElement("version"));
+
+ /**
+ * Layout for field:
+ * {@snippet lang=c :
+ * int32_t version
+ * }
+ */
+ public static final OfInt version$layout() { return version$LAYOUT; }
+
+ private static final long version$OFFSET = 0;
+
+ /**
+ * Offset for field:
+ * {@snippet lang=c :
+ * int32_t version
+ * }
+ */
+ public static final long version$offset() { return version$OFFSET; }
+
+ /**
+ * Getter for field:
+ * {@snippet lang=c :
+ * int32_t version
+ * }
+ */
+ public static int version(MemorySegment struct) { return struct.get(version$LAYOUT, version$OFFSET); }
+
+ /**
+ * Setter for field:
+ * {@snippet lang=c :
+ * int32_t version
+ * }
+ */
+ public static void version(MemorySegment struct, int fieldValue)
+ {
+ struct.set(version$LAYOUT, version$OFFSET, fieldValue);
+ }
+
+ private static final OfBoolean authenticate$LAYOUT =
+ (OfBoolean)$LAYOUT.select(groupElement("authenticate"));
+
+ /**
+ * Layout for field:
+ * {@snippet lang=c :
+ * bool authenticate
+ * }
+ */
+ public static final OfBoolean authenticate$layout() { return authenticate$LAYOUT; }
+
+ private static final long authenticate$OFFSET = 4;
+
+ /**
+ * Offset for field:
+ * {@snippet lang=c :
+ * bool authenticate
+ * }
+ */
+ public static final long authenticate$offset() { return authenticate$OFFSET; }
+
+ /**
+ * Getter for field:
+ * {@snippet lang=c :
+ * bool authenticate
+ * }
+ */
+ public static boolean authenticate(MemorySegment struct)
+ {
+ return struct.get(authenticate$LAYOUT, authenticate$OFFSET);
+ }
+
+ /**
+ * Setter for field:
+ * {@snippet lang=c :
+ * bool authenticate
+ * }
+ */
+ public static void authenticate(MemorySegment struct, boolean fieldValue)
+ {
+ struct.set(authenticate$LAYOUT, authenticate$OFFSET, fieldValue);
+ }
+
+ private static final SequenceLayout aws_region$LAYOUT =
+ (SequenceLayout)$LAYOUT.select(groupElement("aws_region"));
+
+ /**
+ * Layout for field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static final SequenceLayout aws_region$layout() { return aws_region$LAYOUT; }
+
+ private static final long aws_region$OFFSET = 5;
+
+ /**
+ * Offset for field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static final long aws_region$offset() { return aws_region$OFFSET; }
+
+ /**
+ * Getter for field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static MemorySegment aws_region(MemorySegment struct)
+ {
+ return struct.asSlice(aws_region$OFFSET, aws_region$LAYOUT.byteSize());
+ }
+
+ /**
+ * Setter for field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static void aws_region(MemorySegment struct, MemorySegment fieldValue)
+ {
+ MemorySegment.copy(fieldValue, 0L, struct, aws_region$OFFSET, aws_region$LAYOUT.byteSize());
+ }
+
+ private static long[] aws_region$DIMS = {33};
+
+ /**
+ * Dimensions for array field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static long[] aws_region$dimensions() { return aws_region$DIMS; }
+ private static final VarHandle aws_region$ELEM_HANDLE = aws_region$LAYOUT.varHandle(sequenceElement());
+
+ /**
+ * Indexed getter for field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static byte aws_region(MemorySegment struct, long index0)
+ {
+ return (byte)aws_region$ELEM_HANDLE.get(struct, 0L, index0);
+ }
+
+ /**
+ * Indexed setter for field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static void aws_region(MemorySegment struct, long index0, byte fieldValue)
+ {
+ aws_region$ELEM_HANDLE.set(struct, 0L, index0, fieldValue);
+ }
+
+ private static final SequenceLayout secret_id$LAYOUT =
+ (SequenceLayout)$LAYOUT.select(groupElement("secret_id"));
+
+ /**
+ * Layout for field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static final SequenceLayout secret_id$layout() { return secret_id$LAYOUT; }
+
+ private static final long secret_id$OFFSET = 38;
+
+ /**
+ * Offset for field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static final long secret_id$offset() { return secret_id$OFFSET; }
+
+ /**
+ * Getter for field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static MemorySegment secret_id(MemorySegment struct)
+ {
+ return struct.asSlice(secret_id$OFFSET, secret_id$LAYOUT.byteSize());
+ }
+
+ /**
+ * Setter for field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static void secret_id(MemorySegment struct, MemorySegment fieldValue)
+ {
+ MemorySegment.copy(fieldValue, 0L, struct, secret_id$OFFSET, secret_id$LAYOUT.byteSize());
+ }
+
+ private static long[] secret_id$DIMS = {129};
+
+ /**
+ * Dimensions for array field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static long[] secret_id$dimensions() { return secret_id$DIMS; }
+ private static final VarHandle secret_id$ELEM_HANDLE = secret_id$LAYOUT.varHandle(sequenceElement());
+
+ /**
+ * Indexed getter for field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static byte secret_id(MemorySegment struct, long index0)
+ {
+ return (byte)secret_id$ELEM_HANDLE.get(struct, 0L, index0);
+ }
+
+ /**
+ * Indexed setter for field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static void secret_id(MemorySegment struct, long index0, byte fieldValue)
+ {
+ secret_id$ELEM_HANDLE.set(struct, 0L, index0, fieldValue);
+ }
+
+ private static final SequenceLayout secret_key$LAYOUT =
+ (SequenceLayout)$LAYOUT.select(groupElement("secret_key"));
+
+ /**
+ * Layout for field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static final SequenceLayout secret_key$layout() { return secret_key$LAYOUT; }
+
+ private static final long secret_key$OFFSET = 167;
+
+ /**
+ * Offset for field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static final long secret_key$offset() { return secret_key$OFFSET; }
+
+ /**
+ * Getter for field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static MemorySegment secret_key(MemorySegment struct)
+ {
+ return struct.asSlice(secret_key$OFFSET, secret_key$LAYOUT.byteSize());
+ }
+
+ /**
+ * Setter for field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static void secret_key(MemorySegment struct, MemorySegment fieldValue)
+ {
+ MemorySegment.copy(fieldValue, 0L, struct, secret_key$OFFSET, secret_key$LAYOUT.byteSize());
+ }
+
+ private static long[] secret_key$DIMS = {129};
+
+ /**
+ * Dimensions for array field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static long[] secret_key$dimensions() { return secret_key$DIMS; }
+ private static final VarHandle secret_key$ELEM_HANDLE = secret_key$LAYOUT.varHandle(sequenceElement());
+
+ /**
+ * Indexed getter for field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static byte secret_key(MemorySegment struct, long index0)
+ {
+ return (byte)secret_key$ELEM_HANDLE.get(struct, 0L, index0);
+ }
+
+ /**
+ * Indexed setter for field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static void secret_key(MemorySegment struct, long index0, byte fieldValue)
+ {
+ secret_key$ELEM_HANDLE.set(struct, 0L, index0, fieldValue);
+ }
+
+ /**
+ * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}.
+ * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()}
+ */
+ public static MemorySegment asSlice(MemorySegment array, long index)
+ {
+ return array.asSlice(layout().byteSize() * index);
+ }
+
+ /**
+ * The size (in bytes) of this struct
+ */
+ public static long sizeof() { return layout().byteSize(); }
+
+ /**
+ * Allocate a segment of size {@code layout().byteSize()} using {@code allocator}
+ */
+ public static MemorySegment allocate(SegmentAllocator allocator) { return allocator.allocate(layout()); }
+
+ /**
+ * Allocate an array of size {@code elementCount} using {@code allocator}.
+ * The returned segment has size {@code elementCount * layout().byteSize()}.
+ */
+ public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator)
+ {
+ return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout()));
+ }
+
+ /**
+ * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any).
+ * The returned segment has size {@code layout().byteSize()}
+ */
+ public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup)
+ {
+ return reinterpret(addr, 1, arena, cleanup);
+ }
+
+ /**
+ * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any).
+ * The returned segment has size {@code elementCount * layout().byteSize()}
+ */
+ public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena,
+ Consumer cleanup)
+ {
+ return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup);
+ }
+}
diff --git a/java/jsrc/features/ros3/linux/hdf5_h.java b/java/jsrc/features/ros3/linux/hdf5_h.java
new file mode 100644
index 00000000000..559c684bae4
--- /dev/null
+++ b/java/jsrc/features/ros3/linux/hdf5_h.java
@@ -0,0 +1,28007 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h extends hdf5_h_1 {
+
+ hdf5_h()
+ {
+ // Should not be called directly
+ }
+ private static final int H5Z_CB_CONT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_CONT = 1
+ * }
+ */
+ public static int H5Z_CB_CONT() { return H5Z_CB_CONT; }
+ private static final int H5Z_CB_NO = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_NO = 2
+ * }
+ */
+ public static int H5Z_CB_NO() { return H5Z_CB_NO; }
+
+ private static class H5Zfilter_avail {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zfilter_avail");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Zfilter_avail$descriptor() { return H5Zfilter_avail.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static MethodHandle H5Zfilter_avail$handle() { return H5Zfilter_avail.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static MemorySegment H5Zfilter_avail$address() { return H5Zfilter_avail.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static int H5Zfilter_avail(int id)
+ {
+ var mh$ = H5Zfilter_avail.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zfilter_avail", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Zget_filter_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zget_filter_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Zget_filter_info$descriptor() { return H5Zget_filter_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static MethodHandle H5Zget_filter_info$handle() { return H5Zget_filter_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static MemorySegment H5Zget_filter_info$address() { return H5Zget_filter_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static int H5Zget_filter_info(int filter, MemorySegment filter_config_flags)
+ {
+ var mh$ = H5Zget_filter_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zget_filter_info", filter, filter_config_flags);
+ }
+ return (int)mh$.invokeExact(filter, filter_config_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5D_MPIO_NO_CHUNK_OPTIMIZATION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_chunk_opt_mode_t.H5D_MPIO_NO_CHUNK_OPTIMIZATION = 0
+ * }
+ */
+ public static int H5D_MPIO_NO_CHUNK_OPTIMIZATION() { return H5D_MPIO_NO_CHUNK_OPTIMIZATION; }
+ private static final int H5D_MPIO_LINK_CHUNK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_chunk_opt_mode_t.H5D_MPIO_LINK_CHUNK = 1
+ * }
+ */
+ public static int H5D_MPIO_LINK_CHUNK() { return H5D_MPIO_LINK_CHUNK; }
+ private static final int H5D_MPIO_MULTI_CHUNK = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_chunk_opt_mode_t.H5D_MPIO_MULTI_CHUNK = 2
+ * }
+ */
+ public static int H5D_MPIO_MULTI_CHUNK() { return H5D_MPIO_MULTI_CHUNK; }
+ private static final int H5D_MPIO_NO_COLLECTIVE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_NO_COLLECTIVE = 0
+ * }
+ */
+ public static int H5D_MPIO_NO_COLLECTIVE() { return H5D_MPIO_NO_COLLECTIVE; }
+ private static final int H5D_MPIO_CHUNK_INDEPENDENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CHUNK_INDEPENDENT = 1
+ * }
+ */
+ public static int H5D_MPIO_CHUNK_INDEPENDENT() { return H5D_MPIO_CHUNK_INDEPENDENT; }
+ private static final int H5D_MPIO_CHUNK_COLLECTIVE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CHUNK_COLLECTIVE = 2
+ * }
+ */
+ public static int H5D_MPIO_CHUNK_COLLECTIVE() { return H5D_MPIO_CHUNK_COLLECTIVE; }
+ private static final int H5D_MPIO_CHUNK_MIXED = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CHUNK_MIXED = 3
+ * }
+ */
+ public static int H5D_MPIO_CHUNK_MIXED() { return H5D_MPIO_CHUNK_MIXED; }
+ private static final int H5D_MPIO_CONTIGUOUS_COLLECTIVE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CONTIGUOUS_COLLECTIVE = 4
+ * }
+ */
+ public static int H5D_MPIO_CONTIGUOUS_COLLECTIVE() { return H5D_MPIO_CONTIGUOUS_COLLECTIVE; }
+ private static final int H5D_MPIO_COLLECTIVE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_COLLECTIVE = 0
+ * }
+ */
+ public static int H5D_MPIO_COLLECTIVE() { return H5D_MPIO_COLLECTIVE; }
+ private static final int H5D_MPIO_SET_INDEPENDENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_SET_INDEPENDENT = 1
+ * }
+ */
+ public static int H5D_MPIO_SET_INDEPENDENT() { return H5D_MPIO_SET_INDEPENDENT; }
+ private static final int H5D_MPIO_DATATYPE_CONVERSION = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_DATATYPE_CONVERSION = 2
+ * }
+ */
+ public static int H5D_MPIO_DATATYPE_CONVERSION() { return H5D_MPIO_DATATYPE_CONVERSION; }
+ private static final int H5D_MPIO_DATA_TRANSFORMS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_DATA_TRANSFORMS = 4
+ * }
+ */
+ public static int H5D_MPIO_DATA_TRANSFORMS() { return H5D_MPIO_DATA_TRANSFORMS; }
+ private static final int H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED = 8
+ * }
+ */
+ public static int H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED()
+ {
+ return H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED;
+ }
+ private static final int H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES = 16
+ * }
+ */
+ public static int H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES()
+ {
+ return H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES;
+ }
+ private static final int H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET = 32
+ * }
+ */
+ public static int H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET()
+ {
+ return H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET;
+ }
+ private static final int H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED = 64
+ * }
+ */
+ public static int H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED()
+ {
+ return H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED;
+ }
+ private static final int H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE = 128
+ * }
+ */
+ public static int H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE()
+ {
+ return H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE;
+ }
+ private static final int H5D_MPIO_NO_SELECTION_IO = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NO_SELECTION_IO = 256
+ * }
+ */
+ public static int H5D_MPIO_NO_SELECTION_IO() { return H5D_MPIO_NO_SELECTION_IO; }
+ private static final int H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE = 512
+ * }
+ */
+ public static int H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE() { return H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE; }
+ private static final int H5D_SELECTION_IO_MODE_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_selection_io_mode_t.H5D_SELECTION_IO_MODE_DEFAULT = 0
+ * }
+ */
+ public static int H5D_SELECTION_IO_MODE_DEFAULT() { return H5D_SELECTION_IO_MODE_DEFAULT; }
+ private static final int H5D_SELECTION_IO_MODE_OFF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_selection_io_mode_t.H5D_SELECTION_IO_MODE_OFF = 1
+ * }
+ */
+ public static int H5D_SELECTION_IO_MODE_OFF() { return H5D_SELECTION_IO_MODE_OFF; }
+ private static final int H5D_SELECTION_IO_MODE_ON = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_selection_io_mode_t.H5D_SELECTION_IO_MODE_ON = 2
+ * }
+ */
+ public static int H5D_SELECTION_IO_MODE_ON() { return H5D_SELECTION_IO_MODE_ON; }
+
+ private static class H5P_CLS_ROOT_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_ROOT_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_ROOT_ID_g$layout() { return H5P_CLS_ROOT_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_ROOT_ID_g$segment() { return H5P_CLS_ROOT_ID_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static long H5P_CLS_ROOT_ID_g()
+ {
+ return H5P_CLS_ROOT_ID_g$constants.SEGMENT.get(H5P_CLS_ROOT_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static void H5P_CLS_ROOT_ID_g(long varValue)
+ {
+ H5P_CLS_ROOT_ID_g$constants.SEGMENT.set(H5P_CLS_ROOT_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_OBJECT_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_OBJECT_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_OBJECT_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_OBJECT_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_OBJECT_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_OBJECT_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_OBJECT_CREATE_ID_g()
+ {
+ return H5P_CLS_OBJECT_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_OBJECT_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_OBJECT_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_OBJECT_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_OBJECT_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_FILE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_FILE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_FILE_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_FILE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_FILE_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_FILE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_FILE_CREATE_ID_g()
+ {
+ return H5P_CLS_FILE_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_FILE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_FILE_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_FILE_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_FILE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_FILE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_FILE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_FILE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_FILE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_FILE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_FILE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_FILE_ACCESS_ID_g()
+ {
+ return H5P_CLS_FILE_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_FILE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_FILE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_FILE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_FILE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATASET_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATASET_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATASET_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_DATASET_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATASET_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_DATASET_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATASET_CREATE_ID_g()
+ {
+ return H5P_CLS_DATASET_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_DATASET_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATASET_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_DATASET_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_DATASET_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATASET_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATASET_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATASET_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_DATASET_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATASET_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_DATASET_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATASET_ACCESS_ID_g()
+ {
+ return H5P_CLS_DATASET_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_DATASET_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATASET_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_DATASET_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_DATASET_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATASET_XFER_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATASET_XFER_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATASET_XFER_ID_g$layout()
+ {
+ return H5P_CLS_DATASET_XFER_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATASET_XFER_ID_g$segment()
+ {
+ return H5P_CLS_DATASET_XFER_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATASET_XFER_ID_g()
+ {
+ return H5P_CLS_DATASET_XFER_ID_g$constants.SEGMENT.get(H5P_CLS_DATASET_XFER_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATASET_XFER_ID_g(long varValue)
+ {
+ H5P_CLS_DATASET_XFER_ID_g$constants.SEGMENT.set(H5P_CLS_DATASET_XFER_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_FILE_MOUNT_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_FILE_MOUNT_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_FILE_MOUNT_ID_g$layout() { return H5P_CLS_FILE_MOUNT_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_FILE_MOUNT_ID_g$segment()
+ {
+ return H5P_CLS_FILE_MOUNT_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static long H5P_CLS_FILE_MOUNT_ID_g()
+ {
+ return H5P_CLS_FILE_MOUNT_ID_g$constants.SEGMENT.get(H5P_CLS_FILE_MOUNT_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static void H5P_CLS_FILE_MOUNT_ID_g(long varValue)
+ {
+ H5P_CLS_FILE_MOUNT_ID_g$constants.SEGMENT.set(H5P_CLS_FILE_MOUNT_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_GROUP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_GROUP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_GROUP_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_GROUP_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_GROUP_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_GROUP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_GROUP_CREATE_ID_g()
+ {
+ return H5P_CLS_GROUP_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_GROUP_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_GROUP_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_GROUP_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_GROUP_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_GROUP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_GROUP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_GROUP_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_GROUP_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_GROUP_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_GROUP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_GROUP_ACCESS_ID_g()
+ {
+ return H5P_CLS_GROUP_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_GROUP_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_GROUP_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_GROUP_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_GROUP_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATATYPE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATATYPE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATATYPE_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_DATATYPE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATATYPE_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_DATATYPE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATATYPE_CREATE_ID_g()
+ {
+ return H5P_CLS_DATATYPE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_CLS_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATATYPE_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_DATATYPE_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATATYPE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATATYPE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATATYPE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_DATATYPE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATATYPE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_DATATYPE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATATYPE_ACCESS_ID_g()
+ {
+ return H5P_CLS_DATATYPE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_CLS_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATATYPE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_DATATYPE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_MAP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_MAP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_MAP_CREATE_ID_g$layout() { return H5P_CLS_MAP_CREATE_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_MAP_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_MAP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_MAP_CREATE_ID_g()
+ {
+ return H5P_CLS_MAP_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_MAP_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_MAP_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_MAP_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_MAP_CREATE_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_MAP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_MAP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_MAP_ACCESS_ID_g$layout() { return H5P_CLS_MAP_ACCESS_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_MAP_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_MAP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_MAP_ACCESS_ID_g()
+ {
+ return H5P_CLS_MAP_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_MAP_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_MAP_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_MAP_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_MAP_ACCESS_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_STRING_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_STRING_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_STRING_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_STRING_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_STRING_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_STRING_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_STRING_CREATE_ID_g()
+ {
+ return H5P_CLS_STRING_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_STRING_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_STRING_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_STRING_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_STRING_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_ATTRIBUTE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_ATTRIBUTE_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_ATTRIBUTE_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_ATTRIBUTE_CREATE_ID_g()
+ {
+ return H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_ATTRIBUTE_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_ATTRIBUTE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_ATTRIBUTE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_ATTRIBUTE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_ATTRIBUTE_ACCESS_ID_g()
+ {
+ return H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_ATTRIBUTE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_CLS_OBJECT_COPY_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_OBJECT_COPY_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_OBJECT_COPY_ID_g$layout()
+ {
+ return H5P_CLS_OBJECT_COPY_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_OBJECT_COPY_ID_g$segment()
+ {
+ return H5P_CLS_OBJECT_COPY_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static long H5P_CLS_OBJECT_COPY_ID_g()
+ {
+ return H5P_CLS_OBJECT_COPY_ID_g$constants.SEGMENT.get(H5P_CLS_OBJECT_COPY_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static void H5P_CLS_OBJECT_COPY_ID_g(long varValue)
+ {
+ H5P_CLS_OBJECT_COPY_ID_g$constants.SEGMENT.set(H5P_CLS_OBJECT_COPY_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_LINK_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_LINK_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_LINK_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_LINK_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_LINK_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_LINK_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_LINK_CREATE_ID_g()
+ {
+ return H5P_CLS_LINK_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_LINK_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_LINK_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_LINK_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_LINK_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_LINK_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_LINK_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_LINK_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_LINK_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_LINK_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_LINK_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_LINK_ACCESS_ID_g()
+ {
+ return H5P_CLS_LINK_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_LINK_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_LINK_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_LINK_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_LINK_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_VOL_INITIALIZE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_VOL_INITIALIZE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_VOL_INITIALIZE_ID_g$layout()
+ {
+ return H5P_CLS_VOL_INITIALIZE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_VOL_INITIALIZE_ID_g$segment()
+ {
+ return H5P_CLS_VOL_INITIALIZE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static long H5P_CLS_VOL_INITIALIZE_ID_g()
+ {
+ return H5P_CLS_VOL_INITIALIZE_ID_g$constants.SEGMENT.get(H5P_CLS_VOL_INITIALIZE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static void H5P_CLS_VOL_INITIALIZE_ID_g(long varValue)
+ {
+ H5P_CLS_VOL_INITIALIZE_ID_g$constants.SEGMENT.set(H5P_CLS_VOL_INITIALIZE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_REFERENCE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_REFERENCE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_REFERENCE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_REFERENCE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_REFERENCE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_REFERENCE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_REFERENCE_ACCESS_ID_g()
+ {
+ return H5P_CLS_REFERENCE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_CLS_REFERENCE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_REFERENCE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_REFERENCE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_REFERENCE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_LST_FILE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_FILE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_FILE_CREATE_ID_g$layout()
+ {
+ return H5P_LST_FILE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_FILE_CREATE_ID_g$segment()
+ {
+ return H5P_LST_FILE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_FILE_CREATE_ID_g()
+ {
+ return H5P_LST_FILE_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_FILE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_FILE_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_FILE_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_FILE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_FILE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_FILE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_FILE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_FILE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_FILE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_FILE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_FILE_ACCESS_ID_g()
+ {
+ return H5P_LST_FILE_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_FILE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_FILE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_FILE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_FILE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATASET_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATASET_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATASET_CREATE_ID_g$layout()
+ {
+ return H5P_LST_DATASET_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATASET_CREATE_ID_g$segment()
+ {
+ return H5P_LST_DATASET_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_DATASET_CREATE_ID_g()
+ {
+ return H5P_LST_DATASET_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_DATASET_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_DATASET_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_DATASET_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_DATASET_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATASET_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATASET_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATASET_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_DATASET_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATASET_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_DATASET_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_DATASET_ACCESS_ID_g()
+ {
+ return H5P_LST_DATASET_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_DATASET_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_DATASET_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_DATASET_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_DATASET_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATASET_XFER_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATASET_XFER_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATASET_XFER_ID_g$layout()
+ {
+ return H5P_LST_DATASET_XFER_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATASET_XFER_ID_g$segment()
+ {
+ return H5P_LST_DATASET_XFER_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static long H5P_LST_DATASET_XFER_ID_g()
+ {
+ return H5P_LST_DATASET_XFER_ID_g$constants.SEGMENT.get(H5P_LST_DATASET_XFER_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static void H5P_LST_DATASET_XFER_ID_g(long varValue)
+ {
+ H5P_LST_DATASET_XFER_ID_g$constants.SEGMENT.set(H5P_LST_DATASET_XFER_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_FILE_MOUNT_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_FILE_MOUNT_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_FILE_MOUNT_ID_g$layout() { return H5P_LST_FILE_MOUNT_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_FILE_MOUNT_ID_g$segment()
+ {
+ return H5P_LST_FILE_MOUNT_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static long H5P_LST_FILE_MOUNT_ID_g()
+ {
+ return H5P_LST_FILE_MOUNT_ID_g$constants.SEGMENT.get(H5P_LST_FILE_MOUNT_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static void H5P_LST_FILE_MOUNT_ID_g(long varValue)
+ {
+ H5P_LST_FILE_MOUNT_ID_g$constants.SEGMENT.set(H5P_LST_FILE_MOUNT_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_LST_GROUP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_GROUP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_GROUP_CREATE_ID_g$layout()
+ {
+ return H5P_LST_GROUP_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_GROUP_CREATE_ID_g$segment()
+ {
+ return H5P_LST_GROUP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_GROUP_CREATE_ID_g()
+ {
+ return H5P_LST_GROUP_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_GROUP_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_GROUP_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_GROUP_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_GROUP_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_GROUP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_GROUP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_GROUP_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_GROUP_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_GROUP_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_GROUP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_GROUP_ACCESS_ID_g()
+ {
+ return H5P_LST_GROUP_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_GROUP_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_GROUP_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_GROUP_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_GROUP_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATATYPE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATATYPE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATATYPE_CREATE_ID_g$layout()
+ {
+ return H5P_LST_DATATYPE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATATYPE_CREATE_ID_g$segment()
+ {
+ return H5P_LST_DATATYPE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_DATATYPE_CREATE_ID_g()
+ {
+ return H5P_LST_DATATYPE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_LST_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_DATATYPE_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_DATATYPE_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATATYPE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATATYPE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATATYPE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_DATATYPE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATATYPE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_DATATYPE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_DATATYPE_ACCESS_ID_g()
+ {
+ return H5P_LST_DATATYPE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_LST_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_DATATYPE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_DATATYPE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_MAP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_MAP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_MAP_CREATE_ID_g$layout() { return H5P_LST_MAP_CREATE_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_MAP_CREATE_ID_g$segment()
+ {
+ return H5P_LST_MAP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_MAP_CREATE_ID_g()
+ {
+ return H5P_LST_MAP_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_MAP_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_MAP_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_MAP_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_MAP_CREATE_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_LST_MAP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_MAP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_MAP_ACCESS_ID_g$layout() { return H5P_LST_MAP_ACCESS_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_MAP_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_MAP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_MAP_ACCESS_ID_g()
+ {
+ return H5P_LST_MAP_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_MAP_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_MAP_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_MAP_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_MAP_ACCESS_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_LST_ATTRIBUTE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_ATTRIBUTE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_ATTRIBUTE_CREATE_ID_g$layout()
+ {
+ return H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_ATTRIBUTE_CREATE_ID_g$segment()
+ {
+ return H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_ATTRIBUTE_CREATE_ID_g()
+ {
+ return H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_ATTRIBUTE_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_ATTRIBUTE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_ATTRIBUTE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_ATTRIBUTE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_ATTRIBUTE_ACCESS_ID_g()
+ {
+ return H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_ATTRIBUTE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_LST_OBJECT_COPY_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_OBJECT_COPY_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_OBJECT_COPY_ID_g$layout()
+ {
+ return H5P_LST_OBJECT_COPY_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_OBJECT_COPY_ID_g$segment()
+ {
+ return H5P_LST_OBJECT_COPY_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static long H5P_LST_OBJECT_COPY_ID_g()
+ {
+ return H5P_LST_OBJECT_COPY_ID_g$constants.SEGMENT.get(H5P_LST_OBJECT_COPY_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static void H5P_LST_OBJECT_COPY_ID_g(long varValue)
+ {
+ H5P_LST_OBJECT_COPY_ID_g$constants.SEGMENT.set(H5P_LST_OBJECT_COPY_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_LINK_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_LINK_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_LINK_CREATE_ID_g$layout()
+ {
+ return H5P_LST_LINK_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_LINK_CREATE_ID_g$segment()
+ {
+ return H5P_LST_LINK_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_LINK_CREATE_ID_g()
+ {
+ return H5P_LST_LINK_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_LINK_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_LINK_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_LINK_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_LINK_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_LINK_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_LINK_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_LINK_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_LINK_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_LINK_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_LINK_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_LINK_ACCESS_ID_g()
+ {
+ return H5P_LST_LINK_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_LINK_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_LINK_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_LINK_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_LINK_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_VOL_INITIALIZE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_VOL_INITIALIZE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_VOL_INITIALIZE_ID_g$layout()
+ {
+ return H5P_LST_VOL_INITIALIZE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_VOL_INITIALIZE_ID_g$segment()
+ {
+ return H5P_LST_VOL_INITIALIZE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static long H5P_LST_VOL_INITIALIZE_ID_g()
+ {
+ return H5P_LST_VOL_INITIALIZE_ID_g$constants.SEGMENT.get(H5P_LST_VOL_INITIALIZE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static void H5P_LST_VOL_INITIALIZE_ID_g(long varValue)
+ {
+ H5P_LST_VOL_INITIALIZE_ID_g$constants.SEGMENT.set(H5P_LST_VOL_INITIALIZE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_REFERENCE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_REFERENCE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_REFERENCE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_REFERENCE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_REFERENCE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_REFERENCE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_REFERENCE_ACCESS_ID_g()
+ {
+ return H5P_LST_REFERENCE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_LST_REFERENCE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_REFERENCE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_REFERENCE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_REFERENCE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5Pclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pclose$descriptor() { return H5Pclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pclose$handle() { return H5Pclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pclose$address() { return H5Pclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static int H5Pclose(long plist_id)
+ {
+ var mh$ = H5Pclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pclose", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pclose_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pclose_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pclose_class$descriptor() { return H5Pclose_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pclose_class$handle() { return H5Pclose_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pclose_class$address() { return H5Pclose_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static int H5Pclose_class(long plist_id)
+ {
+ var mh$ = H5Pclose_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pclose_class", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcopy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pcopy$descriptor() { return H5Pcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pcopy$handle() { return H5Pcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pcopy$address() { return H5Pcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static long H5Pcopy(long plist_id)
+ {
+ var mh$ = H5Pcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcopy", plist_id);
+ }
+ return (long)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcopy_prop {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcopy_prop");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Pcopy_prop$descriptor() { return H5Pcopy_prop.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Pcopy_prop$handle() { return H5Pcopy_prop.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Pcopy_prop$address() { return H5Pcopy_prop.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static int H5Pcopy_prop(long dst_id, long src_id, MemorySegment name)
+ {
+ var mh$ = H5Pcopy_prop.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcopy_prop", dst_id, src_id, name);
+ }
+ return (int)mh$.invokeExact(dst_id, src_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcreate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pcreate$descriptor() { return H5Pcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static MethodHandle H5Pcreate$handle() { return H5Pcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static MemorySegment H5Pcreate$address() { return H5Pcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static long H5Pcreate(long cls_id)
+ {
+ var mh$ = H5Pcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcreate", cls_id);
+ }
+ return (long)mh$.invokeExact(cls_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcreate_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcreate_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pcreate_class$descriptor() { return H5Pcreate_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static MethodHandle H5Pcreate_class$handle() { return H5Pcreate_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static MemorySegment H5Pcreate_class$address() { return H5Pcreate_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static long H5Pcreate_class(long parent, MemorySegment name, MemorySegment create,
+ MemorySegment create_data, MemorySegment copy, MemorySegment copy_data,
+ MemorySegment close, MemorySegment close_data)
+ {
+ var mh$ = H5Pcreate_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcreate_class", parent, name, create, create_data, copy, copy_data, close,
+ close_data);
+ }
+ return (long)mh$.invokeExact(parent, name, create, create_data, copy, copy_data, close,
+ close_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pdecode {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pdecode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Pdecode$descriptor() { return H5Pdecode.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static MethodHandle H5Pdecode$handle() { return H5Pdecode.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static MemorySegment H5Pdecode$address() { return H5Pdecode.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static long H5Pdecode(MemorySegment buf)
+ {
+ var mh$ = H5Pdecode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pdecode", buf);
+ }
+ return (long)mh$.invokeExact(buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pencode2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pencode2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pencode2$descriptor() { return H5Pencode2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pencode2$handle() { return H5Pencode2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pencode2$address() { return H5Pencode2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static int H5Pencode2(long plist_id, MemorySegment buf, MemorySegment nalloc, long fapl_id)
+ {
+ var mh$ = H5Pencode2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pencode2", plist_id, buf, nalloc, fapl_id);
+ }
+ return (int)mh$.invokeExact(plist_id, buf, nalloc, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pequal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pequal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static FunctionDescriptor H5Pequal$descriptor() { return H5Pequal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static MethodHandle H5Pequal$handle() { return H5Pequal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static MemorySegment H5Pequal$address() { return H5Pequal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static int H5Pequal(long id1, long id2)
+ {
+ var mh$ = H5Pequal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pequal", id1, id2);
+ }
+ return (int)mh$.invokeExact(id1, id2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pexist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pexist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Pexist$descriptor() { return H5Pexist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Pexist$handle() { return H5Pexist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Pexist$address() { return H5Pexist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static int H5Pexist(long plist_id, MemorySegment name)
+ {
+ var mh$ = H5Pexist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pexist", plist_id, name);
+ }
+ return (int)mh$.invokeExact(plist_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pget$descriptor() { return H5Pget.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static MethodHandle H5Pget$handle() { return H5Pget.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static MemorySegment H5Pget$address() { return H5Pget.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static int H5Pget(long plist_id, MemorySegment name, MemorySegment value)
+ {
+ var mh$ = H5Pget.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget", plist_id, name, value);
+ }
+ return (int)mh$.invokeExact(plist_id, name, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_class$descriptor() { return H5Pget_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_class$handle() { return H5Pget_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class$address() { return H5Pget_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static long H5Pget_class(long plist_id)
+ {
+ var mh$ = H5Pget_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_class", plist_id);
+ }
+ return (long)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_class_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_class_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_class_name$descriptor() { return H5Pget_class_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static MethodHandle H5Pget_class_name$handle() { return H5Pget_class_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class_name$address() { return H5Pget_class_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class_name(long pclass_id)
+ {
+ var mh$ = H5Pget_class_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_class_name", pclass_id);
+ }
+ return (MemorySegment)mh$.invokeExact(pclass_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_class_parent {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_class_parent");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_class_parent$descriptor() { return H5Pget_class_parent.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static MethodHandle H5Pget_class_parent$handle() { return H5Pget_class_parent.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class_parent$address() { return H5Pget_class_parent.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static long H5Pget_class_parent(long pclass_id)
+ {
+ var mh$ = H5Pget_class_parent.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_class_parent", pclass_id);
+ }
+ return (long)mh$.invokeExact(pclass_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_nprops {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_nprops");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_nprops$descriptor() { return H5Pget_nprops.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static MethodHandle H5Pget_nprops$handle() { return H5Pget_nprops.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static MemorySegment H5Pget_nprops$address() { return H5Pget_nprops.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static int H5Pget_nprops(long id, MemorySegment nprops)
+ {
+ var mh$ = H5Pget_nprops.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_nprops", id, nprops);
+ }
+ return (int)mh$.invokeExact(id, nprops);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_size$descriptor() { return H5Pget_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_size$handle() { return H5Pget_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_size$address() { return H5Pget_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static int H5Pget_size(long id, MemorySegment name, MemorySegment size)
+ {
+ var mh$ = H5Pget_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_size", id, name, size);
+ }
+ return (int)mh$.invokeExact(id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pinsert2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pinsert2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static FunctionDescriptor H5Pinsert2$descriptor() { return H5Pinsert2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MethodHandle H5Pinsert2$handle() { return H5Pinsert2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MemorySegment H5Pinsert2$address() { return H5Pinsert2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static int H5Pinsert2(long plist_id, MemorySegment name, long size, MemorySegment value,
+ MemorySegment set, MemorySegment get, MemorySegment prp_del,
+ MemorySegment copy, MemorySegment compare, MemorySegment close)
+ {
+ var mh$ = H5Pinsert2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pinsert2", plist_id, name, size, value, set, get, prp_del, copy, compare,
+ close);
+ }
+ return (int)mh$.invokeExact(plist_id, name, size, value, set, get, prp_del, copy, compare, close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pisa_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pisa_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pisa_class$descriptor() { return H5Pisa_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static MethodHandle H5Pisa_class$handle() { return H5Pisa_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pisa_class$address() { return H5Pisa_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static int H5Pisa_class(long plist_id, long pclass_id)
+ {
+ var mh$ = H5Pisa_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pisa_class", plist_id, pclass_id);
+ }
+ return (int)mh$.invokeExact(plist_id, pclass_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Piterate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Piterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static FunctionDescriptor H5Piterate$descriptor() { return H5Piterate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static MethodHandle H5Piterate$handle() { return H5Piterate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static MemorySegment H5Piterate$address() { return H5Piterate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static int H5Piterate(long id, MemorySegment idx, MemorySegment iter_func, MemorySegment iter_data)
+ {
+ var mh$ = H5Piterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Piterate", id, idx, iter_func, iter_data);
+ }
+ return (int)mh$.invokeExact(id, idx, iter_func, iter_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pregister2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pregister2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static FunctionDescriptor H5Pregister2$descriptor() { return H5Pregister2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MethodHandle H5Pregister2$handle() { return H5Pregister2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MemorySegment H5Pregister2$address() { return H5Pregister2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static int H5Pregister2(long cls_id, MemorySegment name, long size, MemorySegment def_value,
+ MemorySegment create, MemorySegment set, MemorySegment get,
+ MemorySegment prp_del, MemorySegment copy, MemorySegment compare,
+ MemorySegment close)
+ {
+ var mh$ = H5Pregister2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pregister2", cls_id, name, size, def_value, create, set, get, prp_del, copy,
+ compare, close);
+ }
+ return (int)mh$.invokeExact(cls_id, name, size, def_value, create, set, get, prp_del, copy,
+ compare, close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Premove {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Premove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Premove$descriptor() { return H5Premove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Premove$handle() { return H5Premove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Premove$address() { return H5Premove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static int H5Premove(long plist_id, MemorySegment name)
+ {
+ var mh$ = H5Premove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Premove", plist_id, name);
+ }
+ return (int)mh$.invokeExact(plist_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pset$descriptor() { return H5Pset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static MethodHandle H5Pset$handle() { return H5Pset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static MemorySegment H5Pset$address() { return H5Pset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static int H5Pset(long plist_id, MemorySegment name, MemorySegment value)
+ {
+ var mh$ = H5Pset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset", plist_id, name, value);
+ }
+ return (int)mh$.invokeExact(plist_id, name, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Punregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Punregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Punregister$descriptor() { return H5Punregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Punregister$handle() { return H5Punregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Punregister$address() { return H5Punregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static int H5Punregister(long pclass_id, MemorySegment name)
+ {
+ var mh$ = H5Punregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Punregister", pclass_id, name);
+ }
+ return (int)mh$.invokeExact(pclass_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pall_filters_avail {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pall_filters_avail");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pall_filters_avail$descriptor() { return H5Pall_filters_avail.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pall_filters_avail$handle() { return H5Pall_filters_avail.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pall_filters_avail$address() { return H5Pall_filters_avail.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static int H5Pall_filters_avail(long plist_id)
+ {
+ var mh$ = H5Pall_filters_avail.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pall_filters_avail", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_attr_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_attr_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_attr_creation_order$descriptor()
+ {
+ return H5Pget_attr_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pget_attr_creation_order$handle()
+ {
+ return H5Pget_attr_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pget_attr_creation_order$address()
+ {
+ return H5Pget_attr_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static int H5Pget_attr_creation_order(long plist_id, MemorySegment crt_order_flags)
+ {
+ var mh$ = H5Pget_attr_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_attr_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_attr_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_attr_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_attr_phase_change$descriptor()
+ {
+ return H5Pget_attr_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MethodHandle H5Pget_attr_phase_change$handle() { return H5Pget_attr_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MemorySegment H5Pget_attr_phase_change$address() { return H5Pget_attr_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static int H5Pget_attr_phase_change(long plist_id, MemorySegment max_compact,
+ MemorySegment min_dense)
+ {
+ var mh$ = H5Pget_attr_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_attr_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter2$descriptor() { return H5Pget_filter2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MethodHandle H5Pget_filter2$handle() { return H5Pget_filter2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MemorySegment H5Pget_filter2$address() { return H5Pget_filter2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static int H5Pget_filter2(long plist_id, int idx, MemorySegment flags, MemorySegment cd_nelmts,
+ MemorySegment cd_values, long namelen, MemorySegment name,
+ MemorySegment filter_config)
+ {
+ var mh$ = H5Pget_filter2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter2", plist_id, idx, flags, cd_nelmts, cd_values, namelen, name,
+ filter_config);
+ }
+ return (int)mh$.invokeExact(plist_id, idx, flags, cd_nelmts, cd_values, namelen, name,
+ filter_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter_by_id2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter_by_id2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter_by_id2$descriptor() { return H5Pget_filter_by_id2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MethodHandle H5Pget_filter_by_id2$handle() { return H5Pget_filter_by_id2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MemorySegment H5Pget_filter_by_id2$address() { return H5Pget_filter_by_id2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static int H5Pget_filter_by_id2(long plist_id, int filter_id, MemorySegment flags,
+ MemorySegment cd_nelmts, MemorySegment cd_values, long namelen,
+ MemorySegment name, MemorySegment filter_config)
+ {
+ var mh$ = H5Pget_filter_by_id2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter_by_id2", plist_id, filter_id, flags, cd_nelmts, cd_values,
+ namelen, name, filter_config);
+ }
+ return (int)mh$.invokeExact(plist_id, filter_id, flags, cd_nelmts, cd_values, namelen, name,
+ filter_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_nfilters {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_nfilters");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_nfilters$descriptor() { return H5Pget_nfilters.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_nfilters$handle() { return H5Pget_nfilters.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_nfilters$address() { return H5Pget_nfilters.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_nfilters(long plist_id)
+ {
+ var mh$ = H5Pget_nfilters.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_nfilters", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_obj_track_times {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_obj_track_times");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_obj_track_times$descriptor()
+ {
+ return H5Pget_obj_track_times.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static MethodHandle H5Pget_obj_track_times$handle() { return H5Pget_obj_track_times.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static MemorySegment H5Pget_obj_track_times$address() { return H5Pget_obj_track_times.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static int H5Pget_obj_track_times(long plist_id, MemorySegment track_times)
+ {
+ var mh$ = H5Pget_obj_track_times.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_obj_track_times", plist_id, track_times);
+ }
+ return (int)mh$.invokeExact(plist_id, track_times);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pmodify_filter {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pmodify_filter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static FunctionDescriptor H5Pmodify_filter$descriptor() { return H5Pmodify_filter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static MethodHandle H5Pmodify_filter$handle() { return H5Pmodify_filter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static MemorySegment H5Pmodify_filter$address() { return H5Pmodify_filter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static int H5Pmodify_filter(long plist_id, int filter, int flags, long cd_nelmts,
+ MemorySegment cd_values)
+ {
+ var mh$ = H5Pmodify_filter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pmodify_filter", plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ return (int)mh$.invokeExact(plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Premove_filter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Premove_filter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static FunctionDescriptor H5Premove_filter$descriptor() { return H5Premove_filter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static MethodHandle H5Premove_filter$handle() { return H5Premove_filter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static MemorySegment H5Premove_filter$address() { return H5Premove_filter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static int H5Premove_filter(long plist_id, int filter)
+ {
+ var mh$ = H5Premove_filter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Premove_filter", plist_id, filter);
+ }
+ return (int)mh$.invokeExact(plist_id, filter);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_attr_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_attr_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_attr_creation_order$descriptor()
+ {
+ return H5Pset_attr_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pset_attr_creation_order$handle()
+ {
+ return H5Pset_attr_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pset_attr_creation_order$address()
+ {
+ return H5Pset_attr_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static int H5Pset_attr_creation_order(long plist_id, int crt_order_flags)
+ {
+ var mh$ = H5Pset_attr_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_attr_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_attr_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_attr_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_attr_phase_change$descriptor()
+ {
+ return H5Pset_attr_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MethodHandle H5Pset_attr_phase_change$handle() { return H5Pset_attr_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MemorySegment H5Pset_attr_phase_change$address() { return H5Pset_attr_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static int H5Pset_attr_phase_change(long plist_id, int max_compact, int min_dense)
+ {
+ var mh$ = H5Pset_attr_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_attr_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_deflate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_deflate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_deflate$descriptor() { return H5Pset_deflate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static MethodHandle H5Pset_deflate$handle() { return H5Pset_deflate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static MemorySegment H5Pset_deflate$address() { return H5Pset_deflate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static int H5Pset_deflate(long plist_id, int level)
+ {
+ var mh$ = H5Pset_deflate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_deflate", plist_id, level);
+ }
+ return (int)mh$.invokeExact(plist_id, level);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_filter {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_filter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static FunctionDescriptor H5Pset_filter$descriptor() { return H5Pset_filter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static MethodHandle H5Pset_filter$handle() { return H5Pset_filter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static MemorySegment H5Pset_filter$address() { return H5Pset_filter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static int H5Pset_filter(long plist_id, int filter, int flags, long cd_nelmts,
+ MemorySegment cd_values)
+ {
+ var mh$ = H5Pset_filter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_filter", plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ return (int)mh$.invokeExact(plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fletcher32 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fletcher32");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fletcher32$descriptor() { return H5Pset_fletcher32.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fletcher32$handle() { return H5Pset_fletcher32.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fletcher32$address() { return H5Pset_fletcher32.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static int H5Pset_fletcher32(long plist_id)
+ {
+ var mh$ = H5Pset_fletcher32.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fletcher32", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_obj_track_times {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_obj_track_times");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_obj_track_times$descriptor()
+ {
+ return H5Pset_obj_track_times.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static MethodHandle H5Pset_obj_track_times$handle() { return H5Pset_obj_track_times.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static MemorySegment H5Pset_obj_track_times$address() { return H5Pset_obj_track_times.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static int H5Pset_obj_track_times(long plist_id, boolean track_times)
+ {
+ var mh$ = H5Pset_obj_track_times.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_obj_track_times", plist_id, track_times);
+ }
+ return (int)mh$.invokeExact(plist_id, track_times);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_space_page_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_space_page_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_space_page_size$descriptor()
+ {
+ return H5Pget_file_space_page_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static MethodHandle H5Pget_file_space_page_size$handle()
+ {
+ return H5Pget_file_space_page_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static MemorySegment H5Pget_file_space_page_size$address()
+ {
+ return H5Pget_file_space_page_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static int H5Pget_file_space_page_size(long plist_id, MemorySegment fsp_size)
+ {
+ var mh$ = H5Pget_file_space_page_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_space_page_size", plist_id, fsp_size);
+ }
+ return (int)mh$.invokeExact(plist_id, fsp_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_space_strategy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_space_strategy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_space_strategy$descriptor()
+ {
+ return H5Pget_file_space_strategy.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static MethodHandle H5Pget_file_space_strategy$handle()
+ {
+ return H5Pget_file_space_strategy.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static MemorySegment H5Pget_file_space_strategy$address()
+ {
+ return H5Pget_file_space_strategy.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static int H5Pget_file_space_strategy(long plist_id, MemorySegment strategy, MemorySegment persist,
+ MemorySegment threshold)
+ {
+ var mh$ = H5Pget_file_space_strategy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_space_strategy", plist_id, strategy, persist, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, persist, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_istore_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_istore_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_istore_k$descriptor() { return H5Pget_istore_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static MethodHandle H5Pget_istore_k$handle() { return H5Pget_istore_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static MemorySegment H5Pget_istore_k$address() { return H5Pget_istore_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static int H5Pget_istore_k(long plist_id, MemorySegment ik)
+ {
+ var mh$ = H5Pget_istore_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_istore_k", plist_id, ik);
+ }
+ return (int)mh$.invokeExact(plist_id, ik);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_shared_mesg_index {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_shared_mesg_index");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_shared_mesg_index$descriptor()
+ {
+ return H5Pget_shared_mesg_index.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static MethodHandle H5Pget_shared_mesg_index$handle() { return H5Pget_shared_mesg_index.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static MemorySegment H5Pget_shared_mesg_index$address() { return H5Pget_shared_mesg_index.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static int H5Pget_shared_mesg_index(long plist_id, int index_num, MemorySegment mesg_type_flags,
+ MemorySegment min_mesg_size)
+ {
+ var mh$ = H5Pget_shared_mesg_index.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_shared_mesg_index", plist_id, index_num, mesg_type_flags,
+ min_mesg_size);
+ }
+ return (int)mh$.invokeExact(plist_id, index_num, mesg_type_flags, min_mesg_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_shared_mesg_nindexes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_shared_mesg_nindexes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_shared_mesg_nindexes$descriptor()
+ {
+ return H5Pget_shared_mesg_nindexes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static MethodHandle H5Pget_shared_mesg_nindexes$handle()
+ {
+ return H5Pget_shared_mesg_nindexes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static MemorySegment H5Pget_shared_mesg_nindexes$address()
+ {
+ return H5Pget_shared_mesg_nindexes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static int H5Pget_shared_mesg_nindexes(long plist_id, MemorySegment nindexes)
+ {
+ var mh$ = H5Pget_shared_mesg_nindexes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_shared_mesg_nindexes", plist_id, nindexes);
+ }
+ return (int)mh$.invokeExact(plist_id, nindexes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_shared_mesg_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_shared_mesg_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_shared_mesg_phase_change$descriptor()
+ {
+ return H5Pget_shared_mesg_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static MethodHandle H5Pget_shared_mesg_phase_change$handle()
+ {
+ return H5Pget_shared_mesg_phase_change.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static MemorySegment H5Pget_shared_mesg_phase_change$address()
+ {
+ return H5Pget_shared_mesg_phase_change.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static int H5Pget_shared_mesg_phase_change(long plist_id, MemorySegment max_list,
+ MemorySegment min_btree)
+ {
+ var mh$ = H5Pget_shared_mesg_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_shared_mesg_phase_change", plist_id, max_list, min_btree);
+ }
+ return (int)mh$.invokeExact(plist_id, max_list, min_btree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_sizes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_sizes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_sizes$descriptor() { return H5Pget_sizes.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static MethodHandle H5Pget_sizes$handle() { return H5Pget_sizes.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static MemorySegment H5Pget_sizes$address() { return H5Pget_sizes.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static int H5Pget_sizes(long plist_id, MemorySegment sizeof_addr, MemorySegment sizeof_size)
+ {
+ var mh$ = H5Pget_sizes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_sizes", plist_id, sizeof_addr, sizeof_size);
+ }
+ return (int)mh$.invokeExact(plist_id, sizeof_addr, sizeof_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_sym_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_sym_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_sym_k$descriptor() { return H5Pget_sym_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static MethodHandle H5Pget_sym_k$handle() { return H5Pget_sym_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static MemorySegment H5Pget_sym_k$address() { return H5Pget_sym_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static int H5Pget_sym_k(long plist_id, MemorySegment ik, MemorySegment lk)
+ {
+ var mh$ = H5Pget_sym_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_sym_k", plist_id, ik, lk);
+ }
+ return (int)mh$.invokeExact(plist_id, ik, lk);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_userblock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_userblock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_userblock$descriptor() { return H5Pget_userblock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_userblock$handle() { return H5Pget_userblock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_userblock$address() { return H5Pget_userblock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static int H5Pget_userblock(long plist_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_userblock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_userblock", plist_id, size);
+ }
+ return (int)mh$.invokeExact(plist_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_space_page_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_space_page_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_space_page_size$descriptor()
+ {
+ return H5Pset_file_space_page_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static MethodHandle H5Pset_file_space_page_size$handle()
+ {
+ return H5Pset_file_space_page_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static MemorySegment H5Pset_file_space_page_size$address()
+ {
+ return H5Pset_file_space_page_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static int H5Pset_file_space_page_size(long plist_id, long fsp_size)
+ {
+ var mh$ = H5Pset_file_space_page_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_space_page_size", plist_id, fsp_size);
+ }
+ return (int)mh$.invokeExact(plist_id, fsp_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_space_strategy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_BOOL, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_space_strategy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_space_strategy$descriptor()
+ {
+ return H5Pset_file_space_strategy.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static MethodHandle H5Pset_file_space_strategy$handle()
+ {
+ return H5Pset_file_space_strategy.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static MemorySegment H5Pset_file_space_strategy$address()
+ {
+ return H5Pset_file_space_strategy.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static int H5Pset_file_space_strategy(long plist_id, int strategy, boolean persist, long threshold)
+ {
+ var mh$ = H5Pset_file_space_strategy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_space_strategy", plist_id, strategy, persist, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, persist, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_istore_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_istore_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_istore_k$descriptor() { return H5Pset_istore_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static MethodHandle H5Pset_istore_k$handle() { return H5Pset_istore_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static MemorySegment H5Pset_istore_k$address() { return H5Pset_istore_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static int H5Pset_istore_k(long plist_id, int ik)
+ {
+ var mh$ = H5Pset_istore_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_istore_k", plist_id, ik);
+ }
+ return (int)mh$.invokeExact(plist_id, ik);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shared_mesg_index {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shared_mesg_index");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shared_mesg_index$descriptor()
+ {
+ return H5Pset_shared_mesg_index.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static MethodHandle H5Pset_shared_mesg_index$handle() { return H5Pset_shared_mesg_index.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static MemorySegment H5Pset_shared_mesg_index$address() { return H5Pset_shared_mesg_index.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static int H5Pset_shared_mesg_index(long plist_id, int index_num, int mesg_type_flags,
+ int min_mesg_size)
+ {
+ var mh$ = H5Pset_shared_mesg_index.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shared_mesg_index", plist_id, index_num, mesg_type_flags,
+ min_mesg_size);
+ }
+ return (int)mh$.invokeExact(plist_id, index_num, mesg_type_flags, min_mesg_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shared_mesg_nindexes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shared_mesg_nindexes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shared_mesg_nindexes$descriptor()
+ {
+ return H5Pset_shared_mesg_nindexes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static MethodHandle H5Pset_shared_mesg_nindexes$handle()
+ {
+ return H5Pset_shared_mesg_nindexes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static MemorySegment H5Pset_shared_mesg_nindexes$address()
+ {
+ return H5Pset_shared_mesg_nindexes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static int H5Pset_shared_mesg_nindexes(long plist_id, int nindexes)
+ {
+ var mh$ = H5Pset_shared_mesg_nindexes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shared_mesg_nindexes", plist_id, nindexes);
+ }
+ return (int)mh$.invokeExact(plist_id, nindexes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shared_mesg_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shared_mesg_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shared_mesg_phase_change$descriptor()
+ {
+ return H5Pset_shared_mesg_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static MethodHandle H5Pset_shared_mesg_phase_change$handle()
+ {
+ return H5Pset_shared_mesg_phase_change.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static MemorySegment H5Pset_shared_mesg_phase_change$address()
+ {
+ return H5Pset_shared_mesg_phase_change.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static int H5Pset_shared_mesg_phase_change(long plist_id, int max_list, int min_btree)
+ {
+ var mh$ = H5Pset_shared_mesg_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shared_mesg_phase_change", plist_id, max_list, min_btree);
+ }
+ return (int)mh$.invokeExact(plist_id, max_list, min_btree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_sizes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_sizes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_sizes$descriptor() { return H5Pset_sizes.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static MethodHandle H5Pset_sizes$handle() { return H5Pset_sizes.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static MemorySegment H5Pset_sizes$address() { return H5Pset_sizes.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static int H5Pset_sizes(long plist_id, long sizeof_addr, long sizeof_size)
+ {
+ var mh$ = H5Pset_sizes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_sizes", plist_id, sizeof_addr, sizeof_size);
+ }
+ return (int)mh$.invokeExact(plist_id, sizeof_addr, sizeof_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_sym_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_sym_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_sym_k$descriptor() { return H5Pset_sym_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static MethodHandle H5Pset_sym_k$handle() { return H5Pset_sym_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static MemorySegment H5Pset_sym_k$address() { return H5Pset_sym_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static int H5Pset_sym_k(long plist_id, int ik, int lk)
+ {
+ var mh$ = H5Pset_sym_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_sym_k", plist_id, ik, lk);
+ }
+ return (int)mh$.invokeExact(plist_id, ik, lk);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_userblock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_userblock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_userblock$descriptor() { return H5Pset_userblock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_userblock$handle() { return H5Pset_userblock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_userblock$address() { return H5Pset_userblock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static int H5Pset_userblock(long plist_id, long size)
+ {
+ var mh$ = H5Pset_userblock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_userblock", plist_id, size);
+ }
+ return (int)mh$.invokeExact(plist_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_alignment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_alignment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_alignment$descriptor() { return H5Pget_alignment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static MethodHandle H5Pget_alignment$handle() { return H5Pget_alignment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static MemorySegment H5Pget_alignment$address() { return H5Pget_alignment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static int H5Pget_alignment(long fapl_id, MemorySegment threshold, MemorySegment alignment)
+ {
+ var mh$ = H5Pget_alignment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_alignment", fapl_id, threshold, alignment);
+ }
+ return (int)mh$.invokeExact(fapl_id, threshold, alignment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_cache {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_cache$descriptor() { return H5Pget_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pget_cache$handle() { return H5Pget_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pget_cache$address() { return H5Pget_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static int H5Pget_cache(long plist_id, MemorySegment mdc_nelmts, MemorySegment rdcc_nslots,
+ MemorySegment rdcc_nbytes, MemorySegment rdcc_w0)
+ {
+ var mh$ = H5Pget_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_cache", plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_core_write_tracking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_core_write_tracking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_core_write_tracking$descriptor()
+ {
+ return H5Pget_core_write_tracking.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static MethodHandle H5Pget_core_write_tracking$handle()
+ {
+ return H5Pget_core_write_tracking.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static MemorySegment H5Pget_core_write_tracking$address()
+ {
+ return H5Pget_core_write_tracking.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static int H5Pget_core_write_tracking(long fapl_id, MemorySegment is_enabled,
+ MemorySegment page_size)
+ {
+ var mh$ = H5Pget_core_write_tracking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_core_write_tracking", fapl_id, is_enabled, page_size);
+ }
+ return (int)mh$.invokeExact(fapl_id, is_enabled, page_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_driver {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_driver");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_driver$descriptor() { return H5Pget_driver.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_driver$handle() { return H5Pget_driver.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_driver$address() { return H5Pget_driver.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static long H5Pget_driver(long plist_id)
+ {
+ var mh$ = H5Pget_driver.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_driver", plist_id);
+ }
+ return (long)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_driver_info {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_driver_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_driver_info$descriptor() { return H5Pget_driver_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_driver_info$handle() { return H5Pget_driver_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_driver_info$address() { return H5Pget_driver_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_driver_info(long plist_id)
+ {
+ var mh$ = H5Pget_driver_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_driver_info", plist_id);
+ }
+ return (MemorySegment)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_driver_config_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_driver_config_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_driver_config_str$descriptor()
+ {
+ return H5Pget_driver_config_str.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5Pget_driver_config_str$handle() { return H5Pget_driver_config_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5Pget_driver_config_str$address() { return H5Pget_driver_config_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static long H5Pget_driver_config_str(long fapl_id, MemorySegment config_buf, long buf_size)
+ {
+ var mh$ = H5Pget_driver_config_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_driver_config_str", fapl_id, config_buf, buf_size);
+ }
+ return (long)mh$.invokeExact(fapl_id, config_buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_file_cache_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_file_cache_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_file_cache_size$descriptor()
+ {
+ return H5Pget_elink_file_cache_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_file_cache_size$handle()
+ {
+ return H5Pget_elink_file_cache_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_file_cache_size$address()
+ {
+ return H5Pget_elink_file_cache_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static int H5Pget_elink_file_cache_size(long plist_id, MemorySegment efc_size)
+ {
+ var mh$ = H5Pget_elink_file_cache_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_file_cache_size", plist_id, efc_size);
+ }
+ return (int)mh$.invokeExact(plist_id, efc_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_evict_on_close {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_evict_on_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_evict_on_close$descriptor() { return H5Pget_evict_on_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static MethodHandle H5Pget_evict_on_close$handle() { return H5Pget_evict_on_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static MemorySegment H5Pget_evict_on_close$address() { return H5Pget_evict_on_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static int H5Pget_evict_on_close(long fapl_id, MemorySegment evict_on_close)
+ {
+ var mh$ = H5Pget_evict_on_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_evict_on_close", fapl_id, evict_on_close);
+ }
+ return (int)mh$.invokeExact(fapl_id, evict_on_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_family_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_family_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_family_offset$descriptor() { return H5Pget_family_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static MethodHandle H5Pget_family_offset$handle() { return H5Pget_family_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static MemorySegment H5Pget_family_offset$address() { return H5Pget_family_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static int H5Pget_family_offset(long fapl_id, MemorySegment offset)
+ {
+ var mh$ = H5Pget_family_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_family_offset", fapl_id, offset);
+ }
+ return (int)mh$.invokeExact(fapl_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fclose_degree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fclose_degree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fclose_degree$descriptor() { return H5Pget_fclose_degree.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static MethodHandle H5Pget_fclose_degree$handle() { return H5Pget_fclose_degree.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static MemorySegment H5Pget_fclose_degree$address() { return H5Pget_fclose_degree.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static int H5Pget_fclose_degree(long fapl_id, MemorySegment degree)
+ {
+ var mh$ = H5Pget_fclose_degree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fclose_degree", fapl_id, degree);
+ }
+ return (int)mh$.invokeExact(fapl_id, degree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_image {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_image");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_image$descriptor() { return H5Pget_file_image.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_file_image$handle() { return H5Pget_file_image.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_file_image$address() { return H5Pget_file_image.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static int H5Pget_file_image(long fapl_id, MemorySegment buf_ptr_ptr, MemorySegment buf_len_ptr)
+ {
+ var mh$ = H5Pget_file_image.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_image", fapl_id, buf_ptr_ptr, buf_len_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, buf_ptr_ptr, buf_len_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_image_callbacks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_image_callbacks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_image_callbacks$descriptor()
+ {
+ return H5Pget_file_image_callbacks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_file_image_callbacks$handle()
+ {
+ return H5Pget_file_image_callbacks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_file_image_callbacks$address()
+ {
+ return H5Pget_file_image_callbacks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static int H5Pget_file_image_callbacks(long fapl_id, MemorySegment callbacks_ptr)
+ {
+ var mh$ = H5Pget_file_image_callbacks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_image_callbacks", fapl_id, callbacks_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, callbacks_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_locking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_locking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_locking$descriptor() { return H5Pget_file_locking.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static MethodHandle H5Pget_file_locking$handle() { return H5Pget_file_locking.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static MemorySegment H5Pget_file_locking$address() { return H5Pget_file_locking.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static int H5Pget_file_locking(long fapl_id, MemorySegment use_file_locking,
+ MemorySegment ignore_when_disabled)
+ {
+ var mh$ = H5Pget_file_locking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_locking", fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ return (int)mh$.invokeExact(fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_gc_references {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_gc_references");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_gc_references$descriptor() { return H5Pget_gc_references.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static MethodHandle H5Pget_gc_references$handle() { return H5Pget_gc_references.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static MemorySegment H5Pget_gc_references$address() { return H5Pget_gc_references.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static int H5Pget_gc_references(long fapl_id, MemorySegment gc_ref)
+ {
+ var mh$ = H5Pget_gc_references.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_gc_references", fapl_id, gc_ref);
+ }
+ return (int)mh$.invokeExact(fapl_id, gc_ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_libver_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_libver_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_libver_bounds$descriptor() { return H5Pget_libver_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static MethodHandle H5Pget_libver_bounds$handle() { return H5Pget_libver_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static MemorySegment H5Pget_libver_bounds$address() { return H5Pget_libver_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static int H5Pget_libver_bounds(long plist_id, MemorySegment low, MemorySegment high)
+ {
+ var mh$ = H5Pget_libver_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_libver_bounds", plist_id, low, high);
+ }
+ return (int)mh$.invokeExact(plist_id, low, high);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mdc_config$descriptor() { return H5Pget_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_mdc_config$handle() { return H5Pget_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_mdc_config$address() { return H5Pget_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pget_mdc_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pget_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mdc_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mdc_image_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mdc_image_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mdc_image_config$descriptor()
+ {
+ return H5Pget_mdc_image_config.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_mdc_image_config$handle() { return H5Pget_mdc_image_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_mdc_image_config$address() { return H5Pget_mdc_image_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pget_mdc_image_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pget_mdc_image_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mdc_image_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mdc_log_options {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mdc_log_options");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mdc_log_options$descriptor()
+ {
+ return H5Pget_mdc_log_options.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static MethodHandle H5Pget_mdc_log_options$handle() { return H5Pget_mdc_log_options.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static MemorySegment H5Pget_mdc_log_options$address() { return H5Pget_mdc_log_options.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static int H5Pget_mdc_log_options(long plist_id, MemorySegment is_enabled, MemorySegment location,
+ MemorySegment location_size, MemorySegment start_on_access)
+ {
+ var mh$ = H5Pget_mdc_log_options.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mdc_log_options", plist_id, is_enabled, location, location_size,
+ start_on_access);
+ }
+ return (int)mh$.invokeExact(plist_id, is_enabled, location, location_size, start_on_access);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_meta_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_meta_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_meta_block_size$descriptor()
+ {
+ return H5Pget_meta_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_meta_block_size$handle() { return H5Pget_meta_block_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_meta_block_size$address() { return H5Pget_meta_block_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static int H5Pget_meta_block_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_meta_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_meta_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_metadata_read_attempts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_metadata_read_attempts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_metadata_read_attempts$descriptor()
+ {
+ return H5Pget_metadata_read_attempts.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static MethodHandle H5Pget_metadata_read_attempts$handle()
+ {
+ return H5Pget_metadata_read_attempts.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static MemorySegment H5Pget_metadata_read_attempts$address()
+ {
+ return H5Pget_metadata_read_attempts.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static int H5Pget_metadata_read_attempts(long plist_id, MemorySegment attempts)
+ {
+ var mh$ = H5Pget_metadata_read_attempts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_metadata_read_attempts", plist_id, attempts);
+ }
+ return (int)mh$.invokeExact(plist_id, attempts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_multi_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_multi_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_multi_type$descriptor() { return H5Pget_multi_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static MethodHandle H5Pget_multi_type$handle() { return H5Pget_multi_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static MemorySegment H5Pget_multi_type$address() { return H5Pget_multi_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static int H5Pget_multi_type(long fapl_id, MemorySegment type)
+ {
+ var mh$ = H5Pget_multi_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_multi_type", fapl_id, type);
+ }
+ return (int)mh$.invokeExact(fapl_id, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_object_flush_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_object_flush_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_object_flush_cb$descriptor()
+ {
+ return H5Pget_object_flush_cb.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static MethodHandle H5Pget_object_flush_cb$handle() { return H5Pget_object_flush_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static MemorySegment H5Pget_object_flush_cb$address() { return H5Pget_object_flush_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static int H5Pget_object_flush_cb(long plist_id, MemorySegment func, MemorySegment udata)
+ {
+ var mh$ = H5Pget_object_flush_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_object_flush_cb", plist_id, func, udata);
+ }
+ return (int)mh$.invokeExact(plist_id, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_page_buffer_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_page_buffer_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_page_buffer_size$descriptor()
+ {
+ return H5Pget_page_buffer_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static MethodHandle H5Pget_page_buffer_size$handle() { return H5Pget_page_buffer_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static MemorySegment H5Pget_page_buffer_size$address() { return H5Pget_page_buffer_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static int H5Pget_page_buffer_size(long plist_id, MemorySegment buf_size,
+ MemorySegment min_meta_perc, MemorySegment min_raw_perc)
+ {
+ var mh$ = H5Pget_page_buffer_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_page_buffer_size", plist_id, buf_size, min_meta_perc, min_raw_perc);
+ }
+ return (int)mh$.invokeExact(plist_id, buf_size, min_meta_perc, min_raw_perc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_sieve_buf_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_sieve_buf_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_sieve_buf_size$descriptor() { return H5Pget_sieve_buf_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_sieve_buf_size$handle() { return H5Pget_sieve_buf_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_sieve_buf_size$address() { return H5Pget_sieve_buf_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static int H5Pget_sieve_buf_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_sieve_buf_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_sieve_buf_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_small_data_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_small_data_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_small_data_block_size$descriptor()
+ {
+ return H5Pget_small_data_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_small_data_block_size$handle()
+ {
+ return H5Pget_small_data_block_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_small_data_block_size$address()
+ {
+ return H5Pget_small_data_block_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static int H5Pget_small_data_block_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_small_data_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_small_data_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vol_id {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vol_id");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vol_id$descriptor() { return H5Pget_vol_id.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static MethodHandle H5Pget_vol_id$handle() { return H5Pget_vol_id.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static MemorySegment H5Pget_vol_id$address() { return H5Pget_vol_id.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static int H5Pget_vol_id(long plist_id, MemorySegment vol_id)
+ {
+ var mh$ = H5Pget_vol_id.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vol_id", plist_id, vol_id);
+ }
+ return (int)mh$.invokeExact(plist_id, vol_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vol_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vol_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vol_info$descriptor() { return H5Pget_vol_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static MethodHandle H5Pget_vol_info$handle() { return H5Pget_vol_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static MemorySegment H5Pget_vol_info$address() { return H5Pget_vol_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static int H5Pget_vol_info(long plist_id, MemorySegment vol_info)
+ {
+ var mh$ = H5Pget_vol_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vol_info", plist_id, vol_info);
+ }
+ return (int)mh$.invokeExact(plist_id, vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_alignment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_alignment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_alignment$descriptor() { return H5Pset_alignment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static MethodHandle H5Pset_alignment$handle() { return H5Pset_alignment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static MemorySegment H5Pset_alignment$address() { return H5Pset_alignment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static int H5Pset_alignment(long fapl_id, long threshold, long alignment)
+ {
+ var mh$ = H5Pset_alignment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_alignment", fapl_id, threshold, alignment);
+ }
+ return (int)mh$.invokeExact(fapl_id, threshold, alignment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_DOUBLE);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_cache$descriptor() { return H5Pset_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pset_cache$handle() { return H5Pset_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pset_cache$address() { return H5Pset_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static int H5Pset_cache(long plist_id, int mdc_nelmts, long rdcc_nslots, long rdcc_nbytes,
+ double rdcc_w0)
+ {
+ var mh$ = H5Pset_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_cache", plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_core_write_tracking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_core_write_tracking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_core_write_tracking$descriptor()
+ {
+ return H5Pset_core_write_tracking.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static MethodHandle H5Pset_core_write_tracking$handle()
+ {
+ return H5Pset_core_write_tracking.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static MemorySegment H5Pset_core_write_tracking$address()
+ {
+ return H5Pset_core_write_tracking.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static int H5Pset_core_write_tracking(long fapl_id, boolean is_enabled, long page_size)
+ {
+ var mh$ = H5Pset_core_write_tracking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_core_write_tracking", fapl_id, is_enabled, page_size);
+ }
+ return (int)mh$.invokeExact(fapl_id, is_enabled, page_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_driver {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_driver");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_driver$descriptor() { return H5Pset_driver.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static MethodHandle H5Pset_driver$handle() { return H5Pset_driver.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static MemorySegment H5Pset_driver$address() { return H5Pset_driver.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static int H5Pset_driver(long plist_id, long driver_id, MemorySegment driver_info)
+ {
+ var mh$ = H5Pset_driver.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_driver", plist_id, driver_id, driver_info);
+ }
+ return (int)mh$.invokeExact(plist_id, driver_id, driver_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_driver_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_driver_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_driver_by_name$descriptor() { return H5Pset_driver_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static MethodHandle H5Pset_driver_by_name$handle() { return H5Pset_driver_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static MemorySegment H5Pset_driver_by_name$address() { return H5Pset_driver_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static int H5Pset_driver_by_name(long plist_id, MemorySegment driver_name,
+ MemorySegment driver_config)
+ {
+ var mh$ = H5Pset_driver_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_driver_by_name", plist_id, driver_name, driver_config);
+ }
+ return (int)mh$.invokeExact(plist_id, driver_name, driver_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_driver_by_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_driver_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_driver_by_value$descriptor()
+ {
+ return H5Pset_driver_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static MethodHandle H5Pset_driver_by_value$handle() { return H5Pset_driver_by_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static MemorySegment H5Pset_driver_by_value$address() { return H5Pset_driver_by_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static int H5Pset_driver_by_value(long plist_id, int driver_value, MemorySegment driver_config)
+ {
+ var mh$ = H5Pset_driver_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_driver_by_value", plist_id, driver_value, driver_config);
+ }
+ return (int)mh$.invokeExact(plist_id, driver_value, driver_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_file_cache_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_file_cache_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_file_cache_size$descriptor()
+ {
+ return H5Pset_elink_file_cache_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_file_cache_size$handle()
+ {
+ return H5Pset_elink_file_cache_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_file_cache_size$address()
+ {
+ return H5Pset_elink_file_cache_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static int H5Pset_elink_file_cache_size(long plist_id, int efc_size)
+ {
+ var mh$ = H5Pset_elink_file_cache_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_file_cache_size", plist_id, efc_size);
+ }
+ return (int)mh$.invokeExact(plist_id, efc_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_evict_on_close {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_evict_on_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_evict_on_close$descriptor() { return H5Pset_evict_on_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static MethodHandle H5Pset_evict_on_close$handle() { return H5Pset_evict_on_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static MemorySegment H5Pset_evict_on_close$address() { return H5Pset_evict_on_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static int H5Pset_evict_on_close(long fapl_id, boolean evict_on_close)
+ {
+ var mh$ = H5Pset_evict_on_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_evict_on_close", fapl_id, evict_on_close);
+ }
+ return (int)mh$.invokeExact(fapl_id, evict_on_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_family_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_family_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_family_offset$descriptor() { return H5Pset_family_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static MethodHandle H5Pset_family_offset$handle() { return H5Pset_family_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static MemorySegment H5Pset_family_offset$address() { return H5Pset_family_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static int H5Pset_family_offset(long fapl_id, long offset)
+ {
+ var mh$ = H5Pset_family_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_family_offset", fapl_id, offset);
+ }
+ return (int)mh$.invokeExact(fapl_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fclose_degree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fclose_degree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fclose_degree$descriptor() { return H5Pset_fclose_degree.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static MethodHandle H5Pset_fclose_degree$handle() { return H5Pset_fclose_degree.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static MemorySegment H5Pset_fclose_degree$address() { return H5Pset_fclose_degree.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static int H5Pset_fclose_degree(long fapl_id, int degree)
+ {
+ var mh$ = H5Pset_fclose_degree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fclose_degree", fapl_id, degree);
+ }
+ return (int)mh$.invokeExact(fapl_id, degree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_image {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_image");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_image$descriptor() { return H5Pset_file_image.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MethodHandle H5Pset_file_image$handle() { return H5Pset_file_image.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MemorySegment H5Pset_file_image$address() { return H5Pset_file_image.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static int H5Pset_file_image(long fapl_id, MemorySegment buf_ptr, long buf_len)
+ {
+ var mh$ = H5Pset_file_image.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_image", fapl_id, buf_ptr, buf_len);
+ }
+ return (int)mh$.invokeExact(fapl_id, buf_ptr, buf_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_image_callbacks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_image_callbacks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_image_callbacks$descriptor()
+ {
+ return H5Pset_file_image_callbacks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_file_image_callbacks$handle()
+ {
+ return H5Pset_file_image_callbacks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_file_image_callbacks$address()
+ {
+ return H5Pset_file_image_callbacks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static int H5Pset_file_image_callbacks(long fapl_id, MemorySegment callbacks_ptr)
+ {
+ var mh$ = H5Pset_file_image_callbacks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_image_callbacks", fapl_id, callbacks_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, callbacks_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_locking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_locking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_locking$descriptor() { return H5Pset_file_locking.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static MethodHandle H5Pset_file_locking$handle() { return H5Pset_file_locking.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static MemorySegment H5Pset_file_locking$address() { return H5Pset_file_locking.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static int H5Pset_file_locking(long fapl_id, boolean use_file_locking,
+ boolean ignore_when_disabled)
+ {
+ var mh$ = H5Pset_file_locking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_locking", fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ return (int)mh$.invokeExact(fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_gc_references {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_gc_references");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_gc_references$descriptor() { return H5Pset_gc_references.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static MethodHandle H5Pset_gc_references$handle() { return H5Pset_gc_references.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static MemorySegment H5Pset_gc_references$address() { return H5Pset_gc_references.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static int H5Pset_gc_references(long fapl_id, int gc_ref)
+ {
+ var mh$ = H5Pset_gc_references.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_gc_references", fapl_id, gc_ref);
+ }
+ return (int)mh$.invokeExact(fapl_id, gc_ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_libver_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_libver_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_libver_bounds$descriptor() { return H5Pset_libver_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MethodHandle H5Pset_libver_bounds$handle() { return H5Pset_libver_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MemorySegment H5Pset_libver_bounds$address() { return H5Pset_libver_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static int H5Pset_libver_bounds(long plist_id, int low, int high)
+ {
+ var mh$ = H5Pset_libver_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_libver_bounds", plist_id, low, high);
+ }
+ return (int)mh$.invokeExact(plist_id, low, high);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mdc_config$descriptor() { return H5Pset_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_mdc_config$handle() { return H5Pset_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_mdc_config$address() { return H5Pset_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pset_mdc_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pset_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mdc_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mdc_log_options {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL, hdf5_h.C_POINTER, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mdc_log_options");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mdc_log_options$descriptor()
+ {
+ return H5Pset_mdc_log_options.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static MethodHandle H5Pset_mdc_log_options$handle() { return H5Pset_mdc_log_options.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static MemorySegment H5Pset_mdc_log_options$address() { return H5Pset_mdc_log_options.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static int H5Pset_mdc_log_options(long plist_id, boolean is_enabled, MemorySegment location,
+ boolean start_on_access)
+ {
+ var mh$ = H5Pset_mdc_log_options.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mdc_log_options", plist_id, is_enabled, location, start_on_access);
+ }
+ return (int)mh$.invokeExact(plist_id, is_enabled, location, start_on_access);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_meta_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_meta_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_meta_block_size$descriptor()
+ {
+ return H5Pset_meta_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_meta_block_size$handle() { return H5Pset_meta_block_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_meta_block_size$address() { return H5Pset_meta_block_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static int H5Pset_meta_block_size(long fapl_id, long size)
+ {
+ var mh$ = H5Pset_meta_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_meta_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_metadata_read_attempts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_metadata_read_attempts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_metadata_read_attempts$descriptor()
+ {
+ return H5Pset_metadata_read_attempts.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static MethodHandle H5Pset_metadata_read_attempts$handle()
+ {
+ return H5Pset_metadata_read_attempts.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static MemorySegment H5Pset_metadata_read_attempts$address()
+ {
+ return H5Pset_metadata_read_attempts.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static int H5Pset_metadata_read_attempts(long plist_id, int attempts)
+ {
+ var mh$ = H5Pset_metadata_read_attempts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_metadata_read_attempts", plist_id, attempts);
+ }
+ return (int)mh$.invokeExact(plist_id, attempts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_multi_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_multi_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_multi_type$descriptor() { return H5Pset_multi_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static MethodHandle H5Pset_multi_type$handle() { return H5Pset_multi_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static MemorySegment H5Pset_multi_type$address() { return H5Pset_multi_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static int H5Pset_multi_type(long fapl_id, int type)
+ {
+ var mh$ = H5Pset_multi_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_multi_type", fapl_id, type);
+ }
+ return (int)mh$.invokeExact(fapl_id, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_object_flush_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_object_flush_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_object_flush_cb$descriptor()
+ {
+ return H5Pset_object_flush_cb.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static MethodHandle H5Pset_object_flush_cb$handle() { return H5Pset_object_flush_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static MemorySegment H5Pset_object_flush_cb$address() { return H5Pset_object_flush_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static int H5Pset_object_flush_cb(long plist_id, MemorySegment func, MemorySegment udata)
+ {
+ var mh$ = H5Pset_object_flush_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_object_flush_cb", plist_id, func, udata);
+ }
+ return (int)mh$.invokeExact(plist_id, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_sieve_buf_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_sieve_buf_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_sieve_buf_size$descriptor() { return H5Pset_sieve_buf_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_sieve_buf_size$handle() { return H5Pset_sieve_buf_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_sieve_buf_size$address() { return H5Pset_sieve_buf_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static int H5Pset_sieve_buf_size(long fapl_id, long size)
+ {
+ var mh$ = H5Pset_sieve_buf_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_sieve_buf_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_small_data_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_small_data_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_small_data_block_size$descriptor()
+ {
+ return H5Pset_small_data_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_small_data_block_size$handle()
+ {
+ return H5Pset_small_data_block_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_small_data_block_size$address()
+ {
+ return H5Pset_small_data_block_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static int H5Pset_small_data_block_size(long fapl_id, long size)
+ {
+ var mh$ = H5Pset_small_data_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_small_data_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_vol {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_vol");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_vol$descriptor() { return H5Pset_vol.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static MethodHandle H5Pset_vol$handle() { return H5Pset_vol.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static MemorySegment H5Pset_vol$address() { return H5Pset_vol.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static int H5Pset_vol(long plist_id, long new_vol_id, MemorySegment new_vol_info)
+ {
+ var mh$ = H5Pset_vol.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_vol", plist_id, new_vol_id, new_vol_info);
+ }
+ return (int)mh$.invokeExact(plist_id, new_vol_id, new_vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vol_cap_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vol_cap_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vol_cap_flags$descriptor() { return H5Pget_vol_cap_flags.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MethodHandle H5Pget_vol_cap_flags$handle() { return H5Pget_vol_cap_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MemorySegment H5Pget_vol_cap_flags$address() { return H5Pget_vol_cap_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static int H5Pget_vol_cap_flags(long plist_id, MemorySegment cap_flags)
+ {
+ var mh$ = H5Pget_vol_cap_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vol_cap_flags", plist_id, cap_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, cap_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mdc_image_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mdc_image_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mdc_image_config$descriptor()
+ {
+ return H5Pset_mdc_image_config.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_mdc_image_config$handle() { return H5Pset_mdc_image_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_mdc_image_config$address() { return H5Pset_mdc_image_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pset_mdc_image_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pset_mdc_image_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mdc_image_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_page_buffer_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_page_buffer_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_page_buffer_size$descriptor()
+ {
+ return H5Pset_page_buffer_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static MethodHandle H5Pset_page_buffer_size$handle() { return H5Pset_page_buffer_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static MemorySegment H5Pset_page_buffer_size$address() { return H5Pset_page_buffer_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static int H5Pset_page_buffer_size(long plist_id, long buf_size, int min_meta_per, int min_raw_per)
+ {
+ var mh$ = H5Pset_page_buffer_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_page_buffer_size", plist_id, buf_size, min_meta_per, min_raw_per);
+ }
+ return (int)mh$.invokeExact(plist_id, buf_size, min_meta_per, min_raw_per);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_relax_file_integrity_checks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_relax_file_integrity_checks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_relax_file_integrity_checks$descriptor()
+ {
+ return H5Pset_relax_file_integrity_checks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static MethodHandle H5Pset_relax_file_integrity_checks$handle()
+ {
+ return H5Pset_relax_file_integrity_checks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static MemorySegment H5Pset_relax_file_integrity_checks$address()
+ {
+ return H5Pset_relax_file_integrity_checks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static int H5Pset_relax_file_integrity_checks(long plist_id, long flags)
+ {
+ var mh$ = H5Pset_relax_file_integrity_checks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_relax_file_integrity_checks", plist_id, flags);
+ }
+ return (int)mh$.invokeExact(plist_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_relax_file_integrity_checks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_relax_file_integrity_checks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_relax_file_integrity_checks$descriptor()
+ {
+ return H5Pget_relax_file_integrity_checks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static MethodHandle H5Pget_relax_file_integrity_checks$handle()
+ {
+ return H5Pget_relax_file_integrity_checks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static MemorySegment H5Pget_relax_file_integrity_checks$address()
+ {
+ return H5Pget_relax_file_integrity_checks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static int H5Pget_relax_file_integrity_checks(long plist_id, MemorySegment flags)
+ {
+ var mh$ = H5Pget_relax_file_integrity_checks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_relax_file_integrity_checks", plist_id, flags);
+ }
+ return (int)mh$.invokeExact(plist_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pfill_value_defined {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pfill_value_defined");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static FunctionDescriptor H5Pfill_value_defined$descriptor() { return H5Pfill_value_defined.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static MethodHandle H5Pfill_value_defined$handle() { return H5Pfill_value_defined.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static MemorySegment H5Pfill_value_defined$address() { return H5Pfill_value_defined.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static int H5Pfill_value_defined(long plist, MemorySegment status)
+ {
+ var mh$ = H5Pfill_value_defined.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pfill_value_defined", plist, status);
+ }
+ return (int)mh$.invokeExact(plist, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_alloc_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_alloc_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_alloc_time$descriptor() { return H5Pget_alloc_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static MethodHandle H5Pget_alloc_time$handle() { return H5Pget_alloc_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static MemorySegment H5Pget_alloc_time$address() { return H5Pget_alloc_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static int H5Pget_alloc_time(long plist_id, MemorySegment alloc_time)
+ {
+ var mh$ = H5Pget_alloc_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_alloc_time", plist_id, alloc_time);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_chunk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_chunk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static FunctionDescriptor H5Pget_chunk$descriptor() { return H5Pget_chunk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static MethodHandle H5Pget_chunk$handle() { return H5Pget_chunk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static MemorySegment H5Pget_chunk$address() { return H5Pget_chunk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static int H5Pget_chunk(long plist_id, int max_ndims, MemorySegment dim)
+ {
+ var mh$ = H5Pget_chunk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_chunk", plist_id, max_ndims, dim);
+ }
+ return (int)mh$.invokeExact(plist_id, max_ndims, dim);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_chunk_opts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_chunk_opts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_chunk_opts$descriptor() { return H5Pget_chunk_opts.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static MethodHandle H5Pget_chunk_opts$handle() { return H5Pget_chunk_opts.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static MemorySegment H5Pget_chunk_opts$address() { return H5Pget_chunk_opts.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static int H5Pget_chunk_opts(long plist_id, MemorySegment opts)
+ {
+ var mh$ = H5Pget_chunk_opts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_chunk_opts", plist_id, opts);
+ }
+ return (int)mh$.invokeExact(plist_id, opts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_dset_no_attrs_hint$descriptor()
+ {
+ return H5Pget_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static MethodHandle H5Pget_dset_no_attrs_hint$handle() { return H5Pget_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static MemorySegment H5Pget_dset_no_attrs_hint$address() { return H5Pget_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static int H5Pget_dset_no_attrs_hint(long dcpl_id, MemorySegment minimize)
+ {
+ var mh$ = H5Pget_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_dset_no_attrs_hint", dcpl_id, minimize);
+ }
+ return (int)mh$.invokeExact(dcpl_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_spatial_tree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_spatial_tree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_spatial_tree$descriptor()
+ {
+ return H5Pget_virtual_spatial_tree.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_spatial_tree$handle()
+ {
+ return H5Pget_virtual_spatial_tree.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_spatial_tree$address()
+ {
+ return H5Pget_virtual_spatial_tree.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static int H5Pget_virtual_spatial_tree(long dcpl_id, MemorySegment use_tree)
+ {
+ var mh$ = H5Pget_virtual_spatial_tree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_spatial_tree", dcpl_id, use_tree);
+ }
+ return (int)mh$.invokeExact(dcpl_id, use_tree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_external {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_external");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_external$descriptor() { return H5Pget_external.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_external$handle() { return H5Pget_external.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_external$address() { return H5Pget_external.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static int H5Pget_external(long plist_id, int idx, long name_size, MemorySegment name,
+ MemorySegment offset, MemorySegment size)
+ {
+ var mh$ = H5Pget_external.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_external", plist_id, idx, name_size, name, offset, size);
+ }
+ return (int)mh$.invokeExact(plist_id, idx, name_size, name, offset, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_external_count {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_external_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_external_count$descriptor() { return H5Pget_external_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_external_count$handle() { return H5Pget_external_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_external_count$address() { return H5Pget_external_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_external_count(long plist_id)
+ {
+ var mh$ = H5Pget_external_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_external_count", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fill_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fill_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fill_time$descriptor() { return H5Pget_fill_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static MethodHandle H5Pget_fill_time$handle() { return H5Pget_fill_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static MemorySegment H5Pget_fill_time$address() { return H5Pget_fill_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static int H5Pget_fill_time(long plist_id, MemorySegment fill_time)
+ {
+ var mh$ = H5Pget_fill_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fill_time", plist_id, fill_time);
+ }
+ return (int)mh$.invokeExact(plist_id, fill_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fill_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fill_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fill_value$descriptor() { return H5Pget_fill_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static MethodHandle H5Pget_fill_value$handle() { return H5Pget_fill_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static MemorySegment H5Pget_fill_value$address() { return H5Pget_fill_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static int H5Pget_fill_value(long plist_id, long type_id, MemorySegment value)
+ {
+ var mh$ = H5Pget_fill_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fill_value", plist_id, type_id, value);
+ }
+ return (int)mh$.invokeExact(plist_id, type_id, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_layout {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_layout");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_layout$descriptor() { return H5Pget_layout.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_layout$handle() { return H5Pget_layout.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_layout$address() { return H5Pget_layout.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_layout(long plist_id)
+ {
+ var mh$ = H5Pget_layout.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_layout", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_count$descriptor() { return H5Pget_virtual_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_count$handle() { return H5Pget_virtual_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_count$address() { return H5Pget_virtual_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static int H5Pget_virtual_count(long dcpl_id, MemorySegment count)
+ {
+ var mh$ = H5Pget_virtual_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_count", dcpl_id, count);
+ }
+ return (int)mh$.invokeExact(dcpl_id, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_dsetname {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_dsetname");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_dsetname$descriptor()
+ {
+ return H5Pget_virtual_dsetname.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_dsetname$handle() { return H5Pget_virtual_dsetname.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_dsetname$address() { return H5Pget_virtual_dsetname.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static long H5Pget_virtual_dsetname(long dcpl_id, long index, MemorySegment name, long size)
+ {
+ var mh$ = H5Pget_virtual_dsetname.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_dsetname", dcpl_id, index, name, size);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_filename {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_filename");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_filename$descriptor()
+ {
+ return H5Pget_virtual_filename.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_filename$handle() { return H5Pget_virtual_filename.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_filename$address() { return H5Pget_virtual_filename.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static long H5Pget_virtual_filename(long dcpl_id, long index, MemorySegment name, long size)
+ {
+ var mh$ = H5Pget_virtual_filename.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_filename", dcpl_id, index, name, size);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_srcspace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_srcspace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_srcspace$descriptor()
+ {
+ return H5Pget_virtual_srcspace.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_srcspace$handle() { return H5Pget_virtual_srcspace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_srcspace$address() { return H5Pget_virtual_srcspace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static long H5Pget_virtual_srcspace(long dcpl_id, long index)
+ {
+ var mh$ = H5Pget_virtual_srcspace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_srcspace", dcpl_id, index);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_vspace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_vspace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_vspace$descriptor() { return H5Pget_virtual_vspace.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_vspace$handle() { return H5Pget_virtual_vspace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_vspace$address() { return H5Pget_virtual_vspace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static long H5Pget_virtual_vspace(long dcpl_id, long index)
+ {
+ var mh$ = H5Pget_virtual_vspace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_vspace", dcpl_id, index);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_alloc_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_alloc_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_alloc_time$descriptor() { return H5Pset_alloc_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static MethodHandle H5Pset_alloc_time$handle() { return H5Pset_alloc_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static MemorySegment H5Pset_alloc_time$address() { return H5Pset_alloc_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static int H5Pset_alloc_time(long plist_id, int alloc_time)
+ {
+ var mh$ = H5Pset_alloc_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_alloc_time", plist_id, alloc_time);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_chunk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_chunk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static FunctionDescriptor H5Pset_chunk$descriptor() { return H5Pset_chunk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MethodHandle H5Pset_chunk$handle() { return H5Pset_chunk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MemorySegment H5Pset_chunk$address() { return H5Pset_chunk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static int H5Pset_chunk(long plist_id, int ndims, MemorySegment dim)
+ {
+ var mh$ = H5Pset_chunk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_chunk", plist_id, ndims, dim);
+ }
+ return (int)mh$.invokeExact(plist_id, ndims, dim);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_chunk_opts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_chunk_opts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_chunk_opts$descriptor() { return H5Pset_chunk_opts.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static MethodHandle H5Pset_chunk_opts$handle() { return H5Pset_chunk_opts.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static MemorySegment H5Pset_chunk_opts$address() { return H5Pset_chunk_opts.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static int H5Pset_chunk_opts(long plist_id, int opts)
+ {
+ var mh$ = H5Pset_chunk_opts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_chunk_opts", plist_id, opts);
+ }
+ return (int)mh$.invokeExact(plist_id, opts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_dset_no_attrs_hint$descriptor()
+ {
+ return H5Pset_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static MethodHandle H5Pset_dset_no_attrs_hint$handle() { return H5Pset_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static MemorySegment H5Pset_dset_no_attrs_hint$address() { return H5Pset_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static int H5Pset_dset_no_attrs_hint(long dcpl_id, boolean minimize)
+ {
+ var mh$ = H5Pset_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_dset_no_attrs_hint", dcpl_id, minimize);
+ }
+ return (int)mh$.invokeExact(dcpl_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_spatial_tree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_spatial_tree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_spatial_tree$descriptor()
+ {
+ return H5Pset_virtual_spatial_tree.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_spatial_tree$handle()
+ {
+ return H5Pset_virtual_spatial_tree.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_spatial_tree$address()
+ {
+ return H5Pset_virtual_spatial_tree.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static int H5Pset_virtual_spatial_tree(long dcpl_id, boolean use_tree)
+ {
+ var mh$ = H5Pset_virtual_spatial_tree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_spatial_tree", dcpl_id, use_tree);
+ }
+ return (int)mh$.invokeExact(dcpl_id, use_tree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_external {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_external");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_external$descriptor() { return H5Pset_external.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_external$handle() { return H5Pset_external.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_external$address() { return H5Pset_external.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static int H5Pset_external(long plist_id, MemorySegment name, long offset, long size)
+ {
+ var mh$ = H5Pset_external.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_external", plist_id, name, offset, size);
+ }
+ return (int)mh$.invokeExact(plist_id, name, offset, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fill_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fill_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fill_time$descriptor() { return H5Pset_fill_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static MethodHandle H5Pset_fill_time$handle() { return H5Pset_fill_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static MemorySegment H5Pset_fill_time$address() { return H5Pset_fill_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static int H5Pset_fill_time(long plist_id, int fill_time)
+ {
+ var mh$ = H5Pset_fill_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fill_time", plist_id, fill_time);
+ }
+ return (int)mh$.invokeExact(plist_id, fill_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fill_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fill_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fill_value$descriptor() { return H5Pset_fill_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static MethodHandle H5Pset_fill_value$handle() { return H5Pset_fill_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static MemorySegment H5Pset_fill_value$address() { return H5Pset_fill_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static int H5Pset_fill_value(long plist_id, long type_id, MemorySegment value)
+ {
+ var mh$ = H5Pset_fill_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fill_value", plist_id, type_id, value);
+ }
+ return (int)mh$.invokeExact(plist_id, type_id, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shuffle {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shuffle");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shuffle$descriptor() { return H5Pset_shuffle.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_shuffle$handle() { return H5Pset_shuffle.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_shuffle$address() { return H5Pset_shuffle.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static int H5Pset_shuffle(long plist_id)
+ {
+ var mh$ = H5Pset_shuffle.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shuffle", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_layout {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_layout");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_layout$descriptor() { return H5Pset_layout.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static MethodHandle H5Pset_layout$handle() { return H5Pset_layout.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static MemorySegment H5Pset_layout$address() { return H5Pset_layout.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static int H5Pset_layout(long plist_id, int layout)
+ {
+ var mh$ = H5Pset_layout.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_layout", plist_id, layout);
+ }
+ return (int)mh$.invokeExact(plist_id, layout);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_nbit {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_nbit");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_nbit$descriptor() { return H5Pset_nbit.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_nbit$handle() { return H5Pset_nbit.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_nbit$address() { return H5Pset_nbit.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static int H5Pset_nbit(long plist_id)
+ {
+ var mh$ = H5Pset_nbit.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_nbit", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_scaleoffset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_scaleoffset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_scaleoffset$descriptor() { return H5Pset_scaleoffset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static MethodHandle H5Pset_scaleoffset$handle() { return H5Pset_scaleoffset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static MemorySegment H5Pset_scaleoffset$address() { return H5Pset_scaleoffset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static int H5Pset_scaleoffset(long plist_id, int scale_type, int scale_factor)
+ {
+ var mh$ = H5Pset_scaleoffset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_scaleoffset", plist_id, scale_type, scale_factor);
+ }
+ return (int)mh$.invokeExact(plist_id, scale_type, scale_factor);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_szip {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_szip");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_szip$descriptor() { return H5Pset_szip.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static MethodHandle H5Pset_szip$handle() { return H5Pset_szip.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static MemorySegment H5Pset_szip$address() { return H5Pset_szip.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static int H5Pset_szip(long plist_id, int options_mask, int pixels_per_block)
+ {
+ var mh$ = H5Pset_szip.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_szip", plist_id, options_mask, pixels_per_block);
+ }
+ return (int)mh$.invokeExact(plist_id, options_mask, pixels_per_block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual$descriptor() { return H5Pset_virtual.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual$handle() { return H5Pset_virtual.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual$address() { return H5Pset_virtual.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static int H5Pset_virtual(long dcpl_id, long vspace_id, MemorySegment src_file_name,
+ MemorySegment src_dset_name, long src_space_id)
+ {
+ var mh$ = H5Pset_virtual.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual", dcpl_id, vspace_id, src_file_name, src_dset_name,
+ src_space_id);
+ }
+ return (int)mh$.invokeExact(dcpl_id, vspace_id, src_file_name, src_dset_name, src_space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_append_flush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_append_flush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_append_flush$descriptor() { return H5Pget_append_flush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static MethodHandle H5Pget_append_flush$handle() { return H5Pget_append_flush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static MemorySegment H5Pget_append_flush$address() { return H5Pget_append_flush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static int H5Pget_append_flush(long dapl_id, int dims, MemorySegment boundary, MemorySegment func,
+ MemorySegment udata)
+ {
+ var mh$ = H5Pget_append_flush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_append_flush", dapl_id, dims, boundary, func, udata);
+ }
+ return (int)mh$.invokeExact(dapl_id, dims, boundary, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_chunk_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_chunk_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_chunk_cache$descriptor() { return H5Pget_chunk_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pget_chunk_cache$handle() { return H5Pget_chunk_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pget_chunk_cache$address() { return H5Pget_chunk_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static int H5Pget_chunk_cache(long dapl_id, MemorySegment rdcc_nslots, MemorySegment rdcc_nbytes,
+ MemorySegment rdcc_w0)
+ {
+ var mh$ = H5Pget_chunk_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_chunk_cache", dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_efile_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_efile_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_efile_prefix$descriptor() { return H5Pget_efile_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_efile_prefix$handle() { return H5Pget_efile_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_efile_prefix$address() { return H5Pget_efile_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static long H5Pget_efile_prefix(long dapl_id, MemorySegment prefix, long size)
+ {
+ var mh$ = H5Pget_efile_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_efile_prefix", dapl_id, prefix, size);
+ }
+ return (long)mh$.invokeExact(dapl_id, prefix, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_prefix$descriptor() { return H5Pget_virtual_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_prefix$handle() { return H5Pget_virtual_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_prefix$address() { return H5Pget_virtual_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static long H5Pget_virtual_prefix(long dapl_id, MemorySegment prefix, long size)
+ {
+ var mh$ = H5Pget_virtual_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_prefix", dapl_id, prefix, size);
+ }
+ return (long)mh$.invokeExact(dapl_id, prefix, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_printf_gap {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_printf_gap");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_printf_gap$descriptor()
+ {
+ return H5Pget_virtual_printf_gap.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_printf_gap$handle() { return H5Pget_virtual_printf_gap.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_printf_gap$address() { return H5Pget_virtual_printf_gap.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static int H5Pget_virtual_printf_gap(long dapl_id, MemorySegment gap_size)
+ {
+ var mh$ = H5Pget_virtual_printf_gap.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_printf_gap", dapl_id, gap_size);
+ }
+ return (int)mh$.invokeExact(dapl_id, gap_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_view {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_view");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_view$descriptor() { return H5Pget_virtual_view.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_view$handle() { return H5Pget_virtual_view.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_view$address() { return H5Pget_virtual_view.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static int H5Pget_virtual_view(long dapl_id, MemorySegment view)
+ {
+ var mh$ = H5Pget_virtual_view.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_view", dapl_id, view);
+ }
+ return (int)mh$.invokeExact(dapl_id, view);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_append_flush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_append_flush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_append_flush$descriptor() { return H5Pset_append_flush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static MethodHandle H5Pset_append_flush$handle() { return H5Pset_append_flush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static MemorySegment H5Pset_append_flush$address() { return H5Pset_append_flush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static int H5Pset_append_flush(long dapl_id, int ndims, MemorySegment boundary, MemorySegment func,
+ MemorySegment udata)
+ {
+ var mh$ = H5Pset_append_flush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_append_flush", dapl_id, ndims, boundary, func, udata);
+ }
+ return (int)mh$.invokeExact(dapl_id, ndims, boundary, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_chunk_cache {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_DOUBLE);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_chunk_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_chunk_cache$descriptor() { return H5Pset_chunk_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pset_chunk_cache$handle() { return H5Pset_chunk_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pset_chunk_cache$address() { return H5Pset_chunk_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static int H5Pset_chunk_cache(long dapl_id, long rdcc_nslots, long rdcc_nbytes, double rdcc_w0)
+ {
+ var mh$ = H5Pset_chunk_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_chunk_cache", dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_efile_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_efile_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_efile_prefix$descriptor() { return H5Pset_efile_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MethodHandle H5Pset_efile_prefix$handle() { return H5Pset_efile_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MemorySegment H5Pset_efile_prefix$address() { return H5Pset_efile_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static int H5Pset_efile_prefix(long dapl_id, MemorySegment prefix)
+ {
+ var mh$ = H5Pset_efile_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_efile_prefix", dapl_id, prefix);
+ }
+ return (int)mh$.invokeExact(dapl_id, prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_prefix$descriptor() { return H5Pset_virtual_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_prefix$handle() { return H5Pset_virtual_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_prefix$address() { return H5Pset_virtual_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static int H5Pset_virtual_prefix(long dapl_id, MemorySegment prefix)
+ {
+ var mh$ = H5Pset_virtual_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_prefix", dapl_id, prefix);
+ }
+ return (int)mh$.invokeExact(dapl_id, prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_printf_gap {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_printf_gap");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_printf_gap$descriptor()
+ {
+ return H5Pset_virtual_printf_gap.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_printf_gap$handle() { return H5Pset_virtual_printf_gap.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_printf_gap$address() { return H5Pset_virtual_printf_gap.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static int H5Pset_virtual_printf_gap(long dapl_id, long gap_size)
+ {
+ var mh$ = H5Pset_virtual_printf_gap.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_printf_gap", dapl_id, gap_size);
+ }
+ return (int)mh$.invokeExact(dapl_id, gap_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_view {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_view");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_view$descriptor() { return H5Pset_virtual_view.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_view$handle() { return H5Pset_virtual_view.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_view$address() { return H5Pset_virtual_view.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static int H5Pset_virtual_view(long dapl_id, int view)
+ {
+ var mh$ = H5Pset_virtual_view.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_view", dapl_id, view);
+ }
+ return (int)mh$.invokeExact(dapl_id, view);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_btree_ratios {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_btree_ratios");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_btree_ratios$descriptor() { return H5Pget_btree_ratios.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static MethodHandle H5Pget_btree_ratios$handle() { return H5Pget_btree_ratios.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static MemorySegment H5Pget_btree_ratios$address() { return H5Pget_btree_ratios.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static int H5Pget_btree_ratios(long plist_id, MemorySegment left, MemorySegment middle,
+ MemorySegment right)
+ {
+ var mh$ = H5Pget_btree_ratios.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_btree_ratios", plist_id, left, middle, right);
+ }
+ return (int)mh$.invokeExact(plist_id, left, middle, right);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_buffer {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_buffer");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_buffer$descriptor() { return H5Pget_buffer.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static MethodHandle H5Pget_buffer$handle() { return H5Pget_buffer.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static MemorySegment H5Pget_buffer$address() { return H5Pget_buffer.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static long H5Pget_buffer(long plist_id, MemorySegment tconv, MemorySegment bkg)
+ {
+ var mh$ = H5Pget_buffer.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_buffer", plist_id, tconv, bkg);
+ }
+ return (long)mh$.invokeExact(plist_id, tconv, bkg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_data_transform {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_data_transform");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_data_transform$descriptor() { return H5Pget_data_transform.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_data_transform$handle() { return H5Pget_data_transform.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_data_transform$address() { return H5Pget_data_transform.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static long H5Pget_data_transform(long plist_id, MemorySegment expression, long size)
+ {
+ var mh$ = H5Pget_data_transform.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_data_transform", plist_id, expression, size);
+ }
+ return (long)mh$.invokeExact(plist_id, expression, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_edc_check {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_edc_check");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_edc_check$descriptor() { return H5Pget_edc_check.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_edc_check$handle() { return H5Pget_edc_check.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_edc_check$address() { return H5Pget_edc_check.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_edc_check(long plist_id)
+ {
+ var mh$ = H5Pget_edc_check.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_edc_check", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_hyper_vector_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_hyper_vector_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_hyper_vector_size$descriptor()
+ {
+ return H5Pget_hyper_vector_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_hyper_vector_size$handle() { return H5Pget_hyper_vector_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_hyper_vector_size$address() { return H5Pget_hyper_vector_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static int H5Pget_hyper_vector_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_hyper_vector_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_hyper_vector_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_preserve {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_preserve");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_preserve$descriptor() { return H5Pget_preserve.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_preserve$handle() { return H5Pget_preserve.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_preserve$address() { return H5Pget_preserve.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_preserve(long plist_id)
+ {
+ var mh$ = H5Pget_preserve.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_preserve", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_type_conv_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_type_conv_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_type_conv_cb$descriptor() { return H5Pget_type_conv_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static MethodHandle H5Pget_type_conv_cb$handle() { return H5Pget_type_conv_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static MemorySegment H5Pget_type_conv_cb$address() { return H5Pget_type_conv_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static int H5Pget_type_conv_cb(long dxpl_id, MemorySegment op, MemorySegment operate_data)
+ {
+ var mh$ = H5Pget_type_conv_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_type_conv_cb", dxpl_id, op, operate_data);
+ }
+ return (int)mh$.invokeExact(dxpl_id, op, operate_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vlen_mem_manager {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vlen_mem_manager");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vlen_mem_manager$descriptor()
+ {
+ return H5Pget_vlen_mem_manager.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static MethodHandle H5Pget_vlen_mem_manager$handle() { return H5Pget_vlen_mem_manager.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static MemorySegment H5Pget_vlen_mem_manager$address() { return H5Pget_vlen_mem_manager.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static int H5Pget_vlen_mem_manager(long plist_id, MemorySegment alloc_func,
+ MemorySegment alloc_info, MemorySegment free_func,
+ MemorySegment free_info)
+ {
+ var mh$ = H5Pget_vlen_mem_manager.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vlen_mem_manager", plist_id, alloc_func, alloc_info, free_func,
+ free_info);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_func, alloc_info, free_func, free_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_btree_ratios {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_DOUBLE, hdf5_h.C_DOUBLE, hdf5_h.C_DOUBLE);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_btree_ratios");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_btree_ratios$descriptor() { return H5Pset_btree_ratios.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static MethodHandle H5Pset_btree_ratios$handle() { return H5Pset_btree_ratios.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static MemorySegment H5Pset_btree_ratios$address() { return H5Pset_btree_ratios.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static int H5Pset_btree_ratios(long plist_id, double left, double middle, double right)
+ {
+ var mh$ = H5Pset_btree_ratios.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_btree_ratios", plist_id, left, middle, right);
+ }
+ return (int)mh$.invokeExact(plist_id, left, middle, right);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_buffer {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_buffer");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_buffer$descriptor() { return H5Pset_buffer.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static MethodHandle H5Pset_buffer$handle() { return H5Pset_buffer.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static MemorySegment H5Pset_buffer$address() { return H5Pset_buffer.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static int H5Pset_buffer(long plist_id, long size, MemorySegment tconv, MemorySegment bkg)
+ {
+ var mh$ = H5Pset_buffer.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_buffer", plist_id, size, tconv, bkg);
+ }
+ return (int)mh$.invokeExact(plist_id, size, tconv, bkg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_data_transform {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_data_transform");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_data_transform$descriptor() { return H5Pset_data_transform.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static MethodHandle H5Pset_data_transform$handle() { return H5Pset_data_transform.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static MemorySegment H5Pset_data_transform$address() { return H5Pset_data_transform.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static int H5Pset_data_transform(long plist_id, MemorySegment expression)
+ {
+ var mh$ = H5Pset_data_transform.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_data_transform", plist_id, expression);
+ }
+ return (int)mh$.invokeExact(plist_id, expression);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_edc_check {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_edc_check");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_edc_check$descriptor() { return H5Pset_edc_check.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static MethodHandle H5Pset_edc_check$handle() { return H5Pset_edc_check.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static MemorySegment H5Pset_edc_check$address() { return H5Pset_edc_check.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static int H5Pset_edc_check(long plist_id, int check)
+ {
+ var mh$ = H5Pset_edc_check.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_edc_check", plist_id, check);
+ }
+ return (int)mh$.invokeExact(plist_id, check);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_filter_callback {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_filter_callback");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_filter_callback$descriptor()
+ {
+ return H5Pset_filter_callback.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Pset_filter_callback$handle() { return H5Pset_filter_callback.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Pset_filter_callback$address() { return H5Pset_filter_callback.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static int H5Pset_filter_callback(long plist_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pset_filter_callback.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_filter_callback", plist_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(plist_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_hyper_vector_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_hyper_vector_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_hyper_vector_size$descriptor()
+ {
+ return H5Pset_hyper_vector_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_hyper_vector_size$handle() { return H5Pset_hyper_vector_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_hyper_vector_size$address() { return H5Pset_hyper_vector_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static int H5Pset_hyper_vector_size(long plist_id, long size)
+ {
+ var mh$ = H5Pset_hyper_vector_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_hyper_vector_size", plist_id, size);
+ }
+ return (int)mh$.invokeExact(plist_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_preserve {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_preserve");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_preserve$descriptor() { return H5Pset_preserve.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static MethodHandle H5Pset_preserve$handle() { return H5Pset_preserve.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static MemorySegment H5Pset_preserve$address() { return H5Pset_preserve.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static int H5Pset_preserve(long plist_id, boolean status)
+ {
+ var mh$ = H5Pset_preserve.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_preserve", plist_id, status);
+ }
+ return (int)mh$.invokeExact(plist_id, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_type_conv_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_type_conv_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_type_conv_cb$descriptor() { return H5Pset_type_conv_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static MethodHandle H5Pset_type_conv_cb$handle() { return H5Pset_type_conv_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static MemorySegment H5Pset_type_conv_cb$address() { return H5Pset_type_conv_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static int H5Pset_type_conv_cb(long dxpl_id, MemorySegment op, MemorySegment operate_data)
+ {
+ var mh$ = H5Pset_type_conv_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_type_conv_cb", dxpl_id, op, operate_data);
+ }
+ return (int)mh$.invokeExact(dxpl_id, op, operate_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_vlen_mem_manager {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_vlen_mem_manager");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_vlen_mem_manager$descriptor()
+ {
+ return H5Pset_vlen_mem_manager.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static MethodHandle H5Pset_vlen_mem_manager$handle() { return H5Pset_vlen_mem_manager.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static MemorySegment H5Pset_vlen_mem_manager$address() { return H5Pset_vlen_mem_manager.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static int H5Pset_vlen_mem_manager(long plist_id, MemorySegment alloc_func,
+ MemorySegment alloc_info, MemorySegment free_func,
+ MemorySegment free_info)
+ {
+ var mh$ = H5Pset_vlen_mem_manager.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_vlen_mem_manager", plist_id, alloc_func, alloc_info, free_func,
+ free_info);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_func, alloc_info, free_func, free_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_dataset_io_hyperslab_selection {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_dataset_io_hyperslab_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Pset_dataset_io_hyperslab_selection$descriptor()
+ {
+ return H5Pset_dataset_io_hyperslab_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Pset_dataset_io_hyperslab_selection$handle()
+ {
+ return H5Pset_dataset_io_hyperslab_selection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Pset_dataset_io_hyperslab_selection$address()
+ {
+ return H5Pset_dataset_io_hyperslab_selection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static int H5Pset_dataset_io_hyperslab_selection(long plist_id, int rank, int op,
+ MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Pset_dataset_io_hyperslab_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_dataset_io_hyperslab_selection", plist_id, rank, op, start, stride,
+ count, block);
+ }
+ return (int)mh$.invokeExact(plist_id, rank, op, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_selection_io {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_selection_io");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_selection_io$descriptor() { return H5Pset_selection_io.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static MethodHandle H5Pset_selection_io$handle() { return H5Pset_selection_io.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static MemorySegment H5Pset_selection_io$address() { return H5Pset_selection_io.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static int H5Pset_selection_io(long plist_id, int selection_io_mode)
+ {
+ var mh$ = H5Pset_selection_io.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_selection_io", plist_id, selection_io_mode);
+ }
+ return (int)mh$.invokeExact(plist_id, selection_io_mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_selection_io {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_selection_io");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_selection_io$descriptor() { return H5Pget_selection_io.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static MethodHandle H5Pget_selection_io$handle() { return H5Pget_selection_io.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static MemorySegment H5Pget_selection_io$address() { return H5Pget_selection_io.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static int H5Pget_selection_io(long plist_id, MemorySegment selection_io_mode)
+ {
+ var mh$ = H5Pget_selection_io.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_selection_io", plist_id, selection_io_mode);
+ }
+ return (int)mh$.invokeExact(plist_id, selection_io_mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_no_selection_io_cause {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_no_selection_io_cause");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_no_selection_io_cause$descriptor()
+ {
+ return H5Pget_no_selection_io_cause.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static MethodHandle H5Pget_no_selection_io_cause$handle()
+ {
+ return H5Pget_no_selection_io_cause.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static MemorySegment H5Pget_no_selection_io_cause$address()
+ {
+ return H5Pget_no_selection_io_cause.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static int H5Pget_no_selection_io_cause(long plist_id, MemorySegment no_selection_io_cause)
+ {
+ var mh$ = H5Pget_no_selection_io_cause.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_no_selection_io_cause", plist_id, no_selection_io_cause);
+ }
+ return (int)mh$.invokeExact(plist_id, no_selection_io_cause);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_actual_selection_io_mode {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_actual_selection_io_mode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_actual_selection_io_mode$descriptor()
+ {
+ return H5Pget_actual_selection_io_mode.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static MethodHandle H5Pget_actual_selection_io_mode$handle()
+ {
+ return H5Pget_actual_selection_io_mode.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static MemorySegment H5Pget_actual_selection_io_mode$address()
+ {
+ return H5Pget_actual_selection_io_mode.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static int H5Pget_actual_selection_io_mode(long plist_id, MemorySegment actual_selection_io_mode)
+ {
+ var mh$ = H5Pget_actual_selection_io_mode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_actual_selection_io_mode", plist_id, actual_selection_io_mode);
+ }
+ return (int)mh$.invokeExact(plist_id, actual_selection_io_mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_modify_write_buf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_modify_write_buf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_modify_write_buf$descriptor()
+ {
+ return H5Pset_modify_write_buf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static MethodHandle H5Pset_modify_write_buf$handle() { return H5Pset_modify_write_buf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static MemorySegment H5Pset_modify_write_buf$address() { return H5Pset_modify_write_buf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static int H5Pset_modify_write_buf(long plist_id, boolean modify_write_buf)
+ {
+ var mh$ = H5Pset_modify_write_buf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_modify_write_buf", plist_id, modify_write_buf);
+ }
+ return (int)mh$.invokeExact(plist_id, modify_write_buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_modify_write_buf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_modify_write_buf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_modify_write_buf$descriptor()
+ {
+ return H5Pget_modify_write_buf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static MethodHandle H5Pget_modify_write_buf$handle() { return H5Pget_modify_write_buf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static MemorySegment H5Pget_modify_write_buf$address() { return H5Pget_modify_write_buf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static int H5Pget_modify_write_buf(long plist_id, MemorySegment modify_write_buf)
+ {
+ var mh$ = H5Pget_modify_write_buf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_modify_write_buf", plist_id, modify_write_buf);
+ }
+ return (int)mh$.invokeExact(plist_id, modify_write_buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_create_intermediate_group {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_create_intermediate_group");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_create_intermediate_group$descriptor()
+ {
+ return H5Pget_create_intermediate_group.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static MethodHandle H5Pget_create_intermediate_group$handle()
+ {
+ return H5Pget_create_intermediate_group.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static MemorySegment H5Pget_create_intermediate_group$address()
+ {
+ return H5Pget_create_intermediate_group.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static int H5Pget_create_intermediate_group(long plist_id, MemorySegment crt_intmd)
+ {
+ var mh$ = H5Pget_create_intermediate_group.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_create_intermediate_group", plist_id, crt_intmd);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_intmd);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_create_intermediate_group {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_create_intermediate_group");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_create_intermediate_group$descriptor()
+ {
+ return H5Pset_create_intermediate_group.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static MethodHandle H5Pset_create_intermediate_group$handle()
+ {
+ return H5Pset_create_intermediate_group.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static MemorySegment H5Pset_create_intermediate_group$address()
+ {
+ return H5Pset_create_intermediate_group.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static int H5Pset_create_intermediate_group(long plist_id, int crt_intmd)
+ {
+ var mh$ = H5Pset_create_intermediate_group.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_create_intermediate_group", plist_id, crt_intmd);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_intmd);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_est_link_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_est_link_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_est_link_info$descriptor() { return H5Pget_est_link_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static MethodHandle H5Pget_est_link_info$handle() { return H5Pget_est_link_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static MemorySegment H5Pget_est_link_info$address() { return H5Pget_est_link_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static int H5Pget_est_link_info(long plist_id, MemorySegment est_num_entries,
+ MemorySegment est_name_len)
+ {
+ var mh$ = H5Pget_est_link_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_est_link_info", plist_id, est_num_entries, est_name_len);
+ }
+ return (int)mh$.invokeExact(plist_id, est_num_entries, est_name_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_link_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_link_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_link_creation_order$descriptor()
+ {
+ return H5Pget_link_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pget_link_creation_order$handle()
+ {
+ return H5Pget_link_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pget_link_creation_order$address()
+ {
+ return H5Pget_link_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static int H5Pget_link_creation_order(long plist_id, MemorySegment crt_order_flags)
+ {
+ var mh$ = H5Pget_link_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_link_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_link_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_link_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_link_phase_change$descriptor()
+ {
+ return H5Pget_link_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MethodHandle H5Pget_link_phase_change$handle() { return H5Pget_link_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MemorySegment H5Pget_link_phase_change$address() { return H5Pget_link_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static int H5Pget_link_phase_change(long plist_id, MemorySegment max_compact,
+ MemorySegment min_dense)
+ {
+ var mh$ = H5Pget_link_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_link_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_local_heap_size_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_local_heap_size_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_local_heap_size_hint$descriptor()
+ {
+ return H5Pget_local_heap_size_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static MethodHandle H5Pget_local_heap_size_hint$handle()
+ {
+ return H5Pget_local_heap_size_hint.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static MemorySegment H5Pget_local_heap_size_hint$address()
+ {
+ return H5Pget_local_heap_size_hint.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static int H5Pget_local_heap_size_hint(long plist_id, MemorySegment size_hint)
+ {
+ var mh$ = H5Pget_local_heap_size_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_local_heap_size_hint", plist_id, size_hint);
+ }
+ return (int)mh$.invokeExact(plist_id, size_hint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_est_link_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_est_link_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_est_link_info$descriptor() { return H5Pset_est_link_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static MethodHandle H5Pset_est_link_info$handle() { return H5Pset_est_link_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static MemorySegment H5Pset_est_link_info$address() { return H5Pset_est_link_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static int H5Pset_est_link_info(long plist_id, int est_num_entries, int est_name_len)
+ {
+ var mh$ = H5Pset_est_link_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_est_link_info", plist_id, est_num_entries, est_name_len);
+ }
+ return (int)mh$.invokeExact(plist_id, est_num_entries, est_name_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_link_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_link_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_link_creation_order$descriptor()
+ {
+ return H5Pset_link_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pset_link_creation_order$handle()
+ {
+ return H5Pset_link_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pset_link_creation_order$address()
+ {
+ return H5Pset_link_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static int H5Pset_link_creation_order(long plist_id, int crt_order_flags)
+ {
+ var mh$ = H5Pset_link_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_link_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_link_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_link_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_link_phase_change$descriptor()
+ {
+ return H5Pset_link_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MethodHandle H5Pset_link_phase_change$handle() { return H5Pset_link_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MemorySegment H5Pset_link_phase_change$address() { return H5Pset_link_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static int H5Pset_link_phase_change(long plist_id, int max_compact, int min_dense)
+ {
+ var mh$ = H5Pset_link_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_link_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_local_heap_size_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_local_heap_size_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_local_heap_size_hint$descriptor()
+ {
+ return H5Pset_local_heap_size_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static MethodHandle H5Pset_local_heap_size_hint$handle()
+ {
+ return H5Pset_local_heap_size_hint.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static MemorySegment H5Pset_local_heap_size_hint$address()
+ {
+ return H5Pset_local_heap_size_hint.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static int H5Pset_local_heap_size_hint(long plist_id, long size_hint)
+ {
+ var mh$ = H5Pset_local_heap_size_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_local_heap_size_hint", plist_id, size_hint);
+ }
+ return (int)mh$.invokeExact(plist_id, size_hint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_char_encoding {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_char_encoding");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_char_encoding$descriptor() { return H5Pget_char_encoding.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static MethodHandle H5Pget_char_encoding$handle() { return H5Pget_char_encoding.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static MemorySegment H5Pget_char_encoding$address() { return H5Pget_char_encoding.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static int H5Pget_char_encoding(long plist_id, MemorySegment encoding)
+ {
+ var mh$ = H5Pget_char_encoding.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_char_encoding", plist_id, encoding);
+ }
+ return (int)mh$.invokeExact(plist_id, encoding);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_char_encoding {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_char_encoding");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_char_encoding$descriptor() { return H5Pset_char_encoding.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static MethodHandle H5Pset_char_encoding$handle() { return H5Pset_char_encoding.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static MemorySegment H5Pset_char_encoding$address() { return H5Pset_char_encoding.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static int H5Pset_char_encoding(long plist_id, int encoding)
+ {
+ var mh$ = H5Pset_char_encoding.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_char_encoding", plist_id, encoding);
+ }
+ return (int)mh$.invokeExact(plist_id, encoding);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_acc_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_acc_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_acc_flags$descriptor()
+ {
+ return H5Pget_elink_acc_flags.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_acc_flags$handle() { return H5Pget_elink_acc_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_acc_flags$address() { return H5Pget_elink_acc_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static int H5Pget_elink_acc_flags(long lapl_id, MemorySegment flags)
+ {
+ var mh$ = H5Pget_elink_acc_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_acc_flags", lapl_id, flags);
+ }
+ return (int)mh$.invokeExact(lapl_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_cb$descriptor() { return H5Pget_elink_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_cb$handle() { return H5Pget_elink_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_cb$address() { return H5Pget_elink_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static int H5Pget_elink_cb(long lapl_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pget_elink_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_cb", lapl_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(lapl_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_fapl {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_fapl");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_fapl$descriptor() { return H5Pget_elink_fapl.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_fapl$handle() { return H5Pget_elink_fapl.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_fapl$address() { return H5Pget_elink_fapl.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static long H5Pget_elink_fapl(long lapl_id)
+ {
+ var mh$ = H5Pget_elink_fapl.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_fapl", lapl_id);
+ }
+ return (long)mh$.invokeExact(lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_prefix$descriptor() { return H5Pget_elink_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_prefix$handle() { return H5Pget_elink_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_prefix$address() { return H5Pget_elink_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static long H5Pget_elink_prefix(long plist_id, MemorySegment prefix, long size)
+ {
+ var mh$ = H5Pget_elink_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_prefix", plist_id, prefix, size);
+ }
+ return (long)mh$.invokeExact(plist_id, prefix, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_nlinks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_nlinks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_nlinks$descriptor() { return H5Pget_nlinks.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static MethodHandle H5Pget_nlinks$handle() { return H5Pget_nlinks.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static MemorySegment H5Pget_nlinks$address() { return H5Pget_nlinks.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static int H5Pget_nlinks(long plist_id, MemorySegment nlinks)
+ {
+ var mh$ = H5Pget_nlinks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_nlinks", plist_id, nlinks);
+ }
+ return (int)mh$.invokeExact(plist_id, nlinks);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_acc_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_acc_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_acc_flags$descriptor()
+ {
+ return H5Pset_elink_acc_flags.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_acc_flags$handle() { return H5Pset_elink_acc_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_acc_flags$address() { return H5Pset_elink_acc_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static int H5Pset_elink_acc_flags(long lapl_id, int flags)
+ {
+ var mh$ = H5Pset_elink_acc_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_acc_flags", lapl_id, flags);
+ }
+ return (int)mh$.invokeExact(lapl_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_cb$descriptor() { return H5Pset_elink_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_cb$handle() { return H5Pset_elink_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_cb$address() { return H5Pset_elink_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static int H5Pset_elink_cb(long lapl_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pset_elink_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_cb", lapl_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(lapl_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_fapl {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_fapl");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_fapl$descriptor() { return H5Pset_elink_fapl.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_fapl$handle() { return H5Pset_elink_fapl.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_fapl$address() { return H5Pset_elink_fapl.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_elink_fapl(long lapl_id, long fapl_id)
+ {
+ var mh$ = H5Pset_elink_fapl.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_fapl", lapl_id, fapl_id);
+ }
+ return (int)mh$.invokeExact(lapl_id, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_prefix$descriptor() { return H5Pset_elink_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_prefix$handle() { return H5Pset_elink_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_prefix$address() { return H5Pset_elink_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static int H5Pset_elink_prefix(long plist_id, MemorySegment prefix)
+ {
+ var mh$ = H5Pset_elink_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_prefix", plist_id, prefix);
+ }
+ return (int)mh$.invokeExact(plist_id, prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_nlinks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_nlinks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_nlinks$descriptor() { return H5Pset_nlinks.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static MethodHandle H5Pset_nlinks$handle() { return H5Pset_nlinks.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static MemorySegment H5Pset_nlinks$address() { return H5Pset_nlinks.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static int H5Pset_nlinks(long plist_id, long nlinks)
+ {
+ var mh$ = H5Pset_nlinks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_nlinks", plist_id, nlinks);
+ }
+ return (int)mh$.invokeExact(plist_id, nlinks);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Padd_merge_committed_dtype_path {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Padd_merge_committed_dtype_path");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static FunctionDescriptor H5Padd_merge_committed_dtype_path$descriptor()
+ {
+ return H5Padd_merge_committed_dtype_path.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static MethodHandle H5Padd_merge_committed_dtype_path$handle()
+ {
+ return H5Padd_merge_committed_dtype_path.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static MemorySegment H5Padd_merge_committed_dtype_path$address()
+ {
+ return H5Padd_merge_committed_dtype_path.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static int H5Padd_merge_committed_dtype_path(long plist_id, MemorySegment path)
+ {
+ var mh$ = H5Padd_merge_committed_dtype_path.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Padd_merge_committed_dtype_path", plist_id, path);
+ }
+ return (int)mh$.invokeExact(plist_id, path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pfree_merge_committed_dtype_paths {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pfree_merge_committed_dtype_paths");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pfree_merge_committed_dtype_paths$descriptor()
+ {
+ return H5Pfree_merge_committed_dtype_paths.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pfree_merge_committed_dtype_paths$handle()
+ {
+ return H5Pfree_merge_committed_dtype_paths.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pfree_merge_committed_dtype_paths$address()
+ {
+ return H5Pfree_merge_committed_dtype_paths.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static int H5Pfree_merge_committed_dtype_paths(long plist_id)
+ {
+ var mh$ = H5Pfree_merge_committed_dtype_paths.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pfree_merge_committed_dtype_paths", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_copy_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_copy_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_copy_object$descriptor() { return H5Pget_copy_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static MethodHandle H5Pget_copy_object$handle() { return H5Pget_copy_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static MemorySegment H5Pget_copy_object$address() { return H5Pget_copy_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static int H5Pget_copy_object(long plist_id, MemorySegment copy_options)
+ {
+ var mh$ = H5Pget_copy_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_copy_object", plist_id, copy_options);
+ }
+ return (int)mh$.invokeExact(plist_id, copy_options);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mcdt_search_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mcdt_search_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mcdt_search_cb$descriptor() { return H5Pget_mcdt_search_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static MethodHandle H5Pget_mcdt_search_cb$handle() { return H5Pget_mcdt_search_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static MemorySegment H5Pget_mcdt_search_cb$address() { return H5Pget_mcdt_search_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static int H5Pget_mcdt_search_cb(long plist_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pget_mcdt_search_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mcdt_search_cb", plist_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(plist_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_copy_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_copy_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_copy_object$descriptor() { return H5Pset_copy_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static MethodHandle H5Pset_copy_object$handle() { return H5Pset_copy_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static MemorySegment H5Pset_copy_object$address() { return H5Pset_copy_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static int H5Pset_copy_object(long plist_id, int copy_options)
+ {
+ var mh$ = H5Pset_copy_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_copy_object", plist_id, copy_options);
+ }
+ return (int)mh$.invokeExact(plist_id, copy_options);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mcdt_search_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mcdt_search_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mcdt_search_cb$descriptor() { return H5Pset_mcdt_search_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Pset_mcdt_search_cb$handle() { return H5Pset_mcdt_search_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Pset_mcdt_search_cb$address() { return H5Pset_mcdt_search_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static int H5Pset_mcdt_search_cb(long plist_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pset_mcdt_search_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mcdt_search_cb", plist_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(plist_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pregister1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pregister1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pregister1$descriptor() { return H5Pregister1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MethodHandle H5Pregister1$handle() { return H5Pregister1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MemorySegment H5Pregister1$address() { return H5Pregister1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static int H5Pregister1(long cls_id, MemorySegment name, long size, MemorySegment def_value,
+ MemorySegment prp_create, MemorySegment prp_set, MemorySegment prp_get,
+ MemorySegment prp_del, MemorySegment prp_copy, MemorySegment prp_close)
+ {
+ var mh$ = H5Pregister1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pregister1", cls_id, name, size, def_value, prp_create, prp_set, prp_get,
+ prp_del, prp_copy, prp_close);
+ }
+ return (int)mh$.invokeExact(cls_id, name, size, def_value, prp_create, prp_set, prp_get, prp_del,
+ prp_copy, prp_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pinsert1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pinsert1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pinsert1$descriptor() { return H5Pinsert1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MethodHandle H5Pinsert1$handle() { return H5Pinsert1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MemorySegment H5Pinsert1$address() { return H5Pinsert1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static int H5Pinsert1(long plist_id, MemorySegment name, long size, MemorySegment value,
+ MemorySegment prp_set, MemorySegment prp_get, MemorySegment prp_delete,
+ MemorySegment prp_copy, MemorySegment prp_close)
+ {
+ var mh$ = H5Pinsert1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pinsert1", plist_id, name, size, value, prp_set, prp_get, prp_delete,
+ prp_copy, prp_close);
+ }
+ return (int)mh$.invokeExact(plist_id, name, size, value, prp_set, prp_get, prp_delete, prp_copy,
+ prp_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pencode1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pencode1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static FunctionDescriptor H5Pencode1$descriptor() { return H5Pencode1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MethodHandle H5Pencode1$handle() { return H5Pencode1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MemorySegment H5Pencode1$address() { return H5Pencode1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static int H5Pencode1(long plist_id, MemorySegment buf, MemorySegment nalloc)
+ {
+ var mh$ = H5Pencode1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pencode1", plist_id, buf, nalloc);
+ }
+ return (int)mh$.invokeExact(plist_id, buf, nalloc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter1$descriptor() { return H5Pget_filter1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MethodHandle H5Pget_filter1$handle() { return H5Pget_filter1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MemorySegment H5Pget_filter1$address() { return H5Pget_filter1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static int H5Pget_filter1(long plist_id, int filter, MemorySegment flags, MemorySegment cd_nelmts,
+ MemorySegment cd_values, long namelen, MemorySegment name)
+ {
+ var mh$ = H5Pget_filter1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter1", plist_id, filter, flags, cd_nelmts, cd_values, namelen, name);
+ }
+ return (int)mh$.invokeExact(plist_id, filter, flags, cd_nelmts, cd_values, namelen, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter_by_id1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter_by_id1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter_by_id1$descriptor() { return H5Pget_filter_by_id1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MethodHandle H5Pget_filter_by_id1$handle() { return H5Pget_filter_by_id1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MemorySegment H5Pget_filter_by_id1$address() { return H5Pget_filter_by_id1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static int H5Pget_filter_by_id1(long plist_id, int id, MemorySegment flags,
+ MemorySegment cd_nelmts, MemorySegment cd_values, long namelen,
+ MemorySegment name)
+ {
+ var mh$ = H5Pget_filter_by_id1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter_by_id1", plist_id, id, flags, cd_nelmts, cd_values, namelen,
+ name);
+ }
+ return (int)mh$.invokeExact(plist_id, id, flags, cd_nelmts, cd_values, namelen, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_version {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_version");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_version$descriptor() { return H5Pget_version.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static MethodHandle H5Pget_version$handle() { return H5Pget_version.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static MemorySegment H5Pget_version$address() { return H5Pget_version.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static int H5Pget_version(long plist_id, MemorySegment boot, MemorySegment freelist,
+ MemorySegment stab, MemorySegment shhdr)
+ {
+ var mh$ = H5Pget_version.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_version", plist_id, boot, freelist, stab, shhdr);
+ }
+ return (int)mh$.invokeExact(plist_id, boot, freelist, stab, shhdr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_space {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_space$descriptor() { return H5Pset_file_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static MethodHandle H5Pset_file_space$handle() { return H5Pset_file_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static MemorySegment H5Pset_file_space$address() { return H5Pset_file_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static int H5Pset_file_space(long plist_id, int strategy, long threshold)
+ {
+ var mh$ = H5Pset_file_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_space", plist_id, strategy, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_space {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_space$descriptor() { return H5Pget_file_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static MethodHandle H5Pget_file_space$handle() { return H5Pget_file_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static MemorySegment H5Pget_file_space$address() { return H5Pget_file_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static int H5Pget_file_space(long plist_id, MemorySegment strategy, MemorySegment threshold)
+ {
+ var mh$ = H5Pget_file_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_space", plist_id, strategy, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5PL_TYPE_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_ERROR = -1
+ * }
+ */
+ public static int H5PL_TYPE_ERROR() { return H5PL_TYPE_ERROR; }
+ private static final int H5PL_TYPE_FILTER = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_FILTER = 0
+ * }
+ */
+ public static int H5PL_TYPE_FILTER() { return H5PL_TYPE_FILTER; }
+ private static final int H5PL_TYPE_VOL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_VOL = 1
+ * }
+ */
+ public static int H5PL_TYPE_VOL() { return H5PL_TYPE_VOL; }
+ private static final int H5PL_TYPE_VFD = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_VFD = 2
+ * }
+ */
+ public static int H5PL_TYPE_VFD() { return H5PL_TYPE_VFD; }
+ private static final int H5PL_TYPE_NONE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_NONE = 3
+ * }
+ */
+ public static int H5PL_TYPE_NONE() { return H5PL_TYPE_NONE; }
+
+ private static class H5PLset_loading_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLset_loading_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static FunctionDescriptor H5PLset_loading_state$descriptor() { return H5PLset_loading_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static MethodHandle H5PLset_loading_state$handle() { return H5PLset_loading_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static MemorySegment H5PLset_loading_state$address() { return H5PLset_loading_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static int H5PLset_loading_state(int plugin_control_mask)
+ {
+ var mh$ = H5PLset_loading_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLset_loading_state", plugin_control_mask);
+ }
+ return (int)mh$.invokeExact(plugin_control_mask);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLget_loading_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLget_loading_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static FunctionDescriptor H5PLget_loading_state$descriptor() { return H5PLget_loading_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static MethodHandle H5PLget_loading_state$handle() { return H5PLget_loading_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static MemorySegment H5PLget_loading_state$address() { return H5PLget_loading_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static int H5PLget_loading_state(MemorySegment plugin_control_mask)
+ {
+ var mh$ = H5PLget_loading_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLget_loading_state", plugin_control_mask);
+ }
+ return (int)mh$.invokeExact(plugin_control_mask);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLappend {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLappend");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static FunctionDescriptor H5PLappend$descriptor() { return H5PLappend.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static MethodHandle H5PLappend$handle() { return H5PLappend.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static MemorySegment H5PLappend$address() { return H5PLappend.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static int H5PLappend(MemorySegment search_path)
+ {
+ var mh$ = H5PLappend.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLappend", search_path);
+ }
+ return (int)mh$.invokeExact(search_path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLprepend {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLprepend");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static FunctionDescriptor H5PLprepend$descriptor() { return H5PLprepend.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static MethodHandle H5PLprepend$handle() { return H5PLprepend.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static MemorySegment H5PLprepend$address() { return H5PLprepend.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static int H5PLprepend(MemorySegment search_path)
+ {
+ var mh$ = H5PLprepend.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLprepend", search_path);
+ }
+ return (int)mh$.invokeExact(search_path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLreplace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLreplace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static FunctionDescriptor H5PLreplace$descriptor() { return H5PLreplace.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MethodHandle H5PLreplace$handle() { return H5PLreplace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MemorySegment H5PLreplace$address() { return H5PLreplace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static int H5PLreplace(MemorySegment search_path, int index)
+ {
+ var mh$ = H5PLreplace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLreplace", search_path, index);
+ }
+ return (int)mh$.invokeExact(search_path, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLinsert {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLinsert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static FunctionDescriptor H5PLinsert$descriptor() { return H5PLinsert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MethodHandle H5PLinsert$handle() { return H5PLinsert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MemorySegment H5PLinsert$address() { return H5PLinsert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static int H5PLinsert(MemorySegment search_path, int index)
+ {
+ var mh$ = H5PLinsert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLinsert", search_path, index);
+ }
+ return (int)mh$.invokeExact(search_path, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLremove {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLremove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static FunctionDescriptor H5PLremove$descriptor() { return H5PLremove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static MethodHandle H5PLremove$handle() { return H5PLremove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static MemorySegment H5PLremove$address() { return H5PLremove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static int H5PLremove(int index)
+ {
+ var mh$ = H5PLremove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLremove", index);
+ }
+ return (int)mh$.invokeExact(index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLget {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLget");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5PLget$descriptor() { return H5PLget.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5PLget$handle() { return H5PLget.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5PLget$address() { return H5PLget.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static long H5PLget(int index, MemorySegment path_buf, long buf_size)
+ {
+ var mh$ = H5PLget.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLget", index, path_buf, buf_size);
+ }
+ return (long)mh$.invokeExact(index, path_buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLsize {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLsize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static FunctionDescriptor H5PLsize$descriptor() { return H5PLsize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static MethodHandle H5PLsize$handle() { return H5PLsize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static MemorySegment H5PLsize$address() { return H5PLsize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static int H5PLsize(MemorySegment num_paths)
+ {
+ var mh$ = H5PLsize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLsize", num_paths);
+ }
+ return (int)mh$.invokeExact(num_paths);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESinsert_request {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESinsert_request");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static FunctionDescriptor H5ESinsert_request$descriptor() { return H5ESinsert_request.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static MethodHandle H5ESinsert_request$handle() { return H5ESinsert_request.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static MemorySegment H5ESinsert_request$address() { return H5ESinsert_request.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static int H5ESinsert_request(long es_id, long connector_id, MemorySegment request)
+ {
+ var mh$ = H5ESinsert_request.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESinsert_request", es_id, connector_id, request);
+ }
+ return (int)mh$.invokeExact(es_id, connector_id, request);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_requests {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_requests");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_requests$descriptor() { return H5ESget_requests.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static MethodHandle H5ESget_requests$handle() { return H5ESget_requests.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static MemorySegment H5ESget_requests$address() { return H5ESget_requests.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static int H5ESget_requests(long es_id, int order, MemorySegment connector_ids,
+ MemorySegment requests, long array_len, MemorySegment count)
+ {
+ var mh$ = H5ESget_requests.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_requests", es_id, order, connector_ids, requests, array_len, count);
+ }
+ return (int)mh$.invokeExact(es_id, order, connector_ids, requests, array_len, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static FunctionDescriptor H5FDregister$descriptor() { return H5FDregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static MethodHandle H5FDregister$handle() { return H5FDregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static MemorySegment H5FDregister$address() { return H5FDregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static long H5FDregister(MemorySegment cls)
+ {
+ var mh$ = H5FDregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDregister", cls);
+ }
+ return (long)mh$.invokeExact(cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDis_driver_registered_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDis_driver_registered_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static FunctionDescriptor H5FDis_driver_registered_by_name$descriptor()
+ {
+ return H5FDis_driver_registered_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static MethodHandle H5FDis_driver_registered_by_name$handle()
+ {
+ return H5FDis_driver_registered_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static MemorySegment H5FDis_driver_registered_by_name$address()
+ {
+ return H5FDis_driver_registered_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static int H5FDis_driver_registered_by_name(MemorySegment driver_name)
+ {
+ var mh$ = H5FDis_driver_registered_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDis_driver_registered_by_name", driver_name);
+ }
+ return (int)mh$.invokeExact(driver_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDis_driver_registered_by_value {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDis_driver_registered_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static FunctionDescriptor H5FDis_driver_registered_by_value$descriptor()
+ {
+ return H5FDis_driver_registered_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static MethodHandle H5FDis_driver_registered_by_value$handle()
+ {
+ return H5FDis_driver_registered_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static MemorySegment H5FDis_driver_registered_by_value$address()
+ {
+ return H5FDis_driver_registered_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static int H5FDis_driver_registered_by_value(int driver_value)
+ {
+ var mh$ = H5FDis_driver_registered_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDis_driver_registered_by_value", driver_value);
+ }
+ return (int)mh$.invokeExact(driver_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static FunctionDescriptor H5FDunregister$descriptor() { return H5FDunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static MethodHandle H5FDunregister$handle() { return H5FDunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static MemorySegment H5FDunregister$address() { return H5FDunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static int H5FDunregister(long driver_id)
+ {
+ var mh$ = H5FDunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDunregister", driver_id);
+ }
+ return (int)mh$.invokeExact(driver_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDopen {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static FunctionDescriptor H5FDopen$descriptor() { return H5FDopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static MethodHandle H5FDopen$handle() { return H5FDopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static MemorySegment H5FDopen$address() { return H5FDopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static MemorySegment H5FDopen(MemorySegment name, int flags, long fapl_id, long maxaddr)
+ {
+ var mh$ = H5FDopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDopen", name, flags, fapl_id, maxaddr);
+ }
+ return (MemorySegment)mh$.invokeExact(name, flags, fapl_id, maxaddr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static FunctionDescriptor H5FDclose$descriptor() { return H5FDclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static MethodHandle H5FDclose$handle() { return H5FDclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static MemorySegment H5FDclose$address() { return H5FDclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static int H5FDclose(MemorySegment file)
+ {
+ var mh$ = H5FDclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDclose", file);
+ }
+ return (int)mh$.invokeExact(file);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDcmp {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDcmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static FunctionDescriptor H5FDcmp$descriptor() { return H5FDcmp.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static MethodHandle H5FDcmp$handle() { return H5FDcmp.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static MemorySegment H5FDcmp$address() { return H5FDcmp.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static int H5FDcmp(MemorySegment f1, MemorySegment f2)
+ {
+ var mh$ = H5FDcmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDcmp", f1, f2);
+ }
+ return (int)mh$.invokeExact(f1, f2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDquery {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDquery");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static FunctionDescriptor H5FDquery$descriptor() { return H5FDquery.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static MethodHandle H5FDquery$handle() { return H5FDquery.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static MemorySegment H5FDquery$address() { return H5FDquery.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static int H5FDquery(MemorySegment f, MemorySegment flags)
+ {
+ var mh$ = H5FDquery.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDquery", f, flags);
+ }
+ return (int)mh$.invokeExact(f, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDalloc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDalloc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5FDalloc$descriptor() { return H5FDalloc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5FDalloc$handle() { return H5FDalloc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5FDalloc$address() { return H5FDalloc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static long H5FDalloc(MemorySegment file, int type, long dxpl_id, long size)
+ {
+ var mh$ = H5FDalloc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDalloc", file, type, dxpl_id, size);
+ }
+ return (long)mh$.invokeExact(file, type, dxpl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDfree {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDfree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5FDfree$descriptor() { return H5FDfree.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5FDfree$handle() { return H5FDfree.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5FDfree$address() { return H5FDfree.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static int H5FDfree(MemorySegment file, int type, long dxpl_id, long addr, long size)
+ {
+ var mh$ = H5FDfree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDfree", file, type, dxpl_id, addr, size);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, addr, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDget_eoa {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDget_eoa");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static FunctionDescriptor H5FDget_eoa$descriptor() { return H5FDget_eoa.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MethodHandle H5FDget_eoa$handle() { return H5FDget_eoa.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MemorySegment H5FDget_eoa$address() { return H5FDget_eoa.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static long H5FDget_eoa(MemorySegment file, int type)
+ {
+ var mh$ = H5FDget_eoa.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDget_eoa", file, type);
+ }
+ return (long)mh$.invokeExact(file, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDset_eoa {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDset_eoa");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static FunctionDescriptor H5FDset_eoa$descriptor() { return H5FDset_eoa.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static MethodHandle H5FDset_eoa$handle() { return H5FDset_eoa.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static MemorySegment H5FDset_eoa$address() { return H5FDset_eoa.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static int H5FDset_eoa(MemorySegment file, int type, long eoa)
+ {
+ var mh$ = H5FDset_eoa.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDset_eoa", file, type, eoa);
+ }
+ return (int)mh$.invokeExact(file, type, eoa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDget_eof {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDget_eof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static FunctionDescriptor H5FDget_eof$descriptor() { return H5FDget_eof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MethodHandle H5FDget_eof$handle() { return H5FDget_eof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MemorySegment H5FDget_eof$address() { return H5FDget_eof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static long H5FDget_eof(MemorySegment file, int type)
+ {
+ var mh$ = H5FDget_eof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDget_eof", file, type);
+ }
+ return (long)mh$.invokeExact(file, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDget_vfd_handle {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDget_vfd_handle");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static FunctionDescriptor H5FDget_vfd_handle$descriptor() { return H5FDget_vfd_handle.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MethodHandle H5FDget_vfd_handle$handle() { return H5FDget_vfd_handle.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MemorySegment H5FDget_vfd_handle$address() { return H5FDget_vfd_handle.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static int H5FDget_vfd_handle(MemorySegment file, long fapl, MemorySegment file_handle)
+ {
+ var mh$ = H5FDget_vfd_handle.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDget_vfd_handle", file, fapl, file_handle);
+ }
+ return (int)mh$.invokeExact(file, fapl, file_handle);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5FDread$descriptor() { return H5FDread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static MethodHandle H5FDread$handle() { return H5FDread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static MemorySegment H5FDread$address() { return H5FDread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static int H5FDread(MemorySegment file, int type, long dxpl_id, long addr, long size,
+ MemorySegment buf)
+ {
+ var mh$ = H5FDread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread", file, type, dxpl_id, addr, size, buf);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, addr, size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite$descriptor() { return H5FDwrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static MethodHandle H5FDwrite$handle() { return H5FDwrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static MemorySegment H5FDwrite$address() { return H5FDwrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static int H5FDwrite(MemorySegment file, int type, long dxpl_id, long addr, long size,
+ MemorySegment buf)
+ {
+ var mh$ = H5FDwrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite", file, type, dxpl_id, addr, size, buf);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, addr, size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_vector {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_vector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_vector$descriptor() { return H5FDread_vector.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_vector$handle() { return H5FDread_vector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_vector$address() { return H5FDread_vector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_vector(MemorySegment file, long dxpl_id, int count, MemorySegment types,
+ MemorySegment addrs, MemorySegment sizes, MemorySegment bufs)
+ {
+ var mh$ = H5FDread_vector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_vector", file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_vector {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_vector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_vector$descriptor() { return H5FDwrite_vector.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_vector$handle() { return H5FDwrite_vector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_vector$address() { return H5FDwrite_vector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_vector(MemorySegment file, long dxpl_id, int count, MemorySegment types,
+ MemorySegment addrs, MemorySegment sizes, MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_vector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_vector", file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_selection$descriptor() { return H5FDread_selection.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_selection$handle() { return H5FDread_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_selection$address() { return H5FDread_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDread_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_selection", file, type, dxpl_id, count, mem_spaces, file_spaces,
+ offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_selection$descriptor() { return H5FDwrite_selection.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_selection$handle() { return H5FDwrite_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_selection$address() { return H5FDwrite_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_selection", file, type, dxpl_id, count, mem_spaces, file_spaces,
+ offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_vector_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_vector_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_vector_from_selection$descriptor()
+ {
+ return H5FDread_vector_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_vector_from_selection$handle()
+ {
+ return H5FDread_vector_from_selection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_vector_from_selection$address()
+ {
+ return H5FDread_vector_from_selection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_vector_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDread_vector_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_vector_from_selection", file, type, dxpl_id, count, mem_spaces,
+ file_spaces, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_vector_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_vector_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_vector_from_selection$descriptor()
+ {
+ return H5FDwrite_vector_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_vector_from_selection$handle()
+ {
+ return H5FDwrite_vector_from_selection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_vector_from_selection$address()
+ {
+ return H5FDwrite_vector_from_selection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_vector_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_vector_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_vector_from_selection", file, type, dxpl_id, count, mem_spaces,
+ file_spaces, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_from_selection$descriptor()
+ {
+ return H5FDread_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_from_selection$handle() { return H5FDread_from_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_from_selection$address() { return H5FDread_from_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_space_ids, MemorySegment file_space_ids,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDread_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_from_selection", file, type, dxpl_id, count, mem_space_ids,
+ file_space_ids, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_space_ids, file_space_ids, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_from_selection$descriptor()
+ {
+ return H5FDwrite_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_from_selection$handle() { return H5FDwrite_from_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_from_selection$address() { return H5FDwrite_from_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_space_ids, MemorySegment file_space_ids,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_from_selection", file, type, dxpl_id, count, mem_space_ids,
+ file_space_ids, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_space_ids, file_space_ids, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDflush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static FunctionDescriptor H5FDflush$descriptor() { return H5FDflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MethodHandle H5FDflush$handle() { return H5FDflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MemorySegment H5FDflush$address() { return H5FDflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static int H5FDflush(MemorySegment file, long dxpl_id, boolean closing)
+ {
+ var mh$ = H5FDflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDflush", file, dxpl_id, closing);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, closing);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDtruncate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDtruncate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static FunctionDescriptor H5FDtruncate$descriptor() { return H5FDtruncate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MethodHandle H5FDtruncate$handle() { return H5FDtruncate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MemorySegment H5FDtruncate$address() { return H5FDtruncate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static int H5FDtruncate(MemorySegment file, long dxpl_id, boolean closing)
+ {
+ var mh$ = H5FDtruncate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDtruncate", file, dxpl_id, closing);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, closing);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDlock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDlock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static FunctionDescriptor H5FDlock$descriptor() { return H5FDlock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static MethodHandle H5FDlock$handle() { return H5FDlock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static MemorySegment H5FDlock$address() { return H5FDlock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static int H5FDlock(MemorySegment file, boolean rw)
+ {
+ var mh$ = H5FDlock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDlock", file, rw);
+ }
+ return (int)mh$.invokeExact(file, rw);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDunlock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDunlock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static FunctionDescriptor H5FDunlock$descriptor() { return H5FDunlock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static MethodHandle H5FDunlock$handle() { return H5FDunlock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static MemorySegment H5FDunlock$address() { return H5FDunlock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static int H5FDunlock(MemorySegment file)
+ {
+ var mh$ = H5FDunlock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDunlock", file);
+ }
+ return (int)mh$.invokeExact(file);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDdelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDdelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5FDdelete$descriptor() { return H5FDdelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5FDdelete$handle() { return H5FDdelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5FDdelete$address() { return H5FDdelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static int H5FDdelete(MemorySegment name, long fapl_id)
+ {
+ var mh$ = H5FDdelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDdelete", name, fapl_id);
+ }
+ return (int)mh$.invokeExact(name, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDctl {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDctl");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static FunctionDescriptor H5FDctl$descriptor() { return H5FDctl.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static MethodHandle H5FDctl$handle() { return H5FDctl.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static MemorySegment H5FDctl$address() { return H5FDctl.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static int H5FDctl(MemorySegment file, long op_code, long flags, MemorySegment input,
+ MemorySegment output)
+ {
+ var mh$ = H5FDctl.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDctl", file, op_code, flags, input, output);
+ }
+ return (int)mh$.invokeExact(file, op_code, flags, input, output);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iregister_future {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister_future");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister_future$descriptor() { return H5Iregister_future.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static MethodHandle H5Iregister_future$handle() { return H5Iregister_future.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static MemorySegment H5Iregister_future$address() { return H5Iregister_future.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static long H5Iregister_future(int type, MemorySegment object, MemorySegment realize_cb,
+ MemorySegment discard_cb)
+ {
+ var mh$ = H5Iregister_future.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister_future", type, object, realize_cb, discard_cb);
+ }
+ return (long)mh$.invokeExact(type, object, realize_cb, discard_cb);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static FunctionDescriptor H5Lregister$descriptor() { return H5Lregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static MethodHandle H5Lregister$handle() { return H5Lregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static MemorySegment H5Lregister$address() { return H5Lregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static int H5Lregister(MemorySegment cls)
+ {
+ var mh$ = H5Lregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lregister", cls);
+ }
+ return (int)mh$.invokeExact(cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Lunregister$descriptor() { return H5Lunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static MethodHandle H5Lunregister$handle() { return H5Lunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static MemorySegment H5Lunregister$address() { return H5Lunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static int H5Lunregister(int id)
+ {
+ var mh$ = H5Lunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lunregister", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5T_CONV_INIT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cmd_t.H5T_CONV_INIT = 0
+ * }
+ */
+ public static int H5T_CONV_INIT() { return H5T_CONV_INIT; }
+ private static final int H5T_CONV_CONV = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cmd_t.H5T_CONV_CONV = 1
+ * }
+ */
+ public static int H5T_CONV_CONV() { return H5T_CONV_CONV; }
+ private static final int H5T_CONV_FREE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cmd_t.H5T_CONV_FREE = 2
+ * }
+ */
+ public static int H5T_CONV_FREE() { return H5T_CONV_FREE; }
+ private static final int H5T_BKG_NO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_bkg_t.H5T_BKG_NO = 0
+ * }
+ */
+ public static int H5T_BKG_NO() { return H5T_BKG_NO; }
+ private static final int H5T_BKG_TEMP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_bkg_t.H5T_BKG_TEMP = 1
+ * }
+ */
+ public static int H5T_BKG_TEMP() { return H5T_BKG_TEMP; }
+ private static final int H5T_BKG_YES = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_bkg_t.H5T_BKG_YES = 2
+ * }
+ */
+ public static int H5T_BKG_YES() { return H5T_BKG_YES; }
+ private static final int H5T_PERS_DONTCARE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pers_t.H5T_PERS_DONTCARE = -1
+ * }
+ */
+ public static int H5T_PERS_DONTCARE() { return H5T_PERS_DONTCARE; }
+ private static final int H5T_PERS_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pers_t.H5T_PERS_HARD = 0
+ * }
+ */
+ public static int H5T_PERS_HARD() { return H5T_PERS_HARD; }
+ private static final int H5T_PERS_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pers_t.H5T_PERS_SOFT = 1
+ * }
+ */
+ public static int H5T_PERS_SOFT() { return H5T_PERS_SOFT; }
+
+ private static class H5Tregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static FunctionDescriptor H5Tregister$descriptor() { return H5Tregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MethodHandle H5Tregister$handle() { return H5Tregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MemorySegment H5Tregister$address() { return H5Tregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static int H5Tregister(int pers, MemorySegment name, long src_id, long dst_id, MemorySegment func)
+ {
+ var mh$ = H5Tregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tregister", pers, name, src_id, dst_id, func);
+ }
+ return (int)mh$.invokeExact(pers, name, src_id, dst_id, func);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static FunctionDescriptor H5Tunregister$descriptor() { return H5Tunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MethodHandle H5Tunregister$handle() { return H5Tunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MemorySegment H5Tunregister$address() { return H5Tunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static int H5Tunregister(int pers, MemorySegment name, long src_id, long dst_id,
+ MemorySegment func)
+ {
+ var mh$ = H5Tunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tunregister", pers, name, src_id, dst_id, func);
+ }
+ return (int)mh$.invokeExact(pers, name, src_id, dst_id, func);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tfind {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tfind");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static FunctionDescriptor H5Tfind$descriptor() { return H5Tfind.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static MethodHandle H5Tfind$handle() { return H5Tfind.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static MemorySegment H5Tfind$address() { return H5Tfind.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static MemorySegment H5Tfind(long src_id, long dst_id, MemorySegment pcdata)
+ {
+ var mh$ = H5Tfind.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tfind", src_id, dst_id, pcdata);
+ }
+ return (MemorySegment)mh$.invokeExact(src_id, dst_id, pcdata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcompiler_conv {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcompiler_conv");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcompiler_conv$descriptor() { return H5Tcompiler_conv.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static MethodHandle H5Tcompiler_conv$handle() { return H5Tcompiler_conv.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static MemorySegment H5Tcompiler_conv$address() { return H5Tcompiler_conv.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static int H5Tcompiler_conv(long src_id, long dst_id)
+ {
+ var mh$ = H5Tcompiler_conv.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcompiler_conv", src_id, dst_id);
+ }
+ return (int)mh$.invokeExact(src_id, dst_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5TSmutex_acquire {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5TSmutex_acquire");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static FunctionDescriptor H5TSmutex_acquire$descriptor() { return H5TSmutex_acquire.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static MethodHandle H5TSmutex_acquire$handle() { return H5TSmutex_acquire.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static MemorySegment H5TSmutex_acquire$address() { return H5TSmutex_acquire.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static int H5TSmutex_acquire(int lock_count, MemorySegment acquired)
+ {
+ var mh$ = H5TSmutex_acquire.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5TSmutex_acquire", lock_count, acquired);
+ }
+ return (int)mh$.invokeExact(lock_count, acquired);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5TSmutex_release {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5TSmutex_release");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static FunctionDescriptor H5TSmutex_release$descriptor() { return H5TSmutex_release.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static MethodHandle H5TSmutex_release$handle() { return H5TSmutex_release.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static MemorySegment H5TSmutex_release$address() { return H5TSmutex_release.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static int H5TSmutex_release(MemorySegment lock_count)
+ {
+ var mh$ = H5TSmutex_release.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5TSmutex_release", lock_count);
+ }
+ return (int)mh$.invokeExact(lock_count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5TSmutex_get_attempt_count {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5TSmutex_get_attempt_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static FunctionDescriptor H5TSmutex_get_attempt_count$descriptor()
+ {
+ return H5TSmutex_get_attempt_count.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static MethodHandle H5TSmutex_get_attempt_count$handle()
+ {
+ return H5TSmutex_get_attempt_count.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static MemorySegment H5TSmutex_get_attempt_count$address()
+ {
+ return H5TSmutex_get_attempt_count.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static int H5TSmutex_get_attempt_count(MemorySegment count)
+ {
+ var mh$ = H5TSmutex_get_attempt_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5TSmutex_get_attempt_count", count);
+ }
+ return (int)mh$.invokeExact(count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Zregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static FunctionDescriptor H5Zregister$descriptor() { return H5Zregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static MethodHandle H5Zregister$handle() { return H5Zregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static MemorySegment H5Zregister$address() { return H5Zregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static int H5Zregister(MemorySegment cls)
+ {
+ var mh$ = H5Zregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zregister", cls);
+ }
+ return (int)mh$.invokeExact(cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Zunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Zunregister$descriptor() { return H5Zunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static MethodHandle H5Zunregister$handle() { return H5Zunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static MemorySegment H5Zunregister$address() { return H5Zunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static int H5Zunregister(int id)
+ {
+ var mh$ = H5Zunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zunregister", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLcmp_connector_cls {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLcmp_connector_cls");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static FunctionDescriptor H5VLcmp_connector_cls$descriptor() { return H5VLcmp_connector_cls.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static MethodHandle H5VLcmp_connector_cls$handle() { return H5VLcmp_connector_cls.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static MemorySegment H5VLcmp_connector_cls$address() { return H5VLcmp_connector_cls.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static int H5VLcmp_connector_cls(MemorySegment cmp, long connector_id1, long connector_id2)
+ {
+ var mh$ = H5VLcmp_connector_cls.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLcmp_connector_cls", cmp, connector_id1, connector_id2);
+ }
+ return (int)mh$.invokeExact(cmp, connector_id1, connector_id2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLwrap_register {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLwrap_register");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5VLwrap_register$descriptor() { return H5VLwrap_register.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5VLwrap_register$handle() { return H5VLwrap_register.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5VLwrap_register$address() { return H5VLwrap_register.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static long H5VLwrap_register(MemorySegment obj, int type)
+ {
+ var mh$ = H5VLwrap_register.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLwrap_register", obj, type);
+ }
+ return (long)mh$.invokeExact(obj, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLretrieve_lib_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLretrieve_lib_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static FunctionDescriptor H5VLretrieve_lib_state$descriptor()
+ {
+ return H5VLretrieve_lib_state.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static MethodHandle H5VLretrieve_lib_state$handle() { return H5VLretrieve_lib_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static MemorySegment H5VLretrieve_lib_state$address() { return H5VLretrieve_lib_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static int H5VLretrieve_lib_state(MemorySegment state)
+ {
+ var mh$ = H5VLretrieve_lib_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLretrieve_lib_state", state);
+ }
+ return (int)mh$.invokeExact(state);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLopen_lib_context {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLopen_lib_context");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static FunctionDescriptor H5VLopen_lib_context$descriptor() { return H5VLopen_lib_context.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static MethodHandle H5VLopen_lib_context$handle() { return H5VLopen_lib_context.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static MemorySegment H5VLopen_lib_context$address() { return H5VLopen_lib_context.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static int H5VLopen_lib_context(MemorySegment context)
+ {
+ var mh$ = H5VLopen_lib_context.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLopen_lib_context", context);
+ }
+ return (int)mh$.invokeExact(context);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrestore_lib_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrestore_lib_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static FunctionDescriptor H5VLrestore_lib_state$descriptor() { return H5VLrestore_lib_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static MethodHandle H5VLrestore_lib_state$handle() { return H5VLrestore_lib_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static MemorySegment H5VLrestore_lib_state$address() { return H5VLrestore_lib_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static int H5VLrestore_lib_state(MemorySegment state)
+ {
+ var mh$ = H5VLrestore_lib_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrestore_lib_state", state);
+ }
+ return (int)mh$.invokeExact(state);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLclose_lib_context {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLclose_lib_context");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static FunctionDescriptor H5VLclose_lib_context$descriptor() { return H5VLclose_lib_context.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static MethodHandle H5VLclose_lib_context$handle() { return H5VLclose_lib_context.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static MemorySegment H5VLclose_lib_context$address() { return H5VLclose_lib_context.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static int H5VLclose_lib_context(MemorySegment context)
+ {
+ var mh$ = H5VLclose_lib_context.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLclose_lib_context", context);
+ }
+ return (int)mh$.invokeExact(context);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfree_lib_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfree_lib_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static FunctionDescriptor H5VLfree_lib_state$descriptor() { return H5VLfree_lib_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static MethodHandle H5VLfree_lib_state$handle() { return H5VLfree_lib_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static MemorySegment H5VLfree_lib_state$address() { return H5VLfree_lib_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static int H5VLfree_lib_state(MemorySegment state)
+ {
+ var mh$ = H5VLfree_lib_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfree_lib_state", state);
+ }
+ return (int)mh$.invokeExact(state);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_object$descriptor() { return H5VLget_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLget_object$handle() { return H5VLget_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLget_object$address() { return H5VLget_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLget_object(MemorySegment obj, long connector_id)
+ {
+ var mh$ = H5VLget_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_object", obj, connector_id);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_wrap_ctx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_wrap_ctx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_wrap_ctx$descriptor() { return H5VLget_wrap_ctx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static MethodHandle H5VLget_wrap_ctx$handle() { return H5VLget_wrap_ctx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static MemorySegment H5VLget_wrap_ctx$address() { return H5VLget_wrap_ctx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static int H5VLget_wrap_ctx(MemorySegment obj, long connector_id, MemorySegment wrap_ctx)
+ {
+ var mh$ = H5VLget_wrap_ctx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_wrap_ctx", obj, connector_id, wrap_ctx);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, wrap_ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLwrap_object {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLwrap_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLwrap_object$descriptor() { return H5VLwrap_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static MethodHandle H5VLwrap_object$handle() { return H5VLwrap_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static MemorySegment H5VLwrap_object$address() { return H5VLwrap_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static MemorySegment H5VLwrap_object(MemorySegment obj, int obj_type, long connector_id,
+ MemorySegment wrap_ctx)
+ {
+ var mh$ = H5VLwrap_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLwrap_object", obj, obj_type, connector_id, wrap_ctx);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, obj_type, connector_id, wrap_ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLunwrap_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLunwrap_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLunwrap_object$descriptor() { return H5VLunwrap_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLunwrap_object$handle() { return H5VLunwrap_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLunwrap_object$address() { return H5VLunwrap_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLunwrap_object(MemorySegment obj, long connector_id)
+ {
+ var mh$ = H5VLunwrap_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLunwrap_object", obj, connector_id);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfree_wrap_ctx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfree_wrap_ctx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLfree_wrap_ctx$descriptor() { return H5VLfree_wrap_ctx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLfree_wrap_ctx$handle() { return H5VLfree_wrap_ctx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLfree_wrap_ctx$address() { return H5VLfree_wrap_ctx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static int H5VLfree_wrap_ctx(MemorySegment wrap_ctx, long connector_id)
+ {
+ var mh$ = H5VLfree_wrap_ctx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfree_wrap_ctx", wrap_ctx, connector_id);
+ }
+ return (int)mh$.invokeExact(wrap_ctx, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLinitialize {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLinitialize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLinitialize$descriptor() { return H5VLinitialize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLinitialize$handle() { return H5VLinitialize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLinitialize$address() { return H5VLinitialize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static int H5VLinitialize(long connector_id, long vipl_id)
+ {
+ var mh$ = H5VLinitialize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLinitialize", connector_id, vipl_id);
+ }
+ return (int)mh$.invokeExact(connector_id, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLterminate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLterminate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLterminate$descriptor() { return H5VLterminate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLterminate$handle() { return H5VLterminate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLterminate$address() { return H5VLterminate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static int H5VLterminate(long connector_id)
+ {
+ var mh$ = H5VLterminate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLterminate", connector_id);
+ }
+ return (int)mh$.invokeExact(connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_cap_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_cap_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_cap_flags$descriptor() { return H5VLget_cap_flags.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MethodHandle H5VLget_cap_flags$handle() { return H5VLget_cap_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MemorySegment H5VLget_cap_flags$address() { return H5VLget_cap_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static int H5VLget_cap_flags(long connector_id, MemorySegment cap_flags)
+ {
+ var mh$ = H5VLget_cap_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_cap_flags", connector_id, cap_flags);
+ }
+ return (int)mh$.invokeExact(connector_id, cap_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_value$descriptor() { return H5VLget_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static MethodHandle H5VLget_value$handle() { return H5VLget_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static MemorySegment H5VLget_value$address() { return H5VLget_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static int H5VLget_value(long connector_id, MemorySegment conn_value)
+ {
+ var mh$ = H5VLget_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_value", connector_id, conn_value);
+ }
+ return (int)mh$.invokeExact(connector_id, conn_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLcopy_connector_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLcopy_connector_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5VLcopy_connector_info$descriptor()
+ {
+ return H5VLcopy_connector_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static MethodHandle H5VLcopy_connector_info$handle() { return H5VLcopy_connector_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static MemorySegment H5VLcopy_connector_info$address() { return H5VLcopy_connector_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static int H5VLcopy_connector_info(long connector_id, MemorySegment dst_vol_info,
+ MemorySegment src_vol_info)
+ {
+ var mh$ = H5VLcopy_connector_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLcopy_connector_info", connector_id, dst_vol_info, src_vol_info);
+ }
+ return (int)mh$.invokeExact(connector_id, dst_vol_info, src_vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLcmp_connector_info {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLcmp_connector_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static FunctionDescriptor H5VLcmp_connector_info$descriptor()
+ {
+ return H5VLcmp_connector_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static MethodHandle H5VLcmp_connector_info$handle() { return H5VLcmp_connector_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static MemorySegment H5VLcmp_connector_info$address() { return H5VLcmp_connector_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static int H5VLcmp_connector_info(MemorySegment cmp, long connector_id, MemorySegment info1,
+ MemorySegment info2)
+ {
+ var mh$ = H5VLcmp_connector_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLcmp_connector_info", cmp, connector_id, info1, info2);
+ }
+ return (int)mh$.invokeExact(cmp, connector_id, info1, info2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfree_connector_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfree_connector_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5VLfree_connector_info$descriptor()
+ {
+ return H5VLfree_connector_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static MethodHandle H5VLfree_connector_info$handle() { return H5VLfree_connector_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static MemorySegment H5VLfree_connector_info$address() { return H5VLfree_connector_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static int H5VLfree_connector_info(long connector_id, MemorySegment vol_info)
+ {
+ var mh$ = H5VLfree_connector_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfree_connector_info", connector_id, vol_info);
+ }
+ return (int)mh$.invokeExact(connector_id, vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLconnector_info_to_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLconnector_info_to_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static FunctionDescriptor H5VLconnector_info_to_str$descriptor()
+ {
+ return H5VLconnector_info_to_str.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static MethodHandle H5VLconnector_info_to_str$handle() { return H5VLconnector_info_to_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static MemorySegment H5VLconnector_info_to_str$address() { return H5VLconnector_info_to_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static int H5VLconnector_info_to_str(MemorySegment info, long connector_id, MemorySegment str)
+ {
+ var mh$ = H5VLconnector_info_to_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLconnector_info_to_str", info, connector_id, str);
+ }
+ return (int)mh$.invokeExact(info, connector_id, str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLconnector_str_to_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLconnector_str_to_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static FunctionDescriptor H5VLconnector_str_to_info$descriptor()
+ {
+ return H5VLconnector_str_to_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static MethodHandle H5VLconnector_str_to_info$handle() { return H5VLconnector_str_to_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static MemorySegment H5VLconnector_str_to_info$address() { return H5VLconnector_str_to_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static int H5VLconnector_str_to_info(MemorySegment str, long connector_id, MemorySegment info)
+ {
+ var mh$ = H5VLconnector_str_to_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLconnector_str_to_info", str, connector_id, info);
+ }
+ return (int)mh$.invokeExact(str, connector_id, info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_create$descriptor() { return H5VLattr_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_create$handle() { return H5VLattr_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_create$address() { return H5VLattr_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_create(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment attr_name, long type_id,
+ long space_id, long acpl_id, long aapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLattr_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_create", obj, loc_params, connector_id, attr_name, type_id, space_id,
+ acpl_id, aapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, attr_name, type_id, space_id,
+ acpl_id, aapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_open$descriptor() { return H5VLattr_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_open$handle() { return H5VLattr_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_open$address() { return H5VLattr_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_open(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment name, long aapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLattr_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_open", obj, loc_params, connector_id, name, aapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, aapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_read {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_read");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_read$descriptor() { return H5VLattr_read.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_read$handle() { return H5VLattr_read.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_read$address() { return H5VLattr_read.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLattr_read(MemorySegment attr, long connector_id, long dtype_id, MemorySegment buf,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_read.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_read", attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_write {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_write");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_write$descriptor() { return H5VLattr_write.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_write$handle() { return H5VLattr_write.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_write$address() { return H5VLattr_write.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLattr_write(MemorySegment attr, long connector_id, long dtype_id, MemorySegment buf,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_write.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_write", attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_get {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_get$descriptor() { return H5VLattr_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_get$handle() { return H5VLattr_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_get$address() { return H5VLattr_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLattr_get(MemorySegment obj, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLattr_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_get", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_specific$descriptor() { return H5VLattr_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_specific$handle() { return H5VLattr_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_specific$address() { return H5VLattr_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLattr_specific(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_specific", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_optional$descriptor() { return H5VLattr_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_optional$handle() { return H5VLattr_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_optional$address() { return H5VLattr_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLattr_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_close$descriptor() { return H5VLattr_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_close$handle() { return H5VLattr_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_close$address() { return H5VLattr_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLattr_close(MemorySegment attr, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_close", attr, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(attr, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_create$descriptor() { return H5VLdataset_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_create$handle() { return H5VLdataset_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_create$address() { return H5VLdataset_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_create(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long lcpl_id,
+ long type_id, long space_id, long dcpl_id, long dapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_create", obj, loc_params, connector_id, name, lcpl_id, type_id,
+ space_id, dcpl_id, dapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, lcpl_id, type_id,
+ space_id, dcpl_id, dapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_open$descriptor() { return H5VLdataset_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_open$handle() { return H5VLdataset_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_open$address() { return H5VLdataset_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_open(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long dapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_open", obj, loc_params, connector_id, name, dapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, dapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_read {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_read");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_read$descriptor() { return H5VLdataset_read.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_read$handle() { return H5VLdataset_read.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_read$address() { return H5VLdataset_read.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static int H5VLdataset_read(long count, MemorySegment dset, long connector_id,
+ MemorySegment mem_type_id, MemorySegment mem_space_id,
+ MemorySegment file_space_id, long plist_id, MemorySegment buf,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_read.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_read", count, dset, connector_id, mem_type_id, mem_space_id,
+ file_space_id, plist_id, buf, req);
+ }
+ return (int)mh$.invokeExact(count, dset, connector_id, mem_type_id, mem_space_id, file_space_id,
+ plist_id, buf, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_write {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_write");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_write$descriptor() { return H5VLdataset_write.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_write$handle() { return H5VLdataset_write.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_write$address() { return H5VLdataset_write.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static int H5VLdataset_write(long count, MemorySegment dset, long connector_id,
+ MemorySegment mem_type_id, MemorySegment mem_space_id,
+ MemorySegment file_space_id, long plist_id, MemorySegment buf,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_write.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_write", count, dset, connector_id, mem_type_id, mem_space_id,
+ file_space_id, plist_id, buf, req);
+ }
+ return (int)mh$.invokeExact(count, dset, connector_id, mem_type_id, mem_space_id, file_space_id,
+ plist_id, buf, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_get {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_get$descriptor() { return H5VLdataset_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_get$handle() { return H5VLdataset_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_get$address() { return H5VLdataset_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdataset_get(MemorySegment dset, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_get", dset, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dset, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_specific {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_specific$descriptor() { return H5VLdataset_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_specific$handle() { return H5VLdataset_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_specific$address() { return H5VLdataset_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdataset_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_optional$descriptor() { return H5VLdataset_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_optional$handle() { return H5VLdataset_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_optional$address() { return H5VLdataset_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdataset_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_close$descriptor() { return H5VLdataset_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_close$handle() { return H5VLdataset_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_close$address() { return H5VLdataset_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdataset_close(MemorySegment dset, long connector_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_close", dset, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dset, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_commit {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_commit");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_commit$descriptor() { return H5VLdatatype_commit.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_commit$handle() { return H5VLdatatype_commit.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_commit$address() { return H5VLdatatype_commit.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_commit(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long type_id,
+ long lcpl_id, long tcpl_id, long tapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_commit.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_commit", obj, loc_params, connector_id, name, type_id, lcpl_id,
+ tcpl_id, tapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, type_id, lcpl_id,
+ tcpl_id, tapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_open$descriptor() { return H5VLdatatype_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_open$handle() { return H5VLdatatype_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_open$address() { return H5VLdatatype_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_open(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long tapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_open", obj, loc_params, connector_id, name, tapl_id, dxpl_id,
+ req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, tapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_get {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_get$descriptor() { return H5VLdatatype_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_get$handle() { return H5VLdatatype_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_get$address() { return H5VLdatatype_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdatatype_get(MemorySegment dt, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_get", dt, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dt, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_specific {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_specific$descriptor() { return H5VLdatatype_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_specific$handle() { return H5VLdatatype_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_specific$address() { return H5VLdatatype_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdatatype_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_optional$descriptor() { return H5VLdatatype_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_optional$handle() { return H5VLdatatype_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_optional$address() { return H5VLdatatype_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdatatype_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_close$descriptor() { return H5VLdatatype_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_close$handle() { return H5VLdatatype_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_close$address() { return H5VLdatatype_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdatatype_close(MemorySegment dt, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_close", dt, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dt, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_create$descriptor() { return H5VLfile_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_create$handle() { return H5VLfile_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_create$address() { return H5VLfile_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_create(MemorySegment name, int flags, long fcpl_id, long fapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_create", name, flags, fcpl_id, fapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(name, flags, fcpl_id, fapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_open {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_open$descriptor() { return H5VLfile_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_open$handle() { return H5VLfile_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_open$address() { return H5VLfile_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_open(MemorySegment name, int flags, long fapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLfile_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_open", name, flags, fapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(name, flags, fapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_get {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_get$descriptor() { return H5VLfile_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_get$handle() { return H5VLfile_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_get$address() { return H5VLfile_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLfile_get(MemorySegment file, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLfile_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_get", file, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(file, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_specific {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_specific$descriptor() { return H5VLfile_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_specific$handle() { return H5VLfile_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_specific$address() { return H5VLfile_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLfile_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_optional$descriptor() { return H5VLfile_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_optional$handle() { return H5VLfile_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_optional$address() { return H5VLfile_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLfile_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_close$descriptor() { return H5VLfile_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_close$handle() { return H5VLfile_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_close$address() { return H5VLfile_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLfile_close(MemorySegment file, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_close", file, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(file, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_create$descriptor() { return H5VLgroup_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_create$handle() { return H5VLgroup_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_create$address() { return H5VLgroup_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_create(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long lcpl_id,
+ long gcpl_id, long gapl_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_create", obj, loc_params, connector_id, name, lcpl_id, gcpl_id,
+ gapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, lcpl_id, gcpl_id,
+ gapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_open$descriptor() { return H5VLgroup_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_open$handle() { return H5VLgroup_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_open$address() { return H5VLgroup_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_open(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment name, long gapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLgroup_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_open", obj, loc_params, connector_id, name, gapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, gapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_get {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_get$descriptor() { return H5VLgroup_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_get$handle() { return H5VLgroup_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_get$address() { return H5VLgroup_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLgroup_get(MemorySegment obj, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLgroup_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_get", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_specific {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_specific$descriptor() { return H5VLgroup_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_specific$handle() { return H5VLgroup_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_specific$address() { return H5VLgroup_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLgroup_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_optional$descriptor() { return H5VLgroup_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_optional$handle() { return H5VLgroup_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_optional$address() { return H5VLgroup_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLgroup_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_close$descriptor() { return H5VLgroup_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_close$handle() { return H5VLgroup_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_close$address() { return H5VLgroup_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLgroup_close(MemorySegment grp, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_close", grp, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(grp, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_create$descriptor() { return H5VLlink_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_create$handle() { return H5VLlink_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_create$address() { return H5VLlink_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_create(MemorySegment args, MemorySegment obj, MemorySegment loc_params,
+ long connector_id, long lcpl_id, long lapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLlink_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_create", args, obj, loc_params, connector_id, lcpl_id, lapl_id,
+ dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(args, obj, loc_params, connector_id, lcpl_id, lapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_copy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_copy$descriptor() { return H5VLlink_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_copy$handle() { return H5VLlink_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_copy$address() { return H5VLlink_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLlink_copy(MemorySegment src_obj, MemorySegment loc_params1, MemorySegment dst_obj,
+ MemorySegment loc_params2, long connector_id, long lcpl_id, long lapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_copy", src_obj, loc_params1, dst_obj, loc_params2, connector_id,
+ lcpl_id, lapl_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(src_obj, loc_params1, dst_obj, loc_params2, connector_id, lcpl_id,
+ lapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_move {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_move");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_move$descriptor() { return H5VLlink_move.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_move$handle() { return H5VLlink_move.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_move$address() { return H5VLlink_move.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLlink_move(MemorySegment src_obj, MemorySegment loc_params1, MemorySegment dst_obj,
+ MemorySegment loc_params2, long connector_id, long lcpl_id, long lapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_move.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_move", src_obj, loc_params1, dst_obj, loc_params2, connector_id,
+ lcpl_id, lapl_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(src_obj, loc_params1, dst_obj, loc_params2, connector_id, lcpl_id,
+ lapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_get$descriptor() { return H5VLlink_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_get$handle() { return H5VLlink_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_get$address() { return H5VLlink_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_get(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_get", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_specific$descriptor() { return H5VLlink_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_specific$handle() { return H5VLlink_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_specific$address() { return H5VLlink_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_specific(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_specific", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_optional$descriptor() { return H5VLlink_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_optional$handle() { return H5VLlink_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_optional$address() { return H5VLlink_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_optional(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_optional", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_open$descriptor() { return H5VLobject_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_open$handle() { return H5VLobject_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_open$address() { return H5VLobject_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_open(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment opened_type, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLobject_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_open", obj, loc_params, connector_id, opened_type, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, opened_type, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_copy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_copy$descriptor() { return H5VLobject_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_copy$handle() { return H5VLobject_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_copy$address() { return H5VLobject_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_copy(MemorySegment src_obj, MemorySegment loc_params1,
+ MemorySegment src_name, MemorySegment dst_obj,
+ MemorySegment loc_params2, MemorySegment dst_name, long connector_id,
+ long ocpypl_id, long lcpl_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_copy", src_obj, loc_params1, src_name, dst_obj, loc_params2,
+ dst_name, connector_id, ocpypl_id, lcpl_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(src_obj, loc_params1, src_name, dst_obj, loc_params2, dst_name,
+ connector_id, ocpypl_id, lcpl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_get$descriptor() { return H5VLobject_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_get$handle() { return H5VLobject_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_get$address() { return H5VLobject_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_get(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_get", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_specific$descriptor() { return H5VLobject_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_specific$handle() { return H5VLobject_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_specific$address() { return H5VLobject_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_specific(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_specific", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_optional$descriptor() { return H5VLobject_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_optional$handle() { return H5VLobject_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_optional$address() { return H5VLobject_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_optional(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_optional", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLintrospect_get_conn_cls {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLintrospect_get_conn_cls");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static FunctionDescriptor H5VLintrospect_get_conn_cls$descriptor()
+ {
+ return H5VLintrospect_get_conn_cls.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static MethodHandle H5VLintrospect_get_conn_cls$handle()
+ {
+ return H5VLintrospect_get_conn_cls.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static MemorySegment H5VLintrospect_get_conn_cls$address()
+ {
+ return H5VLintrospect_get_conn_cls.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static int H5VLintrospect_get_conn_cls(MemorySegment obj, long connector_id, int lvl,
+ MemorySegment conn_cls)
+ {
+ var mh$ = H5VLintrospect_get_conn_cls.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLintrospect_get_conn_cls", obj, connector_id, lvl, conn_cls);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, lvl, conn_cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLintrospect_get_cap_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLintrospect_get_cap_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLintrospect_get_cap_flags$descriptor()
+ {
+ return H5VLintrospect_get_cap_flags.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MethodHandle H5VLintrospect_get_cap_flags$handle()
+ {
+ return H5VLintrospect_get_cap_flags.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MemorySegment H5VLintrospect_get_cap_flags$address()
+ {
+ return H5VLintrospect_get_cap_flags.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static int H5VLintrospect_get_cap_flags(MemorySegment info, long connector_id,
+ MemorySegment cap_flags)
+ {
+ var mh$ = H5VLintrospect_get_cap_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLintrospect_get_cap_flags", info, connector_id, cap_flags);
+ }
+ return (int)mh$.invokeExact(info, connector_id, cap_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLintrospect_opt_query {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLintrospect_opt_query");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLintrospect_opt_query$descriptor()
+ {
+ return H5VLintrospect_opt_query.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static MethodHandle H5VLintrospect_opt_query$handle() { return H5VLintrospect_opt_query.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static MemorySegment H5VLintrospect_opt_query$address() { return H5VLintrospect_opt_query.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static int H5VLintrospect_opt_query(MemorySegment obj, long connector_id, int subcls, int opt_type,
+ MemorySegment flags)
+ {
+ var mh$ = H5VLintrospect_opt_query.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLintrospect_opt_query", obj, connector_id, subcls, opt_type, flags);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, subcls, opt_type, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_wait {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_wait");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_wait$descriptor() { return H5VLrequest_wait.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static MethodHandle H5VLrequest_wait$handle() { return H5VLrequest_wait.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static MemorySegment H5VLrequest_wait$address() { return H5VLrequest_wait.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static int H5VLrequest_wait(MemorySegment req, long connector_id, long timeout,
+ MemorySegment status)
+ {
+ var mh$ = H5VLrequest_wait.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_wait", req, connector_id, timeout, status);
+ }
+ return (int)mh$.invokeExact(req, connector_id, timeout, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_notify {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_notify");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_notify$descriptor() { return H5VLrequest_notify.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static MethodHandle H5VLrequest_notify$handle() { return H5VLrequest_notify.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static MemorySegment H5VLrequest_notify$address() { return H5VLrequest_notify.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static int H5VLrequest_notify(MemorySegment req, long connector_id, MemorySegment cb,
+ MemorySegment ctx)
+ {
+ var mh$ = H5VLrequest_notify.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_notify", req, connector_id, cb, ctx);
+ }
+ return (int)mh$.invokeExact(req, connector_id, cb, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_cancel {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_cancel");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_cancel$descriptor() { return H5VLrequest_cancel.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static MethodHandle H5VLrequest_cancel$handle() { return H5VLrequest_cancel.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static MemorySegment H5VLrequest_cancel$address() { return H5VLrequest_cancel.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static int H5VLrequest_cancel(MemorySegment req, long connector_id, MemorySegment status)
+ {
+ var mh$ = H5VLrequest_cancel.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_cancel", req, connector_id, status);
+ }
+ return (int)mh$.invokeExact(req, connector_id, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_specific$descriptor() { return H5VLrequest_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLrequest_specific$handle() { return H5VLrequest_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLrequest_specific$address() { return H5VLrequest_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static int H5VLrequest_specific(MemorySegment req, long connector_id, MemorySegment args)
+ {
+ var mh$ = H5VLrequest_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_specific", req, connector_id, args);
+ }
+ return (int)mh$.invokeExact(req, connector_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_optional$descriptor() { return H5VLrequest_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLrequest_optional$handle() { return H5VLrequest_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLrequest_optional$address() { return H5VLrequest_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static int H5VLrequest_optional(MemorySegment req, long connector_id, MemorySegment args)
+ {
+ var mh$ = H5VLrequest_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_optional", req, connector_id, args);
+ }
+ return (int)mh$.invokeExact(req, connector_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_free {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_free");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_free$descriptor() { return H5VLrequest_free.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLrequest_free$handle() { return H5VLrequest_free.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLrequest_free$address() { return H5VLrequest_free.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static int H5VLrequest_free(MemorySegment req, long connector_id)
+ {
+ var mh$ = H5VLrequest_free.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_free", req, connector_id);
+ }
+ return (int)mh$.invokeExact(req, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_put {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_put");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_put$descriptor() { return H5VLblob_put.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static MethodHandle H5VLblob_put$handle() { return H5VLblob_put.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static MemorySegment H5VLblob_put$address() { return H5VLblob_put.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static int H5VLblob_put(MemorySegment obj, long connector_id, MemorySegment buf, long size,
+ MemorySegment blob_id, MemorySegment ctx)
+ {
+ var mh$ = H5VLblob_put.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_put", obj, connector_id, buf, size, blob_id, ctx);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, buf, size, blob_id, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_get$descriptor() { return H5VLblob_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static MethodHandle H5VLblob_get$handle() { return H5VLblob_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static MemorySegment H5VLblob_get$address() { return H5VLblob_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static int H5VLblob_get(MemorySegment obj, long connector_id, MemorySegment blob_id,
+ MemorySegment buf, long size, MemorySegment ctx)
+ {
+ var mh$ = H5VLblob_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_get", obj, connector_id, blob_id, buf, size, ctx);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, blob_id, buf, size, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_specific {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_specific$descriptor() { return H5VLblob_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLblob_specific$handle() { return H5VLblob_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLblob_specific$address() { return H5VLblob_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static int H5VLblob_specific(MemorySegment obj, long connector_id, MemorySegment blob_id,
+ MemorySegment args)
+ {
+ var mh$ = H5VLblob_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_specific", obj, connector_id, blob_id, args);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, blob_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_optional$descriptor() { return H5VLblob_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLblob_optional$handle() { return H5VLblob_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLblob_optional$address() { return H5VLblob_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static int H5VLblob_optional(MemorySegment obj, long connector_id, MemorySegment blob_id,
+ MemorySegment args)
+ {
+ var mh$ = H5VLblob_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_optional", obj, connector_id, blob_id, args);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, blob_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLtoken_cmp {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLtoken_cmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLtoken_cmp$descriptor() { return H5VLtoken_cmp.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static MethodHandle H5VLtoken_cmp$handle() { return H5VLtoken_cmp.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static MemorySegment H5VLtoken_cmp$address() { return H5VLtoken_cmp.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static int H5VLtoken_cmp(MemorySegment obj, long connector_id, MemorySegment token1,
+ MemorySegment token2, MemorySegment cmp_value)
+ {
+ var mh$ = H5VLtoken_cmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLtoken_cmp", obj, connector_id, token1, token2, cmp_value);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, token1, token2, cmp_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLtoken_to_str {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLtoken_to_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static FunctionDescriptor H5VLtoken_to_str$descriptor() { return H5VLtoken_to_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static MethodHandle H5VLtoken_to_str$handle() { return H5VLtoken_to_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static MemorySegment H5VLtoken_to_str$address() { return H5VLtoken_to_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static int H5VLtoken_to_str(MemorySegment obj, int obj_type, long connector_id,
+ MemorySegment token, MemorySegment token_str)
+ {
+ var mh$ = H5VLtoken_to_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLtoken_to_str", obj, obj_type, connector_id, token, token_str);
+ }
+ return (int)mh$.invokeExact(obj, obj_type, connector_id, token, token_str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLtoken_from_str {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLtoken_from_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static FunctionDescriptor H5VLtoken_from_str$descriptor() { return H5VLtoken_from_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static MethodHandle H5VLtoken_from_str$handle() { return H5VLtoken_from_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static MemorySegment H5VLtoken_from_str$address() { return H5VLtoken_from_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static int H5VLtoken_from_str(MemorySegment obj, int obj_type, long connector_id,
+ MemorySegment token_str, MemorySegment token)
+ {
+ var mh$ = H5VLtoken_from_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLtoken_from_str", obj, obj_type, connector_id, token_str, token);
+ }
+ return (int)mh$.invokeExact(obj, obj_type, connector_id, token_str, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLoptional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLoptional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLoptional$descriptor() { return H5VLoptional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLoptional$handle() { return H5VLoptional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLoptional$address() { return H5VLoptional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLoptional(MemorySegment obj, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLoptional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLoptional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VL_NATIVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5VL_NATIVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static OfLong H5VL_NATIVE_g$layout() { return H5VL_NATIVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static MemorySegment H5VL_NATIVE_g$segment() { return H5VL_NATIVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static long H5VL_NATIVE_g()
+ {
+ return H5VL_NATIVE_g$constants.SEGMENT.get(H5VL_NATIVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static void H5VL_NATIVE_g(long varValue)
+ {
+ H5VL_NATIVE_g$constants.SEGMENT.set(H5VL_NATIVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5VLnative_addr_to_token {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLnative_addr_to_token");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static FunctionDescriptor H5VLnative_addr_to_token$descriptor()
+ {
+ return H5VLnative_addr_to_token.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static MethodHandle H5VLnative_addr_to_token$handle() { return H5VLnative_addr_to_token.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static MemorySegment H5VLnative_addr_to_token$address() { return H5VLnative_addr_to_token.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static int H5VLnative_addr_to_token(long loc_id, long addr, MemorySegment token)
+ {
+ var mh$ = H5VLnative_addr_to_token.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLnative_addr_to_token", loc_id, addr, token);
+ }
+ return (int)mh$.invokeExact(loc_id, addr, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLnative_token_to_addr {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, H5O_token_t.layout(), hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLnative_token_to_addr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static FunctionDescriptor H5VLnative_token_to_addr$descriptor()
+ {
+ return H5VLnative_token_to_addr.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static MethodHandle H5VLnative_token_to_addr$handle() { return H5VLnative_token_to_addr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static MemorySegment H5VLnative_token_to_addr$address() { return H5VLnative_token_to_addr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static int H5VLnative_token_to_addr(long loc_id, MemorySegment token, MemorySegment addr)
+ {
+ var mh$ = H5VLnative_token_to_addr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLnative_token_to_addr", loc_id, token, addr);
+ }
+ return (int)mh$.invokeExact(loc_id, token, addr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_CORE_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_CORE_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static OfLong H5FD_CORE_id_g$layout() { return H5FD_CORE_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static MemorySegment H5FD_CORE_id_g$segment() { return H5FD_CORE_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static long H5FD_CORE_id_g()
+ {
+ return H5FD_CORE_id_g$constants.SEGMENT.get(H5FD_CORE_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static void H5FD_CORE_id_g(long varValue)
+ {
+ H5FD_CORE_id_g$constants.SEGMENT.set(H5FD_CORE_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_core {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_core");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_core$descriptor() { return H5Pset_fapl_core.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_core$handle() { return H5Pset_fapl_core.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_core$address() { return H5Pset_fapl_core.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static int H5Pset_fapl_core(long fapl_id, long increment, boolean backing_store)
+ {
+ var mh$ = H5Pset_fapl_core.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_core", fapl_id, increment, backing_store);
+ }
+ return (int)mh$.invokeExact(fapl_id, increment, backing_store);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_core {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_core");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_core$descriptor() { return H5Pget_fapl_core.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_core$handle() { return H5Pget_fapl_core.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_core$address() { return H5Pget_fapl_core.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static int H5Pget_fapl_core(long fapl_id, MemorySegment increment, MemorySegment backing_store)
+ {
+ var mh$ = H5Pget_fapl_core.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_core", fapl_id, increment, backing_store);
+ }
+ return (int)mh$.invokeExact(fapl_id, increment, backing_store);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_FAMILY_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_FAMILY_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static OfLong H5FD_FAMILY_id_g$layout() { return H5FD_FAMILY_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static MemorySegment H5FD_FAMILY_id_g$segment() { return H5FD_FAMILY_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static long H5FD_FAMILY_id_g()
+ {
+ return H5FD_FAMILY_id_g$constants.SEGMENT.get(H5FD_FAMILY_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static void H5FD_FAMILY_id_g(long varValue)
+ {
+ H5FD_FAMILY_id_g$constants.SEGMENT.set(H5FD_FAMILY_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_family {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_family");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_family$descriptor() { return H5Pset_fapl_family.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_family$handle() { return H5Pset_fapl_family.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_family$address() { return H5Pset_fapl_family.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_family(long fapl_id, long memb_size, long memb_fapl_id)
+ {
+ var mh$ = H5Pset_fapl_family.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_family", fapl_id, memb_size, memb_fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_size, memb_fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_family {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_family");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_family$descriptor() { return H5Pget_fapl_family.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_family$handle() { return H5Pget_fapl_family.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_family$address() { return H5Pget_fapl_family.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static int H5Pget_fapl_family(long fapl_id, MemorySegment memb_size, MemorySegment memb_fapl_id)
+ {
+ var mh$ = H5Pget_fapl_family.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_family", fapl_id, memb_size, memb_fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_size, memb_fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_LOG_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_LOG_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static OfLong H5FD_LOG_id_g$layout() { return H5FD_LOG_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static MemorySegment H5FD_LOG_id_g$segment() { return H5FD_LOG_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static long H5FD_LOG_id_g()
+ {
+ return H5FD_LOG_id_g$constants.SEGMENT.get(H5FD_LOG_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static void H5FD_LOG_id_g(long varValue)
+ {
+ H5FD_LOG_id_g$constants.SEGMENT.set(H5FD_LOG_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_log {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_log");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_log$descriptor() { return H5Pset_fapl_log.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_log$handle() { return H5Pset_fapl_log.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_log$address() { return H5Pset_fapl_log.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static int H5Pset_fapl_log(long fapl_id, MemorySegment logfile, long flags, long buf_size)
+ {
+ var mh$ = H5Pset_fapl_log.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_log", fapl_id, logfile, flags, buf_size);
+ }
+ return (int)mh$.invokeExact(fapl_id, logfile, flags, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5FD_MPIO_INDEPENDENT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_xfer_t.H5FD_MPIO_INDEPENDENT = 0
+ * }
+ */
+ public static int H5FD_MPIO_INDEPENDENT() { return H5FD_MPIO_INDEPENDENT; }
+ private static final int H5FD_MPIO_COLLECTIVE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_xfer_t.H5FD_MPIO_COLLECTIVE = 1
+ * }
+ */
+ public static int H5FD_MPIO_COLLECTIVE() { return H5FD_MPIO_COLLECTIVE; }
+ private static final int H5FD_MPIO_CHUNK_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_chunk_opt_t.H5FD_MPIO_CHUNK_DEFAULT = 0
+ * }
+ */
+ public static int H5FD_MPIO_CHUNK_DEFAULT() { return H5FD_MPIO_CHUNK_DEFAULT; }
+ private static final int H5FD_MPIO_CHUNK_ONE_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_chunk_opt_t.H5FD_MPIO_CHUNK_ONE_IO = 1
+ * }
+ */
+ public static int H5FD_MPIO_CHUNK_ONE_IO() { return H5FD_MPIO_CHUNK_ONE_IO; }
+ private static final int H5FD_MPIO_CHUNK_MULTI_IO = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_chunk_opt_t.H5FD_MPIO_CHUNK_MULTI_IO = 2
+ * }
+ */
+ public static int H5FD_MPIO_CHUNK_MULTI_IO() { return H5FD_MPIO_CHUNK_MULTI_IO; }
+ private static final int H5FD_MPIO_COLLECTIVE_IO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_collective_opt_t.H5FD_MPIO_COLLECTIVE_IO = 0
+ * }
+ */
+ public static int H5FD_MPIO_COLLECTIVE_IO() { return H5FD_MPIO_COLLECTIVE_IO; }
+ private static final int H5FD_MPIO_INDIVIDUAL_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_collective_opt_t.H5FD_MPIO_INDIVIDUAL_IO = 1
+ * }
+ */
+ public static int H5FD_MPIO_INDIVIDUAL_IO() { return H5FD_MPIO_INDIVIDUAL_IO; }
+
+ private static class H5FD_MULTI_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_MULTI_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static OfLong H5FD_MULTI_id_g$layout() { return H5FD_MULTI_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static MemorySegment H5FD_MULTI_id_g$segment() { return H5FD_MULTI_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static long H5FD_MULTI_id_g()
+ {
+ return H5FD_MULTI_id_g$constants.SEGMENT.get(H5FD_MULTI_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static void H5FD_MULTI_id_g(long varValue)
+ {
+ H5FD_MULTI_id_g$constants.SEGMENT.set(H5FD_MULTI_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_multi$descriptor() { return H5Pset_fapl_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_multi$handle() { return H5Pset_fapl_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_multi$address() { return H5Pset_fapl_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static int H5Pset_fapl_multi(long fapl_id, MemorySegment memb_map, MemorySegment memb_fapl,
+ MemorySegment memb_name, MemorySegment memb_addr, boolean relax)
+ {
+ var mh$ = H5Pset_fapl_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_multi", fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_multi$descriptor() { return H5Pget_fapl_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_multi$handle() { return H5Pget_fapl_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_multi$address() { return H5Pget_fapl_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static int H5Pget_fapl_multi(long fapl_id, MemorySegment memb_map, MemorySegment memb_fapl,
+ MemorySegment memb_name, MemorySegment memb_addr, MemorySegment relax)
+ {
+ var mh$ = H5Pget_fapl_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_multi", fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_split {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_split");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_split$descriptor() { return H5Pset_fapl_split.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_split$handle() { return H5Pset_fapl_split.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_split$address() { return H5Pset_fapl_split.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static int H5Pset_fapl_split(long fapl, MemorySegment meta_ext, long meta_plist_id,
+ MemorySegment raw_ext, long raw_plist_id)
+ {
+ var mh$ = H5Pset_fapl_split.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_split", fapl, meta_ext, meta_plist_id, raw_ext, raw_plist_id);
+ }
+ return (int)mh$.invokeExact(fapl, meta_ext, meta_plist_id, raw_ext, raw_plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5FD_ONION_STORE_TARGET_ONION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_onion_target_file_constant_t.H5FD_ONION_STORE_TARGET_ONION = 0
+ * }
+ */
+ public static int H5FD_ONION_STORE_TARGET_ONION() { return H5FD_ONION_STORE_TARGET_ONION; }
+
+ private static class H5FD_ONION_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_ONION_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static OfLong H5FD_ONION_id_g$layout() { return H5FD_ONION_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static MemorySegment H5FD_ONION_id_g$segment() { return H5FD_ONION_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static long H5FD_ONION_id_g()
+ {
+ return H5FD_ONION_id_g$constants.SEGMENT.get(H5FD_ONION_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static void H5FD_ONION_id_g(long varValue)
+ {
+ H5FD_ONION_id_g$constants.SEGMENT.set(H5FD_ONION_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pget_fapl_onion {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_onion");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_onion$descriptor() { return H5Pget_fapl_onion.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_onion$handle() { return H5Pget_fapl_onion.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_onion$address() { return H5Pget_fapl_onion.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static int H5Pget_fapl_onion(long fapl_id, MemorySegment fa_out)
+ {
+ var mh$ = H5Pget_fapl_onion.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_onion", fapl_id, fa_out);
+ }
+ return (int)mh$.invokeExact(fapl_id, fa_out);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_onion {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_onion");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_onion$descriptor() { return H5Pset_fapl_onion.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_onion$handle() { return H5Pset_fapl_onion.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_onion$address() { return H5Pset_fapl_onion.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static int H5Pset_fapl_onion(long fapl_id, MemorySegment fa)
+ {
+ var mh$ = H5Pset_fapl_onion.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_onion", fapl_id, fa);
+ }
+ return (int)mh$.invokeExact(fapl_id, fa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDonion_get_revision_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDonion_get_revision_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static FunctionDescriptor H5FDonion_get_revision_count$descriptor()
+ {
+ return H5FDonion_get_revision_count.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static MethodHandle H5FDonion_get_revision_count$handle()
+ {
+ return H5FDonion_get_revision_count.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static MemorySegment H5FDonion_get_revision_count$address()
+ {
+ return H5FDonion_get_revision_count.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static int H5FDonion_get_revision_count(MemorySegment filename, long fapl_id,
+ MemorySegment revision_count)
+ {
+ var mh$ = H5FDonion_get_revision_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDonion_get_revision_count", filename, fapl_id, revision_count);
+ }
+ return (int)mh$.invokeExact(filename, fapl_id, revision_count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_ROS3_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_ROS3_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ROS3_id_g
+ * }
+ */
+ public static OfLong H5FD_ROS3_id_g$layout() { return H5FD_ROS3_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ROS3_id_g
+ * }
+ */
+ public static MemorySegment H5FD_ROS3_id_g$segment() { return H5FD_ROS3_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ROS3_id_g
+ * }
+ */
+ public static long H5FD_ROS3_id_g()
+ {
+ return H5FD_ROS3_id_g$constants.SEGMENT.get(H5FD_ROS3_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ROS3_id_g
+ * }
+ */
+ public static void H5FD_ROS3_id_g(long varValue)
+ {
+ H5FD_ROS3_id_g$constants.SEGMENT.set(H5FD_ROS3_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pget_fapl_ros3 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_ros3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3(hid_t fapl_id, H5FD_ros3_fapl_t *fa_out)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_ros3$descriptor() { return H5Pget_fapl_ros3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3(hid_t fapl_id, H5FD_ros3_fapl_t *fa_out)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_ros3$handle() { return H5Pget_fapl_ros3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3(hid_t fapl_id, H5FD_ros3_fapl_t *fa_out)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_ros3$address() { return H5Pget_fapl_ros3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3(hid_t fapl_id, H5FD_ros3_fapl_t *fa_out)
+ * }
+ */
+ public static int H5Pget_fapl_ros3(long fapl_id, MemorySegment fa_out)
+ {
+ var mh$ = H5Pget_fapl_ros3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_ros3", fapl_id, fa_out);
+ }
+ return (int)mh$.invokeExact(fapl_id, fa_out);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_ros3 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_ros3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3(hid_t fapl_id, const H5FD_ros3_fapl_t *fa)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_ros3$descriptor() { return H5Pset_fapl_ros3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3(hid_t fapl_id, const H5FD_ros3_fapl_t *fa)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_ros3$handle() { return H5Pset_fapl_ros3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3(hid_t fapl_id, const H5FD_ros3_fapl_t *fa)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_ros3$address() { return H5Pset_fapl_ros3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3(hid_t fapl_id, const H5FD_ros3_fapl_t *fa)
+ * }
+ */
+ public static int H5Pset_fapl_ros3(long fapl_id, MemorySegment fa)
+ {
+ var mh$ = H5Pset_fapl_ros3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_ros3", fapl_id, fa);
+ }
+ return (int)mh$.invokeExact(fapl_id, fa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_ros3_token {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_ros3_token");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_token(hid_t fapl_id, size_t size, char *token)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_ros3_token$descriptor()
+ {
+ return H5Pget_fapl_ros3_token.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_token(hid_t fapl_id, size_t size, char *token)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_ros3_token$handle() { return H5Pget_fapl_ros3_token.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_token(hid_t fapl_id, size_t size, char *token)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_ros3_token$address() { return H5Pget_fapl_ros3_token.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_token(hid_t fapl_id, size_t size, char *token)
+ * }
+ */
+ public static int H5Pget_fapl_ros3_token(long fapl_id, long size, MemorySegment token)
+ {
+ var mh$ = H5Pget_fapl_ros3_token.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_ros3_token", fapl_id, size, token);
+ }
+ return (int)mh$.invokeExact(fapl_id, size, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_ros3_token {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_ros3_token");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_token(hid_t fapl_id, const char *token)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_ros3_token$descriptor()
+ {
+ return H5Pset_fapl_ros3_token.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_token(hid_t fapl_id, const char *token)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_ros3_token$handle() { return H5Pset_fapl_ros3_token.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_token(hid_t fapl_id, const char *token)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_ros3_token$address() { return H5Pset_fapl_ros3_token.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_token(hid_t fapl_id, const char *token)
+ * }
+ */
+ public static int H5Pset_fapl_ros3_token(long fapl_id, MemorySegment token)
+ {
+ var mh$ = H5Pset_fapl_ros3_token.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_ros3_token", fapl_id, token);
+ }
+ return (int)mh$.invokeExact(fapl_id, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_ros3_endpoint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_ros3_endpoint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_endpoint(hid_t fapl_id, size_t size, char *endpoint)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_ros3_endpoint$descriptor()
+ {
+ return H5Pget_fapl_ros3_endpoint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_endpoint(hid_t fapl_id, size_t size, char *endpoint)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_ros3_endpoint$handle() { return H5Pget_fapl_ros3_endpoint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_endpoint(hid_t fapl_id, size_t size, char *endpoint)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_ros3_endpoint$address() { return H5Pget_fapl_ros3_endpoint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_endpoint(hid_t fapl_id, size_t size, char *endpoint)
+ * }
+ */
+ public static int H5Pget_fapl_ros3_endpoint(long fapl_id, long size, MemorySegment endpoint)
+ {
+ var mh$ = H5Pget_fapl_ros3_endpoint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_ros3_endpoint", fapl_id, size, endpoint);
+ }
+ return (int)mh$.invokeExact(fapl_id, size, endpoint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_ros3_endpoint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_ros3_endpoint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_endpoint(hid_t fapl_id, const char *endpoint)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_ros3_endpoint$descriptor()
+ {
+ return H5Pset_fapl_ros3_endpoint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_endpoint(hid_t fapl_id, const char *endpoint)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_ros3_endpoint$handle() { return H5Pset_fapl_ros3_endpoint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_endpoint(hid_t fapl_id, const char *endpoint)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_ros3_endpoint$address() { return H5Pset_fapl_ros3_endpoint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_endpoint(hid_t fapl_id, const char *endpoint)
+ * }
+ */
+ public static int H5Pset_fapl_ros3_endpoint(long fapl_id, MemorySegment endpoint)
+ {
+ var mh$ = H5Pset_fapl_ros3_endpoint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_ros3_endpoint", fapl_id, endpoint);
+ }
+ return (int)mh$.invokeExact(fapl_id, endpoint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_SEC2_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_SEC2_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static OfLong H5FD_SEC2_id_g$layout() { return H5FD_SEC2_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static MemorySegment H5FD_SEC2_id_g$segment() { return H5FD_SEC2_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static long H5FD_SEC2_id_g()
+ {
+ return H5FD_SEC2_id_g$constants.SEGMENT.get(H5FD_SEC2_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static void H5FD_SEC2_id_g(long varValue)
+ {
+ H5FD_SEC2_id_g$constants.SEGMENT.set(H5FD_SEC2_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_sec2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_sec2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_sec2$descriptor() { return H5Pset_fapl_sec2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_sec2$handle() { return H5Pset_fapl_sec2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_sec2$address() { return H5Pset_fapl_sec2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_sec2(long fapl_id)
+ {
+ var mh$ = H5Pset_fapl_sec2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_sec2", fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_SPLITTER_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_SPLITTER_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static OfLong H5FD_SPLITTER_id_g$layout() { return H5FD_SPLITTER_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static MemorySegment H5FD_SPLITTER_id_g$segment() { return H5FD_SPLITTER_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static long H5FD_SPLITTER_id_g()
+ {
+ return H5FD_SPLITTER_id_g$constants.SEGMENT.get(H5FD_SPLITTER_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static void H5FD_SPLITTER_id_g(long varValue)
+ {
+ H5FD_SPLITTER_id_g$constants.SEGMENT.set(H5FD_SPLITTER_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_splitter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_splitter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_splitter$descriptor() { return H5Pset_fapl_splitter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_splitter$handle() { return H5Pset_fapl_splitter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_splitter$address() { return H5Pset_fapl_splitter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pset_fapl_splitter(long fapl_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pset_fapl_splitter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_splitter", fapl_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_splitter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_splitter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_splitter$descriptor() { return H5Pget_fapl_splitter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_splitter$handle() { return H5Pget_fapl_splitter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_splitter$address() { return H5Pget_fapl_splitter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pget_fapl_splitter(long fapl_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pget_fapl_splitter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_splitter", fapl_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_STDIO_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_STDIO_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static OfLong H5FD_STDIO_id_g$layout() { return H5FD_STDIO_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static MemorySegment H5FD_STDIO_id_g$segment() { return H5FD_STDIO_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static long H5FD_STDIO_id_g()
+ {
+ return H5FD_STDIO_id_g$constants.SEGMENT.get(H5FD_STDIO_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static void H5FD_STDIO_id_g(long varValue)
+ {
+ H5FD_STDIO_id_g$constants.SEGMENT.set(H5FD_STDIO_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_stdio {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_stdio");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_stdio$descriptor() { return H5Pset_fapl_stdio.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_stdio$handle() { return H5Pset_fapl_stdio.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_stdio$address() { return H5Pset_fapl_stdio.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_stdio(long fapl_id)
+ {
+ var mh$ = H5Pset_fapl_stdio.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_stdio", fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VL_PASSTHRU_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5VL_PASSTHRU_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static OfLong H5VL_PASSTHRU_g$layout() { return H5VL_PASSTHRU_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static MemorySegment H5VL_PASSTHRU_g$segment() { return H5VL_PASSTHRU_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static long H5VL_PASSTHRU_g()
+ {
+ return H5VL_PASSTHRU_g$constants.SEGMENT.get(H5VL_PASSTHRU_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static void H5VL_PASSTHRU_g(long varValue)
+ {
+ H5VL_PASSTHRU_g$constants.SEGMENT.set(H5VL_PASSTHRU_g$constants.LAYOUT, 0L, varValue);
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_DEFAULT_PLUGINDIR
+ * "/home/runner/work/hdf5/hdf5/install/lib/plugin:/usr/local/hdf5/lib/plugin"
+ * }
+ */
+ public static MemorySegment H5_DEFAULT_PLUGINDIR()
+ {
+ class Holder {
+ static final MemorySegment H5_DEFAULT_PLUGINDIR = hdf5_h.LIBRARY_ARENA.allocateFrom(
+ "/home/runner/work/hdf5/hdf5/install/lib/plugin:/usr/local/hdf5/lib/plugin");
+ }
+ return Holder.H5_DEFAULT_PLUGINDIR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE "hdf5"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE = hdf5_h.LIBRARY_ARENA.allocateFrom("hdf5");
+ }
+ return Holder.H5_PACKAGE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_BUGREPORT "help@hdfgroup.org"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_BUGREPORT()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_BUGREPORT =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("help@hdfgroup.org");
+ }
+ return Holder.H5_PACKAGE_BUGREPORT;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_NAME "HDF5"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5");
+ }
+ return Holder.H5_PACKAGE_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_STRING "HDF5 2.0.0.4"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_STRING()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_STRING = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5 2.0.0.4");
+ }
+ return Holder.H5_PACKAGE_STRING;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_TARNAME "hdf5"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_TARNAME()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_TARNAME = hdf5_h.LIBRARY_ARENA.allocateFrom("hdf5");
+ }
+ return Holder.H5_PACKAGE_TARNAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_URL "https://www.hdfgroup.org"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_URL()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_URL =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("https://www.hdfgroup.org");
+ }
+ return Holder.H5_PACKAGE_URL;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_VERSION "2.0.0.4"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_VERSION()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_VERSION = hdf5_h.LIBRARY_ARENA.allocateFrom("2.0.0.4");
+ }
+ return Holder.H5_PACKAGE_VERSION;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERSION "2.0.0.4"
+ * }
+ */
+ public static MemorySegment H5_VERSION()
+ {
+ class Holder {
+ static final MemorySegment H5_VERSION = hdf5_h.LIBRARY_ARENA.allocateFrom("2.0.0.4");
+ }
+ return Holder.H5_VERSION;
+ }
+ private static final long _POSIX_C_SOURCE = 200809L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_C_SOURCE 200809
+ * }
+ */
+ public static long _POSIX_C_SOURCE() { return _POSIX_C_SOURCE; }
+ private static final int __TIMESIZE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define __TIMESIZE 64
+ * }
+ */
+ public static int __TIMESIZE() { return __TIMESIZE; }
+ private static final long __STDC_IEC_60559_BFP__ = 201404L;
+ /**
+ * {@snippet lang=c :
+ * #define __STDC_IEC_60559_BFP__ 201404
+ * }
+ */
+ public static long __STDC_IEC_60559_BFP__() { return __STDC_IEC_60559_BFP__; }
+ private static final long __STDC_IEC_60559_COMPLEX__ = 201404L;
+ /**
+ * {@snippet lang=c :
+ * #define __STDC_IEC_60559_COMPLEX__ 201404
+ * }
+ */
+ public static long __STDC_IEC_60559_COMPLEX__() { return __STDC_IEC_60559_COMPLEX__; }
+ private static final long __STDC_ISO_10646__ = 201706L;
+ /**
+ * {@snippet lang=c :
+ * #define __STDC_ISO_10646__ 201706
+ * }
+ */
+ public static long __STDC_ISO_10646__() { return __STDC_ISO_10646__; }
+ private static final int __WCHAR_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define __WCHAR_MAX 2147483647
+ * }
+ */
+ public static int __WCHAR_MAX() { return __WCHAR_MAX; }
+ private static final int __WCHAR_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define __WCHAR_MIN -2147483648
+ * }
+ */
+ public static int __WCHAR_MIN() { return __WCHAR_MIN; }
+ private static final int INT8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define INT8_MIN -128
+ * }
+ */
+ public static int INT8_MIN() { return INT8_MIN; }
+ private static final int INT16_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define INT16_MIN -32768
+ * }
+ */
+ public static int INT16_MIN() { return INT16_MIN; }
+ private static final int INT32_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT32_MIN -2147483648
+ * }
+ */
+ public static int INT32_MIN() { return INT32_MIN; }
+ private static final long INT64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT64_MIN -9223372036854775808
+ * }
+ */
+ public static long INT64_MIN() { return INT64_MIN; }
+ private static final int INT8_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define INT8_MAX 127
+ * }
+ */
+ public static int INT8_MAX() { return INT8_MAX; }
+ private static final int INT16_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define INT16_MAX 32767
+ * }
+ */
+ public static int INT16_MAX() { return INT16_MAX; }
+ private static final int INT32_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT32_MAX 2147483647
+ * }
+ */
+ public static int INT32_MAX() { return INT32_MAX; }
+ private static final long INT64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT64_MAX 9223372036854775807
+ * }
+ */
+ public static long INT64_MAX() { return INT64_MAX; }
+ private static final int UINT8_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT8_MAX 255
+ * }
+ */
+ public static int UINT8_MAX() { return UINT8_MAX; }
+ private static final int UINT16_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT16_MAX 65535
+ * }
+ */
+ public static int UINT16_MAX() { return UINT16_MAX; }
+ private static final int UINT32_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT32_MAX 4294967295
+ * }
+ */
+ public static int UINT32_MAX() { return UINT32_MAX; }
+ private static final long UINT64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT64_MAX -1
+ * }
+ */
+ public static long UINT64_MAX() { return UINT64_MAX; }
+ private static final int INT_LEAST8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST8_MIN -128
+ * }
+ */
+ public static int INT_LEAST8_MIN() { return INT_LEAST8_MIN; }
+ private static final int INT_LEAST16_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST16_MIN -32768
+ * }
+ */
+ public static int INT_LEAST16_MIN() { return INT_LEAST16_MIN; }
+ private static final int INT_LEAST32_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST32_MIN -2147483648
+ * }
+ */
+ public static int INT_LEAST32_MIN() { return INT_LEAST32_MIN; }
+ private static final long INT_LEAST64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST64_MIN -9223372036854775808
+ * }
+ */
+ public static long INT_LEAST64_MIN() { return INT_LEAST64_MIN; }
+ private static final int INT_LEAST8_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST8_MAX 127
+ * }
+ */
+ public static int INT_LEAST8_MAX() { return INT_LEAST8_MAX; }
+ private static final int INT_LEAST16_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST16_MAX 32767
+ * }
+ */
+ public static int INT_LEAST16_MAX() { return INT_LEAST16_MAX; }
+ private static final int INT_LEAST32_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST32_MAX 2147483647
+ * }
+ */
+ public static int INT_LEAST32_MAX() { return INT_LEAST32_MAX; }
+ private static final long INT_LEAST64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST64_MAX 9223372036854775807
+ * }
+ */
+ public static long INT_LEAST64_MAX() { return INT_LEAST64_MAX; }
+ private static final int UINT_LEAST8_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST8_MAX 255
+ * }
+ */
+ public static int UINT_LEAST8_MAX() { return UINT_LEAST8_MAX; }
+ private static final int UINT_LEAST16_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST16_MAX 65535
+ * }
+ */
+ public static int UINT_LEAST16_MAX() { return UINT_LEAST16_MAX; }
+ private static final int UINT_LEAST32_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST32_MAX 4294967295
+ * }
+ */
+ public static int UINT_LEAST32_MAX() { return UINT_LEAST32_MAX; }
+ private static final long UINT_LEAST64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST64_MAX -1
+ * }
+ */
+ public static long UINT_LEAST64_MAX() { return UINT_LEAST64_MAX; }
+ private static final int INT_FAST8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST8_MIN -128
+ * }
+ */
+ public static int INT_FAST8_MIN() { return INT_FAST8_MIN; }
+ private static final long INT_FAST16_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST16_MIN -9223372036854775808
+ * }
+ */
+ public static long INT_FAST16_MIN() { return INT_FAST16_MIN; }
+ private static final long INT_FAST32_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST32_MIN -9223372036854775808
+ * }
+ */
+ public static long INT_FAST32_MIN() { return INT_FAST32_MIN; }
+ private static final long INT_FAST64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST64_MIN -9223372036854775808
+ * }
+ */
+ public static long INT_FAST64_MIN() { return INT_FAST64_MIN; }
+ private static final int INT_FAST8_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST8_MAX 127
+ * }
+ */
+ public static int INT_FAST8_MAX() { return INT_FAST8_MAX; }
+ private static final long INT_FAST16_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST16_MAX 9223372036854775807
+ * }
+ */
+ public static long INT_FAST16_MAX() { return INT_FAST16_MAX; }
+ private static final long INT_FAST32_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST32_MAX 9223372036854775807
+ * }
+ */
+ public static long INT_FAST32_MAX() { return INT_FAST32_MAX; }
+ private static final long INT_FAST64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST64_MAX 9223372036854775807
+ * }
+ */
+ public static long INT_FAST64_MAX() { return INT_FAST64_MAX; }
+ private static final int UINT_FAST8_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST8_MAX 255
+ * }
+ */
+ public static int UINT_FAST8_MAX() { return UINT_FAST8_MAX; }
+ private static final long UINT_FAST16_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST16_MAX -1
+ * }
+ */
+ public static long UINT_FAST16_MAX() { return UINT_FAST16_MAX; }
+ private static final long UINT_FAST32_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST32_MAX -1
+ * }
+ */
+ public static long UINT_FAST32_MAX() { return UINT_FAST32_MAX; }
+ private static final long UINT_FAST64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST64_MAX -1
+ * }
+ */
+ public static long UINT_FAST64_MAX() { return UINT_FAST64_MAX; }
+ private static final long INTPTR_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INTPTR_MIN -9223372036854775808
+ * }
+ */
+ public static long INTPTR_MIN() { return INTPTR_MIN; }
+ private static final long INTPTR_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INTPTR_MAX 9223372036854775807
+ * }
+ */
+ public static long INTPTR_MAX() { return INTPTR_MAX; }
+ private static final long UINTPTR_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINTPTR_MAX -1
+ * }
+ */
+ public static long UINTPTR_MAX() { return UINTPTR_MAX; }
+ private static final long INTMAX_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INTMAX_MIN -9223372036854775808
+ * }
+ */
+ public static long INTMAX_MIN() { return INTMAX_MIN; }
+ private static final long INTMAX_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INTMAX_MAX 9223372036854775807
+ * }
+ */
+ public static long INTMAX_MAX() { return INTMAX_MAX; }
+ private static final long UINTMAX_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINTMAX_MAX -1
+ * }
+ */
+ public static long UINTMAX_MAX() { return UINTMAX_MAX; }
+ private static final long PTRDIFF_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define PTRDIFF_MIN -9223372036854775808
+ * }
+ */
+ public static long PTRDIFF_MIN() { return PTRDIFF_MIN; }
+ private static final long PTRDIFF_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define PTRDIFF_MAX 9223372036854775807
+ * }
+ */
+ public static long PTRDIFF_MAX() { return PTRDIFF_MAX; }
+ private static final int SIG_ATOMIC_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define SIG_ATOMIC_MIN -2147483648
+ * }
+ */
+ public static int SIG_ATOMIC_MIN() { return SIG_ATOMIC_MIN; }
+ private static final int SIG_ATOMIC_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define SIG_ATOMIC_MAX 2147483647
+ * }
+ */
+ public static int SIG_ATOMIC_MAX() { return SIG_ATOMIC_MAX; }
+ private static final long SIZE_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define SIZE_MAX -1
+ * }
+ */
+ public static long SIZE_MAX() { return SIZE_MAX; }
+ private static final int WCHAR_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define WCHAR_MIN -2147483648
+ * }
+ */
+ public static int WCHAR_MIN() { return WCHAR_MIN; }
+ private static final int WCHAR_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define WCHAR_MAX 2147483647
+ * }
+ */
+ public static int WCHAR_MAX() { return WCHAR_MAX; }
+ private static final int WINT_MIN = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define WINT_MIN 0
+ * }
+ */
+ public static int WINT_MIN() { return WINT_MIN; }
+ private static final int WINT_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define WINT_MAX 4294967295
+ * }
+ */
+ public static int WINT_MAX() { return WINT_MAX; }
+ /**
+ * {@snippet lang=c :
+ * #define __PRI64_PREFIX "l"
+ * }
+ */
+ public static MemorySegment __PRI64_PREFIX()
+ {
+ class Holder {
+ static final MemorySegment __PRI64_PREFIX = hdf5_h.LIBRARY_ARENA.allocateFrom("l");
+ }
+ return Holder.__PRI64_PREFIX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __PRIPTR_PREFIX "l"
+ * }
+ */
+ public static MemorySegment __PRIPTR_PREFIX()
+ {
+ class Holder {
+ static final MemorySegment __PRIPTR_PREFIX = hdf5_h.LIBRARY_ARENA.allocateFrom("l");
+ }
+ return Holder.__PRIPTR_PREFIX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId8 "d"
+ * }
+ */
+ public static MemorySegment PRId8()
+ {
+ class Holder {
+ static final MemorySegment PRId8 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRId8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId16 "d"
+ * }
+ */
+ public static MemorySegment PRId16()
+ {
+ class Holder {
+ static final MemorySegment PRId16 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRId16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId32 "d"
+ * }
+ */
+ public static MemorySegment PRId32()
+ {
+ class Holder {
+ static final MemorySegment PRId32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRId32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId64 "ld"
+ * }
+ */
+ public static MemorySegment PRId64()
+ {
+ class Holder {
+ static final MemorySegment PRId64 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRId64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST8 "d"
+ * }
+ */
+ public static MemorySegment PRIdLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRIdLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST16 "d"
+ * }
+ */
+ public static MemorySegment PRIdLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRIdLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST32 "d"
+ * }
+ */
+ public static MemorySegment PRIdLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRIdLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST64 "ld"
+ * }
+ */
+ public static MemorySegment PRIdLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST8 "d"
+ * }
+ */
+ public static MemorySegment PRIdFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRIdFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST16 "ld"
+ * }
+ */
+ public static MemorySegment PRIdFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST32 "ld"
+ * }
+ */
+ public static MemorySegment PRIdFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST64 "ld"
+ * }
+ */
+ public static MemorySegment PRIdFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi8 "i"
+ * }
+ */
+ public static MemorySegment PRIi8()
+ {
+ class Holder {
+ static final MemorySegment PRIi8 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIi8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi16 "i"
+ * }
+ */
+ public static MemorySegment PRIi16()
+ {
+ class Holder {
+ static final MemorySegment PRIi16 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIi16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi32 "i"
+ * }
+ */
+ public static MemorySegment PRIi32()
+ {
+ class Holder {
+ static final MemorySegment PRIi32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIi32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi64 "li"
+ * }
+ */
+ public static MemorySegment PRIi64()
+ {
+ class Holder {
+ static final MemorySegment PRIi64 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.PRIi64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST8 "i"
+ * }
+ */
+ public static MemorySegment PRIiLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIiLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST16 "i"
+ * }
+ */
+ public static MemorySegment PRIiLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIiLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST32 "i"
+ * }
+ */
+ public static MemorySegment PRIiLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIiLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST64 "li"
+ * }
+ */
+ public static MemorySegment PRIiLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.PRIiLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST8 "i"
+ * }
+ */
+ public static MemorySegment PRIiFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIiFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST16 "li"
+ * }
+ */
+ public static MemorySegment PRIiFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.PRIiFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST32 "li"
+ * }
+ */
+ public static MemorySegment PRIiFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.PRIiFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST64 "li"
+ * }
+ */
+ public static MemorySegment PRIiFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.PRIiFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo8 "o"
+ * }
+ */
+ public static MemorySegment PRIo8()
+ {
+ class Holder {
+ static final MemorySegment PRIo8 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIo8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo16 "o"
+ * }
+ */
+ public static MemorySegment PRIo16()
+ {
+ class Holder {
+ static final MemorySegment PRIo16 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIo16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo32 "o"
+ * }
+ */
+ public static MemorySegment PRIo32()
+ {
+ class Holder {
+ static final MemorySegment PRIo32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIo32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo64 "lo"
+ * }
+ */
+ public static MemorySegment PRIo64()
+ {
+ class Holder {
+ static final MemorySegment PRIo64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIo64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST8 "o"
+ * }
+ */
+ public static MemorySegment PRIoLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIoLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST16 "o"
+ * }
+ */
+ public static MemorySegment PRIoLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIoLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST32 "o"
+ * }
+ */
+ public static MemorySegment PRIoLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIoLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST64 "lo"
+ * }
+ */
+ public static MemorySegment PRIoLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST8 "o"
+ * }
+ */
+ public static MemorySegment PRIoFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIoFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST16 "lo"
+ * }
+ */
+ public static MemorySegment PRIoFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST32 "lo"
+ * }
+ */
+ public static MemorySegment PRIoFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST64 "lo"
+ * }
+ */
+ public static MemorySegment PRIoFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu8 "u"
+ * }
+ */
+ public static MemorySegment PRIu8()
+ {
+ class Holder {
+ static final MemorySegment PRIu8 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIu8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu16 "u"
+ * }
+ */
+ public static MemorySegment PRIu16()
+ {
+ class Holder {
+ static final MemorySegment PRIu16 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIu16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu32 "u"
+ * }
+ */
+ public static MemorySegment PRIu32()
+ {
+ class Holder {
+ static final MemorySegment PRIu32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIu32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu64 "lu"
+ * }
+ */
+ public static MemorySegment PRIu64()
+ {
+ class Holder {
+ static final MemorySegment PRIu64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIu64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST8 "u"
+ * }
+ */
+ public static MemorySegment PRIuLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIuLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST16 "u"
+ * }
+ */
+ public static MemorySegment PRIuLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIuLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST32 "u"
+ * }
+ */
+ public static MemorySegment PRIuLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIuLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST64 "lu"
+ * }
+ */
+ public static MemorySegment PRIuLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIuLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST8 "u"
+ * }
+ */
+ public static MemorySegment PRIuFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIuFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST16 "lu"
+ * }
+ */
+ public static MemorySegment PRIuFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIuFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST32 "lu"
+ * }
+ */
+ public static MemorySegment PRIuFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIuFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST64 "lu"
+ * }
+ */
+ public static MemorySegment PRIuFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIuFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx8 "x"
+ * }
+ */
+ public static MemorySegment PRIx8()
+ {
+ class Holder {
+ static final MemorySegment PRIx8 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIx8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx16 "x"
+ * }
+ */
+ public static MemorySegment PRIx16()
+ {
+ class Holder {
+ static final MemorySegment PRIx16 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIx16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx32 "x"
+ * }
+ */
+ public static MemorySegment PRIx32()
+ {
+ class Holder {
+ static final MemorySegment PRIx32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIx32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx64 "lx"
+ * }
+ */
+ public static MemorySegment PRIx64()
+ {
+ class Holder {
+ static final MemorySegment PRIx64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIx64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST8 "x"
+ * }
+ */
+ public static MemorySegment PRIxLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIxLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST16 "x"
+ * }
+ */
+ public static MemorySegment PRIxLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIxLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST32 "x"
+ * }
+ */
+ public static MemorySegment PRIxLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIxLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST64 "lx"
+ * }
+ */
+ public static MemorySegment PRIxLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST8 "x"
+ * }
+ */
+ public static MemorySegment PRIxFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIxFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST16 "lx"
+ * }
+ */
+ public static MemorySegment PRIxFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST32 "lx"
+ * }
+ */
+ public static MemorySegment PRIxFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST64 "lx"
+ * }
+ */
+ public static MemorySegment PRIxFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX8 "X"
+ * }
+ */
+ public static MemorySegment PRIX8()
+ {
+ class Holder {
+ static final MemorySegment PRIX8 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIX8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX16 "X"
+ * }
+ */
+ public static MemorySegment PRIX16()
+ {
+ class Holder {
+ static final MemorySegment PRIX16 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIX16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX32 "X"
+ * }
+ */
+ public static MemorySegment PRIX32()
+ {
+ class Holder {
+ static final MemorySegment PRIX32 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIX32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX64 "lX"
+ * }
+ */
+ public static MemorySegment PRIX64()
+ {
+ class Holder {
+ static final MemorySegment PRIX64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIX64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST8 "X"
+ * }
+ */
+ public static MemorySegment PRIXLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIXLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST16 "X"
+ * }
+ */
+ public static MemorySegment PRIXLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIXLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST32 "X"
+ * }
+ */
+ public static MemorySegment PRIXLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIXLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST64 "lX"
+ * }
+ */
+ public static MemorySegment PRIXLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST8 "X"
+ * }
+ */
+ public static MemorySegment PRIXFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIXFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST16 "lX"
+ * }
+ */
+ public static MemorySegment PRIXFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST32 "lX"
+ * }
+ */
+ public static MemorySegment PRIXFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST64 "lX"
+ * }
+ */
+ public static MemorySegment PRIXFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdMAX "ld"
+ * }
+ */
+ public static MemorySegment PRIdMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIdMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiMAX "li"
+ * }
+ */
+ public static MemorySegment PRIiMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIiMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.PRIiMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoMAX "lo"
+ * }
+ */
+ public static MemorySegment PRIoMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIoMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuMAX "lu"
+ * }
+ */
+ public static MemorySegment PRIuMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIuMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIuMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxMAX "lx"
+ * }
+ */
+ public static MemorySegment PRIxMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIxMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXMAX "lX"
+ * }
+ */
+ public static MemorySegment PRIXMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIXMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdPTR "ld"
+ * }
+ */
+ public static MemorySegment PRIdPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIdPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiPTR "li"
+ * }
+ */
+ public static MemorySegment PRIiPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIiPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.PRIiPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoPTR "lo"
+ * }
+ */
+ public static MemorySegment PRIoPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIoPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuPTR "lu"
+ * }
+ */
+ public static MemorySegment PRIuPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIuPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIuPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxPTR "lx"
+ * }
+ */
+ public static MemorySegment PRIxPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIxPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXPTR "lX"
+ * }
+ */
+ public static MemorySegment PRIXPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIXPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd8 "hhd"
+ * }
+ */
+ public static MemorySegment SCNd8()
+ {
+ class Holder {
+ static final MemorySegment SCNd8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.SCNd8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd16 "hd"
+ * }
+ */
+ public static MemorySegment SCNd16()
+ {
+ class Holder {
+ static final MemorySegment SCNd16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.SCNd16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd32 "d"
+ * }
+ */
+ public static MemorySegment SCNd32()
+ {
+ class Holder {
+ static final MemorySegment SCNd32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.SCNd32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd64 "ld"
+ * }
+ */
+ public static MemorySegment SCNd64()
+ {
+ class Holder {
+ static final MemorySegment SCNd64 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.SCNd64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST8 "hhd"
+ * }
+ */
+ public static MemorySegment SCNdLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.SCNdLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST16 "hd"
+ * }
+ */
+ public static MemorySegment SCNdLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.SCNdLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST32 "d"
+ * }
+ */
+ public static MemorySegment SCNdLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.SCNdLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST64 "ld"
+ * }
+ */
+ public static MemorySegment SCNdLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.SCNdLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST8 "hhd"
+ * }
+ */
+ public static MemorySegment SCNdFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.SCNdFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST16 "ld"
+ * }
+ */
+ public static MemorySegment SCNdFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.SCNdFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST32 "ld"
+ * }
+ */
+ public static MemorySegment SCNdFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.SCNdFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST64 "ld"
+ * }
+ */
+ public static MemorySegment SCNdFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.SCNdFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi8 "hhi"
+ * }
+ */
+ public static MemorySegment SCNi8()
+ {
+ class Holder {
+ static final MemorySegment SCNi8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.SCNi8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi16 "hi"
+ * }
+ */
+ public static MemorySegment SCNi16()
+ {
+ class Holder {
+ static final MemorySegment SCNi16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.SCNi16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi32 "i"
+ * }
+ */
+ public static MemorySegment SCNi32()
+ {
+ class Holder {
+ static final MemorySegment SCNi32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.SCNi32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi64 "li"
+ * }
+ */
+ public static MemorySegment SCNi64()
+ {
+ class Holder {
+ static final MemorySegment SCNi64 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.SCNi64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST8 "hhi"
+ * }
+ */
+ public static MemorySegment SCNiLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.SCNiLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST16 "hi"
+ * }
+ */
+ public static MemorySegment SCNiLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.SCNiLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST32 "i"
+ * }
+ */
+ public static MemorySegment SCNiLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.SCNiLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST64 "li"
+ * }
+ */
+ public static MemorySegment SCNiLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.SCNiLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST8 "hhi"
+ * }
+ */
+ public static MemorySegment SCNiFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.SCNiFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST16 "li"
+ * }
+ */
+ public static MemorySegment SCNiFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.SCNiFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST32 "li"
+ * }
+ */
+ public static MemorySegment SCNiFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.SCNiFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST64 "li"
+ * }
+ */
+ public static MemorySegment SCNiFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.SCNiFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu8 "hhu"
+ * }
+ */
+ public static MemorySegment SCNu8()
+ {
+ class Holder {
+ static final MemorySegment SCNu8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.SCNu8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu16 "hu"
+ * }
+ */
+ public static MemorySegment SCNu16()
+ {
+ class Holder {
+ static final MemorySegment SCNu16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.SCNu16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu32 "u"
+ * }
+ */
+ public static MemorySegment SCNu32()
+ {
+ class Holder {
+ static final MemorySegment SCNu32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.SCNu32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu64 "lu"
+ * }
+ */
+ public static MemorySegment SCNu64()
+ {
+ class Holder {
+ static final MemorySegment SCNu64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.SCNu64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST8 "hhu"
+ * }
+ */
+ public static MemorySegment SCNuLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.SCNuLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST16 "hu"
+ * }
+ */
+ public static MemorySegment SCNuLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.SCNuLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST32 "u"
+ * }
+ */
+ public static MemorySegment SCNuLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.SCNuLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST64 "lu"
+ * }
+ */
+ public static MemorySegment SCNuLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.SCNuLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST8 "hhu"
+ * }
+ */
+ public static MemorySegment SCNuFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.SCNuFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST16 "lu"
+ * }
+ */
+ public static MemorySegment SCNuFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.SCNuFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST32 "lu"
+ * }
+ */
+ public static MemorySegment SCNuFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.SCNuFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST64 "lu"
+ * }
+ */
+ public static MemorySegment SCNuFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.SCNuFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo8 "hho"
+ * }
+ */
+ public static MemorySegment SCNo8()
+ {
+ class Holder {
+ static final MemorySegment SCNo8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.SCNo8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo16 "ho"
+ * }
+ */
+ public static MemorySegment SCNo16()
+ {
+ class Holder {
+ static final MemorySegment SCNo16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.SCNo16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo32 "o"
+ * }
+ */
+ public static MemorySegment SCNo32()
+ {
+ class Holder {
+ static final MemorySegment SCNo32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.SCNo32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo64 "lo"
+ * }
+ */
+ public static MemorySegment SCNo64()
+ {
+ class Holder {
+ static final MemorySegment SCNo64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.SCNo64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST8 "hho"
+ * }
+ */
+ public static MemorySegment SCNoLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.SCNoLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST16 "ho"
+ * }
+ */
+ public static MemorySegment SCNoLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.SCNoLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST32 "o"
+ * }
+ */
+ public static MemorySegment SCNoLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.SCNoLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST64 "lo"
+ * }
+ */
+ public static MemorySegment SCNoLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.SCNoLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST8 "hho"
+ * }
+ */
+ public static MemorySegment SCNoFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.SCNoFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST16 "lo"
+ * }
+ */
+ public static MemorySegment SCNoFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.SCNoFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST32 "lo"
+ * }
+ */
+ public static MemorySegment SCNoFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.SCNoFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST64 "lo"
+ * }
+ */
+ public static MemorySegment SCNoFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.SCNoFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx8 "hhx"
+ * }
+ */
+ public static MemorySegment SCNx8()
+ {
+ class Holder {
+ static final MemorySegment SCNx8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.SCNx8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx16 "hx"
+ * }
+ */
+ public static MemorySegment SCNx16()
+ {
+ class Holder {
+ static final MemorySegment SCNx16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.SCNx16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx32 "x"
+ * }
+ */
+ public static MemorySegment SCNx32()
+ {
+ class Holder {
+ static final MemorySegment SCNx32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.SCNx32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx64 "lx"
+ * }
+ */
+ public static MemorySegment SCNx64()
+ {
+ class Holder {
+ static final MemorySegment SCNx64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.SCNx64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST8 "hhx"
+ * }
+ */
+ public static MemorySegment SCNxLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.SCNxLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST16 "hx"
+ * }
+ */
+ public static MemorySegment SCNxLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.SCNxLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST32 "x"
+ * }
+ */
+ public static MemorySegment SCNxLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.SCNxLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST64 "lx"
+ * }
+ */
+ public static MemorySegment SCNxLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.SCNxLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST8 "hhx"
+ * }
+ */
+ public static MemorySegment SCNxFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.SCNxFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST16 "lx"
+ * }
+ */
+ public static MemorySegment SCNxFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.SCNxFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST32 "lx"
+ * }
+ */
+ public static MemorySegment SCNxFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.SCNxFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST64 "lx"
+ * }
+ */
+ public static MemorySegment SCNxFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.SCNxFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdMAX "ld"
+ * }
+ */
+ public static MemorySegment SCNdMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNdMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.SCNdMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiMAX "li"
+ * }
+ */
+ public static MemorySegment SCNiMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNiMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.SCNiMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoMAX "lo"
+ * }
+ */
+ public static MemorySegment SCNoMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNoMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.SCNoMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuMAX "lu"
+ * }
+ */
+ public static MemorySegment SCNuMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNuMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.SCNuMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxMAX "lx"
+ * }
+ */
+ public static MemorySegment SCNxMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNxMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.SCNxMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdPTR "ld"
+ * }
+ */
+ public static MemorySegment SCNdPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNdPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.SCNdPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiPTR "li"
+ * }
+ */
+ public static MemorySegment SCNiPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNiPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.SCNiPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoPTR "lo"
+ * }
+ */
+ public static MemorySegment SCNoPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNoPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.SCNoPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuPTR "lu"
+ * }
+ */
+ public static MemorySegment SCNuPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNuPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.SCNuPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxPTR "lx"
+ * }
+ */
+ public static MemorySegment SCNxPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNxPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.SCNxPTR;
+ }
+ private static final long LLONG_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define LLONG_MIN -9223372036854775808
+ * }
+ */
+ public static long LLONG_MIN() { return LLONG_MIN; }
+ private static final long LLONG_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define LLONG_MAX 9223372036854775807
+ * }
+ */
+ public static long LLONG_MAX() { return LLONG_MAX; }
+ private static final long ULLONG_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define ULLONG_MAX -1
+ * }
+ */
+ public static long ULLONG_MAX() { return ULLONG_MAX; }
+ private static final int PTHREAD_DESTRUCTOR_ITERATIONS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define PTHREAD_DESTRUCTOR_ITERATIONS 4
+ * }
+ */
+ public static int PTHREAD_DESTRUCTOR_ITERATIONS() { return PTHREAD_DESTRUCTOR_ITERATIONS; }
+ private static final int SEM_VALUE_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define SEM_VALUE_MAX 2147483647
+ * }
+ */
+ public static int SEM_VALUE_MAX() { return SEM_VALUE_MAX; }
+ private static final long SSIZE_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define SSIZE_MAX 9223372036854775807
+ * }
+ */
+ public static long SSIZE_MAX() { return SSIZE_MAX; }
+ private static final int BC_BASE_MAX = (int)99L;
+ /**
+ * {@snippet lang=c :
+ * #define BC_BASE_MAX 99
+ * }
+ */
+ public static int BC_BASE_MAX() { return BC_BASE_MAX; }
+ private static final int BC_DIM_MAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define BC_DIM_MAX 2048
+ * }
+ */
+ public static int BC_DIM_MAX() { return BC_DIM_MAX; }
+ private static final int BC_SCALE_MAX = (int)99L;
+ /**
+ * {@snippet lang=c :
+ * #define BC_SCALE_MAX 99
+ * }
+ */
+ public static int BC_SCALE_MAX() { return BC_SCALE_MAX; }
+ private static final int BC_STRING_MAX = (int)1000L;
+ /**
+ * {@snippet lang=c :
+ * #define BC_STRING_MAX 1000
+ * }
+ */
+ public static int BC_STRING_MAX() { return BC_STRING_MAX; }
+ private static final int EXPR_NEST_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define EXPR_NEST_MAX 32
+ * }
+ */
+ public static int EXPR_NEST_MAX() { return EXPR_NEST_MAX; }
+ private static final int LINE_MAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define LINE_MAX 2048
+ * }
+ */
+ public static int LINE_MAX() { return LINE_MAX; }
+ private static final int RE_DUP_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define RE_DUP_MAX 32767
+ * }
+ */
+ public static int RE_DUP_MAX() { return RE_DUP_MAX; }
+ private static final int SCHAR_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define SCHAR_MAX 127
+ * }
+ */
+ public static int SCHAR_MAX() { return SCHAR_MAX; }
+ private static final int SHRT_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define SHRT_MAX 32767
+ * }
+ */
+ public static int SHRT_MAX() { return SHRT_MAX; }
+ private static final int INT_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_MAX 2147483647
+ * }
+ */
+ public static int INT_MAX() { return INT_MAX; }
+ private static final long LONG_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_MAX 9223372036854775807
+ * }
+ */
+ public static long LONG_MAX() { return LONG_MAX; }
+ private static final int SCHAR_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define SCHAR_MIN -128
+ * }
+ */
+ public static int SCHAR_MIN() { return SCHAR_MIN; }
+ private static final int SHRT_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define SHRT_MIN -32768
+ * }
+ */
+ public static int SHRT_MIN() { return SHRT_MIN; }
+ private static final int INT_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_MIN -2147483648
+ * }
+ */
+ public static int INT_MIN() { return INT_MIN; }
+ private static final long LONG_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_MIN -9223372036854775808
+ * }
+ */
+ public static long LONG_MIN() { return LONG_MIN; }
+ private static final int UCHAR_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UCHAR_MAX 255
+ * }
+ */
+ public static int UCHAR_MAX() { return UCHAR_MAX; }
+ private static final int USHRT_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define USHRT_MAX 65535
+ * }
+ */
+ public static int USHRT_MAX() { return USHRT_MAX; }
+ private static final int UINT_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_MAX 4294967295
+ * }
+ */
+ public static int UINT_MAX() { return UINT_MAX; }
+ private static final long ULONG_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define ULONG_MAX -1
+ * }
+ */
+ public static long ULONG_MAX() { return ULONG_MAX; }
+ private static final int CHAR_BIT = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define CHAR_BIT 8
+ * }
+ */
+ public static int CHAR_BIT() { return CHAR_BIT; }
+ private static final int CHAR_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define CHAR_MIN -128
+ * }
+ */
+ public static int CHAR_MIN() { return CHAR_MIN; }
+ private static final int CHAR_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define CHAR_MAX 127
+ * }
+ */
+ public static int CHAR_MAX() { return CHAR_MAX; }
+ private static final MemorySegment NULL = MemorySegment.ofAddress(0L);
+ /**
+ * {@snippet lang=c :
+ * #define NULL (void*) 0
+ * }
+ */
+ public static MemorySegment NULL() { return NULL; }
+ private static final int __BYTE_ORDER = (int)1234L;
+ /**
+ * {@snippet lang=c :
+ * #define __BYTE_ORDER 1234
+ * }
+ */
+ public static int __BYTE_ORDER() { return __BYTE_ORDER; }
+ private static final int __FLOAT_WORD_ORDER = (int)1234L;
+ /**
+ * {@snippet lang=c :
+ * #define __FLOAT_WORD_ORDER 1234
+ * }
+ */
+ public static int __FLOAT_WORD_ORDER() { return __FLOAT_WORD_ORDER; }
+ private static final int LITTLE_ENDIAN = (int)1234L;
+ /**
+ * {@snippet lang=c :
+ * #define LITTLE_ENDIAN 1234
+ * }
+ */
+ public static int LITTLE_ENDIAN() { return LITTLE_ENDIAN; }
+ private static final int BIG_ENDIAN = (int)4321L;
+ /**
+ * {@snippet lang=c :
+ * #define BIG_ENDIAN 4321
+ * }
+ */
+ public static int BIG_ENDIAN() { return BIG_ENDIAN; }
+ private static final int PDP_ENDIAN = (int)3412L;
+ /**
+ * {@snippet lang=c :
+ * #define PDP_ENDIAN 3412
+ * }
+ */
+ public static int PDP_ENDIAN() { return PDP_ENDIAN; }
+ private static final int BYTE_ORDER = (int)1234L;
+ /**
+ * {@snippet lang=c :
+ * #define BYTE_ORDER 1234
+ * }
+ */
+ public static int BYTE_ORDER() { return BYTE_ORDER; }
+ private static final long _SIGSET_NWORDS = 16L;
+ /**
+ * {@snippet lang=c :
+ * #define _SIGSET_NWORDS 16
+ * }
+ */
+ public static long _SIGSET_NWORDS() { return _SIGSET_NWORDS; }
+ private static final int __NFDBITS = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define __NFDBITS 64
+ * }
+ */
+ public static int __NFDBITS() { return __NFDBITS; }
+ private static final int FD_SETSIZE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define FD_SETSIZE 1024
+ * }
+ */
+ public static int FD_SETSIZE() { return FD_SETSIZE; }
+ private static final int NFDBITS = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define NFDBITS 64
+ * }
+ */
+ public static int NFDBITS() { return NFDBITS; }
+ private static final int __PTHREAD_RWLOCK_ELISION_EXTRA = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_RWLOCK_ELISION_EXTRA 0
+ * }
+ */
+ public static int __PTHREAD_RWLOCK_ELISION_EXTRA() { return __PTHREAD_RWLOCK_ELISION_EXTRA; }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_SUBRELEASE "4"
+ * }
+ */
+ public static MemorySegment H5_VERS_SUBRELEASE()
+ {
+ class Holder {
+ static final MemorySegment H5_VERS_SUBRELEASE = hdf5_h.LIBRARY_ARENA.allocateFrom("4");
+ }
+ return Holder.H5_VERS_SUBRELEASE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_STR "2.0.0-4"
+ * }
+ */
+ public static MemorySegment H5_VERS_STR()
+ {
+ class Holder {
+ static final MemorySegment H5_VERS_STR = hdf5_h.LIBRARY_ARENA.allocateFrom("2.0.0-4");
+ }
+ return Holder.H5_VERS_STR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_INFO "HDF5 library version: 2.0.0-4"
+ * }
+ */
+ public static MemorySegment H5_VERS_INFO()
+ {
+ class Holder {
+ static final MemorySegment H5_VERS_INFO =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5 library version: 2.0.0-4");
+ }
+ return Holder.H5_VERS_INFO;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_DRIVER "HDF5_DRIVER"
+ * }
+ */
+ public static MemorySegment HDF5_DRIVER()
+ {
+ class Holder {
+ static final MemorySegment HDF5_DRIVER = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_DRIVER");
+ }
+ return Holder.HDF5_DRIVER;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_DRIVER_CONFIG "HDF5_DRIVER_CONFIG"
+ * }
+ */
+ public static MemorySegment HDF5_DRIVER_CONFIG()
+ {
+ class Holder {
+ static final MemorySegment HDF5_DRIVER_CONFIG =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_DRIVER_CONFIG");
+ }
+ return Holder.HDF5_DRIVER_CONFIG;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_VOL_CONNECTOR "HDF5_VOL_CONNECTOR"
+ * }
+ */
+ public static MemorySegment HDF5_VOL_CONNECTOR()
+ {
+ class Holder {
+ static final MemorySegment HDF5_VOL_CONNECTOR =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_VOL_CONNECTOR");
+ }
+ return Holder.HDF5_VOL_CONNECTOR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_PLUGIN_PATH "HDF5_PLUGIN_PATH"
+ * }
+ */
+ public static MemorySegment HDF5_PLUGIN_PATH()
+ {
+ class Holder {
+ static final MemorySegment HDF5_PLUGIN_PATH =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_PLUGIN_PATH");
+ }
+ return Holder.HDF5_PLUGIN_PATH;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_PLUGIN_PRELOAD "HDF5_PLUGIN_PRELOAD"
+ * }
+ */
+ public static MemorySegment HDF5_PLUGIN_PRELOAD()
+ {
+ class Holder {
+ static final MemorySegment HDF5_PLUGIN_PRELOAD =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_PLUGIN_PRELOAD");
+ }
+ return Holder.HDF5_PLUGIN_PRELOAD;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_USE_FILE_LOCKING "HDF5_USE_FILE_LOCKING"
+ * }
+ */
+ public static MemorySegment HDF5_USE_FILE_LOCKING()
+ {
+ class Holder {
+ static final MemorySegment HDF5_USE_FILE_LOCKING =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_USE_FILE_LOCKING");
+ }
+ return Holder.HDF5_USE_FILE_LOCKING;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_NOCLEANUP "HDF5_NOCLEANUP"
+ * }
+ */
+ public static MemorySegment HDF5_NOCLEANUP()
+ {
+ class Holder {
+ static final MemorySegment HDF5_NOCLEANUP = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_NOCLEANUP");
+ }
+ return Holder.HDF5_NOCLEANUP;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_PREFER_WINDOWS_CODE_PAGE "HDF5_PREFER_WINDOWS_CODE_PAGE"
+ * }
+ */
+ public static MemorySegment HDF5_PREFER_WINDOWS_CODE_PAGE()
+ {
+ class Holder {
+ static final MemorySegment HDF5_PREFER_WINDOWS_CODE_PAGE =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_PREFER_WINDOWS_CODE_PAGE");
+ }
+ return Holder.HDF5_PREFER_WINDOWS_CODE_PAGE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdHSIZE "ld"
+ * }
+ */
+ public static MemorySegment PRIdHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIdHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiHSIZE "li"
+ * }
+ */
+ public static MemorySegment PRIiHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIiHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.PRIiHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoHSIZE "lo"
+ * }
+ */
+ public static MemorySegment PRIoHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIoHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuHSIZE "lu"
+ * }
+ */
+ public static MemorySegment PRIuHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIuHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIuHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxHSIZE "lx"
+ * }
+ */
+ public static MemorySegment PRIxHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIxHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXHSIZE "lX"
+ * }
+ */
+ public static MemorySegment PRIXHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIXHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXHSIZE;
+ }
+ private static final long HSIZE_UNDEF = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define HSIZE_UNDEF -1
+ * }
+ */
+ public static long HSIZE_UNDEF() { return HSIZE_UNDEF; }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdHADDR "ld"
+ * }
+ */
+ public static MemorySegment PRIdHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIdHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoHADDR "lo"
+ * }
+ */
+ public static MemorySegment PRIoHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIoHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuHADDR "lu"
+ * }
+ */
+ public static MemorySegment PRIuHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIuHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIuHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxHADDR "lx"
+ * }
+ */
+ public static MemorySegment PRIxHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIxHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXHADDR "lX"
+ * }
+ */
+ public static MemorySegment PRIXHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIXHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXHADDR;
+ }
+ private static final long HADDR_UNDEF = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define HADDR_UNDEF -1
+ * }
+ */
+ public static long HADDR_UNDEF() { return HADDR_UNDEF; }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PRINTF_HADDR_FMT "%lu"
+ * }
+ */
+ public static MemorySegment H5_PRINTF_HADDR_FMT()
+ {
+ class Holder {
+ static final MemorySegment H5_PRINTF_HADDR_FMT = hdf5_h.LIBRARY_ARENA.allocateFrom("%lu");
+ }
+ return Holder.H5_PRINTF_HADDR_FMT;
+ }
+ private static final long HADDR_MAX = -2L;
+ /**
+ * {@snippet lang=c :
+ * #define HADDR_MAX -2
+ * }
+ */
+ public static long HADDR_MAX() { return HADDR_MAX; }
+ private static final int H5_ITER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_ITER_ERROR -1
+ * }
+ */
+ public static int H5_ITER_ERROR() { return H5_ITER_ERROR; }
+ private static final int H5_ITER_CONT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_ITER_CONT 0
+ * }
+ */
+ public static int H5_ITER_CONT() { return H5_ITER_CONT; }
+ private static final int H5_ITER_STOP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_ITER_STOP 1
+ * }
+ */
+ public static int H5_ITER_STOP() { return H5_ITER_STOP; }
+ private static final int H5O_MAX_TOKEN_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_MAX_TOKEN_SIZE 16
+ * }
+ */
+ public static int H5O_MAX_TOKEN_SIZE() { return H5O_MAX_TOKEN_SIZE; }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdHID "ld"
+ * }
+ */
+ public static MemorySegment PRIdHID()
+ {
+ class Holder {
+ static final MemorySegment PRIdHID = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdHID;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxHID "lx"
+ * }
+ */
+ public static MemorySegment PRIxHID()
+ {
+ class Holder {
+ static final MemorySegment PRIxHID = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxHID;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXHID "lX"
+ * }
+ */
+ public static MemorySegment PRIXHID()
+ {
+ class Holder {
+ static final MemorySegment PRIXHID = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXHID;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoHID "lo"
+ * }
+ */
+ public static MemorySegment PRIoHID()
+ {
+ class Holder {
+ static final MemorySegment PRIoHID = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoHID;
+ }
+ private static final int H5_SIZEOF_HID_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HID_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HID_T() { return H5_SIZEOF_HID_T; }
+ private static final int H5I_INVALID_HID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5I_INVALID_HID -1
+ * }
+ */
+ public static int H5I_INVALID_HID() { return H5I_INVALID_HID; }
+ private static final int H5O_COPY_SHALLOW_HIERARCHY_FLAG = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_SHALLOW_HIERARCHY_FLAG 1
+ * }
+ */
+ public static int H5O_COPY_SHALLOW_HIERARCHY_FLAG() { return H5O_COPY_SHALLOW_HIERARCHY_FLAG; }
+ private static final int H5O_COPY_EXPAND_SOFT_LINK_FLAG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_EXPAND_SOFT_LINK_FLAG 2
+ * }
+ */
+ public static int H5O_COPY_EXPAND_SOFT_LINK_FLAG() { return H5O_COPY_EXPAND_SOFT_LINK_FLAG; }
+ private static final int H5O_COPY_EXPAND_EXT_LINK_FLAG = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_EXPAND_EXT_LINK_FLAG 4
+ * }
+ */
+ public static int H5O_COPY_EXPAND_EXT_LINK_FLAG() { return H5O_COPY_EXPAND_EXT_LINK_FLAG; }
+ private static final int H5O_COPY_EXPAND_REFERENCE_FLAG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_EXPAND_REFERENCE_FLAG 8
+ * }
+ */
+ public static int H5O_COPY_EXPAND_REFERENCE_FLAG() { return H5O_COPY_EXPAND_REFERENCE_FLAG; }
+ private static final int H5O_COPY_WITHOUT_ATTR_FLAG = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_WITHOUT_ATTR_FLAG 16
+ * }
+ */
+ public static int H5O_COPY_WITHOUT_ATTR_FLAG() { return H5O_COPY_WITHOUT_ATTR_FLAG; }
+ private static final int H5O_COPY_PRESERVE_NULL_FLAG = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_PRESERVE_NULL_FLAG 32
+ * }
+ */
+ public static int H5O_COPY_PRESERVE_NULL_FLAG() { return H5O_COPY_PRESERVE_NULL_FLAG; }
+ private static final int H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG 64
+ * }
+ */
+ public static int H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG() { return H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG; }
+ private static final int H5O_COPY_ALL = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_ALL 127
+ * }
+ */
+ public static int H5O_COPY_ALL() { return H5O_COPY_ALL; }
+ private static final int H5O_SHMESG_SDSPACE_FLAG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_SDSPACE_FLAG 2
+ * }
+ */
+ public static int H5O_SHMESG_SDSPACE_FLAG() { return H5O_SHMESG_SDSPACE_FLAG; }
+ private static final int H5O_SHMESG_DTYPE_FLAG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_DTYPE_FLAG 8
+ * }
+ */
+ public static int H5O_SHMESG_DTYPE_FLAG() { return H5O_SHMESG_DTYPE_FLAG; }
+ private static final int H5O_SHMESG_FILL_FLAG = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_FILL_FLAG 32
+ * }
+ */
+ public static int H5O_SHMESG_FILL_FLAG() { return H5O_SHMESG_FILL_FLAG; }
+ private static final int H5O_SHMESG_PLINE_FLAG = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_PLINE_FLAG 2048
+ * }
+ */
+ public static int H5O_SHMESG_PLINE_FLAG() { return H5O_SHMESG_PLINE_FLAG; }
+ private static final int H5O_SHMESG_ATTR_FLAG = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_ATTR_FLAG 4096
+ * }
+ */
+ public static int H5O_SHMESG_ATTR_FLAG() { return H5O_SHMESG_ATTR_FLAG; }
+ private static final int H5O_SHMESG_ALL_FLAG = (int)6186L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_ALL_FLAG 6186
+ * }
+ */
+ public static int H5O_SHMESG_ALL_FLAG() { return H5O_SHMESG_ALL_FLAG; }
+ private static final int H5O_HDR_ALL_FLAGS = (int)63L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ALL_FLAGS 63
+ * }
+ */
+ public static int H5O_HDR_ALL_FLAGS() { return H5O_HDR_ALL_FLAGS; }
+ private static final int H5O_INFO_BASIC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_BASIC 1
+ * }
+ */
+ public static int H5O_INFO_BASIC() { return H5O_INFO_BASIC; }
+ private static final int H5O_INFO_TIME = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_TIME 2
+ * }
+ */
+ public static int H5O_INFO_TIME() { return H5O_INFO_TIME; }
+ private static final int H5O_INFO_NUM_ATTRS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_NUM_ATTRS 4
+ * }
+ */
+ public static int H5O_INFO_NUM_ATTRS() { return H5O_INFO_NUM_ATTRS; }
+ private static final int H5O_INFO_ALL = (int)31L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_ALL 31
+ * }
+ */
+ public static int H5O_INFO_ALL() { return H5O_INFO_ALL; }
+ private static final int H5O_NATIVE_INFO_HDR = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_NATIVE_INFO_HDR 8
+ * }
+ */
+ public static int H5O_NATIVE_INFO_HDR() { return H5O_NATIVE_INFO_HDR; }
+ private static final int H5O_NATIVE_INFO_META_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_NATIVE_INFO_META_SIZE 16
+ * }
+ */
+ public static int H5O_NATIVE_INFO_META_SIZE() { return H5O_NATIVE_INFO_META_SIZE; }
+ private static final int H5O_NATIVE_INFO_ALL = (int)24L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_NATIVE_INFO_ALL 24
+ * }
+ */
+ public static int H5O_NATIVE_INFO_ALL() { return H5O_NATIVE_INFO_ALL; }
+ private static final int H5O_INFO_HDR = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_HDR 8
+ * }
+ */
+ public static int H5O_INFO_HDR() { return H5O_INFO_HDR; }
+ private static final int H5O_INFO_META_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_META_SIZE 16
+ * }
+ */
+ public static int H5O_INFO_META_SIZE() { return H5O_INFO_META_SIZE; }
+ private static final int H5T_NCSET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_NCSET 2
+ * }
+ */
+ public static int H5T_NCSET() { return H5T_NCSET; }
+ private static final int H5T_NSTR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_NSTR 3
+ * }
+ */
+ public static int H5T_NSTR() { return H5T_NSTR; }
+ private static final long H5T_VARIABLE = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_VARIABLE -1
+ * }
+ */
+ public static long H5T_VARIABLE() { return H5T_VARIABLE; }
+ private static final int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE -1
+ * }
+ */
+ public static int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE()
+ {
+ return H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE;
+ }
+ private static final long H5D_CHUNK_CACHE_NSLOTS_DEFAULT = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_CACHE_NSLOTS_DEFAULT -1
+ * }
+ */
+ public static long H5D_CHUNK_CACHE_NSLOTS_DEFAULT() { return H5D_CHUNK_CACHE_NSLOTS_DEFAULT; }
+ private static final long H5D_CHUNK_CACHE_NBYTES_DEFAULT = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_CACHE_NBYTES_DEFAULT -1
+ * }
+ */
+ public static long H5D_CHUNK_CACHE_NBYTES_DEFAULT() { return H5D_CHUNK_CACHE_NBYTES_DEFAULT; }
+ private static final double H5D_CHUNK_CACHE_W0_DEFAULT = -1.0d;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_CACHE_W0_DEFAULT -1.0
+ * }
+ */
+ public static double H5D_CHUNK_CACHE_W0_DEFAULT() { return H5D_CHUNK_CACHE_W0_DEFAULT; }
+ private static final int H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS 2
+ * }
+ */
+ public static int H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS() { return H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS; }
+ private static final int H5D_CHUNK_BTREE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_BTREE 0
+ * }
+ */
+ public static int H5D_CHUNK_BTREE() { return H5D_CHUNK_BTREE; }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME "direct_chunk_flag"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_flag");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME "direct_chunk_filters"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_filters");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME "direct_chunk_offset"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_offset");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME "direct_chunk_datasize"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_datasize");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME "direct_chunk_read_flag"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_read_flag");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME "direct_chunk_read_offset"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_read_offset");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME "direct_chunk_read_filters"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_read_filters");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME;
+ }
+ private static final int EOF = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define EOF -1
+ * }
+ */
+ public static int EOF() { return EOF; }
+ /**
+ * {@snippet lang=c :
+ * #define P_tmpdir "/tmp"
+ * }
+ */
+ public static MemorySegment P_tmpdir()
+ {
+ class Holder {
+ static final MemorySegment P_tmpdir = hdf5_h.LIBRARY_ARENA.allocateFrom("/tmp");
+ }
+ return Holder.P_tmpdir;
+ }
+ private static final int __HAVE_DISTINCT_FLOAT16 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_DISTINCT_FLOAT16 0
+ * }
+ */
+ public static int __HAVE_DISTINCT_FLOAT16() { return __HAVE_DISTINCT_FLOAT16; }
+ private static final int __HAVE_DISTINCT_FLOAT128X = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_DISTINCT_FLOAT128X 0
+ * }
+ */
+ public static int __HAVE_DISTINCT_FLOAT128X() { return __HAVE_DISTINCT_FLOAT128X; }
+ private static final int __HAVE_FLOAT128_UNLIKE_LDBL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOAT128_UNLIKE_LDBL 0
+ * }
+ */
+ public static int __HAVE_FLOAT128_UNLIKE_LDBL() { return __HAVE_FLOAT128_UNLIKE_LDBL; }
+ private static final long H5ES_WAIT_FOREVER = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5ES_WAIT_FOREVER -1
+ * }
+ */
+ public static long H5ES_WAIT_FOREVER() { return H5ES_WAIT_FOREVER; }
+ private static final int H5ES_WAIT_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5ES_WAIT_NONE 0
+ * }
+ */
+ public static int H5ES_WAIT_NONE() { return H5ES_WAIT_NONE; }
+ private static final int H5F_ACC_RDONLY = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_RDONLY 0
+ * }
+ */
+ public static int H5F_ACC_RDONLY() { return H5F_ACC_RDONLY; }
+ private static final int H5F_ACC_RDWR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_RDWR 1
+ * }
+ */
+ public static int H5F_ACC_RDWR() { return H5F_ACC_RDWR; }
+ private static final int H5F_ACC_TRUNC = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_TRUNC 2
+ * }
+ */
+ public static int H5F_ACC_TRUNC() { return H5F_ACC_TRUNC; }
+ private static final int H5F_ACC_EXCL = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_EXCL 4
+ * }
+ */
+ public static int H5F_ACC_EXCL() { return H5F_ACC_EXCL; }
+ private static final int H5F_ACC_CREAT = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_CREAT 16
+ * }
+ */
+ public static int H5F_ACC_CREAT() { return H5F_ACC_CREAT; }
+ private static final int H5F_ACC_SWMR_WRITE = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_SWMR_WRITE 32
+ * }
+ */
+ public static int H5F_ACC_SWMR_WRITE() { return H5F_ACC_SWMR_WRITE; }
+ private static final int H5F_ACC_SWMR_READ = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_SWMR_READ 64
+ * }
+ */
+ public static int H5F_ACC_SWMR_READ() { return H5F_ACC_SWMR_READ; }
+ private static final int H5F_ACC_DEFAULT = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_DEFAULT 65535
+ * }
+ */
+ public static int H5F_ACC_DEFAULT() { return H5F_ACC_DEFAULT; }
+ private static final int H5F_OBJ_FILE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_FILE 1
+ * }
+ */
+ public static int H5F_OBJ_FILE() { return H5F_OBJ_FILE; }
+ private static final int H5F_OBJ_DATASET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_DATASET 2
+ * }
+ */
+ public static int H5F_OBJ_DATASET() { return H5F_OBJ_DATASET; }
+ private static final int H5F_OBJ_GROUP = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_GROUP 4
+ * }
+ */
+ public static int H5F_OBJ_GROUP() { return H5F_OBJ_GROUP; }
+ private static final int H5F_OBJ_DATATYPE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_DATATYPE 8
+ * }
+ */
+ public static int H5F_OBJ_DATATYPE() { return H5F_OBJ_DATATYPE; }
+ private static final int H5F_OBJ_ATTR = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_ATTR 16
+ * }
+ */
+ public static int H5F_OBJ_ATTR() { return H5F_OBJ_ATTR; }
+ private static final int H5F_OBJ_ALL = (int)31L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_ALL 31
+ * }
+ */
+ public static int H5F_OBJ_ALL() { return H5F_OBJ_ALL; }
+ private static final int H5F_OBJ_LOCAL = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_LOCAL 32
+ * }
+ */
+ public static int H5F_OBJ_LOCAL() { return H5F_OBJ_LOCAL; }
+ private static final long H5F_PAGE_BUFFER_SIZE_DEFAULT = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_PAGE_BUFFER_SIZE_DEFAULT -1
+ * }
+ */
+ public static long H5F_PAGE_BUFFER_SIZE_DEFAULT() { return H5F_PAGE_BUFFER_SIZE_DEFAULT; }
+ private static final long H5F_UNLIMITED = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_UNLIMITED -1
+ * }
+ */
+ public static long H5F_UNLIMITED() { return H5F_UNLIMITED; }
+ private static final int H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS 1
+ * }
+ */
+ public static int H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS()
+ {
+ return H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS;
+ }
+ private static final int H5F_RFIC_ALL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_RFIC_ALL 1
+ * }
+ */
+ public static int H5F_RFIC_ALL() { return H5F_RFIC_ALL; }
+ private static final int H5F_ACC_DEBUG = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_DEBUG 0
+ * }
+ */
+ public static int H5F_ACC_DEBUG() { return H5F_ACC_DEBUG; }
+ private static final int H5_VFD_INVALID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_INVALID -1
+ * }
+ */
+ public static int H5_VFD_INVALID() { return H5_VFD_INVALID; }
+ private static final int H5_VFD_SEC2 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_SEC2 0
+ * }
+ */
+ public static int H5_VFD_SEC2() { return H5_VFD_SEC2; }
+ private static final int H5_VFD_CORE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_CORE 1
+ * }
+ */
+ public static int H5_VFD_CORE() { return H5_VFD_CORE; }
+ private static final int H5_VFD_LOG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_LOG 2
+ * }
+ */
+ public static int H5_VFD_LOG() { return H5_VFD_LOG; }
+ private static final int H5_VFD_FAMILY = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_FAMILY 3
+ * }
+ */
+ public static int H5_VFD_FAMILY() { return H5_VFD_FAMILY; }
+ private static final int H5_VFD_MULTI = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MULTI 4
+ * }
+ */
+ public static int H5_VFD_MULTI() { return H5_VFD_MULTI; }
+ private static final int H5_VFD_STDIO = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_STDIO 5
+ * }
+ */
+ public static int H5_VFD_STDIO() { return H5_VFD_STDIO; }
+ private static final int H5_VFD_SPLITTER = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_SPLITTER 6
+ * }
+ */
+ public static int H5_VFD_SPLITTER() { return H5_VFD_SPLITTER; }
+ private static final int H5_VFD_MPIO = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MPIO 7
+ * }
+ */
+ public static int H5_VFD_MPIO() { return H5_VFD_MPIO; }
+ private static final int H5_VFD_DIRECT = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_DIRECT 8
+ * }
+ */
+ public static int H5_VFD_DIRECT() { return H5_VFD_DIRECT; }
+ private static final int H5_VFD_MIRROR = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MIRROR 9
+ * }
+ */
+ public static int H5_VFD_MIRROR() { return H5_VFD_MIRROR; }
+ private static final int H5_VFD_HDFS = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_HDFS 10
+ * }
+ */
+ public static int H5_VFD_HDFS() { return H5_VFD_HDFS; }
+ private static final int H5_VFD_ROS3 = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_ROS3 11
+ * }
+ */
+ public static int H5_VFD_ROS3() { return H5_VFD_ROS3; }
+ private static final int H5_VFD_SUBFILING = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_SUBFILING 12
+ * }
+ */
+ public static int H5_VFD_SUBFILING() { return H5_VFD_SUBFILING; }
+ private static final int H5_VFD_IOC = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_IOC 13
+ * }
+ */
+ public static int H5_VFD_IOC() { return H5_VFD_IOC; }
+ private static final int H5_VFD_ONION = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_ONION 14
+ * }
+ */
+ public static int H5_VFD_ONION() { return H5_VFD_ONION; }
+ private static final int H5FD_FEAT_ACCUMULATE_METADATA = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ACCUMULATE_METADATA 6
+ * }
+ */
+ public static int H5FD_FEAT_ACCUMULATE_METADATA() { return H5FD_FEAT_ACCUMULATE_METADATA; }
+ private static final int H5FD_CTL_OPC_EXPER_MIN = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_OPC_EXPER_MIN 512
+ * }
+ */
+ public static int H5FD_CTL_OPC_EXPER_MIN() { return H5FD_CTL_OPC_EXPER_MIN; }
+ private static final int H5FD_CTL_OPC_EXPER_MAX = (int)1023L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_OPC_EXPER_MAX 1023
+ * }
+ */
+ public static int H5FD_CTL_OPC_EXPER_MAX() { return H5FD_CTL_OPC_EXPER_MAX; }
+ private static final int H5L_MAX_LINK_NAME_LEN = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_MAX_LINK_NAME_LEN 4294967295
+ * }
+ */
+ public static int H5L_MAX_LINK_NAME_LEN() { return H5L_MAX_LINK_NAME_LEN; }
+ private static final int H5L_TYPE_BUILTIN_MAX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_TYPE_BUILTIN_MAX 1
+ * }
+ */
+ public static int H5L_TYPE_BUILTIN_MAX() { return H5L_TYPE_BUILTIN_MAX; }
+ private static final int H5L_TYPE_UD_MIN = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_TYPE_UD_MIN 64
+ * }
+ */
+ public static int H5L_TYPE_UD_MIN() { return H5L_TYPE_UD_MIN; }
+ private static final int H5L_TYPE_UD_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_TYPE_UD_MAX 255
+ * }
+ */
+ public static int H5L_TYPE_UD_MAX() { return H5L_TYPE_UD_MAX; }
+ private static final int H5G_SAME_LOC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_SAME_LOC 0
+ * }
+ */
+ public static int H5G_SAME_LOC() { return H5G_SAME_LOC; }
+ private static final int H5G_LINK_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_LINK_ERROR -1
+ * }
+ */
+ public static int H5G_LINK_ERROR() { return H5G_LINK_ERROR; }
+ private static final int H5G_LINK_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_LINK_HARD 0
+ * }
+ */
+ public static int H5G_LINK_HARD() { return H5G_LINK_HARD; }
+ private static final int H5G_LINK_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_LINK_SOFT 1
+ * }
+ */
+ public static int H5G_LINK_SOFT() { return H5G_LINK_SOFT; }
+ private static final int H5G_NUSERTYPES = (int)248L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_NUSERTYPES 248
+ * }
+ */
+ public static int H5G_NUSERTYPES() { return H5G_NUSERTYPES; }
+ private static final int H5_VOL_INVALID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_INVALID -1
+ * }
+ */
+ public static int H5_VOL_INVALID() { return H5_VOL_INVALID; }
+ private static final int H5VL_CAP_FLAG_SOFT_LINKS = (int)2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_SOFT_LINKS 2147483648
+ * }
+ */
+ public static int H5VL_CAP_FLAG_SOFT_LINKS() { return H5VL_CAP_FLAG_SOFT_LINKS; }
+ private static final long H5VL_CAP_FLAG_UD_LINKS = 4294967296L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_UD_LINKS 4294967296
+ * }
+ */
+ public static long H5VL_CAP_FLAG_UD_LINKS() { return H5VL_CAP_FLAG_UD_LINKS; }
+ private static final long H5VL_CAP_FLAG_TRACK_TIMES = 8589934592L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_TRACK_TIMES 8589934592
+ * }
+ */
+ public static long H5VL_CAP_FLAG_TRACK_TIMES() { return H5VL_CAP_FLAG_TRACK_TIMES; }
+ private static final long H5VL_CAP_FLAG_MOUNT = 17179869184L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_MOUNT 17179869184
+ * }
+ */
+ public static long H5VL_CAP_FLAG_MOUNT() { return H5VL_CAP_FLAG_MOUNT; }
+ private static final long H5VL_CAP_FLAG_FILTERS = 34359738368L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILTERS 34359738368
+ * }
+ */
+ public static long H5VL_CAP_FLAG_FILTERS() { return H5VL_CAP_FLAG_FILTERS; }
+ private static final long H5VL_CAP_FLAG_FILL_VALUES = 68719476736L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILL_VALUES 68719476736
+ * }
+ */
+ public static long H5VL_CAP_FLAG_FILL_VALUES() { return H5VL_CAP_FLAG_FILL_VALUES; }
+ private static final long H5R_OBJ_REF_BUF_SIZE = 8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_OBJ_REF_BUF_SIZE 8
+ * }
+ */
+ public static long H5R_OBJ_REF_BUF_SIZE() { return H5R_OBJ_REF_BUF_SIZE; }
+ private static final long H5R_DSET_REG_REF_BUF_SIZE = 12L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_DSET_REG_REF_BUF_SIZE 12
+ * }
+ */
+ public static long H5R_DSET_REG_REF_BUF_SIZE() { return H5R_DSET_REG_REF_BUF_SIZE; }
+ private static final int H5R_REF_BUF_SIZE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_REF_BUF_SIZE 64
+ * }
+ */
+ public static int H5R_REF_BUF_SIZE() { return H5R_REF_BUF_SIZE; }
+ private static final int H5R_OBJECT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_OBJECT 0
+ * }
+ */
+ public static int H5R_OBJECT() { return H5R_OBJECT; }
+ private static final int H5R_DATASET_REGION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_DATASET_REGION 1
+ * }
+ */
+ public static int H5R_DATASET_REGION() { return H5R_DATASET_REGION; }
+ private static final int H5VL_MAX_BLOB_ID_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAX_BLOB_ID_SIZE 16
+ * }
+ */
+ public static int H5VL_MAX_BLOB_ID_SIZE() { return H5VL_MAX_BLOB_ID_SIZE; }
+ private static final long H5S_UNLIMITED = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_UNLIMITED -1
+ * }
+ */
+ public static long H5S_UNLIMITED() { return H5S_UNLIMITED; }
+ private static final int H5Z_FILTER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_ERROR -1
+ * }
+ */
+ public static int H5Z_FILTER_ERROR() { return H5Z_FILTER_ERROR; }
+ private static final int H5Z_FILTER_CONFIG_ENCODE_ENABLED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_CONFIG_ENCODE_ENABLED 1
+ * }
+ */
+ public static int H5Z_FILTER_CONFIG_ENCODE_ENABLED() { return H5Z_FILTER_CONFIG_ENCODE_ENABLED; }
+ private static final int H5Z_FILTER_CONFIG_DECODE_ENABLED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_CONFIG_DECODE_ENABLED 2
+ * }
+ */
+ public static int H5Z_FILTER_CONFIG_DECODE_ENABLED() { return H5Z_FILTER_CONFIG_DECODE_ENABLED; }
+ private static final int H5D_SEL_IO_DISABLE_BY_API = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_DISABLE_BY_API 1
+ * }
+ */
+ public static int H5D_SEL_IO_DISABLE_BY_API() { return H5D_SEL_IO_DISABLE_BY_API; }
+ private static final int H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET 2
+ * }
+ */
+ public static int H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET()
+ {
+ return H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET;
+ }
+ private static final int H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER 4
+ * }
+ */
+ public static int H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER() { return H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER; }
+ private static final int H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB 8
+ * }
+ */
+ public static int H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB()
+ {
+ return H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB;
+ }
+ private static final int H5D_SEL_IO_PAGE_BUFFER = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_PAGE_BUFFER 16
+ * }
+ */
+ public static int H5D_SEL_IO_PAGE_BUFFER() { return H5D_SEL_IO_PAGE_BUFFER; }
+ private static final int H5D_SEL_IO_DATASET_FILTER = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_DATASET_FILTER 32
+ * }
+ */
+ public static int H5D_SEL_IO_DATASET_FILTER() { return H5D_SEL_IO_DATASET_FILTER; }
+ private static final int H5D_SEL_IO_CHUNK_CACHE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_CHUNK_CACHE 64
+ * }
+ */
+ public static int H5D_SEL_IO_CHUNK_CACHE() { return H5D_SEL_IO_CHUNK_CACHE; }
+ private static final int H5D_SEL_IO_TCONV_BUF_TOO_SMALL = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_TCONV_BUF_TOO_SMALL 128
+ * }
+ */
+ public static int H5D_SEL_IO_TCONV_BUF_TOO_SMALL() { return H5D_SEL_IO_TCONV_BUF_TOO_SMALL; }
+ private static final int H5D_SEL_IO_BKG_BUF_TOO_SMALL = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_BKG_BUF_TOO_SMALL 256
+ * }
+ */
+ public static int H5D_SEL_IO_BKG_BUF_TOO_SMALL() { return H5D_SEL_IO_BKG_BUF_TOO_SMALL; }
+ private static final int H5D_SEL_IO_DEFAULT_OFF = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_DEFAULT_OFF 512
+ * }
+ */
+ public static int H5D_SEL_IO_DEFAULT_OFF() { return H5D_SEL_IO_DEFAULT_OFF; }
+ private static final int H5D_MPIO_NO_SELECTION_IO_CAUSES = (int)481L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_MPIO_NO_SELECTION_IO_CAUSES 481
+ * }
+ */
+ public static int H5D_MPIO_NO_SELECTION_IO_CAUSES() { return H5D_MPIO_NO_SELECTION_IO_CAUSES; }
+ private static final int H5D_SCALAR_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SCALAR_IO 1
+ * }
+ */
+ public static int H5D_SCALAR_IO() { return H5D_SCALAR_IO; }
+ private static final int H5D_VECTOR_IO = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_VECTOR_IO 2
+ * }
+ */
+ public static int H5D_VECTOR_IO() { return H5D_VECTOR_IO; }
+ private static final int H5D_SELECTION_IO = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SELECTION_IO 4
+ * }
+ */
+ public static int H5D_SELECTION_IO() { return H5D_SELECTION_IO; }
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_NO_PLUGIN "::"
+ * }
+ */
+ public static MemorySegment H5PL_NO_PLUGIN()
+ {
+ class Holder {
+ static final MemorySegment H5PL_NO_PLUGIN = hdf5_h.LIBRARY_ARENA.allocateFrom("::");
+ }
+ return Holder.H5PL_NO_PLUGIN;
+ }
+ private static final int H5FD_MEM_FHEAP_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_HDR() { return H5FD_MEM_FHEAP_HDR; }
+ private static final int H5FD_MEM_FHEAP_IBLOCK = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_IBLOCK 6
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_IBLOCK() { return H5FD_MEM_FHEAP_IBLOCK; }
+ private static final int H5FD_MEM_FHEAP_DBLOCK = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_DBLOCK 5
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_DBLOCK() { return H5FD_MEM_FHEAP_DBLOCK; }
+ private static final int H5FD_MEM_FHEAP_HUGE_OBJ = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_HUGE_OBJ 3
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_HUGE_OBJ() { return H5FD_MEM_FHEAP_HUGE_OBJ; }
+ private static final int H5FD_MEM_FSPACE_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FSPACE_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_FSPACE_HDR() { return H5FD_MEM_FSPACE_HDR; }
+ private static final int H5FD_MEM_FSPACE_SINFO = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FSPACE_SINFO 5
+ * }
+ */
+ public static int H5FD_MEM_FSPACE_SINFO() { return H5FD_MEM_FSPACE_SINFO; }
+ private static final int H5FD_MEM_SOHM_TABLE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_SOHM_TABLE 6
+ * }
+ */
+ public static int H5FD_MEM_SOHM_TABLE() { return H5FD_MEM_SOHM_TABLE; }
+ private static final int H5FD_MEM_SOHM_INDEX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_SOHM_INDEX 2
+ * }
+ */
+ public static int H5FD_MEM_SOHM_INDEX() { return H5FD_MEM_SOHM_INDEX; }
+ private static final int H5FD_MEM_EARRAY_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_HDR() { return H5FD_MEM_EARRAY_HDR; }
+ private static final int H5FD_MEM_EARRAY_IBLOCK = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_IBLOCK 6
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_IBLOCK() { return H5FD_MEM_EARRAY_IBLOCK; }
+ private static final int H5FD_MEM_EARRAY_SBLOCK = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_SBLOCK 2
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_SBLOCK() { return H5FD_MEM_EARRAY_SBLOCK; }
+ private static final int H5FD_MEM_EARRAY_DBLOCK = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_DBLOCK 5
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_DBLOCK() { return H5FD_MEM_EARRAY_DBLOCK; }
+ private static final int H5FD_MEM_EARRAY_DBLK_PAGE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_DBLK_PAGE 5
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_DBLK_PAGE() { return H5FD_MEM_EARRAY_DBLK_PAGE; }
+ private static final int H5FD_MEM_FARRAY_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FARRAY_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_FARRAY_HDR() { return H5FD_MEM_FARRAY_HDR; }
+ private static final int H5FD_MEM_FARRAY_DBLOCK = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FARRAY_DBLOCK 5
+ * }
+ */
+ public static int H5FD_MEM_FARRAY_DBLOCK() { return H5FD_MEM_FARRAY_DBLOCK; }
+ private static final int H5FD_MEM_FARRAY_DBLK_PAGE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FARRAY_DBLK_PAGE 5
+ * }
+ */
+ public static int H5FD_MEM_FARRAY_DBLK_PAGE() { return H5FD_MEM_FARRAY_DBLK_PAGE; }
+ private static final int H5Z_CLASS_T_VERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_CLASS_T_VERS 1
+ * }
+ */
+ public static int H5Z_CLASS_T_VERS() { return H5Z_CLASS_T_VERS; }
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_NAME "native"
+ * }
+ */
+ public static MemorySegment H5VL_NATIVE_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5VL_NATIVE_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("native");
+ }
+ return Holder.H5VL_NATIVE_NAME;
+ }
+ private static final int H5VL_NATIVE_VALUE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_VALUE 0
+ * }
+ */
+ public static int H5VL_NATIVE_VALUE() { return H5VL_NATIVE_VALUE; }
+ private static final int H5FD_CORE_VALUE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CORE_VALUE 1
+ * }
+ */
+ public static int H5FD_CORE_VALUE() { return H5FD_CORE_VALUE; }
+ private static final int H5FD_DIRECT = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_DIRECT -1
+ * }
+ */
+ public static int H5FD_DIRECT() { return H5FD_DIRECT; }
+ private static final int H5FD_DIRECT_VALUE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_DIRECT_VALUE -1
+ * }
+ */
+ public static int H5FD_DIRECT_VALUE() { return H5FD_DIRECT_VALUE; }
+ private static final int CBSIZE_DEF = (int)16777216L;
+ /**
+ * {@snippet lang=c :
+ * #define CBSIZE_DEF 16777216
+ * }
+ */
+ public static int CBSIZE_DEF() { return CBSIZE_DEF; }
+ private static final int H5FD_FAMILY_VALUE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FAMILY_VALUE 3
+ * }
+ */
+ public static int H5FD_FAMILY_VALUE() { return H5FD_FAMILY_VALUE; }
+ private static final int H5FD_HDFS = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_HDFS -1
+ * }
+ */
+ public static int H5FD_HDFS() { return H5FD_HDFS; }
+ private static final int H5FD_HDFS_VALUE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_HDFS_VALUE -1
+ * }
+ */
+ public static int H5FD_HDFS_VALUE() { return H5FD_HDFS_VALUE; }
+ private static final int H5FD_LOG_VALUE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_VALUE 2
+ * }
+ */
+ public static int H5FD_LOG_VALUE() { return H5FD_LOG_VALUE; }
+ private static final int H5FD_LOG_META_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_META_IO 1
+ * }
+ */
+ public static int H5FD_LOG_META_IO() { return H5FD_LOG_META_IO; }
+ private static final int H5FD_LOG_LOC_IO = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_IO 14
+ * }
+ */
+ public static int H5FD_LOG_LOC_IO() { return H5FD_LOG_LOC_IO; }
+ private static final int H5FD_LOG_FILE_IO = (int)48L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FILE_IO 48
+ * }
+ */
+ public static int H5FD_LOG_FILE_IO() { return H5FD_LOG_FILE_IO; }
+ private static final int H5FD_LOG_NUM_IO = (int)1920L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_IO 1920
+ * }
+ */
+ public static int H5FD_LOG_NUM_IO() { return H5FD_LOG_NUM_IO; }
+ private static final int H5FD_LOG_TIME_IO = (int)260096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_IO 260096
+ * }
+ */
+ public static int H5FD_LOG_TIME_IO() { return H5FD_LOG_TIME_IO; }
+ private static final int H5FD_LOG_ALL = (int)1048575L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_ALL 1048575
+ * }
+ */
+ public static int H5FD_LOG_ALL() { return H5FD_LOG_ALL; }
+ private static final int H5FD_MPIO = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MPIO -1
+ * }
+ */
+ public static int H5FD_MPIO() { return H5FD_MPIO; }
+ private static final int H5FD_ONION_VALUE = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_VALUE 14
+ * }
+ */
+ public static int H5FD_ONION_VALUE() { return H5FD_ONION_VALUE; }
+ private static final int H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT 1
+ * }
+ */
+ public static int H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT()
+ {
+ return H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT;
+ }
+ private static final long H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST -1
+ * }
+ */
+ public static long H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST()
+ {
+ return H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST;
+ }
+ private static final int H5FD_ROS3_VALUE = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3_VALUE 11
+ * }
+ */
+ public static int H5FD_ROS3_VALUE() { return H5FD_ROS3_VALUE; }
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3_VFD_DEFAULT_LOG_FILE "hdf5_ros3_vfd.log"
+ * }
+ */
+ public static MemorySegment H5FD_ROS3_VFD_DEFAULT_LOG_FILE()
+ {
+ class Holder {
+ static final MemorySegment H5FD_ROS3_VFD_DEFAULT_LOG_FILE =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("hdf5_ros3_vfd.log");
+ }
+ return Holder.H5FD_ROS3_VFD_DEFAULT_LOG_FILE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_ROS3_VFD_DEBUG "HDF5_ROS3_VFD_DEBUG"
+ * }
+ */
+ public static MemorySegment HDF5_ROS3_VFD_DEBUG()
+ {
+ class Holder {
+ static final MemorySegment HDF5_ROS3_VFD_DEBUG =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_ROS3_VFD_DEBUG");
+ }
+ return Holder.HDF5_ROS3_VFD_DEBUG;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_ROS3_VFD_LOG_LEVEL "HDF5_ROS3_VFD_LOG_LEVEL"
+ * }
+ */
+ public static MemorySegment HDF5_ROS3_VFD_LOG_LEVEL()
+ {
+ class Holder {
+ static final MemorySegment HDF5_ROS3_VFD_LOG_LEVEL =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_ROS3_VFD_LOG_LEVEL");
+ }
+ return Holder.HDF5_ROS3_VFD_LOG_LEVEL;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_ROS3_VFD_LOG_FILE "HDF5_ROS3_VFD_LOG_FILE"
+ * }
+ */
+ public static MemorySegment HDF5_ROS3_VFD_LOG_FILE()
+ {
+ class Holder {
+ static final MemorySegment HDF5_ROS3_VFD_LOG_FILE =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_ROS3_VFD_LOG_FILE");
+ }
+ return Holder.HDF5_ROS3_VFD_LOG_FILE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_ROS3_VFD_FORCE_PATH_STYLE "HDF5_ROS3_VFD_FORCE_PATH_STYLE"
+ * }
+ */
+ public static MemorySegment HDF5_ROS3_VFD_FORCE_PATH_STYLE()
+ {
+ class Holder {
+ static final MemorySegment HDF5_ROS3_VFD_FORCE_PATH_STYLE =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_ROS3_VFD_FORCE_PATH_STYLE");
+ }
+ return Holder.HDF5_ROS3_VFD_FORCE_PATH_STYLE;
+ }
+ private static final int H5FD_SEC2_VALUE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SEC2_VALUE 0
+ * }
+ */
+ public static int H5FD_SEC2_VALUE() { return H5FD_SEC2_VALUE; }
+ private static final int H5FD_SPLITTER_VALUE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SPLITTER_VALUE 6
+ * }
+ */
+ public static int H5FD_SPLITTER_VALUE() { return H5FD_SPLITTER_VALUE; }
+ private static final int H5FD_SUBFILING = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SUBFILING -1
+ * }
+ */
+ public static int H5FD_SUBFILING() { return H5FD_SUBFILING; }
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SUBFILING_NAME "subfiling"
+ * }
+ */
+ public static MemorySegment H5FD_SUBFILING_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5FD_SUBFILING_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("subfiling");
+ }
+ return Holder.H5FD_SUBFILING_NAME;
+ }
+ private static final int H5FD_IOC = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_IOC -1
+ * }
+ */
+ public static int H5FD_IOC() { return H5FD_IOC; }
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_IOC_NAME "ioc"
+ * }
+ */
+ public static MemorySegment H5FD_IOC_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5FD_IOC_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("ioc");
+ }
+ return Holder.H5FD_IOC_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_PASSTHRU_NAME "pass_through"
+ * }
+ */
+ public static MemorySegment H5VL_PASSTHRU_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5VL_PASSTHRU_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("pass_through");
+ }
+ return Holder.H5VL_PASSTHRU_NAME;
+ }
+}
diff --git a/java/jsrc/features/ros3/linux/hdf5_h_1.java b/java/jsrc/features/ros3/linux/hdf5_h_1.java
new file mode 100644
index 00000000000..38ab2953e54
--- /dev/null
+++ b/java/jsrc/features/ros3/linux/hdf5_h_1.java
@@ -0,0 +1,39623 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h_1 extends hdf5_h_2 {
+
+ hdf5_h_1()
+ {
+ // Should not be called directly
+ }
+
+ private static class H5T_NATIVE_SCHAR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_SCHAR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_SCHAR_g$layout() { return H5T_NATIVE_SCHAR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_SCHAR_g$segment() { return H5T_NATIVE_SCHAR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static long H5T_NATIVE_SCHAR_g()
+ {
+ return H5T_NATIVE_SCHAR_g$constants.SEGMENT.get(H5T_NATIVE_SCHAR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static void H5T_NATIVE_SCHAR_g(long varValue)
+ {
+ H5T_NATIVE_SCHAR_g$constants.SEGMENT.set(H5T_NATIVE_SCHAR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UCHAR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UCHAR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UCHAR_g$layout() { return H5T_NATIVE_UCHAR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UCHAR_g$segment() { return H5T_NATIVE_UCHAR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static long H5T_NATIVE_UCHAR_g()
+ {
+ return H5T_NATIVE_UCHAR_g$constants.SEGMENT.get(H5T_NATIVE_UCHAR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static void H5T_NATIVE_UCHAR_g(long varValue)
+ {
+ H5T_NATIVE_UCHAR_g$constants.SEGMENT.set(H5T_NATIVE_UCHAR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_SHORT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_SHORT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_SHORT_g$layout() { return H5T_NATIVE_SHORT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_SHORT_g$segment() { return H5T_NATIVE_SHORT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static long H5T_NATIVE_SHORT_g()
+ {
+ return H5T_NATIVE_SHORT_g$constants.SEGMENT.get(H5T_NATIVE_SHORT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static void H5T_NATIVE_SHORT_g(long varValue)
+ {
+ H5T_NATIVE_SHORT_g$constants.SEGMENT.set(H5T_NATIVE_SHORT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_USHORT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_USHORT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_USHORT_g$layout() { return H5T_NATIVE_USHORT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_USHORT_g$segment()
+ {
+ return H5T_NATIVE_USHORT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static long H5T_NATIVE_USHORT_g()
+ {
+ return H5T_NATIVE_USHORT_g$constants.SEGMENT.get(H5T_NATIVE_USHORT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static void H5T_NATIVE_USHORT_g(long varValue)
+ {
+ H5T_NATIVE_USHORT_g$constants.SEGMENT.set(H5T_NATIVE_USHORT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_g$layout() { return H5T_NATIVE_INT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_g$segment() { return H5T_NATIVE_INT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_g()
+ {
+ return H5T_NATIVE_INT_g$constants.SEGMENT.get(H5T_NATIVE_INT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_g(long varValue)
+ {
+ H5T_NATIVE_INT_g$constants.SEGMENT.set(H5T_NATIVE_INT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_g$layout() { return H5T_NATIVE_UINT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_g$segment() { return H5T_NATIVE_UINT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_g()
+ {
+ return H5T_NATIVE_UINT_g$constants.SEGMENT.get(H5T_NATIVE_UINT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_g(long varValue)
+ {
+ H5T_NATIVE_UINT_g$constants.SEGMENT.set(H5T_NATIVE_UINT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_LONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_LONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LONG_g$layout() { return H5T_NATIVE_LONG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LONG_g$segment() { return H5T_NATIVE_LONG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static long H5T_NATIVE_LONG_g()
+ {
+ return H5T_NATIVE_LONG_g$constants.SEGMENT.get(H5T_NATIVE_LONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static void H5T_NATIVE_LONG_g(long varValue)
+ {
+ H5T_NATIVE_LONG_g$constants.SEGMENT.set(H5T_NATIVE_LONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_ULONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_ULONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_ULONG_g$layout() { return H5T_NATIVE_ULONG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_ULONG_g$segment() { return H5T_NATIVE_ULONG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static long H5T_NATIVE_ULONG_g()
+ {
+ return H5T_NATIVE_ULONG_g$constants.SEGMENT.get(H5T_NATIVE_ULONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static void H5T_NATIVE_ULONG_g(long varValue)
+ {
+ H5T_NATIVE_ULONG_g$constants.SEGMENT.set(H5T_NATIVE_ULONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_LLONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_LLONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LLONG_g$layout() { return H5T_NATIVE_LLONG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LLONG_g$segment() { return H5T_NATIVE_LLONG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static long H5T_NATIVE_LLONG_g()
+ {
+ return H5T_NATIVE_LLONG_g$constants.SEGMENT.get(H5T_NATIVE_LLONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static void H5T_NATIVE_LLONG_g(long varValue)
+ {
+ H5T_NATIVE_LLONG_g$constants.SEGMENT.set(H5T_NATIVE_LLONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_ULLONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_ULLONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_ULLONG_g$layout() { return H5T_NATIVE_ULLONG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_ULLONG_g$segment()
+ {
+ return H5T_NATIVE_ULLONG_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static long H5T_NATIVE_ULLONG_g()
+ {
+ return H5T_NATIVE_ULLONG_g$constants.SEGMENT.get(H5T_NATIVE_ULLONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static void H5T_NATIVE_ULLONG_g(long varValue)
+ {
+ H5T_NATIVE_ULLONG_g$constants.SEGMENT.set(H5T_NATIVE_ULLONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_FLOAT16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_FLOAT16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_FLOAT16_g$layout() { return H5T_NATIVE_FLOAT16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_FLOAT16_g$segment()
+ {
+ return H5T_NATIVE_FLOAT16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static long H5T_NATIVE_FLOAT16_g()
+ {
+ return H5T_NATIVE_FLOAT16_g$constants.SEGMENT.get(H5T_NATIVE_FLOAT16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static void H5T_NATIVE_FLOAT16_g(long varValue)
+ {
+ H5T_NATIVE_FLOAT16_g$constants.SEGMENT.set(H5T_NATIVE_FLOAT16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_FLOAT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_FLOAT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_FLOAT_g$layout() { return H5T_NATIVE_FLOAT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_FLOAT_g$segment() { return H5T_NATIVE_FLOAT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static long H5T_NATIVE_FLOAT_g()
+ {
+ return H5T_NATIVE_FLOAT_g$constants.SEGMENT.get(H5T_NATIVE_FLOAT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static void H5T_NATIVE_FLOAT_g(long varValue)
+ {
+ H5T_NATIVE_FLOAT_g$constants.SEGMENT.set(H5T_NATIVE_FLOAT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_DOUBLE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_DOUBLE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_DOUBLE_g$layout() { return H5T_NATIVE_DOUBLE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_DOUBLE_g$segment()
+ {
+ return H5T_NATIVE_DOUBLE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static long H5T_NATIVE_DOUBLE_g()
+ {
+ return H5T_NATIVE_DOUBLE_g$constants.SEGMENT.get(H5T_NATIVE_DOUBLE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static void H5T_NATIVE_DOUBLE_g(long varValue)
+ {
+ H5T_NATIVE_DOUBLE_g$constants.SEGMENT.set(H5T_NATIVE_DOUBLE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_LDOUBLE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_LDOUBLE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LDOUBLE_g$layout() { return H5T_NATIVE_LDOUBLE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LDOUBLE_g$segment()
+ {
+ return H5T_NATIVE_LDOUBLE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static long H5T_NATIVE_LDOUBLE_g()
+ {
+ return H5T_NATIVE_LDOUBLE_g$constants.SEGMENT.get(H5T_NATIVE_LDOUBLE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static void H5T_NATIVE_LDOUBLE_g(long varValue)
+ {
+ H5T_NATIVE_LDOUBLE_g$constants.SEGMENT.set(H5T_NATIVE_LDOUBLE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_FLOAT_COMPLEX_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_FLOAT_COMPLEX_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_FLOAT_COMPLEX_g$layout()
+ {
+ return H5T_NATIVE_FLOAT_COMPLEX_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_FLOAT_COMPLEX_g$segment()
+ {
+ return H5T_NATIVE_FLOAT_COMPLEX_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static long H5T_NATIVE_FLOAT_COMPLEX_g()
+ {
+ return H5T_NATIVE_FLOAT_COMPLEX_g$constants.SEGMENT.get(H5T_NATIVE_FLOAT_COMPLEX_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static void H5T_NATIVE_FLOAT_COMPLEX_g(long varValue)
+ {
+ H5T_NATIVE_FLOAT_COMPLEX_g$constants.SEGMENT.set(H5T_NATIVE_FLOAT_COMPLEX_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_DOUBLE_COMPLEX_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_DOUBLE_COMPLEX_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_DOUBLE_COMPLEX_g$layout()
+ {
+ return H5T_NATIVE_DOUBLE_COMPLEX_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_DOUBLE_COMPLEX_g$segment()
+ {
+ return H5T_NATIVE_DOUBLE_COMPLEX_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static long H5T_NATIVE_DOUBLE_COMPLEX_g()
+ {
+ return H5T_NATIVE_DOUBLE_COMPLEX_g$constants.SEGMENT.get(H5T_NATIVE_DOUBLE_COMPLEX_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static void H5T_NATIVE_DOUBLE_COMPLEX_g(long varValue)
+ {
+ H5T_NATIVE_DOUBLE_COMPLEX_g$constants.SEGMENT.set(H5T_NATIVE_DOUBLE_COMPLEX_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_LDOUBLE_COMPLEX_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_LDOUBLE_COMPLEX_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LDOUBLE_COMPLEX_g$layout()
+ {
+ return H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LDOUBLE_COMPLEX_g$segment()
+ {
+ return H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static long H5T_NATIVE_LDOUBLE_COMPLEX_g()
+ {
+ return H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.SEGMENT.get(
+ H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static void H5T_NATIVE_LDOUBLE_COMPLEX_g(long varValue)
+ {
+ H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.SEGMENT.set(H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_B8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_B8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B8_g$layout() { return H5T_NATIVE_B8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B8_g$segment() { return H5T_NATIVE_B8_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static long H5T_NATIVE_B8_g()
+ {
+ return H5T_NATIVE_B8_g$constants.SEGMENT.get(H5T_NATIVE_B8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static void H5T_NATIVE_B8_g(long varValue)
+ {
+ H5T_NATIVE_B8_g$constants.SEGMENT.set(H5T_NATIVE_B8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_B16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_B16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B16_g$layout() { return H5T_NATIVE_B16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B16_g$segment() { return H5T_NATIVE_B16_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static long H5T_NATIVE_B16_g()
+ {
+ return H5T_NATIVE_B16_g$constants.SEGMENT.get(H5T_NATIVE_B16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static void H5T_NATIVE_B16_g(long varValue)
+ {
+ H5T_NATIVE_B16_g$constants.SEGMENT.set(H5T_NATIVE_B16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_B32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_B32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B32_g$layout() { return H5T_NATIVE_B32_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B32_g$segment() { return H5T_NATIVE_B32_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static long H5T_NATIVE_B32_g()
+ {
+ return H5T_NATIVE_B32_g$constants.SEGMENT.get(H5T_NATIVE_B32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static void H5T_NATIVE_B32_g(long varValue)
+ {
+ H5T_NATIVE_B32_g$constants.SEGMENT.set(H5T_NATIVE_B32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_B64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_B64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B64_g$layout() { return H5T_NATIVE_B64_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B64_g$segment() { return H5T_NATIVE_B64_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static long H5T_NATIVE_B64_g()
+ {
+ return H5T_NATIVE_B64_g$constants.SEGMENT.get(H5T_NATIVE_B64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static void H5T_NATIVE_B64_g(long varValue)
+ {
+ H5T_NATIVE_B64_g$constants.SEGMENT.set(H5T_NATIVE_B64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_OPAQUE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_OPAQUE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_OPAQUE_g$layout() { return H5T_NATIVE_OPAQUE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_OPAQUE_g$segment()
+ {
+ return H5T_NATIVE_OPAQUE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static long H5T_NATIVE_OPAQUE_g()
+ {
+ return H5T_NATIVE_OPAQUE_g$constants.SEGMENT.get(H5T_NATIVE_OPAQUE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static void H5T_NATIVE_OPAQUE_g(long varValue)
+ {
+ H5T_NATIVE_OPAQUE_g$constants.SEGMENT.set(H5T_NATIVE_OPAQUE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HADDR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HADDR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HADDR_g$layout() { return H5T_NATIVE_HADDR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HADDR_g$segment() { return H5T_NATIVE_HADDR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static long H5T_NATIVE_HADDR_g()
+ {
+ return H5T_NATIVE_HADDR_g$constants.SEGMENT.get(H5T_NATIVE_HADDR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static void H5T_NATIVE_HADDR_g(long varValue)
+ {
+ H5T_NATIVE_HADDR_g$constants.SEGMENT.set(H5T_NATIVE_HADDR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HSIZE_g$layout() { return H5T_NATIVE_HSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HSIZE_g$segment() { return H5T_NATIVE_HSIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static long H5T_NATIVE_HSIZE_g()
+ {
+ return H5T_NATIVE_HSIZE_g$constants.SEGMENT.get(H5T_NATIVE_HSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static void H5T_NATIVE_HSIZE_g(long varValue)
+ {
+ H5T_NATIVE_HSIZE_g$constants.SEGMENT.set(H5T_NATIVE_HSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HSSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HSSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HSSIZE_g$layout() { return H5T_NATIVE_HSSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HSSIZE_g$segment()
+ {
+ return H5T_NATIVE_HSSIZE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static long H5T_NATIVE_HSSIZE_g()
+ {
+ return H5T_NATIVE_HSSIZE_g$constants.SEGMENT.get(H5T_NATIVE_HSSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static void H5T_NATIVE_HSSIZE_g(long varValue)
+ {
+ H5T_NATIVE_HSSIZE_g$constants.SEGMENT.set(H5T_NATIVE_HSSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HERR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HERR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HERR_g$layout() { return H5T_NATIVE_HERR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HERR_g$segment() { return H5T_NATIVE_HERR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static long H5T_NATIVE_HERR_g()
+ {
+ return H5T_NATIVE_HERR_g$constants.SEGMENT.get(H5T_NATIVE_HERR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static void H5T_NATIVE_HERR_g(long varValue)
+ {
+ H5T_NATIVE_HERR_g$constants.SEGMENT.set(H5T_NATIVE_HERR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HBOOL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HBOOL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HBOOL_g$layout() { return H5T_NATIVE_HBOOL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HBOOL_g$segment() { return H5T_NATIVE_HBOOL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static long H5T_NATIVE_HBOOL_g()
+ {
+ return H5T_NATIVE_HBOOL_g$constants.SEGMENT.get(H5T_NATIVE_HBOOL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static void H5T_NATIVE_HBOOL_g(long varValue)
+ {
+ H5T_NATIVE_HBOOL_g$constants.SEGMENT.set(H5T_NATIVE_HBOOL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT8_g$layout() { return H5T_NATIVE_INT8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT8_g$segment() { return H5T_NATIVE_INT8_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static long H5T_NATIVE_INT8_g()
+ {
+ return H5T_NATIVE_INT8_g$constants.SEGMENT.get(H5T_NATIVE_INT8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static void H5T_NATIVE_INT8_g(long varValue)
+ {
+ H5T_NATIVE_INT8_g$constants.SEGMENT.set(H5T_NATIVE_INT8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT8_g$layout() { return H5T_NATIVE_UINT8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT8_g$segment() { return H5T_NATIVE_UINT8_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT8_g()
+ {
+ return H5T_NATIVE_UINT8_g$constants.SEGMENT.get(H5T_NATIVE_UINT8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT8_g(long varValue)
+ {
+ H5T_NATIVE_UINT8_g$constants.SEGMENT.set(H5T_NATIVE_UINT8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST8_g$layout() { return H5T_NATIVE_INT_LEAST8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST8_g$segment()
+ {
+ return H5T_NATIVE_INT_LEAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST8_g()
+ {
+ return H5T_NATIVE_INT_LEAST8_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST8_g(long varValue)
+ {
+ H5T_NATIVE_INT_LEAST8_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST8_g$layout()
+ {
+ return H5T_NATIVE_UINT_LEAST8_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST8_g$segment()
+ {
+ return H5T_NATIVE_UINT_LEAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST8_g()
+ {
+ return H5T_NATIVE_UINT_LEAST8_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST8_g(long varValue)
+ {
+ H5T_NATIVE_UINT_LEAST8_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST8_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST8_g$layout() { return H5T_NATIVE_INT_FAST8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST8_g$segment()
+ {
+ return H5T_NATIVE_INT_FAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST8_g()
+ {
+ return H5T_NATIVE_INT_FAST8_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST8_g(long varValue)
+ {
+ H5T_NATIVE_INT_FAST8_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST8_g$layout() { return H5T_NATIVE_UINT_FAST8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST8_g$segment()
+ {
+ return H5T_NATIVE_UINT_FAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST8_g()
+ {
+ return H5T_NATIVE_UINT_FAST8_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST8_g(long varValue)
+ {
+ H5T_NATIVE_UINT_FAST8_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT16_g$layout() { return H5T_NATIVE_INT16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT16_g$segment() { return H5T_NATIVE_INT16_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static long H5T_NATIVE_INT16_g()
+ {
+ return H5T_NATIVE_INT16_g$constants.SEGMENT.get(H5T_NATIVE_INT16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static void H5T_NATIVE_INT16_g(long varValue)
+ {
+ H5T_NATIVE_INT16_g$constants.SEGMENT.set(H5T_NATIVE_INT16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT16_g$layout() { return H5T_NATIVE_UINT16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT16_g$segment()
+ {
+ return H5T_NATIVE_UINT16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT16_g()
+ {
+ return H5T_NATIVE_UINT16_g$constants.SEGMENT.get(H5T_NATIVE_UINT16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT16_g(long varValue)
+ {
+ H5T_NATIVE_UINT16_g$constants.SEGMENT.set(H5T_NATIVE_UINT16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST16_g$layout()
+ {
+ return H5T_NATIVE_INT_LEAST16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST16_g$segment()
+ {
+ return H5T_NATIVE_INT_LEAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST16_g()
+ {
+ return H5T_NATIVE_INT_LEAST16_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST16_g(long varValue)
+ {
+ H5T_NATIVE_INT_LEAST16_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST16_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST16_g$layout()
+ {
+ return H5T_NATIVE_UINT_LEAST16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST16_g$segment()
+ {
+ return H5T_NATIVE_UINT_LEAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST16_g()
+ {
+ return H5T_NATIVE_UINT_LEAST16_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST16_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST16_g(long varValue)
+ {
+ H5T_NATIVE_UINT_LEAST16_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST16_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST16_g$layout() { return H5T_NATIVE_INT_FAST16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST16_g$segment()
+ {
+ return H5T_NATIVE_INT_FAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST16_g()
+ {
+ return H5T_NATIVE_INT_FAST16_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST16_g(long varValue)
+ {
+ H5T_NATIVE_INT_FAST16_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST16_g$layout()
+ {
+ return H5T_NATIVE_UINT_FAST16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST16_g$segment()
+ {
+ return H5T_NATIVE_UINT_FAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST16_g()
+ {
+ return H5T_NATIVE_UINT_FAST16_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST16_g(long varValue)
+ {
+ H5T_NATIVE_UINT_FAST16_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST16_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT32_g$layout() { return H5T_NATIVE_INT32_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT32_g$segment() { return H5T_NATIVE_INT32_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static long H5T_NATIVE_INT32_g()
+ {
+ return H5T_NATIVE_INT32_g$constants.SEGMENT.get(H5T_NATIVE_INT32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static void H5T_NATIVE_INT32_g(long varValue)
+ {
+ H5T_NATIVE_INT32_g$constants.SEGMENT.set(H5T_NATIVE_INT32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT32_g$layout() { return H5T_NATIVE_UINT32_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT32_g$segment()
+ {
+ return H5T_NATIVE_UINT32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT32_g()
+ {
+ return H5T_NATIVE_UINT32_g$constants.SEGMENT.get(H5T_NATIVE_UINT32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT32_g(long varValue)
+ {
+ H5T_NATIVE_UINT32_g$constants.SEGMENT.set(H5T_NATIVE_UINT32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST32_g$layout()
+ {
+ return H5T_NATIVE_INT_LEAST32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST32_g$segment()
+ {
+ return H5T_NATIVE_INT_LEAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST32_g()
+ {
+ return H5T_NATIVE_INT_LEAST32_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST32_g(long varValue)
+ {
+ H5T_NATIVE_INT_LEAST32_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST32_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST32_g$layout()
+ {
+ return H5T_NATIVE_UINT_LEAST32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST32_g$segment()
+ {
+ return H5T_NATIVE_UINT_LEAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST32_g()
+ {
+ return H5T_NATIVE_UINT_LEAST32_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST32_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST32_g(long varValue)
+ {
+ H5T_NATIVE_UINT_LEAST32_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST32_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST32_g$layout() { return H5T_NATIVE_INT_FAST32_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST32_g$segment()
+ {
+ return H5T_NATIVE_INT_FAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST32_g()
+ {
+ return H5T_NATIVE_INT_FAST32_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST32_g(long varValue)
+ {
+ H5T_NATIVE_INT_FAST32_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST32_g$layout()
+ {
+ return H5T_NATIVE_UINT_FAST32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST32_g$segment()
+ {
+ return H5T_NATIVE_UINT_FAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST32_g()
+ {
+ return H5T_NATIVE_UINT_FAST32_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST32_g(long varValue)
+ {
+ H5T_NATIVE_UINT_FAST32_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST32_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT64_g$layout() { return H5T_NATIVE_INT64_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT64_g$segment() { return H5T_NATIVE_INT64_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static long H5T_NATIVE_INT64_g()
+ {
+ return H5T_NATIVE_INT64_g$constants.SEGMENT.get(H5T_NATIVE_INT64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static void H5T_NATIVE_INT64_g(long varValue)
+ {
+ H5T_NATIVE_INT64_g$constants.SEGMENT.set(H5T_NATIVE_INT64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT64_g$layout() { return H5T_NATIVE_UINT64_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT64_g$segment()
+ {
+ return H5T_NATIVE_UINT64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT64_g()
+ {
+ return H5T_NATIVE_UINT64_g$constants.SEGMENT.get(H5T_NATIVE_UINT64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT64_g(long varValue)
+ {
+ H5T_NATIVE_UINT64_g$constants.SEGMENT.set(H5T_NATIVE_UINT64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST64_g$layout()
+ {
+ return H5T_NATIVE_INT_LEAST64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST64_g$segment()
+ {
+ return H5T_NATIVE_INT_LEAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST64_g()
+ {
+ return H5T_NATIVE_INT_LEAST64_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST64_g(long varValue)
+ {
+ H5T_NATIVE_INT_LEAST64_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST64_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST64_g$layout()
+ {
+ return H5T_NATIVE_UINT_LEAST64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST64_g$segment()
+ {
+ return H5T_NATIVE_UINT_LEAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST64_g()
+ {
+ return H5T_NATIVE_UINT_LEAST64_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST64_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST64_g(long varValue)
+ {
+ H5T_NATIVE_UINT_LEAST64_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST64_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST64_g$layout() { return H5T_NATIVE_INT_FAST64_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST64_g$segment()
+ {
+ return H5T_NATIVE_INT_FAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST64_g()
+ {
+ return H5T_NATIVE_INT_FAST64_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST64_g(long varValue)
+ {
+ H5T_NATIVE_INT_FAST64_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST64_g$layout()
+ {
+ return H5T_NATIVE_UINT_FAST64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST64_g$segment()
+ {
+ return H5T_NATIVE_UINT_FAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST64_g()
+ {
+ return H5T_NATIVE_UINT_FAST64_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST64_g(long varValue)
+ {
+ H5T_NATIVE_UINT_FAST64_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST64_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5Tcreate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Tcreate$descriptor() { return H5Tcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static MethodHandle H5Tcreate$handle() { return H5Tcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static MemorySegment H5Tcreate$address() { return H5Tcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static long H5Tcreate(int type, long size)
+ {
+ var mh$ = H5Tcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcreate", type, size);
+ }
+ return (long)mh$.invokeExact(type, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcopy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcopy$descriptor() { return H5Tcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tcopy$handle() { return H5Tcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tcopy$address() { return H5Tcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static long H5Tcopy(long type_id)
+ {
+ var mh$ = H5Tcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcopy", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tclose$descriptor() { return H5Tclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tclose$handle() { return H5Tclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tclose$address() { return H5Tclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static int H5Tclose(long type_id)
+ {
+ var mh$ = H5Tclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tclose", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tclose_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tclose_async$descriptor() { return H5Tclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Tclose_async$handle() { return H5Tclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Tclose_async$address() { return H5Tclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Tclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long type_id, long es_id)
+ {
+ var mh$ = H5Tclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tclose_async", app_file, app_func, app_line, type_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, type_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tequal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tequal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tequal$descriptor() { return H5Tequal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static MethodHandle H5Tequal$handle() { return H5Tequal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static MemorySegment H5Tequal$address() { return H5Tequal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static int H5Tequal(long type1_id, long type2_id)
+ {
+ var mh$ = H5Tequal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tequal", type1_id, type2_id);
+ }
+ return (int)mh$.invokeExact(type1_id, type2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tlock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tlock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tlock$descriptor() { return H5Tlock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tlock$handle() { return H5Tlock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tlock$address() { return H5Tlock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static int H5Tlock(long type_id)
+ {
+ var mh$ = H5Tlock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tlock", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t
+ * tapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit2$descriptor() { return H5Tcommit2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t
+ * tapl_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit2$handle() { return H5Tcommit2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t
+ * tapl_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit2$address() { return H5Tcommit2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t
+ * tapl_id)
+ * }
+ */
+ public static int H5Tcommit2(long loc_id, MemorySegment name, long type_id, long lcpl_id, long tcpl_id,
+ long tapl_id)
+ {
+ var mh$ = H5Tcommit2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit2", loc_id, name, type_id, lcpl_id, tcpl_id, tapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, type_id, lcpl_id, tcpl_id, tapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit_async$descriptor() { return H5Tcommit_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit_async$handle() { return H5Tcommit_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit_async$address() { return H5Tcommit_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Tcommit_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long type_id, long lcpl_id,
+ long tcpl_id, long tapl_id, long es_id)
+ {
+ var mh$ = H5Tcommit_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit_async", app_file, app_func, app_line, loc_id, name, type_id, lcpl_id,
+ tcpl_id, tapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, type_id, lcpl_id, tcpl_id,
+ tapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Topen2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Topen2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Topen2$descriptor() { return H5Topen2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static MethodHandle H5Topen2$handle() { return H5Topen2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static MemorySegment H5Topen2$address() { return H5Topen2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static long H5Topen2(long loc_id, MemorySegment name, long tapl_id)
+ {
+ var mh$ = H5Topen2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Topen2", loc_id, name, tapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, tapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Topen_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Topen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Topen_async$descriptor() { return H5Topen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Topen_async$handle() { return H5Topen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Topen_async$address() { return H5Topen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Topen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long tapl_id, long es_id)
+ {
+ var mh$ = H5Topen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Topen_async", app_file, app_func, app_line, loc_id, name, tapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, tapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit_anon {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit_anon");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit_anon$descriptor() { return H5Tcommit_anon.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit_anon$handle() { return H5Tcommit_anon.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit_anon$address() { return H5Tcommit_anon.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static int H5Tcommit_anon(long loc_id, long type_id, long tcpl_id, long tapl_id)
+ {
+ var mh$ = H5Tcommit_anon.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit_anon", loc_id, type_id, tcpl_id, tapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, type_id, tcpl_id, tapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_create_plist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_create_plist$descriptor() { return H5Tget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_create_plist$handle() { return H5Tget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_create_plist$address() { return H5Tget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_create_plist(long type_id)
+ {
+ var mh$ = H5Tget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_create_plist", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommitted {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommitted");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommitted$descriptor() { return H5Tcommitted.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tcommitted$handle() { return H5Tcommitted.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tcommitted$address() { return H5Tcommitted.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static int H5Tcommitted(long type_id)
+ {
+ var mh$ = H5Tcommitted.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommitted", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tencode {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tencode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static FunctionDescriptor H5Tencode$descriptor() { return H5Tencode.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MethodHandle H5Tencode$handle() { return H5Tencode.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MemorySegment H5Tencode$address() { return H5Tencode.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static int H5Tencode(long obj_id, MemorySegment buf, MemorySegment nalloc)
+ {
+ var mh$ = H5Tencode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tencode", obj_id, buf, nalloc);
+ }
+ return (int)mh$.invokeExact(obj_id, buf, nalloc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tdecode2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tdecode2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Tdecode2$descriptor() { return H5Tdecode2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5Tdecode2$handle() { return H5Tdecode2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5Tdecode2$address() { return H5Tdecode2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static long H5Tdecode2(MemorySegment buf, long buf_size)
+ {
+ var mh$ = H5Tdecode2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tdecode2", buf, buf_size);
+ }
+ return (long)mh$.invokeExact(buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tflush$descriptor() { return H5Tflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tflush$handle() { return H5Tflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tflush$address() { return H5Tflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static int H5Tflush(long type_id)
+ {
+ var mh$ = H5Tflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tflush", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Trefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Trefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Trefresh$descriptor() { return H5Trefresh.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Trefresh$handle() { return H5Trefresh.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Trefresh$address() { return H5Trefresh.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static int H5Trefresh(long type_id)
+ {
+ var mh$ = H5Trefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Trefresh", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tinsert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tinsert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tinsert$descriptor() { return H5Tinsert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static MethodHandle H5Tinsert$handle() { return H5Tinsert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static MemorySegment H5Tinsert$address() { return H5Tinsert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static int H5Tinsert(long parent_id, MemorySegment name, long offset, long member_id)
+ {
+ var mh$ = H5Tinsert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tinsert", parent_id, name, offset, member_id);
+ }
+ return (int)mh$.invokeExact(parent_id, name, offset, member_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tpack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tpack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tpack$descriptor() { return H5Tpack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tpack$handle() { return H5Tpack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tpack$address() { return H5Tpack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static int H5Tpack(long type_id)
+ {
+ var mh$ = H5Tpack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tpack", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_create$descriptor() { return H5Tenum_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static MethodHandle H5Tenum_create$handle() { return H5Tenum_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static MemorySegment H5Tenum_create$address() { return H5Tenum_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static long H5Tenum_create(long base_id)
+ {
+ var mh$ = H5Tenum_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_create", base_id);
+ }
+ return (long)mh$.invokeExact(base_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_insert {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_insert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_insert$descriptor() { return H5Tenum_insert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static MethodHandle H5Tenum_insert$handle() { return H5Tenum_insert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static MemorySegment H5Tenum_insert$address() { return H5Tenum_insert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static int H5Tenum_insert(long type, MemorySegment name, MemorySegment value)
+ {
+ var mh$ = H5Tenum_insert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_insert", type, name, value);
+ }
+ return (int)mh$.invokeExact(type, name, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_nameof {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_nameof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_nameof$descriptor() { return H5Tenum_nameof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Tenum_nameof$handle() { return H5Tenum_nameof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Tenum_nameof$address() { return H5Tenum_nameof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static int H5Tenum_nameof(long type, MemorySegment value, MemorySegment name, long size)
+ {
+ var mh$ = H5Tenum_nameof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_nameof", type, value, name, size);
+ }
+ return (int)mh$.invokeExact(type, value, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_valueof {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_valueof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_valueof$descriptor() { return H5Tenum_valueof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static MethodHandle H5Tenum_valueof$handle() { return H5Tenum_valueof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static MemorySegment H5Tenum_valueof$address() { return H5Tenum_valueof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static int H5Tenum_valueof(long type, MemorySegment name, MemorySegment value)
+ {
+ var mh$ = H5Tenum_valueof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_valueof", type, name, value);
+ }
+ return (int)mh$.invokeExact(type, name, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tvlen_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tvlen_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tvlen_create$descriptor() { return H5Tvlen_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static MethodHandle H5Tvlen_create$handle() { return H5Tvlen_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static MemorySegment H5Tvlen_create$address() { return H5Tvlen_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static long H5Tvlen_create(long base_id)
+ {
+ var mh$ = H5Tvlen_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tvlen_create", base_id);
+ }
+ return (long)mh$.invokeExact(base_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tarray_create2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tarray_create2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static FunctionDescriptor H5Tarray_create2$descriptor() { return H5Tarray_create2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MethodHandle H5Tarray_create2$handle() { return H5Tarray_create2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MemorySegment H5Tarray_create2$address() { return H5Tarray_create2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static long H5Tarray_create2(long base_id, int ndims, MemorySegment dim)
+ {
+ var mh$ = H5Tarray_create2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tarray_create2", base_id, ndims, dim);
+ }
+ return (long)mh$.invokeExact(base_id, ndims, dim);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_array_ndims {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_array_ndims");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_array_ndims$descriptor() { return H5Tget_array_ndims.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_array_ndims$handle() { return H5Tget_array_ndims.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_array_ndims$address() { return H5Tget_array_ndims.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_array_ndims(long type_id)
+ {
+ var mh$ = H5Tget_array_ndims.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_array_ndims", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_array_dims2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_array_dims2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static FunctionDescriptor H5Tget_array_dims2$descriptor() { return H5Tget_array_dims2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static MethodHandle H5Tget_array_dims2$handle() { return H5Tget_array_dims2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static MemorySegment H5Tget_array_dims2$address() { return H5Tget_array_dims2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static int H5Tget_array_dims2(long type_id, MemorySegment dims)
+ {
+ var mh$ = H5Tget_array_dims2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_array_dims2", type_id, dims);
+ }
+ return (int)mh$.invokeExact(type_id, dims);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcomplex_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcomplex_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcomplex_create$descriptor() { return H5Tcomplex_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static MethodHandle H5Tcomplex_create$handle() { return H5Tcomplex_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static MemorySegment H5Tcomplex_create$address() { return H5Tcomplex_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static long H5Tcomplex_create(long base_type_id)
+ {
+ var mh$ = H5Tcomplex_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcomplex_create", base_type_id);
+ }
+ return (long)mh$.invokeExact(base_type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_tag {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_tag");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_tag$descriptor() { return H5Tset_tag.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static MethodHandle H5Tset_tag$handle() { return H5Tset_tag.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static MemorySegment H5Tset_tag$address() { return H5Tset_tag.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static int H5Tset_tag(long type, MemorySegment tag)
+ {
+ var mh$ = H5Tset_tag.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_tag", type, tag);
+ }
+ return (int)mh$.invokeExact(type, tag);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_tag {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_tag");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_tag$descriptor() { return H5Tget_tag.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static MethodHandle H5Tget_tag$handle() { return H5Tget_tag.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static MemorySegment H5Tget_tag$address() { return H5Tget_tag.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static MemorySegment H5Tget_tag(long type)
+ {
+ var mh$ = H5Tget_tag.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_tag", type);
+ }
+ return (MemorySegment)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_super {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_super");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_super$descriptor() { return H5Tget_super.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static MethodHandle H5Tget_super$handle() { return H5Tget_super.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static MemorySegment H5Tget_super$address() { return H5Tget_super.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static long H5Tget_super(long type)
+ {
+ var mh$ = H5Tget_super.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_super", type);
+ }
+ return (long)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_class$descriptor() { return H5Tget_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_class$handle() { return H5Tget_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_class$address() { return H5Tget_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_class(long type_id)
+ {
+ var mh$ = H5Tget_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_class", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tdetect_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tdetect_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static FunctionDescriptor H5Tdetect_class$descriptor() { return H5Tdetect_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static MethodHandle H5Tdetect_class$handle() { return H5Tdetect_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static MemorySegment H5Tdetect_class$address() { return H5Tdetect_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static int H5Tdetect_class(long type_id, int cls)
+ {
+ var mh$ = H5Tdetect_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tdetect_class", type_id, cls);
+ }
+ return (int)mh$.invokeExact(type_id, cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_size$descriptor() { return H5Tget_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_size$handle() { return H5Tget_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_size$address() { return H5Tget_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_size(long type_id)
+ {
+ var mh$ = H5Tget_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_size", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_order {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_order$descriptor() { return H5Tget_order.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_order$handle() { return H5Tget_order.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_order$address() { return H5Tget_order.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_order(long type_id)
+ {
+ var mh$ = H5Tget_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_order", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_precision {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_precision");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_precision$descriptor() { return H5Tget_precision.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_precision$handle() { return H5Tget_precision.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_precision$address() { return H5Tget_precision.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_precision(long type_id)
+ {
+ var mh$ = H5Tget_precision.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_precision", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_offset {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_offset$descriptor() { return H5Tget_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_offset$handle() { return H5Tget_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_offset$address() { return H5Tget_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_offset(long type_id)
+ {
+ var mh$ = H5Tget_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_offset", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_pad {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_pad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_pad$descriptor() { return H5Tget_pad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static MethodHandle H5Tget_pad$handle() { return H5Tget_pad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static MemorySegment H5Tget_pad$address() { return H5Tget_pad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static int H5Tget_pad(long type_id, MemorySegment lsb, MemorySegment msb)
+ {
+ var mh$ = H5Tget_pad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_pad", type_id, lsb, msb);
+ }
+ return (int)mh$.invokeExact(type_id, lsb, msb);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_sign {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_sign");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_sign$descriptor() { return H5Tget_sign.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_sign$handle() { return H5Tget_sign.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_sign$address() { return H5Tget_sign.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_sign(long type_id)
+ {
+ var mh$ = H5Tget_sign.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_sign", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_fields {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_fields");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t
+ * *msize)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_fields$descriptor() { return H5Tget_fields.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t
+ * *msize)
+ * }
+ */
+ public static MethodHandle H5Tget_fields$handle() { return H5Tget_fields.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t
+ * *msize)
+ * }
+ */
+ public static MemorySegment H5Tget_fields$address() { return H5Tget_fields.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t
+ * *msize)
+ * }
+ */
+ public static int H5Tget_fields(long type_id, MemorySegment spos, MemorySegment epos, MemorySegment esize,
+ MemorySegment mpos, MemorySegment msize)
+ {
+ var mh$ = H5Tget_fields.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_fields", type_id, spos, epos, esize, mpos, msize);
+ }
+ return (int)mh$.invokeExact(type_id, spos, epos, esize, mpos, msize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_ebias {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_ebias");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_ebias$descriptor() { return H5Tget_ebias.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_ebias$handle() { return H5Tget_ebias.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_ebias$address() { return H5Tget_ebias.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_ebias(long type_id)
+ {
+ var mh$ = H5Tget_ebias.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_ebias", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_norm {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_norm");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_norm$descriptor() { return H5Tget_norm.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_norm$handle() { return H5Tget_norm.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_norm$address() { return H5Tget_norm.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_norm(long type_id)
+ {
+ var mh$ = H5Tget_norm.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_norm", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_inpad {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_inpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_inpad$descriptor() { return H5Tget_inpad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_inpad$handle() { return H5Tget_inpad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_inpad$address() { return H5Tget_inpad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_inpad(long type_id)
+ {
+ var mh$ = H5Tget_inpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_inpad", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_strpad {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_strpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_strpad$descriptor() { return H5Tget_strpad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_strpad$handle() { return H5Tget_strpad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_strpad$address() { return H5Tget_strpad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_strpad(long type_id)
+ {
+ var mh$ = H5Tget_strpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_strpad", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_nmembers {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_nmembers");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_nmembers$descriptor() { return H5Tget_nmembers.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_nmembers$handle() { return H5Tget_nmembers.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_nmembers$address() { return H5Tget_nmembers.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_nmembers(long type_id)
+ {
+ var mh$ = H5Tget_nmembers.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_nmembers", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_name$descriptor() { return H5Tget_member_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_name$handle() { return H5Tget_member_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_name$address() { return H5Tget_member_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_name(long type_id, int membno)
+ {
+ var mh$ = H5Tget_member_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_name", type_id, membno);
+ }
+ return (MemorySegment)mh$.invokeExact(type_id, membno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_index {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_index");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_index$descriptor() { return H5Tget_member_index.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Tget_member_index$handle() { return H5Tget_member_index.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Tget_member_index$address() { return H5Tget_member_index.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static int H5Tget_member_index(long type_id, MemorySegment name)
+ {
+ var mh$ = H5Tget_member_index.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_index", type_id, name);
+ }
+ return (int)mh$.invokeExact(type_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_offset$descriptor() { return H5Tget_member_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_offset$handle() { return H5Tget_member_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_offset$address() { return H5Tget_member_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static long H5Tget_member_offset(long type_id, int membno)
+ {
+ var mh$ = H5Tget_member_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_offset", type_id, membno);
+ }
+ return (long)mh$.invokeExact(type_id, membno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_class$descriptor() { return H5Tget_member_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_class$handle() { return H5Tget_member_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_class$address() { return H5Tget_member_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static int H5Tget_member_class(long type_id, int membno)
+ {
+ var mh$ = H5Tget_member_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_class", type_id, membno);
+ }
+ return (int)mh$.invokeExact(type_id, membno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_type$descriptor() { return H5Tget_member_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_type$handle() { return H5Tget_member_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_type$address() { return H5Tget_member_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static long H5Tget_member_type(long type_id, int membno)
+ {
+ var mh$ = H5Tget_member_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_type", type_id, membno);
+ }
+ return (long)mh$.invokeExact(type_id, membno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_value$descriptor() { return H5Tget_member_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static MethodHandle H5Tget_member_value$handle() { return H5Tget_member_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static MemorySegment H5Tget_member_value$address() { return H5Tget_member_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static int H5Tget_member_value(long type_id, int membno, MemorySegment value)
+ {
+ var mh$ = H5Tget_member_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_value", type_id, membno, value);
+ }
+ return (int)mh$.invokeExact(type_id, membno, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_cset {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_cset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_cset$descriptor() { return H5Tget_cset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_cset$handle() { return H5Tget_cset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_cset$address() { return H5Tget_cset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_cset(long type_id)
+ {
+ var mh$ = H5Tget_cset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_cset", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tis_variable_str {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tis_variable_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tis_variable_str$descriptor() { return H5Tis_variable_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tis_variable_str$handle() { return H5Tis_variable_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tis_variable_str$address() { return H5Tis_variable_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static int H5Tis_variable_str(long type_id)
+ {
+ var mh$ = H5Tis_variable_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tis_variable_str", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_native_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_native_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_native_type$descriptor() { return H5Tget_native_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static MethodHandle H5Tget_native_type$handle() { return H5Tget_native_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static MemorySegment H5Tget_native_type$address() { return H5Tget_native_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static long H5Tget_native_type(long type_id, int direction)
+ {
+ var mh$ = H5Tget_native_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_native_type", type_id, direction);
+ }
+ return (long)mh$.invokeExact(type_id, direction);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_size$descriptor() { return H5Tset_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static MethodHandle H5Tset_size$handle() { return H5Tset_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static MemorySegment H5Tset_size$address() { return H5Tset_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static int H5Tset_size(long type_id, long size)
+ {
+ var mh$ = H5Tset_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_size", type_id, size);
+ }
+ return (int)mh$.invokeExact(type_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_order$descriptor() { return H5Tset_order.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static MethodHandle H5Tset_order$handle() { return H5Tset_order.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static MemorySegment H5Tset_order$address() { return H5Tset_order.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static int H5Tset_order(long type_id, int order)
+ {
+ var mh$ = H5Tset_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_order", type_id, order);
+ }
+ return (int)mh$.invokeExact(type_id, order);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_precision {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_precision");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_precision$descriptor() { return H5Tset_precision.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static MethodHandle H5Tset_precision$handle() { return H5Tset_precision.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static MemorySegment H5Tset_precision$address() { return H5Tset_precision.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static int H5Tset_precision(long type_id, long prec)
+ {
+ var mh$ = H5Tset_precision.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_precision", type_id, prec);
+ }
+ return (int)mh$.invokeExact(type_id, prec);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_offset$descriptor() { return H5Tset_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static MethodHandle H5Tset_offset$handle() { return H5Tset_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static MemorySegment H5Tset_offset$address() { return H5Tset_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static int H5Tset_offset(long type_id, long offset)
+ {
+ var mh$ = H5Tset_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_offset", type_id, offset);
+ }
+ return (int)mh$.invokeExact(type_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_pad {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_pad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_pad$descriptor() { return H5Tset_pad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static MethodHandle H5Tset_pad$handle() { return H5Tset_pad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static MemorySegment H5Tset_pad$address() { return H5Tset_pad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static int H5Tset_pad(long type_id, int lsb, int msb)
+ {
+ var mh$ = H5Tset_pad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_pad", type_id, lsb, msb);
+ }
+ return (int)mh$.invokeExact(type_id, lsb, msb);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_sign {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_sign");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_sign$descriptor() { return H5Tset_sign.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static MethodHandle H5Tset_sign$handle() { return H5Tset_sign.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static MemorySegment H5Tset_sign$address() { return H5Tset_sign.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static int H5Tset_sign(long type_id, int sign)
+ {
+ var mh$ = H5Tset_sign.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_sign", type_id, sign);
+ }
+ return (int)mh$.invokeExact(type_id, sign);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_fields {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_fields");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_fields$descriptor() { return H5Tset_fields.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static MethodHandle H5Tset_fields$handle() { return H5Tset_fields.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static MemorySegment H5Tset_fields$address() { return H5Tset_fields.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static int H5Tset_fields(long type_id, long spos, long epos, long esize, long mpos, long msize)
+ {
+ var mh$ = H5Tset_fields.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_fields", type_id, spos, epos, esize, mpos, msize);
+ }
+ return (int)mh$.invokeExact(type_id, spos, epos, esize, mpos, msize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_ebias {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_ebias");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_ebias$descriptor() { return H5Tset_ebias.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static MethodHandle H5Tset_ebias$handle() { return H5Tset_ebias.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static MemorySegment H5Tset_ebias$address() { return H5Tset_ebias.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static int H5Tset_ebias(long type_id, long ebias)
+ {
+ var mh$ = H5Tset_ebias.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_ebias", type_id, ebias);
+ }
+ return (int)mh$.invokeExact(type_id, ebias);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_norm {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_norm");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_norm$descriptor() { return H5Tset_norm.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static MethodHandle H5Tset_norm$handle() { return H5Tset_norm.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static MemorySegment H5Tset_norm$address() { return H5Tset_norm.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static int H5Tset_norm(long type_id, int norm)
+ {
+ var mh$ = H5Tset_norm.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_norm", type_id, norm);
+ }
+ return (int)mh$.invokeExact(type_id, norm);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_inpad {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_inpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_inpad$descriptor() { return H5Tset_inpad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static MethodHandle H5Tset_inpad$handle() { return H5Tset_inpad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static MemorySegment H5Tset_inpad$address() { return H5Tset_inpad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static int H5Tset_inpad(long type_id, int pad)
+ {
+ var mh$ = H5Tset_inpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_inpad", type_id, pad);
+ }
+ return (int)mh$.invokeExact(type_id, pad);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_cset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_cset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_cset$descriptor() { return H5Tset_cset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static MethodHandle H5Tset_cset$handle() { return H5Tset_cset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static MemorySegment H5Tset_cset$address() { return H5Tset_cset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static int H5Tset_cset(long type_id, int cset)
+ {
+ var mh$ = H5Tset_cset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_cset", type_id, cset);
+ }
+ return (int)mh$.invokeExact(type_id, cset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_strpad {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_strpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_strpad$descriptor() { return H5Tset_strpad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static MethodHandle H5Tset_strpad$handle() { return H5Tset_strpad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static MemorySegment H5Tset_strpad$address() { return H5Tset_strpad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static int H5Tset_strpad(long type_id, int strpad)
+ {
+ var mh$ = H5Tset_strpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_strpad", type_id, strpad);
+ }
+ return (int)mh$.invokeExact(type_id, strpad);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tconvert {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tconvert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t
+ * plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tconvert$descriptor() { return H5Tconvert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t
+ * plist_id)
+ * }
+ */
+ public static MethodHandle H5Tconvert$handle() { return H5Tconvert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t
+ * plist_id)
+ * }
+ */
+ public static MemorySegment H5Tconvert$address() { return H5Tconvert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t
+ * plist_id)
+ * }
+ */
+ public static int H5Tconvert(long src_id, long dst_id, long nelmts, MemorySegment buf,
+ MemorySegment background, long plist_id)
+ {
+ var mh$ = H5Tconvert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tconvert", src_id, dst_id, nelmts, buf, background, plist_id);
+ }
+ return (int)mh$.invokeExact(src_id, dst_id, nelmts, buf, background, plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Treclaim {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Treclaim");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Treclaim$descriptor() { return H5Treclaim.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Treclaim$handle() { return H5Treclaim.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Treclaim$address() { return H5Treclaim.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static int H5Treclaim(long type_id, long space_id, long plist_id, MemorySegment buf)
+ {
+ var mh$ = H5Treclaim.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Treclaim", type_id, space_id, plist_id, buf);
+ }
+ return (int)mh$.invokeExact(type_id, space_id, plist_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tdecode1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tdecode1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Tdecode1$descriptor() { return H5Tdecode1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static MethodHandle H5Tdecode1$handle() { return H5Tdecode1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static MemorySegment H5Tdecode1$address() { return H5Tdecode1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static long H5Tdecode1(MemorySegment buf)
+ {
+ var mh$ = H5Tdecode1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tdecode1", buf);
+ }
+ return (long)mh$.invokeExact(buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit1$descriptor() { return H5Tcommit1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit1$handle() { return H5Tcommit1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit1$address() { return H5Tcommit1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static int H5Tcommit1(long loc_id, MemorySegment name, long type_id)
+ {
+ var mh$ = H5Tcommit1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit1", loc_id, name, type_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Topen1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Topen1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Topen1$descriptor() { return H5Topen1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Topen1$handle() { return H5Topen1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Topen1$address() { return H5Topen1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Topen1(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Topen1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Topen1", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tarray_create1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tarray_create1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static FunctionDescriptor H5Tarray_create1$descriptor() { return H5Tarray_create1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static MethodHandle H5Tarray_create1$handle() { return H5Tarray_create1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static MemorySegment H5Tarray_create1$address() { return H5Tarray_create1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static long H5Tarray_create1(long base_id, int ndims, MemorySegment dim, MemorySegment perm)
+ {
+ var mh$ = H5Tarray_create1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tarray_create1", base_id, ndims, dim, perm);
+ }
+ return (long)mh$.invokeExact(base_id, ndims, dim, perm);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_array_dims1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_array_dims1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static FunctionDescriptor H5Tget_array_dims1$descriptor() { return H5Tget_array_dims1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static MethodHandle H5Tget_array_dims1$handle() { return H5Tget_array_dims1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static MemorySegment H5Tget_array_dims1$address() { return H5Tget_array_dims1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static int H5Tget_array_dims1(long type_id, MemorySegment dims, MemorySegment perm)
+ {
+ var mh$ = H5Tget_array_dims1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_array_dims1", type_id, dims, perm);
+ }
+ return (int)mh$.invokeExact(type_id, dims, perm);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aclose$descriptor() { return H5Aclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aclose$handle() { return H5Aclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aclose$address() { return H5Aclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static int H5Aclose(long attr_id)
+ {
+ var mh$ = H5Aclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aclose", attr_id);
+ }
+ return (int)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aclose_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aclose_async$descriptor() { return H5Aclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aclose_async$handle() { return H5Aclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aclose_async$address() { return H5Aclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Aclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long attr_id, long es_id)
+ {
+ var mh$ = H5Aclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aclose_async", app_file, app_func, app_line, attr_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate2$descriptor() { return H5Acreate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id)
+ * }
+ */
+ public static MethodHandle H5Acreate2$handle() { return H5Acreate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id)
+ * }
+ */
+ public static MemorySegment H5Acreate2$address() { return H5Acreate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id)
+ * }
+ */
+ public static long H5Acreate2(long loc_id, MemorySegment attr_name, long type_id, long space_id,
+ long acpl_id, long aapl_id)
+ {
+ var mh$ = H5Acreate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate2", loc_id, attr_name, type_id, space_id, acpl_id, aapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, attr_name, type_id, space_id, acpl_id, aapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate_async$descriptor() { return H5Acreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Acreate_async$handle() { return H5Acreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Acreate_async$address() { return H5Acreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Acreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment attr_name, long type_id, long space_id,
+ long acpl_id, long aapl_id, long es_id)
+ {
+ var mh$ = H5Acreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate_async", app_file, app_func, app_line, loc_id, attr_name, type_id,
+ space_id, acpl_id, aapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, attr_name, type_id, space_id,
+ acpl_id, aapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t
+ * space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate_by_name$descriptor() { return H5Acreate_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t
+ * space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Acreate_by_name$handle() { return H5Acreate_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t
+ * space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Acreate_by_name$address() { return H5Acreate_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t
+ * space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static long H5Acreate_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long type_id, long space_id, long acpl_id, long aapl_id,
+ long lapl_id)
+ {
+ var mh$ = H5Acreate_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate_by_name", loc_id, obj_name, attr_name, type_id, space_id, acpl_id,
+ aapl_id, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, attr_name, type_id, space_id, acpl_id, aapl_id,
+ lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate_by_name_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate_by_name_async$descriptor()
+ {
+ return H5Acreate_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Acreate_by_name_async$handle() { return H5Acreate_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Acreate_by_name_async$address() { return H5Acreate_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Acreate_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long type_id, long space_id, long acpl_id, long aapl_id,
+ long lapl_id, long es_id)
+ {
+ var mh$ = H5Acreate_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate_by_name_async", app_file, app_func, app_line, loc_id, obj_name,
+ attr_name, type_id, space_id, acpl_id, aapl_id, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, attr_name, type_id,
+ space_id, acpl_id, aapl_id, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Adelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Adelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static FunctionDescriptor H5Adelete$descriptor() { return H5Adelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static MethodHandle H5Adelete$handle() { return H5Adelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static MemorySegment H5Adelete$address() { return H5Adelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static int H5Adelete(long loc_id, MemorySegment attr_name)
+ {
+ var mh$ = H5Adelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Adelete", loc_id, attr_name);
+ }
+ return (int)mh$.invokeExact(loc_id, attr_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Adelete_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Adelete_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Adelete_by_idx$descriptor() { return H5Adelete_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Adelete_by_idx$handle() { return H5Adelete_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Adelete_by_idx$address() { return H5Adelete_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static int H5Adelete_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order, long n,
+ long lapl_id)
+ {
+ var mh$ = H5Adelete_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Adelete_by_idx", loc_id, obj_name, idx_type, order, n, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Adelete_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Adelete_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Adelete_by_name$descriptor() { return H5Adelete_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Adelete_by_name$handle() { return H5Adelete_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Adelete_by_name$address() { return H5Adelete_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Adelete_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long lapl_id)
+ {
+ var mh$ = H5Adelete_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Adelete_by_name", loc_id, obj_name, attr_name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, attr_name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists$descriptor() { return H5Aexists.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static MethodHandle H5Aexists$handle() { return H5Aexists.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static MemorySegment H5Aexists$address() { return H5Aexists.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static int H5Aexists(long obj_id, MemorySegment attr_name)
+ {
+ var mh$ = H5Aexists.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists", obj_id, attr_name);
+ }
+ return (int)mh$.invokeExact(obj_id, attr_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists_async$descriptor() { return H5Aexists_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aexists_async$handle() { return H5Aexists_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aexists_async$address() { return H5Aexists_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static int H5Aexists_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long obj_id, MemorySegment attr_name, MemorySegment exists, long es_id)
+ {
+ var mh$ = H5Aexists_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists_async", app_file, app_func, app_line, obj_id, attr_name, exists,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, obj_id, attr_name, exists, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists_by_name$descriptor() { return H5Aexists_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aexists_by_name$handle() { return H5Aexists_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aexists_by_name$address() { return H5Aexists_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aexists_by_name(long obj_id, MemorySegment obj_name, MemorySegment attr_name,
+ long lapl_id)
+ {
+ var mh$ = H5Aexists_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists_by_name", obj_id, obj_name, attr_name, lapl_id);
+ }
+ return (int)mh$.invokeExact(obj_id, obj_name, attr_name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists_by_name_async$descriptor()
+ {
+ return H5Aexists_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aexists_by_name_async$handle() { return H5Aexists_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aexists_by_name_async$address() { return H5Aexists_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Aexists_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ MemorySegment exists, long lapl_id, long es_id)
+ {
+ var mh$ = H5Aexists_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists_by_name_async", app_file, app_func, app_line, loc_id, obj_name,
+ attr_name, exists, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, attr_name, exists,
+ lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_create_plist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_create_plist$descriptor() { return H5Aget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_create_plist$handle() { return H5Aget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_create_plist$address() { return H5Aget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_create_plist(long attr_id)
+ {
+ var mh$ = H5Aget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_create_plist", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_info$descriptor() { return H5Aget_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static MethodHandle H5Aget_info$handle() { return H5Aget_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static MemorySegment H5Aget_info$address() { return H5Aget_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static int H5Aget_info(long attr_id, MemorySegment ainfo)
+ {
+ var mh$ = H5Aget_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_info", attr_id, ainfo);
+ }
+ return (int)mh$.invokeExact(attr_id, ainfo);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_info_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_info_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_info_by_idx$descriptor() { return H5Aget_info_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aget_info_by_idx$handle() { return H5Aget_info_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aget_info_by_idx$address() { return H5Aget_info_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aget_info_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order, long n,
+ MemorySegment ainfo, long lapl_id)
+ {
+ var mh$ = H5Aget_info_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_info_by_idx", loc_id, obj_name, idx_type, order, n, ainfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, ainfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_info_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_info_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t
+ * *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_info_by_name$descriptor() { return H5Aget_info_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t
+ * *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aget_info_by_name$handle() { return H5Aget_info_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t
+ * *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aget_info_by_name$address() { return H5Aget_info_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t
+ * *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aget_info_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ MemorySegment ainfo, long lapl_id)
+ {
+ var mh$ = H5Aget_info_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_info_by_name", loc_id, obj_name, attr_name, ainfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, attr_name, ainfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_name$descriptor() { return H5Aget_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static MethodHandle H5Aget_name$handle() { return H5Aget_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static MemorySegment H5Aget_name$address() { return H5Aget_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static long H5Aget_name(long attr_id, long buf_size, MemorySegment buf)
+ {
+ var mh$ = H5Aget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_name", attr_id, buf_size, buf);
+ }
+ return (long)mh$.invokeExact(attr_id, buf_size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_name_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_name_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_name_by_idx$descriptor() { return H5Aget_name_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aget_name_by_idx$handle() { return H5Aget_name_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aget_name_by_idx$address() { return H5Aget_name_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static long H5Aget_name_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order,
+ long n, MemorySegment name, long size, long lapl_id)
+ {
+ var mh$ = H5Aget_name_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_name_by_idx", loc_id, obj_name, idx_type, order, n, name, size,
+ lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, name, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_space {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_space$descriptor() { return H5Aget_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_space$handle() { return H5Aget_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_space$address() { return H5Aget_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_space(long attr_id)
+ {
+ var mh$ = H5Aget_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_space", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_storage_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_storage_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_storage_size$descriptor() { return H5Aget_storage_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_storage_size$handle() { return H5Aget_storage_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_storage_size$address() { return H5Aget_storage_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_storage_size(long attr_id)
+ {
+ var mh$ = H5Aget_storage_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_storage_size", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_type$descriptor() { return H5Aget_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_type$handle() { return H5Aget_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_type$address() { return H5Aget_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_type(long attr_id)
+ {
+ var mh$ = H5Aget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_type", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aiterate2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aiterate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Aiterate2$descriptor() { return H5Aiterate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Aiterate2$handle() { return H5Aiterate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Aiterate2$address() { return H5Aiterate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static int H5Aiterate2(long loc_id, int idx_type, int order, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Aiterate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aiterate2", loc_id, idx_type, order, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(loc_id, idx_type, order, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aiterate_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aiterate_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aiterate_by_name$descriptor() { return H5Aiterate_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aiterate_by_name$handle() { return H5Aiterate_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aiterate_by_name$address() { return H5Aiterate_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aiterate_by_name(long loc_id, MemorySegment obj_name, int idx_type, int order,
+ MemorySegment idx, MemorySegment op, MemorySegment op_data,
+ long lapl_id)
+ {
+ var mh$ = H5Aiterate_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aiterate_by_name", loc_id, obj_name, idx_type, order, idx, op, op_data,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, idx, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen$descriptor() { return H5Aopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static MethodHandle H5Aopen$handle() { return H5Aopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static MemorySegment H5Aopen$address() { return H5Aopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static long H5Aopen(long obj_id, MemorySegment attr_name, long aapl_id)
+ {
+ var mh$ = H5Aopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen", obj_id, attr_name, aapl_id);
+ }
+ return (long)mh$.invokeExact(obj_id, attr_name, aapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_async$descriptor() { return H5Aopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_async$handle() { return H5Aopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_async$address() { return H5Aopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Aopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long obj_id, MemorySegment attr_name, long aapl_id, long es_id)
+ {
+ var mh$ = H5Aopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_async", app_file, app_func, app_line, obj_id, attr_name, aapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, obj_id, attr_name, aapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_idx$descriptor() { return H5Aopen_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_idx$handle() { return H5Aopen_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_idx$address() { return H5Aopen_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static long H5Aopen_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order, long n,
+ long aapl_id, long lapl_id)
+ {
+ var mh$ = H5Aopen_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_idx", loc_id, obj_name, idx_type, order, n, aapl_id, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, aapl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_idx_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id,
+ * hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_idx_async$descriptor() { return H5Aopen_by_idx_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id,
+ * hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_idx_async$handle() { return H5Aopen_by_idx_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id,
+ * hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_idx_async$address() { return H5Aopen_by_idx_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id,
+ * hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Aopen_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name, int idx_type, int order,
+ long n, long aapl_id, long lapl_id, long es_id)
+ {
+ var mh$ = H5Aopen_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_idx_async", app_file, app_func, app_line, loc_id, obj_name,
+ idx_type, order, n, aapl_id, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, idx_type, order, n,
+ aapl_id, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t
+ * lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_name$descriptor() { return H5Aopen_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t
+ * lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_name$handle() { return H5Aopen_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t
+ * lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_name$address() { return H5Aopen_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t
+ * lapl_id)
+ * }
+ */
+ public static long H5Aopen_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long aapl_id, long lapl_id)
+ {
+ var mh$ = H5Aopen_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_name", loc_id, obj_name, attr_name, aapl_id, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, attr_name, aapl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_name_async$descriptor() { return H5Aopen_by_name_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_name_async$handle() { return H5Aopen_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_name_async$address() { return H5Aopen_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Aopen_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long aapl_id, long lapl_id, long es_id)
+ {
+ var mh$ = H5Aopen_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_name_async", app_file, app_func, app_line, loc_id, obj_name,
+ attr_name, aapl_id, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, attr_name, aapl_id,
+ lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aread {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Aread$descriptor() { return H5Aread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Aread$handle() { return H5Aread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Aread$address() { return H5Aread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static int H5Aread(long attr_id, long type_id, MemorySegment buf)
+ {
+ var mh$ = H5Aread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aread", attr_id, type_id, buf);
+ }
+ return (int)mh$.invokeExact(attr_id, type_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aread_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aread_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aread_async$descriptor() { return H5Aread_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aread_async$handle() { return H5Aread_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aread_async$address() { return H5Aread_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static int H5Aread_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long attr_id, long dtype_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Aread_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aread_async", app_file, app_func, app_line, attr_id, dtype_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, dtype_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static FunctionDescriptor H5Arename$descriptor() { return H5Arename.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static MethodHandle H5Arename$handle() { return H5Arename.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static MemorySegment H5Arename$address() { return H5Arename.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static int H5Arename(long loc_id, MemorySegment old_name, MemorySegment new_name)
+ {
+ var mh$ = H5Arename.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename", loc_id, old_name, new_name);
+ }
+ return (int)mh$.invokeExact(loc_id, old_name, new_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Arename_async$descriptor() { return H5Arename_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Arename_async$handle() { return H5Arename_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Arename_async$address() { return H5Arename_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static int H5Arename_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment old_name, MemorySegment new_name, long es_id)
+ {
+ var mh$ = H5Arename_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename_async", app_file, app_func, app_line, loc_id, old_name, new_name,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, old_name, new_name, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Arename_by_name_async$descriptor()
+ {
+ return H5Arename_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Arename_by_name_async$handle() { return H5Arename_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Arename_by_name_async$address() { return H5Arename_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Arename_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name,
+ MemorySegment old_attr_name, MemorySegment new_attr_name,
+ long lapl_id, long es_id)
+ {
+ var mh$ = H5Arename_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename_by_name_async", app_file, app_func, app_line, loc_id, obj_name,
+ old_attr_name, new_attr_name, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, old_attr_name,
+ new_attr_name, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Awrite {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Awrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Awrite$descriptor() { return H5Awrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static MethodHandle H5Awrite$handle() { return H5Awrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static MemorySegment H5Awrite$address() { return H5Awrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static int H5Awrite(long attr_id, long type_id, MemorySegment buf)
+ {
+ var mh$ = H5Awrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Awrite", attr_id, type_id, buf);
+ }
+ return (int)mh$.invokeExact(attr_id, type_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Awrite_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Awrite_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Awrite_async$descriptor() { return H5Awrite_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Awrite_async$handle() { return H5Awrite_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Awrite_async$address() { return H5Awrite_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static int H5Awrite_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long attr_id, long type_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Awrite_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Awrite_async", app_file, app_func, app_line, attr_id, type_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, type_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char
+ * *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Arename_by_name$descriptor() { return H5Arename_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char
+ * *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Arename_by_name$handle() { return H5Arename_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char
+ * *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Arename_by_name$address() { return H5Arename_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char
+ * *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Arename_by_name(long loc_id, MemorySegment obj_name, MemorySegment old_attr_name,
+ MemorySegment new_attr_name, long lapl_id)
+ {
+ var mh$ = H5Arename_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename_by_name", loc_id, obj_name, old_attr_name, new_attr_name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, old_attr_name, new_attr_name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate1$descriptor() { return H5Acreate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static MethodHandle H5Acreate1$handle() { return H5Acreate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static MemorySegment H5Acreate1$address() { return H5Acreate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static long H5Acreate1(long loc_id, MemorySegment name, long type_id, long space_id, long acpl_id)
+ {
+ var mh$ = H5Acreate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate1", loc_id, name, type_id, space_id, acpl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, type_id, space_id, acpl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_num_attrs {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_num_attrs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_num_attrs$descriptor() { return H5Aget_num_attrs.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static MethodHandle H5Aget_num_attrs$handle() { return H5Aget_num_attrs.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static MemorySegment H5Aget_num_attrs$address() { return H5Aget_num_attrs.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static int H5Aget_num_attrs(long loc_id)
+ {
+ var mh$ = H5Aget_num_attrs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_num_attrs", loc_id);
+ }
+ return (int)mh$.invokeExact(loc_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aiterate1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aiterate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Aiterate1$descriptor() { return H5Aiterate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Aiterate1$handle() { return H5Aiterate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Aiterate1$address() { return H5Aiterate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static int H5Aiterate1(long loc_id, MemorySegment idx, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Aiterate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aiterate1", loc_id, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(loc_id, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_idx$descriptor() { return H5Aopen_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static MethodHandle H5Aopen_idx$handle() { return H5Aopen_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static MemorySegment H5Aopen_idx$address() { return H5Aopen_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static long H5Aopen_idx(long loc_id, int idx)
+ {
+ var mh$ = H5Aopen_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_idx", loc_id, idx);
+ }
+ return (long)mh$.invokeExact(loc_id, idx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_name$descriptor() { return H5Aopen_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Aopen_name$handle() { return H5Aopen_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Aopen_name$address() { return H5Aopen_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Aopen_name(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Aopen_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_name", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5C_incr__off = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_incr_mode.H5C_incr__off = 0
+ * }
+ */
+ public static int H5C_incr__off() { return H5C_incr__off; }
+ private static final int H5C_incr__threshold = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_incr_mode.H5C_incr__threshold = 1
+ * }
+ */
+ public static int H5C_incr__threshold() { return H5C_incr__threshold; }
+ private static final int H5C_flash_incr__off = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_flash_incr_mode.H5C_flash_incr__off = 0
+ * }
+ */
+ public static int H5C_flash_incr__off() { return H5C_flash_incr__off; }
+ private static final int H5C_flash_incr__add_space = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_flash_incr_mode.H5C_flash_incr__add_space = 1
+ * }
+ */
+ public static int H5C_flash_incr__add_space() { return H5C_flash_incr__add_space; }
+ private static final int H5C_decr__off = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__off = 0
+ * }
+ */
+ public static int H5C_decr__off() { return H5C_decr__off; }
+ private static final int H5C_decr__threshold = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__threshold = 1
+ * }
+ */
+ public static int H5C_decr__threshold() { return H5C_decr__threshold; }
+ private static final int H5C_decr__age_out = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__age_out = 2
+ * }
+ */
+ public static int H5C_decr__age_out() { return H5C_decr__age_out; }
+ private static final int H5C_decr__age_out_with_threshold = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__age_out_with_threshold = 3
+ * }
+ */
+ public static int H5C_decr__age_out_with_threshold() { return H5C_decr__age_out_with_threshold; }
+ private static final int H5D_LAYOUT_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_LAYOUT_ERROR = -1
+ * }
+ */
+ public static int H5D_LAYOUT_ERROR() { return H5D_LAYOUT_ERROR; }
+ private static final int H5D_COMPACT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_COMPACT = 0
+ * }
+ */
+ public static int H5D_COMPACT() { return H5D_COMPACT; }
+ private static final int H5D_CONTIGUOUS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_CONTIGUOUS = 1
+ * }
+ */
+ public static int H5D_CONTIGUOUS() { return H5D_CONTIGUOUS; }
+ private static final int H5D_CHUNKED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_CHUNKED = 2
+ * }
+ */
+ public static int H5D_CHUNKED() { return H5D_CHUNKED; }
+ private static final int H5D_VIRTUAL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_VIRTUAL = 3
+ * }
+ */
+ public static int H5D_VIRTUAL() { return H5D_VIRTUAL; }
+ private static final int H5D_NLAYOUTS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_NLAYOUTS = 4
+ * }
+ */
+ public static int H5D_NLAYOUTS() { return H5D_NLAYOUTS; }
+ private static final int H5D_CHUNK_IDX_BTREE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_BTREE = 0
+ * }
+ */
+ public static int H5D_CHUNK_IDX_BTREE() { return H5D_CHUNK_IDX_BTREE; }
+ private static final int H5D_CHUNK_IDX_SINGLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_SINGLE = 1
+ * }
+ */
+ public static int H5D_CHUNK_IDX_SINGLE() { return H5D_CHUNK_IDX_SINGLE; }
+ private static final int H5D_CHUNK_IDX_NONE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_NONE = 2
+ * }
+ */
+ public static int H5D_CHUNK_IDX_NONE() { return H5D_CHUNK_IDX_NONE; }
+ private static final int H5D_CHUNK_IDX_FARRAY = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_FARRAY = 3
+ * }
+ */
+ public static int H5D_CHUNK_IDX_FARRAY() { return H5D_CHUNK_IDX_FARRAY; }
+ private static final int H5D_CHUNK_IDX_EARRAY = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_EARRAY = 4
+ * }
+ */
+ public static int H5D_CHUNK_IDX_EARRAY() { return H5D_CHUNK_IDX_EARRAY; }
+ private static final int H5D_CHUNK_IDX_BT2 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_BT2 = 5
+ * }
+ */
+ public static int H5D_CHUNK_IDX_BT2() { return H5D_CHUNK_IDX_BT2; }
+ private static final int H5D_CHUNK_IDX_NTYPES = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_NTYPES = 6
+ * }
+ */
+ public static int H5D_CHUNK_IDX_NTYPES() { return H5D_CHUNK_IDX_NTYPES; }
+ private static final int H5D_ALLOC_TIME_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_ERROR = -1
+ * }
+ */
+ public static int H5D_ALLOC_TIME_ERROR() { return H5D_ALLOC_TIME_ERROR; }
+ private static final int H5D_ALLOC_TIME_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_DEFAULT = 0
+ * }
+ */
+ public static int H5D_ALLOC_TIME_DEFAULT() { return H5D_ALLOC_TIME_DEFAULT; }
+ private static final int H5D_ALLOC_TIME_EARLY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_EARLY = 1
+ * }
+ */
+ public static int H5D_ALLOC_TIME_EARLY() { return H5D_ALLOC_TIME_EARLY; }
+ private static final int H5D_ALLOC_TIME_LATE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_LATE = 2
+ * }
+ */
+ public static int H5D_ALLOC_TIME_LATE() { return H5D_ALLOC_TIME_LATE; }
+ private static final int H5D_ALLOC_TIME_INCR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_INCR = 3
+ * }
+ */
+ public static int H5D_ALLOC_TIME_INCR() { return H5D_ALLOC_TIME_INCR; }
+ private static final int H5D_SPACE_STATUS_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_ERROR = -1
+ * }
+ */
+ public static int H5D_SPACE_STATUS_ERROR() { return H5D_SPACE_STATUS_ERROR; }
+ private static final int H5D_SPACE_STATUS_NOT_ALLOCATED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_NOT_ALLOCATED = 0
+ * }
+ */
+ public static int H5D_SPACE_STATUS_NOT_ALLOCATED() { return H5D_SPACE_STATUS_NOT_ALLOCATED; }
+ private static final int H5D_SPACE_STATUS_PART_ALLOCATED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_PART_ALLOCATED = 1
+ * }
+ */
+ public static int H5D_SPACE_STATUS_PART_ALLOCATED() { return H5D_SPACE_STATUS_PART_ALLOCATED; }
+ private static final int H5D_SPACE_STATUS_ALLOCATED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_ALLOCATED = 2
+ * }
+ */
+ public static int H5D_SPACE_STATUS_ALLOCATED() { return H5D_SPACE_STATUS_ALLOCATED; }
+ private static final int H5D_FILL_TIME_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_ERROR = -1
+ * }
+ */
+ public static int H5D_FILL_TIME_ERROR() { return H5D_FILL_TIME_ERROR; }
+ private static final int H5D_FILL_TIME_ALLOC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_ALLOC = 0
+ * }
+ */
+ public static int H5D_FILL_TIME_ALLOC() { return H5D_FILL_TIME_ALLOC; }
+ private static final int H5D_FILL_TIME_NEVER = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_NEVER = 1
+ * }
+ */
+ public static int H5D_FILL_TIME_NEVER() { return H5D_FILL_TIME_NEVER; }
+ private static final int H5D_FILL_TIME_IFSET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_IFSET = 2
+ * }
+ */
+ public static int H5D_FILL_TIME_IFSET() { return H5D_FILL_TIME_IFSET; }
+ private static final int H5D_FILL_VALUE_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_ERROR = -1
+ * }
+ */
+ public static int H5D_FILL_VALUE_ERROR() { return H5D_FILL_VALUE_ERROR; }
+ private static final int H5D_FILL_VALUE_UNDEFINED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_UNDEFINED = 0
+ * }
+ */
+ public static int H5D_FILL_VALUE_UNDEFINED() { return H5D_FILL_VALUE_UNDEFINED; }
+ private static final int H5D_FILL_VALUE_DEFAULT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_DEFAULT = 1
+ * }
+ */
+ public static int H5D_FILL_VALUE_DEFAULT() { return H5D_FILL_VALUE_DEFAULT; }
+ private static final int H5D_FILL_VALUE_USER_DEFINED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_USER_DEFINED = 2
+ * }
+ */
+ public static int H5D_FILL_VALUE_USER_DEFINED() { return H5D_FILL_VALUE_USER_DEFINED; }
+ private static final int H5D_VDS_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_vds_view_t.H5D_VDS_ERROR = -1
+ * }
+ */
+ public static int H5D_VDS_ERROR() { return H5D_VDS_ERROR; }
+ private static final int H5D_VDS_FIRST_MISSING = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_vds_view_t.H5D_VDS_FIRST_MISSING = 0
+ * }
+ */
+ public static int H5D_VDS_FIRST_MISSING() { return H5D_VDS_FIRST_MISSING; }
+ private static final int H5D_VDS_LAST_AVAILABLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_vds_view_t.H5D_VDS_LAST_AVAILABLE = 1
+ * }
+ */
+ public static int H5D_VDS_LAST_AVAILABLE() { return H5D_VDS_LAST_AVAILABLE; }
+
+ private static class H5Dcreate2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate2$descriptor() { return H5Dcreate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate2$handle() { return H5Dcreate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate2$address() { return H5Dcreate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static long H5Dcreate2(long loc_id, MemorySegment name, long type_id, long space_id, long lcpl_id,
+ long dcpl_id, long dapl_id)
+ {
+ var mh$ = H5Dcreate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate2", loc_id, name, type_id, space_id, lcpl_id, dcpl_id, dapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, type_id, space_id, lcpl_id, dcpl_id, dapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dcreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate_async$descriptor() { return H5Dcreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate_async$handle() { return H5Dcreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate_async$address() { return H5Dcreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static long H5Dcreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long type_id, long space_id,
+ long lcpl_id, long dcpl_id, long dapl_id, long es_id)
+ {
+ var mh$ = H5Dcreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate_async", app_file, app_func, app_line, loc_id, name, type_id,
+ space_id, lcpl_id, dcpl_id, dapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, type_id, space_id,
+ lcpl_id, dcpl_id, dapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dcreate_anon {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate_anon");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate_anon$descriptor() { return H5Dcreate_anon.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate_anon$handle() { return H5Dcreate_anon.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate_anon$address() { return H5Dcreate_anon.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static long H5Dcreate_anon(long loc_id, long type_id, long space_id, long dcpl_id, long dapl_id)
+ {
+ var mh$ = H5Dcreate_anon.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate_anon", loc_id, type_id, space_id, dcpl_id, dapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, type_id, space_id, dcpl_id, dapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dopen2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dopen2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dopen2$descriptor() { return H5Dopen2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static MethodHandle H5Dopen2$handle() { return H5Dopen2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static MemorySegment H5Dopen2$address() { return H5Dopen2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static long H5Dopen2(long loc_id, MemorySegment name, long dapl_id)
+ {
+ var mh$ = H5Dopen2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dopen2", loc_id, name, dapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, dapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dopen_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dopen_async$descriptor() { return H5Dopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dopen_async$handle() { return H5Dopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dopen_async$address() { return H5Dopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Dopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long dapl_id, long es_id)
+ {
+ var mh$ = H5Dopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dopen_async", app_file, app_func, app_line, loc_id, name, dapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, dapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_space {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_space$descriptor() { return H5Dget_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_space$handle() { return H5Dget_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_space$address() { return H5Dget_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_space(long dset_id)
+ {
+ var mh$ = H5Dget_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_space", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_space_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_space_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_space_async$descriptor() { return H5Dget_space_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dget_space_async$handle() { return H5Dget_space_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dget_space_async$address() { return H5Dget_space_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static long H5Dget_space_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long es_id)
+ {
+ var mh$ = H5Dget_space_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_space_async", app_file, app_func, app_line, dset_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, dset_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_space_status {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_space_status");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_space_status$descriptor() { return H5Dget_space_status.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static MethodHandle H5Dget_space_status$handle() { return H5Dget_space_status.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static MemorySegment H5Dget_space_status$address() { return H5Dget_space_status.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static int H5Dget_space_status(long dset_id, MemorySegment allocation)
+ {
+ var mh$ = H5Dget_space_status.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_space_status", dset_id, allocation);
+ }
+ return (int)mh$.invokeExact(dset_id, allocation);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_type$descriptor() { return H5Dget_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_type$handle() { return H5Dget_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_type$address() { return H5Dget_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_type(long dset_id)
+ {
+ var mh$ = H5Dget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_type", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_create_plist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_create_plist$descriptor() { return H5Dget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_create_plist$handle() { return H5Dget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_create_plist$address() { return H5Dget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_create_plist(long dset_id)
+ {
+ var mh$ = H5Dget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_create_plist", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_access_plist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_access_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_access_plist$descriptor() { return H5Dget_access_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_access_plist$handle() { return H5Dget_access_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_access_plist$address() { return H5Dget_access_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_access_plist(long dset_id)
+ {
+ var mh$ = H5Dget_access_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_access_plist", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_storage_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_storage_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_storage_size$descriptor() { return H5Dget_storage_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_storage_size$handle() { return H5Dget_storage_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_storage_size$address() { return H5Dget_storage_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_storage_size(long dset_id)
+ {
+ var mh$ = H5Dget_storage_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_storage_size", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_storage_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_storage_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_storage_size$descriptor()
+ {
+ return H5Dget_chunk_storage_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_storage_size$handle() { return H5Dget_chunk_storage_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_storage_size$address() { return H5Dget_chunk_storage_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static int H5Dget_chunk_storage_size(long dset_id, MemorySegment offset, MemorySegment chunk_bytes)
+ {
+ var mh$ = H5Dget_chunk_storage_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_storage_size", dset_id, offset, chunk_bytes);
+ }
+ return (int)mh$.invokeExact(dset_id, offset, chunk_bytes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_num_chunks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_num_chunks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_num_chunks$descriptor() { return H5Dget_num_chunks.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static MethodHandle H5Dget_num_chunks$handle() { return H5Dget_num_chunks.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static MemorySegment H5Dget_num_chunks$address() { return H5Dget_num_chunks.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static int H5Dget_num_chunks(long dset_id, long fspace_id, MemorySegment nchunks)
+ {
+ var mh$ = H5Dget_num_chunks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_num_chunks", dset_id, fspace_id, nchunks);
+ }
+ return (int)mh$.invokeExact(dset_id, fspace_id, nchunks);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_info_by_coord {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_info_by_coord");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_info_by_coord$descriptor()
+ {
+ return H5Dget_chunk_info_by_coord.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_info_by_coord$handle()
+ {
+ return H5Dget_chunk_info_by_coord.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_info_by_coord$address()
+ {
+ return H5Dget_chunk_info_by_coord.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static int H5Dget_chunk_info_by_coord(long dset_id, MemorySegment offset,
+ MemorySegment filter_mask, MemorySegment addr,
+ MemorySegment size)
+ {
+ var mh$ = H5Dget_chunk_info_by_coord.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_info_by_coord", dset_id, offset, filter_mask, addr, size);
+ }
+ return (int)mh$.invokeExact(dset_id, offset, filter_mask, addr, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dchunk_iter {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dchunk_iter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Dchunk_iter$descriptor() { return H5Dchunk_iter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Dchunk_iter$handle() { return H5Dchunk_iter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Dchunk_iter$address() { return H5Dchunk_iter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static int H5Dchunk_iter(long dset_id, long dxpl_id, MemorySegment cb, MemorySegment op_data)
+ {
+ var mh$ = H5Dchunk_iter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dchunk_iter", dset_id, dxpl_id, cb, op_data);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, cb, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_info$descriptor() { return H5Dget_chunk_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_info$handle() { return H5Dget_chunk_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_info$address() { return H5Dget_chunk_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static int H5Dget_chunk_info(long dset_id, long fspace_id, long chk_idx, MemorySegment offset,
+ MemorySegment filter_mask, MemorySegment addr, MemorySegment size)
+ {
+ var mh$ = H5Dget_chunk_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_info", dset_id, fspace_id, chk_idx, offset, filter_mask, addr,
+ size);
+ }
+ return (int)mh$.invokeExact(dset_id, fspace_id, chk_idx, offset, filter_mask, addr, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_offset {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_offset$descriptor() { return H5Dget_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_offset$handle() { return H5Dget_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_offset$address() { return H5Dget_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_offset(long dset_id)
+ {
+ var mh$ = H5Dget_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_offset", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dread$descriptor() { return H5Dread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Dread$handle() { return H5Dread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Dread$address() { return H5Dread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static int H5Dread(long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf)
+ {
+ var mh$ = H5Dread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread", dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Dread_multi$descriptor() { return H5Dread_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static MethodHandle H5Dread_multi$handle() { return H5Dread_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static MemorySegment H5Dread_multi$address() { return H5Dread_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static int H5Dread_multi(long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id, long dxpl_id,
+ MemorySegment buf)
+ {
+ var mh$ = H5Dread_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_multi", count, dset_id, mem_type_id, mem_space_id, file_space_id,
+ dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(count, dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id,
+ buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_async$descriptor() { return H5Dread_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dread_async$handle() { return H5Dread_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dread_async$address() { return H5Dread_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static int H5Dread_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dread_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_async", app_file, app_func, app_line, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, mem_type_id, mem_space_id,
+ file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_multi_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_multi_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_multi_async$descriptor() { return H5Dread_multi_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dread_multi_async$handle() { return H5Dread_multi_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dread_multi_async$address() { return H5Dread_multi_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static int H5Dread_multi_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dread_multi_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_multi_async", app_file, app_func, app_line, count, dset_id,
+ mem_type_id, mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, count, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite$descriptor() { return H5Dwrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static MethodHandle H5Dwrite$handle() { return H5Dwrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static MemorySegment H5Dwrite$address() { return H5Dwrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static int H5Dwrite(long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf)
+ {
+ var mh$ = H5Dwrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite", dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_multi$descriptor() { return H5Dwrite_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static MethodHandle H5Dwrite_multi$handle() { return H5Dwrite_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static MemorySegment H5Dwrite_multi$address() { return H5Dwrite_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static int H5Dwrite_multi(long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id, long dxpl_id,
+ MemorySegment buf)
+ {
+ var mh$ = H5Dwrite_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_multi", count, dset_id, mem_type_id, mem_space_id, file_space_id,
+ dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(count, dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id,
+ buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_async$descriptor() { return H5Dwrite_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static MethodHandle H5Dwrite_async$handle() { return H5Dwrite_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static MemorySegment H5Dwrite_async$address() { return H5Dwrite_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static int H5Dwrite_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dwrite_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_async", app_file, app_func, app_line, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, mem_type_id, mem_space_id,
+ file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_multi_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_multi_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_multi_async$descriptor() { return H5Dwrite_multi_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dwrite_multi_async$handle() { return H5Dwrite_multi_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dwrite_multi_async$address() { return H5Dwrite_multi_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static int H5Dwrite_multi_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dwrite_multi_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_multi_async", app_file, app_func, app_line, count, dset_id,
+ mem_type_id, mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, count, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_chunk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_chunk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_chunk$descriptor() { return H5Dwrite_chunk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static MethodHandle H5Dwrite_chunk$handle() { return H5Dwrite_chunk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static MemorySegment H5Dwrite_chunk$address() { return H5Dwrite_chunk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static int H5Dwrite_chunk(long dset_id, long dxpl_id, int filters, MemorySegment offset,
+ long data_size, MemorySegment buf)
+ {
+ var mh$ = H5Dwrite_chunk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_chunk", dset_id, dxpl_id, filters, offset, data_size, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, filters, offset, data_size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_chunk2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_chunk2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_chunk2$descriptor() { return H5Dread_chunk2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static MethodHandle H5Dread_chunk2$handle() { return H5Dread_chunk2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static MemorySegment H5Dread_chunk2$address() { return H5Dread_chunk2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static int H5Dread_chunk2(long dset_id, long dxpl_id, MemorySegment offset, MemorySegment filters,
+ MemorySegment buf, MemorySegment buf_size)
+ {
+ var mh$ = H5Dread_chunk2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_chunk2", dset_id, dxpl_id, offset, filters, buf, buf_size);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, offset, filters, buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Diterate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Diterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static FunctionDescriptor H5Diterate$descriptor() { return H5Diterate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static MethodHandle H5Diterate$handle() { return H5Diterate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static MemorySegment H5Diterate$address() { return H5Diterate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static int H5Diterate(MemorySegment buf, long type_id, long space_id, MemorySegment op,
+ MemorySegment operator_data)
+ {
+ var mh$ = H5Diterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Diterate", buf, type_id, space_id, op, operator_data);
+ }
+ return (int)mh$.invokeExact(buf, type_id, space_id, op, operator_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dvlen_get_buf_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dvlen_get_buf_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Dvlen_get_buf_size$descriptor() { return H5Dvlen_get_buf_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Dvlen_get_buf_size$handle() { return H5Dvlen_get_buf_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Dvlen_get_buf_size$address() { return H5Dvlen_get_buf_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static int H5Dvlen_get_buf_size(long dset_id, long type_id, long space_id, MemorySegment size)
+ {
+ var mh$ = H5Dvlen_get_buf_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dvlen_get_buf_size", dset_id, type_id, space_id, size);
+ }
+ return (int)mh$.invokeExact(dset_id, type_id, space_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dfill {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dfill");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dfill$descriptor() { return H5Dfill.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Dfill$handle() { return H5Dfill.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Dfill$address() { return H5Dfill.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static int H5Dfill(MemorySegment fill, long fill_type_id, MemorySegment buf, long buf_type_id,
+ long space_id)
+ {
+ var mh$ = H5Dfill.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dfill", fill, fill_type_id, buf, buf_type_id, space_id);
+ }
+ return (int)mh$.invokeExact(fill, fill_type_id, buf, buf_type_id, space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dset_extent {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dset_extent");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static FunctionDescriptor H5Dset_extent$descriptor() { return H5Dset_extent.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MethodHandle H5Dset_extent$handle() { return H5Dset_extent.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MemorySegment H5Dset_extent$address() { return H5Dset_extent.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static int H5Dset_extent(long dset_id, MemorySegment size)
+ {
+ var mh$ = H5Dset_extent.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dset_extent", dset_id, size);
+ }
+ return (int)mh$.invokeExact(dset_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dset_extent_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dset_extent_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dset_extent_async$descriptor() { return H5Dset_extent_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dset_extent_async$handle() { return H5Dset_extent_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dset_extent_async$address() { return H5Dset_extent_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static int H5Dset_extent_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, MemorySegment size, long es_id)
+ {
+ var mh$ = H5Dset_extent_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dset_extent_async", app_file, app_func, app_line, dset_id, size, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, size, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dflush$descriptor() { return H5Dflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dflush$handle() { return H5Dflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dflush$address() { return H5Dflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static int H5Dflush(long dset_id)
+ {
+ var mh$ = H5Dflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dflush", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Drefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Drefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Drefresh$descriptor() { return H5Drefresh.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Drefresh$handle() { return H5Drefresh.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Drefresh$address() { return H5Drefresh.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static int H5Drefresh(long dset_id)
+ {
+ var mh$ = H5Drefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Drefresh", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dscatter {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dscatter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dscatter$descriptor() { return H5Dscatter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static MethodHandle H5Dscatter$handle() { return H5Dscatter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static MemorySegment H5Dscatter$address() { return H5Dscatter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static int H5Dscatter(MemorySegment op, MemorySegment op_data, long type_id, long dst_space_id,
+ MemorySegment dst_buf)
+ {
+ var mh$ = H5Dscatter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dscatter", op, op_data, type_id, dst_space_id, dst_buf);
+ }
+ return (int)mh$.invokeExact(op, op_data, type_id, dst_space_id, dst_buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dgather {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dgather");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Dgather$descriptor() { return H5Dgather.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Dgather$handle() { return H5Dgather.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Dgather$address() { return H5Dgather.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static int H5Dgather(long src_space_id, MemorySegment src_buf, long type_id, long dst_buf_size,
+ MemorySegment dst_buf, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Dgather.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dgather", src_space_id, src_buf, type_id, dst_buf_size, dst_buf, op,
+ op_data);
+ }
+ return (int)mh$.invokeExact(src_space_id, src_buf, type_id, dst_buf_size, dst_buf, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dclose$descriptor() { return H5Dclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dclose$handle() { return H5Dclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dclose$address() { return H5Dclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static int H5Dclose(long dset_id)
+ {
+ var mh$ = H5Dclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dclose", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dclose_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dclose_async$descriptor() { return H5Dclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dclose_async$handle() { return H5Dclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dclose_async$address() { return H5Dclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Dclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long es_id)
+ {
+ var mh$ = H5Dclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dclose_async", app_file, app_func, app_line, dset_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ddebug {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ddebug");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ddebug$descriptor() { return H5Ddebug.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Ddebug$handle() { return H5Ddebug.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Ddebug$address() { return H5Ddebug.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static int H5Ddebug(long dset_id)
+ {
+ var mh$ = H5Ddebug.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ddebug", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dformat_convert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dformat_convert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dformat_convert$descriptor() { return H5Dformat_convert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dformat_convert$handle() { return H5Dformat_convert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dformat_convert$address() { return H5Dformat_convert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static int H5Dformat_convert(long dset_id)
+ {
+ var mh$ = H5Dformat_convert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dformat_convert", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_index_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_index_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_index_type$descriptor()
+ {
+ return H5Dget_chunk_index_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_index_type$handle() { return H5Dget_chunk_index_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_index_type$address() { return H5Dget_chunk_index_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static int H5Dget_chunk_index_type(long did, MemorySegment idx_type)
+ {
+ var mh$ = H5Dget_chunk_index_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_index_type", did, idx_type);
+ }
+ return (int)mh$.invokeExact(did, idx_type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dcreate1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate1$descriptor() { return H5Dcreate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate1$handle() { return H5Dcreate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate1$address() { return H5Dcreate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static long H5Dcreate1(long loc_id, MemorySegment name, long type_id, long space_id, long dcpl_id)
+ {
+ var mh$ = H5Dcreate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate1", loc_id, name, type_id, space_id, dcpl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, type_id, space_id, dcpl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dopen1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dopen1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Dopen1$descriptor() { return H5Dopen1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Dopen1$handle() { return H5Dopen1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Dopen1$address() { return H5Dopen1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Dopen1(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Dopen1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dopen1", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dextend {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dextend");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static FunctionDescriptor H5Dextend$descriptor() { return H5Dextend.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MethodHandle H5Dextend$handle() { return H5Dextend.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MemorySegment H5Dextend$address() { return H5Dextend.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static int H5Dextend(long dset_id, MemorySegment size)
+ {
+ var mh$ = H5Dextend.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dextend", dset_id, size);
+ }
+ return (int)mh$.invokeExact(dset_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dvlen_reclaim {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dvlen_reclaim");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dvlen_reclaim$descriptor() { return H5Dvlen_reclaim.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Dvlen_reclaim$handle() { return H5Dvlen_reclaim.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Dvlen_reclaim$address() { return H5Dvlen_reclaim.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static int H5Dvlen_reclaim(long type_id, long space_id, long dxpl_id, MemorySegment buf)
+ {
+ var mh$ = H5Dvlen_reclaim.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dvlen_reclaim", type_id, space_id, dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(type_id, space_id, dxpl_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_chunk1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_chunk1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_chunk1$descriptor() { return H5Dread_chunk1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static MethodHandle H5Dread_chunk1$handle() { return H5Dread_chunk1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static MemorySegment H5Dread_chunk1$address() { return H5Dread_chunk1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static int H5Dread_chunk1(long dset_id, long dxpl_id, MemorySegment offset, MemorySegment filters,
+ MemorySegment buf)
+ {
+ var mh$ = H5Dread_chunk1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_chunk1", dset_id, dxpl_id, offset, filters, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, offset, filters, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class stdin$constants {
+ public static final AddressLayout LAYOUT = hdf5_h.C_POINTER;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("stdin").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern FILE *stdin
+ * }
+ */
+ public static AddressLayout stdin$layout() { return stdin$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern FILE *stdin
+ * }
+ */
+ public static MemorySegment stdin$segment() { return stdin$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern FILE *stdin
+ * }
+ */
+ public static MemorySegment stdin() { return stdin$constants.SEGMENT.get(stdin$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern FILE *stdin
+ * }
+ */
+ public static void stdin(MemorySegment varValue)
+ {
+ stdin$constants.SEGMENT.set(stdin$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class stdout$constants {
+ public static final AddressLayout LAYOUT = hdf5_h.C_POINTER;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("stdout").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern FILE *stdout
+ * }
+ */
+ public static AddressLayout stdout$layout() { return stdout$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern FILE *stdout
+ * }
+ */
+ public static MemorySegment stdout$segment() { return stdout$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern FILE *stdout
+ * }
+ */
+ public static MemorySegment stdout() { return stdout$constants.SEGMENT.get(stdout$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern FILE *stdout
+ * }
+ */
+ public static void stdout(MemorySegment varValue)
+ {
+ stdout$constants.SEGMENT.set(stdout$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class stderr$constants {
+ public static final AddressLayout LAYOUT = hdf5_h.C_POINTER;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("stderr").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern FILE *stderr
+ * }
+ */
+ public static AddressLayout stderr$layout() { return stderr$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern FILE *stderr
+ * }
+ */
+ public static MemorySegment stderr$segment() { return stderr$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern FILE *stderr
+ * }
+ */
+ public static MemorySegment stderr() { return stderr$constants.SEGMENT.get(stderr$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern FILE *stderr
+ * }
+ */
+ public static void stderr(MemorySegment varValue)
+ {
+ stderr$constants.SEGMENT.set(stderr$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class remove {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("remove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int remove(const char *__filename)
+ * }
+ */
+ public static FunctionDescriptor remove$descriptor() { return remove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int remove(const char *__filename)
+ * }
+ */
+ public static MethodHandle remove$handle() { return remove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int remove(const char *__filename)
+ * }
+ */
+ public static MemorySegment remove$address() { return remove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int remove(const char *__filename)
+ * }
+ */
+ public static int remove(MemorySegment __filename)
+ {
+ var mh$ = remove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("remove", __filename);
+ }
+ return (int)mh$.invokeExact(__filename);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class rename {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("rename");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int rename(const char *__old, const char *__new)
+ * }
+ */
+ public static FunctionDescriptor rename$descriptor() { return rename.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int rename(const char *__old, const char *__new)
+ * }
+ */
+ public static MethodHandle rename$handle() { return rename.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int rename(const char *__old, const char *__new)
+ * }
+ */
+ public static MemorySegment rename$address() { return rename.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int rename(const char *__old, const char *__new)
+ * }
+ */
+ public static int rename(MemorySegment __old, MemorySegment __new)
+ {
+ var mh$ = rename.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("rename", __old, __new);
+ }
+ return (int)mh$.invokeExact(__old, __new);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class renameat {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("renameat");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int renameat(int __oldfd, const char *__old, int __newfd, const char *__new)
+ * }
+ */
+ public static FunctionDescriptor renameat$descriptor() { return renameat.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int renameat(int __oldfd, const char *__old, int __newfd, const char *__new)
+ * }
+ */
+ public static MethodHandle renameat$handle() { return renameat.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int renameat(int __oldfd, const char *__old, int __newfd, const char *__new)
+ * }
+ */
+ public static MemorySegment renameat$address() { return renameat.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int renameat(int __oldfd, const char *__old, int __newfd, const char *__new)
+ * }
+ */
+ public static int renameat(int __oldfd, MemorySegment __old, int __newfd, MemorySegment __new)
+ {
+ var mh$ = renameat.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("renameat", __oldfd, __old, __newfd, __new);
+ }
+ return (int)mh$.invokeExact(__oldfd, __old, __newfd, __new);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fclose(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor fclose$descriptor() { return fclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fclose(FILE *__stream)
+ * }
+ */
+ public static MethodHandle fclose$handle() { return fclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fclose(FILE *__stream)
+ * }
+ */
+ public static MemorySegment fclose$address() { return fclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fclose(FILE *__stream)
+ * }
+ */
+ public static int fclose(MemorySegment __stream)
+ {
+ var mh$ = fclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fclose", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tmpfile {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tmpfile");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern FILE *tmpfile()
+ * }
+ */
+ public static FunctionDescriptor tmpfile$descriptor() { return tmpfile.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern FILE *tmpfile()
+ * }
+ */
+ public static MethodHandle tmpfile$handle() { return tmpfile.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern FILE *tmpfile()
+ * }
+ */
+ public static MemorySegment tmpfile$address() { return tmpfile.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern FILE *tmpfile()
+ * }
+ */
+ public static MemorySegment tmpfile()
+ {
+ var mh$ = tmpfile.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tmpfile");
+ }
+ return (MemorySegment)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tmpnam {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tmpnam");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern char *tmpnam(char [20])
+ * }
+ */
+ public static FunctionDescriptor tmpnam$descriptor() { return tmpnam.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern char *tmpnam(char [20])
+ * }
+ */
+ public static MethodHandle tmpnam$handle() { return tmpnam.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern char *tmpnam(char [20])
+ * }
+ */
+ public static MemorySegment tmpnam$address() { return tmpnam.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern char *tmpnam(char [20])
+ * }
+ */
+ public static MemorySegment tmpnam(MemorySegment x0)
+ {
+ var mh$ = tmpnam.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tmpnam", x0);
+ }
+ return (MemorySegment)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tmpnam_r {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tmpnam_r");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern char *tmpnam_r(char __s[20])
+ * }
+ */
+ public static FunctionDescriptor tmpnam_r$descriptor() { return tmpnam_r.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern char *tmpnam_r(char __s[20])
+ * }
+ */
+ public static MethodHandle tmpnam_r$handle() { return tmpnam_r.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern char *tmpnam_r(char __s[20])
+ * }
+ */
+ public static MemorySegment tmpnam_r$address() { return tmpnam_r.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern char *tmpnam_r(char __s[20])
+ * }
+ */
+ public static MemorySegment tmpnam_r(MemorySegment __s)
+ {
+ var mh$ = tmpnam_r.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tmpnam_r", __s);
+ }
+ return (MemorySegment)mh$.invokeExact(__s);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tempnam {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tempnam");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern char *tempnam(const char *__dir, const char *__pfx)
+ * }
+ */
+ public static FunctionDescriptor tempnam$descriptor() { return tempnam.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern char *tempnam(const char *__dir, const char *__pfx)
+ * }
+ */
+ public static MethodHandle tempnam$handle() { return tempnam.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern char *tempnam(const char *__dir, const char *__pfx)
+ * }
+ */
+ public static MemorySegment tempnam$address() { return tempnam.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern char *tempnam(const char *__dir, const char *__pfx)
+ * }
+ */
+ public static MemorySegment tempnam(MemorySegment __dir, MemorySegment __pfx)
+ {
+ var mh$ = tempnam.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tempnam", __dir, __pfx);
+ }
+ return (MemorySegment)mh$.invokeExact(__dir, __pfx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fflush(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor fflush$descriptor() { return fflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fflush(FILE *__stream)
+ * }
+ */
+ public static MethodHandle fflush$handle() { return fflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fflush(FILE *__stream)
+ * }
+ */
+ public static MemorySegment fflush$address() { return fflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fflush(FILE *__stream)
+ * }
+ */
+ public static int fflush(MemorySegment __stream)
+ {
+ var mh$ = fflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fflush", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fflush_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fflush_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fflush_unlocked(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor fflush_unlocked$descriptor() { return fflush_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fflush_unlocked(FILE *__stream)
+ * }
+ */
+ public static MethodHandle fflush_unlocked$handle() { return fflush_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fflush_unlocked(FILE *__stream)
+ * }
+ */
+ public static MemorySegment fflush_unlocked$address() { return fflush_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fflush_unlocked(FILE *__stream)
+ * }
+ */
+ public static int fflush_unlocked(MemorySegment __stream)
+ {
+ var mh$ = fflush_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fflush_unlocked", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern FILE *fopen(const char *restrict __filename, const char *restrict __modes)
+ * }
+ */
+ public static FunctionDescriptor fopen$descriptor() { return fopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern FILE *fopen(const char *restrict __filename, const char *restrict __modes)
+ * }
+ */
+ public static MethodHandle fopen$handle() { return fopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern FILE *fopen(const char *restrict __filename, const char *restrict __modes)
+ * }
+ */
+ public static MemorySegment fopen$address() { return fopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern FILE *fopen(const char *restrict __filename, const char *restrict __modes)
+ * }
+ */
+ public static MemorySegment fopen(MemorySegment __filename, MemorySegment __modes)
+ {
+ var mh$ = fopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fopen", __filename, __modes);
+ }
+ return (MemorySegment)mh$.invokeExact(__filename, __modes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class freopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("freopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern FILE *freopen(const char *restrict __filename, const char *restrict __modes, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static FunctionDescriptor freopen$descriptor() { return freopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern FILE *freopen(const char *restrict __filename, const char *restrict __modes, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static MethodHandle freopen$handle() { return freopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern FILE *freopen(const char *restrict __filename, const char *restrict __modes, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static MemorySegment freopen$address() { return freopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern FILE *freopen(const char *restrict __filename, const char *restrict __modes, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static MemorySegment freopen(MemorySegment __filename, MemorySegment __modes,
+ MemorySegment __stream)
+ {
+ var mh$ = freopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("freopen", __filename, __modes, __stream);
+ }
+ return (MemorySegment)mh$.invokeExact(__filename, __modes, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fdopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fdopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern FILE *fdopen(int __fd, const char *__modes)
+ * }
+ */
+ public static FunctionDescriptor fdopen$descriptor() { return fdopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern FILE *fdopen(int __fd, const char *__modes)
+ * }
+ */
+ public static MethodHandle fdopen$handle() { return fdopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern FILE *fdopen(int __fd, const char *__modes)
+ * }
+ */
+ public static MemorySegment fdopen$address() { return fdopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern FILE *fdopen(int __fd, const char *__modes)
+ * }
+ */
+ public static MemorySegment fdopen(int __fd, MemorySegment __modes)
+ {
+ var mh$ = fdopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fdopen", __fd, __modes);
+ }
+ return (MemorySegment)mh$.invokeExact(__fd, __modes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fopencookie {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, _IO_cookie_io_functions_t.layout());
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fopencookie");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern FILE *fopencookie(void *restrict __magic_cookie, const char *restrict __modes,
+ * cookie_io_functions_t __io_funcs)
+ * }
+ */
+ public static FunctionDescriptor fopencookie$descriptor() { return fopencookie.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern FILE *fopencookie(void *restrict __magic_cookie, const char *restrict __modes,
+ * cookie_io_functions_t __io_funcs)
+ * }
+ */
+ public static MethodHandle fopencookie$handle() { return fopencookie.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern FILE *fopencookie(void *restrict __magic_cookie, const char *restrict __modes,
+ * cookie_io_functions_t __io_funcs)
+ * }
+ */
+ public static MemorySegment fopencookie$address() { return fopencookie.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern FILE *fopencookie(void *restrict __magic_cookie, const char *restrict __modes,
+ * cookie_io_functions_t __io_funcs)
+ * }
+ */
+ public static MemorySegment fopencookie(MemorySegment __magic_cookie, MemorySegment __modes,
+ MemorySegment __io_funcs)
+ {
+ var mh$ = fopencookie.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fopencookie", __magic_cookie, __modes, __io_funcs);
+ }
+ return (MemorySegment)mh$.invokeExact(__magic_cookie, __modes, __io_funcs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fmemopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fmemopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern FILE *fmemopen(void *__s, size_t __len, const char *__modes)
+ * }
+ */
+ public static FunctionDescriptor fmemopen$descriptor() { return fmemopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern FILE *fmemopen(void *__s, size_t __len, const char *__modes)
+ * }
+ */
+ public static MethodHandle fmemopen$handle() { return fmemopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern FILE *fmemopen(void *__s, size_t __len, const char *__modes)
+ * }
+ */
+ public static MemorySegment fmemopen$address() { return fmemopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern FILE *fmemopen(void *__s, size_t __len, const char *__modes)
+ * }
+ */
+ public static MemorySegment fmemopen(MemorySegment __s, long __len, MemorySegment __modes)
+ {
+ var mh$ = fmemopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fmemopen", __s, __len, __modes);
+ }
+ return (MemorySegment)mh$.invokeExact(__s, __len, __modes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class open_memstream {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("open_memstream");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern FILE *open_memstream(char **__bufloc, size_t *__sizeloc)
+ * }
+ */
+ public static FunctionDescriptor open_memstream$descriptor() { return open_memstream.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern FILE *open_memstream(char **__bufloc, size_t *__sizeloc)
+ * }
+ */
+ public static MethodHandle open_memstream$handle() { return open_memstream.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern FILE *open_memstream(char **__bufloc, size_t *__sizeloc)
+ * }
+ */
+ public static MemorySegment open_memstream$address() { return open_memstream.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern FILE *open_memstream(char **__bufloc, size_t *__sizeloc)
+ * }
+ */
+ public static MemorySegment open_memstream(MemorySegment __bufloc, MemorySegment __sizeloc)
+ {
+ var mh$ = open_memstream.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("open_memstream", __bufloc, __sizeloc);
+ }
+ return (MemorySegment)mh$.invokeExact(__bufloc, __sizeloc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class setbuf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.ofVoid(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setbuf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern void setbuf(FILE *restrict __stream, char *restrict __buf)
+ * }
+ */
+ public static FunctionDescriptor setbuf$descriptor() { return setbuf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern void setbuf(FILE *restrict __stream, char *restrict __buf)
+ * }
+ */
+ public static MethodHandle setbuf$handle() { return setbuf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern void setbuf(FILE *restrict __stream, char *restrict __buf)
+ * }
+ */
+ public static MemorySegment setbuf$address() { return setbuf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern void setbuf(FILE *restrict __stream, char *restrict __buf)
+ * }
+ */
+ public static void setbuf(MemorySegment __stream, MemorySegment __buf)
+ {
+ var mh$ = setbuf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setbuf", __stream, __buf);
+ }
+ mh$.invokeExact(__stream, __buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class setvbuf {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setvbuf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int setvbuf(FILE *restrict __stream, char *restrict __buf, int __modes, size_t __n)
+ * }
+ */
+ public static FunctionDescriptor setvbuf$descriptor() { return setvbuf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int setvbuf(FILE *restrict __stream, char *restrict __buf, int __modes, size_t __n)
+ * }
+ */
+ public static MethodHandle setvbuf$handle() { return setvbuf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int setvbuf(FILE *restrict __stream, char *restrict __buf, int __modes, size_t __n)
+ * }
+ */
+ public static MemorySegment setvbuf$address() { return setvbuf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int setvbuf(FILE *restrict __stream, char *restrict __buf, int __modes, size_t __n)
+ * }
+ */
+ public static int setvbuf(MemorySegment __stream, MemorySegment __buf, int __modes, long __n)
+ {
+ var mh$ = setvbuf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setvbuf", __stream, __buf, __modes, __n);
+ }
+ return (int)mh$.invokeExact(__stream, __buf, __modes, __n);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class setbuffer {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.ofVoid(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setbuffer");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern void setbuffer(FILE *restrict __stream, char *restrict __buf, size_t __size)
+ * }
+ */
+ public static FunctionDescriptor setbuffer$descriptor() { return setbuffer.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern void setbuffer(FILE *restrict __stream, char *restrict __buf, size_t __size)
+ * }
+ */
+ public static MethodHandle setbuffer$handle() { return setbuffer.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern void setbuffer(FILE *restrict __stream, char *restrict __buf, size_t __size)
+ * }
+ */
+ public static MemorySegment setbuffer$address() { return setbuffer.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern void setbuffer(FILE *restrict __stream, char *restrict __buf, size_t __size)
+ * }
+ */
+ public static void setbuffer(MemorySegment __stream, MemorySegment __buf, long __size)
+ {
+ var mh$ = setbuffer.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setbuffer", __stream, __buf, __size);
+ }
+ mh$.invokeExact(__stream, __buf, __size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class setlinebuf {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setlinebuf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern void setlinebuf(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor setlinebuf$descriptor() { return setlinebuf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern void setlinebuf(FILE *__stream)
+ * }
+ */
+ public static MethodHandle setlinebuf$handle() { return setlinebuf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern void setlinebuf(FILE *__stream)
+ * }
+ */
+ public static MemorySegment setlinebuf$address() { return setlinebuf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern void setlinebuf(FILE *__stream)
+ * }
+ */
+ public static void setlinebuf(MemorySegment __stream)
+ {
+ var mh$ = setlinebuf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setlinebuf", __stream);
+ }
+ mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int fprintf(FILE *restrict __stream, const char *restrict __format, ...)
+ * }
+ */
+ public static class fprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("fprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private fprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int fprintf(FILE *restrict __stream, const char *restrict __format, ...)
+ * }
+ */
+ public static fprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new fprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __stream, MemorySegment __format, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fprintf", __stream, __format, x2);
+ }
+ return (int)spreader.invokeExact(__stream, __format, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int printf(const char *restrict __format, ...)
+ * }
+ */
+ public static class printf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("printf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private printf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int printf(const char *restrict __format, ...)
+ * }
+ */
+ public static printf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new printf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __format, Object... x1)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("printf", __format, x1);
+ }
+ return (int)spreader.invokeExact(__format, x1);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int sprintf(char *restrict __s, const char *restrict __format, ...)
+ * }
+ */
+ public static class sprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("sprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private sprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int sprintf(char *restrict __s, const char *restrict __format, ...)
+ * }
+ */
+ public static sprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new sprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __s, MemorySegment __format, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("sprintf", __s, __format, x2);
+ }
+ return (int)spreader.invokeExact(__s, __format, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class vfprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vfprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int vfprintf(FILE *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static FunctionDescriptor vfprintf$descriptor() { return vfprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int vfprintf(FILE *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MethodHandle vfprintf$handle() { return vfprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int vfprintf(FILE *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MemorySegment vfprintf$address() { return vfprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int vfprintf(FILE *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static int vfprintf(MemorySegment __s, MemorySegment __format, MemorySegment __arg)
+ {
+ var mh$ = vfprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vfprintf", __s, __format, __arg);
+ }
+ return (int)mh$.invokeExact(__s, __format, __arg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int vprintf(const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static FunctionDescriptor vprintf$descriptor() { return vprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int vprintf(const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MethodHandle vprintf$handle() { return vprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int vprintf(const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MemorySegment vprintf$address() { return vprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int vprintf(const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static int vprintf(MemorySegment __format, MemorySegment __arg)
+ {
+ var mh$ = vprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vprintf", __format, __arg);
+ }
+ return (int)mh$.invokeExact(__format, __arg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vsprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vsprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int vsprintf(char *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static FunctionDescriptor vsprintf$descriptor() { return vsprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int vsprintf(char *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MethodHandle vsprintf$handle() { return vsprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int vsprintf(char *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MemorySegment vsprintf$address() { return vsprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int vsprintf(char *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static int vsprintf(MemorySegment __s, MemorySegment __format, MemorySegment __arg)
+ {
+ var mh$ = vsprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vsprintf", __s, __format, __arg);
+ }
+ return (int)mh$.invokeExact(__s, __format, __arg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int snprintf(char *restrict __s, size_t __maxlen, const char *restrict __format, ...)
+ * }
+ */
+ public static class snprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("snprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private snprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int snprintf(char *restrict __s, size_t __maxlen, const char *restrict __format, ...)
+ * }
+ */
+ public static snprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new snprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __s, long __maxlen, MemorySegment __format, Object... x3)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("snprintf", __s, __maxlen, __format, x3);
+ }
+ return (int)spreader.invokeExact(__s, __maxlen, __format, x3);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class vsnprintf {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vsnprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int vsnprintf(char *restrict __s, size_t __maxlen, const char *restrict __format, __gnuc_va_list
+ * __arg)
+ * }
+ */
+ public static FunctionDescriptor vsnprintf$descriptor() { return vsnprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int vsnprintf(char *restrict __s, size_t __maxlen, const char *restrict __format, __gnuc_va_list
+ * __arg)
+ * }
+ */
+ public static MethodHandle vsnprintf$handle() { return vsnprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int vsnprintf(char *restrict __s, size_t __maxlen, const char *restrict __format, __gnuc_va_list
+ * __arg)
+ * }
+ */
+ public static MemorySegment vsnprintf$address() { return vsnprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int vsnprintf(char *restrict __s, size_t __maxlen, const char *restrict __format, __gnuc_va_list
+ * __arg)
+ * }
+ */
+ public static int vsnprintf(MemorySegment __s, long __maxlen, MemorySegment __format, MemorySegment __arg)
+ {
+ var mh$ = vsnprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vsnprintf", __s, __maxlen, __format, __arg);
+ }
+ return (int)mh$.invokeExact(__s, __maxlen, __format, __arg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vasprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vasprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int vasprintf(char **restrict __ptr, const char *restrict __f, __gnuc_va_list __arg)
+ * }
+ */
+ public static FunctionDescriptor vasprintf$descriptor() { return vasprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int vasprintf(char **restrict __ptr, const char *restrict __f, __gnuc_va_list __arg)
+ * }
+ */
+ public static MethodHandle vasprintf$handle() { return vasprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int vasprintf(char **restrict __ptr, const char *restrict __f, __gnuc_va_list __arg)
+ * }
+ */
+ public static MemorySegment vasprintf$address() { return vasprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int vasprintf(char **restrict __ptr, const char *restrict __f, __gnuc_va_list __arg)
+ * }
+ */
+ public static int vasprintf(MemorySegment __ptr, MemorySegment __f, MemorySegment __arg)
+ {
+ var mh$ = vasprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vasprintf", __ptr, __f, __arg);
+ }
+ return (int)mh$.invokeExact(__ptr, __f, __arg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int __asprintf(char **restrict __ptr, const char *restrict __fmt, ...)
+ * }
+ */
+ public static class __asprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("__asprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private __asprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int __asprintf(char **restrict __ptr, const char *restrict __fmt, ...)
+ * }
+ */
+ public static __asprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new __asprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __ptr, MemorySegment __fmt, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__asprintf", __ptr, __fmt, x2);
+ }
+ return (int)spreader.invokeExact(__ptr, __fmt, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int asprintf(char **restrict __ptr, const char *restrict __fmt, ...)
+ * }
+ */
+ public static class asprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("asprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private asprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int asprintf(char **restrict __ptr, const char *restrict __fmt, ...)
+ * }
+ */
+ public static asprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new asprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __ptr, MemorySegment __fmt, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("asprintf", __ptr, __fmt, x2);
+ }
+ return (int)spreader.invokeExact(__ptr, __fmt, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class vdprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vdprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int vdprintf(int __fd, const char *restrict __fmt, __gnuc_va_list __arg)
+ * }
+ */
+ public static FunctionDescriptor vdprintf$descriptor() { return vdprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int vdprintf(int __fd, const char *restrict __fmt, __gnuc_va_list __arg)
+ * }
+ */
+ public static MethodHandle vdprintf$handle() { return vdprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int vdprintf(int __fd, const char *restrict __fmt, __gnuc_va_list __arg)
+ * }
+ */
+ public static MemorySegment vdprintf$address() { return vdprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int vdprintf(int __fd, const char *restrict __fmt, __gnuc_va_list __arg)
+ * }
+ */
+ public static int vdprintf(int __fd, MemorySegment __fmt, MemorySegment __arg)
+ {
+ var mh$ = vdprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vdprintf", __fd, __fmt, __arg);
+ }
+ return (int)mh$.invokeExact(__fd, __fmt, __arg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int dprintf(int __fd, const char *restrict __fmt, ...)
+ * }
+ */
+ public static class dprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("dprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private dprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int dprintf(int __fd, const char *restrict __fmt, ...)
+ * }
+ */
+ public static dprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new dprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(int __fd, MemorySegment __fmt, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("dprintf", __fd, __fmt, x2);
+ }
+ return (int)spreader.invokeExact(__fd, __fmt, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int fscanf(FILE *restrict __stream, const char *restrict __format, ...)
+ * }
+ */
+ public static class fscanf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("fscanf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private fscanf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int fscanf(FILE *restrict __stream, const char *restrict __format, ...)
+ * }
+ */
+ public static fscanf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new fscanf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __stream, MemorySegment __format, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fscanf", __stream, __format, x2);
+ }
+ return (int)spreader.invokeExact(__stream, __format, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int scanf(const char *restrict __format, ...)
+ * }
+ */
+ public static class scanf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("scanf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private scanf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int scanf(const char *restrict __format, ...)
+ * }
+ */
+ public static scanf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new scanf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __format, Object... x1)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("scanf", __format, x1);
+ }
+ return (int)spreader.invokeExact(__format, x1);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int sscanf(const char *restrict __s, const char *restrict __format, ...)
+ * }
+ */
+ public static class sscanf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("sscanf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private sscanf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int sscanf(const char *restrict __s, const char *restrict __format, ...)
+ * }
+ */
+ public static sscanf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new sscanf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __s, MemorySegment __format, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("sscanf", __s, __format, x2);
+ }
+ return (int)spreader.invokeExact(__s, __format, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef float _Float32
+ * }
+ */
+ public static final OfFloat _Float32 = hdf5_h.C_FLOAT;
+ /**
+ * {@snippet lang=c :
+ * typedef double _Float64
+ * }
+ */
+ public static final OfDouble _Float64 = hdf5_h.C_DOUBLE;
+ /**
+ * {@snippet lang=c :
+ * typedef double _Float32x
+ * }
+ */
+ public static final OfDouble _Float32x = hdf5_h.C_DOUBLE;
+
+ private static class vfscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vfscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int vfscanf(FILE *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static FunctionDescriptor vfscanf$descriptor() { return vfscanf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int vfscanf(FILE *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MethodHandle vfscanf$handle() { return vfscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int vfscanf(FILE *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MemorySegment vfscanf$address() { return vfscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int vfscanf(FILE *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static int vfscanf(MemorySegment __s, MemorySegment __format, MemorySegment __arg)
+ {
+ var mh$ = vfscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vfscanf", __s, __format, __arg);
+ }
+ return (int)mh$.invokeExact(__s, __format, __arg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int vscanf(const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static FunctionDescriptor vscanf$descriptor() { return vscanf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int vscanf(const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MethodHandle vscanf$handle() { return vscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int vscanf(const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MemorySegment vscanf$address() { return vscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int vscanf(const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static int vscanf(MemorySegment __format, MemorySegment __arg)
+ {
+ var mh$ = vscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vscanf", __format, __arg);
+ }
+ return (int)mh$.invokeExact(__format, __arg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vsscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vsscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int vsscanf(const char *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static FunctionDescriptor vsscanf$descriptor() { return vsscanf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int vsscanf(const char *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MethodHandle vsscanf$handle() { return vsscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int vsscanf(const char *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static MemorySegment vsscanf$address() { return vsscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int vsscanf(const char *restrict __s, const char *restrict __format, __gnuc_va_list __arg)
+ * }
+ */
+ public static int vsscanf(MemorySegment __s, MemorySegment __format, MemorySegment __arg)
+ {
+ var mh$ = vsscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vsscanf", __s, __format, __arg);
+ }
+ return (int)mh$.invokeExact(__s, __format, __arg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fgetc(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor fgetc$descriptor() { return fgetc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fgetc(FILE *__stream)
+ * }
+ */
+ public static MethodHandle fgetc$handle() { return fgetc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fgetc(FILE *__stream)
+ * }
+ */
+ public static MemorySegment fgetc$address() { return fgetc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fgetc(FILE *__stream)
+ * }
+ */
+ public static int fgetc(MemorySegment __stream)
+ {
+ var mh$ = fgetc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetc", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int getc(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor getc$descriptor() { return getc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int getc(FILE *__stream)
+ * }
+ */
+ public static MethodHandle getc$handle() { return getc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int getc(FILE *__stream)
+ * }
+ */
+ public static MemorySegment getc$address() { return getc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int getc(FILE *__stream)
+ * }
+ */
+ public static int getc(MemorySegment __stream)
+ {
+ var mh$ = getc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getc", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int getchar()
+ * }
+ */
+ public static FunctionDescriptor getchar$descriptor() { return getchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int getchar()
+ * }
+ */
+ public static MethodHandle getchar$handle() { return getchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int getchar()
+ * }
+ */
+ public static MemorySegment getchar$address() { return getchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int getchar()
+ * }
+ */
+ public static int getchar()
+ {
+ var mh$ = getchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getchar");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getc_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getc_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int getc_unlocked(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor getc_unlocked$descriptor() { return getc_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int getc_unlocked(FILE *__stream)
+ * }
+ */
+ public static MethodHandle getc_unlocked$handle() { return getc_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int getc_unlocked(FILE *__stream)
+ * }
+ */
+ public static MemorySegment getc_unlocked$address() { return getc_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int getc_unlocked(FILE *__stream)
+ * }
+ */
+ public static int getc_unlocked(MemorySegment __stream)
+ {
+ var mh$ = getc_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getc_unlocked", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getchar_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getchar_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int getchar_unlocked()
+ * }
+ */
+ public static FunctionDescriptor getchar_unlocked$descriptor() { return getchar_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int getchar_unlocked()
+ * }
+ */
+ public static MethodHandle getchar_unlocked$handle() { return getchar_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int getchar_unlocked()
+ * }
+ */
+ public static MemorySegment getchar_unlocked$address() { return getchar_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int getchar_unlocked()
+ * }
+ */
+ public static int getchar_unlocked()
+ {
+ var mh$ = getchar_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getchar_unlocked");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetc_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetc_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fgetc_unlocked(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor fgetc_unlocked$descriptor() { return fgetc_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fgetc_unlocked(FILE *__stream)
+ * }
+ */
+ public static MethodHandle fgetc_unlocked$handle() { return fgetc_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fgetc_unlocked(FILE *__stream)
+ * }
+ */
+ public static MemorySegment fgetc_unlocked$address() { return fgetc_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fgetc_unlocked(FILE *__stream)
+ * }
+ */
+ public static int fgetc_unlocked(MemorySegment __stream)
+ {
+ var mh$ = fgetc_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetc_unlocked", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fputc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fputc(int __c, FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor fputc$descriptor() { return fputc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fputc(int __c, FILE *__stream)
+ * }
+ */
+ public static MethodHandle fputc$handle() { return fputc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fputc(int __c, FILE *__stream)
+ * }
+ */
+ public static MemorySegment fputc$address() { return fputc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fputc(int __c, FILE *__stream)
+ * }
+ */
+ public static int fputc(int __c, MemorySegment __stream)
+ {
+ var mh$ = fputc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputc", __c, __stream);
+ }
+ return (int)mh$.invokeExact(__c, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int putc(int __c, FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor putc$descriptor() { return putc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int putc(int __c, FILE *__stream)
+ * }
+ */
+ public static MethodHandle putc$handle() { return putc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int putc(int __c, FILE *__stream)
+ * }
+ */
+ public static MemorySegment putc$address() { return putc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int putc(int __c, FILE *__stream)
+ * }
+ */
+ public static int putc(int __c, MemorySegment __stream)
+ {
+ var mh$ = putc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putc", __c, __stream);
+ }
+ return (int)mh$.invokeExact(__c, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int putchar(int __c)
+ * }
+ */
+ public static FunctionDescriptor putchar$descriptor() { return putchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int putchar(int __c)
+ * }
+ */
+ public static MethodHandle putchar$handle() { return putchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int putchar(int __c)
+ * }
+ */
+ public static MemorySegment putchar$address() { return putchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int putchar(int __c)
+ * }
+ */
+ public static int putchar(int __c)
+ {
+ var mh$ = putchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putchar", __c);
+ }
+ return (int)mh$.invokeExact(__c);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fputc_unlocked {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputc_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fputc_unlocked(int __c, FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor fputc_unlocked$descriptor() { return fputc_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fputc_unlocked(int __c, FILE *__stream)
+ * }
+ */
+ public static MethodHandle fputc_unlocked$handle() { return fputc_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fputc_unlocked(int __c, FILE *__stream)
+ * }
+ */
+ public static MemorySegment fputc_unlocked$address() { return fputc_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fputc_unlocked(int __c, FILE *__stream)
+ * }
+ */
+ public static int fputc_unlocked(int __c, MemorySegment __stream)
+ {
+ var mh$ = fputc_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputc_unlocked", __c, __stream);
+ }
+ return (int)mh$.invokeExact(__c, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putc_unlocked {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putc_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int putc_unlocked(int __c, FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor putc_unlocked$descriptor() { return putc_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int putc_unlocked(int __c, FILE *__stream)
+ * }
+ */
+ public static MethodHandle putc_unlocked$handle() { return putc_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int putc_unlocked(int __c, FILE *__stream)
+ * }
+ */
+ public static MemorySegment putc_unlocked$address() { return putc_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int putc_unlocked(int __c, FILE *__stream)
+ * }
+ */
+ public static int putc_unlocked(int __c, MemorySegment __stream)
+ {
+ var mh$ = putc_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putc_unlocked", __c, __stream);
+ }
+ return (int)mh$.invokeExact(__c, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putchar_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putchar_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int putchar_unlocked(int __c)
+ * }
+ */
+ public static FunctionDescriptor putchar_unlocked$descriptor() { return putchar_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int putchar_unlocked(int __c)
+ * }
+ */
+ public static MethodHandle putchar_unlocked$handle() { return putchar_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int putchar_unlocked(int __c)
+ * }
+ */
+ public static MemorySegment putchar_unlocked$address() { return putchar_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int putchar_unlocked(int __c)
+ * }
+ */
+ public static int putchar_unlocked(int __c)
+ {
+ var mh$ = putchar_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putchar_unlocked", __c);
+ }
+ return (int)mh$.invokeExact(__c);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getw {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getw");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int getw(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor getw$descriptor() { return getw.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int getw(FILE *__stream)
+ * }
+ */
+ public static MethodHandle getw$handle() { return getw.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int getw(FILE *__stream)
+ * }
+ */
+ public static MemorySegment getw$address() { return getw.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int getw(FILE *__stream)
+ * }
+ */
+ public static int getw(MemorySegment __stream)
+ {
+ var mh$ = getw.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getw", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putw {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putw");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int putw(int __w, FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor putw$descriptor() { return putw.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int putw(int __w, FILE *__stream)
+ * }
+ */
+ public static MethodHandle putw$handle() { return putw.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int putw(int __w, FILE *__stream)
+ * }
+ */
+ public static MemorySegment putw$address() { return putw.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int putw(int __w, FILE *__stream)
+ * }
+ */
+ public static int putw(int __w, MemorySegment __stream)
+ {
+ var mh$ = putw.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putw", __w, __stream);
+ }
+ return (int)mh$.invokeExact(__w, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgets {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgets");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern char *fgets(char *restrict __s, int __n, FILE *restrict __stream)
+ * }
+ */
+ public static FunctionDescriptor fgets$descriptor() { return fgets.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern char *fgets(char *restrict __s, int __n, FILE *restrict __stream)
+ * }
+ */
+ public static MethodHandle fgets$handle() { return fgets.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern char *fgets(char *restrict __s, int __n, FILE *restrict __stream)
+ * }
+ */
+ public static MemorySegment fgets$address() { return fgets.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern char *fgets(char *restrict __s, int __n, FILE *restrict __stream)
+ * }
+ */
+ public static MemorySegment fgets(MemorySegment __s, int __n, MemorySegment __stream)
+ {
+ var mh$ = fgets.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgets", __s, __n, __stream);
+ }
+ return (MemorySegment)mh$.invokeExact(__s, __n, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __getdelim {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__getdelim");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern __ssize_t __getdelim(char **restrict __lineptr, size_t *restrict __n, int __delimiter, FILE
+ * *restrict __stream)
+ * }
+ */
+ public static FunctionDescriptor __getdelim$descriptor() { return __getdelim.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern __ssize_t __getdelim(char **restrict __lineptr, size_t *restrict __n, int __delimiter, FILE
+ * *restrict __stream)
+ * }
+ */
+ public static MethodHandle __getdelim$handle() { return __getdelim.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern __ssize_t __getdelim(char **restrict __lineptr, size_t *restrict __n, int __delimiter, FILE
+ * *restrict __stream)
+ * }
+ */
+ public static MemorySegment __getdelim$address() { return __getdelim.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern __ssize_t __getdelim(char **restrict __lineptr, size_t *restrict __n, int __delimiter, FILE
+ * *restrict __stream)
+ * }
+ */
+ public static long __getdelim(MemorySegment __lineptr, MemorySegment __n, int __delimiter,
+ MemorySegment __stream)
+ {
+ var mh$ = __getdelim.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__getdelim", __lineptr, __n, __delimiter, __stream);
+ }
+ return (long)mh$.invokeExact(__lineptr, __n, __delimiter, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getdelim {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getdelim");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern __ssize_t getdelim(char **restrict __lineptr, size_t *restrict __n, int __delimiter, FILE
+ * *restrict __stream)
+ * }
+ */
+ public static FunctionDescriptor getdelim$descriptor() { return getdelim.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern __ssize_t getdelim(char **restrict __lineptr, size_t *restrict __n, int __delimiter, FILE
+ * *restrict __stream)
+ * }
+ */
+ public static MethodHandle getdelim$handle() { return getdelim.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern __ssize_t getdelim(char **restrict __lineptr, size_t *restrict __n, int __delimiter, FILE
+ * *restrict __stream)
+ * }
+ */
+ public static MemorySegment getdelim$address() { return getdelim.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern __ssize_t getdelim(char **restrict __lineptr, size_t *restrict __n, int __delimiter, FILE
+ * *restrict __stream)
+ * }
+ */
+ public static long getdelim(MemorySegment __lineptr, MemorySegment __n, int __delimiter,
+ MemorySegment __stream)
+ {
+ var mh$ = getdelim.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getdelim", __lineptr, __n, __delimiter, __stream);
+ }
+ return (long)mh$.invokeExact(__lineptr, __n, __delimiter, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getline {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getline");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern __ssize_t getline(char **restrict __lineptr, size_t *restrict __n, FILE *restrict __stream)
+ * }
+ */
+ public static FunctionDescriptor getline$descriptor() { return getline.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern __ssize_t getline(char **restrict __lineptr, size_t *restrict __n, FILE *restrict __stream)
+ * }
+ */
+ public static MethodHandle getline$handle() { return getline.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern __ssize_t getline(char **restrict __lineptr, size_t *restrict __n, FILE *restrict __stream)
+ * }
+ */
+ public static MemorySegment getline$address() { return getline.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern __ssize_t getline(char **restrict __lineptr, size_t *restrict __n, FILE *restrict __stream)
+ * }
+ */
+ public static long getline(MemorySegment __lineptr, MemorySegment __n, MemorySegment __stream)
+ {
+ var mh$ = getline.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getline", __lineptr, __n, __stream);
+ }
+ return (long)mh$.invokeExact(__lineptr, __n, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fputs {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fputs(const char *restrict __s, FILE *restrict __stream)
+ * }
+ */
+ public static FunctionDescriptor fputs$descriptor() { return fputs.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fputs(const char *restrict __s, FILE *restrict __stream)
+ * }
+ */
+ public static MethodHandle fputs$handle() { return fputs.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fputs(const char *restrict __s, FILE *restrict __stream)
+ * }
+ */
+ public static MemorySegment fputs$address() { return fputs.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fputs(const char *restrict __s, FILE *restrict __stream)
+ * }
+ */
+ public static int fputs(MemorySegment __s, MemorySegment __stream)
+ {
+ var mh$ = fputs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputs", __s, __stream);
+ }
+ return (int)mh$.invokeExact(__s, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class puts {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("puts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int puts(const char *__s)
+ * }
+ */
+ public static FunctionDescriptor puts$descriptor() { return puts.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int puts(const char *__s)
+ * }
+ */
+ public static MethodHandle puts$handle() { return puts.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int puts(const char *__s)
+ * }
+ */
+ public static MemorySegment puts$address() { return puts.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int puts(const char *__s)
+ * }
+ */
+ public static int puts(MemorySegment __s)
+ {
+ var mh$ = puts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("puts", __s);
+ }
+ return (int)mh$.invokeExact(__s);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ungetc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ungetc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int ungetc(int __c, FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor ungetc$descriptor() { return ungetc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int ungetc(int __c, FILE *__stream)
+ * }
+ */
+ public static MethodHandle ungetc$handle() { return ungetc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int ungetc(int __c, FILE *__stream)
+ * }
+ */
+ public static MemorySegment ungetc$address() { return ungetc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int ungetc(int __c, FILE *__stream)
+ * }
+ */
+ public static int ungetc(int __c, MemorySegment __stream)
+ {
+ var mh$ = ungetc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ungetc", __c, __stream);
+ }
+ return (int)mh$.invokeExact(__c, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fread {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern unsigned long fread(void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __stream)
+ * }
+ */
+ public static FunctionDescriptor fread$descriptor() { return fread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern unsigned long fread(void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __stream)
+ * }
+ */
+ public static MethodHandle fread$handle() { return fread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern unsigned long fread(void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __stream)
+ * }
+ */
+ public static MemorySegment fread$address() { return fread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern unsigned long fread(void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __stream)
+ * }
+ */
+ public static long fread(MemorySegment __ptr, long __size, long __n, MemorySegment __stream)
+ {
+ var mh$ = fread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fread", __ptr, __size, __n, __stream);
+ }
+ return (long)mh$.invokeExact(__ptr, __size, __n, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fwrite {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fwrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __s)
+ * }
+ */
+ public static FunctionDescriptor fwrite$descriptor() { return fwrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __s)
+ * }
+ */
+ public static MethodHandle fwrite$handle() { return fwrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __s)
+ * }
+ */
+ public static MemorySegment fwrite$address() { return fwrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __s)
+ * }
+ */
+ public static long fwrite(MemorySegment __ptr, long __size, long __n, MemorySegment __s)
+ {
+ var mh$ = fwrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fwrite", __ptr, __size, __n, __s);
+ }
+ return (long)mh$.invokeExact(__ptr, __size, __n, __s);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fread_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fread_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern size_t fread_unlocked(void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __stream)
+ * }
+ */
+ public static FunctionDescriptor fread_unlocked$descriptor() { return fread_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern size_t fread_unlocked(void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __stream)
+ * }
+ */
+ public static MethodHandle fread_unlocked$handle() { return fread_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern size_t fread_unlocked(void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __stream)
+ * }
+ */
+ public static MemorySegment fread_unlocked$address() { return fread_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern size_t fread_unlocked(void *restrict __ptr, size_t __size, size_t __n, FILE *restrict __stream)
+ * }
+ */
+ public static long fread_unlocked(MemorySegment __ptr, long __size, long __n, MemorySegment __stream)
+ {
+ var mh$ = fread_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fread_unlocked", __ptr, __size, __n, __stream);
+ }
+ return (long)mh$.invokeExact(__ptr, __size, __n, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fwrite_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fwrite_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern size_t fwrite_unlocked(const void *restrict __ptr, size_t __size, size_t __n, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static FunctionDescriptor fwrite_unlocked$descriptor() { return fwrite_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern size_t fwrite_unlocked(const void *restrict __ptr, size_t __size, size_t __n, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static MethodHandle fwrite_unlocked$handle() { return fwrite_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern size_t fwrite_unlocked(const void *restrict __ptr, size_t __size, size_t __n, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static MemorySegment fwrite_unlocked$address() { return fwrite_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern size_t fwrite_unlocked(const void *restrict __ptr, size_t __size, size_t __n, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static long fwrite_unlocked(MemorySegment __ptr, long __size, long __n, MemorySegment __stream)
+ {
+ var mh$ = fwrite_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fwrite_unlocked", __ptr, __size, __n, __stream);
+ }
+ return (long)mh$.invokeExact(__ptr, __size, __n, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fseek {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fseek");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fseek(FILE *__stream, long __off, int __whence)
+ * }
+ */
+ public static FunctionDescriptor fseek$descriptor() { return fseek.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fseek(FILE *__stream, long __off, int __whence)
+ * }
+ */
+ public static MethodHandle fseek$handle() { return fseek.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fseek(FILE *__stream, long __off, int __whence)
+ * }
+ */
+ public static MemorySegment fseek$address() { return fseek.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fseek(FILE *__stream, long __off, int __whence)
+ * }
+ */
+ public static int fseek(MemorySegment __stream, long __off, int __whence)
+ {
+ var mh$ = fseek.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fseek", __stream, __off, __whence);
+ }
+ return (int)mh$.invokeExact(__stream, __off, __whence);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ftell {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ftell");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern long ftell(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor ftell$descriptor() { return ftell.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern long ftell(FILE *__stream)
+ * }
+ */
+ public static MethodHandle ftell$handle() { return ftell.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern long ftell(FILE *__stream)
+ * }
+ */
+ public static MemorySegment ftell$address() { return ftell.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern long ftell(FILE *__stream)
+ * }
+ */
+ public static long ftell(MemorySegment __stream)
+ {
+ var mh$ = ftell.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ftell", __stream);
+ }
+ return (long)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class rewind {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("rewind");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern void rewind(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor rewind$descriptor() { return rewind.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern void rewind(FILE *__stream)
+ * }
+ */
+ public static MethodHandle rewind$handle() { return rewind.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern void rewind(FILE *__stream)
+ * }
+ */
+ public static MemorySegment rewind$address() { return rewind.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern void rewind(FILE *__stream)
+ * }
+ */
+ public static void rewind(MemorySegment __stream)
+ {
+ var mh$ = rewind.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("rewind", __stream);
+ }
+ mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fseeko {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fseeko");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fseeko(FILE *__stream, __off_t __off, int __whence)
+ * }
+ */
+ public static FunctionDescriptor fseeko$descriptor() { return fseeko.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fseeko(FILE *__stream, __off_t __off, int __whence)
+ * }
+ */
+ public static MethodHandle fseeko$handle() { return fseeko.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fseeko(FILE *__stream, __off_t __off, int __whence)
+ * }
+ */
+ public static MemorySegment fseeko$address() { return fseeko.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fseeko(FILE *__stream, __off_t __off, int __whence)
+ * }
+ */
+ public static int fseeko(MemorySegment __stream, long __off, int __whence)
+ {
+ var mh$ = fseeko.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fseeko", __stream, __off, __whence);
+ }
+ return (int)mh$.invokeExact(__stream, __off, __whence);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ftello {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ftello");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern __off_t ftello(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor ftello$descriptor() { return ftello.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern __off_t ftello(FILE *__stream)
+ * }
+ */
+ public static MethodHandle ftello$handle() { return ftello.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern __off_t ftello(FILE *__stream)
+ * }
+ */
+ public static MemorySegment ftello$address() { return ftello.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern __off_t ftello(FILE *__stream)
+ * }
+ */
+ public static long ftello(MemorySegment __stream)
+ {
+ var mh$ = ftello.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ftello", __stream);
+ }
+ return (long)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetpos {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetpos");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fgetpos(FILE *restrict __stream, fpos_t *restrict __pos)
+ * }
+ */
+ public static FunctionDescriptor fgetpos$descriptor() { return fgetpos.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fgetpos(FILE *restrict __stream, fpos_t *restrict __pos)
+ * }
+ */
+ public static MethodHandle fgetpos$handle() { return fgetpos.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fgetpos(FILE *restrict __stream, fpos_t *restrict __pos)
+ * }
+ */
+ public static MemorySegment fgetpos$address() { return fgetpos.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fgetpos(FILE *restrict __stream, fpos_t *restrict __pos)
+ * }
+ */
+ public static int fgetpos(MemorySegment __stream, MemorySegment __pos)
+ {
+ var mh$ = fgetpos.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetpos", __stream, __pos);
+ }
+ return (int)mh$.invokeExact(__stream, __pos);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fsetpos {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fsetpos");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fsetpos(FILE *__stream, const fpos_t *__pos)
+ * }
+ */
+ public static FunctionDescriptor fsetpos$descriptor() { return fsetpos.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fsetpos(FILE *__stream, const fpos_t *__pos)
+ * }
+ */
+ public static MethodHandle fsetpos$handle() { return fsetpos.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fsetpos(FILE *__stream, const fpos_t *__pos)
+ * }
+ */
+ public static MemorySegment fsetpos$address() { return fsetpos.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fsetpos(FILE *__stream, const fpos_t *__pos)
+ * }
+ */
+ public static int fsetpos(MemorySegment __stream, MemorySegment __pos)
+ {
+ var mh$ = fsetpos.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fsetpos", __stream, __pos);
+ }
+ return (int)mh$.invokeExact(__stream, __pos);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class clearerr {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("clearerr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern void clearerr(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor clearerr$descriptor() { return clearerr.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern void clearerr(FILE *__stream)
+ * }
+ */
+ public static MethodHandle clearerr$handle() { return clearerr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern void clearerr(FILE *__stream)
+ * }
+ */
+ public static MemorySegment clearerr$address() { return clearerr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern void clearerr(FILE *__stream)
+ * }
+ */
+ public static void clearerr(MemorySegment __stream)
+ {
+ var mh$ = clearerr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("clearerr", __stream);
+ }
+ mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class feof {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("feof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int feof(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor feof$descriptor() { return feof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int feof(FILE *__stream)
+ * }
+ */
+ public static MethodHandle feof$handle() { return feof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int feof(FILE *__stream)
+ * }
+ */
+ public static MemorySegment feof$address() { return feof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int feof(FILE *__stream)
+ * }
+ */
+ public static int feof(MemorySegment __stream)
+ {
+ var mh$ = feof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("feof", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ferror {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ferror");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int ferror(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor ferror$descriptor() { return ferror.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int ferror(FILE *__stream)
+ * }
+ */
+ public static MethodHandle ferror$handle() { return ferror.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int ferror(FILE *__stream)
+ * }
+ */
+ public static MemorySegment ferror$address() { return ferror.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int ferror(FILE *__stream)
+ * }
+ */
+ public static int ferror(MemorySegment __stream)
+ {
+ var mh$ = ferror.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ferror", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class clearerr_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("clearerr_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern void clearerr_unlocked(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor clearerr_unlocked$descriptor() { return clearerr_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern void clearerr_unlocked(FILE *__stream)
+ * }
+ */
+ public static MethodHandle clearerr_unlocked$handle() { return clearerr_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern void clearerr_unlocked(FILE *__stream)
+ * }
+ */
+ public static MemorySegment clearerr_unlocked$address() { return clearerr_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern void clearerr_unlocked(FILE *__stream)
+ * }
+ */
+ public static void clearerr_unlocked(MemorySegment __stream)
+ {
+ var mh$ = clearerr_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("clearerr_unlocked", __stream);
+ }
+ mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class feof_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("feof_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int feof_unlocked(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor feof_unlocked$descriptor() { return feof_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int feof_unlocked(FILE *__stream)
+ * }
+ */
+ public static MethodHandle feof_unlocked$handle() { return feof_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int feof_unlocked(FILE *__stream)
+ * }
+ */
+ public static MemorySegment feof_unlocked$address() { return feof_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int feof_unlocked(FILE *__stream)
+ * }
+ */
+ public static int feof_unlocked(MemorySegment __stream)
+ {
+ var mh$ = feof_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("feof_unlocked", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ferror_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ferror_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int ferror_unlocked(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor ferror_unlocked$descriptor() { return ferror_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int ferror_unlocked(FILE *__stream)
+ * }
+ */
+ public static MethodHandle ferror_unlocked$handle() { return ferror_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int ferror_unlocked(FILE *__stream)
+ * }
+ */
+ public static MemorySegment ferror_unlocked$address() { return ferror_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int ferror_unlocked(FILE *__stream)
+ * }
+ */
+ public static int ferror_unlocked(MemorySegment __stream)
+ {
+ var mh$ = ferror_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ferror_unlocked", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class perror {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("perror");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern void perror(const char *__s)
+ * }
+ */
+ public static FunctionDescriptor perror$descriptor() { return perror.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern void perror(const char *__s)
+ * }
+ */
+ public static MethodHandle perror$handle() { return perror.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern void perror(const char *__s)
+ * }
+ */
+ public static MemorySegment perror$address() { return perror.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern void perror(const char *__s)
+ * }
+ */
+ public static void perror(MemorySegment __s)
+ {
+ var mh$ = perror.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("perror", __s);
+ }
+ mh$.invokeExact(__s);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fileno {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fileno");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fileno(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor fileno$descriptor() { return fileno.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fileno(FILE *__stream)
+ * }
+ */
+ public static MethodHandle fileno$handle() { return fileno.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fileno(FILE *__stream)
+ * }
+ */
+ public static MemorySegment fileno$address() { return fileno.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fileno(FILE *__stream)
+ * }
+ */
+ public static int fileno(MemorySegment __stream)
+ {
+ var mh$ = fileno.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fileno", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fileno_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fileno_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int fileno_unlocked(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor fileno_unlocked$descriptor() { return fileno_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int fileno_unlocked(FILE *__stream)
+ * }
+ */
+ public static MethodHandle fileno_unlocked$handle() { return fileno_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int fileno_unlocked(FILE *__stream)
+ * }
+ */
+ public static MemorySegment fileno_unlocked$address() { return fileno_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int fileno_unlocked(FILE *__stream)
+ * }
+ */
+ public static int fileno_unlocked(MemorySegment __stream)
+ {
+ var mh$ = fileno_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fileno_unlocked", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class pclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("pclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int pclose(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor pclose$descriptor() { return pclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int pclose(FILE *__stream)
+ * }
+ */
+ public static MethodHandle pclose$handle() { return pclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int pclose(FILE *__stream)
+ * }
+ */
+ public static MemorySegment pclose$address() { return pclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int pclose(FILE *__stream)
+ * }
+ */
+ public static int pclose(MemorySegment __stream)
+ {
+ var mh$ = pclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("pclose", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class popen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("popen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern FILE *popen(const char *__command, const char *__modes)
+ * }
+ */
+ public static FunctionDescriptor popen$descriptor() { return popen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern FILE *popen(const char *__command, const char *__modes)
+ * }
+ */
+ public static MethodHandle popen$handle() { return popen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern FILE *popen(const char *__command, const char *__modes)
+ * }
+ */
+ public static MemorySegment popen$address() { return popen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern FILE *popen(const char *__command, const char *__modes)
+ * }
+ */
+ public static MemorySegment popen(MemorySegment __command, MemorySegment __modes)
+ {
+ var mh$ = popen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("popen", __command, __modes);
+ }
+ return (MemorySegment)mh$.invokeExact(__command, __modes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ctermid {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ctermid");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern char *ctermid(char *__s)
+ * }
+ */
+ public static FunctionDescriptor ctermid$descriptor() { return ctermid.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern char *ctermid(char *__s)
+ * }
+ */
+ public static MethodHandle ctermid$handle() { return ctermid.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern char *ctermid(char *__s)
+ * }
+ */
+ public static MemorySegment ctermid$address() { return ctermid.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern char *ctermid(char *__s)
+ * }
+ */
+ public static MemorySegment ctermid(MemorySegment __s)
+ {
+ var mh$ = ctermid.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ctermid", __s);
+ }
+ return (MemorySegment)mh$.invokeExact(__s);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class flockfile {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("flockfile");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern void flockfile(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor flockfile$descriptor() { return flockfile.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern void flockfile(FILE *__stream)
+ * }
+ */
+ public static MethodHandle flockfile$handle() { return flockfile.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern void flockfile(FILE *__stream)
+ * }
+ */
+ public static MemorySegment flockfile$address() { return flockfile.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern void flockfile(FILE *__stream)
+ * }
+ */
+ public static void flockfile(MemorySegment __stream)
+ {
+ var mh$ = flockfile.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("flockfile", __stream);
+ }
+ mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ftrylockfile {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ftrylockfile");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int ftrylockfile(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor ftrylockfile$descriptor() { return ftrylockfile.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int ftrylockfile(FILE *__stream)
+ * }
+ */
+ public static MethodHandle ftrylockfile$handle() { return ftrylockfile.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int ftrylockfile(FILE *__stream)
+ * }
+ */
+ public static MemorySegment ftrylockfile$address() { return ftrylockfile.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int ftrylockfile(FILE *__stream)
+ * }
+ */
+ public static int ftrylockfile(MemorySegment __stream)
+ {
+ var mh$ = ftrylockfile.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ftrylockfile", __stream);
+ }
+ return (int)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class funlockfile {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("funlockfile");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern void funlockfile(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor funlockfile$descriptor() { return funlockfile.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern void funlockfile(FILE *__stream)
+ * }
+ */
+ public static MethodHandle funlockfile$handle() { return funlockfile.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern void funlockfile(FILE *__stream)
+ * }
+ */
+ public static MemorySegment funlockfile$address() { return funlockfile.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern void funlockfile(FILE *__stream)
+ * }
+ */
+ public static void funlockfile(MemorySegment __stream)
+ {
+ var mh$ = funlockfile.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("funlockfile", __stream);
+ }
+ mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __uflow {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__uflow");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int __uflow(FILE *)
+ * }
+ */
+ public static FunctionDescriptor __uflow$descriptor() { return __uflow.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int __uflow(FILE *)
+ * }
+ */
+ public static MethodHandle __uflow$handle() { return __uflow.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int __uflow(FILE *)
+ * }
+ */
+ public static MemorySegment __uflow$address() { return __uflow.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int __uflow(FILE *)
+ * }
+ */
+ public static int __uflow(MemorySegment x0)
+ {
+ var mh$ = __uflow.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__uflow", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __overflow {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__overflow");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int __overflow(FILE *, int)
+ * }
+ */
+ public static FunctionDescriptor __overflow$descriptor() { return __overflow.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int __overflow(FILE *, int)
+ * }
+ */
+ public static MethodHandle __overflow$handle() { return __overflow.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int __overflow(FILE *, int)
+ * }
+ */
+ public static MemorySegment __overflow$address() { return __overflow.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int __overflow(FILE *, int)
+ * }
+ */
+ public static int __overflow(MemorySegment x0, int x1)
+ {
+ var mh$ = __overflow.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__overflow", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5E_MAJOR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_type_t.H5E_MAJOR = 0
+ * }
+ */
+ public static int H5E_MAJOR() { return H5E_MAJOR; }
+ private static final int H5E_MINOR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_type_t.H5E_MINOR = 1
+ * }
+ */
+ public static int H5E_MINOR() { return H5E_MINOR; }
+
+ private static class H5E_ERR_CLS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ERR_CLS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static OfLong H5E_ERR_CLS_g$layout() { return H5E_ERR_CLS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static MemorySegment H5E_ERR_CLS_g$segment() { return H5E_ERR_CLS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static long H5E_ERR_CLS_g()
+ {
+ return H5E_ERR_CLS_g$constants.SEGMENT.get(H5E_ERR_CLS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static void H5E_ERR_CLS_g(long varValue)
+ {
+ H5E_ERR_CLS_g$constants.SEGMENT.set(H5E_ERR_CLS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ARGS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ARGS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static OfLong H5E_ARGS_g$layout() { return H5E_ARGS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static MemorySegment H5E_ARGS_g$segment() { return H5E_ARGS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static long H5E_ARGS_g()
+ {
+ return H5E_ARGS_g$constants.SEGMENT.get(H5E_ARGS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static void H5E_ARGS_g(long varValue)
+ {
+ H5E_ARGS_g$constants.SEGMENT.set(H5E_ARGS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ATTR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ATTR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static OfLong H5E_ATTR_g$layout() { return H5E_ATTR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static MemorySegment H5E_ATTR_g$segment() { return H5E_ATTR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static long H5E_ATTR_g()
+ {
+ return H5E_ATTR_g$constants.SEGMENT.get(H5E_ATTR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static void H5E_ATTR_g(long varValue)
+ {
+ H5E_ATTR_g$constants.SEGMENT.set(H5E_ATTR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BTREE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BTREE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static OfLong H5E_BTREE_g$layout() { return H5E_BTREE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static MemorySegment H5E_BTREE_g$segment() { return H5E_BTREE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static long H5E_BTREE_g()
+ {
+ return H5E_BTREE_g$constants.SEGMENT.get(H5E_BTREE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static void H5E_BTREE_g(long varValue)
+ {
+ H5E_BTREE_g$constants.SEGMENT.set(H5E_BTREE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CACHE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CACHE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static OfLong H5E_CACHE_g$layout() { return H5E_CACHE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static MemorySegment H5E_CACHE_g$segment() { return H5E_CACHE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static long H5E_CACHE_g()
+ {
+ return H5E_CACHE_g$constants.SEGMENT.get(H5E_CACHE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static void H5E_CACHE_g(long varValue)
+ {
+ H5E_CACHE_g$constants.SEGMENT.set(H5E_CACHE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CONTEXT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CONTEXT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static OfLong H5E_CONTEXT_g$layout() { return H5E_CONTEXT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static MemorySegment H5E_CONTEXT_g$segment() { return H5E_CONTEXT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static long H5E_CONTEXT_g()
+ {
+ return H5E_CONTEXT_g$constants.SEGMENT.get(H5E_CONTEXT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static void H5E_CONTEXT_g(long varValue)
+ {
+ H5E_CONTEXT_g$constants.SEGMENT.set(H5E_CONTEXT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DATASET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DATASET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static OfLong H5E_DATASET_g$layout() { return H5E_DATASET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static MemorySegment H5E_DATASET_g$segment() { return H5E_DATASET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static long H5E_DATASET_g()
+ {
+ return H5E_DATASET_g$constants.SEGMENT.get(H5E_DATASET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static void H5E_DATASET_g(long varValue)
+ {
+ H5E_DATASET_g$constants.SEGMENT.set(H5E_DATASET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DATASPACE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DATASPACE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static OfLong H5E_DATASPACE_g$layout() { return H5E_DATASPACE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static MemorySegment H5E_DATASPACE_g$segment() { return H5E_DATASPACE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static long H5E_DATASPACE_g()
+ {
+ return H5E_DATASPACE_g$constants.SEGMENT.get(H5E_DATASPACE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static void H5E_DATASPACE_g(long varValue)
+ {
+ H5E_DATASPACE_g$constants.SEGMENT.set(H5E_DATASPACE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DATATYPE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DATATYPE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static OfLong H5E_DATATYPE_g$layout() { return H5E_DATATYPE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static MemorySegment H5E_DATATYPE_g$segment() { return H5E_DATATYPE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static long H5E_DATATYPE_g()
+ {
+ return H5E_DATATYPE_g$constants.SEGMENT.get(H5E_DATATYPE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static void H5E_DATATYPE_g(long varValue)
+ {
+ H5E_DATATYPE_g$constants.SEGMENT.set(H5E_DATATYPE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EARRAY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EARRAY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static OfLong H5E_EARRAY_g$layout() { return H5E_EARRAY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static MemorySegment H5E_EARRAY_g$segment() { return H5E_EARRAY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static long H5E_EARRAY_g()
+ {
+ return H5E_EARRAY_g$constants.SEGMENT.get(H5E_EARRAY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static void H5E_EARRAY_g(long varValue)
+ {
+ H5E_EARRAY_g$constants.SEGMENT.set(H5E_EARRAY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EFL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EFL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static OfLong H5E_EFL_g$layout() { return H5E_EFL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static MemorySegment H5E_EFL_g$segment() { return H5E_EFL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static long H5E_EFL_g() { return H5E_EFL_g$constants.SEGMENT.get(H5E_EFL_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static void H5E_EFL_g(long varValue)
+ {
+ H5E_EFL_g$constants.SEGMENT.set(H5E_EFL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static OfLong H5E_ERROR_g$layout() { return H5E_ERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static MemorySegment H5E_ERROR_g$segment() { return H5E_ERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static long H5E_ERROR_g()
+ {
+ return H5E_ERROR_g$constants.SEGMENT.get(H5E_ERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static void H5E_ERROR_g(long varValue)
+ {
+ H5E_ERROR_g$constants.SEGMENT.set(H5E_ERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EVENTSET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EVENTSET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static OfLong H5E_EVENTSET_g$layout() { return H5E_EVENTSET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static MemorySegment H5E_EVENTSET_g$segment() { return H5E_EVENTSET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static long H5E_EVENTSET_g()
+ {
+ return H5E_EVENTSET_g$constants.SEGMENT.get(H5E_EVENTSET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static void H5E_EVENTSET_g(long varValue)
+ {
+ H5E_EVENTSET_g$constants.SEGMENT.set(H5E_EVENTSET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FARRAY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FARRAY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static OfLong H5E_FARRAY_g$layout() { return H5E_FARRAY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static MemorySegment H5E_FARRAY_g$segment() { return H5E_FARRAY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static long H5E_FARRAY_g()
+ {
+ return H5E_FARRAY_g$constants.SEGMENT.get(H5E_FARRAY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static void H5E_FARRAY_g(long varValue)
+ {
+ H5E_FARRAY_g$constants.SEGMENT.set(H5E_FARRAY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static OfLong H5E_FILE_g$layout() { return H5E_FILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static MemorySegment H5E_FILE_g$segment() { return H5E_FILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static long H5E_FILE_g()
+ {
+ return H5E_FILE_g$constants.SEGMENT.get(H5E_FILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static void H5E_FILE_g(long varValue)
+ {
+ H5E_FILE_g$constants.SEGMENT.set(H5E_FILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FSPACE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FSPACE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static OfLong H5E_FSPACE_g$layout() { return H5E_FSPACE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static MemorySegment H5E_FSPACE_g$segment() { return H5E_FSPACE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static long H5E_FSPACE_g()
+ {
+ return H5E_FSPACE_g$constants.SEGMENT.get(H5E_FSPACE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static void H5E_FSPACE_g(long varValue)
+ {
+ H5E_FSPACE_g$constants.SEGMENT.set(H5E_FSPACE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FUNC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FUNC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static OfLong H5E_FUNC_g$layout() { return H5E_FUNC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static MemorySegment H5E_FUNC_g$segment() { return H5E_FUNC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static long H5E_FUNC_g()
+ {
+ return H5E_FUNC_g$constants.SEGMENT.get(H5E_FUNC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static void H5E_FUNC_g(long varValue)
+ {
+ H5E_FUNC_g$constants.SEGMENT.set(H5E_FUNC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_HEAP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_HEAP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static OfLong H5E_HEAP_g$layout() { return H5E_HEAP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static MemorySegment H5E_HEAP_g$segment() { return H5E_HEAP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static long H5E_HEAP_g()
+ {
+ return H5E_HEAP_g$constants.SEGMENT.get(H5E_HEAP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static void H5E_HEAP_g(long varValue)
+ {
+ H5E_HEAP_g$constants.SEGMENT.set(H5E_HEAP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static OfLong H5E_ID_g$layout() { return H5E_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static MemorySegment H5E_ID_g$segment() { return H5E_ID_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static long H5E_ID_g() { return H5E_ID_g$constants.SEGMENT.get(H5E_ID_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static void H5E_ID_g(long varValue)
+ {
+ H5E_ID_g$constants.SEGMENT.set(H5E_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_INTERNAL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_INTERNAL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static OfLong H5E_INTERNAL_g$layout() { return H5E_INTERNAL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static MemorySegment H5E_INTERNAL_g$segment() { return H5E_INTERNAL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static long H5E_INTERNAL_g()
+ {
+ return H5E_INTERNAL_g$constants.SEGMENT.get(H5E_INTERNAL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static void H5E_INTERNAL_g(long varValue)
+ {
+ H5E_INTERNAL_g$constants.SEGMENT.set(H5E_INTERNAL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_IO_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_IO_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static OfLong H5E_IO_g$layout() { return H5E_IO_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static MemorySegment H5E_IO_g$segment() { return H5E_IO_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static long H5E_IO_g() { return H5E_IO_g$constants.SEGMENT.get(H5E_IO_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static void H5E_IO_g(long varValue)
+ {
+ H5E_IO_g$constants.SEGMENT.set(H5E_IO_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LIB_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LIB_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static OfLong H5E_LIB_g$layout() { return H5E_LIB_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static MemorySegment H5E_LIB_g$segment() { return H5E_LIB_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static long H5E_LIB_g() { return H5E_LIB_g$constants.SEGMENT.get(H5E_LIB_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static void H5E_LIB_g(long varValue)
+ {
+ H5E_LIB_g$constants.SEGMENT.set(H5E_LIB_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LINK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LINK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static OfLong H5E_LINK_g$layout() { return H5E_LINK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static MemorySegment H5E_LINK_g$segment() { return H5E_LINK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static long H5E_LINK_g()
+ {
+ return H5E_LINK_g$constants.SEGMENT.get(H5E_LINK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static void H5E_LINK_g(long varValue)
+ {
+ H5E_LINK_g$constants.SEGMENT.set(H5E_LINK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MAP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MAP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static OfLong H5E_MAP_g$layout() { return H5E_MAP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static MemorySegment H5E_MAP_g$segment() { return H5E_MAP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static long H5E_MAP_g() { return H5E_MAP_g$constants.SEGMENT.get(H5E_MAP_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static void H5E_MAP_g(long varValue)
+ {
+ H5E_MAP_g$constants.SEGMENT.set(H5E_MAP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NONE_MAJOR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NONE_MAJOR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static OfLong H5E_NONE_MAJOR_g$layout() { return H5E_NONE_MAJOR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static MemorySegment H5E_NONE_MAJOR_g$segment() { return H5E_NONE_MAJOR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static long H5E_NONE_MAJOR_g()
+ {
+ return H5E_NONE_MAJOR_g$constants.SEGMENT.get(H5E_NONE_MAJOR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static void H5E_NONE_MAJOR_g(long varValue)
+ {
+ H5E_NONE_MAJOR_g$constants.SEGMENT.set(H5E_NONE_MAJOR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OHDR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OHDR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static OfLong H5E_OHDR_g$layout() { return H5E_OHDR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static MemorySegment H5E_OHDR_g$segment() { return H5E_OHDR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static long H5E_OHDR_g()
+ {
+ return H5E_OHDR_g$constants.SEGMENT.get(H5E_OHDR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static void H5E_OHDR_g(long varValue)
+ {
+ H5E_OHDR_g$constants.SEGMENT.set(H5E_OHDR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PAGEBUF_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PAGEBUF_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static OfLong H5E_PAGEBUF_g$layout() { return H5E_PAGEBUF_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static MemorySegment H5E_PAGEBUF_g$segment() { return H5E_PAGEBUF_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static long H5E_PAGEBUF_g()
+ {
+ return H5E_PAGEBUF_g$constants.SEGMENT.get(H5E_PAGEBUF_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static void H5E_PAGEBUF_g(long varValue)
+ {
+ H5E_PAGEBUF_g$constants.SEGMENT.set(H5E_PAGEBUF_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PLINE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PLINE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static OfLong H5E_PLINE_g$layout() { return H5E_PLINE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static MemorySegment H5E_PLINE_g$segment() { return H5E_PLINE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static long H5E_PLINE_g()
+ {
+ return H5E_PLINE_g$constants.SEGMENT.get(H5E_PLINE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static void H5E_PLINE_g(long varValue)
+ {
+ H5E_PLINE_g$constants.SEGMENT.set(H5E_PLINE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PLIST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PLIST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static OfLong H5E_PLIST_g$layout() { return H5E_PLIST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static MemorySegment H5E_PLIST_g$segment() { return H5E_PLIST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static long H5E_PLIST_g()
+ {
+ return H5E_PLIST_g$constants.SEGMENT.get(H5E_PLIST_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static void H5E_PLIST_g(long varValue)
+ {
+ H5E_PLIST_g$constants.SEGMENT.set(H5E_PLIST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PLUGIN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PLUGIN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static OfLong H5E_PLUGIN_g$layout() { return H5E_PLUGIN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static MemorySegment H5E_PLUGIN_g$segment() { return H5E_PLUGIN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static long H5E_PLUGIN_g()
+ {
+ return H5E_PLUGIN_g$constants.SEGMENT.get(H5E_PLUGIN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static void H5E_PLUGIN_g(long varValue)
+ {
+ H5E_PLUGIN_g$constants.SEGMENT.set(H5E_PLUGIN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_REFERENCE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_REFERENCE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static OfLong H5E_REFERENCE_g$layout() { return H5E_REFERENCE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static MemorySegment H5E_REFERENCE_g$segment() { return H5E_REFERENCE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static long H5E_REFERENCE_g()
+ {
+ return H5E_REFERENCE_g$constants.SEGMENT.get(H5E_REFERENCE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static void H5E_REFERENCE_g(long varValue)
+ {
+ H5E_REFERENCE_g$constants.SEGMENT.set(H5E_REFERENCE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_RESOURCE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_RESOURCE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static OfLong H5E_RESOURCE_g$layout() { return H5E_RESOURCE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static MemorySegment H5E_RESOURCE_g$segment() { return H5E_RESOURCE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static long H5E_RESOURCE_g()
+ {
+ return H5E_RESOURCE_g$constants.SEGMENT.get(H5E_RESOURCE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static void H5E_RESOURCE_g(long varValue)
+ {
+ H5E_RESOURCE_g$constants.SEGMENT.set(H5E_RESOURCE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_RS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_RS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static OfLong H5E_RS_g$layout() { return H5E_RS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static MemorySegment H5E_RS_g$segment() { return H5E_RS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static long H5E_RS_g() { return H5E_RS_g$constants.SEGMENT.get(H5E_RS_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static void H5E_RS_g(long varValue)
+ {
+ H5E_RS_g$constants.SEGMENT.set(H5E_RS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_RTREE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_RTREE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static OfLong H5E_RTREE_g$layout() { return H5E_RTREE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static MemorySegment H5E_RTREE_g$segment() { return H5E_RTREE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static long H5E_RTREE_g()
+ {
+ return H5E_RTREE_g$constants.SEGMENT.get(H5E_RTREE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static void H5E_RTREE_g(long varValue)
+ {
+ H5E_RTREE_g$constants.SEGMENT.set(H5E_RTREE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SLIST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SLIST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static OfLong H5E_SLIST_g$layout() { return H5E_SLIST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static MemorySegment H5E_SLIST_g$segment() { return H5E_SLIST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static long H5E_SLIST_g()
+ {
+ return H5E_SLIST_g$constants.SEGMENT.get(H5E_SLIST_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static void H5E_SLIST_g(long varValue)
+ {
+ H5E_SLIST_g$constants.SEGMENT.set(H5E_SLIST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SOHM_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SOHM_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static OfLong H5E_SOHM_g$layout() { return H5E_SOHM_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static MemorySegment H5E_SOHM_g$segment() { return H5E_SOHM_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static long H5E_SOHM_g()
+ {
+ return H5E_SOHM_g$constants.SEGMENT.get(H5E_SOHM_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static void H5E_SOHM_g(long varValue)
+ {
+ H5E_SOHM_g$constants.SEGMENT.set(H5E_SOHM_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_STORAGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_STORAGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static OfLong H5E_STORAGE_g$layout() { return H5E_STORAGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static MemorySegment H5E_STORAGE_g$segment() { return H5E_STORAGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static long H5E_STORAGE_g()
+ {
+ return H5E_STORAGE_g$constants.SEGMENT.get(H5E_STORAGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static void H5E_STORAGE_g(long varValue)
+ {
+ H5E_STORAGE_g$constants.SEGMENT.set(H5E_STORAGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SYM_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SYM_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static OfLong H5E_SYM_g$layout() { return H5E_SYM_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static MemorySegment H5E_SYM_g$segment() { return H5E_SYM_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static long H5E_SYM_g() { return H5E_SYM_g$constants.SEGMENT.get(H5E_SYM_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static void H5E_SYM_g(long varValue)
+ {
+ H5E_SYM_g$constants.SEGMENT.set(H5E_SYM_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_THREADSAFE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_THREADSAFE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static OfLong H5E_THREADSAFE_g$layout() { return H5E_THREADSAFE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static MemorySegment H5E_THREADSAFE_g$segment() { return H5E_THREADSAFE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static long H5E_THREADSAFE_g()
+ {
+ return H5E_THREADSAFE_g$constants.SEGMENT.get(H5E_THREADSAFE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static void H5E_THREADSAFE_g(long varValue)
+ {
+ H5E_THREADSAFE_g$constants.SEGMENT.set(H5E_THREADSAFE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_TST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_TST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static OfLong H5E_TST_g$layout() { return H5E_TST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static MemorySegment H5E_TST_g$segment() { return H5E_TST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static long H5E_TST_g() { return H5E_TST_g$constants.SEGMENT.get(H5E_TST_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static void H5E_TST_g(long varValue)
+ {
+ H5E_TST_g$constants.SEGMENT.set(H5E_TST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_VFL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_VFL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static OfLong H5E_VFL_g$layout() { return H5E_VFL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static MemorySegment H5E_VFL_g$segment() { return H5E_VFL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static long H5E_VFL_g() { return H5E_VFL_g$constants.SEGMENT.get(H5E_VFL_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static void H5E_VFL_g(long varValue)
+ {
+ H5E_VFL_g$constants.SEGMENT.set(H5E_VFL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_VOL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_VOL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static OfLong H5E_VOL_g$layout() { return H5E_VOL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static MemorySegment H5E_VOL_g$segment() { return H5E_VOL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static long H5E_VOL_g() { return H5E_VOL_g$constants.SEGMENT.get(H5E_VOL_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static void H5E_VOL_g(long varValue)
+ {
+ H5E_VOL_g$constants.SEGMENT.set(H5E_VOL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADRANGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADRANGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static OfLong H5E_BADRANGE_g$layout() { return H5E_BADRANGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static MemorySegment H5E_BADRANGE_g$segment() { return H5E_BADRANGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static long H5E_BADRANGE_g()
+ {
+ return H5E_BADRANGE_g$constants.SEGMENT.get(H5E_BADRANGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static void H5E_BADRANGE_g(long varValue)
+ {
+ H5E_BADRANGE_g$constants.SEGMENT.set(H5E_BADRANGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADTYPE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADTYPE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static OfLong H5E_BADTYPE_g$layout() { return H5E_BADTYPE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static MemorySegment H5E_BADTYPE_g$segment() { return H5E_BADTYPE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static long H5E_BADTYPE_g()
+ {
+ return H5E_BADTYPE_g$constants.SEGMENT.get(H5E_BADTYPE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static void H5E_BADTYPE_g(long varValue)
+ {
+ H5E_BADTYPE_g$constants.SEGMENT.set(H5E_BADTYPE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADVALUE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADVALUE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static OfLong H5E_BADVALUE_g$layout() { return H5E_BADVALUE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static MemorySegment H5E_BADVALUE_g$segment() { return H5E_BADVALUE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static long H5E_BADVALUE_g()
+ {
+ return H5E_BADVALUE_g$constants.SEGMENT.get(H5E_BADVALUE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static void H5E_BADVALUE_g(long varValue)
+ {
+ H5E_BADVALUE_g$constants.SEGMENT.set(H5E_BADVALUE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_UNINITIALIZED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_UNINITIALIZED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static OfLong H5E_UNINITIALIZED_g$layout() { return H5E_UNINITIALIZED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static MemorySegment H5E_UNINITIALIZED_g$segment()
+ {
+ return H5E_UNINITIALIZED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static long H5E_UNINITIALIZED_g()
+ {
+ return H5E_UNINITIALIZED_g$constants.SEGMENT.get(H5E_UNINITIALIZED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static void H5E_UNINITIALIZED_g(long varValue)
+ {
+ H5E_UNINITIALIZED_g$constants.SEGMENT.set(H5E_UNINITIALIZED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_UNSUPPORTED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_UNSUPPORTED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static OfLong H5E_UNSUPPORTED_g$layout() { return H5E_UNSUPPORTED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static MemorySegment H5E_UNSUPPORTED_g$segment() { return H5E_UNSUPPORTED_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static long H5E_UNSUPPORTED_g()
+ {
+ return H5E_UNSUPPORTED_g$constants.SEGMENT.get(H5E_UNSUPPORTED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static void H5E_UNSUPPORTED_g(long varValue)
+ {
+ H5E_UNSUPPORTED_g$constants.SEGMENT.set(H5E_UNSUPPORTED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCANCEL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCANCEL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static OfLong H5E_CANTCANCEL_g$layout() { return H5E_CANTCANCEL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCANCEL_g$segment() { return H5E_CANTCANCEL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static long H5E_CANTCANCEL_g()
+ {
+ return H5E_CANTCANCEL_g$constants.SEGMENT.get(H5E_CANTCANCEL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static void H5E_CANTCANCEL_g(long varValue)
+ {
+ H5E_CANTCANCEL_g$constants.SEGMENT.set(H5E_CANTCANCEL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTWAIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTWAIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static OfLong H5E_CANTWAIT_g$layout() { return H5E_CANTWAIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTWAIT_g$segment() { return H5E_CANTWAIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static long H5E_CANTWAIT_g()
+ {
+ return H5E_CANTWAIT_g$constants.SEGMENT.get(H5E_CANTWAIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static void H5E_CANTWAIT_g(long varValue)
+ {
+ H5E_CANTWAIT_g$constants.SEGMENT.set(H5E_CANTWAIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDECODE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDECODE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static OfLong H5E_CANTDECODE_g$layout() { return H5E_CANTDECODE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDECODE_g$segment() { return H5E_CANTDECODE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static long H5E_CANTDECODE_g()
+ {
+ return H5E_CANTDECODE_g$constants.SEGMENT.get(H5E_CANTDECODE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static void H5E_CANTDECODE_g(long varValue)
+ {
+ H5E_CANTDECODE_g$constants.SEGMENT.set(H5E_CANTDECODE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTENCODE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTENCODE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static OfLong H5E_CANTENCODE_g$layout() { return H5E_CANTENCODE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTENCODE_g$segment() { return H5E_CANTENCODE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static long H5E_CANTENCODE_g()
+ {
+ return H5E_CANTENCODE_g$constants.SEGMENT.get(H5E_CANTENCODE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static void H5E_CANTENCODE_g(long varValue)
+ {
+ H5E_CANTENCODE_g$constants.SEGMENT.set(H5E_CANTENCODE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFIND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFIND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static OfLong H5E_CANTFIND_g$layout() { return H5E_CANTFIND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFIND_g$segment() { return H5E_CANTFIND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static long H5E_CANTFIND_g()
+ {
+ return H5E_CANTFIND_g$constants.SEGMENT.get(H5E_CANTFIND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static void H5E_CANTFIND_g(long varValue)
+ {
+ H5E_CANTFIND_g$constants.SEGMENT.set(H5E_CANTFIND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINSERT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINSERT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static OfLong H5E_CANTINSERT_g$layout() { return H5E_CANTINSERT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINSERT_g$segment() { return H5E_CANTINSERT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static long H5E_CANTINSERT_g()
+ {
+ return H5E_CANTINSERT_g$constants.SEGMENT.get(H5E_CANTINSERT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static void H5E_CANTINSERT_g(long varValue)
+ {
+ H5E_CANTINSERT_g$constants.SEGMENT.set(H5E_CANTINSERT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLIST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLIST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static OfLong H5E_CANTLIST_g$layout() { return H5E_CANTLIST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLIST_g$segment() { return H5E_CANTLIST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static long H5E_CANTLIST_g()
+ {
+ return H5E_CANTLIST_g$constants.SEGMENT.get(H5E_CANTLIST_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static void H5E_CANTLIST_g(long varValue)
+ {
+ H5E_CANTLIST_g$constants.SEGMENT.set(H5E_CANTLIST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMODIFY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMODIFY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static OfLong H5E_CANTMODIFY_g$layout() { return H5E_CANTMODIFY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMODIFY_g$segment() { return H5E_CANTMODIFY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static long H5E_CANTMODIFY_g()
+ {
+ return H5E_CANTMODIFY_g$constants.SEGMENT.get(H5E_CANTMODIFY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static void H5E_CANTMODIFY_g(long varValue)
+ {
+ H5E_CANTMODIFY_g$constants.SEGMENT.set(H5E_CANTMODIFY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREDISTRIBUTE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREDISTRIBUTE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static OfLong H5E_CANTREDISTRIBUTE_g$layout() { return H5E_CANTREDISTRIBUTE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREDISTRIBUTE_g$segment()
+ {
+ return H5E_CANTREDISTRIBUTE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static long H5E_CANTREDISTRIBUTE_g()
+ {
+ return H5E_CANTREDISTRIBUTE_g$constants.SEGMENT.get(H5E_CANTREDISTRIBUTE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static void H5E_CANTREDISTRIBUTE_g(long varValue)
+ {
+ H5E_CANTREDISTRIBUTE_g$constants.SEGMENT.set(H5E_CANTREDISTRIBUTE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREMOVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREMOVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static OfLong H5E_CANTREMOVE_g$layout() { return H5E_CANTREMOVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREMOVE_g$segment() { return H5E_CANTREMOVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static long H5E_CANTREMOVE_g()
+ {
+ return H5E_CANTREMOVE_g$constants.SEGMENT.get(H5E_CANTREMOVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static void H5E_CANTREMOVE_g(long varValue)
+ {
+ H5E_CANTREMOVE_g$constants.SEGMENT.set(H5E_CANTREMOVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSPLIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSPLIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static OfLong H5E_CANTSPLIT_g$layout() { return H5E_CANTSPLIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSPLIT_g$segment() { return H5E_CANTSPLIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static long H5E_CANTSPLIT_g()
+ {
+ return H5E_CANTSPLIT_g$constants.SEGMENT.get(H5E_CANTSPLIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static void H5E_CANTSPLIT_g(long varValue)
+ {
+ H5E_CANTSPLIT_g$constants.SEGMENT.set(H5E_CANTSPLIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSWAP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSWAP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static OfLong H5E_CANTSWAP_g$layout() { return H5E_CANTSWAP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSWAP_g$segment() { return H5E_CANTSWAP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static long H5E_CANTSWAP_g()
+ {
+ return H5E_CANTSWAP_g$constants.SEGMENT.get(H5E_CANTSWAP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static void H5E_CANTSWAP_g(long varValue)
+ {
+ H5E_CANTSWAP_g$constants.SEGMENT.set(H5E_CANTSWAP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EXISTS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EXISTS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static OfLong H5E_EXISTS_g$layout() { return H5E_EXISTS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static MemorySegment H5E_EXISTS_g$segment() { return H5E_EXISTS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static long H5E_EXISTS_g()
+ {
+ return H5E_EXISTS_g$constants.SEGMENT.get(H5E_EXISTS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static void H5E_EXISTS_g(long varValue)
+ {
+ H5E_EXISTS_g$constants.SEGMENT.set(H5E_EXISTS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTFOUND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTFOUND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static OfLong H5E_NOTFOUND_g$layout() { return H5E_NOTFOUND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static MemorySegment H5E_NOTFOUND_g$segment() { return H5E_NOTFOUND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static long H5E_NOTFOUND_g()
+ {
+ return H5E_NOTFOUND_g$constants.SEGMENT.get(H5E_NOTFOUND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static void H5E_NOTFOUND_g(long varValue)
+ {
+ H5E_NOTFOUND_g$constants.SEGMENT.set(H5E_NOTFOUND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLEAN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLEAN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static OfLong H5E_CANTCLEAN_g$layout() { return H5E_CANTCLEAN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLEAN_g$segment() { return H5E_CANTCLEAN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static long H5E_CANTCLEAN_g()
+ {
+ return H5E_CANTCLEAN_g$constants.SEGMENT.get(H5E_CANTCLEAN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static void H5E_CANTCLEAN_g(long varValue)
+ {
+ H5E_CANTCLEAN_g$constants.SEGMENT.set(H5E_CANTCLEAN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCORK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCORK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static OfLong H5E_CANTCORK_g$layout() { return H5E_CANTCORK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCORK_g$segment() { return H5E_CANTCORK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static long H5E_CANTCORK_g()
+ {
+ return H5E_CANTCORK_g$constants.SEGMENT.get(H5E_CANTCORK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static void H5E_CANTCORK_g(long varValue)
+ {
+ H5E_CANTCORK_g$constants.SEGMENT.set(H5E_CANTCORK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDEPEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDEPEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static OfLong H5E_CANTDEPEND_g$layout() { return H5E_CANTDEPEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDEPEND_g$segment() { return H5E_CANTDEPEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static long H5E_CANTDEPEND_g()
+ {
+ return H5E_CANTDEPEND_g$constants.SEGMENT.get(H5E_CANTDEPEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static void H5E_CANTDEPEND_g(long varValue)
+ {
+ H5E_CANTDEPEND_g$constants.SEGMENT.set(H5E_CANTDEPEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDIRTY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDIRTY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static OfLong H5E_CANTDIRTY_g$layout() { return H5E_CANTDIRTY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDIRTY_g$segment() { return H5E_CANTDIRTY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static long H5E_CANTDIRTY_g()
+ {
+ return H5E_CANTDIRTY_g$constants.SEGMENT.get(H5E_CANTDIRTY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static void H5E_CANTDIRTY_g(long varValue)
+ {
+ H5E_CANTDIRTY_g$constants.SEGMENT.set(H5E_CANTDIRTY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTEXPUNGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTEXPUNGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static OfLong H5E_CANTEXPUNGE_g$layout() { return H5E_CANTEXPUNGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTEXPUNGE_g$segment() { return H5E_CANTEXPUNGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static long H5E_CANTEXPUNGE_g()
+ {
+ return H5E_CANTEXPUNGE_g$constants.SEGMENT.get(H5E_CANTEXPUNGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static void H5E_CANTEXPUNGE_g(long varValue)
+ {
+ H5E_CANTEXPUNGE_g$constants.SEGMENT.set(H5E_CANTEXPUNGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFLUSH_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFLUSH_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static OfLong H5E_CANTFLUSH_g$layout() { return H5E_CANTFLUSH_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFLUSH_g$segment() { return H5E_CANTFLUSH_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static long H5E_CANTFLUSH_g()
+ {
+ return H5E_CANTFLUSH_g$constants.SEGMENT.get(H5E_CANTFLUSH_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static void H5E_CANTFLUSH_g(long varValue)
+ {
+ H5E_CANTFLUSH_g$constants.SEGMENT.set(H5E_CANTFLUSH_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static OfLong H5E_CANTINS_g$layout() { return H5E_CANTINS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINS_g$segment() { return H5E_CANTINS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static long H5E_CANTINS_g()
+ {
+ return H5E_CANTINS_g$constants.SEGMENT.get(H5E_CANTINS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static void H5E_CANTINS_g(long varValue)
+ {
+ H5E_CANTINS_g$constants.SEGMENT.set(H5E_CANTINS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLOAD_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLOAD_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static OfLong H5E_CANTLOAD_g$layout() { return H5E_CANTLOAD_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLOAD_g$segment() { return H5E_CANTLOAD_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static long H5E_CANTLOAD_g()
+ {
+ return H5E_CANTLOAD_g$constants.SEGMENT.get(H5E_CANTLOAD_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static void H5E_CANTLOAD_g(long varValue)
+ {
+ H5E_CANTLOAD_g$constants.SEGMENT.set(H5E_CANTLOAD_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMARKCLEAN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKCLEAN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKCLEAN_g$layout() { return H5E_CANTMARKCLEAN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKCLEAN_g$segment()
+ {
+ return H5E_CANTMARKCLEAN_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static long H5E_CANTMARKCLEAN_g()
+ {
+ return H5E_CANTMARKCLEAN_g$constants.SEGMENT.get(H5E_CANTMARKCLEAN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static void H5E_CANTMARKCLEAN_g(long varValue)
+ {
+ H5E_CANTMARKCLEAN_g$constants.SEGMENT.set(H5E_CANTMARKCLEAN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMARKDIRTY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKDIRTY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKDIRTY_g$layout() { return H5E_CANTMARKDIRTY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKDIRTY_g$segment()
+ {
+ return H5E_CANTMARKDIRTY_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static long H5E_CANTMARKDIRTY_g()
+ {
+ return H5E_CANTMARKDIRTY_g$constants.SEGMENT.get(H5E_CANTMARKDIRTY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static void H5E_CANTMARKDIRTY_g(long varValue)
+ {
+ H5E_CANTMARKDIRTY_g$constants.SEGMENT.set(H5E_CANTMARKDIRTY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMARKSERIALIZED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKSERIALIZED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKSERIALIZED_g$layout()
+ {
+ return H5E_CANTMARKSERIALIZED_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKSERIALIZED_g$segment()
+ {
+ return H5E_CANTMARKSERIALIZED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static long H5E_CANTMARKSERIALIZED_g()
+ {
+ return H5E_CANTMARKSERIALIZED_g$constants.SEGMENT.get(H5E_CANTMARKSERIALIZED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static void H5E_CANTMARKSERIALIZED_g(long varValue)
+ {
+ H5E_CANTMARKSERIALIZED_g$constants.SEGMENT.set(H5E_CANTMARKSERIALIZED_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5E_CANTMARKUNSERIALIZED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKUNSERIALIZED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKUNSERIALIZED_g$layout()
+ {
+ return H5E_CANTMARKUNSERIALIZED_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKUNSERIALIZED_g$segment()
+ {
+ return H5E_CANTMARKUNSERIALIZED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static long H5E_CANTMARKUNSERIALIZED_g()
+ {
+ return H5E_CANTMARKUNSERIALIZED_g$constants.SEGMENT.get(H5E_CANTMARKUNSERIALIZED_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static void H5E_CANTMARKUNSERIALIZED_g(long varValue)
+ {
+ H5E_CANTMARKUNSERIALIZED_g$constants.SEGMENT.set(H5E_CANTMARKUNSERIALIZED_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5E_CANTNOTIFY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTNOTIFY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static OfLong H5E_CANTNOTIFY_g$layout() { return H5E_CANTNOTIFY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTNOTIFY_g$segment() { return H5E_CANTNOTIFY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static long H5E_CANTNOTIFY_g()
+ {
+ return H5E_CANTNOTIFY_g$constants.SEGMENT.get(H5E_CANTNOTIFY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static void H5E_CANTNOTIFY_g(long varValue)
+ {
+ H5E_CANTNOTIFY_g$constants.SEGMENT.set(H5E_CANTNOTIFY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPIN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPIN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static OfLong H5E_CANTPIN_g$layout() { return H5E_CANTPIN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPIN_g$segment() { return H5E_CANTPIN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static long H5E_CANTPIN_g()
+ {
+ return H5E_CANTPIN_g$constants.SEGMENT.get(H5E_CANTPIN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static void H5E_CANTPIN_g(long varValue)
+ {
+ H5E_CANTPIN_g$constants.SEGMENT.set(H5E_CANTPIN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPROTECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPROTECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static OfLong H5E_CANTPROTECT_g$layout() { return H5E_CANTPROTECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPROTECT_g$segment() { return H5E_CANTPROTECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static long H5E_CANTPROTECT_g()
+ {
+ return H5E_CANTPROTECT_g$constants.SEGMENT.get(H5E_CANTPROTECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static void H5E_CANTPROTECT_g(long varValue)
+ {
+ H5E_CANTPROTECT_g$constants.SEGMENT.set(H5E_CANTPROTECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRESIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRESIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTRESIZE_g$layout() { return H5E_CANTRESIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRESIZE_g$segment() { return H5E_CANTRESIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static long H5E_CANTRESIZE_g()
+ {
+ return H5E_CANTRESIZE_g$constants.SEGMENT.get(H5E_CANTRESIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static void H5E_CANTRESIZE_g(long varValue)
+ {
+ H5E_CANTRESIZE_g$constants.SEGMENT.set(H5E_CANTRESIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSERIALIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSERIALIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTSERIALIZE_g$layout() { return H5E_CANTSERIALIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSERIALIZE_g$segment()
+ {
+ return H5E_CANTSERIALIZE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static long H5E_CANTSERIALIZE_g()
+ {
+ return H5E_CANTSERIALIZE_g$constants.SEGMENT.get(H5E_CANTSERIALIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static void H5E_CANTSERIALIZE_g(long varValue)
+ {
+ H5E_CANTSERIALIZE_g$constants.SEGMENT.set(H5E_CANTSERIALIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTTAG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTTAG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static OfLong H5E_CANTTAG_g$layout() { return H5E_CANTTAG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static MemorySegment H5E_CANTTAG_g$segment() { return H5E_CANTTAG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static long H5E_CANTTAG_g()
+ {
+ return H5E_CANTTAG_g$constants.SEGMENT.get(H5E_CANTTAG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static void H5E_CANTTAG_g(long varValue)
+ {
+ H5E_CANTTAG_g$constants.SEGMENT.set(H5E_CANTTAG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNCORK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNCORK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static OfLong H5E_CANTUNCORK_g$layout() { return H5E_CANTUNCORK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNCORK_g$segment() { return H5E_CANTUNCORK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static long H5E_CANTUNCORK_g()
+ {
+ return H5E_CANTUNCORK_g$constants.SEGMENT.get(H5E_CANTUNCORK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static void H5E_CANTUNCORK_g(long varValue)
+ {
+ H5E_CANTUNCORK_g$constants.SEGMENT.set(H5E_CANTUNCORK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNDEPEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNDEPEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static OfLong H5E_CANTUNDEPEND_g$layout() { return H5E_CANTUNDEPEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNDEPEND_g$segment() { return H5E_CANTUNDEPEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static long H5E_CANTUNDEPEND_g()
+ {
+ return H5E_CANTUNDEPEND_g$constants.SEGMENT.get(H5E_CANTUNDEPEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static void H5E_CANTUNDEPEND_g(long varValue)
+ {
+ H5E_CANTUNDEPEND_g$constants.SEGMENT.set(H5E_CANTUNDEPEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNPIN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNPIN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static OfLong H5E_CANTUNPIN_g$layout() { return H5E_CANTUNPIN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNPIN_g$segment() { return H5E_CANTUNPIN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static long H5E_CANTUNPIN_g()
+ {
+ return H5E_CANTUNPIN_g$constants.SEGMENT.get(H5E_CANTUNPIN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static void H5E_CANTUNPIN_g(long varValue)
+ {
+ H5E_CANTUNPIN_g$constants.SEGMENT.set(H5E_CANTUNPIN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNPROTECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNPROTECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static OfLong H5E_CANTUNPROTECT_g$layout() { return H5E_CANTUNPROTECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNPROTECT_g$segment()
+ {
+ return H5E_CANTUNPROTECT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static long H5E_CANTUNPROTECT_g()
+ {
+ return H5E_CANTUNPROTECT_g$constants.SEGMENT.get(H5E_CANTUNPROTECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static void H5E_CANTUNPROTECT_g(long varValue)
+ {
+ H5E_CANTUNPROTECT_g$constants.SEGMENT.set(H5E_CANTUNPROTECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNSERIALIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNSERIALIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTUNSERIALIZE_g$layout() { return H5E_CANTUNSERIALIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNSERIALIZE_g$segment()
+ {
+ return H5E_CANTUNSERIALIZE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static long H5E_CANTUNSERIALIZE_g()
+ {
+ return H5E_CANTUNSERIALIZE_g$constants.SEGMENT.get(H5E_CANTUNSERIALIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static void H5E_CANTUNSERIALIZE_g(long varValue)
+ {
+ H5E_CANTUNSERIALIZE_g$constants.SEGMENT.set(H5E_CANTUNSERIALIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LOGGING_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LOGGING_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static OfLong H5E_LOGGING_g$layout() { return H5E_LOGGING_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static MemorySegment H5E_LOGGING_g$segment() { return H5E_LOGGING_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static long H5E_LOGGING_g()
+ {
+ return H5E_LOGGING_g$constants.SEGMENT.get(H5E_LOGGING_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static void H5E_LOGGING_g(long varValue)
+ {
+ H5E_LOGGING_g$constants.SEGMENT.set(H5E_LOGGING_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTCACHED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTCACHED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static OfLong H5E_NOTCACHED_g$layout() { return H5E_NOTCACHED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static MemorySegment H5E_NOTCACHED_g$segment() { return H5E_NOTCACHED_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static long H5E_NOTCACHED_g()
+ {
+ return H5E_NOTCACHED_g$constants.SEGMENT.get(H5E_NOTCACHED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static void H5E_NOTCACHED_g(long varValue)
+ {
+ H5E_NOTCACHED_g$constants.SEGMENT.set(H5E_NOTCACHED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PROTECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PROTECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static OfLong H5E_PROTECT_g$layout() { return H5E_PROTECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static MemorySegment H5E_PROTECT_g$segment() { return H5E_PROTECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static long H5E_PROTECT_g()
+ {
+ return H5E_PROTECT_g$constants.SEGMENT.get(H5E_PROTECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static void H5E_PROTECT_g(long varValue)
+ {
+ H5E_PROTECT_g$constants.SEGMENT.set(H5E_PROTECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SYSTEM_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SYSTEM_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static OfLong H5E_SYSTEM_g$layout() { return H5E_SYSTEM_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static MemorySegment H5E_SYSTEM_g$segment() { return H5E_SYSTEM_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static long H5E_SYSTEM_g()
+ {
+ return H5E_SYSTEM_g$constants.SEGMENT.get(H5E_SYSTEM_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static void H5E_SYSTEM_g(long varValue)
+ {
+ H5E_SYSTEM_g$constants.SEGMENT.set(H5E_SYSTEM_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADSELECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADSELECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static OfLong H5E_BADSELECT_g$layout() { return H5E_BADSELECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static MemorySegment H5E_BADSELECT_g$segment() { return H5E_BADSELECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static long H5E_BADSELECT_g()
+ {
+ return H5E_BADSELECT_g$constants.SEGMENT.get(H5E_BADSELECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static void H5E_BADSELECT_g(long varValue)
+ {
+ H5E_BADSELECT_g$constants.SEGMENT.set(H5E_BADSELECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTAPPEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTAPPEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static OfLong H5E_CANTAPPEND_g$layout() { return H5E_CANTAPPEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTAPPEND_g$segment() { return H5E_CANTAPPEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static long H5E_CANTAPPEND_g()
+ {
+ return H5E_CANTAPPEND_g$constants.SEGMENT.get(H5E_CANTAPPEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static void H5E_CANTAPPEND_g(long varValue)
+ {
+ H5E_CANTAPPEND_g$constants.SEGMENT.set(H5E_CANTAPPEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLIP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLIP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static OfLong H5E_CANTCLIP_g$layout() { return H5E_CANTCLIP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLIP_g$segment() { return H5E_CANTCLIP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static long H5E_CANTCLIP_g()
+ {
+ return H5E_CANTCLIP_g$constants.SEGMENT.get(H5E_CANTCLIP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static void H5E_CANTCLIP_g(long varValue)
+ {
+ H5E_CANTCLIP_g$constants.SEGMENT.set(H5E_CANTCLIP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOMPARE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOMPARE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static OfLong H5E_CANTCOMPARE_g$layout() { return H5E_CANTCOMPARE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOMPARE_g$segment() { return H5E_CANTCOMPARE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static long H5E_CANTCOMPARE_g()
+ {
+ return H5E_CANTCOMPARE_g$constants.SEGMENT.get(H5E_CANTCOMPARE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static void H5E_CANTCOMPARE_g(long varValue)
+ {
+ H5E_CANTCOMPARE_g$constants.SEGMENT.set(H5E_CANTCOMPARE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static OfLong H5E_CANTCOUNT_g$layout() { return H5E_CANTCOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOUNT_g$segment() { return H5E_CANTCOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static long H5E_CANTCOUNT_g()
+ {
+ return H5E_CANTCOUNT_g$constants.SEGMENT.get(H5E_CANTCOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static void H5E_CANTCOUNT_g(long varValue)
+ {
+ H5E_CANTCOUNT_g$constants.SEGMENT.set(H5E_CANTCOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTNEXT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTNEXT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static OfLong H5E_CANTNEXT_g$layout() { return H5E_CANTNEXT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTNEXT_g$segment() { return H5E_CANTNEXT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static long H5E_CANTNEXT_g()
+ {
+ return H5E_CANTNEXT_g$constants.SEGMENT.get(H5E_CANTNEXT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static void H5E_CANTNEXT_g(long varValue)
+ {
+ H5E_CANTNEXT_g$constants.SEGMENT.set(H5E_CANTNEXT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSELECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSELECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static OfLong H5E_CANTSELECT_g$layout() { return H5E_CANTSELECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSELECT_g$segment() { return H5E_CANTSELECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static long H5E_CANTSELECT_g()
+ {
+ return H5E_CANTSELECT_g$constants.SEGMENT.get(H5E_CANTSELECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static void H5E_CANTSELECT_g(long varValue)
+ {
+ H5E_CANTSELECT_g$constants.SEGMENT.set(H5E_CANTSELECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_INCONSISTENTSTATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_INCONSISTENTSTATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static OfLong H5E_INCONSISTENTSTATE_g$layout() { return H5E_INCONSISTENTSTATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static MemorySegment H5E_INCONSISTENTSTATE_g$segment()
+ {
+ return H5E_INCONSISTENTSTATE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static long H5E_INCONSISTENTSTATE_g()
+ {
+ return H5E_INCONSISTENTSTATE_g$constants.SEGMENT.get(H5E_INCONSISTENTSTATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static void H5E_INCONSISTENTSTATE_g(long varValue)
+ {
+ H5E_INCONSISTENTSTATE_g$constants.SEGMENT.set(H5E_INCONSISTENTSTATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CLOSEERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CLOSEERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static OfLong H5E_CLOSEERROR_g$layout() { return H5E_CLOSEERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static MemorySegment H5E_CLOSEERROR_g$segment() { return H5E_CLOSEERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static long H5E_CLOSEERROR_g()
+ {
+ return H5E_CLOSEERROR_g$constants.SEGMENT.get(H5E_CLOSEERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static void H5E_CLOSEERROR_g(long varValue)
+ {
+ H5E_CLOSEERROR_g$constants.SEGMENT.set(H5E_CLOSEERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FCNTL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FCNTL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static OfLong H5E_FCNTL_g$layout() { return H5E_FCNTL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static MemorySegment H5E_FCNTL_g$segment() { return H5E_FCNTL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static long H5E_FCNTL_g()
+ {
+ return H5E_FCNTL_g$constants.SEGMENT.get(H5E_FCNTL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static void H5E_FCNTL_g(long varValue)
+ {
+ H5E_FCNTL_g$constants.SEGMENT.set(H5E_FCNTL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OVERFLOW_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OVERFLOW_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static OfLong H5E_OVERFLOW_g$layout() { return H5E_OVERFLOW_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static MemorySegment H5E_OVERFLOW_g$segment() { return H5E_OVERFLOW_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static long H5E_OVERFLOW_g()
+ {
+ return H5E_OVERFLOW_g$constants.SEGMENT.get(H5E_OVERFLOW_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static void H5E_OVERFLOW_g(long varValue)
+ {
+ H5E_OVERFLOW_g$constants.SEGMENT.set(H5E_OVERFLOW_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_READERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_READERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static OfLong H5E_READERROR_g$layout() { return H5E_READERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static MemorySegment H5E_READERROR_g$segment() { return H5E_READERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static long H5E_READERROR_g()
+ {
+ return H5E_READERROR_g$constants.SEGMENT.get(H5E_READERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static void H5E_READERROR_g(long varValue)
+ {
+ H5E_READERROR_g$constants.SEGMENT.set(H5E_READERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SEEKERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SEEKERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static OfLong H5E_SEEKERROR_g$layout() { return H5E_SEEKERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static MemorySegment H5E_SEEKERROR_g$segment() { return H5E_SEEKERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static long H5E_SEEKERROR_g()
+ {
+ return H5E_SEEKERROR_g$constants.SEGMENT.get(H5E_SEEKERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static void H5E_SEEKERROR_g(long varValue)
+ {
+ H5E_SEEKERROR_g$constants.SEGMENT.set(H5E_SEEKERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_WRITEERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_WRITEERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static OfLong H5E_WRITEERROR_g$layout() { return H5E_WRITEERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static MemorySegment H5E_WRITEERROR_g$segment() { return H5E_WRITEERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static long H5E_WRITEERROR_g()
+ {
+ return H5E_WRITEERROR_g$constants.SEGMENT.get(H5E_WRITEERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static void H5E_WRITEERROR_g(long varValue)
+ {
+ H5E_WRITEERROR_g$constants.SEGMENT.set(H5E_WRITEERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static OfLong H5E_BADFILE_g$layout() { return H5E_BADFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static MemorySegment H5E_BADFILE_g$segment() { return H5E_BADFILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static long H5E_BADFILE_g()
+ {
+ return H5E_BADFILE_g$constants.SEGMENT.get(H5E_BADFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static void H5E_BADFILE_g(long varValue)
+ {
+ H5E_BADFILE_g$constants.SEGMENT.set(H5E_BADFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLOSEFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLOSEFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTCLOSEFILE_g$layout() { return H5E_CANTCLOSEFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLOSEFILE_g$segment()
+ {
+ return H5E_CANTCLOSEFILE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static long H5E_CANTCLOSEFILE_g()
+ {
+ return H5E_CANTCLOSEFILE_g$constants.SEGMENT.get(H5E_CANTCLOSEFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static void H5E_CANTCLOSEFILE_g(long varValue)
+ {
+ H5E_CANTCLOSEFILE_g$constants.SEGMENT.set(H5E_CANTCLOSEFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCREATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCREATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static OfLong H5E_CANTCREATE_g$layout() { return H5E_CANTCREATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCREATE_g$segment() { return H5E_CANTCREATE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static long H5E_CANTCREATE_g()
+ {
+ return H5E_CANTCREATE_g$constants.SEGMENT.get(H5E_CANTCREATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static void H5E_CANTCREATE_g(long varValue)
+ {
+ H5E_CANTCREATE_g$constants.SEGMENT.set(H5E_CANTCREATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDELETEFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDELETEFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTDELETEFILE_g$layout() { return H5E_CANTDELETEFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDELETEFILE_g$segment()
+ {
+ return H5E_CANTDELETEFILE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static long H5E_CANTDELETEFILE_g()
+ {
+ return H5E_CANTDELETEFILE_g$constants.SEGMENT.get(H5E_CANTDELETEFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static void H5E_CANTDELETEFILE_g(long varValue)
+ {
+ H5E_CANTDELETEFILE_g$constants.SEGMENT.set(H5E_CANTDELETEFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLOCKFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLOCKFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTLOCKFILE_g$layout() { return H5E_CANTLOCKFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLOCKFILE_g$segment() { return H5E_CANTLOCKFILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static long H5E_CANTLOCKFILE_g()
+ {
+ return H5E_CANTLOCKFILE_g$constants.SEGMENT.get(H5E_CANTLOCKFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static void H5E_CANTLOCKFILE_g(long varValue)
+ {
+ H5E_CANTLOCKFILE_g$constants.SEGMENT.set(H5E_CANTLOCKFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTOPENFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTOPENFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTOPENFILE_g$layout() { return H5E_CANTOPENFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTOPENFILE_g$segment() { return H5E_CANTOPENFILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static long H5E_CANTOPENFILE_g()
+ {
+ return H5E_CANTOPENFILE_g$constants.SEGMENT.get(H5E_CANTOPENFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static void H5E_CANTOPENFILE_g(long varValue)
+ {
+ H5E_CANTOPENFILE_g$constants.SEGMENT.set(H5E_CANTOPENFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNLOCKFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNLOCKFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTUNLOCKFILE_g$layout() { return H5E_CANTUNLOCKFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNLOCKFILE_g$segment()
+ {
+ return H5E_CANTUNLOCKFILE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static long H5E_CANTUNLOCKFILE_g()
+ {
+ return H5E_CANTUNLOCKFILE_g$constants.SEGMENT.get(H5E_CANTUNLOCKFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static void H5E_CANTUNLOCKFILE_g(long varValue)
+ {
+ H5E_CANTUNLOCKFILE_g$constants.SEGMENT.set(H5E_CANTUNLOCKFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FILEEXISTS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FILEEXISTS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static OfLong H5E_FILEEXISTS_g$layout() { return H5E_FILEEXISTS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static MemorySegment H5E_FILEEXISTS_g$segment() { return H5E_FILEEXISTS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static long H5E_FILEEXISTS_g()
+ {
+ return H5E_FILEEXISTS_g$constants.SEGMENT.get(H5E_FILEEXISTS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static void H5E_FILEEXISTS_g(long varValue)
+ {
+ H5E_FILEEXISTS_g$constants.SEGMENT.set(H5E_FILEEXISTS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FILEOPEN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FILEOPEN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static OfLong H5E_FILEOPEN_g$layout() { return H5E_FILEOPEN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static MemorySegment H5E_FILEOPEN_g$segment() { return H5E_FILEOPEN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static long H5E_FILEOPEN_g()
+ {
+ return H5E_FILEOPEN_g$constants.SEGMENT.get(H5E_FILEOPEN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static void H5E_FILEOPEN_g(long varValue)
+ {
+ H5E_FILEOPEN_g$constants.SEGMENT.set(H5E_FILEOPEN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static OfLong H5E_MOUNT_g$layout() { return H5E_MOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_MOUNT_g$segment() { return H5E_MOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static long H5E_MOUNT_g()
+ {
+ return H5E_MOUNT_g$constants.SEGMENT.get(H5E_MOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static void H5E_MOUNT_g(long varValue)
+ {
+ H5E_MOUNT_g$constants.SEGMENT.set(H5E_MOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTHDF5_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTHDF5_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static OfLong H5E_NOTHDF5_g$layout() { return H5E_NOTHDF5_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static MemorySegment H5E_NOTHDF5_g$segment() { return H5E_NOTHDF5_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static long H5E_NOTHDF5_g()
+ {
+ return H5E_NOTHDF5_g$constants.SEGMENT.get(H5E_NOTHDF5_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static void H5E_NOTHDF5_g(long varValue)
+ {
+ H5E_NOTHDF5_g$constants.SEGMENT.set(H5E_NOTHDF5_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_TRUNCATED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_TRUNCATED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static OfLong H5E_TRUNCATED_g$layout() { return H5E_TRUNCATED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static MemorySegment H5E_TRUNCATED_g$segment() { return H5E_TRUNCATED_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static long H5E_TRUNCATED_g()
+ {
+ return H5E_TRUNCATED_g$constants.SEGMENT.get(H5E_TRUNCATED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static void H5E_TRUNCATED_g(long varValue)
+ {
+ H5E_TRUNCATED_g$constants.SEGMENT.set(H5E_TRUNCATED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_UNMOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_UNMOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static OfLong H5E_UNMOUNT_g$layout() { return H5E_UNMOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_UNMOUNT_g$segment() { return H5E_UNMOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static long H5E_UNMOUNT_g()
+ {
+ return H5E_UNMOUNT_g$constants.SEGMENT.get(H5E_UNMOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static void H5E_UNMOUNT_g(long varValue)
+ {
+ H5E_UNMOUNT_g$constants.SEGMENT.set(H5E_UNMOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMERGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMERGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static OfLong H5E_CANTMERGE_g$layout() { return H5E_CANTMERGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMERGE_g$segment() { return H5E_CANTMERGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static long H5E_CANTMERGE_g()
+ {
+ return H5E_CANTMERGE_g$constants.SEGMENT.get(H5E_CANTMERGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static void H5E_CANTMERGE_g(long varValue)
+ {
+ H5E_CANTMERGE_g$constants.SEGMENT.set(H5E_CANTMERGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREVIVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREVIVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static OfLong H5E_CANTREVIVE_g$layout() { return H5E_CANTREVIVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREVIVE_g$segment() { return H5E_CANTREVIVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static long H5E_CANTREVIVE_g()
+ {
+ return H5E_CANTREVIVE_g$constants.SEGMENT.get(H5E_CANTREVIVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static void H5E_CANTREVIVE_g(long varValue)
+ {
+ H5E_CANTREVIVE_g$constants.SEGMENT.set(H5E_CANTREVIVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSHRINK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSHRINK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static OfLong H5E_CANTSHRINK_g$layout() { return H5E_CANTSHRINK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSHRINK_g$segment() { return H5E_CANTSHRINK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static long H5E_CANTSHRINK_g()
+ {
+ return H5E_CANTSHRINK_g$constants.SEGMENT.get(H5E_CANTSHRINK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static void H5E_CANTSHRINK_g(long varValue)
+ {
+ H5E_CANTSHRINK_g$constants.SEGMENT.set(H5E_CANTSHRINK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ALREADYINIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ALREADYINIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static OfLong H5E_ALREADYINIT_g$layout() { return H5E_ALREADYINIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static MemorySegment H5E_ALREADYINIT_g$segment() { return H5E_ALREADYINIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static long H5E_ALREADYINIT_g()
+ {
+ return H5E_ALREADYINIT_g$constants.SEGMENT.get(H5E_ALREADYINIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static void H5E_ALREADYINIT_g(long varValue)
+ {
+ H5E_ALREADYINIT_g$constants.SEGMENT.set(H5E_ALREADYINIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static OfLong H5E_CANTINIT_g$layout() { return H5E_CANTINIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINIT_g$segment() { return H5E_CANTINIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static long H5E_CANTINIT_g()
+ {
+ return H5E_CANTINIT_g$constants.SEGMENT.get(H5E_CANTINIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static void H5E_CANTINIT_g(long varValue)
+ {
+ H5E_CANTINIT_g$constants.SEGMENT.set(H5E_CANTINIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRELEASE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRELEASE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static OfLong H5E_CANTRELEASE_g$layout() { return H5E_CANTRELEASE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRELEASE_g$segment() { return H5E_CANTRELEASE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static long H5E_CANTRELEASE_g()
+ {
+ return H5E_CANTRELEASE_g$constants.SEGMENT.get(H5E_CANTRELEASE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static void H5E_CANTRELEASE_g(long varValue)
+ {
+ H5E_CANTRELEASE_g$constants.SEGMENT.set(H5E_CANTRELEASE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLOSEOBJ_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLOSEOBJ_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static OfLong H5E_CANTCLOSEOBJ_g$layout() { return H5E_CANTCLOSEOBJ_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLOSEOBJ_g$segment() { return H5E_CANTCLOSEOBJ_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static long H5E_CANTCLOSEOBJ_g()
+ {
+ return H5E_CANTCLOSEOBJ_g$constants.SEGMENT.get(H5E_CANTCLOSEOBJ_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static void H5E_CANTCLOSEOBJ_g(long varValue)
+ {
+ H5E_CANTCLOSEOBJ_g$constants.SEGMENT.set(H5E_CANTCLOSEOBJ_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTOPENOBJ_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTOPENOBJ_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static OfLong H5E_CANTOPENOBJ_g$layout() { return H5E_CANTOPENOBJ_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static MemorySegment H5E_CANTOPENOBJ_g$segment() { return H5E_CANTOPENOBJ_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static long H5E_CANTOPENOBJ_g()
+ {
+ return H5E_CANTOPENOBJ_g$constants.SEGMENT.get(H5E_CANTOPENOBJ_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static void H5E_CANTOPENOBJ_g(long varValue)
+ {
+ H5E_CANTOPENOBJ_g$constants.SEGMENT.set(H5E_CANTOPENOBJ_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_COMPLEN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_COMPLEN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static OfLong H5E_COMPLEN_g$layout() { return H5E_COMPLEN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static MemorySegment H5E_COMPLEN_g$segment() { return H5E_COMPLEN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static long H5E_COMPLEN_g()
+ {
+ return H5E_COMPLEN_g$constants.SEGMENT.get(H5E_COMPLEN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static void H5E_COMPLEN_g(long varValue)
+ {
+ H5E_COMPLEN_g$constants.SEGMENT.set(H5E_COMPLEN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PATH_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PATH_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static OfLong H5E_PATH_g$layout() { return H5E_PATH_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static MemorySegment H5E_PATH_g$segment() { return H5E_PATH_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static long H5E_PATH_g()
+ {
+ return H5E_PATH_g$constants.SEGMENT.get(H5E_PATH_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static void H5E_PATH_g(long varValue)
+ {
+ H5E_PATH_g$constants.SEGMENT.set(H5E_PATH_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTATTACH_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTATTACH_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static OfLong H5E_CANTATTACH_g$layout() { return H5E_CANTATTACH_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static MemorySegment H5E_CANTATTACH_g$segment() { return H5E_CANTATTACH_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static long H5E_CANTATTACH_g()
+ {
+ return H5E_CANTATTACH_g$constants.SEGMENT.get(H5E_CANTATTACH_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static void H5E_CANTATTACH_g(long varValue)
+ {
+ H5E_CANTATTACH_g$constants.SEGMENT.set(H5E_CANTATTACH_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOMPUTE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOMPUTE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static OfLong H5E_CANTCOMPUTE_g$layout() { return H5E_CANTCOMPUTE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOMPUTE_g$segment() { return H5E_CANTCOMPUTE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static long H5E_CANTCOMPUTE_g()
+ {
+ return H5E_CANTCOMPUTE_g$constants.SEGMENT.get(H5E_CANTCOMPUTE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static void H5E_CANTCOMPUTE_g(long varValue)
+ {
+ H5E_CANTCOMPUTE_g$constants.SEGMENT.set(H5E_CANTCOMPUTE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTEXTEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTEXTEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static OfLong H5E_CANTEXTEND_g$layout() { return H5E_CANTEXTEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTEXTEND_g$segment() { return H5E_CANTEXTEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static long H5E_CANTEXTEND_g()
+ {
+ return H5E_CANTEXTEND_g$constants.SEGMENT.get(H5E_CANTEXTEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static void H5E_CANTEXTEND_g(long varValue)
+ {
+ H5E_CANTEXTEND_g$constants.SEGMENT.set(H5E_CANTEXTEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTOPERATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTOPERATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static OfLong H5E_CANTOPERATE_g$layout() { return H5E_CANTOPERATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTOPERATE_g$segment() { return H5E_CANTOPERATE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static long H5E_CANTOPERATE_g()
+ {
+ return H5E_CANTOPERATE_g$constants.SEGMENT.get(H5E_CANTOPERATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static void H5E_CANTOPERATE_g(long varValue)
+ {
+ H5E_CANTOPERATE_g$constants.SEGMENT.set(H5E_CANTOPERATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRESTORE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRESTORE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static OfLong H5E_CANTRESTORE_g$layout() { return H5E_CANTRESTORE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRESTORE_g$segment() { return H5E_CANTRESTORE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static long H5E_CANTRESTORE_g()
+ {
+ return H5E_CANTRESTORE_g$constants.SEGMENT.get(H5E_CANTRESTORE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static void H5E_CANTRESTORE_g(long varValue)
+ {
+ H5E_CANTRESTORE_g$constants.SEGMENT.set(H5E_CANTRESTORE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUPDATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUPDATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static OfLong H5E_CANTUPDATE_g$layout() { return H5E_CANTUPDATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUPDATE_g$segment() { return H5E_CANTUPDATE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static long H5E_CANTUPDATE_g()
+ {
+ return H5E_CANTUPDATE_g$constants.SEGMENT.get(H5E_CANTUPDATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static void H5E_CANTUPDATE_g(long varValue)
+ {
+ H5E_CANTUPDATE_g$constants.SEGMENT.set(H5E_CANTUPDATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADGROUP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADGROUP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static OfLong H5E_BADGROUP_g$layout() { return H5E_BADGROUP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static MemorySegment H5E_BADGROUP_g$segment() { return H5E_BADGROUP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static long H5E_BADGROUP_g()
+ {
+ return H5E_BADGROUP_g$constants.SEGMENT.get(H5E_BADGROUP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static void H5E_BADGROUP_g(long varValue)
+ {
+ H5E_BADGROUP_g$constants.SEGMENT.set(H5E_BADGROUP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static OfLong H5E_BADID_g$layout() { return H5E_BADID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static MemorySegment H5E_BADID_g$segment() { return H5E_BADID_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static long H5E_BADID_g()
+ {
+ return H5E_BADID_g$constants.SEGMENT.get(H5E_BADID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static void H5E_BADID_g(long varValue)
+ {
+ H5E_BADID_g$constants.SEGMENT.set(H5E_BADID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDEC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDEC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static OfLong H5E_CANTDEC_g$layout() { return H5E_CANTDEC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDEC_g$segment() { return H5E_CANTDEC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static long H5E_CANTDEC_g()
+ {
+ return H5E_CANTDEC_g$constants.SEGMENT.get(H5E_CANTDEC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static void H5E_CANTDEC_g(long varValue)
+ {
+ H5E_CANTDEC_g$constants.SEGMENT.set(H5E_CANTDEC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static OfLong H5E_CANTINC_g$layout() { return H5E_CANTINC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINC_g$segment() { return H5E_CANTINC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static long H5E_CANTINC_g()
+ {
+ return H5E_CANTINC_g$constants.SEGMENT.get(H5E_CANTINC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static void H5E_CANTINC_g(long varValue)
+ {
+ H5E_CANTINC_g$constants.SEGMENT.set(H5E_CANTINC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREGISTER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREGISTER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static OfLong H5E_CANTREGISTER_g$layout() { return H5E_CANTREGISTER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREGISTER_g$segment() { return H5E_CANTREGISTER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static long H5E_CANTREGISTER_g()
+ {
+ return H5E_CANTREGISTER_g$constants.SEGMENT.get(H5E_CANTREGISTER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static void H5E_CANTREGISTER_g(long varValue)
+ {
+ H5E_CANTREGISTER_g$constants.SEGMENT.set(H5E_CANTREGISTER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOIDS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOIDS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static OfLong H5E_NOIDS_g$layout() { return H5E_NOIDS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static MemorySegment H5E_NOIDS_g$segment() { return H5E_NOIDS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static long H5E_NOIDS_g()
+ {
+ return H5E_NOIDS_g$constants.SEGMENT.get(H5E_NOIDS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static void H5E_NOIDS_g(long varValue)
+ {
+ H5E_NOIDS_g$constants.SEGMENT.set(H5E_NOIDS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMOVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMOVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static OfLong H5E_CANTMOVE_g$layout() { return H5E_CANTMOVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMOVE_g$segment() { return H5E_CANTMOVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static long H5E_CANTMOVE_g()
+ {
+ return H5E_CANTMOVE_g$constants.SEGMENT.get(H5E_CANTMOVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static void H5E_CANTMOVE_g(long varValue)
+ {
+ H5E_CANTMOVE_g$constants.SEGMENT.set(H5E_CANTMOVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSORT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSORT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static OfLong H5E_CANTSORT_g$layout() { return H5E_CANTSORT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSORT_g$segment() { return H5E_CANTSORT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static long H5E_CANTSORT_g()
+ {
+ return H5E_CANTSORT_g$constants.SEGMENT.get(H5E_CANTSORT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static void H5E_CANTSORT_g(long varValue)
+ {
+ H5E_CANTSORT_g$constants.SEGMENT.set(H5E_CANTSORT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NLINKS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NLINKS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static OfLong H5E_NLINKS_g$layout() { return H5E_NLINKS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static MemorySegment H5E_NLINKS_g$segment() { return H5E_NLINKS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static long H5E_NLINKS_g()
+ {
+ return H5E_NLINKS_g$constants.SEGMENT.get(H5E_NLINKS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static void H5E_NLINKS_g(long varValue)
+ {
+ H5E_NLINKS_g$constants.SEGMENT.set(H5E_NLINKS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTREGISTERED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTREGISTERED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static OfLong H5E_NOTREGISTERED_g$layout() { return H5E_NOTREGISTERED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static MemorySegment H5E_NOTREGISTERED_g$segment()
+ {
+ return H5E_NOTREGISTERED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static long H5E_NOTREGISTERED_g()
+ {
+ return H5E_NOTREGISTERED_g$constants.SEGMENT.get(H5E_NOTREGISTERED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static void H5E_NOTREGISTERED_g(long varValue)
+ {
+ H5E_NOTREGISTERED_g$constants.SEGMENT.set(H5E_NOTREGISTERED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_TRAVERSE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_TRAVERSE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static OfLong H5E_TRAVERSE_g$layout() { return H5E_TRAVERSE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static MemorySegment H5E_TRAVERSE_g$segment() { return H5E_TRAVERSE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static long H5E_TRAVERSE_g()
+ {
+ return H5E_TRAVERSE_g$constants.SEGMENT.get(H5E_TRAVERSE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static void H5E_TRAVERSE_g(long varValue)
+ {
+ H5E_TRAVERSE_g$constants.SEGMENT.set(H5E_TRAVERSE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPUT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPUT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static OfLong H5E_CANTPUT_g$layout() { return H5E_CANTPUT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPUT_g$segment() { return H5E_CANTPUT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static long H5E_CANTPUT_g()
+ {
+ return H5E_CANTPUT_g$constants.SEGMENT.get(H5E_CANTPUT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static void H5E_CANTPUT_g(long varValue)
+ {
+ H5E_CANTPUT_g$constants.SEGMENT.set(H5E_CANTPUT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGATHER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGATHER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static OfLong H5E_CANTGATHER_g$layout() { return H5E_CANTGATHER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGATHER_g$segment() { return H5E_CANTGATHER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static long H5E_CANTGATHER_g()
+ {
+ return H5E_CANTGATHER_g$constants.SEGMENT.get(H5E_CANTGATHER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static void H5E_CANTGATHER_g(long varValue)
+ {
+ H5E_CANTGATHER_g$constants.SEGMENT.set(H5E_CANTGATHER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRECV_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRECV_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static OfLong H5E_CANTRECV_g$layout() { return H5E_CANTRECV_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRECV_g$segment() { return H5E_CANTRECV_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static long H5E_CANTRECV_g()
+ {
+ return H5E_CANTRECV_g$constants.SEGMENT.get(H5E_CANTRECV_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static void H5E_CANTRECV_g(long varValue)
+ {
+ H5E_CANTRECV_g$constants.SEGMENT.set(H5E_CANTRECV_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MPI_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MPI_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static OfLong H5E_MPI_g$layout() { return H5E_MPI_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static MemorySegment H5E_MPI_g$segment() { return H5E_MPI_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static long H5E_MPI_g() { return H5E_MPI_g$constants.SEGMENT.get(H5E_MPI_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static void H5E_MPI_g(long varValue)
+ {
+ H5E_MPI_g$constants.SEGMENT.set(H5E_MPI_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MPIERRSTR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MPIERRSTR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static OfLong H5E_MPIERRSTR_g$layout() { return H5E_MPIERRSTR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static MemorySegment H5E_MPIERRSTR_g$segment() { return H5E_MPIERRSTR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static long H5E_MPIERRSTR_g()
+ {
+ return H5E_MPIERRSTR_g$constants.SEGMENT.get(H5E_MPIERRSTR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static void H5E_MPIERRSTR_g(long varValue)
+ {
+ H5E_MPIERRSTR_g$constants.SEGMENT.set(H5E_MPIERRSTR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NO_INDEPENDENT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NO_INDEPENDENT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static OfLong H5E_NO_INDEPENDENT_g$layout() { return H5E_NO_INDEPENDENT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static MemorySegment H5E_NO_INDEPENDENT_g$segment()
+ {
+ return H5E_NO_INDEPENDENT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static long H5E_NO_INDEPENDENT_g()
+ {
+ return H5E_NO_INDEPENDENT_g$constants.SEGMENT.get(H5E_NO_INDEPENDENT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static void H5E_NO_INDEPENDENT_g(long varValue)
+ {
+ H5E_NO_INDEPENDENT_g$constants.SEGMENT.set(H5E_NO_INDEPENDENT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NONE_MINOR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NONE_MINOR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static OfLong H5E_NONE_MINOR_g$layout() { return H5E_NONE_MINOR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static MemorySegment H5E_NONE_MINOR_g$segment() { return H5E_NONE_MINOR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static long H5E_NONE_MINOR_g()
+ {
+ return H5E_NONE_MINOR_g$constants.SEGMENT.get(H5E_NONE_MINOR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static void H5E_NONE_MINOR_g(long varValue)
+ {
+ H5E_NONE_MINOR_g$constants.SEGMENT.set(H5E_NONE_MINOR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ALIGNMENT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ALIGNMENT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static OfLong H5E_ALIGNMENT_g$layout() { return H5E_ALIGNMENT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static MemorySegment H5E_ALIGNMENT_g$segment() { return H5E_ALIGNMENT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static long H5E_ALIGNMENT_g()
+ {
+ return H5E_ALIGNMENT_g$constants.SEGMENT.get(H5E_ALIGNMENT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static void H5E_ALIGNMENT_g(long varValue)
+ {
+ H5E_ALIGNMENT_g$constants.SEGMENT.set(H5E_ALIGNMENT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADITER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADITER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static OfLong H5E_BADITER_g$layout() { return H5E_BADITER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static MemorySegment H5E_BADITER_g$segment() { return H5E_BADITER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static long H5E_BADITER_g()
+ {
+ return H5E_BADITER_g$constants.SEGMENT.get(H5E_BADITER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static void H5E_BADITER_g(long varValue)
+ {
+ H5E_BADITER_g$constants.SEGMENT.set(H5E_BADITER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADMESG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADMESG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static OfLong H5E_BADMESG_g$layout() { return H5E_BADMESG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static MemorySegment H5E_BADMESG_g$segment() { return H5E_BADMESG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static long H5E_BADMESG_g()
+ {
+ return H5E_BADMESG_g$constants.SEGMENT.get(H5E_BADMESG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static void H5E_BADMESG_g(long varValue)
+ {
+ H5E_BADMESG_g$constants.SEGMENT.set(H5E_BADMESG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDELETE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDELETE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static OfLong H5E_CANTDELETE_g$layout() { return H5E_CANTDELETE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDELETE_g$segment() { return H5E_CANTDELETE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static long H5E_CANTDELETE_g()
+ {
+ return H5E_CANTDELETE_g$constants.SEGMENT.get(H5E_CANTDELETE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static void H5E_CANTDELETE_g(long varValue)
+ {
+ H5E_CANTDELETE_g$constants.SEGMENT.set(H5E_CANTDELETE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPACK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPACK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static OfLong H5E_CANTPACK_g$layout() { return H5E_CANTPACK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPACK_g$segment() { return H5E_CANTPACK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static long H5E_CANTPACK_g()
+ {
+ return H5E_CANTPACK_g$constants.SEGMENT.get(H5E_CANTPACK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static void H5E_CANTPACK_g(long varValue)
+ {
+ H5E_CANTPACK_g$constants.SEGMENT.set(H5E_CANTPACK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRENAME_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRENAME_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static OfLong H5E_CANTRENAME_g$layout() { return H5E_CANTRENAME_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRENAME_g$segment() { return H5E_CANTRENAME_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static long H5E_CANTRENAME_g()
+ {
+ return H5E_CANTRENAME_g$constants.SEGMENT.get(H5E_CANTRENAME_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static void H5E_CANTRENAME_g(long varValue)
+ {
+ H5E_CANTRENAME_g$constants.SEGMENT.set(H5E_CANTRENAME_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRESET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRESET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static OfLong H5E_CANTRESET_g$layout() { return H5E_CANTRESET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRESET_g$segment() { return H5E_CANTRESET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static long H5E_CANTRESET_g()
+ {
+ return H5E_CANTRESET_g$constants.SEGMENT.get(H5E_CANTRESET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static void H5E_CANTRESET_g(long varValue)
+ {
+ H5E_CANTRESET_g$constants.SEGMENT.set(H5E_CANTRESET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LINKCOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LINKCOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static OfLong H5E_LINKCOUNT_g$layout() { return H5E_LINKCOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_LINKCOUNT_g$segment() { return H5E_LINKCOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static long H5E_LINKCOUNT_g()
+ {
+ return H5E_LINKCOUNT_g$constants.SEGMENT.get(H5E_LINKCOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static void H5E_LINKCOUNT_g(long varValue)
+ {
+ H5E_LINKCOUNT_g$constants.SEGMENT.set(H5E_LINKCOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_VERSION_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_VERSION_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static OfLong H5E_VERSION_g$layout() { return H5E_VERSION_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static MemorySegment H5E_VERSION_g$segment() { return H5E_VERSION_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static long H5E_VERSION_g()
+ {
+ return H5E_VERSION_g$constants.SEGMENT.get(H5E_VERSION_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static void H5E_VERSION_g(long varValue)
+ {
+ H5E_VERSION_g$constants.SEGMENT.set(H5E_VERSION_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CALLBACK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CALLBACK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static OfLong H5E_CALLBACK_g$layout() { return H5E_CALLBACK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static MemorySegment H5E_CALLBACK_g$segment() { return H5E_CALLBACK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static long H5E_CALLBACK_g()
+ {
+ return H5E_CALLBACK_g$constants.SEGMENT.get(H5E_CALLBACK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static void H5E_CALLBACK_g(long varValue)
+ {
+ H5E_CALLBACK_g$constants.SEGMENT.set(H5E_CALLBACK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANAPPLY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANAPPLY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static OfLong H5E_CANAPPLY_g$layout() { return H5E_CANAPPLY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static MemorySegment H5E_CANAPPLY_g$segment() { return H5E_CANAPPLY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static long H5E_CANAPPLY_g()
+ {
+ return H5E_CANAPPLY_g$constants.SEGMENT.get(H5E_CANAPPLY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static void H5E_CANAPPLY_g(long varValue)
+ {
+ H5E_CANAPPLY_g$constants.SEGMENT.set(H5E_CANAPPLY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFILTER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFILTER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static OfLong H5E_CANTFILTER_g$layout() { return H5E_CANTFILTER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFILTER_g$segment() { return H5E_CANTFILTER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static long H5E_CANTFILTER_g()
+ {
+ return H5E_CANTFILTER_g$constants.SEGMENT.get(H5E_CANTFILTER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static void H5E_CANTFILTER_g(long varValue)
+ {
+ H5E_CANTFILTER_g$constants.SEGMENT.set(H5E_CANTFILTER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOENCODER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOENCODER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static OfLong H5E_NOENCODER_g$layout() { return H5E_NOENCODER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static MemorySegment H5E_NOENCODER_g$segment() { return H5E_NOENCODER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static long H5E_NOENCODER_g()
+ {
+ return H5E_NOENCODER_g$constants.SEGMENT.get(H5E_NOENCODER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static void H5E_NOENCODER_g(long varValue)
+ {
+ H5E_NOENCODER_g$constants.SEGMENT.set(H5E_NOENCODER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOFILTER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOFILTER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static OfLong H5E_NOFILTER_g$layout() { return H5E_NOFILTER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static MemorySegment H5E_NOFILTER_g$segment() { return H5E_NOFILTER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static long H5E_NOFILTER_g()
+ {
+ return H5E_NOFILTER_g$constants.SEGMENT.get(H5E_NOFILTER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static void H5E_NOFILTER_g(long varValue)
+ {
+ H5E_NOFILTER_g$constants.SEGMENT.set(H5E_NOFILTER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SETLOCAL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SETLOCAL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static OfLong H5E_SETLOCAL_g$layout() { return H5E_SETLOCAL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static MemorySegment H5E_SETLOCAL_g$segment() { return H5E_SETLOCAL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static long H5E_SETLOCAL_g()
+ {
+ return H5E_SETLOCAL_g$constants.SEGMENT.get(H5E_SETLOCAL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static void H5E_SETLOCAL_g(long varValue)
+ {
+ H5E_SETLOCAL_g$constants.SEGMENT.set(H5E_SETLOCAL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static OfLong H5E_CANTGET_g$layout() { return H5E_CANTGET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGET_g$segment() { return H5E_CANTGET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static long H5E_CANTGET_g()
+ {
+ return H5E_CANTGET_g$constants.SEGMENT.get(H5E_CANTGET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static void H5E_CANTGET_g(long varValue)
+ {
+ H5E_CANTGET_g$constants.SEGMENT.set(H5E_CANTGET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static OfLong H5E_CANTSET_g$layout() { return H5E_CANTSET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSET_g$segment() { return H5E_CANTSET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static long H5E_CANTSET_g()
+ {
+ return H5E_CANTSET_g$constants.SEGMENT.get(H5E_CANTSET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static void H5E_CANTSET_g(long varValue)
+ {
+ H5E_CANTSET_g$constants.SEGMENT.set(H5E_CANTSET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DUPCLASS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DUPCLASS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static OfLong H5E_DUPCLASS_g$layout() { return H5E_DUPCLASS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static MemorySegment H5E_DUPCLASS_g$segment() { return H5E_DUPCLASS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static long H5E_DUPCLASS_g()
+ {
+ return H5E_DUPCLASS_g$constants.SEGMENT.get(H5E_DUPCLASS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static void H5E_DUPCLASS_g(long varValue)
+ {
+ H5E_DUPCLASS_g$constants.SEGMENT.set(H5E_DUPCLASS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SETDISALLOWED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SETDISALLOWED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static OfLong H5E_SETDISALLOWED_g$layout() { return H5E_SETDISALLOWED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static MemorySegment H5E_SETDISALLOWED_g$segment()
+ {
+ return H5E_SETDISALLOWED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static long H5E_SETDISALLOWED_g()
+ {
+ return H5E_SETDISALLOWED_g$constants.SEGMENT.get(H5E_SETDISALLOWED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static void H5E_SETDISALLOWED_g(long varValue)
+ {
+ H5E_SETDISALLOWED_g$constants.SEGMENT.set(H5E_SETDISALLOWED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OPENERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OPENERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static OfLong H5E_OPENERROR_g$layout() { return H5E_OPENERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static MemorySegment H5E_OPENERROR_g$segment() { return H5E_OPENERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static long H5E_OPENERROR_g()
+ {
+ return H5E_OPENERROR_g$constants.SEGMENT.get(H5E_OPENERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static void H5E_OPENERROR_g(long varValue)
+ {
+ H5E_OPENERROR_g$constants.SEGMENT.set(H5E_OPENERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ALREADYEXISTS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ALREADYEXISTS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static OfLong H5E_ALREADYEXISTS_g$layout() { return H5E_ALREADYEXISTS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static MemorySegment H5E_ALREADYEXISTS_g$segment()
+ {
+ return H5E_ALREADYEXISTS_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static long H5E_ALREADYEXISTS_g()
+ {
+ return H5E_ALREADYEXISTS_g$constants.SEGMENT.get(H5E_ALREADYEXISTS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static void H5E_ALREADYEXISTS_g(long varValue)
+ {
+ H5E_ALREADYEXISTS_g$constants.SEGMENT.set(H5E_ALREADYEXISTS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTALLOC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTALLOC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static OfLong H5E_CANTALLOC_g$layout() { return H5E_CANTALLOC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTALLOC_g$segment() { return H5E_CANTALLOC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static long H5E_CANTALLOC_g()
+ {
+ return H5E_CANTALLOC_g$constants.SEGMENT.get(H5E_CANTALLOC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static void H5E_CANTALLOC_g(long varValue)
+ {
+ H5E_CANTALLOC_g$constants.SEGMENT.set(H5E_CANTALLOC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOPY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOPY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static OfLong H5E_CANTCOPY_g$layout() { return H5E_CANTCOPY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOPY_g$segment() { return H5E_CANTCOPY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static long H5E_CANTCOPY_g()
+ {
+ return H5E_CANTCOPY_g$constants.SEGMENT.get(H5E_CANTCOPY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static void H5E_CANTCOPY_g(long varValue)
+ {
+ H5E_CANTCOPY_g$constants.SEGMENT.set(H5E_CANTCOPY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFREE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFREE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static OfLong H5E_CANTFREE_g$layout() { return H5E_CANTFREE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFREE_g$segment() { return H5E_CANTFREE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static long H5E_CANTFREE_g()
+ {
+ return H5E_CANTFREE_g$constants.SEGMENT.get(H5E_CANTFREE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static void H5E_CANTFREE_g(long varValue)
+ {
+ H5E_CANTFREE_g$constants.SEGMENT.set(H5E_CANTFREE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static OfLong H5E_CANTGC_g$layout() { return H5E_CANTGC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGC_g$segment() { return H5E_CANTGC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static long H5E_CANTGC_g()
+ {
+ return H5E_CANTGC_g$constants.SEGMENT.get(H5E_CANTGC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static void H5E_CANTGC_g(long varValue)
+ {
+ H5E_CANTGC_g$constants.SEGMENT.set(H5E_CANTGC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGETSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGETSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTGETSIZE_g$layout() { return H5E_CANTGETSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGETSIZE_g$segment() { return H5E_CANTGETSIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static long H5E_CANTGETSIZE_g()
+ {
+ return H5E_CANTGETSIZE_g$constants.SEGMENT.get(H5E_CANTGETSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static void H5E_CANTGETSIZE_g(long varValue)
+ {
+ H5E_CANTGETSIZE_g$constants.SEGMENT.set(H5E_CANTGETSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLOCK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLOCK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static OfLong H5E_CANTLOCK_g$layout() { return H5E_CANTLOCK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLOCK_g$segment() { return H5E_CANTLOCK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static long H5E_CANTLOCK_g()
+ {
+ return H5E_CANTLOCK_g$constants.SEGMENT.get(H5E_CANTLOCK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static void H5E_CANTLOCK_g(long varValue)
+ {
+ H5E_CANTLOCK_g$constants.SEGMENT.set(H5E_CANTLOCK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNLOCK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNLOCK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static OfLong H5E_CANTUNLOCK_g$layout() { return H5E_CANTUNLOCK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNLOCK_g$segment() { return H5E_CANTUNLOCK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static long H5E_CANTUNLOCK_g()
+ {
+ return H5E_CANTUNLOCK_g$constants.SEGMENT.get(H5E_CANTUNLOCK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static void H5E_CANTUNLOCK_g(long varValue)
+ {
+ H5E_CANTUNLOCK_g$constants.SEGMENT.set(H5E_CANTUNLOCK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOSPACE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOSPACE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static OfLong H5E_NOSPACE_g$layout() { return H5E_NOSPACE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static MemorySegment H5E_NOSPACE_g$segment() { return H5E_NOSPACE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static long H5E_NOSPACE_g()
+ {
+ return H5E_NOSPACE_g$constants.SEGMENT.get(H5E_NOSPACE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static void H5E_NOSPACE_g(long varValue)
+ {
+ H5E_NOSPACE_g$constants.SEGMENT.set(H5E_NOSPACE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OBJOPEN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OBJOPEN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static OfLong H5E_OBJOPEN_g$layout() { return H5E_OBJOPEN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static MemorySegment H5E_OBJOPEN_g$segment() { return H5E_OBJOPEN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static long H5E_OBJOPEN_g()
+ {
+ return H5E_OBJOPEN_g$constants.SEGMENT.get(H5E_OBJOPEN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static void H5E_OBJOPEN_g(long varValue)
+ {
+ H5E_OBJOPEN_g$constants.SEGMENT.set(H5E_OBJOPEN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SYSERRSTR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SYSERRSTR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static OfLong H5E_SYSERRSTR_g$layout() { return H5E_SYSERRSTR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static MemorySegment H5E_SYSERRSTR_g$segment() { return H5E_SYSERRSTR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static long H5E_SYSERRSTR_g()
+ {
+ return H5E_SYSERRSTR_g$constants.SEGMENT.get(H5E_SYSERRSTR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static void H5E_SYSERRSTR_g(long varValue)
+ {
+ H5E_SYSERRSTR_g$constants.SEGMENT.set(H5E_SYSERRSTR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static OfLong H5E_BADSIZE_g$layout() { return H5E_BADSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static MemorySegment H5E_BADSIZE_g$segment() { return H5E_BADSIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static long H5E_BADSIZE_g()
+ {
+ return H5E_BADSIZE_g$constants.SEGMENT.get(H5E_BADSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static void H5E_BADSIZE_g(long varValue)
+ {
+ H5E_BADSIZE_g$constants.SEGMENT.set(H5E_BADSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCONVERT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCONVERT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static OfLong H5E_CANTCONVERT_g$layout() { return H5E_CANTCONVERT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCONVERT_g$segment() { return H5E_CANTCONVERT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static long H5E_CANTCONVERT_g()
+ {
+ return H5E_CANTCONVERT_g$constants.SEGMENT.get(H5E_CANTCONVERT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static void H5E_CANTCONVERT_g(long varValue)
+ {
+ H5E_CANTCONVERT_g$constants.SEGMENT.set(H5E_CANTCONVERT_g$constants.LAYOUT, 0L, varValue);
+ }
+ private static final int H5E_WALK_UPWARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_direction_t.H5E_WALK_UPWARD = 0
+ * }
+ */
+ public static int H5E_WALK_UPWARD() { return H5E_WALK_UPWARD; }
+ private static final int H5E_WALK_DOWNWARD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_direction_t.H5E_WALK_DOWNWARD = 1
+ * }
+ */
+ public static int H5E_WALK_DOWNWARD() { return H5E_WALK_DOWNWARD; }
+
+ private static class H5Eregister_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eregister_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static FunctionDescriptor H5Eregister_class$descriptor() { return H5Eregister_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static MethodHandle H5Eregister_class$handle() { return H5Eregister_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static MemorySegment H5Eregister_class$address() { return H5Eregister_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static long H5Eregister_class(MemorySegment cls_name, MemorySegment lib_name,
+ MemorySegment version)
+ {
+ var mh$ = H5Eregister_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eregister_class", cls_name, lib_name, version);
+ }
+ return (long)mh$.invokeExact(cls_name, lib_name, version);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eunregister_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eunregister_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eunregister_class$descriptor() { return H5Eunregister_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static MethodHandle H5Eunregister_class$handle() { return H5Eunregister_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static MemorySegment H5Eunregister_class$address() { return H5Eunregister_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static int H5Eunregister_class(long class_id)
+ {
+ var mh$ = H5Eunregister_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eunregister_class", class_id);
+ }
+ return (int)mh$.invokeExact(class_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eclose_msg {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclose_msg");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eclose_msg$descriptor() { return H5Eclose_msg.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static MethodHandle H5Eclose_msg$handle() { return H5Eclose_msg.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static MemorySegment H5Eclose_msg$address() { return H5Eclose_msg.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static int H5Eclose_msg(long err_id)
+ {
+ var mh$ = H5Eclose_msg.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclose_msg", err_id);
+ }
+ return (int)mh$.invokeExact(err_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ecreate_msg {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ecreate_msg");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static FunctionDescriptor H5Ecreate_msg$descriptor() { return H5Ecreate_msg.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static MethodHandle H5Ecreate_msg$handle() { return H5Ecreate_msg.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static MemorySegment H5Ecreate_msg$address() { return H5Ecreate_msg.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static long H5Ecreate_msg(long cls, int msg_type, MemorySegment msg)
+ {
+ var mh$ = H5Ecreate_msg.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ecreate_msg", cls, msg_type, msg);
+ }
+ return (long)mh$.invokeExact(cls, msg_type, msg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ecreate_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ecreate_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static FunctionDescriptor H5Ecreate_stack$descriptor() { return H5Ecreate_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static MethodHandle H5Ecreate_stack$handle() { return H5Ecreate_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static MemorySegment H5Ecreate_stack$address() { return H5Ecreate_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static long H5Ecreate_stack()
+ {
+ var mh$ = H5Ecreate_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ecreate_stack");
+ }
+ return (long)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_current_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_current_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static FunctionDescriptor H5Eget_current_stack$descriptor() { return H5Eget_current_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static MethodHandle H5Eget_current_stack$handle() { return H5Eget_current_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static MemorySegment H5Eget_current_stack$address() { return H5Eget_current_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static long H5Eget_current_stack()
+ {
+ var mh$ = H5Eget_current_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_current_stack");
+ }
+ return (long)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eappend_stack {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eappend_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static FunctionDescriptor H5Eappend_stack$descriptor() { return H5Eappend_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static MethodHandle H5Eappend_stack$handle() { return H5Eappend_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static MemorySegment H5Eappend_stack$address() { return H5Eappend_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static int H5Eappend_stack(long dst_stack_id, long src_stack_id, boolean close_source_stack)
+ {
+ var mh$ = H5Eappend_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eappend_stack", dst_stack_id, src_stack_id, close_source_stack);
+ }
+ return (int)mh$.invokeExact(dst_stack_id, src_stack_id, close_source_stack);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eis_paused {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eis_paused");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static FunctionDescriptor H5Eis_paused$descriptor() { return H5Eis_paused.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static MethodHandle H5Eis_paused$handle() { return H5Eis_paused.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static MemorySegment H5Eis_paused$address() { return H5Eis_paused.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static int H5Eis_paused(long stack_id, MemorySegment is_paused)
+ {
+ var mh$ = H5Eis_paused.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eis_paused", stack_id, is_paused);
+ }
+ return (int)mh$.invokeExact(stack_id, is_paused);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Epause_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epause_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Epause_stack$descriptor() { return H5Epause_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static MethodHandle H5Epause_stack$handle() { return H5Epause_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static MemorySegment H5Epause_stack$address() { return H5Epause_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static int H5Epause_stack(long stack_id)
+ {
+ var mh$ = H5Epause_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epause_stack", stack_id);
+ }
+ return (int)mh$.invokeExact(stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eresume_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eresume_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eresume_stack$descriptor() { return H5Eresume_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static MethodHandle H5Eresume_stack$handle() { return H5Eresume_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static MemorySegment H5Eresume_stack$address() { return H5Eresume_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static int H5Eresume_stack(long stack_id)
+ {
+ var mh$ = H5Eresume_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eresume_stack", stack_id);
+ }
+ return (int)mh$.invokeExact(stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eclose_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclose_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eclose_stack$descriptor() { return H5Eclose_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static MethodHandle H5Eclose_stack$handle() { return H5Eclose_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static MemorySegment H5Eclose_stack$address() { return H5Eclose_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static int H5Eclose_stack(long stack_id)
+ {
+ var mh$ = H5Eclose_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclose_stack", stack_id);
+ }
+ return (int)mh$.invokeExact(stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_class_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_class_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_class_name$descriptor() { return H5Eget_class_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Eget_class_name$handle() { return H5Eget_class_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Eget_class_name$address() { return H5Eget_class_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static long H5Eget_class_name(long class_id, MemorySegment name, long size)
+ {
+ var mh$ = H5Eget_class_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_class_name", class_id, name, size);
+ }
+ return (long)mh$.invokeExact(class_id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eset_current_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eset_current_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eset_current_stack$descriptor() { return H5Eset_current_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static MethodHandle H5Eset_current_stack$handle() { return H5Eset_current_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static MemorySegment H5Eset_current_stack$address() { return H5Eset_current_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static int H5Eset_current_stack(long err_stack_id)
+ {
+ var mh$ = H5Eset_current_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eset_current_stack", err_stack_id);
+ }
+ return (int)mh$.invokeExact(err_stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * herr_t H5Epush2(hid_t err_stack, const char *file, const char *func, unsigned int line, hid_t cls_id,
+ * hid_t maj_id, hid_t min_id, const char *msg, ...)
+ * }
+ */
+ public static class H5Epush2 {
+ private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epush2");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private H5Epush2(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * herr_t H5Epush2(hid_t err_stack, const char *file, const char *func, unsigned int line, hid_t
+ * cls_id, hid_t maj_id, hid_t min_id, const char *msg, ...)
+ * }
+ */
+ public static H5Epush2 makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new H5Epush2(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(long err_stack, MemorySegment file, MemorySegment func, int line, long cls_id,
+ long maj_id, long min_id, MemorySegment msg, Object... x8)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epush2", err_stack, file, func, line, cls_id, maj_id, min_id, msg, x8);
+ }
+ return (int)spreader.invokeExact(err_stack, file, func, line, cls_id, maj_id, min_id, msg,
+ x8);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class H5Epop {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epop");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static FunctionDescriptor H5Epop$descriptor() { return H5Epop.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static MethodHandle H5Epop$handle() { return H5Epop.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static MemorySegment H5Epop$address() { return H5Epop.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static int H5Epop(long err_stack, long count)
+ {
+ var mh$ = H5Epop.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epop", err_stack, count);
+ }
+ return (int)mh$.invokeExact(err_stack, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eprint2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eprint2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static FunctionDescriptor H5Eprint2$descriptor() { return H5Eprint2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static MethodHandle H5Eprint2$handle() { return H5Eprint2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static MemorySegment H5Eprint2$address() { return H5Eprint2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static int H5Eprint2(long err_stack, MemorySegment stream)
+ {
+ var mh$ = H5Eprint2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eprint2", err_stack, stream);
+ }
+ return (int)mh$.invokeExact(err_stack, stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ewalk2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ewalk2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Ewalk2$descriptor() { return H5Ewalk2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Ewalk2$handle() { return H5Ewalk2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Ewalk2$address() { return H5Ewalk2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static int H5Ewalk2(long err_stack, int direction, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Ewalk2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ewalk2", err_stack, direction, func, client_data);
+ }
+ return (int)mh$.invokeExact(err_stack, direction, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_auto2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_auto2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_auto2$descriptor() { return H5Eget_auto2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static MethodHandle H5Eget_auto2$handle() { return H5Eget_auto2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static MemorySegment H5Eget_auto2$address() { return H5Eget_auto2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static int H5Eget_auto2(long estack_id, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eget_auto2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_auto2", estack_id, func, client_data);
+ }
+ return (int)mh$.invokeExact(estack_id, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eset_auto2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eset_auto2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eset_auto2$descriptor() { return H5Eset_auto2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Eset_auto2$handle() { return H5Eset_auto2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Eset_auto2$address() { return H5Eset_auto2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static int H5Eset_auto2(long estack_id, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eset_auto2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eset_auto2", estack_id, func, client_data);
+ }
+ return (int)mh$.invokeExact(estack_id, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eclear2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclear2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static FunctionDescriptor H5Eclear2$descriptor() { return H5Eclear2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static MethodHandle H5Eclear2$handle() { return H5Eclear2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static MemorySegment H5Eclear2$address() { return H5Eclear2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static int H5Eclear2(long err_stack)
+ {
+ var mh$ = H5Eclear2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclear2", err_stack);
+ }
+ return (int)mh$.invokeExact(err_stack);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eauto_is_v2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eauto_is_v2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static FunctionDescriptor H5Eauto_is_v2$descriptor() { return H5Eauto_is_v2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static MethodHandle H5Eauto_is_v2$handle() { return H5Eauto_is_v2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static MemorySegment H5Eauto_is_v2$address() { return H5Eauto_is_v2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static int H5Eauto_is_v2(long err_stack, MemorySegment is_stack)
+ {
+ var mh$ = H5Eauto_is_v2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eauto_is_v2", err_stack, is_stack);
+ }
+ return (int)mh$.invokeExact(err_stack, is_stack);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_msg {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_msg");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_msg$descriptor() { return H5Eget_msg.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static MethodHandle H5Eget_msg$handle() { return H5Eget_msg.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static MemorySegment H5Eget_msg$address() { return H5Eget_msg.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static long H5Eget_msg(long msg_id, MemorySegment type, MemorySegment msg, long size)
+ {
+ var mh$ = H5Eget_msg.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_msg", msg_id, type, msg, size);
+ }
+ return (long)mh$.invokeExact(msg_id, type, msg, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_num {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_num");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_num$descriptor() { return H5Eget_num.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static MethodHandle H5Eget_num$handle() { return H5Eget_num.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static MemorySegment H5Eget_num$address() { return H5Eget_num.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static long H5Eget_num(long error_stack_id)
+ {
+ var mh$ = H5Eget_num.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_num", error_stack_id);
+ }
+ return (long)mh$.invokeExact(error_stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef hid_t H5E_major_t
+ * }
+ */
+ public static final OfLong H5E_major_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef hid_t H5E_minor_t
+ * }
+ */
+ public static final OfLong H5E_minor_t = hdf5_h.C_LONG;
+
+ private static class H5Eclear1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclear1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static FunctionDescriptor H5Eclear1$descriptor() { return H5Eclear1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static MethodHandle H5Eclear1$handle() { return H5Eclear1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static MemorySegment H5Eclear1$address() { return H5Eclear1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static int H5Eclear1()
+ {
+ var mh$ = H5Eclear1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclear1");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_auto1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_auto1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_auto1$descriptor() { return H5Eget_auto1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static MethodHandle H5Eget_auto1$handle() { return H5Eget_auto1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static MemorySegment H5Eget_auto1$address() { return H5Eget_auto1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static int H5Eget_auto1(MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eget_auto1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_auto1", func, client_data);
+ }
+ return (int)mh$.invokeExact(func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Epush1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epush1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static FunctionDescriptor H5Epush1$descriptor() { return H5Epush1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static MethodHandle H5Epush1$handle() { return H5Epush1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static MemorySegment H5Epush1$address() { return H5Epush1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static int H5Epush1(MemorySegment file, MemorySegment func, int line, long maj, long min,
+ MemorySegment str)
+ {
+ var mh$ = H5Epush1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epush1", file, func, line, maj, min, str);
+ }
+ return (int)mh$.invokeExact(file, func, line, maj, min, str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eprint1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eprint1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static FunctionDescriptor H5Eprint1$descriptor() { return H5Eprint1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static MethodHandle H5Eprint1$handle() { return H5Eprint1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static MemorySegment H5Eprint1$address() { return H5Eprint1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static int H5Eprint1(MemorySegment stream)
+ {
+ var mh$ = H5Eprint1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eprint1", stream);
+ }
+ return (int)mh$.invokeExact(stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eset_auto1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eset_auto1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eset_auto1$descriptor() { return H5Eset_auto1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Eset_auto1$handle() { return H5Eset_auto1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Eset_auto1$address() { return H5Eset_auto1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static int H5Eset_auto1(MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eset_auto1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eset_auto1", func, client_data);
+ }
+ return (int)mh$.invokeExact(func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ewalk1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ewalk1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Ewalk1$descriptor() { return H5Ewalk1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Ewalk1$handle() { return H5Ewalk1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Ewalk1$address() { return H5Ewalk1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static int H5Ewalk1(int direction, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Ewalk1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ewalk1", direction, func, client_data);
+ }
+ return (int)mh$.invokeExact(direction, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_major {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_major");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_major$descriptor() { return H5Eget_major.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static MethodHandle H5Eget_major$handle() { return H5Eget_major.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static MemorySegment H5Eget_major$address() { return H5Eget_major.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static MemorySegment H5Eget_major(long maj)
+ {
+ var mh$ = H5Eget_major.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_major", maj);
+ }
+ return (MemorySegment)mh$.invokeExact(maj);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_minor {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_minor");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_minor$descriptor() { return H5Eget_minor.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static MethodHandle H5Eget_minor$handle() { return H5Eget_minor.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static MemorySegment H5Eget_minor$address() { return H5Eget_minor.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static MemorySegment H5Eget_minor(long min)
+ {
+ var mh$ = H5Eget_minor.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_minor", min);
+ }
+ return (MemorySegment)mh$.invokeExact(min);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5ES_STATUS_IN_PROGRESS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_IN_PROGRESS = 0
+ * }
+ */
+ public static int H5ES_STATUS_IN_PROGRESS() { return H5ES_STATUS_IN_PROGRESS; }
+ private static final int H5ES_STATUS_SUCCEED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_SUCCEED = 1
+ * }
+ */
+ public static int H5ES_STATUS_SUCCEED() { return H5ES_STATUS_SUCCEED; }
+ private static final int H5ES_STATUS_CANCELED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_CANCELED = 2
+ * }
+ */
+ public static int H5ES_STATUS_CANCELED() { return H5ES_STATUS_CANCELED; }
+ private static final int H5ES_STATUS_FAIL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_FAIL = 3
+ * }
+ */
+ public static int H5ES_STATUS_FAIL() { return H5ES_STATUS_FAIL; }
+
+ private static class H5EScreate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5EScreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static FunctionDescriptor H5EScreate$descriptor() { return H5EScreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static MethodHandle H5EScreate$handle() { return H5EScreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static MemorySegment H5EScreate$address() { return H5EScreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static long H5EScreate()
+ {
+ var mh$ = H5EScreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5EScreate");
+ }
+ return (long)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESwait {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESwait");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static FunctionDescriptor H5ESwait$descriptor() { return H5ESwait.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static MethodHandle H5ESwait$handle() { return H5ESwait.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static MemorySegment H5ESwait$address() { return H5ESwait.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static int H5ESwait(long es_id, long timeout, MemorySegment num_in_progress,
+ MemorySegment err_occurred)
+ {
+ var mh$ = H5ESwait.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESwait", es_id, timeout, num_in_progress, err_occurred);
+ }
+ return (int)mh$.invokeExact(es_id, timeout, num_in_progress, err_occurred);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5EScancel {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5EScancel");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static FunctionDescriptor H5EScancel$descriptor() { return H5EScancel.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static MethodHandle H5EScancel$handle() { return H5EScancel.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static MemorySegment H5EScancel$address() { return H5EScancel.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static int H5EScancel(long es_id, MemorySegment num_not_canceled, MemorySegment err_occurred)
+ {
+ var mh$ = H5EScancel.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5EScancel", es_id, num_not_canceled, err_occurred);
+ }
+ return (int)mh$.invokeExact(es_id, num_not_canceled, err_occurred);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_count$descriptor() { return H5ESget_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static MethodHandle H5ESget_count$handle() { return H5ESget_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static MemorySegment H5ESget_count$address() { return H5ESget_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static int H5ESget_count(long es_id, MemorySegment count)
+ {
+ var mh$ = H5ESget_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_count", es_id, count);
+ }
+ return (int)mh$.invokeExact(es_id, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_op_counter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_op_counter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_op_counter$descriptor() { return H5ESget_op_counter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static MethodHandle H5ESget_op_counter$handle() { return H5ESget_op_counter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static MemorySegment H5ESget_op_counter$address() { return H5ESget_op_counter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static int H5ESget_op_counter(long es_id, MemorySegment counter)
+ {
+ var mh$ = H5ESget_op_counter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_op_counter", es_id, counter);
+ }
+ return (int)mh$.invokeExact(es_id, counter);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_err_status {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_err_status");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_err_status$descriptor() { return H5ESget_err_status.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static MethodHandle H5ESget_err_status$handle() { return H5ESget_err_status.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static MemorySegment H5ESget_err_status$address() { return H5ESget_err_status.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static int H5ESget_err_status(long es_id, MemorySegment err_occurred)
+ {
+ var mh$ = H5ESget_err_status.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_err_status", es_id, err_occurred);
+ }
+ return (int)mh$.invokeExact(es_id, err_occurred);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_err_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_err_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_err_count$descriptor() { return H5ESget_err_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static MethodHandle H5ESget_err_count$handle() { return H5ESget_err_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static MemorySegment H5ESget_err_count$address() { return H5ESget_err_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static int H5ESget_err_count(long es_id, MemorySegment num_errs)
+ {
+ var mh$ = H5ESget_err_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_err_count", es_id, num_errs);
+ }
+ return (int)mh$.invokeExact(es_id, num_errs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_err_info {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_err_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_err_info$descriptor() { return H5ESget_err_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static MethodHandle H5ESget_err_info$handle() { return H5ESget_err_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static MemorySegment H5ESget_err_info$address() { return H5ESget_err_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static int H5ESget_err_info(long es_id, long num_err_info, MemorySegment err_info,
+ MemorySegment err_cleared)
+ {
+ var mh$ = H5ESget_err_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_err_info", es_id, num_err_info, err_info, err_cleared);
+ }
+ return (int)mh$.invokeExact(es_id, num_err_info, err_info, err_cleared);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESfree_err_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESfree_err_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static FunctionDescriptor H5ESfree_err_info$descriptor() { return H5ESfree_err_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static MethodHandle H5ESfree_err_info$handle() { return H5ESfree_err_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static MemorySegment H5ESfree_err_info$address() { return H5ESfree_err_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static int H5ESfree_err_info(long num_err_info, MemorySegment err_info)
+ {
+ var mh$ = H5ESfree_err_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESfree_err_info", num_err_info, err_info);
+ }
+ return (int)mh$.invokeExact(num_err_info, err_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESregister_insert_func {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESregister_insert_func");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5ESregister_insert_func$descriptor()
+ {
+ return H5ESregister_insert_func.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static MethodHandle H5ESregister_insert_func$handle() { return H5ESregister_insert_func.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static MemorySegment H5ESregister_insert_func$address() { return H5ESregister_insert_func.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static int H5ESregister_insert_func(long es_id, MemorySegment func, MemorySegment ctx)
+ {
+ var mh$ = H5ESregister_insert_func.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESregister_insert_func", es_id, func, ctx);
+ }
+ return (int)mh$.invokeExact(es_id, func, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESregister_complete_func {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESregister_complete_func");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5ESregister_complete_func$descriptor()
+ {
+ return H5ESregister_complete_func.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static MethodHandle H5ESregister_complete_func$handle()
+ {
+ return H5ESregister_complete_func.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static MemorySegment H5ESregister_complete_func$address()
+ {
+ return H5ESregister_complete_func.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static int H5ESregister_complete_func(long es_id, MemorySegment func, MemorySegment ctx)
+ {
+ var mh$ = H5ESregister_complete_func.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESregister_complete_func", es_id, func, ctx);
+ }
+ return (int)mh$.invokeExact(es_id, func, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5ESclose$descriptor() { return H5ESclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5ESclose$handle() { return H5ESclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5ESclose$address() { return H5ESclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static int H5ESclose(long es_id)
+ {
+ var mh$ = H5ESclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESclose", es_id);
+ }
+ return (int)mh$.invokeExact(es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5F_SCOPE_LOCAL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_scope_t.H5F_SCOPE_LOCAL = 0
+ * }
+ */
+ public static int H5F_SCOPE_LOCAL() { return H5F_SCOPE_LOCAL; }
+ private static final int H5F_SCOPE_GLOBAL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_scope_t.H5F_SCOPE_GLOBAL = 1
+ * }
+ */
+ public static int H5F_SCOPE_GLOBAL() { return H5F_SCOPE_GLOBAL; }
+ private static final int H5F_CLOSE_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_DEFAULT = 0
+ * }
+ */
+ public static int H5F_CLOSE_DEFAULT() { return H5F_CLOSE_DEFAULT; }
+ private static final int H5F_CLOSE_WEAK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_WEAK = 1
+ * }
+ */
+ public static int H5F_CLOSE_WEAK() { return H5F_CLOSE_WEAK; }
+ private static final int H5F_CLOSE_SEMI = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_SEMI = 2
+ * }
+ */
+ public static int H5F_CLOSE_SEMI() { return H5F_CLOSE_SEMI; }
+ private static final int H5F_CLOSE_STRONG = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_STRONG = 3
+ * }
+ */
+ public static int H5F_CLOSE_STRONG() { return H5F_CLOSE_STRONG; }
+ private static final int H5FD_MEM_NOLIST = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_NOLIST = -1
+ * }
+ */
+ public static int H5FD_MEM_NOLIST() { return H5FD_MEM_NOLIST; }
+ private static final int H5FD_MEM_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_DEFAULT = 0
+ * }
+ */
+ public static int H5FD_MEM_DEFAULT() { return H5FD_MEM_DEFAULT; }
+ private static final int H5FD_MEM_SUPER = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_SUPER = 1
+ * }
+ */
+ public static int H5FD_MEM_SUPER() { return H5FD_MEM_SUPER; }
+ private static final int H5FD_MEM_BTREE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_BTREE = 2
+ * }
+ */
+ public static int H5FD_MEM_BTREE() { return H5FD_MEM_BTREE; }
+ private static final int H5FD_MEM_DRAW = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_DRAW = 3
+ * }
+ */
+ public static int H5FD_MEM_DRAW() { return H5FD_MEM_DRAW; }
+ private static final int H5FD_MEM_GHEAP = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_GHEAP = 4
+ * }
+ */
+ public static int H5FD_MEM_GHEAP() { return H5FD_MEM_GHEAP; }
+ private static final int H5FD_MEM_LHEAP = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_LHEAP = 5
+ * }
+ */
+ public static int H5FD_MEM_LHEAP() { return H5FD_MEM_LHEAP; }
+ private static final int H5FD_MEM_OHDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_OHDR = 6
+ * }
+ */
+ public static int H5FD_MEM_OHDR() { return H5FD_MEM_OHDR; }
+ private static final int H5FD_MEM_NTYPES = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_NTYPES = 7
+ * }
+ */
+ public static int H5FD_MEM_NTYPES() { return H5FD_MEM_NTYPES; }
+ private static final int H5F_LIBVER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_ERROR = -1
+ * }
+ */
+ public static int H5F_LIBVER_ERROR() { return H5F_LIBVER_ERROR; }
+ private static final int H5F_LIBVER_EARLIEST = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_EARLIEST = 0
+ * }
+ */
+ public static int H5F_LIBVER_EARLIEST() { return H5F_LIBVER_EARLIEST; }
+ private static final int H5F_LIBVER_V18 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V18 = 1
+ * }
+ */
+ public static int H5F_LIBVER_V18() { return H5F_LIBVER_V18; }
+ private static final int H5F_LIBVER_V110 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V110 = 2
+ * }
+ */
+ public static int H5F_LIBVER_V110() { return H5F_LIBVER_V110; }
+ private static final int H5F_LIBVER_V112 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V112 = 3
+ * }
+ */
+ public static int H5F_LIBVER_V112() { return H5F_LIBVER_V112; }
+ private static final int H5F_LIBVER_V114 = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V114 = 4
+ * }
+ */
+ public static int H5F_LIBVER_V114() { return H5F_LIBVER_V114; }
+ private static final int H5F_LIBVER_V200 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V200 = 5
+ * }
+ */
+ public static int H5F_LIBVER_V200() { return H5F_LIBVER_V200; }
+ private static final int H5F_LIBVER_LATEST = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_LATEST = 5
+ * }
+ */
+ public static int H5F_LIBVER_LATEST() { return H5F_LIBVER_LATEST; }
+ private static final int H5F_LIBVER_NBOUNDS = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_NBOUNDS = 6
+ * }
+ */
+ public static int H5F_LIBVER_NBOUNDS() { return H5F_LIBVER_NBOUNDS; }
+ private static final int H5F_FSPACE_STRATEGY_FSM_AGGR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_FSM_AGGR = 0
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_FSM_AGGR() { return H5F_FSPACE_STRATEGY_FSM_AGGR; }
+ private static final int H5F_FSPACE_STRATEGY_PAGE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_PAGE = 1
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_PAGE() { return H5F_FSPACE_STRATEGY_PAGE; }
+ private static final int H5F_FSPACE_STRATEGY_AGGR = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_AGGR = 2
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_AGGR() { return H5F_FSPACE_STRATEGY_AGGR; }
+ private static final int H5F_FSPACE_STRATEGY_NONE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_NONE = 3
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_NONE() { return H5F_FSPACE_STRATEGY_NONE; }
+ private static final int H5F_FSPACE_STRATEGY_NTYPES = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_NTYPES = 4
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_NTYPES() { return H5F_FSPACE_STRATEGY_NTYPES; }
+ private static final int H5F_FILE_SPACE_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_DEFAULT = 0
+ * }
+ */
+ public static int H5F_FILE_SPACE_DEFAULT() { return H5F_FILE_SPACE_DEFAULT; }
+ private static final int H5F_FILE_SPACE_ALL_PERSIST = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_ALL_PERSIST = 1
+ * }
+ */
+ public static int H5F_FILE_SPACE_ALL_PERSIST() { return H5F_FILE_SPACE_ALL_PERSIST; }
+ private static final int H5F_FILE_SPACE_ALL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_ALL = 2
+ * }
+ */
+ public static int H5F_FILE_SPACE_ALL() { return H5F_FILE_SPACE_ALL; }
+ private static final int H5F_FILE_SPACE_AGGR_VFD = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_AGGR_VFD = 3
+ * }
+ */
+ public static int H5F_FILE_SPACE_AGGR_VFD() { return H5F_FILE_SPACE_AGGR_VFD; }
+ private static final int H5F_FILE_SPACE_VFD = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_VFD = 4
+ * }
+ */
+ public static int H5F_FILE_SPACE_VFD() { return H5F_FILE_SPACE_VFD; }
+ private static final int H5F_FILE_SPACE_NTYPES = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_NTYPES = 5
+ * }
+ */
+ public static int H5F_FILE_SPACE_NTYPES() { return H5F_FILE_SPACE_NTYPES; }
+
+ private static class H5Fis_accessible {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fis_accessible");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fis_accessible$descriptor() { return H5Fis_accessible.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fis_accessible$handle() { return H5Fis_accessible.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fis_accessible$address() { return H5Fis_accessible.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static int H5Fis_accessible(MemorySegment container_name, long fapl_id)
+ {
+ var mh$ = H5Fis_accessible.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fis_accessible", container_name, fapl_id);
+ }
+ return (int)mh$.invokeExact(container_name, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fcreate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fcreate$descriptor() { return H5Fcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fcreate$handle() { return H5Fcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fcreate$address() { return H5Fcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static long H5Fcreate(MemorySegment filename, int flags, long fcpl_id, long fapl_id)
+ {
+ var mh$ = H5Fcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fcreate", filename, flags, fcpl_id, fapl_id);
+ }
+ return (long)mh$.invokeExact(filename, flags, fcpl_id, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fcreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fcreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fcreate_async$descriptor() { return H5Fcreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fcreate_async$handle() { return H5Fcreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fcreate_async$address() { return H5Fcreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Fcreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment filename, int flags, long fcpl_id, long fapl_id,
+ long es_id)
+ {
+ var mh$ = H5Fcreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fcreate_async", app_file, app_func, app_line, filename, flags, fcpl_id,
+ fapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, filename, flags, fcpl_id, fapl_id,
+ es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fopen$descriptor() { return H5Fopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fopen$handle() { return H5Fopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fopen$address() { return H5Fopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static long H5Fopen(MemorySegment filename, int flags, long fapl_id)
+ {
+ var mh$ = H5Fopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fopen", filename, flags, fapl_id);
+ }
+ return (long)mh$.invokeExact(filename, flags, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fopen_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fopen_async$descriptor() { return H5Fopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fopen_async$handle() { return H5Fopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fopen_async$address() { return H5Fopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static long H5Fopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment filename, int flags, long access_plist, long es_id)
+ {
+ var mh$ = H5Fopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fopen_async", app_file, app_func, app_line, filename, flags, access_plist,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, filename, flags, access_plist, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freopen {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freopen$descriptor() { return H5Freopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Freopen$handle() { return H5Freopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Freopen$address() { return H5Freopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static long H5Freopen(long file_id)
+ {
+ var mh$ = H5Freopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freopen", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freopen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freopen_async$descriptor() { return H5Freopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Freopen_async$handle() { return H5Freopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Freopen_async$address() { return H5Freopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static long H5Freopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long file_id, long es_id)
+ {
+ var mh$ = H5Freopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freopen_async", app_file, app_func, app_line, file_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, file_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fflush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static FunctionDescriptor H5Fflush$descriptor() { return H5Fflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static MethodHandle H5Fflush$handle() { return H5Fflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static MemorySegment H5Fflush$address() { return H5Fflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static int H5Fflush(long object_id, int scope)
+ {
+ var mh$ = H5Fflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fflush", object_id, scope);
+ }
+ return (int)mh$.invokeExact(object_id, scope);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fflush_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fflush_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fflush_async$descriptor() { return H5Fflush_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fflush_async$handle() { return H5Fflush_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fflush_async$address() { return H5Fflush_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static int H5Fflush_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long object_id, int scope, long es_id)
+ {
+ var mh$ = H5Fflush_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fflush_async", app_file, app_func, app_line, object_id, scope, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, object_id, scope, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fclose$descriptor() { return H5Fclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fclose$handle() { return H5Fclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fclose$address() { return H5Fclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static int H5Fclose(long file_id)
+ {
+ var mh$ = H5Fclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fclose", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fclose_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fclose_async$descriptor() { return H5Fclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fclose_async$handle() { return H5Fclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fclose_async$address() { return H5Fclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Fclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long file_id, long es_id)
+ {
+ var mh$ = H5Fclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fclose_async", app_file, app_func, app_line, file_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, file_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fdelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fdelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fdelete$descriptor() { return H5Fdelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fdelete$handle() { return H5Fdelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fdelete$address() { return H5Fdelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static int H5Fdelete(MemorySegment filename, long fapl_id)
+ {
+ var mh$ = H5Fdelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fdelete", filename, fapl_id);
+ }
+ return (int)mh$.invokeExact(filename, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_create_plist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_create_plist$descriptor() { return H5Fget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fget_create_plist$handle() { return H5Fget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fget_create_plist$address() { return H5Fget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static long H5Fget_create_plist(long file_id)
+ {
+ var mh$ = H5Fget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_create_plist", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_access_plist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_access_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_access_plist$descriptor() { return H5Fget_access_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fget_access_plist$handle() { return H5Fget_access_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fget_access_plist$address() { return H5Fget_access_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static long H5Fget_access_plist(long file_id)
+ {
+ var mh$ = H5Fget_access_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_access_plist", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_intent {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_intent");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_intent$descriptor() { return H5Fget_intent.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static MethodHandle H5Fget_intent$handle() { return H5Fget_intent.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static MemorySegment H5Fget_intent$address() { return H5Fget_intent.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static int H5Fget_intent(long file_id, MemorySegment intent)
+ {
+ var mh$ = H5Fget_intent.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_intent", file_id, intent);
+ }
+ return (int)mh$.invokeExact(file_id, intent);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_fileno {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_fileno");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_fileno$descriptor() { return H5Fget_fileno.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static MethodHandle H5Fget_fileno$handle() { return H5Fget_fileno.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static MemorySegment H5Fget_fileno$address() { return H5Fget_fileno.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static int H5Fget_fileno(long file_id, MemorySegment fileno)
+ {
+ var mh$ = H5Fget_fileno.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_fileno", file_id, fileno);
+ }
+ return (int)mh$.invokeExact(file_id, fileno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_obj_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_obj_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_obj_count$descriptor() { return H5Fget_obj_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static MethodHandle H5Fget_obj_count$handle() { return H5Fget_obj_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static MemorySegment H5Fget_obj_count$address() { return H5Fget_obj_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static long H5Fget_obj_count(long file_id, int types)
+ {
+ var mh$ = H5Fget_obj_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_obj_count", file_id, types);
+ }
+ return (long)mh$.invokeExact(file_id, types);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_obj_ids {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_obj_ids");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_obj_ids$descriptor() { return H5Fget_obj_ids.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static MethodHandle H5Fget_obj_ids$handle() { return H5Fget_obj_ids.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static MemorySegment H5Fget_obj_ids$address() { return H5Fget_obj_ids.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static long H5Fget_obj_ids(long file_id, int types, long max_objs, MemorySegment obj_id_list)
+ {
+ var mh$ = H5Fget_obj_ids.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_obj_ids", file_id, types, max_objs, obj_id_list);
+ }
+ return (long)mh$.invokeExact(file_id, types, max_objs, obj_id_list);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_vfd_handle {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_vfd_handle");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_vfd_handle$descriptor() { return H5Fget_vfd_handle.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MethodHandle H5Fget_vfd_handle$handle() { return H5Fget_vfd_handle.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MemorySegment H5Fget_vfd_handle$address() { return H5Fget_vfd_handle.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static int H5Fget_vfd_handle(long file_id, long fapl, MemorySegment file_handle)
+ {
+ var mh$ = H5Fget_vfd_handle.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_vfd_handle", file_id, fapl, file_handle);
+ }
+ return (int)mh$.invokeExact(file_id, fapl, file_handle);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fmount {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fmount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static FunctionDescriptor H5Fmount$descriptor() { return H5Fmount.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static MethodHandle H5Fmount$handle() { return H5Fmount.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static MemorySegment H5Fmount$address() { return H5Fmount.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static int H5Fmount(long loc_id, MemorySegment name, long child, long plist)
+ {
+ var mh$ = H5Fmount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fmount", loc_id, name, child, plist);
+ }
+ return (int)mh$.invokeExact(loc_id, name, child, plist);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Funmount {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Funmount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Funmount$descriptor() { return H5Funmount.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Funmount$handle() { return H5Funmount.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Funmount$address() { return H5Funmount.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static int H5Funmount(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Funmount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Funmount", loc_id, name);
+ }
+ return (int)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_freespace {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_freespace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_freespace$descriptor() { return H5Fget_freespace.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fget_freespace$handle() { return H5Fget_freespace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fget_freespace$address() { return H5Fget_freespace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static long H5Fget_freespace(long file_id)
+ {
+ var mh$ = H5Fget_freespace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_freespace", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_filesize {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_filesize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_filesize$descriptor() { return H5Fget_filesize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Fget_filesize$handle() { return H5Fget_filesize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Fget_filesize$address() { return H5Fget_filesize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static int H5Fget_filesize(long file_id, MemorySegment size)
+ {
+ var mh$ = H5Fget_filesize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_filesize", file_id, size);
+ }
+ return (int)mh$.invokeExact(file_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_eoa {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_eoa");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_eoa$descriptor() { return H5Fget_eoa.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static MethodHandle H5Fget_eoa$handle() { return H5Fget_eoa.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static MemorySegment H5Fget_eoa$address() { return H5Fget_eoa.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static int H5Fget_eoa(long file_id, MemorySegment eoa)
+ {
+ var mh$ = H5Fget_eoa.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_eoa", file_id, eoa);
+ }
+ return (int)mh$.invokeExact(file_id, eoa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fincrement_filesize {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fincrement_filesize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static FunctionDescriptor H5Fincrement_filesize$descriptor() { return H5Fincrement_filesize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static MethodHandle H5Fincrement_filesize$handle() { return H5Fincrement_filesize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static MemorySegment H5Fincrement_filesize$address() { return H5Fincrement_filesize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static int H5Fincrement_filesize(long file_id, long increment)
+ {
+ var mh$ = H5Fincrement_filesize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fincrement_filesize", file_id, increment);
+ }
+ return (int)mh$.invokeExact(file_id, increment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_file_image {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_file_image");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_file_image$descriptor() { return H5Fget_file_image.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MethodHandle H5Fget_file_image$handle() { return H5Fget_file_image.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MemorySegment H5Fget_file_image$address() { return H5Fget_file_image.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static long H5Fget_file_image(long file_id, MemorySegment buf_ptr, long buf_len)
+ {
+ var mh$ = H5Fget_file_image.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_file_image", file_id, buf_ptr, buf_len);
+ }
+ return (long)mh$.invokeExact(file_id, buf_ptr, buf_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_config$descriptor() { return H5Fget_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_config$handle() { return H5Fget_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_config$address() { return H5Fget_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Fget_mdc_config(long file_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Fget_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_config", file_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_mdc_config$descriptor() { return H5Fset_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Fset_mdc_config$handle() { return H5Fset_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Fset_mdc_config$address() { return H5Fset_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Fset_mdc_config(long file_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Fset_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_mdc_config", file_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_hit_rate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_hit_rate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_hit_rate$descriptor() { return H5Fget_mdc_hit_rate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_hit_rate$handle() { return H5Fget_mdc_hit_rate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_hit_rate$address() { return H5Fget_mdc_hit_rate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static int H5Fget_mdc_hit_rate(long file_id, MemorySegment hit_rate_ptr)
+ {
+ var mh$ = H5Fget_mdc_hit_rate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_hit_rate", file_id, hit_rate_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, hit_rate_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_size$descriptor() { return H5Fget_mdc_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_size$handle() { return H5Fget_mdc_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_size$address() { return H5Fget_mdc_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static int H5Fget_mdc_size(long file_id, MemorySegment max_size_ptr,
+ MemorySegment min_clean_size_ptr, MemorySegment cur_size_ptr,
+ MemorySegment cur_num_entries_ptr)
+ {
+ var mh$ = H5Fget_mdc_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_size", file_id, max_size_ptr, min_clean_size_ptr, cur_size_ptr,
+ cur_num_entries_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, max_size_ptr, min_clean_size_ptr, cur_size_ptr,
+ cur_num_entries_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freset_mdc_hit_rate_stats {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freset_mdc_hit_rate_stats");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freset_mdc_hit_rate_stats$descriptor()
+ {
+ return H5Freset_mdc_hit_rate_stats.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Freset_mdc_hit_rate_stats$handle()
+ {
+ return H5Freset_mdc_hit_rate_stats.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Freset_mdc_hit_rate_stats$address()
+ {
+ return H5Freset_mdc_hit_rate_stats.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static int H5Freset_mdc_hit_rate_stats(long file_id)
+ {
+ var mh$ = H5Freset_mdc_hit_rate_stats.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freset_mdc_hit_rate_stats", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_name$descriptor() { return H5Fget_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Fget_name$handle() { return H5Fget_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Fget_name$address() { return H5Fget_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static long H5Fget_name(long obj_id, MemorySegment name, long size)
+ {
+ var mh$ = H5Fget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_name", obj_id, name, size);
+ }
+ return (long)mh$.invokeExact(obj_id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_info2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_info2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_info2$descriptor() { return H5Fget_info2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static MethodHandle H5Fget_info2$handle() { return H5Fget_info2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static MemorySegment H5Fget_info2$address() { return H5Fget_info2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static int H5Fget_info2(long obj_id, MemorySegment file_info)
+ {
+ var mh$ = H5Fget_info2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_info2", obj_id, file_info);
+ }
+ return (int)mh$.invokeExact(obj_id, file_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_metadata_read_retry_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_metadata_read_retry_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_metadata_read_retry_info$descriptor()
+ {
+ return H5Fget_metadata_read_retry_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static MethodHandle H5Fget_metadata_read_retry_info$handle()
+ {
+ return H5Fget_metadata_read_retry_info.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static MemorySegment H5Fget_metadata_read_retry_info$address()
+ {
+ return H5Fget_metadata_read_retry_info.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static int H5Fget_metadata_read_retry_info(long file_id, MemorySegment info)
+ {
+ var mh$ = H5Fget_metadata_read_retry_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_metadata_read_retry_info", file_id, info);
+ }
+ return (int)mh$.invokeExact(file_id, info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fstart_swmr_write {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fstart_swmr_write");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fstart_swmr_write$descriptor() { return H5Fstart_swmr_write.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fstart_swmr_write$handle() { return H5Fstart_swmr_write.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fstart_swmr_write$address() { return H5Fstart_swmr_write.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static int H5Fstart_swmr_write(long file_id)
+ {
+ var mh$ = H5Fstart_swmr_write.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fstart_swmr_write", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_free_sections {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_free_sections");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_free_sections$descriptor() { return H5Fget_free_sections.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static MethodHandle H5Fget_free_sections$handle() { return H5Fget_free_sections.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static MemorySegment H5Fget_free_sections$address() { return H5Fget_free_sections.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static long H5Fget_free_sections(long file_id, int type, long nsects, MemorySegment sect_info)
+ {
+ var mh$ = H5Fget_free_sections.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_free_sections", file_id, type, nsects, sect_info);
+ }
+ return (long)mh$.invokeExact(file_id, type, nsects, sect_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fclear_elink_file_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fclear_elink_file_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fclear_elink_file_cache$descriptor()
+ {
+ return H5Fclear_elink_file_cache.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fclear_elink_file_cache$handle() { return H5Fclear_elink_file_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fclear_elink_file_cache$address() { return H5Fclear_elink_file_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static int H5Fclear_elink_file_cache(long file_id)
+ {
+ var mh$ = H5Fclear_elink_file_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fclear_elink_file_cache", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_libver_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_libver_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_libver_bounds$descriptor() { return H5Fset_libver_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MethodHandle H5Fset_libver_bounds$handle() { return H5Fset_libver_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MemorySegment H5Fset_libver_bounds$address() { return H5Fset_libver_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static int H5Fset_libver_bounds(long file_id, int low, int high)
+ {
+ var mh$ = H5Fset_libver_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_libver_bounds", file_id, low, high);
+ }
+ return (int)mh$.invokeExact(file_id, low, high);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fstart_mdc_logging {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fstart_mdc_logging");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fstart_mdc_logging$descriptor() { return H5Fstart_mdc_logging.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fstart_mdc_logging$handle() { return H5Fstart_mdc_logging.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fstart_mdc_logging$address() { return H5Fstart_mdc_logging.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static int H5Fstart_mdc_logging(long file_id)
+ {
+ var mh$ = H5Fstart_mdc_logging.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fstart_mdc_logging", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fstop_mdc_logging {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fstop_mdc_logging");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fstop_mdc_logging$descriptor() { return H5Fstop_mdc_logging.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fstop_mdc_logging$handle() { return H5Fstop_mdc_logging.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fstop_mdc_logging$address() { return H5Fstop_mdc_logging.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static int H5Fstop_mdc_logging(long file_id)
+ {
+ var mh$ = H5Fstop_mdc_logging.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fstop_mdc_logging", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_logging_status {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_logging_status");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_logging_status$descriptor()
+ {
+ return H5Fget_mdc_logging_status.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_logging_status$handle() { return H5Fget_mdc_logging_status.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_logging_status$address() { return H5Fget_mdc_logging_status.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static int H5Fget_mdc_logging_status(long file_id, MemorySegment is_enabled,
+ MemorySegment is_currently_logging)
+ {
+ var mh$ = H5Fget_mdc_logging_status.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_logging_status", file_id, is_enabled, is_currently_logging);
+ }
+ return (int)mh$.invokeExact(file_id, is_enabled, is_currently_logging);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freset_page_buffering_stats {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freset_page_buffering_stats");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freset_page_buffering_stats$descriptor()
+ {
+ return H5Freset_page_buffering_stats.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Freset_page_buffering_stats$handle()
+ {
+ return H5Freset_page_buffering_stats.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Freset_page_buffering_stats$address()
+ {
+ return H5Freset_page_buffering_stats.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static int H5Freset_page_buffering_stats(long file_id)
+ {
+ var mh$ = H5Freset_page_buffering_stats.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freset_page_buffering_stats", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_page_buffering_stats {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_page_buffering_stats");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static FunctionDescriptor H5Fget_page_buffering_stats$descriptor()
+ {
+ return H5Fget_page_buffering_stats.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static MethodHandle H5Fget_page_buffering_stats$handle()
+ {
+ return H5Fget_page_buffering_stats.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static MemorySegment H5Fget_page_buffering_stats$address()
+ {
+ return H5Fget_page_buffering_stats.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static int H5Fget_page_buffering_stats(long file_id, MemorySegment accesses, MemorySegment hits,
+ MemorySegment misses, MemorySegment evictions,
+ MemorySegment bypasses)
+ {
+ var mh$ = H5Fget_page_buffering_stats.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_page_buffering_stats", file_id, accesses, hits, misses, evictions,
+ bypasses);
+ }
+ return (int)mh$.invokeExact(file_id, accesses, hits, misses, evictions, bypasses);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_image_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_image_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_image_info$descriptor() { return H5Fget_mdc_image_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_image_info$handle() { return H5Fget_mdc_image_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_image_info$address() { return H5Fget_mdc_image_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static int H5Fget_mdc_image_info(long file_id, MemorySegment image_addr, MemorySegment image_size)
+ {
+ var mh$ = H5Fget_mdc_image_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_image_info", file_id, image_addr, image_size);
+ }
+ return (int)mh$.invokeExact(file_id, image_addr, image_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_dset_no_attrs_hint$descriptor()
+ {
+ return H5Fget_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static MethodHandle H5Fget_dset_no_attrs_hint$handle() { return H5Fget_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static MemorySegment H5Fget_dset_no_attrs_hint$address() { return H5Fget_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static int H5Fget_dset_no_attrs_hint(long file_id, MemorySegment minimize)
+ {
+ var mh$ = H5Fget_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_dset_no_attrs_hint", file_id, minimize);
+ }
+ return (int)mh$.invokeExact(file_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_dset_no_attrs_hint$descriptor()
+ {
+ return H5Fset_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static MethodHandle H5Fset_dset_no_attrs_hint$handle() { return H5Fset_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static MemorySegment H5Fset_dset_no_attrs_hint$address() { return H5Fset_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static int H5Fset_dset_no_attrs_hint(long file_id, boolean minimize)
+ {
+ var mh$ = H5Fset_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_dset_no_attrs_hint", file_id, minimize);
+ }
+ return (int)mh$.invokeExact(file_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fformat_convert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fformat_convert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static FunctionDescriptor H5Fformat_convert$descriptor() { return H5Fformat_convert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static MethodHandle H5Fformat_convert$handle() { return H5Fformat_convert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static MemorySegment H5Fformat_convert$address() { return H5Fformat_convert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static int H5Fformat_convert(long fid)
+ {
+ var mh$ = H5Fformat_convert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fformat_convert", fid);
+ }
+ return (int)mh$.invokeExact(fid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_info1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_info1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_info1$descriptor() { return H5Fget_info1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static MethodHandle H5Fget_info1$handle() { return H5Fget_info1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static MemorySegment H5Fget_info1$address() { return H5Fget_info1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static int H5Fget_info1(long obj_id, MemorySegment file_info)
+ {
+ var mh$ = H5Fget_info1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_info1", obj_id, file_info);
+ }
+ return (int)mh$.invokeExact(obj_id, file_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_latest_format {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_latest_format");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_latest_format$descriptor() { return H5Fset_latest_format.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static MethodHandle H5Fset_latest_format$handle() { return H5Fset_latest_format.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static MemorySegment H5Fset_latest_format$address() { return H5Fset_latest_format.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static int H5Fset_latest_format(long file_id, boolean latest_format)
+ {
+ var mh$ = H5Fset_latest_format.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_latest_format", file_id, latest_format);
+ }
+ return (int)mh$.invokeExact(file_id, latest_format);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fis_hdf5 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fis_hdf5");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static FunctionDescriptor H5Fis_hdf5$descriptor() { return H5Fis_hdf5.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static MethodHandle H5Fis_hdf5$handle() { return H5Fis_hdf5.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static MemorySegment H5Fis_hdf5$address() { return H5Fis_hdf5.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static int H5Fis_hdf5(MemorySegment file_name)
+ {
+ var mh$ = H5Fis_hdf5.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fis_hdf5", file_name);
+ }
+ return (int)mh$.invokeExact(file_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5FD_class_value_t
+ * }
+ */
+ public static final OfInt H5FD_class_value_t = hdf5_h.C_INT;
+ private static final int H5FD_FILE_IMAGE_OP_NO_OP = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_NO_OP = 0
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_NO_OP() { return H5FD_FILE_IMAGE_OP_NO_OP; }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET = 1
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET() { return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET; }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY = 2
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY()
+ {
+ return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY;
+ }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET = 3
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET() { return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET; }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE = 4
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE()
+ {
+ return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE;
+ }
+ private static final int H5FD_FILE_IMAGE_OP_FILE_OPEN = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_FILE_OPEN = 5
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_FILE_OPEN() { return H5FD_FILE_IMAGE_OP_FILE_OPEN; }
+ private static final int H5FD_FILE_IMAGE_OP_FILE_RESIZE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_FILE_RESIZE = 6
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_FILE_RESIZE() { return H5FD_FILE_IMAGE_OP_FILE_RESIZE; }
+ private static final int H5FD_FILE_IMAGE_OP_FILE_CLOSE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_FILE_CLOSE = 7
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_FILE_CLOSE() { return H5FD_FILE_IMAGE_OP_FILE_CLOSE; }
+
+ private static class H5FDdriver_query {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDdriver_query");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static FunctionDescriptor H5FDdriver_query$descriptor() { return H5FDdriver_query.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static MethodHandle H5FDdriver_query$handle() { return H5FDdriver_query.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static MemorySegment H5FDdriver_query$address() { return H5FDdriver_query.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static int H5FDdriver_query(long driver_id, MemorySegment flags)
+ {
+ var mh$ = H5FDdriver_query.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDdriver_query", driver_id, flags);
+ }
+ return (int)mh$.invokeExact(driver_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5L_TYPE_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_ERROR = -1
+ * }
+ */
+ public static int H5L_TYPE_ERROR() { return H5L_TYPE_ERROR; }
+ private static final int H5L_TYPE_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_HARD = 0
+ * }
+ */
+ public static int H5L_TYPE_HARD() { return H5L_TYPE_HARD; }
+ private static final int H5L_TYPE_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_SOFT = 1
+ * }
+ */
+ public static int H5L_TYPE_SOFT() { return H5L_TYPE_SOFT; }
+ private static final int H5L_TYPE_EXTERNAL = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_EXTERNAL = 64
+ * }
+ */
+ public static int H5L_TYPE_EXTERNAL() { return H5L_TYPE_EXTERNAL; }
+ private static final int H5L_TYPE_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_MAX = 255
+ * }
+ */
+ public static int H5L_TYPE_MAX() { return H5L_TYPE_MAX; }
+
+ private static class H5Lmove {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lmove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lmove$descriptor() { return H5Lmove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lmove$handle() { return H5Lmove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lmove$address() { return H5Lmove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Lmove(long src_loc, MemorySegment src_name, long dst_loc, MemorySegment dst_name,
+ long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lmove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lmove", src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcopy$descriptor() { return H5Lcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcopy$handle() { return H5Lcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcopy$address() { return H5Lcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcopy(long src_loc, MemorySegment src_name, long dst_loc, MemorySegment dst_name,
+ long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcopy", src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_hard {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_hard");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_hard$descriptor() { return H5Lcreate_hard.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_hard$handle() { return H5Lcreate_hard.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_hard$address() { return H5Lcreate_hard.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_hard(long cur_loc, MemorySegment cur_name, long dst_loc,
+ MemorySegment dst_name, long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_hard.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_hard", cur_loc, cur_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(cur_loc, cur_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_hard_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_hard_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_hard_async$descriptor() { return H5Lcreate_hard_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_hard_async$handle() { return H5Lcreate_hard_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_hard_async$address() { return H5Lcreate_hard_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Lcreate_hard_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long cur_loc_id, MemorySegment cur_name, long new_loc_id,
+ MemorySegment new_name, long lcpl_id, long lapl_id, long es_id)
+ {
+ var mh$ = H5Lcreate_hard_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_hard_async", app_file, app_func, app_line, cur_loc_id, cur_name,
+ new_loc_id, new_name, lcpl_id, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, cur_loc_id, cur_name, new_loc_id,
+ new_name, lcpl_id, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_soft {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_soft");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_soft$descriptor() { return H5Lcreate_soft.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_soft$handle() { return H5Lcreate_soft.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_soft$address() { return H5Lcreate_soft.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_soft(MemorySegment link_target, long link_loc_id, MemorySegment link_name,
+ long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_soft.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_soft", link_target, link_loc_id, link_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(link_target, link_loc_id, link_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_soft_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_soft_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_soft_async$descriptor() { return H5Lcreate_soft_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_soft_async$handle() { return H5Lcreate_soft_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_soft_async$address() { return H5Lcreate_soft_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Lcreate_soft_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment link_target, long link_loc_id,
+ MemorySegment link_name, long lcpl_id, long lapl_id, long es_id)
+ {
+ var mh$ = H5Lcreate_soft_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_soft_async", app_file, app_func, app_line, link_target, link_loc_id,
+ link_name, lcpl_id, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, link_target, link_loc_id, link_name,
+ lcpl_id, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete$descriptor() { return H5Ldelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete$handle() { return H5Ldelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete$address() { return H5Ldelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ldelete(long loc_id, MemorySegment name, long lapl_id)
+ {
+ var mh$ = H5Ldelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete", loc_id, name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete_async$descriptor() { return H5Ldelete_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete_async$handle() { return H5Ldelete_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete_async$address() { return H5Ldelete_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Ldelete_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lapl_id, long es_id)
+ {
+ var mh$ = H5Ldelete_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete_async", app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete_by_idx$descriptor() { return H5Ldelete_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete_by_idx$handle() { return H5Ldelete_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete_by_idx$address() { return H5Ldelete_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ldelete_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order, long n,
+ long lapl_id)
+ {
+ var mh$ = H5Ldelete_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete_by_idx", loc_id, group_name, idx_type, order, n, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete_by_idx_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete_by_idx_async$descriptor()
+ {
+ return H5Ldelete_by_idx_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete_by_idx_async$handle() { return H5Ldelete_by_idx_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete_by_idx_async$address() { return H5Ldelete_by_idx_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Ldelete_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, long lapl_id, long es_id)
+ {
+ var mh$ = H5Ldelete_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete_by_idx_async", app_file, app_func, app_line, loc_id, group_name,
+ idx_type, order, n, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, group_name, idx_type, order, n,
+ lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_val {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_val");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_val$descriptor() { return H5Lget_val.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_val$handle() { return H5Lget_val.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_val$address() { return H5Lget_val.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_val(long loc_id, MemorySegment name, MemorySegment buf, long size, long lapl_id)
+ {
+ var mh$ = H5Lget_val.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_val", loc_id, name, buf, size, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, buf, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_val_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_val_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_val_by_idx$descriptor() { return H5Lget_val_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_val_by_idx$handle() { return H5Lget_val_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_val_by_idx$address() { return H5Lget_val_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_val_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment buf, long size, long lapl_id)
+ {
+ var mh$ = H5Lget_val_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_val_by_idx", loc_id, group_name, idx_type, order, n, buf, size,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, buf, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lexists {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lexists");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lexists$descriptor() { return H5Lexists.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lexists$handle() { return H5Lexists.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lexists$address() { return H5Lexists.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lexists(long loc_id, MemorySegment name, long lapl_id)
+ {
+ var mh$ = H5Lexists.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lexists", loc_id, name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lexists_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lexists_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lexists_async$descriptor() { return H5Lexists_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Lexists_async$handle() { return H5Lexists_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Lexists_async$address() { return H5Lexists_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Lexists_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, MemorySegment exists, long lapl_id,
+ long es_id)
+ {
+ var mh$ = H5Lexists_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lexists_async", app_file, app_func, app_line, loc_id, name, exists, lapl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, exists, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info2$descriptor() { return H5Lget_info2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info2$handle() { return H5Lget_info2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info2$address() { return H5Lget_info2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info2(long loc_id, MemorySegment name, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info2", loc_id, name, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info_by_idx2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info_by_idx2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info_by_idx2$descriptor() { return H5Lget_info_by_idx2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info_by_idx2$handle() { return H5Lget_info_by_idx2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info_by_idx2$address() { return H5Lget_info_by_idx2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info_by_idx2(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info_by_idx2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info_by_idx2", loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_name_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_name_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_name_by_idx$descriptor() { return H5Lget_name_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_name_by_idx$handle() { return H5Lget_name_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_name_by_idx$address() { return H5Lget_name_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static long H5Lget_name_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment name, long size, long lapl_id)
+ {
+ var mh$ = H5Lget_name_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_name_by_idx", loc_id, group_name, idx_type, order, n, name, size,
+ lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, group_name, idx_type, order, n, name, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Literate2$descriptor() { return H5Literate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Literate2$handle() { return H5Literate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Literate2$address() { return H5Literate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static int H5Literate2(long grp_id, int idx_type, int order, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Literate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate2", grp_id, idx_type, order, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Literate_async$descriptor() { return H5Literate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Literate_async$handle() { return H5Literate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Literate_async$address() { return H5Literate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Literate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long group_id, int idx_type, int order, MemorySegment idx_p,
+ MemorySegment op, MemorySegment op_data, long es_id)
+ {
+ var mh$ = H5Literate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate_async", app_file, app_func, app_line, group_id, idx_type, order,
+ idx_p, op, op_data, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, group_id, idx_type, order, idx_p, op,
+ op_data, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate_by_name2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Literate_by_name2$descriptor() { return H5Literate_by_name2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Literate_by_name2$handle() { return H5Literate_by_name2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Literate_by_name2$address() { return H5Literate_by_name2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Literate_by_name2(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment idx, MemorySegment op, MemorySegment op_data,
+ long lapl_id)
+ {
+ var mh$ = H5Literate_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate_by_name2", loc_id, group_name, idx_type, order, idx, op, op_data,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, idx, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit2$descriptor() { return H5Lvisit2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static MethodHandle H5Lvisit2$handle() { return H5Lvisit2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static MemorySegment H5Lvisit2$address() { return H5Lvisit2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static int H5Lvisit2(long grp_id, int idx_type, int order, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Lvisit2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit2", grp_id, idx_type, order, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit_by_name2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit_by_name2$descriptor() { return H5Lvisit_by_name2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lvisit_by_name2$handle() { return H5Lvisit_by_name2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lvisit_by_name2$address() { return H5Lvisit_by_name2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lvisit_by_name2(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment op, MemorySegment op_data, long lapl_id)
+ {
+ var mh$ = H5Lvisit_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit_by_name2", loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_ud {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_ud");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_ud$descriptor() { return H5Lcreate_ud.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_ud$handle() { return H5Lcreate_ud.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_ud$address() { return H5Lcreate_ud.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_ud(long link_loc_id, MemorySegment link_name, int link_type,
+ MemorySegment udata, long udata_size, long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_ud.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_ud", link_loc_id, link_name, link_type, udata, udata_size, lcpl_id,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(link_loc_id, link_name, link_type, udata, udata_size, lcpl_id,
+ lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lis_registered {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lis_registered");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Lis_registered$descriptor() { return H5Lis_registered.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static MethodHandle H5Lis_registered$handle() { return H5Lis_registered.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static MemorySegment H5Lis_registered$address() { return H5Lis_registered.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static int H5Lis_registered(int id)
+ {
+ var mh$ = H5Lis_registered.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lis_registered", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lunpack_elink_val {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lunpack_elink_val");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static FunctionDescriptor H5Lunpack_elink_val$descriptor() { return H5Lunpack_elink_val.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static MethodHandle H5Lunpack_elink_val$handle() { return H5Lunpack_elink_val.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static MemorySegment H5Lunpack_elink_val$address() { return H5Lunpack_elink_val.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static int H5Lunpack_elink_val(MemorySegment ext_linkval, long link_size, MemorySegment flags,
+ MemorySegment filename, MemorySegment obj_path)
+ {
+ var mh$ = H5Lunpack_elink_val.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lunpack_elink_val", ext_linkval, link_size, flags, filename, obj_path);
+ }
+ return (int)mh$.invokeExact(ext_linkval, link_size, flags, filename, obj_path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_external {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_external");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_external$descriptor() { return H5Lcreate_external.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_external$handle() { return H5Lcreate_external.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_external$address() { return H5Lcreate_external.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_external(MemorySegment file_name, MemorySegment obj_name, long link_loc_id,
+ MemorySegment link_name, long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_external.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_external", file_name, obj_name, link_loc_id, link_name, lcpl_id,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(file_name, obj_name, link_loc_id, link_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info1$descriptor() { return H5Lget_info1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info1$handle() { return H5Lget_info1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info1$address() { return H5Lget_info1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info1(long loc_id, MemorySegment name, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info1", loc_id, name, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info_by_idx1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info_by_idx1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info_by_idx1$descriptor() { return H5Lget_info_by_idx1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info_by_idx1$handle() { return H5Lget_info_by_idx1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info_by_idx1$address() { return H5Lget_info_by_idx1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info_by_idx1(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info_by_idx1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info_by_idx1", loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Literate1$descriptor() { return H5Literate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Literate1$handle() { return H5Literate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Literate1$address() { return H5Literate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static int H5Literate1(long grp_id, int idx_type, int order, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Literate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate1", grp_id, idx_type, order, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate_by_name1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Literate_by_name1$descriptor() { return H5Literate_by_name1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Literate_by_name1$handle() { return H5Literate_by_name1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Literate_by_name1$address() { return H5Literate_by_name1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Literate_by_name1(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment idx, MemorySegment op, MemorySegment op_data,
+ long lapl_id)
+ {
+ var mh$ = H5Literate_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate_by_name1", loc_id, group_name, idx_type, order, idx, op, op_data,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, idx, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit1$descriptor() { return H5Lvisit1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static MethodHandle H5Lvisit1$handle() { return H5Lvisit1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static MemorySegment H5Lvisit1$address() { return H5Lvisit1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static int H5Lvisit1(long grp_id, int idx_type, int order, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Lvisit1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit1", grp_id, idx_type, order, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit_by_name1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit_by_name1$descriptor() { return H5Lvisit_by_name1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lvisit_by_name1$handle() { return H5Lvisit_by_name1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lvisit_by_name1$address() { return H5Lvisit_by_name1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lvisit_by_name1(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment op, MemorySegment op_data, long lapl_id)
+ {
+ var mh$ = H5Lvisit_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit_by_name1", loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5G_STORAGE_TYPE_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_UNKNOWN = -1
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_UNKNOWN() { return H5G_STORAGE_TYPE_UNKNOWN; }
+ private static final int H5G_STORAGE_TYPE_SYMBOL_TABLE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_SYMBOL_TABLE = 0
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_SYMBOL_TABLE() { return H5G_STORAGE_TYPE_SYMBOL_TABLE; }
+ private static final int H5G_STORAGE_TYPE_COMPACT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_COMPACT = 1
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_COMPACT() { return H5G_STORAGE_TYPE_COMPACT; }
+ private static final int H5G_STORAGE_TYPE_DENSE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_DENSE = 2
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_DENSE() { return H5G_STORAGE_TYPE_DENSE; }
+
+ private static class H5Gcreate2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate2$descriptor() { return H5Gcreate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MethodHandle H5Gcreate2$handle() { return H5Gcreate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MemorySegment H5Gcreate2$address() { return H5Gcreate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static long H5Gcreate2(long loc_id, MemorySegment name, long lcpl_id, long gcpl_id, long gapl_id)
+ {
+ var mh$ = H5Gcreate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate2", loc_id, name, lcpl_id, gcpl_id, gapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, lcpl_id, gcpl_id, gapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gcreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate_async$descriptor() { return H5Gcreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gcreate_async$handle() { return H5Gcreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gcreate_async$address() { return H5Gcreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Gcreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lcpl_id, long gcpl_id,
+ long gapl_id, long es_id)
+ {
+ var mh$ = H5Gcreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate_async", app_file, app_func, app_line, loc_id, name, lcpl_id, gcpl_id,
+ gapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lcpl_id, gcpl_id,
+ gapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gcreate_anon {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate_anon");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate_anon$descriptor() { return H5Gcreate_anon.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MethodHandle H5Gcreate_anon$handle() { return H5Gcreate_anon.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MemorySegment H5Gcreate_anon$address() { return H5Gcreate_anon.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static long H5Gcreate_anon(long loc_id, long gcpl_id, long gapl_id)
+ {
+ var mh$ = H5Gcreate_anon.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate_anon", loc_id, gcpl_id, gapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, gcpl_id, gapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gopen2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gopen2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gopen2$descriptor() { return H5Gopen2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static MethodHandle H5Gopen2$handle() { return H5Gopen2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static MemorySegment H5Gopen2$address() { return H5Gopen2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static long H5Gopen2(long loc_id, MemorySegment name, long gapl_id)
+ {
+ var mh$ = H5Gopen2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gopen2", loc_id, name, gapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, gapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gopen_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gopen_async$descriptor() { return H5Gopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gopen_async$handle() { return H5Gopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gopen_async$address() { return H5Gopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Gopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long gapl_id, long es_id)
+ {
+ var mh$ = H5Gopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gopen_async", app_file, app_func, app_line, loc_id, name, gapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, gapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_create_plist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_create_plist$descriptor() { return H5Gget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Gget_create_plist$handle() { return H5Gget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Gget_create_plist$address() { return H5Gget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static long H5Gget_create_plist(long group_id)
+ {
+ var mh$ = H5Gget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_create_plist", group_id);
+ }
+ return (long)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info$descriptor() { return H5Gget_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static MethodHandle H5Gget_info$handle() { return H5Gget_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static MemorySegment H5Gget_info$address() { return H5Gget_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static int H5Gget_info(long loc_id, MemorySegment ginfo)
+ {
+ var mh$ = H5Gget_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info", loc_id, ginfo);
+ }
+ return (int)mh$.invokeExact(loc_id, ginfo);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_async$descriptor() { return H5Gget_info_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_async$handle() { return H5Gget_info_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_async$address() { return H5Gget_info_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static int H5Gget_info_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment ginfo, long es_id)
+ {
+ var mh$ = H5Gget_info_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_async", app_file, app_func, app_line, loc_id, ginfo, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, ginfo, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_name$descriptor() { return H5Gget_info_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_name$handle() { return H5Gget_info_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_name$address() { return H5Gget_info_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Gget_info_by_name(long loc_id, MemorySegment name, MemorySegment ginfo, long lapl_id)
+ {
+ var mh$ = H5Gget_info_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_name", loc_id, name, ginfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, ginfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_name_async$descriptor()
+ {
+ return H5Gget_info_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_name_async$handle() { return H5Gget_info_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_name_async$address() { return H5Gget_info_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Gget_info_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, MemorySegment ginfo,
+ long lapl_id, long es_id)
+ {
+ var mh$ = H5Gget_info_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_name_async", app_file, app_func, app_line, loc_id, name, ginfo,
+ lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, ginfo, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_idx$descriptor() { return H5Gget_info_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_idx$handle() { return H5Gget_info_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_idx$address() { return H5Gget_info_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Gget_info_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment ginfo, long lapl_id)
+ {
+ var mh$ = H5Gget_info_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_idx", loc_id, group_name, idx_type, order, n, ginfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, ginfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_idx_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_idx_async$descriptor()
+ {
+ return H5Gget_info_by_idx_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_idx_async$handle() { return H5Gget_info_by_idx_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_idx_async$address() { return H5Gget_info_by_idx_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Gget_info_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment ginfo, long lapl_id, long es_id)
+ {
+ var mh$ = H5Gget_info_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_idx_async", app_file, app_func, app_line, loc_id, group_name,
+ idx_type, order, n, ginfo, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, group_name, idx_type, order, n,
+ ginfo, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gflush$descriptor() { return H5Gflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Gflush$handle() { return H5Gflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Gflush$address() { return H5Gflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static int H5Gflush(long group_id)
+ {
+ var mh$ = H5Gflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gflush", group_id);
+ }
+ return (int)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Grefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Grefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Grefresh$descriptor() { return H5Grefresh.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Grefresh$handle() { return H5Grefresh.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Grefresh$address() { return H5Grefresh.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static int H5Grefresh(long group_id)
+ {
+ var mh$ = H5Grefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Grefresh", group_id);
+ }
+ return (int)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gclose$descriptor() { return H5Gclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Gclose$handle() { return H5Gclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Gclose$address() { return H5Gclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static int H5Gclose(long group_id)
+ {
+ var mh$ = H5Gclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gclose", group_id);
+ }
+ return (int)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gclose_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gclose_async$descriptor() { return H5Gclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gclose_async$handle() { return H5Gclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gclose_async$address() { return H5Gclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static int H5Gclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long group_id, long es_id)
+ {
+ var mh$ = H5Gclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gclose_async", app_file, app_func, app_line, group_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, group_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5G_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_UNKNOWN = -1
+ * }
+ */
+ public static int H5G_UNKNOWN() { return H5G_UNKNOWN; }
+ private static final int H5G_GROUP = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_GROUP = 0
+ * }
+ */
+ public static int H5G_GROUP() { return H5G_GROUP; }
+ private static final int H5G_DATASET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_DATASET = 1
+ * }
+ */
+ public static int H5G_DATASET() { return H5G_DATASET; }
+ private static final int H5G_TYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_TYPE = 2
+ * }
+ */
+ public static int H5G_TYPE() { return H5G_TYPE; }
+ private static final int H5G_LINK = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_LINK = 3
+ * }
+ */
+ public static int H5G_LINK() { return H5G_LINK; }
+ private static final int H5G_UDLINK = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_UDLINK = 4
+ * }
+ */
+ public static int H5G_UDLINK() { return H5G_UDLINK; }
+ private static final int H5G_RESERVED_5 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_RESERVED_5 = 5
+ * }
+ */
+ public static int H5G_RESERVED_5() { return H5G_RESERVED_5; }
+ private static final int H5G_RESERVED_6 = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_RESERVED_6 = 6
+ * }
+ */
+ public static int H5G_RESERVED_6() { return H5G_RESERVED_6; }
+ private static final int H5G_RESERVED_7 = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_RESERVED_7 = 7
+ * }
+ */
+ public static int H5G_RESERVED_7() { return H5G_RESERVED_7; }
+
+ private static class H5Gcreate1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate1$descriptor() { return H5Gcreate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static MethodHandle H5Gcreate1$handle() { return H5Gcreate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static MemorySegment H5Gcreate1$address() { return H5Gcreate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static long H5Gcreate1(long loc_id, MemorySegment name, long size_hint)
+ {
+ var mh$ = H5Gcreate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate1", loc_id, name, size_hint);
+ }
+ return (long)mh$.invokeExact(loc_id, name, size_hint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gopen1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gopen1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Gopen1$descriptor() { return H5Gopen1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Gopen1$handle() { return H5Gopen1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Gopen1$address() { return H5Gopen1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Gopen1(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Gopen1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gopen1", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Glink {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Glink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static FunctionDescriptor H5Glink$descriptor() { return H5Glink.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static MethodHandle H5Glink$handle() { return H5Glink.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static MemorySegment H5Glink$address() { return H5Glink.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static int H5Glink(long cur_loc_id, int type, MemorySegment cur_name, MemorySegment new_name)
+ {
+ var mh$ = H5Glink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Glink", cur_loc_id, type, cur_name, new_name);
+ }
+ return (int)mh$.invokeExact(cur_loc_id, type, cur_name, new_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Glink2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Glink2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static FunctionDescriptor H5Glink2$descriptor() { return H5Glink2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static MethodHandle H5Glink2$handle() { return H5Glink2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static MemorySegment H5Glink2$address() { return H5Glink2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static int H5Glink2(long cur_loc_id, MemorySegment cur_name, int type, long new_loc_id,
+ MemorySegment new_name)
+ {
+ var mh$ = H5Glink2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Glink2", cur_loc_id, cur_name, type, new_loc_id, new_name);
+ }
+ return (int)mh$.invokeExact(cur_loc_id, cur_name, type, new_loc_id, new_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gmove {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gmove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static FunctionDescriptor H5Gmove$descriptor() { return H5Gmove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static MethodHandle H5Gmove$handle() { return H5Gmove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static MemorySegment H5Gmove$address() { return H5Gmove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static int H5Gmove(long src_loc_id, MemorySegment src_name, MemorySegment dst_name)
+ {
+ var mh$ = H5Gmove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gmove", src_loc_id, src_name, dst_name);
+ }
+ return (int)mh$.invokeExact(src_loc_id, src_name, dst_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gmove2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gmove2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static FunctionDescriptor H5Gmove2$descriptor() { return H5Gmove2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static MethodHandle H5Gmove2$handle() { return H5Gmove2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static MemorySegment H5Gmove2$address() { return H5Gmove2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static int H5Gmove2(long src_loc_id, MemorySegment src_name, long dst_loc_id,
+ MemorySegment dst_name)
+ {
+ var mh$ = H5Gmove2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gmove2", src_loc_id, src_name, dst_loc_id, dst_name);
+ }
+ return (int)mh$.invokeExact(src_loc_id, src_name, dst_loc_id, dst_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gunlink {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gunlink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Gunlink$descriptor() { return H5Gunlink.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Gunlink$handle() { return H5Gunlink.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Gunlink$address() { return H5Gunlink.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static int H5Gunlink(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Gunlink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gunlink", loc_id, name);
+ }
+ return (int)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_linkval {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_linkval");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_linkval$descriptor() { return H5Gget_linkval.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static MethodHandle H5Gget_linkval$handle() { return H5Gget_linkval.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static MemorySegment H5Gget_linkval$address() { return H5Gget_linkval.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static int H5Gget_linkval(long loc_id, MemorySegment name, long size, MemorySegment buf)
+ {
+ var mh$ = H5Gget_linkval.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_linkval", loc_id, name, size, buf);
+ }
+ return (int)mh$.invokeExact(loc_id, name, size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gset_comment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gset_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static FunctionDescriptor H5Gset_comment$descriptor() { return H5Gset_comment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static MethodHandle H5Gset_comment$handle() { return H5Gset_comment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static MemorySegment H5Gset_comment$address() { return H5Gset_comment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static int H5Gset_comment(long loc_id, MemorySegment name, MemorySegment comment)
+ {
+ var mh$ = H5Gset_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gset_comment", loc_id, name, comment);
+ }
+ return (int)mh$.invokeExact(loc_id, name, comment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_comment {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_comment$descriptor() { return H5Gget_comment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static MethodHandle H5Gget_comment$handle() { return H5Gget_comment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static MemorySegment H5Gget_comment$address() { return H5Gget_comment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static int H5Gget_comment(long loc_id, MemorySegment name, long bufsize, MemorySegment buf)
+ {
+ var mh$ = H5Gget_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_comment", loc_id, name, bufsize, buf);
+ }
+ return (int)mh$.invokeExact(loc_id, name, bufsize, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Giterate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Giterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Giterate$descriptor() { return H5Giterate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Giterate$handle() { return H5Giterate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Giterate$address() { return H5Giterate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static int H5Giterate(long loc_id, MemorySegment name, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Giterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Giterate", loc_id, name, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(loc_id, name, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_num_objs {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_num_objs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_num_objs$descriptor() { return H5Gget_num_objs.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static MethodHandle H5Gget_num_objs$handle() { return H5Gget_num_objs.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static MemorySegment H5Gget_num_objs$address() { return H5Gget_num_objs.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static int H5Gget_num_objs(long loc_id, MemorySegment num_objs)
+ {
+ var mh$ = H5Gget_num_objs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_num_objs", loc_id, num_objs);
+ }
+ return (int)mh$.invokeExact(loc_id, num_objs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_objinfo {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_BOOL, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_objinfo");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_objinfo$descriptor() { return H5Gget_objinfo.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static MethodHandle H5Gget_objinfo$handle() { return H5Gget_objinfo.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static MemorySegment H5Gget_objinfo$address() { return H5Gget_objinfo.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static int H5Gget_objinfo(long loc_id, MemorySegment name, boolean follow_link,
+ MemorySegment statbuf)
+ {
+ var mh$ = H5Gget_objinfo.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_objinfo", loc_id, name, follow_link, statbuf);
+ }
+ return (int)mh$.invokeExact(loc_id, name, follow_link, statbuf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_objname_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_objname_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_objname_by_idx$descriptor() { return H5Gget_objname_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Gget_objname_by_idx$handle() { return H5Gget_objname_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Gget_objname_by_idx$address() { return H5Gget_objname_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static long H5Gget_objname_by_idx(long loc_id, long idx, MemorySegment name, long size)
+ {
+ var mh$ = H5Gget_objname_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_objname_by_idx", loc_id, idx, name, size);
+ }
+ return (long)mh$.invokeExact(loc_id, idx, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_objtype_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_objtype_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_objtype_by_idx$descriptor() { return H5Gget_objtype_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static MethodHandle H5Gget_objtype_by_idx$handle() { return H5Gget_objtype_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static MemorySegment H5Gget_objtype_by_idx$address() { return H5Gget_objtype_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static int H5Gget_objtype_by_idx(long loc_id, long idx)
+ {
+ var mh$ = H5Gget_objtype_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_objtype_by_idx", loc_id, idx);
+ }
+ return (int)mh$.invokeExact(loc_id, idx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_class_value_t
+ * }
+ */
+ public static final OfInt H5VL_class_value_t = hdf5_h.C_INT;
+ private static final int H5VL_SUBCLS_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_NONE = 0
+ * }
+ */
+ public static int H5VL_SUBCLS_NONE() { return H5VL_SUBCLS_NONE; }
+ private static final int H5VL_SUBCLS_INFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_INFO = 1
+ * }
+ */
+ public static int H5VL_SUBCLS_INFO() { return H5VL_SUBCLS_INFO; }
+ private static final int H5VL_SUBCLS_WRAP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_WRAP = 2
+ * }
+ */
+ public static int H5VL_SUBCLS_WRAP() { return H5VL_SUBCLS_WRAP; }
+ private static final int H5VL_SUBCLS_ATTR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_ATTR = 3
+ * }
+ */
+ public static int H5VL_SUBCLS_ATTR() { return H5VL_SUBCLS_ATTR; }
+ private static final int H5VL_SUBCLS_DATASET = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_DATASET = 4
+ * }
+ */
+ public static int H5VL_SUBCLS_DATASET() { return H5VL_SUBCLS_DATASET; }
+ private static final int H5VL_SUBCLS_DATATYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_DATATYPE = 5
+ * }
+ */
+ public static int H5VL_SUBCLS_DATATYPE() { return H5VL_SUBCLS_DATATYPE; }
+ private static final int H5VL_SUBCLS_FILE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_FILE = 6
+ * }
+ */
+ public static int H5VL_SUBCLS_FILE() { return H5VL_SUBCLS_FILE; }
+ private static final int H5VL_SUBCLS_GROUP = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_GROUP = 7
+ * }
+ */
+ public static int H5VL_SUBCLS_GROUP() { return H5VL_SUBCLS_GROUP; }
+ private static final int H5VL_SUBCLS_LINK = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_LINK = 8
+ * }
+ */
+ public static int H5VL_SUBCLS_LINK() { return H5VL_SUBCLS_LINK; }
+ private static final int H5VL_SUBCLS_OBJECT = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_OBJECT = 9
+ * }
+ */
+ public static int H5VL_SUBCLS_OBJECT() { return H5VL_SUBCLS_OBJECT; }
+ private static final int H5VL_SUBCLS_REQUEST = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_REQUEST = 10
+ * }
+ */
+ public static int H5VL_SUBCLS_REQUEST() { return H5VL_SUBCLS_REQUEST; }
+ private static final int H5VL_SUBCLS_BLOB = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_BLOB = 11
+ * }
+ */
+ public static int H5VL_SUBCLS_BLOB() { return H5VL_SUBCLS_BLOB; }
+ private static final int H5VL_SUBCLS_TOKEN = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_TOKEN = 12
+ * }
+ */
+ public static int H5VL_SUBCLS_TOKEN() { return H5VL_SUBCLS_TOKEN; }
+
+ private static class H5VLregister_connector_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_connector_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_connector_by_name$descriptor()
+ {
+ return H5VLregister_connector_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLregister_connector_by_name$handle()
+ {
+ return H5VLregister_connector_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLregister_connector_by_name$address()
+ {
+ return H5VLregister_connector_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static long H5VLregister_connector_by_name(MemorySegment connector_name, long vipl_id)
+ {
+ var mh$ = H5VLregister_connector_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_connector_by_name", connector_name, vipl_id);
+ }
+ return (long)mh$.invokeExact(connector_name, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLregister_connector_by_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_connector_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_connector_by_value$descriptor()
+ {
+ return H5VLregister_connector_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLregister_connector_by_value$handle()
+ {
+ return H5VLregister_connector_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLregister_connector_by_value$address()
+ {
+ return H5VLregister_connector_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static long H5VLregister_connector_by_value(int connector_value, long vipl_id)
+ {
+ var mh$ = H5VLregister_connector_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_connector_by_value", connector_value, vipl_id);
+ }
+ return (long)mh$.invokeExact(connector_value, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLis_connector_registered_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLis_connector_registered_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5VLis_connector_registered_by_name$descriptor()
+ {
+ return H5VLis_connector_registered_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static MethodHandle H5VLis_connector_registered_by_name$handle()
+ {
+ return H5VLis_connector_registered_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static MemorySegment H5VLis_connector_registered_by_name$address()
+ {
+ return H5VLis_connector_registered_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static int H5VLis_connector_registered_by_name(MemorySegment name)
+ {
+ var mh$ = H5VLis_connector_registered_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLis_connector_registered_by_name", name);
+ }
+ return (int)mh$.invokeExact(name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLis_connector_registered_by_value {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLis_connector_registered_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLis_connector_registered_by_value$descriptor()
+ {
+ return H5VLis_connector_registered_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MethodHandle H5VLis_connector_registered_by_value$handle()
+ {
+ return H5VLis_connector_registered_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MemorySegment H5VLis_connector_registered_by_value$address()
+ {
+ return H5VLis_connector_registered_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static int H5VLis_connector_registered_by_value(int connector_value)
+ {
+ var mh$ = H5VLis_connector_registered_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLis_connector_registered_by_value", connector_value);
+ }
+ return (int)mh$.invokeExact(connector_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_id {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_id");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_id$descriptor() { return H5VLget_connector_id.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_id$handle() { return H5VLget_connector_id.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_id$address() { return H5VLget_connector_id.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static long H5VLget_connector_id(long obj_id)
+ {
+ var mh$ = H5VLget_connector_id.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_id", obj_id);
+ }
+ return (long)mh$.invokeExact(obj_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_id_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_id_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_id_by_name$descriptor()
+ {
+ return H5VLget_connector_id_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_id_by_name$handle()
+ {
+ return H5VLget_connector_id_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_id_by_name$address()
+ {
+ return H5VLget_connector_id_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static long H5VLget_connector_id_by_name(MemorySegment name)
+ {
+ var mh$ = H5VLget_connector_id_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_id_by_name", name);
+ }
+ return (long)mh$.invokeExact(name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_id_by_value {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_id_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_id_by_value$descriptor()
+ {
+ return H5VLget_connector_id_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_id_by_value$handle()
+ {
+ return H5VLget_connector_id_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_id_by_value$address()
+ {
+ return H5VLget_connector_id_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static long H5VLget_connector_id_by_value(int connector_value)
+ {
+ var mh$ = H5VLget_connector_id_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_id_by_value", connector_value);
+ }
+ return (long)mh$.invokeExact(connector_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_name$descriptor()
+ {
+ return H5VLget_connector_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_name$handle() { return H5VLget_connector_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_name$address() { return H5VLget_connector_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static long H5VLget_connector_name(long id, MemorySegment name, long size)
+ {
+ var mh$ = H5VLget_connector_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_name", id, name, size);
+ }
+ return (long)mh$.invokeExact(id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLclose$descriptor() { return H5VLclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLclose$handle() { return H5VLclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLclose$address() { return H5VLclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static int H5VLclose(long connector_id)
+ {
+ var mh$ = H5VLclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLclose", connector_id);
+ }
+ return (int)mh$.invokeExact(connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLunregister_connector {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLunregister_connector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLunregister_connector$descriptor()
+ {
+ return H5VLunregister_connector.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLunregister_connector$handle() { return H5VLunregister_connector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLunregister_connector$address() { return H5VLunregister_connector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static int H5VLunregister_connector(long connector_id)
+ {
+ var mh$ = H5VLunregister_connector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLunregister_connector", connector_id);
+ }
+ return (int)mh$.invokeExact(connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLquery_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLquery_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLquery_optional$descriptor() { return H5VLquery_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static MethodHandle H5VLquery_optional$handle() { return H5VLquery_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static MemorySegment H5VLquery_optional$address() { return H5VLquery_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static int H5VLquery_optional(long obj_id, int subcls, int opt_type, MemorySegment flags)
+ {
+ var mh$ = H5VLquery_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLquery_optional", obj_id, subcls, opt_type, flags);
+ }
+ return (int)mh$.invokeExact(obj_id, subcls, opt_type, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_is_native {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_is_native");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_is_native$descriptor() { return H5VLobject_is_native.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static MethodHandle H5VLobject_is_native$handle() { return H5VLobject_is_native.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static MemorySegment H5VLobject_is_native$address() { return H5VLobject_is_native.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static int H5VLobject_is_native(long obj_id, MemorySegment is_native)
+ {
+ var mh$ = H5VLobject_is_native.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_is_native", obj_id, is_native);
+ }
+ return (int)mh$.invokeExact(obj_id, is_native);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5R_BADTYPE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_BADTYPE = -1
+ * }
+ */
+ public static int H5R_BADTYPE() { return H5R_BADTYPE; }
+ private static final int H5R_OBJECT1 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_OBJECT1 = 0
+ * }
+ */
+ public static int H5R_OBJECT1() { return H5R_OBJECT1; }
+ private static final int H5R_DATASET_REGION1 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_DATASET_REGION1 = 1
+ * }
+ */
+ public static int H5R_DATASET_REGION1() { return H5R_DATASET_REGION1; }
+ private static final int H5R_OBJECT2 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_OBJECT2 = 2
+ * }
+ */
+ public static int H5R_OBJECT2() { return H5R_OBJECT2; }
+ private static final int H5R_DATASET_REGION2 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_DATASET_REGION2 = 3
+ * }
+ */
+ public static int H5R_DATASET_REGION2() { return H5R_DATASET_REGION2; }
+ private static final int H5R_ATTR = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_ATTR = 4
+ * }
+ */
+ public static int H5R_ATTR() { return H5R_ATTR; }
+ private static final int H5R_MAXTYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_MAXTYPE = 5
+ * }
+ */
+ public static int H5R_MAXTYPE() { return H5R_MAXTYPE; }
+ /**
+ * {@snippet lang=c :
+ * typedef haddr_t hobj_ref_t
+ * }
+ */
+ public static final OfLong hobj_ref_t = hdf5_h.C_LONG;
+
+ private static class H5Rcreate_object {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate_object$descriptor() { return H5Rcreate_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcreate_object$handle() { return H5Rcreate_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcreate_object$address() { return H5Rcreate_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static int H5Rcreate_object(long loc_id, MemorySegment name, long oapl_id, MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rcreate_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate_object", loc_id, name, oapl_id, ref_ptr);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oapl_id, ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcreate_region {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate_region");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate_region$descriptor() { return H5Rcreate_region.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcreate_region$handle() { return H5Rcreate_region.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcreate_region$address() { return H5Rcreate_region.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static int H5Rcreate_region(long loc_id, MemorySegment name, long space_id, long oapl_id,
+ MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rcreate_region.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate_region", loc_id, name, space_id, oapl_id, ref_ptr);
+ }
+ return (int)mh$.invokeExact(loc_id, name, space_id, oapl_id, ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcreate_attr {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate_attr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate_attr$descriptor() { return H5Rcreate_attr.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcreate_attr$handle() { return H5Rcreate_attr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcreate_attr$address() { return H5Rcreate_attr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static int H5Rcreate_attr(long loc_id, MemorySegment name, MemorySegment attr_name, long oapl_id,
+ MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rcreate_attr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate_attr", loc_id, name, attr_name, oapl_id, ref_ptr);
+ }
+ return (int)mh$.invokeExact(loc_id, name, attr_name, oapl_id, ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rdestroy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rdestroy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rdestroy$descriptor() { return H5Rdestroy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rdestroy$handle() { return H5Rdestroy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rdestroy$address() { return H5Rdestroy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static int H5Rdestroy(MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rdestroy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rdestroy", ref_ptr);
+ }
+ return (int)mh$.invokeExact(ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_type$descriptor() { return H5Rget_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rget_type$handle() { return H5Rget_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rget_type$address() { return H5Rget_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static int H5Rget_type(MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_type", ref_ptr);
+ }
+ return (int)mh$.invokeExact(ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Requal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Requal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Requal$descriptor() { return H5Requal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static MethodHandle H5Requal$handle() { return H5Requal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static MemorySegment H5Requal$address() { return H5Requal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static int H5Requal(MemorySegment ref1_ptr, MemorySegment ref2_ptr)
+ {
+ var mh$ = H5Requal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Requal", ref1_ptr, ref2_ptr);
+ }
+ return (int)mh$.invokeExact(ref1_ptr, ref2_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcopy$descriptor() { return H5Rcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcopy$handle() { return H5Rcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcopy$address() { return H5Rcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static int H5Rcopy(MemorySegment src_ref_ptr, MemorySegment dst_ref_ptr)
+ {
+ var mh$ = H5Rcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcopy", src_ref_ptr, dst_ref_ptr);
+ }
+ return (int)mh$.invokeExact(src_ref_ptr, dst_ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_object$descriptor() { return H5Ropen_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_object$handle() { return H5Ropen_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_object$address() { return H5Ropen_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static long H5Ropen_object(MemorySegment ref_ptr, long rapl_id, long oapl_id)
+ {
+ var mh$ = H5Ropen_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_object", ref_ptr, rapl_id, oapl_id);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, oapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_object_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_object_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_object_async$descriptor() { return H5Ropen_object_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_object_async$handle() { return H5Ropen_object_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_object_async$address() { return H5Ropen_object_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Ropen_object_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment ref_ptr, long rapl_id, long oapl_id, long es_id)
+ {
+ var mh$ = H5Ropen_object_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_object_async", app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_region {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_region");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_region$descriptor() { return H5Ropen_region.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_region$handle() { return H5Ropen_region.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_region$address() { return H5Ropen_region.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static long H5Ropen_region(MemorySegment ref_ptr, long rapl_id, long oapl_id)
+ {
+ var mh$ = H5Ropen_region.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_region", ref_ptr, rapl_id, oapl_id);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, oapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_region_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_region_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_region_async$descriptor() { return H5Ropen_region_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_region_async$handle() { return H5Ropen_region_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_region_async$address() { return H5Ropen_region_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Ropen_region_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment ref_ptr, long rapl_id, long oapl_id, long es_id)
+ {
+ var mh$ = H5Ropen_region_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_region_async", app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_attr {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_attr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_attr$descriptor() { return H5Ropen_attr.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_attr$handle() { return H5Ropen_attr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_attr$address() { return H5Ropen_attr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static long H5Ropen_attr(MemorySegment ref_ptr, long rapl_id, long aapl_id)
+ {
+ var mh$ = H5Ropen_attr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_attr", ref_ptr, rapl_id, aapl_id);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, aapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_attr_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_attr_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_attr_async$descriptor() { return H5Ropen_attr_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_attr_async$handle() { return H5Ropen_attr_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_attr_async$address() { return H5Ropen_attr_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Ropen_attr_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment ref_ptr, long rapl_id, long aapl_id, long es_id)
+ {
+ var mh$ = H5Ropen_attr_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_attr_async", app_file, app_func, app_line, ref_ptr, rapl_id, aapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, ref_ptr, rapl_id, aapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_type3 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_type3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_type3$descriptor() { return H5Rget_obj_type3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_type3$handle() { return H5Rget_obj_type3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_type3$address() { return H5Rget_obj_type3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static int H5Rget_obj_type3(MemorySegment ref_ptr, long rapl_id, MemorySegment obj_type)
+ {
+ var mh$ = H5Rget_obj_type3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_type3", ref_ptr, rapl_id, obj_type);
+ }
+ return (int)mh$.invokeExact(ref_ptr, rapl_id, obj_type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_file_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_file_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_file_name$descriptor() { return H5Rget_file_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_file_name$handle() { return H5Rget_file_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_file_name$address() { return H5Rget_file_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_file_name(MemorySegment ref_ptr, MemorySegment name, long size)
+ {
+ var mh$ = H5Rget_file_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_file_name", ref_ptr, name, size);
+ }
+ return (long)mh$.invokeExact(ref_ptr, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_name$descriptor() { return H5Rget_obj_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_name$handle() { return H5Rget_obj_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_name$address() { return H5Rget_obj_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_obj_name(MemorySegment ref_ptr, long rapl_id, MemorySegment name, long size)
+ {
+ var mh$ = H5Rget_obj_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_name", ref_ptr, rapl_id, name, size);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_attr_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_attr_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_attr_name$descriptor() { return H5Rget_attr_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_attr_name$handle() { return H5Rget_attr_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_attr_name$address() { return H5Rget_attr_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_attr_name(MemorySegment ref_ptr, MemorySegment name, long size)
+ {
+ var mh$ = H5Rget_attr_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_attr_name", ref_ptr, name, size);
+ }
+ return (long)mh$.invokeExact(ref_ptr, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_type1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_type1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_type1$descriptor() { return H5Rget_obj_type1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_type1$handle() { return H5Rget_obj_type1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_type1$address() { return H5Rget_obj_type1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static int H5Rget_obj_type1(long id, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rget_obj_type1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_type1", id, ref_type, ref);
+ }
+ return (int)mh$.invokeExact(id, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rdereference1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rdereference1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rdereference1$descriptor() { return H5Rdereference1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rdereference1$handle() { return H5Rdereference1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rdereference1$address() { return H5Rdereference1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static long H5Rdereference1(long obj_id, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rdereference1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rdereference1", obj_id, ref_type, ref);
+ }
+ return (long)mh$.invokeExact(obj_id, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcreate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate$descriptor() { return H5Rcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Rcreate$handle() { return H5Rcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Rcreate$address() { return H5Rcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static int H5Rcreate(MemorySegment ref, long loc_id, MemorySegment name, int ref_type,
+ long space_id)
+ {
+ var mh$ = H5Rcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate", ref, loc_id, name, ref_type, space_id);
+ }
+ return (int)mh$.invokeExact(ref, loc_id, name, ref_type, space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_type2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_type2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_type2$descriptor() { return H5Rget_obj_type2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_type2$handle() { return H5Rget_obj_type2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_type2$address() { return H5Rget_obj_type2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static int H5Rget_obj_type2(long id, int ref_type, MemorySegment ref, MemorySegment obj_type)
+ {
+ var mh$ = H5Rget_obj_type2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_type2", id, ref_type, ref, obj_type);
+ }
+ return (int)mh$.invokeExact(id, ref_type, ref, obj_type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rdereference2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rdereference2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rdereference2$descriptor() { return H5Rdereference2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rdereference2$handle() { return H5Rdereference2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rdereference2$address() { return H5Rdereference2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static long H5Rdereference2(long obj_id, long oapl_id, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rdereference2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rdereference2", obj_id, oapl_id, ref_type, ref);
+ }
+ return (long)mh$.invokeExact(obj_id, oapl_id, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_region {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_region");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_region$descriptor() { return H5Rget_region.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rget_region$handle() { return H5Rget_region.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rget_region$address() { return H5Rget_region.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static long H5Rget_region(long dataset, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rget_region.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_region", dataset, ref_type, ref);
+ }
+ return (long)mh$.invokeExact(dataset, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_name$descriptor() { return H5Rget_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_name$handle() { return H5Rget_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_name$address() { return H5Rget_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_name(long loc_id, int ref_type, MemorySegment ref, MemorySegment name,
+ long size)
+ {
+ var mh$ = H5Rget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_name", loc_id, ref_type, ref, name, size);
+ }
+ return (long)mh$.invokeExact(loc_id, ref_type, ref, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5VL_OBJECT_BY_SELF = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_SELF = 0
+ * }
+ */
+ public static int H5VL_OBJECT_BY_SELF() { return H5VL_OBJECT_BY_SELF; }
+ private static final int H5VL_OBJECT_BY_NAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_NAME = 1
+ * }
+ */
+ public static int H5VL_OBJECT_BY_NAME() { return H5VL_OBJECT_BY_NAME; }
+ private static final int H5VL_OBJECT_BY_IDX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_IDX = 2
+ * }
+ */
+ public static int H5VL_OBJECT_BY_IDX() { return H5VL_OBJECT_BY_IDX; }
+ private static final int H5VL_OBJECT_BY_TOKEN = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_TOKEN = 3
+ * }
+ */
+ public static int H5VL_OBJECT_BY_TOKEN() { return H5VL_OBJECT_BY_TOKEN; }
+ private static final int H5VL_ATTR_GET_ACPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_ACPL = 0
+ * }
+ */
+ public static int H5VL_ATTR_GET_ACPL() { return H5VL_ATTR_GET_ACPL; }
+ private static final int H5VL_ATTR_GET_INFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_INFO = 1
+ * }
+ */
+ public static int H5VL_ATTR_GET_INFO() { return H5VL_ATTR_GET_INFO; }
+ private static final int H5VL_ATTR_GET_NAME = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_NAME = 2
+ * }
+ */
+ public static int H5VL_ATTR_GET_NAME() { return H5VL_ATTR_GET_NAME; }
+ private static final int H5VL_ATTR_GET_SPACE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_SPACE = 3
+ * }
+ */
+ public static int H5VL_ATTR_GET_SPACE() { return H5VL_ATTR_GET_SPACE; }
+ private static final int H5VL_ATTR_GET_STORAGE_SIZE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_STORAGE_SIZE = 4
+ * }
+ */
+ public static int H5VL_ATTR_GET_STORAGE_SIZE() { return H5VL_ATTR_GET_STORAGE_SIZE; }
+ private static final int H5VL_ATTR_GET_TYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_TYPE = 5
+ * }
+ */
+ public static int H5VL_ATTR_GET_TYPE() { return H5VL_ATTR_GET_TYPE; }
+ private static final int H5VL_ATTR_DELETE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_DELETE = 0
+ * }
+ */
+ public static int H5VL_ATTR_DELETE() { return H5VL_ATTR_DELETE; }
+ private static final int H5VL_ATTR_DELETE_BY_IDX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_DELETE_BY_IDX = 1
+ * }
+ */
+ public static int H5VL_ATTR_DELETE_BY_IDX() { return H5VL_ATTR_DELETE_BY_IDX; }
+ private static final int H5VL_ATTR_EXISTS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_EXISTS = 2
+ * }
+ */
+ public static int H5VL_ATTR_EXISTS() { return H5VL_ATTR_EXISTS; }
+ private static final int H5VL_ATTR_ITER = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_ITER = 3
+ * }
+ */
+ public static int H5VL_ATTR_ITER() { return H5VL_ATTR_ITER; }
+ private static final int H5VL_ATTR_RENAME = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_RENAME = 4
+ * }
+ */
+ public static int H5VL_ATTR_RENAME() { return H5VL_ATTR_RENAME; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_attr_optional_t
+ * }
+ */
+ public static final OfInt H5VL_attr_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_DATASET_GET_DAPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_DAPL = 0
+ * }
+ */
+ public static int H5VL_DATASET_GET_DAPL() { return H5VL_DATASET_GET_DAPL; }
+ private static final int H5VL_DATASET_GET_DCPL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_DCPL = 1
+ * }
+ */
+ public static int H5VL_DATASET_GET_DCPL() { return H5VL_DATASET_GET_DCPL; }
+ private static final int H5VL_DATASET_GET_SPACE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_SPACE = 2
+ * }
+ */
+ public static int H5VL_DATASET_GET_SPACE() { return H5VL_DATASET_GET_SPACE; }
+ private static final int H5VL_DATASET_GET_SPACE_STATUS = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_SPACE_STATUS = 3
+ * }
+ */
+ public static int H5VL_DATASET_GET_SPACE_STATUS() { return H5VL_DATASET_GET_SPACE_STATUS; }
+ private static final int H5VL_DATASET_GET_STORAGE_SIZE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_STORAGE_SIZE = 4
+ * }
+ */
+ public static int H5VL_DATASET_GET_STORAGE_SIZE() { return H5VL_DATASET_GET_STORAGE_SIZE; }
+ private static final int H5VL_DATASET_GET_TYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_TYPE = 5
+ * }
+ */
+ public static int H5VL_DATASET_GET_TYPE() { return H5VL_DATASET_GET_TYPE; }
+ private static final int H5VL_DATASET_SET_EXTENT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_specific_t.H5VL_DATASET_SET_EXTENT = 0
+ * }
+ */
+ public static int H5VL_DATASET_SET_EXTENT() { return H5VL_DATASET_SET_EXTENT; }
+ private static final int H5VL_DATASET_FLUSH = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_specific_t.H5VL_DATASET_FLUSH = 1
+ * }
+ */
+ public static int H5VL_DATASET_FLUSH() { return H5VL_DATASET_FLUSH; }
+ private static final int H5VL_DATASET_REFRESH = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_specific_t.H5VL_DATASET_REFRESH = 2
+ * }
+ */
+ public static int H5VL_DATASET_REFRESH() { return H5VL_DATASET_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_dataset_optional_t
+ * }
+ */
+ public static final OfInt H5VL_dataset_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_DATATYPE_GET_BINARY_SIZE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_get_t.H5VL_DATATYPE_GET_BINARY_SIZE = 0
+ * }
+ */
+ public static int H5VL_DATATYPE_GET_BINARY_SIZE() { return H5VL_DATATYPE_GET_BINARY_SIZE; }
+ private static final int H5VL_DATATYPE_GET_BINARY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_get_t.H5VL_DATATYPE_GET_BINARY = 1
+ * }
+ */
+ public static int H5VL_DATATYPE_GET_BINARY() { return H5VL_DATATYPE_GET_BINARY; }
+ private static final int H5VL_DATATYPE_GET_TCPL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_get_t.H5VL_DATATYPE_GET_TCPL = 2
+ * }
+ */
+ public static int H5VL_DATATYPE_GET_TCPL() { return H5VL_DATATYPE_GET_TCPL; }
+ private static final int H5VL_DATATYPE_FLUSH = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_specific_t.H5VL_DATATYPE_FLUSH = 0
+ * }
+ */
+ public static int H5VL_DATATYPE_FLUSH() { return H5VL_DATATYPE_FLUSH; }
+ private static final int H5VL_DATATYPE_REFRESH = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_specific_t.H5VL_DATATYPE_REFRESH = 1
+ * }
+ */
+ public static int H5VL_DATATYPE_REFRESH() { return H5VL_DATATYPE_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_datatype_optional_t
+ * }
+ */
+ public static final OfInt H5VL_datatype_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_FILE_GET_CONT_INFO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_CONT_INFO = 0
+ * }
+ */
+ public static int H5VL_FILE_GET_CONT_INFO() { return H5VL_FILE_GET_CONT_INFO; }
+ private static final int H5VL_FILE_GET_FAPL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_FAPL = 1
+ * }
+ */
+ public static int H5VL_FILE_GET_FAPL() { return H5VL_FILE_GET_FAPL; }
+ private static final int H5VL_FILE_GET_FCPL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_FCPL = 2
+ * }
+ */
+ public static int H5VL_FILE_GET_FCPL() { return H5VL_FILE_GET_FCPL; }
+ private static final int H5VL_FILE_GET_FILENO = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_FILENO = 3
+ * }
+ */
+ public static int H5VL_FILE_GET_FILENO() { return H5VL_FILE_GET_FILENO; }
+ private static final int H5VL_FILE_GET_INTENT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_INTENT = 4
+ * }
+ */
+ public static int H5VL_FILE_GET_INTENT() { return H5VL_FILE_GET_INTENT; }
+ private static final int H5VL_FILE_GET_NAME = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_NAME = 5
+ * }
+ */
+ public static int H5VL_FILE_GET_NAME() { return H5VL_FILE_GET_NAME; }
+ private static final int H5VL_FILE_GET_OBJ_COUNT = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_OBJ_COUNT = 6
+ * }
+ */
+ public static int H5VL_FILE_GET_OBJ_COUNT() { return H5VL_FILE_GET_OBJ_COUNT; }
+ private static final int H5VL_FILE_GET_OBJ_IDS = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_OBJ_IDS = 7
+ * }
+ */
+ public static int H5VL_FILE_GET_OBJ_IDS() { return H5VL_FILE_GET_OBJ_IDS; }
+ private static final int H5VL_FILE_FLUSH = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_FLUSH = 0
+ * }
+ */
+ public static int H5VL_FILE_FLUSH() { return H5VL_FILE_FLUSH; }
+ private static final int H5VL_FILE_REOPEN = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_REOPEN = 1
+ * }
+ */
+ public static int H5VL_FILE_REOPEN() { return H5VL_FILE_REOPEN; }
+ private static final int H5VL_FILE_IS_ACCESSIBLE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_IS_ACCESSIBLE = 2
+ * }
+ */
+ public static int H5VL_FILE_IS_ACCESSIBLE() { return H5VL_FILE_IS_ACCESSIBLE; }
+ private static final int H5VL_FILE_DELETE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_DELETE = 3
+ * }
+ */
+ public static int H5VL_FILE_DELETE() { return H5VL_FILE_DELETE; }
+ private static final int H5VL_FILE_IS_EQUAL = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_IS_EQUAL = 4
+ * }
+ */
+ public static int H5VL_FILE_IS_EQUAL() { return H5VL_FILE_IS_EQUAL; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_file_optional_t
+ * }
+ */
+ public static final OfInt H5VL_file_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_GROUP_GET_GCPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_get_t.H5VL_GROUP_GET_GCPL = 0
+ * }
+ */
+ public static int H5VL_GROUP_GET_GCPL() { return H5VL_GROUP_GET_GCPL; }
+ private static final int H5VL_GROUP_GET_INFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_get_t.H5VL_GROUP_GET_INFO = 1
+ * }
+ */
+ public static int H5VL_GROUP_GET_INFO() { return H5VL_GROUP_GET_INFO; }
+ private static final int H5VL_GROUP_MOUNT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_MOUNT = 0
+ * }
+ */
+ public static int H5VL_GROUP_MOUNT() { return H5VL_GROUP_MOUNT; }
+ private static final int H5VL_GROUP_UNMOUNT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_UNMOUNT = 1
+ * }
+ */
+ public static int H5VL_GROUP_UNMOUNT() { return H5VL_GROUP_UNMOUNT; }
+ private static final int H5VL_GROUP_FLUSH = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_FLUSH = 2
+ * }
+ */
+ public static int H5VL_GROUP_FLUSH() { return H5VL_GROUP_FLUSH; }
+ private static final int H5VL_GROUP_REFRESH = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_REFRESH = 3
+ * }
+ */
+ public static int H5VL_GROUP_REFRESH() { return H5VL_GROUP_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_group_optional_t
+ * }
+ */
+ public static final OfInt H5VL_group_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_LINK_CREATE_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_create_t.H5VL_LINK_CREATE_HARD = 0
+ * }
+ */
+ public static int H5VL_LINK_CREATE_HARD() { return H5VL_LINK_CREATE_HARD; }
+ private static final int H5VL_LINK_CREATE_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_create_t.H5VL_LINK_CREATE_SOFT = 1
+ * }
+ */
+ public static int H5VL_LINK_CREATE_SOFT() { return H5VL_LINK_CREATE_SOFT; }
+ private static final int H5VL_LINK_CREATE_UD = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_create_t.H5VL_LINK_CREATE_UD = 2
+ * }
+ */
+ public static int H5VL_LINK_CREATE_UD() { return H5VL_LINK_CREATE_UD; }
+ private static final int H5VL_LINK_GET_INFO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_get_t.H5VL_LINK_GET_INFO = 0
+ * }
+ */
+ public static int H5VL_LINK_GET_INFO() { return H5VL_LINK_GET_INFO; }
+ private static final int H5VL_LINK_GET_NAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_get_t.H5VL_LINK_GET_NAME = 1
+ * }
+ */
+ public static int H5VL_LINK_GET_NAME() { return H5VL_LINK_GET_NAME; }
+ private static final int H5VL_LINK_GET_VAL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_get_t.H5VL_LINK_GET_VAL = 2
+ * }
+ */
+ public static int H5VL_LINK_GET_VAL() { return H5VL_LINK_GET_VAL; }
+ private static final int H5VL_LINK_DELETE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_specific_t.H5VL_LINK_DELETE = 0
+ * }
+ */
+ public static int H5VL_LINK_DELETE() { return H5VL_LINK_DELETE; }
+ private static final int H5VL_LINK_EXISTS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_specific_t.H5VL_LINK_EXISTS = 1
+ * }
+ */
+ public static int H5VL_LINK_EXISTS() { return H5VL_LINK_EXISTS; }
+ private static final int H5VL_LINK_ITER = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_specific_t.H5VL_LINK_ITER = 2
+ * }
+ */
+ public static int H5VL_LINK_ITER() { return H5VL_LINK_ITER; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_link_optional_t
+ * }
+ */
+ public static final OfInt H5VL_link_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_OBJECT_GET_FILE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_FILE = 0
+ * }
+ */
+ public static int H5VL_OBJECT_GET_FILE() { return H5VL_OBJECT_GET_FILE; }
+ private static final int H5VL_OBJECT_GET_NAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_NAME = 1
+ * }
+ */
+ public static int H5VL_OBJECT_GET_NAME() { return H5VL_OBJECT_GET_NAME; }
+ private static final int H5VL_OBJECT_GET_TYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_TYPE = 2
+ * }
+ */
+ public static int H5VL_OBJECT_GET_TYPE() { return H5VL_OBJECT_GET_TYPE; }
+ private static final int H5VL_OBJECT_GET_INFO = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_INFO = 3
+ * }
+ */
+ public static int H5VL_OBJECT_GET_INFO() { return H5VL_OBJECT_GET_INFO; }
+ private static final int H5VL_OBJECT_CHANGE_REF_COUNT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_CHANGE_REF_COUNT = 0
+ * }
+ */
+ public static int H5VL_OBJECT_CHANGE_REF_COUNT() { return H5VL_OBJECT_CHANGE_REF_COUNT; }
+ private static final int H5VL_OBJECT_EXISTS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_EXISTS = 1
+ * }
+ */
+ public static int H5VL_OBJECT_EXISTS() { return H5VL_OBJECT_EXISTS; }
+ private static final int H5VL_OBJECT_LOOKUP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_LOOKUP = 2
+ * }
+ */
+ public static int H5VL_OBJECT_LOOKUP() { return H5VL_OBJECT_LOOKUP; }
+ private static final int H5VL_OBJECT_VISIT = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_VISIT = 3
+ * }
+ */
+ public static int H5VL_OBJECT_VISIT() { return H5VL_OBJECT_VISIT; }
+ private static final int H5VL_OBJECT_FLUSH = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_FLUSH = 4
+ * }
+ */
+ public static int H5VL_OBJECT_FLUSH() { return H5VL_OBJECT_FLUSH; }
+ private static final int H5VL_OBJECT_REFRESH = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_REFRESH = 5
+ * }
+ */
+ public static int H5VL_OBJECT_REFRESH() { return H5VL_OBJECT_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_object_optional_t
+ * }
+ */
+ public static final OfInt H5VL_object_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_REQUEST_STATUS_IN_PROGRESS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_IN_PROGRESS = 0
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_IN_PROGRESS() { return H5VL_REQUEST_STATUS_IN_PROGRESS; }
+ private static final int H5VL_REQUEST_STATUS_SUCCEED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_SUCCEED = 1
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_SUCCEED() { return H5VL_REQUEST_STATUS_SUCCEED; }
+ private static final int H5VL_REQUEST_STATUS_FAIL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_FAIL = 2
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_FAIL() { return H5VL_REQUEST_STATUS_FAIL; }
+ private static final int H5VL_REQUEST_STATUS_CANT_CANCEL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_CANT_CANCEL = 3
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_CANT_CANCEL() { return H5VL_REQUEST_STATUS_CANT_CANCEL; }
+ private static final int H5VL_REQUEST_STATUS_CANCELED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_CANCELED = 4
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_CANCELED() { return H5VL_REQUEST_STATUS_CANCELED; }
+ private static final int H5VL_REQUEST_GET_ERR_STACK = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_specific_t.H5VL_REQUEST_GET_ERR_STACK = 0
+ * }
+ */
+ public static int H5VL_REQUEST_GET_ERR_STACK() { return H5VL_REQUEST_GET_ERR_STACK; }
+ private static final int H5VL_REQUEST_GET_EXEC_TIME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_specific_t.H5VL_REQUEST_GET_EXEC_TIME = 1
+ * }
+ */
+ public static int H5VL_REQUEST_GET_EXEC_TIME() { return H5VL_REQUEST_GET_EXEC_TIME; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_request_optional_t
+ * }
+ */
+ public static final OfInt H5VL_request_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_BLOB_DELETE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_blob_specific_t.H5VL_BLOB_DELETE = 0
+ * }
+ */
+ public static int H5VL_BLOB_DELETE() { return H5VL_BLOB_DELETE; }
+ private static final int H5VL_BLOB_ISNULL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_blob_specific_t.H5VL_BLOB_ISNULL = 1
+ * }
+ */
+ public static int H5VL_BLOB_ISNULL() { return H5VL_BLOB_ISNULL; }
+ private static final int H5VL_BLOB_SETNULL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_blob_specific_t.H5VL_BLOB_SETNULL = 2
+ * }
+ */
+ public static int H5VL_BLOB_SETNULL() { return H5VL_BLOB_SETNULL; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_blob_optional_t
+ * }
+ */
+ public static final OfInt H5VL_blob_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_GET_CONN_LVL_CURR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_get_conn_lvl_t.H5VL_GET_CONN_LVL_CURR = 0
+ * }
+ */
+ public static int H5VL_GET_CONN_LVL_CURR() { return H5VL_GET_CONN_LVL_CURR; }
+ private static final int H5VL_GET_CONN_LVL_TERM = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_get_conn_lvl_t.H5VL_GET_CONN_LVL_TERM = 1
+ * }
+ */
+ public static int H5VL_GET_CONN_LVL_TERM() { return H5VL_GET_CONN_LVL_TERM; }
+
+ private static class H5VLregister_connector {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_connector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_connector$descriptor()
+ {
+ return H5VLregister_connector.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLregister_connector$handle() { return H5VLregister_connector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLregister_connector$address() { return H5VLregister_connector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static long H5VLregister_connector(MemorySegment cls, long vipl_id)
+ {
+ var mh$ = H5VLregister_connector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_connector", cls, vipl_id);
+ }
+ return (long)mh$.invokeExact(cls, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject$descriptor() { return H5VLobject.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static MethodHandle H5VLobject$handle() { return H5VLobject.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5VLobject$address() { return H5VLobject.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5VLobject(long obj_id)
+ {
+ var mh$ = H5VLobject.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject", obj_id);
+ }
+ return (MemorySegment)mh$.invokeExact(obj_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_file_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_file_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_file_type$descriptor() { return H5VLget_file_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static MethodHandle H5VLget_file_type$handle() { return H5VLget_file_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static MemorySegment H5VLget_file_type$address() { return H5VLget_file_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static long H5VLget_file_type(MemorySegment file_obj, long connector_id, long dtype_id)
+ {
+ var mh$ = H5VLget_file_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_file_type", file_obj, connector_id, dtype_id);
+ }
+ return (long)mh$.invokeExact(file_obj, connector_id, dtype_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLregister_opt_operation {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_opt_operation");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_opt_operation$descriptor()
+ {
+ return H5VLregister_opt_operation.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MethodHandle H5VLregister_opt_operation$handle()
+ {
+ return H5VLregister_opt_operation.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MemorySegment H5VLregister_opt_operation$address()
+ {
+ return H5VLregister_opt_operation.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static int H5VLregister_opt_operation(int subcls, MemorySegment op_name, MemorySegment op_val)
+ {
+ var mh$ = H5VLregister_opt_operation.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_opt_operation", subcls, op_name, op_val);
+ }
+ return (int)mh$.invokeExact(subcls, op_name, op_val);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfind_opt_operation {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfind_opt_operation");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static FunctionDescriptor H5VLfind_opt_operation$descriptor()
+ {
+ return H5VLfind_opt_operation.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MethodHandle H5VLfind_opt_operation$handle() { return H5VLfind_opt_operation.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MemorySegment H5VLfind_opt_operation$address() { return H5VLfind_opt_operation.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static int H5VLfind_opt_operation(int subcls, MemorySegment op_name, MemorySegment op_val)
+ {
+ var mh$ = H5VLfind_opt_operation.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfind_opt_operation", subcls, op_name, op_val);
+ }
+ return (int)mh$.invokeExact(subcls, op_name, op_val);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLunregister_opt_operation {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLunregister_opt_operation");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static FunctionDescriptor H5VLunregister_opt_operation$descriptor()
+ {
+ return H5VLunregister_opt_operation.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static MethodHandle H5VLunregister_opt_operation$handle()
+ {
+ return H5VLunregister_opt_operation.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static MemorySegment H5VLunregister_opt_operation$address()
+ {
+ return H5VLunregister_opt_operation.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static int H5VLunregister_opt_operation(int subcls, MemorySegment op_name)
+ {
+ var mh$ = H5VLunregister_opt_operation.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLunregister_opt_operation", subcls, op_name);
+ }
+ return (int)mh$.invokeExact(subcls, op_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_optional_op {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_optional_op$descriptor() { return H5VLattr_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLattr_optional_op$handle() { return H5VLattr_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLattr_optional_op$address() { return H5VLattr_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLattr_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long attr_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLattr_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_optional_op", app_file, app_func, app_line, attr_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_optional_op {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_optional_op$descriptor()
+ {
+ return H5VLdataset_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLdataset_optional_op$handle() { return H5VLdataset_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLdataset_optional_op$address() { return H5VLdataset_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLdataset_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLdataset_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_optional_op", app_file, app_func, app_line, dset_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_optional_op {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_optional_op$descriptor()
+ {
+ return H5VLdatatype_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_optional_op$handle() { return H5VLdatatype_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_optional_op$address() { return H5VLdatatype_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLdatatype_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long type_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLdatatype_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_optional_op", app_file, app_func, app_line, type_id, args,
+ dxpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, type_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_optional_op {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_optional_op$descriptor() { return H5VLfile_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLfile_optional_op$handle() { return H5VLfile_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLfile_optional_op$address() { return H5VLfile_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLfile_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long file_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLfile_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_optional_op", app_file, app_func, app_line, file_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, file_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_optional_op {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_optional_op$descriptor() { return H5VLgroup_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLgroup_optional_op$handle() { return H5VLgroup_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLgroup_optional_op$address() { return H5VLgroup_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLgroup_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long group_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLgroup_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_optional_op", app_file, app_func, app_line, group_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, group_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_optional_op$descriptor() { return H5VLlink_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLlink_optional_op$handle() { return H5VLlink_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLlink_optional_op$address() { return H5VLlink_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLlink_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lapl_id, MemorySegment args,
+ long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLlink_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_optional_op", app_file, app_func, app_line, loc_id, name, lapl_id,
+ args, dxpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, args, dxpl_id,
+ es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_optional_op$descriptor()
+ {
+ return H5VLobject_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLobject_optional_op$handle() { return H5VLobject_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLobject_optional_op$address() { return H5VLobject_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLobject_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lapl_id,
+ MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLobject_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_optional_op", app_file, app_func, app_line, loc_id, name, lapl_id,
+ args, dxpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, args, dxpl_id,
+ es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_optional_op {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_optional_op$descriptor()
+ {
+ return H5VLrequest_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLrequest_optional_op$handle() { return H5VLrequest_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLrequest_optional_op$address() { return H5VLrequest_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static int H5VLrequest_optional_op(MemorySegment req, long connector_id, MemorySegment args)
+ {
+ var mh$ = H5VLrequest_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_optional_op", req, connector_id, args);
+ }
+ return (int)mh$.invokeExact(req, connector_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5VL_MAP_GET_MAPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_MAPL = 0
+ * }
+ */
+ public static int H5VL_MAP_GET_MAPL() { return H5VL_MAP_GET_MAPL; }
+ private static final int H5VL_MAP_GET_MCPL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_MCPL = 1
+ * }
+ */
+ public static int H5VL_MAP_GET_MCPL() { return H5VL_MAP_GET_MCPL; }
+ private static final int H5VL_MAP_GET_KEY_TYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_KEY_TYPE = 2
+ * }
+ */
+ public static int H5VL_MAP_GET_KEY_TYPE() { return H5VL_MAP_GET_KEY_TYPE; }
+ private static final int H5VL_MAP_GET_VAL_TYPE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_VAL_TYPE = 3
+ * }
+ */
+ public static int H5VL_MAP_GET_VAL_TYPE() { return H5VL_MAP_GET_VAL_TYPE; }
+ private static final int H5VL_MAP_GET_COUNT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_COUNT = 4
+ * }
+ */
+ public static int H5VL_MAP_GET_COUNT() { return H5VL_MAP_GET_COUNT; }
+ private static final int H5VL_MAP_ITER = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_specific_t.H5VL_MAP_ITER = 0
+ * }
+ */
+ public static int H5VL_MAP_ITER() { return H5VL_MAP_ITER; }
+ private static final int H5VL_MAP_DELETE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_specific_t.H5VL_MAP_DELETE = 1
+ * }
+ */
+ public static int H5VL_MAP_DELETE() { return H5VL_MAP_DELETE; }
+ private static final int H5S_NO_CLASS = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_NO_CLASS = -1
+ * }
+ */
+ public static int H5S_NO_CLASS() { return H5S_NO_CLASS; }
+ private static final int H5S_SCALAR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_SCALAR = 0
+ * }
+ */
+ public static int H5S_SCALAR() { return H5S_SCALAR; }
+ private static final int H5S_SIMPLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_SIMPLE = 1
+ * }
+ */
+ public static int H5S_SIMPLE() { return H5S_SIMPLE; }
+ private static final int H5S_NULL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_NULL = 2
+ * }
+ */
+ public static int H5S_NULL() { return H5S_NULL; }
+ private static final int H5S_SELECT_NOOP = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_NOOP = -1
+ * }
+ */
+ public static int H5S_SELECT_NOOP() { return H5S_SELECT_NOOP; }
+ private static final int H5S_SELECT_SET = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_SET = 0
+ * }
+ */
+ public static int H5S_SELECT_SET() { return H5S_SELECT_SET; }
+ private static final int H5S_SELECT_OR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_OR = 1
+ * }
+ */
+ public static int H5S_SELECT_OR() { return H5S_SELECT_OR; }
+ private static final int H5S_SELECT_AND = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_AND = 2
+ * }
+ */
+ public static int H5S_SELECT_AND() { return H5S_SELECT_AND; }
+ private static final int H5S_SELECT_XOR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_XOR = 3
+ * }
+ */
+ public static int H5S_SELECT_XOR() { return H5S_SELECT_XOR; }
+ private static final int H5S_SELECT_NOTB = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_NOTB = 4
+ * }
+ */
+ public static int H5S_SELECT_NOTB() { return H5S_SELECT_NOTB; }
+ private static final int H5S_SELECT_NOTA = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_NOTA = 5
+ * }
+ */
+ public static int H5S_SELECT_NOTA() { return H5S_SELECT_NOTA; }
+ private static final int H5S_SELECT_APPEND = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_APPEND = 6
+ * }
+ */
+ public static int H5S_SELECT_APPEND() { return H5S_SELECT_APPEND; }
+ private static final int H5S_SELECT_PREPEND = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_PREPEND = 7
+ * }
+ */
+ public static int H5S_SELECT_PREPEND() { return H5S_SELECT_PREPEND; }
+ private static final int H5S_SELECT_INVALID = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_INVALID = 8
+ * }
+ */
+ public static int H5S_SELECT_INVALID() { return H5S_SELECT_INVALID; }
+ private static final int H5S_SEL_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_ERROR = -1
+ * }
+ */
+ public static int H5S_SEL_ERROR() { return H5S_SEL_ERROR; }
+ private static final int H5S_SEL_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_NONE = 0
+ * }
+ */
+ public static int H5S_SEL_NONE() { return H5S_SEL_NONE; }
+ private static final int H5S_SEL_POINTS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_POINTS = 1
+ * }
+ */
+ public static int H5S_SEL_POINTS() { return H5S_SEL_POINTS; }
+ private static final int H5S_SEL_HYPERSLABS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_HYPERSLABS = 2
+ * }
+ */
+ public static int H5S_SEL_HYPERSLABS() { return H5S_SEL_HYPERSLABS; }
+ private static final int H5S_SEL_ALL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_ALL = 3
+ * }
+ */
+ public static int H5S_SEL_ALL() { return H5S_SEL_ALL; }
+ private static final int H5S_SEL_N = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_N = 4
+ * }
+ */
+ public static int H5S_SEL_N() { return H5S_SEL_N; }
+
+ private static class H5Sclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sclose$descriptor() { return H5Sclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sclose$handle() { return H5Sclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sclose$address() { return H5Sclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static int H5Sclose(long space_id)
+ {
+ var mh$ = H5Sclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sclose", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Scombine_hyperslab {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Scombine_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Scombine_hyperslab$descriptor() { return H5Scombine_hyperslab.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Scombine_hyperslab$handle() { return H5Scombine_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Scombine_hyperslab$address() { return H5Scombine_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static long H5Scombine_hyperslab(long space_id, int op, MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Scombine_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Scombine_hyperslab", space_id, op, start, stride, count, block);
+ }
+ return (long)mh$.invokeExact(space_id, op, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Scombine_select {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Scombine_select");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Scombine_select$descriptor() { return H5Scombine_select.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Scombine_select$handle() { return H5Scombine_select.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Scombine_select$address() { return H5Scombine_select.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static long H5Scombine_select(long space1_id, int op, long space2_id)
+ {
+ var mh$ = H5Scombine_select.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Scombine_select", space1_id, op, space2_id);
+ }
+ return (long)mh$.invokeExact(space1_id, op, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Scopy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Scopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Scopy$descriptor() { return H5Scopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Scopy$handle() { return H5Scopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Scopy$address() { return H5Scopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static long H5Scopy(long space_id)
+ {
+ var mh$ = H5Scopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Scopy", space_id);
+ }
+ return (long)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Screate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Screate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Screate$descriptor() { return H5Screate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static MethodHandle H5Screate$handle() { return H5Screate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static MemorySegment H5Screate$address() { return H5Screate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static long H5Screate(int type)
+ {
+ var mh$ = H5Screate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Screate", type);
+ }
+ return (long)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Screate_simple {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Screate_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static FunctionDescriptor H5Screate_simple$descriptor() { return H5Screate_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static MethodHandle H5Screate_simple$handle() { return H5Screate_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static MemorySegment H5Screate_simple$address() { return H5Screate_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static long H5Screate_simple(int rank, MemorySegment dims, MemorySegment maxdims)
+ {
+ var mh$ = H5Screate_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Screate_simple", rank, dims, maxdims);
+ }
+ return (long)mh$.invokeExact(rank, dims, maxdims);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sdecode {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sdecode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Sdecode$descriptor() { return H5Sdecode.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static MethodHandle H5Sdecode$handle() { return H5Sdecode.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static MemorySegment H5Sdecode$address() { return H5Sdecode.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static long H5Sdecode(MemorySegment buf)
+ {
+ var mh$ = H5Sdecode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sdecode", buf);
+ }
+ return (long)mh$.invokeExact(buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sencode2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sencode2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static FunctionDescriptor H5Sencode2$descriptor() { return H5Sencode2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static MethodHandle H5Sencode2$handle() { return H5Sencode2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static MemorySegment H5Sencode2$address() { return H5Sencode2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static int H5Sencode2(long obj_id, MemorySegment buf, MemorySegment nalloc, long fapl)
+ {
+ var mh$ = H5Sencode2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sencode2", obj_id, buf, nalloc, fapl);
+ }
+ return (int)mh$.invokeExact(obj_id, buf, nalloc, fapl);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sextent_copy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sextent_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sextent_copy$descriptor() { return H5Sextent_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MethodHandle H5Sextent_copy$handle() { return H5Sextent_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MemorySegment H5Sextent_copy$address() { return H5Sextent_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static int H5Sextent_copy(long dst_id, long src_id)
+ {
+ var mh$ = H5Sextent_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sextent_copy", dst_id, src_id);
+ }
+ return (int)mh$.invokeExact(dst_id, src_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sextent_equal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sextent_equal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sextent_equal$descriptor() { return H5Sextent_equal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Sextent_equal$handle() { return H5Sextent_equal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Sextent_equal$address() { return H5Sextent_equal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static int H5Sextent_equal(long space1_id, long space2_id)
+ {
+ var mh$ = H5Sextent_equal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sextent_equal", space1_id, space2_id);
+ }
+ return (int)mh$.invokeExact(space1_id, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_regular_hyperslab {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_regular_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_regular_hyperslab$descriptor()
+ {
+ return H5Sget_regular_hyperslab.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Sget_regular_hyperslab$handle() { return H5Sget_regular_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Sget_regular_hyperslab$address() { return H5Sget_regular_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static int H5Sget_regular_hyperslab(long spaceid, MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Sget_regular_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_regular_hyperslab", spaceid, start, stride, count, block);
+ }
+ return (int)mh$.invokeExact(spaceid, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_bounds$descriptor() { return H5Sget_select_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static MethodHandle H5Sget_select_bounds$handle() { return H5Sget_select_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static MemorySegment H5Sget_select_bounds$address() { return H5Sget_select_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static int H5Sget_select_bounds(long spaceid, MemorySegment start, MemorySegment end)
+ {
+ var mh$ = H5Sget_select_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_bounds", spaceid, start, end);
+ }
+ return (int)mh$.invokeExact(spaceid, start, end);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_elem_npoints {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_elem_npoints");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_elem_npoints$descriptor()
+ {
+ return H5Sget_select_elem_npoints.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_elem_npoints$handle()
+ {
+ return H5Sget_select_elem_npoints.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_elem_npoints$address()
+ {
+ return H5Sget_select_elem_npoints.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static long H5Sget_select_elem_npoints(long spaceid)
+ {
+ var mh$ = H5Sget_select_elem_npoints.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_elem_npoints", spaceid);
+ }
+ return (long)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_elem_pointlist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_elem_pointlist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_elem_pointlist$descriptor()
+ {
+ return H5Sget_select_elem_pointlist.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static MethodHandle H5Sget_select_elem_pointlist$handle()
+ {
+ return H5Sget_select_elem_pointlist.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static MemorySegment H5Sget_select_elem_pointlist$address()
+ {
+ return H5Sget_select_elem_pointlist.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static int H5Sget_select_elem_pointlist(long spaceid, long startpoint, long numpoints,
+ MemorySegment buf)
+ {
+ var mh$ = H5Sget_select_elem_pointlist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_elem_pointlist", spaceid, startpoint, numpoints, buf);
+ }
+ return (int)mh$.invokeExact(spaceid, startpoint, numpoints, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_hyper_blocklist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_hyper_blocklist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_hyper_blocklist$descriptor()
+ {
+ return H5Sget_select_hyper_blocklist.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static MethodHandle H5Sget_select_hyper_blocklist$handle()
+ {
+ return H5Sget_select_hyper_blocklist.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static MemorySegment H5Sget_select_hyper_blocklist$address()
+ {
+ return H5Sget_select_hyper_blocklist.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static int H5Sget_select_hyper_blocklist(long spaceid, long startblock, long numblocks,
+ MemorySegment buf)
+ {
+ var mh$ = H5Sget_select_hyper_blocklist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_hyper_blocklist", spaceid, startblock, numblocks, buf);
+ }
+ return (int)mh$.invokeExact(spaceid, startblock, numblocks, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_hyper_nblocks {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_hyper_nblocks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_hyper_nblocks$descriptor()
+ {
+ return H5Sget_select_hyper_nblocks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_hyper_nblocks$handle()
+ {
+ return H5Sget_select_hyper_nblocks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_hyper_nblocks$address()
+ {
+ return H5Sget_select_hyper_nblocks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static long H5Sget_select_hyper_nblocks(long spaceid)
+ {
+ var mh$ = H5Sget_select_hyper_nblocks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_hyper_nblocks", spaceid);
+ }
+ return (long)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_npoints {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_npoints");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_npoints$descriptor() { return H5Sget_select_npoints.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_npoints$handle() { return H5Sget_select_npoints.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_npoints$address() { return H5Sget_select_npoints.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static long H5Sget_select_npoints(long spaceid)
+ {
+ var mh$ = H5Sget_select_npoints.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_npoints", spaceid);
+ }
+ return (long)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_type$descriptor() { return H5Sget_select_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_type$handle() { return H5Sget_select_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_type$address() { return H5Sget_select_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static int H5Sget_select_type(long spaceid)
+ {
+ var mh$ = H5Sget_select_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_type", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_dims {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_dims");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_dims$descriptor()
+ {
+ return H5Sget_simple_extent_dims.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_dims$handle() { return H5Sget_simple_extent_dims.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_dims$address() { return H5Sget_simple_extent_dims.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static int H5Sget_simple_extent_dims(long space_id, MemorySegment dims, MemorySegment maxdims)
+ {
+ var mh$ = H5Sget_simple_extent_dims.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_dims", space_id, dims, maxdims);
+ }
+ return (int)mh$.invokeExact(space_id, dims, maxdims);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_ndims {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_ndims");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_ndims$descriptor()
+ {
+ return H5Sget_simple_extent_ndims.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_ndims$handle()
+ {
+ return H5Sget_simple_extent_ndims.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_ndims$address()
+ {
+ return H5Sget_simple_extent_ndims.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static int H5Sget_simple_extent_ndims(long space_id)
+ {
+ var mh$ = H5Sget_simple_extent_ndims.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_ndims", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_npoints {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_npoints");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_npoints$descriptor()
+ {
+ return H5Sget_simple_extent_npoints.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_npoints$handle()
+ {
+ return H5Sget_simple_extent_npoints.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_npoints$address()
+ {
+ return H5Sget_simple_extent_npoints.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static long H5Sget_simple_extent_npoints(long space_id)
+ {
+ var mh$ = H5Sget_simple_extent_npoints.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_npoints", space_id);
+ }
+ return (long)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_type$descriptor()
+ {
+ return H5Sget_simple_extent_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_type$handle() { return H5Sget_simple_extent_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_type$address() { return H5Sget_simple_extent_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static int H5Sget_simple_extent_type(long space_id)
+ {
+ var mh$ = H5Sget_simple_extent_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_type", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sis_regular_hyperslab {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sis_regular_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sis_regular_hyperslab$descriptor()
+ {
+ return H5Sis_regular_hyperslab.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sis_regular_hyperslab$handle() { return H5Sis_regular_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sis_regular_hyperslab$address() { return H5Sis_regular_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static int H5Sis_regular_hyperslab(long spaceid)
+ {
+ var mh$ = H5Sis_regular_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sis_regular_hyperslab", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sis_simple {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sis_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sis_simple$descriptor() { return H5Sis_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sis_simple$handle() { return H5Sis_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sis_simple$address() { return H5Sis_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static int H5Sis_simple(long space_id)
+ {
+ var mh$ = H5Sis_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sis_simple", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Smodify_select {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Smodify_select");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Smodify_select$descriptor() { return H5Smodify_select.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Smodify_select$handle() { return H5Smodify_select.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Smodify_select$address() { return H5Smodify_select.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static int H5Smodify_select(long space1_id, int op, long space2_id)
+ {
+ var mh$ = H5Smodify_select.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Smodify_select", space1_id, op, space2_id);
+ }
+ return (int)mh$.invokeExact(space1_id, op, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Soffset_simple {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Soffset_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static FunctionDescriptor H5Soffset_simple$descriptor() { return H5Soffset_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static MethodHandle H5Soffset_simple$handle() { return H5Soffset_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static MemorySegment H5Soffset_simple$address() { return H5Soffset_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static int H5Soffset_simple(long space_id, MemorySegment offset)
+ {
+ var mh$ = H5Soffset_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Soffset_simple", space_id, offset);
+ }
+ return (int)mh$.invokeExact(space_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_close$descriptor() { return H5Ssel_iter_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_close$handle() { return H5Ssel_iter_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_close$address() { return H5Ssel_iter_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static int H5Ssel_iter_close(long sel_iter_id)
+ {
+ var mh$ = H5Ssel_iter_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_close", sel_iter_id);
+ }
+ return (int)mh$.invokeExact(sel_iter_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_create$descriptor() { return H5Ssel_iter_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_create$handle() { return H5Ssel_iter_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_create$address() { return H5Ssel_iter_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static long H5Ssel_iter_create(long spaceid, long elmt_size, int flags)
+ {
+ var mh$ = H5Ssel_iter_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_create", spaceid, elmt_size, flags);
+ }
+ return (long)mh$.invokeExact(spaceid, elmt_size, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_get_seq_list {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_get_seq_list");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_get_seq_list$descriptor()
+ {
+ return H5Ssel_iter_get_seq_list.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_get_seq_list$handle() { return H5Ssel_iter_get_seq_list.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_get_seq_list$address() { return H5Ssel_iter_get_seq_list.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static int H5Ssel_iter_get_seq_list(long sel_iter_id, long maxseq, long maxelmts,
+ MemorySegment nseq, MemorySegment nelmts, MemorySegment off,
+ MemorySegment len)
+ {
+ var mh$ = H5Ssel_iter_get_seq_list.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_get_seq_list", sel_iter_id, maxseq, maxelmts, nseq, nelmts, off,
+ len);
+ }
+ return (int)mh$.invokeExact(sel_iter_id, maxseq, maxelmts, nseq, nelmts, off, len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_reset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_reset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_reset$descriptor() { return H5Ssel_iter_reset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_reset$handle() { return H5Ssel_iter_reset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_reset$address() { return H5Ssel_iter_reset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static int H5Ssel_iter_reset(long sel_iter_id, long space_id)
+ {
+ var mh$ = H5Ssel_iter_reset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_reset", sel_iter_id, space_id);
+ }
+ return (int)mh$.invokeExact(sel_iter_id, space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_adjust {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_adjust");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_adjust$descriptor() { return H5Sselect_adjust.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static MethodHandle H5Sselect_adjust$handle() { return H5Sselect_adjust.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static MemorySegment H5Sselect_adjust$address() { return H5Sselect_adjust.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static int H5Sselect_adjust(long spaceid, MemorySegment offset)
+ {
+ var mh$ = H5Sselect_adjust.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_adjust", spaceid, offset);
+ }
+ return (int)mh$.invokeExact(spaceid, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_all {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_all");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_all$descriptor() { return H5Sselect_all.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sselect_all$handle() { return H5Sselect_all.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sselect_all$address() { return H5Sselect_all.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static int H5Sselect_all(long spaceid)
+ {
+ var mh$ = H5Sselect_all.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_all", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_copy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_copy$descriptor() { return H5Sselect_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MethodHandle H5Sselect_copy$handle() { return H5Sselect_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MemorySegment H5Sselect_copy$address() { return H5Sselect_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static int H5Sselect_copy(long dst_id, long src_id)
+ {
+ var mh$ = H5Sselect_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_copy", dst_id, src_id);
+ }
+ return (int)mh$.invokeExact(dst_id, src_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_elements {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_elements");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_elements$descriptor() { return H5Sselect_elements.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static MethodHandle H5Sselect_elements$handle() { return H5Sselect_elements.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static MemorySegment H5Sselect_elements$address() { return H5Sselect_elements.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static int H5Sselect_elements(long space_id, int op, long num_elem, MemorySegment coord)
+ {
+ var mh$ = H5Sselect_elements.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_elements", space_id, op, num_elem, coord);
+ }
+ return (int)mh$.invokeExact(space_id, op, num_elem, coord);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_hyperslab {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_hyperslab$descriptor() { return H5Sselect_hyperslab.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Sselect_hyperslab$handle() { return H5Sselect_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Sselect_hyperslab$address() { return H5Sselect_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static int H5Sselect_hyperslab(long space_id, int op, MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Sselect_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_hyperslab", space_id, op, start, stride, count, block);
+ }
+ return (int)mh$.invokeExact(space_id, op, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_intersect_block {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_intersect_block");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_intersect_block$descriptor()
+ {
+ return H5Sselect_intersect_block.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static MethodHandle H5Sselect_intersect_block$handle() { return H5Sselect_intersect_block.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static MemorySegment H5Sselect_intersect_block$address() { return H5Sselect_intersect_block.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static int H5Sselect_intersect_block(long space_id, MemorySegment start, MemorySegment end)
+ {
+ var mh$ = H5Sselect_intersect_block.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_intersect_block", space_id, start, end);
+ }
+ return (int)mh$.invokeExact(space_id, start, end);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_none {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_none");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_none$descriptor() { return H5Sselect_none.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sselect_none$handle() { return H5Sselect_none.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sselect_none$address() { return H5Sselect_none.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static int H5Sselect_none(long spaceid)
+ {
+ var mh$ = H5Sselect_none.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_none", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_project_intersection {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_project_intersection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_project_intersection$descriptor()
+ {
+ return H5Sselect_project_intersection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static MethodHandle H5Sselect_project_intersection$handle()
+ {
+ return H5Sselect_project_intersection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static MemorySegment H5Sselect_project_intersection$address()
+ {
+ return H5Sselect_project_intersection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static long H5Sselect_project_intersection(long src_space_id, long dst_space_id,
+ long src_intersect_space_id)
+ {
+ var mh$ = H5Sselect_project_intersection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_project_intersection", src_space_id, dst_space_id,
+ src_intersect_space_id);
+ }
+ return (long)mh$.invokeExact(src_space_id, dst_space_id, src_intersect_space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_shape_same {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_shape_same");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_shape_same$descriptor() { return H5Sselect_shape_same.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Sselect_shape_same$handle() { return H5Sselect_shape_same.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Sselect_shape_same$address() { return H5Sselect_shape_same.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static int H5Sselect_shape_same(long space1_id, long space2_id)
+ {
+ var mh$ = H5Sselect_shape_same.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_shape_same", space1_id, space2_id);
+ }
+ return (int)mh$.invokeExact(space1_id, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_valid {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_valid");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_valid$descriptor() { return H5Sselect_valid.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sselect_valid$handle() { return H5Sselect_valid.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sselect_valid$address() { return H5Sselect_valid.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static int H5Sselect_valid(long spaceid)
+ {
+ var mh$ = H5Sselect_valid.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_valid", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sset_extent_none {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sset_extent_none");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sset_extent_none$descriptor() { return H5Sset_extent_none.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sset_extent_none$handle() { return H5Sset_extent_none.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sset_extent_none$address() { return H5Sset_extent_none.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static int H5Sset_extent_none(long space_id)
+ {
+ var mh$ = H5Sset_extent_none.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sset_extent_none", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sset_extent_simple {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sset_extent_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static FunctionDescriptor H5Sset_extent_simple$descriptor() { return H5Sset_extent_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static MethodHandle H5Sset_extent_simple$handle() { return H5Sset_extent_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static MemorySegment H5Sset_extent_simple$address() { return H5Sset_extent_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static int H5Sset_extent_simple(long space_id, int rank, MemorySegment dims, MemorySegment max)
+ {
+ var mh$ = H5Sset_extent_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sset_extent_simple", space_id, rank, dims, max);
+ }
+ return (int)mh$.invokeExact(space_id, rank, dims, max);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sencode1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sencode1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static FunctionDescriptor H5Sencode1$descriptor() { return H5Sencode1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MethodHandle H5Sencode1$handle() { return H5Sencode1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MemorySegment H5Sencode1$address() { return H5Sencode1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static int H5Sencode1(long obj_id, MemorySegment buf, MemorySegment nalloc)
+ {
+ var mh$ = H5Sencode1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sencode1", obj_id, buf, nalloc);
+ }
+ return (int)mh$.invokeExact(obj_id, buf, nalloc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5Z_filter_t
+ * }
+ */
+ public static final OfInt H5Z_filter_t = hdf5_h.C_INT;
+ private static final int H5Z_SO_FLOAT_DSCALE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_SO_scale_type_t.H5Z_SO_FLOAT_DSCALE = 0
+ * }
+ */
+ public static int H5Z_SO_FLOAT_DSCALE() { return H5Z_SO_FLOAT_DSCALE; }
+ private static final int H5Z_SO_FLOAT_ESCALE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_SO_scale_type_t.H5Z_SO_FLOAT_ESCALE = 1
+ * }
+ */
+ public static int H5Z_SO_FLOAT_ESCALE() { return H5Z_SO_FLOAT_ESCALE; }
+ private static final int H5Z_SO_INT = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_SO_scale_type_t.H5Z_SO_INT = 2
+ * }
+ */
+ public static int H5Z_SO_INT() { return H5Z_SO_INT; }
+ private static final int H5Z_ERROR_EDC = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_ERROR_EDC = -1
+ * }
+ */
+ public static int H5Z_ERROR_EDC() { return H5Z_ERROR_EDC; }
+ private static final int H5Z_DISABLE_EDC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_DISABLE_EDC = 0
+ * }
+ */
+ public static int H5Z_DISABLE_EDC() { return H5Z_DISABLE_EDC; }
+ private static final int H5Z_ENABLE_EDC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_ENABLE_EDC = 1
+ * }
+ */
+ public static int H5Z_ENABLE_EDC() { return H5Z_ENABLE_EDC; }
+ private static final int H5Z_NO_EDC = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_NO_EDC = 2
+ * }
+ */
+ public static int H5Z_NO_EDC() { return H5Z_NO_EDC; }
+ private static final int H5Z_CB_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_ERROR = -1
+ * }
+ */
+ public static int H5Z_CB_ERROR() { return H5Z_CB_ERROR; }
+ private static final int H5Z_CB_FAIL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_FAIL = 0
+ * }
+ */
+ public static int H5Z_CB_FAIL() { return H5Z_CB_FAIL; }
+}
diff --git a/java/jsrc/features/ros3/linux/hdf5_h_2.java b/java/jsrc/features/ros3/linux/hdf5_h_2.java
new file mode 100644
index 00000000000..cdc5121aa4f
--- /dev/null
+++ b/java/jsrc/features/ros3/linux/hdf5_h_2.java
@@ -0,0 +1,15108 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h_2 {
+
+ hdf5_h_2()
+ {
+ // Should not be called directly
+ }
+
+ static final Arena LIBRARY_ARENA = Arena.ofAuto();
+ static final boolean TRACE_DOWNCALLS = Boolean.getBoolean("jextract.trace.downcalls");
+
+ static void traceDowncall(String name, Object... args)
+ {
+ String traceArgs = Arrays.stream(args).map(Object::toString).collect(Collectors.joining(", "));
+ System.out.printf("%s(%s)\n", name, traceArgs);
+ }
+
+ static MemorySegment findOrThrow(String symbol)
+ {
+ return SYMBOL_LOOKUP.find(symbol).orElseThrow(
+ () -> new UnsatisfiedLinkError("unresolved symbol: " + symbol));
+ }
+
+ static MethodHandle upcallHandle(Class> fi, String name, FunctionDescriptor fdesc)
+ {
+ try {
+ return MethodHandles.lookup().findVirtual(fi, name, fdesc.toMethodType());
+ }
+ catch (ReflectiveOperationException ex) {
+ throw new AssertionError(ex);
+ }
+ }
+
+ static MemoryLayout align(MemoryLayout layout, long align)
+ {
+ return switch (layout)
+ {
+ case PaddingLayout p -> p; case ValueLayout v -> v.withByteAlignment(align);
+ case GroupLayout g
+ -> { MemoryLayout[] alignedMembers =
+ g.memberLayouts().stream().map(m -> align(m, align)).toArray(MemoryLayout[] ::new);
+ yield g instanceof StructLayout ? MemoryLayout.structLayout(alignedMembers):
+ MemoryLayout.unionLayout(alignedMembers);
+ }
+ case SequenceLayout s -> MemoryLayout.sequenceLayout(s.elementCount(), align(s.elementLayout(), align));
+ };
+ }
+
+ static final SymbolLookup SYMBOL_LOOKUP = SymbolLookup.libraryLookup(System.mapLibraryName("hdf5"), LIBRARY_ARENA)
+ .or(SymbolLookup.loaderLookup())
+ .or(Linker.nativeLinker().defaultLookup());
+
+ public static final ValueLayout.OfBoolean C_BOOL = ValueLayout.JAVA_BOOLEAN;
+ public static final ValueLayout.OfByte C_CHAR = ValueLayout.JAVA_BYTE;
+ public static final ValueLayout.OfShort C_SHORT = ValueLayout.JAVA_SHORT;
+ public static final ValueLayout.OfInt C_INT = ValueLayout.JAVA_INT;
+ public static final ValueLayout.OfLong C_LONG_LONG = ValueLayout.JAVA_LONG;
+ public static final ValueLayout.OfFloat C_FLOAT = ValueLayout.JAVA_FLOAT;
+ public static final ValueLayout.OfDouble C_DOUBLE = ValueLayout.JAVA_DOUBLE;
+ public static final AddressLayout C_POINTER = ValueLayout.ADDRESS
+ .withTargetLayout(MemoryLayout.sequenceLayout(java.lang.Long.MAX_VALUE, JAVA_BYTE));
+ public static final ValueLayout.OfLong C_LONG = ValueLayout.JAVA_LONG;
+ private static final int H5_HAVE_ALARM = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_ALARM 1
+ * }
+ */
+ public static int H5_HAVE_ALARM() {
+ return H5_HAVE_ALARM;
+ }
+ private static final int H5_HAVE_ARPA_INET_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_ARPA_INET_H 1
+ * }
+ */
+ public static int H5_HAVE_ARPA_INET_H() {
+ return H5_HAVE_ARPA_INET_H;
+ }
+ private static final int H5_HAVE_ASPRINTF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_ASPRINTF 1
+ * }
+ */
+ public static int H5_HAVE_ASPRINTF() {
+ return H5_HAVE_ASPRINTF;
+ }
+ private static final int H5_HAVE_ATTRIBUTE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_ATTRIBUTE 1
+ * }
+ */
+ public static int H5_HAVE_ATTRIBUTE() {
+ return H5_HAVE_ATTRIBUTE;
+ }
+ private static final int H5_HAVE_C99_COMPLEX_NUMBERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_C99_COMPLEX_NUMBERS 1
+ * }
+ */
+ public static int H5_HAVE_C99_COMPLEX_NUMBERS() {
+ return H5_HAVE_C99_COMPLEX_NUMBERS;
+ }
+ private static final int H5_HAVE_CLOCK_GETTIME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_CLOCK_GETTIME 1
+ * }
+ */
+ public static int H5_HAVE_CLOCK_GETTIME() {
+ return H5_HAVE_CLOCK_GETTIME;
+ }
+ private static final int H5_HAVE_COMPLEX_NUMBERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_COMPLEX_NUMBERS 1
+ * }
+ */
+ public static int H5_HAVE_COMPLEX_NUMBERS() {
+ return H5_HAVE_COMPLEX_NUMBERS;
+ }
+ private static final int H5_HAVE_DIRENT_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_DIRENT_H 1
+ * }
+ */
+ public static int H5_HAVE_DIRENT_H() {
+ return H5_HAVE_DIRENT_H;
+ }
+ private static final int H5_HAVE_DLFCN_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_DLFCN_H 1
+ * }
+ */
+ public static int H5_HAVE_DLFCN_H() {
+ return H5_HAVE_DLFCN_H;
+ }
+ private static final int H5_HAVE_EMBEDDED_LIBINFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_EMBEDDED_LIBINFO 1
+ * }
+ */
+ public static int H5_HAVE_EMBEDDED_LIBINFO() {
+ return H5_HAVE_EMBEDDED_LIBINFO;
+ }
+ private static final int H5_HAVE_FCNTL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_FCNTL 1
+ * }
+ */
+ public static int H5_HAVE_FCNTL() {
+ return H5_HAVE_FCNTL;
+ }
+ private static final int H5_HAVE__FLOAT16 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE__FLOAT16 1
+ * }
+ */
+ public static int H5_HAVE__FLOAT16() {
+ return H5_HAVE__FLOAT16;
+ }
+ private static final int H5_HAVE_FLOCK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_FLOCK 1
+ * }
+ */
+ public static int H5_HAVE_FLOCK() {
+ return H5_HAVE_FLOCK;
+ }
+ private static final int H5_HAVE_FORK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_FORK 1
+ * }
+ */
+ public static int H5_HAVE_FORK() {
+ return H5_HAVE_FORK;
+ }
+ private static final int H5_HAVE_GETHOSTNAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_GETHOSTNAME 1
+ * }
+ */
+ public static int H5_HAVE_GETHOSTNAME() {
+ return H5_HAVE_GETHOSTNAME;
+ }
+ private static final int H5_HAVE_GETRUSAGE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_GETRUSAGE 1
+ * }
+ */
+ public static int H5_HAVE_GETRUSAGE() {
+ return H5_HAVE_GETRUSAGE;
+ }
+ private static final int H5_HAVE_GETTIMEOFDAY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_GETTIMEOFDAY 1
+ * }
+ */
+ public static int H5_HAVE_GETTIMEOFDAY() {
+ return H5_HAVE_GETTIMEOFDAY;
+ }
+ private static final int H5_HAVE_IOCTL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_IOCTL 1
+ * }
+ */
+ public static int H5_HAVE_IOCTL() {
+ return H5_HAVE_IOCTL;
+ }
+ private static final int H5_HAVE_LIBDL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_LIBDL 1
+ * }
+ */
+ public static int H5_HAVE_LIBDL() {
+ return H5_HAVE_LIBDL;
+ }
+ private static final int H5_HAVE_LIBM = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_LIBM 1
+ * }
+ */
+ public static int H5_HAVE_LIBM() {
+ return H5_HAVE_LIBM;
+ }
+ private static final int H5_HAVE_NETDB_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_NETDB_H 1
+ * }
+ */
+ public static int H5_HAVE_NETDB_H() {
+ return H5_HAVE_NETDB_H;
+ }
+ private static final int H5_HAVE_NETINET_IN_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_NETINET_IN_H 1
+ * }
+ */
+ public static int H5_HAVE_NETINET_IN_H() {
+ return H5_HAVE_NETINET_IN_H;
+ }
+ private static final int H5_HAVE_PREADWRITE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_PREADWRITE 1
+ * }
+ */
+ public static int H5_HAVE_PREADWRITE() {
+ return H5_HAVE_PREADWRITE;
+ }
+ private static final int H5_HAVE_PTHREAD_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_PTHREAD_H 1
+ * }
+ */
+ public static int H5_HAVE_PTHREAD_H() {
+ return H5_HAVE_PTHREAD_H;
+ }
+ private static final int H5_HAVE_PWD_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_PWD_H 1
+ * }
+ */
+ public static int H5_HAVE_PWD_H() {
+ return H5_HAVE_PWD_H;
+ }
+ private static final int H5_HAVE_ROS3_VFD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_ROS3_VFD 1
+ * }
+ */
+ public static int H5_HAVE_ROS3_VFD() {
+ return H5_HAVE_ROS3_VFD;
+ }
+ private static final int H5_HAVE_STAT_ST_BLOCKS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_STAT_ST_BLOCKS 1
+ * }
+ */
+ public static int H5_HAVE_STAT_ST_BLOCKS() {
+ return H5_HAVE_STAT_ST_BLOCKS;
+ }
+ private static final int H5_HAVE_STRCASESTR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_STRCASESTR 1
+ * }
+ */
+ public static int H5_HAVE_STRCASESTR() {
+ return H5_HAVE_STRCASESTR;
+ }
+ private static final int H5_HAVE_STRDUP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_STRDUP 1
+ * }
+ */
+ public static int H5_HAVE_STRDUP() {
+ return H5_HAVE_STRDUP;
+ }
+ private static final int H5_HAVE_STDATOMIC_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_STDATOMIC_H 1
+ * }
+ */
+ public static int H5_HAVE_STDATOMIC_H() {
+ return H5_HAVE_STDATOMIC_H;
+ }
+ private static final int H5_HAVE_SYMLINK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYMLINK 1
+ * }
+ */
+ public static int H5_HAVE_SYMLINK() {
+ return H5_HAVE_SYMLINK;
+ }
+ private static final int H5_HAVE_SYS_FILE_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_FILE_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_FILE_H() {
+ return H5_HAVE_SYS_FILE_H;
+ }
+ private static final int H5_HAVE_SYS_IOCTL_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_IOCTL_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_IOCTL_H() {
+ return H5_HAVE_SYS_IOCTL_H;
+ }
+ private static final int H5_HAVE_SYS_RESOURCE_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_RESOURCE_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_RESOURCE_H() {
+ return H5_HAVE_SYS_RESOURCE_H;
+ }
+ private static final int H5_HAVE_SYS_SOCKET_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_SOCKET_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_SOCKET_H() {
+ return H5_HAVE_SYS_SOCKET_H;
+ }
+ private static final int H5_HAVE_SYS_STAT_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_STAT_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_STAT_H() {
+ return H5_HAVE_SYS_STAT_H;
+ }
+ private static final int H5_HAVE_SYS_TIME_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_TIME_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_TIME_H() {
+ return H5_HAVE_SYS_TIME_H;
+ }
+ private static final int H5_HAVE_THREADS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_THREADS 1
+ * }
+ */
+ public static int H5_HAVE_THREADS() {
+ return H5_HAVE_THREADS;
+ }
+ private static final int H5_HAVE_TIMEZONE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TIMEZONE 1
+ * }
+ */
+ public static int H5_HAVE_TIMEZONE() {
+ return H5_HAVE_TIMEZONE;
+ }
+ private static final int H5_HAVE_TIOCGETD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TIOCGETD 1
+ * }
+ */
+ public static int H5_HAVE_TIOCGETD() {
+ return H5_HAVE_TIOCGETD;
+ }
+ private static final int H5_HAVE_TIOCGWINSZ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TIOCGWINSZ 1
+ * }
+ */
+ public static int H5_HAVE_TIOCGWINSZ() {
+ return H5_HAVE_TIOCGWINSZ;
+ }
+ private static final int H5_HAVE_TMPFILE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TMPFILE 1
+ * }
+ */
+ public static int H5_HAVE_TMPFILE() {
+ return H5_HAVE_TMPFILE;
+ }
+ private static final int H5_HAVE_TM_GMTOFF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TM_GMTOFF 1
+ * }
+ */
+ public static int H5_HAVE_TM_GMTOFF() {
+ return H5_HAVE_TM_GMTOFF;
+ }
+ private static final int H5_HAVE_UNISTD_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_UNISTD_H 1
+ * }
+ */
+ public static int H5_HAVE_UNISTD_H() {
+ return H5_HAVE_UNISTD_H;
+ }
+ private static final int H5_HAVE_VASPRINTF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_VASPRINTF 1
+ * }
+ */
+ public static int H5_HAVE_VASPRINTF() {
+ return H5_HAVE_VASPRINTF;
+ }
+ private static final int H5_HAVE_WAITPID = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_WAITPID 1
+ * }
+ */
+ public static int H5_HAVE_WAITPID() {
+ return H5_HAVE_WAITPID;
+ }
+ private static final int H5_IGNORE_DISABLED_FILE_LOCKS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_IGNORE_DISABLED_FILE_LOCKS 1
+ * }
+ */
+ public static int H5_IGNORE_DISABLED_FILE_LOCKS() {
+ return H5_IGNORE_DISABLED_FILE_LOCKS;
+ }
+ private static final int H5_INCLUDE_HL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_INCLUDE_HL 1
+ * }
+ */
+ public static int H5_INCLUDE_HL() {
+ return H5_INCLUDE_HL;
+ }
+ private static final int H5_LDOUBLE_TO_FLOAT16_CORRECT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_LDOUBLE_TO_FLOAT16_CORRECT 1
+ * }
+ */
+ public static int H5_LDOUBLE_TO_FLOAT16_CORRECT() {
+ return H5_LDOUBLE_TO_FLOAT16_CORRECT;
+ }
+ private static final int H5_LDOUBLE_TO_LLONG_ACCURATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_LDOUBLE_TO_LLONG_ACCURATE 1
+ * }
+ */
+ public static int H5_LDOUBLE_TO_LLONG_ACCURATE() {
+ return H5_LDOUBLE_TO_LLONG_ACCURATE;
+ }
+ private static final int H5_LLONG_TO_LDOUBLE_CORRECT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_LLONG_TO_LDOUBLE_CORRECT 1
+ * }
+ */
+ public static int H5_LLONG_TO_LDOUBLE_CORRECT() {
+ return H5_LLONG_TO_LDOUBLE_CORRECT;
+ }
+ private static final int H5_SIZEOF_BOOL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_BOOL 1
+ * }
+ */
+ public static int H5_SIZEOF_BOOL() {
+ return H5_SIZEOF_BOOL;
+ }
+ private static final int H5_SIZEOF_CHAR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_CHAR 1
+ * }
+ */
+ public static int H5_SIZEOF_CHAR() {
+ return H5_SIZEOF_CHAR;
+ }
+ private static final int H5_SIZEOF_DOUBLE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_DOUBLE 8
+ * }
+ */
+ public static int H5_SIZEOF_DOUBLE() {
+ return H5_SIZEOF_DOUBLE;
+ }
+ private static final int H5_SIZEOF_DOUBLE_COMPLEX = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_DOUBLE_COMPLEX 16
+ * }
+ */
+ public static int H5_SIZEOF_DOUBLE_COMPLEX() {
+ return H5_SIZEOF_DOUBLE_COMPLEX;
+ }
+ private static final int H5_SIZEOF_FLOAT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_FLOAT 4
+ * }
+ */
+ public static int H5_SIZEOF_FLOAT() {
+ return H5_SIZEOF_FLOAT;
+ }
+ private static final int H5_SIZEOF_FLOAT_COMPLEX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_FLOAT_COMPLEX 8
+ * }
+ */
+ public static int H5_SIZEOF_FLOAT_COMPLEX() {
+ return H5_SIZEOF_FLOAT_COMPLEX;
+ }
+ private static final int H5_SIZEOF_INT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT 4
+ * }
+ */
+ public static int H5_SIZEOF_INT() {
+ return H5_SIZEOF_INT;
+ }
+ private static final int H5_SIZEOF_INT16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_INT16_T() {
+ return H5_SIZEOF_INT16_T;
+ }
+ private static final int H5_SIZEOF_INT32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_INT32_T() {
+ return H5_SIZEOF_INT32_T;
+ }
+ private static final int H5_SIZEOF_INT64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT64_T() {
+ return H5_SIZEOF_INT64_T;
+ }
+ private static final int H5_SIZEOF_INT8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_INT8_T() {
+ return H5_SIZEOF_INT8_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST16_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST16_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST16_T() {
+ return H5_SIZEOF_INT_FAST16_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST32_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST32_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST32_T() {
+ return H5_SIZEOF_INT_FAST32_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST64_T() {
+ return H5_SIZEOF_INT_FAST64_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST8_T() {
+ return H5_SIZEOF_INT_FAST8_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST16_T() {
+ return H5_SIZEOF_INT_LEAST16_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST32_T() {
+ return H5_SIZEOF_INT_LEAST32_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST64_T() {
+ return H5_SIZEOF_INT_LEAST64_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST8_T() {
+ return H5_SIZEOF_INT_LEAST8_T;
+ }
+ private static final int H5_SIZEOF_SIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_SIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_SIZE_T() {
+ return H5_SIZEOF_SIZE_T;
+ }
+ private static final int H5_SIZEOF_SSIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_SSIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_SSIZE_T() {
+ return H5_SIZEOF_SSIZE_T;
+ }
+ private static final int H5_SIZEOF_LONG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG 8
+ * }
+ */
+ public static int H5_SIZEOF_LONG() {
+ return H5_SIZEOF_LONG;
+ }
+ private static final int H5_SIZEOF_LONG_DOUBLE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG_DOUBLE 16
+ * }
+ */
+ public static int H5_SIZEOF_LONG_DOUBLE() {
+ return H5_SIZEOF_LONG_DOUBLE;
+ }
+ private static final int H5_SIZEOF_LONG_DOUBLE_COMPLEX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG_DOUBLE_COMPLEX 32
+ * }
+ */
+ public static int H5_SIZEOF_LONG_DOUBLE_COMPLEX() {
+ return H5_SIZEOF_LONG_DOUBLE_COMPLEX;
+ }
+ private static final int H5_SIZEOF_LONG_LONG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG_LONG 8
+ * }
+ */
+ public static int H5_SIZEOF_LONG_LONG() {
+ return H5_SIZEOF_LONG_LONG;
+ }
+ private static final int H5_SIZEOF_OFF_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_OFF_T 8
+ * }
+ */
+ public static int H5_SIZEOF_OFF_T() {
+ return H5_SIZEOF_OFF_T;
+ }
+ private static final int H5_SIZEOF_PTRDIFF_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_PTRDIFF_T 8
+ * }
+ */
+ public static int H5_SIZEOF_PTRDIFF_T() {
+ return H5_SIZEOF_PTRDIFF_T;
+ }
+ private static final int H5_SIZEOF_SHORT = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_SHORT 2
+ * }
+ */
+ public static int H5_SIZEOF_SHORT() {
+ return H5_SIZEOF_SHORT;
+ }
+ private static final int H5_SIZEOF_TIME_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_TIME_T 8
+ * }
+ */
+ public static int H5_SIZEOF_TIME_T() {
+ return H5_SIZEOF_TIME_T;
+ }
+ private static final int H5_SIZEOF_UINT16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_UINT16_T() {
+ return H5_SIZEOF_UINT16_T;
+ }
+ private static final int H5_SIZEOF_UINT32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_UINT32_T() {
+ return H5_SIZEOF_UINT32_T;
+ }
+ private static final int H5_SIZEOF_UINT64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT64_T() {
+ return H5_SIZEOF_UINT64_T;
+ }
+ private static final int H5_SIZEOF_UINT8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_UINT8_T() {
+ return H5_SIZEOF_UINT8_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST16_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST16_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST16_T() {
+ return H5_SIZEOF_UINT_FAST16_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST32_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST32_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST32_T() {
+ return H5_SIZEOF_UINT_FAST32_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST64_T() {
+ return H5_SIZEOF_UINT_FAST64_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST8_T() {
+ return H5_SIZEOF_UINT_FAST8_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST16_T() {
+ return H5_SIZEOF_UINT_LEAST16_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST32_T() {
+ return H5_SIZEOF_UINT_LEAST32_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST64_T() {
+ return H5_SIZEOF_UINT_LEAST64_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST8_T() {
+ return H5_SIZEOF_UINT_LEAST8_T;
+ }
+ private static final int H5_SIZEOF_UNSIGNED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UNSIGNED 4
+ * }
+ */
+ public static int H5_SIZEOF_UNSIGNED() {
+ return H5_SIZEOF_UNSIGNED;
+ }
+ private static final int H5_SIZEOF__FLOAT16 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF__FLOAT16 2
+ * }
+ */
+ public static int H5_SIZEOF__FLOAT16() {
+ return H5_SIZEOF__FLOAT16;
+ }
+ private static final int H5_USE_FILE_LOCKING = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_USE_FILE_LOCKING 1
+ * }
+ */
+ public static int H5_USE_FILE_LOCKING() {
+ return H5_USE_FILE_LOCKING;
+ }
+ private static final int H5_WANT_DATA_ACCURACY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_WANT_DATA_ACCURACY 1
+ * }
+ */
+ public static int H5_WANT_DATA_ACCURACY() {
+ return H5_WANT_DATA_ACCURACY;
+ }
+ private static final int H5_WANT_DCONV_EXCEPTION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_WANT_DCONV_EXCEPTION 1
+ * }
+ */
+ public static int H5_WANT_DCONV_EXCEPTION() {
+ return H5_WANT_DCONV_EXCEPTION;
+ }
+ private static final int H5Acreate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Acreate_vers 2
+ * }
+ */
+ public static int H5Acreate_vers() {
+ return H5Acreate_vers;
+ }
+ private static final int H5Aiterate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Aiterate_vers 2
+ * }
+ */
+ public static int H5Aiterate_vers() {
+ return H5Aiterate_vers;
+ }
+ private static final int H5Dcreate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Dcreate_vers 2
+ * }
+ */
+ public static int H5Dcreate_vers() {
+ return H5Dcreate_vers;
+ }
+ private static final int H5Dopen_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Dopen_vers 2
+ * }
+ */
+ public static int H5Dopen_vers() {
+ return H5Dopen_vers;
+ }
+ private static final int H5Dread_chunk_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Dread_chunk_vers 2
+ * }
+ */
+ public static int H5Dread_chunk_vers() {
+ return H5Dread_chunk_vers;
+ }
+ private static final int H5Eclear_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eclear_vers 2
+ * }
+ */
+ public static int H5Eclear_vers() {
+ return H5Eclear_vers;
+ }
+ private static final int H5Eget_auto_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eget_auto_vers 2
+ * }
+ */
+ public static int H5Eget_auto_vers() {
+ return H5Eget_auto_vers;
+ }
+ private static final int H5Eprint_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eprint_vers 2
+ * }
+ */
+ public static int H5Eprint_vers() {
+ return H5Eprint_vers;
+ }
+ private static final int H5Epush_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Epush_vers 2
+ * }
+ */
+ public static int H5Epush_vers() {
+ return H5Epush_vers;
+ }
+ private static final int H5Eset_auto_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eset_auto_vers 2
+ * }
+ */
+ public static int H5Eset_auto_vers() {
+ return H5Eset_auto_vers;
+ }
+ private static final int H5Ewalk_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Ewalk_vers 2
+ * }
+ */
+ public static int H5Ewalk_vers() {
+ return H5Ewalk_vers;
+ }
+ private static final int H5Fget_info_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Fget_info_vers 2
+ * }
+ */
+ public static int H5Fget_info_vers() {
+ return H5Fget_info_vers;
+ }
+ private static final int H5Gcreate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Gcreate_vers 2
+ * }
+ */
+ public static int H5Gcreate_vers() {
+ return H5Gcreate_vers;
+ }
+ private static final int H5Gopen_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Gopen_vers 2
+ * }
+ */
+ public static int H5Gopen_vers() {
+ return H5Gopen_vers;
+ }
+ private static final int H5Iregister_type_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Iregister_type_vers 2
+ * }
+ */
+ public static int H5Iregister_type_vers() {
+ return H5Iregister_type_vers;
+ }
+ private static final int H5Lget_info_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lget_info_vers 2
+ * }
+ */
+ public static int H5Lget_info_vers() {
+ return H5Lget_info_vers;
+ }
+ private static final int H5Lget_info_by_idx_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lget_info_by_idx_vers 2
+ * }
+ */
+ public static int H5Lget_info_by_idx_vers() {
+ return H5Lget_info_by_idx_vers;
+ }
+ private static final int H5Literate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Literate_vers 2
+ * }
+ */
+ public static int H5Literate_vers() {
+ return H5Literate_vers;
+ }
+ private static final int H5Literate_by_name_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Literate_by_name_vers 2
+ * }
+ */
+ public static int H5Literate_by_name_vers() {
+ return H5Literate_by_name_vers;
+ }
+ private static final int H5Lvisit_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lvisit_vers 2
+ * }
+ */
+ public static int H5Lvisit_vers() {
+ return H5Lvisit_vers;
+ }
+ private static final int H5Lvisit_by_name_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lvisit_by_name_vers 2
+ * }
+ */
+ public static int H5Lvisit_by_name_vers() {
+ return H5Lvisit_by_name_vers;
+ }
+ private static final int H5Oget_info_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Oget_info_vers 3
+ * }
+ */
+ public static int H5Oget_info_vers() {
+ return H5Oget_info_vers;
+ }
+ private static final int H5Oget_info_by_idx_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Oget_info_by_idx_vers 3
+ * }
+ */
+ public static int H5Oget_info_by_idx_vers() {
+ return H5Oget_info_by_idx_vers;
+ }
+ private static final int H5Oget_info_by_name_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Oget_info_by_name_vers 3
+ * }
+ */
+ public static int H5Oget_info_by_name_vers() {
+ return H5Oget_info_by_name_vers;
+ }
+ private static final int H5Ovisit_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Ovisit_vers 3
+ * }
+ */
+ public static int H5Ovisit_vers() {
+ return H5Ovisit_vers;
+ }
+ private static final int H5Ovisit_by_name_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Ovisit_by_name_vers 3
+ * }
+ */
+ public static int H5Ovisit_by_name_vers() {
+ return H5Ovisit_by_name_vers;
+ }
+ private static final int H5Pencode_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pencode_vers 2
+ * }
+ */
+ public static int H5Pencode_vers() {
+ return H5Pencode_vers;
+ }
+ private static final int H5Pget_filter_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pget_filter_vers 2
+ * }
+ */
+ public static int H5Pget_filter_vers() {
+ return H5Pget_filter_vers;
+ }
+ private static final int H5Pget_filter_by_id_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pget_filter_by_id_vers 2
+ * }
+ */
+ public static int H5Pget_filter_by_id_vers() {
+ return H5Pget_filter_by_id_vers;
+ }
+ private static final int H5Pinsert_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pinsert_vers 2
+ * }
+ */
+ public static int H5Pinsert_vers() {
+ return H5Pinsert_vers;
+ }
+ private static final int H5Pregister_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pregister_vers 2
+ * }
+ */
+ public static int H5Pregister_vers() {
+ return H5Pregister_vers;
+ }
+ private static final int H5Rdereference_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Rdereference_vers 2
+ * }
+ */
+ public static int H5Rdereference_vers() {
+ return H5Rdereference_vers;
+ }
+ private static final int H5Rget_obj_type_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Rget_obj_type_vers 2
+ * }
+ */
+ public static int H5Rget_obj_type_vers() {
+ return H5Rget_obj_type_vers;
+ }
+ private static final int H5Sencode_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Sencode_vers 2
+ * }
+ */
+ public static int H5Sencode_vers() {
+ return H5Sencode_vers;
+ }
+ private static final int H5Tarray_create_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tarray_create_vers 2
+ * }
+ */
+ public static int H5Tarray_create_vers() {
+ return H5Tarray_create_vers;
+ }
+ private static final int H5Tcommit_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tcommit_vers 2
+ * }
+ */
+ public static int H5Tcommit_vers() {
+ return H5Tcommit_vers;
+ }
+ private static final int H5Tdecode_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tdecode_vers 2
+ * }
+ */
+ public static int H5Tdecode_vers() {
+ return H5Tdecode_vers;
+ }
+ private static final int H5Tget_array_dims_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tget_array_dims_vers 2
+ * }
+ */
+ public static int H5Tget_array_dims_vers() {
+ return H5Tget_array_dims_vers;
+ }
+ private static final int H5Topen_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Topen_vers 2
+ * }
+ */
+ public static int H5Topen_vers() {
+ return H5Topen_vers;
+ }
+ private static final int H5E_auto_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5E_auto_t_vers 2
+ * }
+ */
+ public static int H5E_auto_t_vers() {
+ return H5E_auto_t_vers;
+ }
+ private static final int H5O_info_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_info_t_vers 2
+ * }
+ */
+ public static int H5O_info_t_vers() {
+ return H5O_info_t_vers;
+ }
+ private static final int H5O_iterate_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_iterate_t_vers 2
+ * }
+ */
+ public static int H5O_iterate_t_vers() {
+ return H5O_iterate_t_vers;
+ }
+ private static final int H5Z_class_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_class_t_vers 2
+ * }
+ */
+ public static int H5Z_class_t_vers() {
+ return H5Z_class_t_vers;
+ }
+ private static final int _INTTYPES_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _INTTYPES_H 1
+ * }
+ */
+ public static int _INTTYPES_H() {
+ return _INTTYPES_H;
+ }
+ private static final int _FEATURES_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _FEATURES_H 1
+ * }
+ */
+ public static int _FEATURES_H() {
+ return _FEATURES_H;
+ }
+ private static final int _DEFAULT_SOURCE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _DEFAULT_SOURCE 1
+ * }
+ */
+ public static int _DEFAULT_SOURCE() {
+ return _DEFAULT_SOURCE;
+ }
+ private static final int __GLIBC_USE_ISOC2X = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_ISOC2X 0
+ * }
+ */
+ public static int __GLIBC_USE_ISOC2X() {
+ return __GLIBC_USE_ISOC2X;
+ }
+ private static final int __USE_ISOC11 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_ISOC11 1
+ * }
+ */
+ public static int __USE_ISOC11() {
+ return __USE_ISOC11;
+ }
+ private static final int __USE_ISOC99 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_ISOC99 1
+ * }
+ */
+ public static int __USE_ISOC99() {
+ return __USE_ISOC99;
+ }
+ private static final int __USE_ISOC95 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_ISOC95 1
+ * }
+ */
+ public static int __USE_ISOC95() {
+ return __USE_ISOC95;
+ }
+ private static final int __USE_POSIX_IMPLICITLY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_POSIX_IMPLICITLY 1
+ * }
+ */
+ public static int __USE_POSIX_IMPLICITLY() {
+ return __USE_POSIX_IMPLICITLY;
+ }
+ private static final int _POSIX_SOURCE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SOURCE 1
+ * }
+ */
+ public static int _POSIX_SOURCE() {
+ return _POSIX_SOURCE;
+ }
+ private static final int __USE_POSIX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_POSIX 1
+ * }
+ */
+ public static int __USE_POSIX() {
+ return __USE_POSIX;
+ }
+ private static final int __USE_POSIX2 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_POSIX2 1
+ * }
+ */
+ public static int __USE_POSIX2() {
+ return __USE_POSIX2;
+ }
+ private static final int __USE_POSIX199309 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_POSIX199309 1
+ * }
+ */
+ public static int __USE_POSIX199309() {
+ return __USE_POSIX199309;
+ }
+ private static final int __USE_POSIX199506 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_POSIX199506 1
+ * }
+ */
+ public static int __USE_POSIX199506() {
+ return __USE_POSIX199506;
+ }
+ private static final int __USE_XOPEN2K = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_XOPEN2K 1
+ * }
+ */
+ public static int __USE_XOPEN2K() {
+ return __USE_XOPEN2K;
+ }
+ private static final int __USE_XOPEN2K8 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_XOPEN2K8 1
+ * }
+ */
+ public static int __USE_XOPEN2K8() {
+ return __USE_XOPEN2K8;
+ }
+ private static final int _ATFILE_SOURCE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _ATFILE_SOURCE 1
+ * }
+ */
+ public static int _ATFILE_SOURCE() {
+ return _ATFILE_SOURCE;
+ }
+ private static final int __WORDSIZE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define __WORDSIZE 64
+ * }
+ */
+ public static int __WORDSIZE() {
+ return __WORDSIZE;
+ }
+ private static final int __WORDSIZE_TIME64_COMPAT32 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __WORDSIZE_TIME64_COMPAT32 1
+ * }
+ */
+ public static int __WORDSIZE_TIME64_COMPAT32() {
+ return __WORDSIZE_TIME64_COMPAT32;
+ }
+ private static final int __SYSCALL_WORDSIZE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define __SYSCALL_WORDSIZE 64
+ * }
+ */
+ public static int __SYSCALL_WORDSIZE() {
+ return __SYSCALL_WORDSIZE;
+ }
+ private static final int __USE_MISC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_MISC 1
+ * }
+ */
+ public static int __USE_MISC() {
+ return __USE_MISC;
+ }
+ private static final int __USE_ATFILE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_ATFILE 1
+ * }
+ */
+ public static int __USE_ATFILE() {
+ return __USE_ATFILE;
+ }
+ private static final int __USE_FORTIFY_LEVEL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __USE_FORTIFY_LEVEL 0
+ * }
+ */
+ public static int __USE_FORTIFY_LEVEL() {
+ return __USE_FORTIFY_LEVEL;
+ }
+ private static final int __GLIBC_USE_DEPRECATED_GETS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_DEPRECATED_GETS 0
+ * }
+ */
+ public static int __GLIBC_USE_DEPRECATED_GETS() {
+ return __GLIBC_USE_DEPRECATED_GETS;
+ }
+ private static final int __GLIBC_USE_DEPRECATED_SCANF = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_DEPRECATED_SCANF 0
+ * }
+ */
+ public static int __GLIBC_USE_DEPRECATED_SCANF() {
+ return __GLIBC_USE_DEPRECATED_SCANF;
+ }
+ private static final int __GLIBC_USE_C2X_STRTOL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_C2X_STRTOL 0
+ * }
+ */
+ public static int __GLIBC_USE_C2X_STRTOL() {
+ return __GLIBC_USE_C2X_STRTOL;
+ }
+ private static final int _STDC_PREDEF_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _STDC_PREDEF_H 1
+ * }
+ */
+ public static int _STDC_PREDEF_H() {
+ return _STDC_PREDEF_H;
+ }
+ private static final int __STDC_IEC_559__ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __STDC_IEC_559__ 1
+ * }
+ */
+ public static int __STDC_IEC_559__() {
+ return __STDC_IEC_559__;
+ }
+ private static final int __STDC_IEC_559_COMPLEX__ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __STDC_IEC_559_COMPLEX__ 1
+ * }
+ */
+ public static int __STDC_IEC_559_COMPLEX__() {
+ return __STDC_IEC_559_COMPLEX__;
+ }
+ private static final int __GNU_LIBRARY__ = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define __GNU_LIBRARY__ 6
+ * }
+ */
+ public static int __GNU_LIBRARY__() {
+ return __GNU_LIBRARY__;
+ }
+ private static final int __GLIBC__ = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC__ 2
+ * }
+ */
+ public static int __GLIBC__() {
+ return __GLIBC__;
+ }
+ private static final int __GLIBC_MINOR__ = (int)39L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_MINOR__ 39
+ * }
+ */
+ public static int __GLIBC_MINOR__() {
+ return __GLIBC_MINOR__;
+ }
+ private static final int _SYS_CDEFS_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _SYS_CDEFS_H 1
+ * }
+ */
+ public static int _SYS_CDEFS_H() {
+ return _SYS_CDEFS_H;
+ }
+ private static final int __glibc_c99_flexarr_available = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __glibc_c99_flexarr_available 1
+ * }
+ */
+ public static int __glibc_c99_flexarr_available() {
+ return __glibc_c99_flexarr_available;
+ }
+ private static final int __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI 0
+ * }
+ */
+ public static int __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI() {
+ return __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI;
+ }
+ private static final int __HAVE_GENERIC_SELECTION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_GENERIC_SELECTION 1
+ * }
+ */
+ public static int __HAVE_GENERIC_SELECTION() {
+ return __HAVE_GENERIC_SELECTION;
+ }
+ private static final int _STDINT_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _STDINT_H 1
+ * }
+ */
+ public static int _STDINT_H() {
+ return _STDINT_H;
+ }
+ private static final int __GLIBC_USE_LIB_EXT2 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_LIB_EXT2 0
+ * }
+ */
+ public static int __GLIBC_USE_LIB_EXT2() {
+ return __GLIBC_USE_LIB_EXT2;
+ }
+ private static final int __GLIBC_USE_IEC_60559_BFP_EXT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_IEC_60559_BFP_EXT 0
+ * }
+ */
+ public static int __GLIBC_USE_IEC_60559_BFP_EXT() {
+ return __GLIBC_USE_IEC_60559_BFP_EXT;
+ }
+ private static final int __GLIBC_USE_IEC_60559_BFP_EXT_C2X = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_IEC_60559_BFP_EXT_C2X 0
+ * }
+ */
+ public static int __GLIBC_USE_IEC_60559_BFP_EXT_C2X() {
+ return __GLIBC_USE_IEC_60559_BFP_EXT_C2X;
+ }
+ private static final int __GLIBC_USE_IEC_60559_EXT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_IEC_60559_EXT 0
+ * }
+ */
+ public static int __GLIBC_USE_IEC_60559_EXT() {
+ return __GLIBC_USE_IEC_60559_EXT;
+ }
+ private static final int __GLIBC_USE_IEC_60559_FUNCS_EXT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_IEC_60559_FUNCS_EXT 0
+ * }
+ */
+ public static int __GLIBC_USE_IEC_60559_FUNCS_EXT() {
+ return __GLIBC_USE_IEC_60559_FUNCS_EXT;
+ }
+ private static final int __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X 0
+ * }
+ */
+ public static int __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X() {
+ return __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X;
+ }
+ private static final int __GLIBC_USE_IEC_60559_TYPES_EXT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __GLIBC_USE_IEC_60559_TYPES_EXT 0
+ * }
+ */
+ public static int __GLIBC_USE_IEC_60559_TYPES_EXT() {
+ return __GLIBC_USE_IEC_60559_TYPES_EXT;
+ }
+ private static final int _BITS_TYPES_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_TYPES_H 1
+ * }
+ */
+ public static int _BITS_TYPES_H() {
+ return _BITS_TYPES_H;
+ }
+ private static final int _BITS_TYPESIZES_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_TYPESIZES_H 1
+ * }
+ */
+ public static int _BITS_TYPESIZES_H() {
+ return _BITS_TYPESIZES_H;
+ }
+ private static final int __OFF_T_MATCHES_OFF64_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __OFF_T_MATCHES_OFF64_T 1
+ * }
+ */
+ public static int __OFF_T_MATCHES_OFF64_T() {
+ return __OFF_T_MATCHES_OFF64_T;
+ }
+ private static final int __INO_T_MATCHES_INO64_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __INO_T_MATCHES_INO64_T 1
+ * }
+ */
+ public static int __INO_T_MATCHES_INO64_T() {
+ return __INO_T_MATCHES_INO64_T;
+ }
+ private static final int __RLIM_T_MATCHES_RLIM64_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __RLIM_T_MATCHES_RLIM64_T 1
+ * }
+ */
+ public static int __RLIM_T_MATCHES_RLIM64_T() {
+ return __RLIM_T_MATCHES_RLIM64_T;
+ }
+ private static final int __STATFS_MATCHES_STATFS64 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __STATFS_MATCHES_STATFS64 1
+ * }
+ */
+ public static int __STATFS_MATCHES_STATFS64() {
+ return __STATFS_MATCHES_STATFS64;
+ }
+ private static final int __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 1
+ * }
+ */
+ public static int __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64() {
+ return __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64;
+ }
+ private static final int __FD_SETSIZE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define __FD_SETSIZE 1024
+ * }
+ */
+ public static int __FD_SETSIZE() {
+ return __FD_SETSIZE;
+ }
+ private static final int _BITS_TIME64_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_TIME64_H 1
+ * }
+ */
+ public static int _BITS_TIME64_H() {
+ return _BITS_TIME64_H;
+ }
+ private static final int _BITS_WCHAR_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_WCHAR_H 1
+ * }
+ */
+ public static int _BITS_WCHAR_H() {
+ return _BITS_WCHAR_H;
+ }
+ private static final int _BITS_STDINT_INTN_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_STDINT_INTN_H 1
+ * }
+ */
+ public static int _BITS_STDINT_INTN_H() {
+ return _BITS_STDINT_INTN_H;
+ }
+ private static final int _BITS_STDINT_UINTN_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_STDINT_UINTN_H 1
+ * }
+ */
+ public static int _BITS_STDINT_UINTN_H() {
+ return _BITS_STDINT_UINTN_H;
+ }
+ private static final int _BITS_STDINT_LEAST_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_STDINT_LEAST_H 1
+ * }
+ */
+ public static int _BITS_STDINT_LEAST_H() {
+ return _BITS_STDINT_LEAST_H;
+ }
+ private static final int ____gwchar_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define ____gwchar_t_defined 1
+ * }
+ */
+ public static int ____gwchar_t_defined() {
+ return ____gwchar_t_defined;
+ }
+ private static final int _LIBC_LIMITS_H_ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _LIBC_LIMITS_H_ 1
+ * }
+ */
+ public static int _LIBC_LIMITS_H_() {
+ return _LIBC_LIMITS_H_;
+ }
+ private static final int MB_LEN_MAX = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define MB_LEN_MAX 16
+ * }
+ */
+ public static int MB_LEN_MAX() {
+ return MB_LEN_MAX;
+ }
+ private static final int _BITS_POSIX1_LIM_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_POSIX1_LIM_H 1
+ * }
+ */
+ public static int _BITS_POSIX1_LIM_H() {
+ return _BITS_POSIX1_LIM_H;
+ }
+ private static final int _POSIX_AIO_LISTIO_MAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_AIO_LISTIO_MAX 2
+ * }
+ */
+ public static int _POSIX_AIO_LISTIO_MAX() {
+ return _POSIX_AIO_LISTIO_MAX;
+ }
+ private static final int _POSIX_AIO_MAX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_AIO_MAX 1
+ * }
+ */
+ public static int _POSIX_AIO_MAX() {
+ return _POSIX_AIO_MAX;
+ }
+ private static final int _POSIX_ARG_MAX = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_ARG_MAX 4096
+ * }
+ */
+ public static int _POSIX_ARG_MAX() {
+ return _POSIX_ARG_MAX;
+ }
+ private static final int _POSIX_CHILD_MAX = (int)25L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_CHILD_MAX 25
+ * }
+ */
+ public static int _POSIX_CHILD_MAX() {
+ return _POSIX_CHILD_MAX;
+ }
+ private static final int _POSIX_DELAYTIMER_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_DELAYTIMER_MAX 32
+ * }
+ */
+ public static int _POSIX_DELAYTIMER_MAX() {
+ return _POSIX_DELAYTIMER_MAX;
+ }
+ private static final int _POSIX_HOST_NAME_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_HOST_NAME_MAX 255
+ * }
+ */
+ public static int _POSIX_HOST_NAME_MAX() {
+ return _POSIX_HOST_NAME_MAX;
+ }
+ private static final int _POSIX_LINK_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_LINK_MAX 8
+ * }
+ */
+ public static int _POSIX_LINK_MAX() {
+ return _POSIX_LINK_MAX;
+ }
+ private static final int _POSIX_LOGIN_NAME_MAX = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_LOGIN_NAME_MAX 9
+ * }
+ */
+ public static int _POSIX_LOGIN_NAME_MAX() {
+ return _POSIX_LOGIN_NAME_MAX;
+ }
+ private static final int _POSIX_MAX_CANON = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_MAX_CANON 255
+ * }
+ */
+ public static int _POSIX_MAX_CANON() {
+ return _POSIX_MAX_CANON;
+ }
+ private static final int _POSIX_MAX_INPUT = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_MAX_INPUT 255
+ * }
+ */
+ public static int _POSIX_MAX_INPUT() {
+ return _POSIX_MAX_INPUT;
+ }
+ private static final int _POSIX_MQ_OPEN_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_MQ_OPEN_MAX 8
+ * }
+ */
+ public static int _POSIX_MQ_OPEN_MAX() {
+ return _POSIX_MQ_OPEN_MAX;
+ }
+ private static final int _POSIX_MQ_PRIO_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_MQ_PRIO_MAX 32
+ * }
+ */
+ public static int _POSIX_MQ_PRIO_MAX() {
+ return _POSIX_MQ_PRIO_MAX;
+ }
+ private static final int _POSIX_NAME_MAX = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_NAME_MAX 14
+ * }
+ */
+ public static int _POSIX_NAME_MAX() {
+ return _POSIX_NAME_MAX;
+ }
+ private static final int _POSIX_NGROUPS_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_NGROUPS_MAX 8
+ * }
+ */
+ public static int _POSIX_NGROUPS_MAX() {
+ return _POSIX_NGROUPS_MAX;
+ }
+ private static final int _POSIX_OPEN_MAX = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_OPEN_MAX 20
+ * }
+ */
+ public static int _POSIX_OPEN_MAX() {
+ return _POSIX_OPEN_MAX;
+ }
+ private static final int _POSIX_PATH_MAX = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_PATH_MAX 256
+ * }
+ */
+ public static int _POSIX_PATH_MAX() {
+ return _POSIX_PATH_MAX;
+ }
+ private static final int _POSIX_PIPE_BUF = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_PIPE_BUF 512
+ * }
+ */
+ public static int _POSIX_PIPE_BUF() {
+ return _POSIX_PIPE_BUF;
+ }
+ private static final int _POSIX_RE_DUP_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_RE_DUP_MAX 255
+ * }
+ */
+ public static int _POSIX_RE_DUP_MAX() {
+ return _POSIX_RE_DUP_MAX;
+ }
+ private static final int _POSIX_RTSIG_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_RTSIG_MAX 8
+ * }
+ */
+ public static int _POSIX_RTSIG_MAX() {
+ return _POSIX_RTSIG_MAX;
+ }
+ private static final int _POSIX_SEM_NSEMS_MAX = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SEM_NSEMS_MAX 256
+ * }
+ */
+ public static int _POSIX_SEM_NSEMS_MAX() {
+ return _POSIX_SEM_NSEMS_MAX;
+ }
+ private static final int _POSIX_SEM_VALUE_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SEM_VALUE_MAX 32767
+ * }
+ */
+ public static int _POSIX_SEM_VALUE_MAX() {
+ return _POSIX_SEM_VALUE_MAX;
+ }
+ private static final int _POSIX_SIGQUEUE_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SIGQUEUE_MAX 32
+ * }
+ */
+ public static int _POSIX_SIGQUEUE_MAX() {
+ return _POSIX_SIGQUEUE_MAX;
+ }
+ private static final int _POSIX_SSIZE_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SSIZE_MAX 32767
+ * }
+ */
+ public static int _POSIX_SSIZE_MAX() {
+ return _POSIX_SSIZE_MAX;
+ }
+ private static final int _POSIX_STREAM_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_STREAM_MAX 8
+ * }
+ */
+ public static int _POSIX_STREAM_MAX() {
+ return _POSIX_STREAM_MAX;
+ }
+ private static final int _POSIX_SYMLINK_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SYMLINK_MAX 255
+ * }
+ */
+ public static int _POSIX_SYMLINK_MAX() {
+ return _POSIX_SYMLINK_MAX;
+ }
+ private static final int _POSIX_SYMLOOP_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SYMLOOP_MAX 8
+ * }
+ */
+ public static int _POSIX_SYMLOOP_MAX() {
+ return _POSIX_SYMLOOP_MAX;
+ }
+ private static final int _POSIX_TIMER_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TIMER_MAX 32
+ * }
+ */
+ public static int _POSIX_TIMER_MAX() {
+ return _POSIX_TIMER_MAX;
+ }
+ private static final int _POSIX_TTY_NAME_MAX = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TTY_NAME_MAX 9
+ * }
+ */
+ public static int _POSIX_TTY_NAME_MAX() {
+ return _POSIX_TTY_NAME_MAX;
+ }
+ private static final int _POSIX_TZNAME_MAX = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TZNAME_MAX 6
+ * }
+ */
+ public static int _POSIX_TZNAME_MAX() {
+ return _POSIX_TZNAME_MAX;
+ }
+ private static final int _POSIX_CLOCKRES_MIN = (int)20000000L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_CLOCKRES_MIN 20000000
+ * }
+ */
+ public static int _POSIX_CLOCKRES_MIN() {
+ return _POSIX_CLOCKRES_MIN;
+ }
+ private static final int NR_OPEN = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define NR_OPEN 1024
+ * }
+ */
+ public static int NR_OPEN() {
+ return NR_OPEN;
+ }
+ private static final int NGROUPS_MAX = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define NGROUPS_MAX 65536
+ * }
+ */
+ public static int NGROUPS_MAX() {
+ return NGROUPS_MAX;
+ }
+ private static final int ARG_MAX = (int)131072L;
+ /**
+ * {@snippet lang=c :
+ * #define ARG_MAX 131072
+ * }
+ */
+ public static int ARG_MAX() {
+ return ARG_MAX;
+ }
+ private static final int LINK_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define LINK_MAX 127
+ * }
+ */
+ public static int LINK_MAX() {
+ return LINK_MAX;
+ }
+ private static final int MAX_CANON = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define MAX_CANON 255
+ * }
+ */
+ public static int MAX_CANON() {
+ return MAX_CANON;
+ }
+ private static final int MAX_INPUT = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define MAX_INPUT 255
+ * }
+ */
+ public static int MAX_INPUT() {
+ return MAX_INPUT;
+ }
+ private static final int NAME_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define NAME_MAX 255
+ * }
+ */
+ public static int NAME_MAX() {
+ return NAME_MAX;
+ }
+ private static final int PATH_MAX = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define PATH_MAX 4096
+ * }
+ */
+ public static int PATH_MAX() {
+ return PATH_MAX;
+ }
+ private static final int PIPE_BUF = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define PIPE_BUF 4096
+ * }
+ */
+ public static int PIPE_BUF() {
+ return PIPE_BUF;
+ }
+ private static final int XATTR_NAME_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define XATTR_NAME_MAX 255
+ * }
+ */
+ public static int XATTR_NAME_MAX() {
+ return XATTR_NAME_MAX;
+ }
+ private static final int XATTR_SIZE_MAX = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define XATTR_SIZE_MAX 65536
+ * }
+ */
+ public static int XATTR_SIZE_MAX() {
+ return XATTR_SIZE_MAX;
+ }
+ private static final int XATTR_LIST_MAX = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define XATTR_LIST_MAX 65536
+ * }
+ */
+ public static int XATTR_LIST_MAX() {
+ return XATTR_LIST_MAX;
+ }
+ private static final int RTSIG_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define RTSIG_MAX 32
+ * }
+ */
+ public static int RTSIG_MAX() {
+ return RTSIG_MAX;
+ }
+ private static final int _POSIX_THREAD_KEYS_MAX = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_THREAD_KEYS_MAX 128
+ * }
+ */
+ public static int _POSIX_THREAD_KEYS_MAX() {
+ return _POSIX_THREAD_KEYS_MAX;
+ }
+ private static final int PTHREAD_KEYS_MAX = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define PTHREAD_KEYS_MAX 1024
+ * }
+ */
+ public static int PTHREAD_KEYS_MAX() {
+ return PTHREAD_KEYS_MAX;
+ }
+ private static final int _POSIX_THREAD_DESTRUCTOR_ITERATIONS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4
+ * }
+ */
+ public static int _POSIX_THREAD_DESTRUCTOR_ITERATIONS() {
+ return _POSIX_THREAD_DESTRUCTOR_ITERATIONS;
+ }
+ private static final int _POSIX_THREAD_THREADS_MAX = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_THREAD_THREADS_MAX 64
+ * }
+ */
+ public static int _POSIX_THREAD_THREADS_MAX() {
+ return _POSIX_THREAD_THREADS_MAX;
+ }
+ private static final int AIO_PRIO_DELTA_MAX = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define AIO_PRIO_DELTA_MAX 20
+ * }
+ */
+ public static int AIO_PRIO_DELTA_MAX() {
+ return AIO_PRIO_DELTA_MAX;
+ }
+ private static final int PTHREAD_STACK_MIN = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define PTHREAD_STACK_MIN 16384
+ * }
+ */
+ public static int PTHREAD_STACK_MIN() {
+ return PTHREAD_STACK_MIN;
+ }
+ private static final int DELAYTIMER_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define DELAYTIMER_MAX 2147483647
+ * }
+ */
+ public static int DELAYTIMER_MAX() {
+ return DELAYTIMER_MAX;
+ }
+ private static final int TTY_NAME_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define TTY_NAME_MAX 32
+ * }
+ */
+ public static int TTY_NAME_MAX() {
+ return TTY_NAME_MAX;
+ }
+ private static final int LOGIN_NAME_MAX = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define LOGIN_NAME_MAX 256
+ * }
+ */
+ public static int LOGIN_NAME_MAX() {
+ return LOGIN_NAME_MAX;
+ }
+ private static final int HOST_NAME_MAX = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define HOST_NAME_MAX 64
+ * }
+ */
+ public static int HOST_NAME_MAX() {
+ return HOST_NAME_MAX;
+ }
+ private static final int MQ_PRIO_MAX = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define MQ_PRIO_MAX 32768
+ * }
+ */
+ public static int MQ_PRIO_MAX() {
+ return MQ_PRIO_MAX;
+ }
+ private static final int _BITS_POSIX2_LIM_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_POSIX2_LIM_H 1
+ * }
+ */
+ public static int _BITS_POSIX2_LIM_H() {
+ return _BITS_POSIX2_LIM_H;
+ }
+ private static final int _POSIX2_BC_BASE_MAX = (int)99L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_BC_BASE_MAX 99
+ * }
+ */
+ public static int _POSIX2_BC_BASE_MAX() {
+ return _POSIX2_BC_BASE_MAX;
+ }
+ private static final int _POSIX2_BC_DIM_MAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_BC_DIM_MAX 2048
+ * }
+ */
+ public static int _POSIX2_BC_DIM_MAX() {
+ return _POSIX2_BC_DIM_MAX;
+ }
+ private static final int _POSIX2_BC_SCALE_MAX = (int)99L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_BC_SCALE_MAX 99
+ * }
+ */
+ public static int _POSIX2_BC_SCALE_MAX() {
+ return _POSIX2_BC_SCALE_MAX;
+ }
+ private static final int _POSIX2_BC_STRING_MAX = (int)1000L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_BC_STRING_MAX 1000
+ * }
+ */
+ public static int _POSIX2_BC_STRING_MAX() {
+ return _POSIX2_BC_STRING_MAX;
+ }
+ private static final int _POSIX2_COLL_WEIGHTS_MAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_COLL_WEIGHTS_MAX 2
+ * }
+ */
+ public static int _POSIX2_COLL_WEIGHTS_MAX() {
+ return _POSIX2_COLL_WEIGHTS_MAX;
+ }
+ private static final int _POSIX2_EXPR_NEST_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_EXPR_NEST_MAX 32
+ * }
+ */
+ public static int _POSIX2_EXPR_NEST_MAX() {
+ return _POSIX2_EXPR_NEST_MAX;
+ }
+ private static final int _POSIX2_LINE_MAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_LINE_MAX 2048
+ * }
+ */
+ public static int _POSIX2_LINE_MAX() {
+ return _POSIX2_LINE_MAX;
+ }
+ private static final int _POSIX2_RE_DUP_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_RE_DUP_MAX 255
+ * }
+ */
+ public static int _POSIX2_RE_DUP_MAX() {
+ return _POSIX2_RE_DUP_MAX;
+ }
+ private static final int _POSIX2_CHARCLASS_NAME_MAX = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_CHARCLASS_NAME_MAX 14
+ * }
+ */
+ public static int _POSIX2_CHARCLASS_NAME_MAX() {
+ return _POSIX2_CHARCLASS_NAME_MAX;
+ }
+ private static final int COLL_WEIGHTS_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define COLL_WEIGHTS_MAX 255
+ * }
+ */
+ public static int COLL_WEIGHTS_MAX() {
+ return COLL_WEIGHTS_MAX;
+ }
+ private static final int CHARCLASS_NAME_MAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define CHARCLASS_NAME_MAX 2048
+ * }
+ */
+ public static int CHARCLASS_NAME_MAX() {
+ return CHARCLASS_NAME_MAX;
+ }
+ private static final int __GNUC_VA_LIST = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __GNUC_VA_LIST 1
+ * }
+ */
+ public static int __GNUC_VA_LIST() {
+ return __GNUC_VA_LIST;
+ }
+ private static final int true_ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define true 1
+ * }
+ */
+ public static int true_() {
+ return true_;
+ }
+ private static final int false_ = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define false 0
+ * }
+ */
+ public static int false_() {
+ return false_;
+ }
+ private static final int __bool_true_false_are_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __bool_true_false_are_defined 1
+ * }
+ */
+ public static int __bool_true_false_are_defined() {
+ return __bool_true_false_are_defined;
+ }
+ private static final int _SYS_TYPES_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _SYS_TYPES_H 1
+ * }
+ */
+ public static int _SYS_TYPES_H() {
+ return _SYS_TYPES_H;
+ }
+ private static final int __clock_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __clock_t_defined 1
+ * }
+ */
+ public static int __clock_t_defined() {
+ return __clock_t_defined;
+ }
+ private static final int __clockid_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __clockid_t_defined 1
+ * }
+ */
+ public static int __clockid_t_defined() {
+ return __clockid_t_defined;
+ }
+ private static final int __time_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __time_t_defined 1
+ * }
+ */
+ public static int __time_t_defined() {
+ return __time_t_defined;
+ }
+ private static final int __timer_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __timer_t_defined 1
+ * }
+ */
+ public static int __timer_t_defined() {
+ return __timer_t_defined;
+ }
+ private static final int __BIT_TYPES_DEFINED__ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __BIT_TYPES_DEFINED__ 1
+ * }
+ */
+ public static int __BIT_TYPES_DEFINED__() {
+ return __BIT_TYPES_DEFINED__;
+ }
+ private static final int _ENDIAN_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _ENDIAN_H 1
+ * }
+ */
+ public static int _ENDIAN_H() {
+ return _ENDIAN_H;
+ }
+ private static final int _BITS_ENDIAN_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_ENDIAN_H 1
+ * }
+ */
+ public static int _BITS_ENDIAN_H() {
+ return _BITS_ENDIAN_H;
+ }
+ private static final int __LITTLE_ENDIAN = (int)1234L;
+ /**
+ * {@snippet lang=c :
+ * #define __LITTLE_ENDIAN 1234
+ * }
+ */
+ public static int __LITTLE_ENDIAN() {
+ return __LITTLE_ENDIAN;
+ }
+ private static final int __BIG_ENDIAN = (int)4321L;
+ /**
+ * {@snippet lang=c :
+ * #define __BIG_ENDIAN 4321
+ * }
+ */
+ public static int __BIG_ENDIAN() {
+ return __BIG_ENDIAN;
+ }
+ private static final int __PDP_ENDIAN = (int)3412L;
+ /**
+ * {@snippet lang=c :
+ * #define __PDP_ENDIAN 3412
+ * }
+ */
+ public static int __PDP_ENDIAN() {
+ return __PDP_ENDIAN;
+ }
+ private static final int _BITS_ENDIANNESS_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_ENDIANNESS_H 1
+ * }
+ */
+ public static int _BITS_ENDIANNESS_H() {
+ return _BITS_ENDIANNESS_H;
+ }
+ private static final int _BITS_BYTESWAP_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_BYTESWAP_H 1
+ * }
+ */
+ public static int _BITS_BYTESWAP_H() {
+ return _BITS_BYTESWAP_H;
+ }
+ private static final int _BITS_UINTN_IDENTITY_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_UINTN_IDENTITY_H 1
+ * }
+ */
+ public static int _BITS_UINTN_IDENTITY_H() {
+ return _BITS_UINTN_IDENTITY_H;
+ }
+ private static final int _SYS_SELECT_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _SYS_SELECT_H 1
+ * }
+ */
+ public static int _SYS_SELECT_H() {
+ return _SYS_SELECT_H;
+ }
+ private static final int __sigset_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __sigset_t_defined 1
+ * }
+ */
+ public static int __sigset_t_defined() {
+ return __sigset_t_defined;
+ }
+ private static final int __timeval_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __timeval_defined 1
+ * }
+ */
+ public static int __timeval_defined() {
+ return __timeval_defined;
+ }
+ private static final int _STRUCT_TIMESPEC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _STRUCT_TIMESPEC 1
+ * }
+ */
+ public static int _STRUCT_TIMESPEC() {
+ return _STRUCT_TIMESPEC;
+ }
+ private static final int _BITS_PTHREADTYPES_COMMON_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_PTHREADTYPES_COMMON_H 1
+ * }
+ */
+ public static int _BITS_PTHREADTYPES_COMMON_H() {
+ return _BITS_PTHREADTYPES_COMMON_H;
+ }
+ private static final int _THREAD_SHARED_TYPES_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _THREAD_SHARED_TYPES_H 1
+ * }
+ */
+ public static int _THREAD_SHARED_TYPES_H() {
+ return _THREAD_SHARED_TYPES_H;
+ }
+ private static final int _BITS_PTHREADTYPES_ARCH_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_PTHREADTYPES_ARCH_H 1
+ * }
+ */
+ public static int _BITS_PTHREADTYPES_ARCH_H() {
+ return _BITS_PTHREADTYPES_ARCH_H;
+ }
+ private static final int __SIZEOF_PTHREAD_MUTEX_T = (int)40L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIZEOF_PTHREAD_MUTEX_T 40
+ * }
+ */
+ public static int __SIZEOF_PTHREAD_MUTEX_T() {
+ return __SIZEOF_PTHREAD_MUTEX_T;
+ }
+ private static final int __SIZEOF_PTHREAD_ATTR_T = (int)56L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIZEOF_PTHREAD_ATTR_T 56
+ * }
+ */
+ public static int __SIZEOF_PTHREAD_ATTR_T() {
+ return __SIZEOF_PTHREAD_ATTR_T;
+ }
+ private static final int __SIZEOF_PTHREAD_RWLOCK_T = (int)56L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIZEOF_PTHREAD_RWLOCK_T 56
+ * }
+ */
+ public static int __SIZEOF_PTHREAD_RWLOCK_T() {
+ return __SIZEOF_PTHREAD_RWLOCK_T;
+ }
+ private static final int __SIZEOF_PTHREAD_BARRIER_T = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIZEOF_PTHREAD_BARRIER_T 32
+ * }
+ */
+ public static int __SIZEOF_PTHREAD_BARRIER_T() {
+ return __SIZEOF_PTHREAD_BARRIER_T;
+ }
+ private static final int __SIZEOF_PTHREAD_MUTEXATTR_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIZEOF_PTHREAD_MUTEXATTR_T 4
+ * }
+ */
+ public static int __SIZEOF_PTHREAD_MUTEXATTR_T() {
+ return __SIZEOF_PTHREAD_MUTEXATTR_T;
+ }
+ private static final int __SIZEOF_PTHREAD_COND_T = (int)48L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIZEOF_PTHREAD_COND_T 48
+ * }
+ */
+ public static int __SIZEOF_PTHREAD_COND_T() {
+ return __SIZEOF_PTHREAD_COND_T;
+ }
+ private static final int __SIZEOF_PTHREAD_CONDATTR_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIZEOF_PTHREAD_CONDATTR_T 4
+ * }
+ */
+ public static int __SIZEOF_PTHREAD_CONDATTR_T() {
+ return __SIZEOF_PTHREAD_CONDATTR_T;
+ }
+ private static final int __SIZEOF_PTHREAD_RWLOCKATTR_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8
+ * }
+ */
+ public static int __SIZEOF_PTHREAD_RWLOCKATTR_T() {
+ return __SIZEOF_PTHREAD_RWLOCKATTR_T;
+ }
+ private static final int __SIZEOF_PTHREAD_BARRIERATTR_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIZEOF_PTHREAD_BARRIERATTR_T 4
+ * }
+ */
+ public static int __SIZEOF_PTHREAD_BARRIERATTR_T() {
+ return __SIZEOF_PTHREAD_BARRIERATTR_T;
+ }
+ private static final int _THREAD_MUTEX_INTERNAL_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _THREAD_MUTEX_INTERNAL_H 1
+ * }
+ */
+ public static int _THREAD_MUTEX_INTERNAL_H() {
+ return _THREAD_MUTEX_INTERNAL_H;
+ }
+ private static final int __PTHREAD_MUTEX_HAVE_PREV = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_MUTEX_HAVE_PREV 1
+ * }
+ */
+ public static int __PTHREAD_MUTEX_HAVE_PREV() {
+ return __PTHREAD_MUTEX_HAVE_PREV;
+ }
+ private static final int __have_pthread_attr_t = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __have_pthread_attr_t 1
+ * }
+ */
+ public static int __have_pthread_attr_t() {
+ return __have_pthread_attr_t;
+ }
+ private static final int H5_VERS_MAJOR = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_MAJOR 2
+ * }
+ */
+ public static int H5_VERS_MAJOR() {
+ return H5_VERS_MAJOR;
+ }
+ private static final int H5_VERS_MINOR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_MINOR 0
+ * }
+ */
+ public static int H5_VERS_MINOR() {
+ return H5_VERS_MINOR;
+ }
+ private static final int H5_VERS_RELEASE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_RELEASE 0
+ * }
+ */
+ public static int H5_VERS_RELEASE() {
+ return H5_VERS_RELEASE;
+ }
+ private static final int H5_SIZEOF_HSIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HSIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HSIZE_T() {
+ return H5_SIZEOF_HSIZE_T;
+ }
+ private static final int H5_SIZEOF_HSSIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HSSIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HSSIZE_T() {
+ return H5_SIZEOF_HSSIZE_T;
+ }
+ private static final int H5_SIZEOF_HADDR_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HADDR_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HADDR_T() {
+ return H5_SIZEOF_HADDR_T;
+ }
+ private static final int H5_HAVE_BUILTIN_EXPECT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_BUILTIN_EXPECT 1
+ * }
+ */
+ public static int H5_HAVE_BUILTIN_EXPECT() {
+ return H5_HAVE_BUILTIN_EXPECT;
+ }
+ private static final int H5O_SHMESG_NONE_FLAG = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_NONE_FLAG 0
+ * }
+ */
+ public static int H5O_SHMESG_NONE_FLAG() {
+ return H5O_SHMESG_NONE_FLAG;
+ }
+ private static final int H5O_HDR_CHUNK0_SIZE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_CHUNK0_SIZE 3
+ * }
+ */
+ public static int H5O_HDR_CHUNK0_SIZE() {
+ return H5O_HDR_CHUNK0_SIZE;
+ }
+ private static final int H5O_HDR_ATTR_CRT_ORDER_TRACKED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ATTR_CRT_ORDER_TRACKED 4
+ * }
+ */
+ public static int H5O_HDR_ATTR_CRT_ORDER_TRACKED() {
+ return H5O_HDR_ATTR_CRT_ORDER_TRACKED;
+ }
+ private static final int H5O_HDR_ATTR_CRT_ORDER_INDEXED = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ATTR_CRT_ORDER_INDEXED 8
+ * }
+ */
+ public static int H5O_HDR_ATTR_CRT_ORDER_INDEXED() {
+ return H5O_HDR_ATTR_CRT_ORDER_INDEXED;
+ }
+ private static final int H5O_HDR_ATTR_STORE_PHASE_CHANGE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ATTR_STORE_PHASE_CHANGE 16
+ * }
+ */
+ public static int H5O_HDR_ATTR_STORE_PHASE_CHANGE() {
+ return H5O_HDR_ATTR_STORE_PHASE_CHANGE;
+ }
+ private static final int H5O_HDR_STORE_TIMES = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_STORE_TIMES 32
+ * }
+ */
+ public static int H5O_HDR_STORE_TIMES() {
+ return H5O_HDR_STORE_TIMES;
+ }
+ private static final int H5O_SHMESG_MAX_NINDEXES = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_MAX_NINDEXES 8
+ * }
+ */
+ public static int H5O_SHMESG_MAX_NINDEXES() {
+ return H5O_SHMESG_MAX_NINDEXES;
+ }
+ private static final int H5O_SHMESG_MAX_LIST_SIZE = (int)5000L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_MAX_LIST_SIZE 5000
+ * }
+ */
+ public static int H5O_SHMESG_MAX_LIST_SIZE() {
+ return H5O_SHMESG_MAX_LIST_SIZE;
+ }
+ private static final int H5T_OPAQUE_TAG_MAX = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_OPAQUE_TAG_MAX 256
+ * }
+ */
+ public static int H5T_OPAQUE_TAG_MAX() {
+ return H5T_OPAQUE_TAG_MAX;
+ }
+ private static final int H5AC__CURR_CACHE_CONFIG_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CURR_CACHE_CONFIG_VERSION 1
+ * }
+ */
+ public static int H5AC__CURR_CACHE_CONFIG_VERSION() {
+ return H5AC__CURR_CACHE_CONFIG_VERSION;
+ }
+ private static final int H5AC__MAX_TRACE_FILE_NAME_LEN = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__MAX_TRACE_FILE_NAME_LEN 1024
+ * }
+ */
+ public static int H5AC__MAX_TRACE_FILE_NAME_LEN() {
+ return H5AC__MAX_TRACE_FILE_NAME_LEN;
+ }
+ private static final int H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY 0
+ * }
+ */
+ public static int H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY() {
+ return H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY;
+ }
+ private static final int H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED 1
+ * }
+ */
+ public static int H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED() {
+ return H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED;
+ }
+ private static final int H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION 1
+ * }
+ */
+ public static int H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION() {
+ return H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION;
+ }
+ private static final int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX = (int)100L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX 100
+ * }
+ */
+ public static int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX() {
+ return H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX;
+ }
+ private static final int _STDIO_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _STDIO_H 1
+ * }
+ */
+ public static int _STDIO_H() {
+ return _STDIO_H;
+ }
+ private static final int _____fpos_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _____fpos_t_defined 1
+ * }
+ */
+ public static int _____fpos_t_defined() {
+ return _____fpos_t_defined;
+ }
+ private static final int ____mbstate_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define ____mbstate_t_defined 1
+ * }
+ */
+ public static int ____mbstate_t_defined() {
+ return ____mbstate_t_defined;
+ }
+ private static final int _____fpos64_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _____fpos64_t_defined 1
+ * }
+ */
+ public static int _____fpos64_t_defined() {
+ return _____fpos64_t_defined;
+ }
+ private static final int ____FILE_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define ____FILE_defined 1
+ * }
+ */
+ public static int ____FILE_defined() {
+ return ____FILE_defined;
+ }
+ private static final int __FILE_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __FILE_defined 1
+ * }
+ */
+ public static int __FILE_defined() {
+ return __FILE_defined;
+ }
+ private static final int __struct_FILE_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __struct_FILE_defined 1
+ * }
+ */
+ public static int __struct_FILE_defined() {
+ return __struct_FILE_defined;
+ }
+ private static final int _IO_EOF_SEEN = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define _IO_EOF_SEEN 16
+ * }
+ */
+ public static int _IO_EOF_SEEN() {
+ return _IO_EOF_SEEN;
+ }
+ private static final int _IO_ERR_SEEN = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _IO_ERR_SEEN 32
+ * }
+ */
+ public static int _IO_ERR_SEEN() {
+ return _IO_ERR_SEEN;
+ }
+ private static final int _IO_USER_LOCK = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define _IO_USER_LOCK 32768
+ * }
+ */
+ public static int _IO_USER_LOCK() {
+ return _IO_USER_LOCK;
+ }
+ private static final int __cookie_io_functions_t_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __cookie_io_functions_t_defined 1
+ * }
+ */
+ public static int __cookie_io_functions_t_defined() {
+ return __cookie_io_functions_t_defined;
+ }
+ private static final int _IOFBF = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _IOFBF 0
+ * }
+ */
+ public static int _IOFBF() {
+ return _IOFBF;
+ }
+ private static final int _IOLBF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _IOLBF 1
+ * }
+ */
+ public static int _IOLBF() {
+ return _IOLBF;
+ }
+ private static final int _IONBF = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define _IONBF 2
+ * }
+ */
+ public static int _IONBF() {
+ return _IONBF;
+ }
+ private static final int BUFSIZ = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define BUFSIZ 8192
+ * }
+ */
+ public static int BUFSIZ() {
+ return BUFSIZ;
+ }
+ private static final int SEEK_SET = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_SET 0
+ * }
+ */
+ public static int SEEK_SET() {
+ return SEEK_SET;
+ }
+ private static final int SEEK_CUR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_CUR 1
+ * }
+ */
+ public static int SEEK_CUR() {
+ return SEEK_CUR;
+ }
+ private static final int SEEK_END = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_END 2
+ * }
+ */
+ public static int SEEK_END() {
+ return SEEK_END;
+ }
+ private static final int L_tmpnam = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define L_tmpnam 20
+ * }
+ */
+ public static int L_tmpnam() {
+ return L_tmpnam;
+ }
+ private static final int TMP_MAX = (int)238328L;
+ /**
+ * {@snippet lang=c :
+ * #define TMP_MAX 238328
+ * }
+ */
+ public static int TMP_MAX() {
+ return TMP_MAX;
+ }
+ private static final int _BITS_STDIO_LIM_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _BITS_STDIO_LIM_H 1
+ * }
+ */
+ public static int _BITS_STDIO_LIM_H() {
+ return _BITS_STDIO_LIM_H;
+ }
+ private static final int FILENAME_MAX = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define FILENAME_MAX 4096
+ * }
+ */
+ public static int FILENAME_MAX() {
+ return FILENAME_MAX;
+ }
+ private static final int L_ctermid = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define L_ctermid 9
+ * }
+ */
+ public static int L_ctermid() {
+ return L_ctermid;
+ }
+ private static final int FOPEN_MAX = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define FOPEN_MAX 16
+ * }
+ */
+ public static int FOPEN_MAX() {
+ return FOPEN_MAX;
+ }
+ private static final int __HAVE_FLOAT128 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOAT128 0
+ * }
+ */
+ public static int __HAVE_FLOAT128() {
+ return __HAVE_FLOAT128;
+ }
+ private static final int __HAVE_DISTINCT_FLOAT128 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_DISTINCT_FLOAT128 0
+ * }
+ */
+ public static int __HAVE_DISTINCT_FLOAT128() {
+ return __HAVE_DISTINCT_FLOAT128;
+ }
+ private static final int __HAVE_FLOAT64X = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOAT64X 1
+ * }
+ */
+ public static int __HAVE_FLOAT64X() {
+ return __HAVE_FLOAT64X;
+ }
+ private static final int __HAVE_FLOAT64X_LONG_DOUBLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOAT64X_LONG_DOUBLE 1
+ * }
+ */
+ public static int __HAVE_FLOAT64X_LONG_DOUBLE() {
+ return __HAVE_FLOAT64X_LONG_DOUBLE;
+ }
+ private static final int __HAVE_FLOAT16 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOAT16 0
+ * }
+ */
+ public static int __HAVE_FLOAT16() {
+ return __HAVE_FLOAT16;
+ }
+ private static final int __HAVE_FLOAT32 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOAT32 1
+ * }
+ */
+ public static int __HAVE_FLOAT32() {
+ return __HAVE_FLOAT32;
+ }
+ private static final int __HAVE_FLOAT64 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOAT64 1
+ * }
+ */
+ public static int __HAVE_FLOAT64() {
+ return __HAVE_FLOAT64;
+ }
+ private static final int __HAVE_FLOAT32X = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOAT32X 1
+ * }
+ */
+ public static int __HAVE_FLOAT32X() {
+ return __HAVE_FLOAT32X;
+ }
+ private static final int __HAVE_FLOAT128X = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOAT128X 0
+ * }
+ */
+ public static int __HAVE_FLOAT128X() {
+ return __HAVE_FLOAT128X;
+ }
+ private static final int __HAVE_DISTINCT_FLOAT32 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_DISTINCT_FLOAT32 0
+ * }
+ */
+ public static int __HAVE_DISTINCT_FLOAT32() {
+ return __HAVE_DISTINCT_FLOAT32;
+ }
+ private static final int __HAVE_DISTINCT_FLOAT64 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_DISTINCT_FLOAT64 0
+ * }
+ */
+ public static int __HAVE_DISTINCT_FLOAT64() {
+ return __HAVE_DISTINCT_FLOAT64;
+ }
+ private static final int __HAVE_DISTINCT_FLOAT32X = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_DISTINCT_FLOAT32X 0
+ * }
+ */
+ public static int __HAVE_DISTINCT_FLOAT32X() {
+ return __HAVE_DISTINCT_FLOAT32X;
+ }
+ private static final int __HAVE_DISTINCT_FLOAT64X = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_DISTINCT_FLOAT64X 0
+ * }
+ */
+ public static int __HAVE_DISTINCT_FLOAT64X() {
+ return __HAVE_DISTINCT_FLOAT64X;
+ }
+ private static final int __HAVE_FLOATN_NOT_TYPEDEF = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __HAVE_FLOATN_NOT_TYPEDEF 0
+ * }
+ */
+ public static int __HAVE_FLOATN_NOT_TYPEDEF() {
+ return __HAVE_FLOATN_NOT_TYPEDEF;
+ }
+ private static final int H5E_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5E_DEFAULT 0
+ * }
+ */
+ public static int H5E_DEFAULT() {
+ return H5E_DEFAULT;
+ }
+ private static final int H5ES_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5ES_NONE 0
+ * }
+ */
+ public static int H5ES_NONE() {
+ return H5ES_NONE;
+ }
+ private static final int H5F_FAMILY_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_FAMILY_DEFAULT 0
+ * }
+ */
+ public static int H5F_FAMILY_DEFAULT() {
+ return H5F_FAMILY_DEFAULT;
+ }
+ private static final int H5F_NUM_METADATA_READ_RETRY_TYPES = (int)21L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_NUM_METADATA_READ_RETRY_TYPES 21
+ * }
+ */
+ public static int H5F_NUM_METADATA_READ_RETRY_TYPES() {
+ return H5F_NUM_METADATA_READ_RETRY_TYPES;
+ }
+ private static final int H5FD_VFD_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_VFD_DEFAULT 0
+ * }
+ */
+ public static int H5FD_VFD_DEFAULT() {
+ return H5FD_VFD_DEFAULT;
+ }
+ private static final int H5_VFD_RESERVED = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_RESERVED 256
+ * }
+ */
+ public static int H5_VFD_RESERVED() {
+ return H5_VFD_RESERVED;
+ }
+ private static final int H5_VFD_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MAX 65535
+ * }
+ */
+ public static int H5_VFD_MAX() {
+ return H5_VFD_MAX;
+ }
+ private static final int H5FD_FEAT_AGGREGATE_METADATA = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_AGGREGATE_METADATA 1
+ * }
+ */
+ public static int H5FD_FEAT_AGGREGATE_METADATA() {
+ return H5FD_FEAT_AGGREGATE_METADATA;
+ }
+ private static final int H5FD_FEAT_ACCUMULATE_METADATA_WRITE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ACCUMULATE_METADATA_WRITE 2
+ * }
+ */
+ public static int H5FD_FEAT_ACCUMULATE_METADATA_WRITE() {
+ return H5FD_FEAT_ACCUMULATE_METADATA_WRITE;
+ }
+ private static final int H5FD_FEAT_ACCUMULATE_METADATA_READ = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ACCUMULATE_METADATA_READ 4
+ * }
+ */
+ public static int H5FD_FEAT_ACCUMULATE_METADATA_READ() {
+ return H5FD_FEAT_ACCUMULATE_METADATA_READ;
+ }
+ private static final int H5FD_FEAT_DATA_SIEVE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_DATA_SIEVE 8
+ * }
+ */
+ public static int H5FD_FEAT_DATA_SIEVE() {
+ return H5FD_FEAT_DATA_SIEVE;
+ }
+ private static final int H5FD_FEAT_AGGREGATE_SMALLDATA = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_AGGREGATE_SMALLDATA 16
+ * }
+ */
+ public static int H5FD_FEAT_AGGREGATE_SMALLDATA() {
+ return H5FD_FEAT_AGGREGATE_SMALLDATA;
+ }
+ private static final int H5FD_FEAT_IGNORE_DRVRINFO = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_IGNORE_DRVRINFO 32
+ * }
+ */
+ public static int H5FD_FEAT_IGNORE_DRVRINFO() {
+ return H5FD_FEAT_IGNORE_DRVRINFO;
+ }
+ private static final int H5FD_FEAT_DIRTY_DRVRINFO_LOAD = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_DIRTY_DRVRINFO_LOAD 64
+ * }
+ */
+ public static int H5FD_FEAT_DIRTY_DRVRINFO_LOAD() {
+ return H5FD_FEAT_DIRTY_DRVRINFO_LOAD;
+ }
+ private static final int H5FD_FEAT_POSIX_COMPAT_HANDLE = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_POSIX_COMPAT_HANDLE 128
+ * }
+ */
+ public static int H5FD_FEAT_POSIX_COMPAT_HANDLE() {
+ return H5FD_FEAT_POSIX_COMPAT_HANDLE;
+ }
+ private static final int H5FD_FEAT_HAS_MPI = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_HAS_MPI 256
+ * }
+ */
+ public static int H5FD_FEAT_HAS_MPI() {
+ return H5FD_FEAT_HAS_MPI;
+ }
+ private static final int H5FD_FEAT_ALLOCATE_EARLY = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ALLOCATE_EARLY 512
+ * }
+ */
+ public static int H5FD_FEAT_ALLOCATE_EARLY() {
+ return H5FD_FEAT_ALLOCATE_EARLY;
+ }
+ private static final int H5FD_FEAT_ALLOW_FILE_IMAGE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ALLOW_FILE_IMAGE 1024
+ * }
+ */
+ public static int H5FD_FEAT_ALLOW_FILE_IMAGE() {
+ return H5FD_FEAT_ALLOW_FILE_IMAGE;
+ }
+ private static final int H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS 2048
+ * }
+ */
+ public static int H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS() {
+ return H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS;
+ }
+ private static final int H5FD_FEAT_SUPPORTS_SWMR_IO = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_SUPPORTS_SWMR_IO 4096
+ * }
+ */
+ public static int H5FD_FEAT_SUPPORTS_SWMR_IO() {
+ return H5FD_FEAT_SUPPORTS_SWMR_IO;
+ }
+ private static final int H5FD_FEAT_USE_ALLOC_SIZE = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_USE_ALLOC_SIZE 8192
+ * }
+ */
+ public static int H5FD_FEAT_USE_ALLOC_SIZE() {
+ return H5FD_FEAT_USE_ALLOC_SIZE;
+ }
+ private static final int H5FD_FEAT_PAGED_AGGR = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_PAGED_AGGR 16384
+ * }
+ */
+ public static int H5FD_FEAT_PAGED_AGGR() {
+ return H5FD_FEAT_PAGED_AGGR;
+ }
+ private static final int H5FD_FEAT_DEFAULT_VFD_COMPATIBLE = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_DEFAULT_VFD_COMPATIBLE 32768
+ * }
+ */
+ public static int H5FD_FEAT_DEFAULT_VFD_COMPATIBLE() {
+ return H5FD_FEAT_DEFAULT_VFD_COMPATIBLE;
+ }
+ private static final int H5FD_FEAT_MEMMANAGE = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_MEMMANAGE 65536
+ * }
+ */
+ public static int H5FD_FEAT_MEMMANAGE() {
+ return H5FD_FEAT_MEMMANAGE;
+ }
+ private static final int H5FD_CTL_OPC_RESERVED = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_OPC_RESERVED 512
+ * }
+ */
+ public static int H5FD_CTL_OPC_RESERVED() {
+ return H5FD_CTL_OPC_RESERVED;
+ }
+ private static final int H5FD_CTL_INVALID_OPCODE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_INVALID_OPCODE 0
+ * }
+ */
+ public static int H5FD_CTL_INVALID_OPCODE() {
+ return H5FD_CTL_INVALID_OPCODE;
+ }
+ private static final int H5FD_CTL_TEST_OPCODE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_TEST_OPCODE 1
+ * }
+ */
+ public static int H5FD_CTL_TEST_OPCODE() {
+ return H5FD_CTL_TEST_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE 2
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE() {
+ return H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_INFO_OPCODE = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_INFO_OPCODE 9
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_INFO_OPCODE() {
+ return H5FD_CTL_GET_MPI_INFO_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_RANK_OPCODE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_RANK_OPCODE 3
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_RANK_OPCODE() {
+ return H5FD_CTL_GET_MPI_RANK_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_SIZE_OPCODE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_SIZE_OPCODE 4
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_SIZE_OPCODE() {
+ return H5FD_CTL_GET_MPI_SIZE_OPCODE;
+ }
+ private static final int H5FD_CTL_MEM_ALLOC = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_MEM_ALLOC 5
+ * }
+ */
+ public static int H5FD_CTL_MEM_ALLOC() {
+ return H5FD_CTL_MEM_ALLOC;
+ }
+ private static final int H5FD_CTL_MEM_FREE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_MEM_FREE 6
+ * }
+ */
+ public static int H5FD_CTL_MEM_FREE() {
+ return H5FD_CTL_MEM_FREE;
+ }
+ private static final int H5FD_CTL_MEM_COPY = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_MEM_COPY 7
+ * }
+ */
+ public static int H5FD_CTL_MEM_COPY() {
+ return H5FD_CTL_MEM_COPY;
+ }
+ private static final int H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE 8
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE() {
+ return H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE;
+ }
+ private static final int H5FD_CTL_FAIL_IF_UNKNOWN_FLAG = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_FAIL_IF_UNKNOWN_FLAG 1
+ * }
+ */
+ public static int H5FD_CTL_FAIL_IF_UNKNOWN_FLAG() {
+ return H5FD_CTL_FAIL_IF_UNKNOWN_FLAG;
+ }
+ private static final int H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG 2
+ * }
+ */
+ public static int H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG() {
+ return H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG;
+ }
+ private static final int H5L_SAME_LOC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_SAME_LOC 0
+ * }
+ */
+ public static int H5L_SAME_LOC() {
+ return H5L_SAME_LOC;
+ }
+ private static final int H5G_NTYPES = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_NTYPES 256
+ * }
+ */
+ public static int H5G_NTYPES() {
+ return H5G_NTYPES;
+ }
+ private static final int H5G_NLIBTYPES = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_NLIBTYPES 8
+ * }
+ */
+ public static int H5G_NLIBTYPES() {
+ return H5G_NLIBTYPES;
+ }
+ private static final int H5VL_VERSION = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_VERSION 3
+ * }
+ */
+ public static int H5VL_VERSION() {
+ return H5VL_VERSION;
+ }
+ private static final int H5_VOL_NATIVE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_NATIVE 0
+ * }
+ */
+ public static int H5_VOL_NATIVE() {
+ return H5_VOL_NATIVE;
+ }
+ private static final int H5_VOL_RESERVED = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_RESERVED 256
+ * }
+ */
+ public static int H5_VOL_RESERVED() {
+ return H5_VOL_RESERVED;
+ }
+ private static final int H5_VOL_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_MAX 65535
+ * }
+ */
+ public static int H5_VOL_MAX() {
+ return H5_VOL_MAX;
+ }
+ private static final int H5VL_CAP_FLAG_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_NONE 0
+ * }
+ */
+ public static int H5VL_CAP_FLAG_NONE() {
+ return H5VL_CAP_FLAG_NONE;
+ }
+ private static final int H5VL_CAP_FLAG_THREADSAFE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_THREADSAFE 1
+ * }
+ */
+ public static int H5VL_CAP_FLAG_THREADSAFE() {
+ return H5VL_CAP_FLAG_THREADSAFE;
+ }
+ private static final int H5VL_CAP_FLAG_ASYNC = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ASYNC 2
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ASYNC() {
+ return H5VL_CAP_FLAG_ASYNC;
+ }
+ private static final int H5VL_CAP_FLAG_NATIVE_FILES = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_NATIVE_FILES 4
+ * }
+ */
+ public static int H5VL_CAP_FLAG_NATIVE_FILES() {
+ return H5VL_CAP_FLAG_NATIVE_FILES;
+ }
+ private static final int H5VL_CAP_FLAG_ATTR_BASIC = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ATTR_BASIC 8
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ATTR_BASIC() {
+ return H5VL_CAP_FLAG_ATTR_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_ATTR_MORE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ATTR_MORE 16
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ATTR_MORE() {
+ return H5VL_CAP_FLAG_ATTR_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_DATASET_BASIC = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_DATASET_BASIC 32
+ * }
+ */
+ public static int H5VL_CAP_FLAG_DATASET_BASIC() {
+ return H5VL_CAP_FLAG_DATASET_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_DATASET_MORE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_DATASET_MORE 64
+ * }
+ */
+ public static int H5VL_CAP_FLAG_DATASET_MORE() {
+ return H5VL_CAP_FLAG_DATASET_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_FILE_BASIC = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILE_BASIC 128
+ * }
+ */
+ public static int H5VL_CAP_FLAG_FILE_BASIC() {
+ return H5VL_CAP_FLAG_FILE_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_FILE_MORE = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILE_MORE 256
+ * }
+ */
+ public static int H5VL_CAP_FLAG_FILE_MORE() {
+ return H5VL_CAP_FLAG_FILE_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_GROUP_BASIC = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_GROUP_BASIC 512
+ * }
+ */
+ public static int H5VL_CAP_FLAG_GROUP_BASIC() {
+ return H5VL_CAP_FLAG_GROUP_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_GROUP_MORE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_GROUP_MORE 1024
+ * }
+ */
+ public static int H5VL_CAP_FLAG_GROUP_MORE() {
+ return H5VL_CAP_FLAG_GROUP_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_LINK_BASIC = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_LINK_BASIC 2048
+ * }
+ */
+ public static int H5VL_CAP_FLAG_LINK_BASIC() {
+ return H5VL_CAP_FLAG_LINK_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_LINK_MORE = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_LINK_MORE 4096
+ * }
+ */
+ public static int H5VL_CAP_FLAG_LINK_MORE() {
+ return H5VL_CAP_FLAG_LINK_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_MAP_BASIC = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_MAP_BASIC 8192
+ * }
+ */
+ public static int H5VL_CAP_FLAG_MAP_BASIC() {
+ return H5VL_CAP_FLAG_MAP_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_MAP_MORE = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_MAP_MORE 16384
+ * }
+ */
+ public static int H5VL_CAP_FLAG_MAP_MORE() {
+ return H5VL_CAP_FLAG_MAP_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_OBJECT_BASIC = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_OBJECT_BASIC 32768
+ * }
+ */
+ public static int H5VL_CAP_FLAG_OBJECT_BASIC() {
+ return H5VL_CAP_FLAG_OBJECT_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_OBJECT_MORE = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_OBJECT_MORE 65536
+ * }
+ */
+ public static int H5VL_CAP_FLAG_OBJECT_MORE() {
+ return H5VL_CAP_FLAG_OBJECT_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_REF_BASIC = (int)131072L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_REF_BASIC 131072
+ * }
+ */
+ public static int H5VL_CAP_FLAG_REF_BASIC() {
+ return H5VL_CAP_FLAG_REF_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_REF_MORE = (int)262144L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_REF_MORE 262144
+ * }
+ */
+ public static int H5VL_CAP_FLAG_REF_MORE() {
+ return H5VL_CAP_FLAG_REF_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_OBJ_REF = (int)524288L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_OBJ_REF 524288
+ * }
+ */
+ public static int H5VL_CAP_FLAG_OBJ_REF() {
+ return H5VL_CAP_FLAG_OBJ_REF;
+ }
+ private static final int H5VL_CAP_FLAG_REG_REF = (int)1048576L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_REG_REF 1048576
+ * }
+ */
+ public static int H5VL_CAP_FLAG_REG_REF() {
+ return H5VL_CAP_FLAG_REG_REF;
+ }
+ private static final int H5VL_CAP_FLAG_ATTR_REF = (int)2097152L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ATTR_REF 2097152
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ATTR_REF() {
+ return H5VL_CAP_FLAG_ATTR_REF;
+ }
+ private static final int H5VL_CAP_FLAG_STORED_DATATYPES = (int)4194304L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_STORED_DATATYPES 4194304
+ * }
+ */
+ public static int H5VL_CAP_FLAG_STORED_DATATYPES() {
+ return H5VL_CAP_FLAG_STORED_DATATYPES;
+ }
+ private static final int H5VL_CAP_FLAG_CREATION_ORDER = (int)8388608L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_CREATION_ORDER 8388608
+ * }
+ */
+ public static int H5VL_CAP_FLAG_CREATION_ORDER() {
+ return H5VL_CAP_FLAG_CREATION_ORDER;
+ }
+ private static final int H5VL_CAP_FLAG_ITERATE = (int)16777216L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ITERATE 16777216
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ITERATE() {
+ return H5VL_CAP_FLAG_ITERATE;
+ }
+ private static final int H5VL_CAP_FLAG_STORAGE_SIZE = (int)33554432L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_STORAGE_SIZE 33554432
+ * }
+ */
+ public static int H5VL_CAP_FLAG_STORAGE_SIZE() {
+ return H5VL_CAP_FLAG_STORAGE_SIZE;
+ }
+ private static final int H5VL_CAP_FLAG_BY_IDX = (int)67108864L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_BY_IDX 67108864
+ * }
+ */
+ public static int H5VL_CAP_FLAG_BY_IDX() {
+ return H5VL_CAP_FLAG_BY_IDX;
+ }
+ private static final int H5VL_CAP_FLAG_GET_PLIST = (int)134217728L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_GET_PLIST 134217728
+ * }
+ */
+ public static int H5VL_CAP_FLAG_GET_PLIST() {
+ return H5VL_CAP_FLAG_GET_PLIST;
+ }
+ private static final int H5VL_CAP_FLAG_FLUSH_REFRESH = (int)268435456L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FLUSH_REFRESH 268435456
+ * }
+ */
+ public static int H5VL_CAP_FLAG_FLUSH_REFRESH() {
+ return H5VL_CAP_FLAG_FLUSH_REFRESH;
+ }
+ private static final int H5VL_CAP_FLAG_EXTERNAL_LINKS = (int)536870912L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_EXTERNAL_LINKS 536870912
+ * }
+ */
+ public static int H5VL_CAP_FLAG_EXTERNAL_LINKS() {
+ return H5VL_CAP_FLAG_EXTERNAL_LINKS;
+ }
+ private static final int H5VL_CAP_FLAG_HARD_LINKS = (int)1073741824L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_HARD_LINKS 1073741824
+ * }
+ */
+ public static int H5VL_CAP_FLAG_HARD_LINKS() {
+ return H5VL_CAP_FLAG_HARD_LINKS;
+ }
+ private static final int H5VL_OPT_QUERY_SUPPORTED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_SUPPORTED 1
+ * }
+ */
+ public static int H5VL_OPT_QUERY_SUPPORTED() {
+ return H5VL_OPT_QUERY_SUPPORTED;
+ }
+ private static final int H5VL_OPT_QUERY_READ_DATA = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_READ_DATA 2
+ * }
+ */
+ public static int H5VL_OPT_QUERY_READ_DATA() {
+ return H5VL_OPT_QUERY_READ_DATA;
+ }
+ private static final int H5VL_OPT_QUERY_WRITE_DATA = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_WRITE_DATA 4
+ * }
+ */
+ public static int H5VL_OPT_QUERY_WRITE_DATA() {
+ return H5VL_OPT_QUERY_WRITE_DATA;
+ }
+ private static final int H5VL_OPT_QUERY_QUERY_METADATA = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_QUERY_METADATA 8
+ * }
+ */
+ public static int H5VL_OPT_QUERY_QUERY_METADATA() {
+ return H5VL_OPT_QUERY_QUERY_METADATA;
+ }
+ private static final int H5VL_OPT_QUERY_MODIFY_METADATA = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_MODIFY_METADATA 16
+ * }
+ */
+ public static int H5VL_OPT_QUERY_MODIFY_METADATA() {
+ return H5VL_OPT_QUERY_MODIFY_METADATA;
+ }
+ private static final int H5VL_OPT_QUERY_COLLECTIVE = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_COLLECTIVE 32
+ * }
+ */
+ public static int H5VL_OPT_QUERY_COLLECTIVE() {
+ return H5VL_OPT_QUERY_COLLECTIVE;
+ }
+ private static final int H5VL_OPT_QUERY_NO_ASYNC = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_NO_ASYNC 64
+ * }
+ */
+ public static int H5VL_OPT_QUERY_NO_ASYNC() {
+ return H5VL_OPT_QUERY_NO_ASYNC;
+ }
+ private static final int H5VL_OPT_QUERY_MULTI_OBJ = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_MULTI_OBJ 128
+ * }
+ */
+ public static int H5VL_OPT_QUERY_MULTI_OBJ() {
+ return H5VL_OPT_QUERY_MULTI_OBJ;
+ }
+ private static final int H5VL_CONTAINER_INFO_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CONTAINER_INFO_VERSION 1
+ * }
+ */
+ public static int H5VL_CONTAINER_INFO_VERSION() {
+ return H5VL_CONTAINER_INFO_VERSION;
+ }
+ private static final int H5VL_RESERVED_NATIVE_OPTIONAL = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_RESERVED_NATIVE_OPTIONAL 1024
+ * }
+ */
+ public static int H5VL_RESERVED_NATIVE_OPTIONAL() {
+ return H5VL_RESERVED_NATIVE_OPTIONAL;
+ }
+ private static final int H5VL_MAP_CREATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_CREATE 1
+ * }
+ */
+ public static int H5VL_MAP_CREATE() {
+ return H5VL_MAP_CREATE;
+ }
+ private static final int H5VL_MAP_OPEN = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_OPEN 2
+ * }
+ */
+ public static int H5VL_MAP_OPEN() {
+ return H5VL_MAP_OPEN;
+ }
+ private static final int H5VL_MAP_GET_VAL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_GET_VAL 3
+ * }
+ */
+ public static int H5VL_MAP_GET_VAL() {
+ return H5VL_MAP_GET_VAL;
+ }
+ private static final int H5VL_MAP_EXISTS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_EXISTS 4
+ * }
+ */
+ public static int H5VL_MAP_EXISTS() {
+ return H5VL_MAP_EXISTS;
+ }
+ private static final int H5VL_MAP_PUT = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_PUT 5
+ * }
+ */
+ public static int H5VL_MAP_PUT() {
+ return H5VL_MAP_PUT;
+ }
+ private static final int H5VL_MAP_GET = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_GET 6
+ * }
+ */
+ public static int H5VL_MAP_GET() {
+ return H5VL_MAP_GET;
+ }
+ private static final int H5VL_MAP_SPECIFIC = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_SPECIFIC 7
+ * }
+ */
+ public static int H5VL_MAP_SPECIFIC() {
+ return H5VL_MAP_SPECIFIC;
+ }
+ private static final int H5VL_MAP_OPTIONAL = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_OPTIONAL 8
+ * }
+ */
+ public static int H5VL_MAP_OPTIONAL() {
+ return H5VL_MAP_OPTIONAL;
+ }
+ private static final int H5VL_MAP_CLOSE = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_CLOSE 9
+ * }
+ */
+ public static int H5VL_MAP_CLOSE() {
+ return H5VL_MAP_CLOSE;
+ }
+ private static final int H5S_ALL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_ALL 0
+ * }
+ */
+ public static int H5S_ALL() {
+ return H5S_ALL;
+ }
+ private static final int H5S_BLOCK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_BLOCK 1
+ * }
+ */
+ public static int H5S_BLOCK() {
+ return H5S_BLOCK;
+ }
+ private static final int H5S_PLIST = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_PLIST 2
+ * }
+ */
+ public static int H5S_PLIST() {
+ return H5S_PLIST;
+ }
+ private static final int H5S_MAX_RANK = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_MAX_RANK 32
+ * }
+ */
+ public static int H5S_MAX_RANK() {
+ return H5S_MAX_RANK;
+ }
+ private static final int H5S_SEL_ITER_GET_SEQ_LIST_SORTED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_SEL_ITER_GET_SEQ_LIST_SORTED 1
+ * }
+ */
+ public static int H5S_SEL_ITER_GET_SEQ_LIST_SORTED() {
+ return H5S_SEL_ITER_GET_SEQ_LIST_SORTED;
+ }
+ private static final int H5S_SEL_ITER_SHARE_WITH_DATASPACE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_SEL_ITER_SHARE_WITH_DATASPACE 2
+ * }
+ */
+ public static int H5S_SEL_ITER_SHARE_WITH_DATASPACE() {
+ return H5S_SEL_ITER_SHARE_WITH_DATASPACE;
+ }
+ private static final int H5Z_FILTER_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_NONE 0
+ * }
+ */
+ public static int H5Z_FILTER_NONE() {
+ return H5Z_FILTER_NONE;
+ }
+ private static final int H5Z_FILTER_DEFLATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_DEFLATE 1
+ * }
+ */
+ public static int H5Z_FILTER_DEFLATE() {
+ return H5Z_FILTER_DEFLATE;
+ }
+ private static final int H5Z_FILTER_SHUFFLE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_SHUFFLE 2
+ * }
+ */
+ public static int H5Z_FILTER_SHUFFLE() {
+ return H5Z_FILTER_SHUFFLE;
+ }
+ private static final int H5Z_FILTER_FLETCHER32 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_FLETCHER32 3
+ * }
+ */
+ public static int H5Z_FILTER_FLETCHER32() {
+ return H5Z_FILTER_FLETCHER32;
+ }
+ private static final int H5Z_FILTER_SZIP = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_SZIP 4
+ * }
+ */
+ public static int H5Z_FILTER_SZIP() {
+ return H5Z_FILTER_SZIP;
+ }
+ private static final int H5Z_FILTER_NBIT = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_NBIT 5
+ * }
+ */
+ public static int H5Z_FILTER_NBIT() {
+ return H5Z_FILTER_NBIT;
+ }
+ private static final int H5Z_FILTER_SCALEOFFSET = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_SCALEOFFSET 6
+ * }
+ */
+ public static int H5Z_FILTER_SCALEOFFSET() {
+ return H5Z_FILTER_SCALEOFFSET;
+ }
+ private static final int H5Z_FILTER_RESERVED = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_RESERVED 256
+ * }
+ */
+ public static int H5Z_FILTER_RESERVED() {
+ return H5Z_FILTER_RESERVED;
+ }
+ private static final int H5Z_FILTER_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_MAX 65535
+ * }
+ */
+ public static int H5Z_FILTER_MAX() {
+ return H5Z_FILTER_MAX;
+ }
+ private static final int H5Z_FILTER_ALL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_ALL 0
+ * }
+ */
+ public static int H5Z_FILTER_ALL() {
+ return H5Z_FILTER_ALL;
+ }
+ private static final int H5Z_MAX_NFILTERS = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_MAX_NFILTERS 32
+ * }
+ */
+ public static int H5Z_MAX_NFILTERS() {
+ return H5Z_MAX_NFILTERS;
+ }
+ private static final int H5Z_FLAG_DEFMASK = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_DEFMASK 255
+ * }
+ */
+ public static int H5Z_FLAG_DEFMASK() {
+ return H5Z_FLAG_DEFMASK;
+ }
+ private static final int H5Z_FLAG_MANDATORY = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_MANDATORY 0
+ * }
+ */
+ public static int H5Z_FLAG_MANDATORY() {
+ return H5Z_FLAG_MANDATORY;
+ }
+ private static final int H5Z_FLAG_OPTIONAL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_OPTIONAL 1
+ * }
+ */
+ public static int H5Z_FLAG_OPTIONAL() {
+ return H5Z_FLAG_OPTIONAL;
+ }
+ private static final int H5Z_FLAG_INVMASK = (int)65280L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_INVMASK 65280
+ * }
+ */
+ public static int H5Z_FLAG_INVMASK() {
+ return H5Z_FLAG_INVMASK;
+ }
+ private static final int H5Z_FLAG_REVERSE = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_REVERSE 256
+ * }
+ */
+ public static int H5Z_FLAG_REVERSE() {
+ return H5Z_FLAG_REVERSE;
+ }
+ private static final int H5Z_FLAG_SKIP_EDC = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_SKIP_EDC 512
+ * }
+ */
+ public static int H5Z_FLAG_SKIP_EDC() {
+ return H5Z_FLAG_SKIP_EDC;
+ }
+ private static final int H5_SZIP_ALLOW_K13_OPTION_MASK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_ALLOW_K13_OPTION_MASK 1
+ * }
+ */
+ public static int H5_SZIP_ALLOW_K13_OPTION_MASK() {
+ return H5_SZIP_ALLOW_K13_OPTION_MASK;
+ }
+ private static final int H5_SZIP_CHIP_OPTION_MASK = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_CHIP_OPTION_MASK 2
+ * }
+ */
+ public static int H5_SZIP_CHIP_OPTION_MASK() {
+ return H5_SZIP_CHIP_OPTION_MASK;
+ }
+ private static final int H5_SZIP_EC_OPTION_MASK = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_EC_OPTION_MASK 4
+ * }
+ */
+ public static int H5_SZIP_EC_OPTION_MASK() {
+ return H5_SZIP_EC_OPTION_MASK;
+ }
+ private static final int H5_SZIP_NN_OPTION_MASK = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_NN_OPTION_MASK 32
+ * }
+ */
+ public static int H5_SZIP_NN_OPTION_MASK() {
+ return H5_SZIP_NN_OPTION_MASK;
+ }
+ private static final int H5_SZIP_MAX_PIXELS_PER_BLOCK = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_MAX_PIXELS_PER_BLOCK 32
+ * }
+ */
+ public static int H5_SZIP_MAX_PIXELS_PER_BLOCK() {
+ return H5_SZIP_MAX_PIXELS_PER_BLOCK;
+ }
+ private static final int H5Z_SHUFFLE_USER_NPARMS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SHUFFLE_USER_NPARMS 0
+ * }
+ */
+ public static int H5Z_SHUFFLE_USER_NPARMS() {
+ return H5Z_SHUFFLE_USER_NPARMS;
+ }
+ private static final int H5Z_SHUFFLE_TOTAL_NPARMS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SHUFFLE_TOTAL_NPARMS 1
+ * }
+ */
+ public static int H5Z_SHUFFLE_TOTAL_NPARMS() {
+ return H5Z_SHUFFLE_TOTAL_NPARMS;
+ }
+ private static final int H5Z_SZIP_USER_NPARMS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_USER_NPARMS 2
+ * }
+ */
+ public static int H5Z_SZIP_USER_NPARMS() {
+ return H5Z_SZIP_USER_NPARMS;
+ }
+ private static final int H5Z_SZIP_TOTAL_NPARMS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_TOTAL_NPARMS 4
+ * }
+ */
+ public static int H5Z_SZIP_TOTAL_NPARMS() {
+ return H5Z_SZIP_TOTAL_NPARMS;
+ }
+ private static final int H5Z_SZIP_PARM_MASK = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_MASK 0
+ * }
+ */
+ public static int H5Z_SZIP_PARM_MASK() {
+ return H5Z_SZIP_PARM_MASK;
+ }
+ private static final int H5Z_SZIP_PARM_PPB = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_PPB 1
+ * }
+ */
+ public static int H5Z_SZIP_PARM_PPB() {
+ return H5Z_SZIP_PARM_PPB;
+ }
+ private static final int H5Z_SZIP_PARM_BPP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_BPP 2
+ * }
+ */
+ public static int H5Z_SZIP_PARM_BPP() {
+ return H5Z_SZIP_PARM_BPP;
+ }
+ private static final int H5Z_SZIP_PARM_PPS = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_PPS 3
+ * }
+ */
+ public static int H5Z_SZIP_PARM_PPS() {
+ return H5Z_SZIP_PARM_PPS;
+ }
+ private static final int H5Z_NBIT_USER_NPARMS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_NBIT_USER_NPARMS 0
+ * }
+ */
+ public static int H5Z_NBIT_USER_NPARMS() {
+ return H5Z_NBIT_USER_NPARMS;
+ }
+ private static final int H5Z_SCALEOFFSET_USER_NPARMS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SCALEOFFSET_USER_NPARMS 2
+ * }
+ */
+ public static int H5Z_SCALEOFFSET_USER_NPARMS() {
+ return H5Z_SCALEOFFSET_USER_NPARMS;
+ }
+ private static final int H5Z_SO_INT_MINBITS_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SO_INT_MINBITS_DEFAULT 0
+ * }
+ */
+ public static int H5Z_SO_INT_MINBITS_DEFAULT() {
+ return H5Z_SO_INT_MINBITS_DEFAULT;
+ }
+ private static final int H5P_CRT_ORDER_TRACKED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5P_CRT_ORDER_TRACKED 1
+ * }
+ */
+ public static int H5P_CRT_ORDER_TRACKED() {
+ return H5P_CRT_ORDER_TRACKED;
+ }
+ private static final int H5P_CRT_ORDER_INDEXED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5P_CRT_ORDER_INDEXED 2
+ * }
+ */
+ public static int H5P_CRT_ORDER_INDEXED() {
+ return H5P_CRT_ORDER_INDEXED;
+ }
+ private static final int H5P_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5P_DEFAULT 0
+ * }
+ */
+ public static int H5P_DEFAULT() {
+ return H5P_DEFAULT;
+ }
+ private static final int H5PL_FILTER_PLUGIN = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_FILTER_PLUGIN 1
+ * }
+ */
+ public static int H5PL_FILTER_PLUGIN() {
+ return H5PL_FILTER_PLUGIN;
+ }
+ private static final int H5PL_VOL_PLUGIN = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_VOL_PLUGIN 2
+ * }
+ */
+ public static int H5PL_VOL_PLUGIN() {
+ return H5PL_VOL_PLUGIN;
+ }
+ private static final int H5PL_VFD_PLUGIN = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_VFD_PLUGIN 4
+ * }
+ */
+ public static int H5PL_VFD_PLUGIN() {
+ return H5PL_VFD_PLUGIN;
+ }
+ private static final int H5PL_ALL_PLUGIN = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_ALL_PLUGIN 65535
+ * }
+ */
+ public static int H5PL_ALL_PLUGIN() {
+ return H5PL_ALL_PLUGIN;
+ }
+ private static final int H5FD_CLASS_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CLASS_VERSION 1
+ * }
+ */
+ public static int H5FD_CLASS_VERSION() {
+ return H5FD_CLASS_VERSION;
+ }
+ private static final int H5L_LINK_CLASS_T_VERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_LINK_CLASS_T_VERS 1
+ * }
+ */
+ public static int H5L_LINK_CLASS_T_VERS() {
+ return H5L_LINK_CLASS_T_VERS;
+ }
+ private static final int H5L_EXT_VERSION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_EXT_VERSION 0
+ * }
+ */
+ public static int H5L_EXT_VERSION() {
+ return H5L_EXT_VERSION;
+ }
+ private static final int H5L_EXT_FLAGS_ALL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_EXT_FLAGS_ALL 0
+ * }
+ */
+ public static int H5L_EXT_FLAGS_ALL() {
+ return H5L_EXT_FLAGS_ALL;
+ }
+ private static final int H5L_LINK_CLASS_T_VERS_0 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_LINK_CLASS_T_VERS_0 0
+ * }
+ */
+ public static int H5L_LINK_CLASS_T_VERS_0() {
+ return H5L_LINK_CLASS_T_VERS_0;
+ }
+ private static final int H5VL_NATIVE_VERSION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_VERSION 0
+ * }
+ */
+ public static int H5VL_NATIVE_VERSION() {
+ return H5VL_NATIVE_VERSION;
+ }
+ private static final int H5VL_NATIVE_ATTR_ITERATE_OLD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_ATTR_ITERATE_OLD 0
+ * }
+ */
+ public static int H5VL_NATIVE_ATTR_ITERATE_OLD() {
+ return H5VL_NATIVE_ATTR_ITERATE_OLD;
+ }
+ private static final int H5VL_NATIVE_DATASET_FORMAT_CONVERT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_FORMAT_CONVERT 0
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_FORMAT_CONVERT() {
+ return H5VL_NATIVE_DATASET_FORMAT_CONVERT;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE 1
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE 2
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_NUM_CHUNKS = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_NUM_CHUNKS 3
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_NUM_CHUNKS() {
+ return H5VL_NATIVE_DATASET_GET_NUM_CHUNKS;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX 4
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD 5
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD;
+ }
+ private static final int H5VL_NATIVE_DATASET_CHUNK_READ = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_CHUNK_READ 6
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_CHUNK_READ() {
+ return H5VL_NATIVE_DATASET_CHUNK_READ;
+ }
+ private static final int H5VL_NATIVE_DATASET_CHUNK_WRITE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_CHUNK_WRITE 7
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_CHUNK_WRITE() {
+ return H5VL_NATIVE_DATASET_CHUNK_WRITE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE 8
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE() {
+ return H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_OFFSET = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_OFFSET 9
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_OFFSET() {
+ return H5VL_NATIVE_DATASET_GET_OFFSET;
+ }
+ private static final int H5VL_NATIVE_DATASET_CHUNK_ITER = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_CHUNK_ITER 10
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_CHUNK_ITER() {
+ return H5VL_NATIVE_DATASET_CHUNK_ITER;
+ }
+ private static final int H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE 0
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE() {
+ return H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_FILE_IMAGE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_FILE_IMAGE 1
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_FILE_IMAGE() {
+ return H5VL_NATIVE_FILE_GET_FILE_IMAGE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_FREE_SECTIONS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_FREE_SECTIONS 2
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_FREE_SECTIONS() {
+ return H5VL_NATIVE_FILE_GET_FREE_SECTIONS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_FREE_SPACE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_FREE_SPACE 3
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_FREE_SPACE() {
+ return H5VL_NATIVE_FILE_GET_FREE_SPACE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_INFO = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_INFO 4
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_INFO() {
+ return H5VL_NATIVE_FILE_GET_INFO;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_CONF = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_CONF 5
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_CONF() {
+ return H5VL_NATIVE_FILE_GET_MDC_CONF;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_HR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_HR 6
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_HR() {
+ return H5VL_NATIVE_FILE_GET_MDC_HR;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_SIZE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_SIZE 7
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_SIZE() {
+ return H5VL_NATIVE_FILE_GET_MDC_SIZE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_SIZE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_SIZE 8
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_SIZE() {
+ return H5VL_NATIVE_FILE_GET_SIZE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_VFD_HANDLE = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_VFD_HANDLE 9
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_VFD_HANDLE() {
+ return H5VL_NATIVE_FILE_GET_VFD_HANDLE;
+ }
+ private static final int H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE 10
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE() {
+ return H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE;
+ }
+ private static final int H5VL_NATIVE_FILE_SET_MDC_CONFIG = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_SET_MDC_CONFIG 11
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_SET_MDC_CONFIG() {
+ return H5VL_NATIVE_FILE_SET_MDC_CONFIG;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO 12
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO() {
+ return H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO;
+ }
+ private static final int H5VL_NATIVE_FILE_START_SWMR_WRITE = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_START_SWMR_WRITE 13
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_START_SWMR_WRITE() {
+ return H5VL_NATIVE_FILE_START_SWMR_WRITE;
+ }
+ private static final int H5VL_NATIVE_FILE_START_MDC_LOGGING = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_START_MDC_LOGGING 14
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_START_MDC_LOGGING() {
+ return H5VL_NATIVE_FILE_START_MDC_LOGGING;
+ }
+ private static final int H5VL_NATIVE_FILE_STOP_MDC_LOGGING = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_STOP_MDC_LOGGING 15
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_STOP_MDC_LOGGING() {
+ return H5VL_NATIVE_FILE_STOP_MDC_LOGGING;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS 16
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS() {
+ return H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS;
+ }
+ private static final int H5VL_NATIVE_FILE_FORMAT_CONVERT = (int)17L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_FORMAT_CONVERT 17
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_FORMAT_CONVERT() {
+ return H5VL_NATIVE_FILE_FORMAT_CONVERT;
+ }
+ private static final int H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS = (int)18L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS 18
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS() {
+ return H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS = (int)19L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS 19
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS() {
+ return H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO 20
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO() {
+ return H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_EOA = (int)21L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_EOA 21
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_EOA() {
+ return H5VL_NATIVE_FILE_GET_EOA;
+ }
+ private static final int H5VL_NATIVE_FILE_INCR_FILESIZE = (int)22L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_INCR_FILESIZE 22
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_INCR_FILESIZE() {
+ return H5VL_NATIVE_FILE_INCR_FILESIZE;
+ }
+ private static final int H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS = (int)23L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS 23
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS() {
+ return H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG = (int)24L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG 24
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG() {
+ return H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG;
+ }
+ private static final int H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG = (int)25L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG 25
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG() {
+ return H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG;
+ }
+ private static final int H5VL_NATIVE_FILE_POST_OPEN = (int)28L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_POST_OPEN 28
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_POST_OPEN() {
+ return H5VL_NATIVE_FILE_POST_OPEN;
+ }
+ private static final int H5VL_NATIVE_GROUP_ITERATE_OLD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_GROUP_ITERATE_OLD 0
+ * }
+ */
+ public static int H5VL_NATIVE_GROUP_ITERATE_OLD() {
+ return H5VL_NATIVE_GROUP_ITERATE_OLD;
+ }
+ private static final int H5VL_NATIVE_GROUP_GET_OBJINFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_GROUP_GET_OBJINFO 1
+ * }
+ */
+ public static int H5VL_NATIVE_GROUP_GET_OBJINFO() {
+ return H5VL_NATIVE_GROUP_GET_OBJINFO;
+ }
+ private static final int H5VL_NATIVE_OBJECT_GET_COMMENT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_GET_COMMENT 0
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_GET_COMMENT() {
+ return H5VL_NATIVE_OBJECT_GET_COMMENT;
+ }
+ private static final int H5VL_NATIVE_OBJECT_SET_COMMENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_SET_COMMENT 1
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_SET_COMMENT() {
+ return H5VL_NATIVE_OBJECT_SET_COMMENT;
+ }
+ private static final int H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES 2
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES() {
+ return H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES;
+ }
+ private static final int H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES 3
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES() {
+ return H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES;
+ }
+ private static final int H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED 4
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED() {
+ return H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED;
+ }
+ private static final int H5VL_NATIVE_OBJECT_GET_NATIVE_INFO = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_GET_NATIVE_INFO 5
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_GET_NATIVE_INFO() {
+ return H5VL_NATIVE_OBJECT_GET_NATIVE_INFO;
+ }
+ private static final int MBOUNDARY_DEF = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define MBOUNDARY_DEF 4096
+ * }
+ */
+ public static int MBOUNDARY_DEF() {
+ return MBOUNDARY_DEF;
+ }
+ private static final int FBSIZE_DEF = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define FBSIZE_DEF 4096
+ * }
+ */
+ public static int FBSIZE_DEF() {
+ return FBSIZE_DEF;
+ }
+ private static final int H5FD_LOG_TRUNCATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TRUNCATE 1
+ * }
+ */
+ public static int H5FD_LOG_TRUNCATE() {
+ return H5FD_LOG_TRUNCATE;
+ }
+ private static final int H5FD_LOG_LOC_READ = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_READ 2
+ * }
+ */
+ public static int H5FD_LOG_LOC_READ() {
+ return H5FD_LOG_LOC_READ;
+ }
+ private static final int H5FD_LOG_LOC_WRITE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_WRITE 4
+ * }
+ */
+ public static int H5FD_LOG_LOC_WRITE() {
+ return H5FD_LOG_LOC_WRITE;
+ }
+ private static final int H5FD_LOG_LOC_SEEK = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_SEEK 8
+ * }
+ */
+ public static int H5FD_LOG_LOC_SEEK() {
+ return H5FD_LOG_LOC_SEEK;
+ }
+ private static final int H5FD_LOG_FILE_READ = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FILE_READ 16
+ * }
+ */
+ public static int H5FD_LOG_FILE_READ() {
+ return H5FD_LOG_FILE_READ;
+ }
+ private static final int H5FD_LOG_FILE_WRITE = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FILE_WRITE 32
+ * }
+ */
+ public static int H5FD_LOG_FILE_WRITE() {
+ return H5FD_LOG_FILE_WRITE;
+ }
+ private static final int H5FD_LOG_FLAVOR = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FLAVOR 64
+ * }
+ */
+ public static int H5FD_LOG_FLAVOR() {
+ return H5FD_LOG_FLAVOR;
+ }
+ private static final int H5FD_LOG_NUM_READ = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_READ 128
+ * }
+ */
+ public static int H5FD_LOG_NUM_READ() {
+ return H5FD_LOG_NUM_READ;
+ }
+ private static final int H5FD_LOG_NUM_WRITE = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_WRITE 256
+ * }
+ */
+ public static int H5FD_LOG_NUM_WRITE() {
+ return H5FD_LOG_NUM_WRITE;
+ }
+ private static final int H5FD_LOG_NUM_SEEK = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_SEEK 512
+ * }
+ */
+ public static int H5FD_LOG_NUM_SEEK() {
+ return H5FD_LOG_NUM_SEEK;
+ }
+ private static final int H5FD_LOG_NUM_TRUNCATE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_TRUNCATE 1024
+ * }
+ */
+ public static int H5FD_LOG_NUM_TRUNCATE() {
+ return H5FD_LOG_NUM_TRUNCATE;
+ }
+ private static final int H5FD_LOG_TIME_OPEN = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_OPEN 2048
+ * }
+ */
+ public static int H5FD_LOG_TIME_OPEN() {
+ return H5FD_LOG_TIME_OPEN;
+ }
+ private static final int H5FD_LOG_TIME_STAT = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_STAT 4096
+ * }
+ */
+ public static int H5FD_LOG_TIME_STAT() {
+ return H5FD_LOG_TIME_STAT;
+ }
+ private static final int H5FD_LOG_TIME_READ = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_READ 8192
+ * }
+ */
+ public static int H5FD_LOG_TIME_READ() {
+ return H5FD_LOG_TIME_READ;
+ }
+ private static final int H5FD_LOG_TIME_WRITE = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_WRITE 16384
+ * }
+ */
+ public static int H5FD_LOG_TIME_WRITE() {
+ return H5FD_LOG_TIME_WRITE;
+ }
+ private static final int H5FD_LOG_TIME_SEEK = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_SEEK 32768
+ * }
+ */
+ public static int H5FD_LOG_TIME_SEEK() {
+ return H5FD_LOG_TIME_SEEK;
+ }
+ private static final int H5FD_LOG_TIME_TRUNCATE = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_TRUNCATE 65536
+ * }
+ */
+ public static int H5FD_LOG_TIME_TRUNCATE() {
+ return H5FD_LOG_TIME_TRUNCATE;
+ }
+ private static final int H5FD_LOG_TIME_CLOSE = (int)131072L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_CLOSE 131072
+ * }
+ */
+ public static int H5FD_LOG_TIME_CLOSE() {
+ return H5FD_LOG_TIME_CLOSE;
+ }
+ private static final int H5FD_LOG_ALLOC = (int)262144L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_ALLOC 262144
+ * }
+ */
+ public static int H5FD_LOG_ALLOC() {
+ return H5FD_LOG_ALLOC;
+ }
+ private static final int H5FD_LOG_FREE = (int)524288L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FREE 524288
+ * }
+ */
+ public static int H5FD_LOG_FREE() {
+ return H5FD_LOG_FREE;
+ }
+ private static final int H5D_ONE_LINK_CHUNK_IO_THRESHOLD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_ONE_LINK_CHUNK_IO_THRESHOLD 0
+ * }
+ */
+ public static int H5D_ONE_LINK_CHUNK_IO_THRESHOLD() {
+ return H5D_ONE_LINK_CHUNK_IO_THRESHOLD;
+ }
+ private static final int H5D_MULTI_CHUNK_IO_COL_THRESHOLD = (int)60L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_MULTI_CHUNK_IO_COL_THRESHOLD 60
+ * }
+ */
+ public static int H5D_MULTI_CHUNK_IO_COL_THRESHOLD() {
+ return H5D_MULTI_CHUNK_IO_COL_THRESHOLD;
+ }
+ private static final int H5FD_ONION_FAPL_INFO_VERSION_CURR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_VERSION_CURR 1
+ * }
+ */
+ public static int H5FD_ONION_FAPL_INFO_VERSION_CURR() {
+ return H5FD_ONION_FAPL_INFO_VERSION_CURR;
+ }
+ private static final int H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN 255
+ * }
+ */
+ public static int H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN() {
+ return H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN;
+ }
+ private static final int H5FD_CURR_ROS3_FAPL_T_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CURR_ROS3_FAPL_T_VERSION 1
+ * }
+ */
+ public static int H5FD_CURR_ROS3_FAPL_T_VERSION() {
+ return H5FD_CURR_ROS3_FAPL_T_VERSION;
+ }
+ private static final int H5FD_ROS3_MAX_REGION_LEN = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3_MAX_REGION_LEN 32
+ * }
+ */
+ public static int H5FD_ROS3_MAX_REGION_LEN() {
+ return H5FD_ROS3_MAX_REGION_LEN;
+ }
+ private static final int H5FD_ROS3_MAX_SECRET_ID_LEN = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3_MAX_SECRET_ID_LEN 128
+ * }
+ */
+ public static int H5FD_ROS3_MAX_SECRET_ID_LEN() {
+ return H5FD_ROS3_MAX_SECRET_ID_LEN;
+ }
+ private static final int H5FD_ROS3_MAX_SECRET_KEY_LEN = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3_MAX_SECRET_KEY_LEN 128
+ * }
+ */
+ public static int H5FD_ROS3_MAX_SECRET_KEY_LEN() {
+ return H5FD_ROS3_MAX_SECRET_KEY_LEN;
+ }
+ private static final int H5FD_ROS3_MAX_SECRET_TOK_LEN = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3_MAX_SECRET_TOK_LEN 4096
+ * }
+ */
+ public static int H5FD_ROS3_MAX_SECRET_TOK_LEN() {
+ return H5FD_ROS3_MAX_SECRET_TOK_LEN;
+ }
+ private static final int H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION 1
+ * }
+ */
+ public static int H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION() {
+ return H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION;
+ }
+ private static final int H5FD_SPLITTER_PATH_MAX = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SPLITTER_PATH_MAX 4096
+ * }
+ */
+ public static int H5FD_SPLITTER_PATH_MAX() {
+ return H5FD_SPLITTER_PATH_MAX;
+ }
+ private static final int H5FD_SPLITTER_MAGIC = (int)730949760L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SPLITTER_MAGIC 730949760
+ * }
+ */
+ public static int H5FD_SPLITTER_MAGIC() {
+ return H5FD_SPLITTER_MAGIC;
+ }
+ private static final int H5VL_PASSTHRU_VALUE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_PASSTHRU_VALUE 1
+ * }
+ */
+ public static int H5VL_PASSTHRU_VALUE() {
+ return H5VL_PASSTHRU_VALUE;
+ }
+ private static final int H5VL_PASSTHRU_VERSION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_PASSTHRU_VERSION 0
+ * }
+ */
+ public static int H5VL_PASSTHRU_VERSION() {
+ return H5VL_PASSTHRU_VERSION;
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char __u_char
+ * }
+ */
+ public static final OfByte __u_char = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short __u_short
+ * }
+ */
+ public static final OfShort __u_short = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __u_int
+ * }
+ */
+ public static final OfInt __u_int = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __u_long
+ * }
+ */
+ public static final OfLong __u_long = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef signed char __int8_t
+ * }
+ */
+ public static final OfByte __int8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char __uint8_t
+ * }
+ */
+ public static final OfByte __uint8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef short __int16_t
+ * }
+ */
+ public static final OfShort __int16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short __uint16_t
+ * }
+ */
+ public static final OfShort __uint16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef int __int32_t
+ * }
+ */
+ public static final OfInt __int32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __uint32_t
+ * }
+ */
+ public static final OfInt __uint32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long __int64_t
+ * }
+ */
+ public static final OfLong __int64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __uint64_t
+ * }
+ */
+ public static final OfLong __uint64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __int8_t __int_least8_t
+ * }
+ */
+ public static final OfByte __int_least8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint8_t __uint_least8_t
+ * }
+ */
+ public static final OfByte __uint_least8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef __int16_t __int_least16_t
+ * }
+ */
+ public static final OfShort __int_least16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint16_t __uint_least16_t
+ * }
+ */
+ public static final OfShort __uint_least16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int32_t __int_least32_t
+ * }
+ */
+ public static final OfInt __int_least32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t __uint_least32_t
+ * }
+ */
+ public static final OfInt __uint_least32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int64_t __int_least64_t
+ * }
+ */
+ public static final OfLong __int_least64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint64_t __uint_least64_t
+ * }
+ */
+ public static final OfLong __uint_least64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __quad_t
+ * }
+ */
+ public static final OfLong __quad_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __u_quad_t
+ * }
+ */
+ public static final OfLong __u_quad_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __intmax_t
+ * }
+ */
+ public static final OfLong __intmax_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __uintmax_t
+ * }
+ */
+ public static final OfLong __uintmax_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __dev_t
+ * }
+ */
+ public static final OfLong __dev_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __uid_t
+ * }
+ */
+ public static final OfInt __uid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __gid_t
+ * }
+ */
+ public static final OfInt __gid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __ino_t
+ * }
+ */
+ public static final OfLong __ino_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __ino64_t
+ * }
+ */
+ public static final OfLong __ino64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __mode_t
+ * }
+ */
+ public static final OfInt __mode_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __nlink_t
+ * }
+ */
+ public static final OfLong __nlink_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __off_t
+ * }
+ */
+ public static final OfLong __off_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __off64_t
+ * }
+ */
+ public static final OfLong __off64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int __pid_t
+ * }
+ */
+ public static final OfInt __pid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long __clock_t
+ * }
+ */
+ public static final OfLong __clock_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __rlim_t
+ * }
+ */
+ public static final OfLong __rlim_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __rlim64_t
+ * }
+ */
+ public static final OfLong __rlim64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __id_t
+ * }
+ */
+ public static final OfInt __id_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long __time_t
+ * }
+ */
+ public static final OfLong __time_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __useconds_t
+ * }
+ */
+ public static final OfInt __useconds_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long __suseconds_t
+ * }
+ */
+ public static final OfLong __suseconds_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __suseconds64_t
+ * }
+ */
+ public static final OfLong __suseconds64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int __daddr_t
+ * }
+ */
+ public static final OfInt __daddr_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int __key_t
+ * }
+ */
+ public static final OfInt __key_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int __clockid_t
+ * }
+ */
+ public static final OfInt __clockid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef void *__timer_t
+ * }
+ */
+ public static final AddressLayout __timer_t = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef long __blksize_t
+ * }
+ */
+ public static final OfLong __blksize_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __blkcnt_t
+ * }
+ */
+ public static final OfLong __blkcnt_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __blkcnt64_t
+ * }
+ */
+ public static final OfLong __blkcnt64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __fsblkcnt_t
+ * }
+ */
+ public static final OfLong __fsblkcnt_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __fsblkcnt64_t
+ * }
+ */
+ public static final OfLong __fsblkcnt64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __fsfilcnt_t
+ * }
+ */
+ public static final OfLong __fsfilcnt_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __fsfilcnt64_t
+ * }
+ */
+ public static final OfLong __fsfilcnt64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __fsword_t
+ * }
+ */
+ public static final OfLong __fsword_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __ssize_t
+ * }
+ */
+ public static final OfLong __ssize_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __syscall_slong_t
+ * }
+ */
+ public static final OfLong __syscall_slong_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __syscall_ulong_t
+ * }
+ */
+ public static final OfLong __syscall_ulong_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __off64_t __loff_t
+ * }
+ */
+ public static final OfLong __loff_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef char *__caddr_t
+ * }
+ */
+ public static final AddressLayout __caddr_t = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef long __intptr_t
+ * }
+ */
+ public static final OfLong __intptr_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __socklen_t
+ * }
+ */
+ public static final OfInt __socklen_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int __sig_atomic_t
+ * }
+ */
+ public static final OfInt __sig_atomic_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int8_t int8_t
+ * }
+ */
+ public static final OfByte int8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef __int16_t int16_t
+ * }
+ */
+ public static final OfShort int16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int32_t int32_t
+ * }
+ */
+ public static final OfInt int32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int64_t int64_t
+ * }
+ */
+ public static final OfLong int64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint8_t uint8_t
+ * }
+ */
+ public static final OfByte uint8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint16_t uint16_t
+ * }
+ */
+ public static final OfShort uint16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t uint32_t
+ * }
+ */
+ public static final OfInt uint32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint64_t uint64_t
+ * }
+ */
+ public static final OfLong uint64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __int_least8_t int_least8_t
+ * }
+ */
+ public static final OfByte int_least8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef __int_least16_t int_least16_t
+ * }
+ */
+ public static final OfShort int_least16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int_least32_t int_least32_t
+ * }
+ */
+ public static final OfInt int_least32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int_least64_t int_least64_t
+ * }
+ */
+ public static final OfLong int_least64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint_least8_t uint_least8_t
+ * }
+ */
+ public static final OfByte uint_least8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint_least16_t uint_least16_t
+ * }
+ */
+ public static final OfShort uint_least16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint_least32_t uint_least32_t
+ * }
+ */
+ public static final OfInt uint_least32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint_least64_t uint_least64_t
+ * }
+ */
+ public static final OfLong uint_least64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef signed char int_fast8_t
+ * }
+ */
+ public static final OfByte int_fast8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef long int_fast16_t
+ * }
+ */
+ public static final OfLong int_fast16_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long int_fast32_t
+ * }
+ */
+ public static final OfLong int_fast32_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long int_fast64_t
+ * }
+ */
+ public static final OfLong int_fast64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char uint_fast8_t
+ * }
+ */
+ public static final OfByte uint_fast8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long uint_fast16_t
+ * }
+ */
+ public static final OfLong uint_fast16_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long uint_fast32_t
+ * }
+ */
+ public static final OfLong uint_fast32_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long uint_fast64_t
+ * }
+ */
+ public static final OfLong uint_fast64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long intptr_t
+ * }
+ */
+ public static final OfLong intptr_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long uintptr_t
+ * }
+ */
+ public static final OfLong uintptr_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __intmax_t intmax_t
+ * }
+ */
+ public static final OfLong intmax_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __uintmax_t uintmax_t
+ * }
+ */
+ public static final OfLong uintmax_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int __gwchar_t
+ * }
+ */
+ public static final OfInt __gwchar_t = hdf5_h.C_INT;
+
+ private static class imaxabs {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("imaxabs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern intmax_t imaxabs(intmax_t __n)
+ * }
+ */
+ public static FunctionDescriptor imaxabs$descriptor() {
+ return imaxabs.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern intmax_t imaxabs(intmax_t __n)
+ * }
+ */
+ public static MethodHandle imaxabs$handle() {
+ return imaxabs.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern intmax_t imaxabs(intmax_t __n)
+ * }
+ */
+ public static MemorySegment imaxabs$address() {
+ return imaxabs.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern intmax_t imaxabs(intmax_t __n)
+ * }
+ */
+ public static long imaxabs(long __n) {
+ var mh$ = imaxabs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("imaxabs", __n);
+ }
+ return (long)mh$.invokeExact(__n);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class imaxdiv {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ imaxdiv_t.layout(),
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("imaxdiv");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denom)
+ * }
+ */
+ public static FunctionDescriptor imaxdiv$descriptor() {
+ return imaxdiv.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denom)
+ * }
+ */
+ public static MethodHandle imaxdiv$handle() {
+ return imaxdiv.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denom)
+ * }
+ */
+ public static MemorySegment imaxdiv$address() {
+ return imaxdiv.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denom)
+ * }
+ */
+ public static MemorySegment imaxdiv(SegmentAllocator allocator, long __numer, long __denom) {
+ var mh$ = imaxdiv.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("imaxdiv", allocator, __numer, __denom);
+ }
+ return (MemorySegment)mh$.invokeExact(allocator, __numer, __denom);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class strtoimax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("strtoimax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern intmax_t strtoimax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static FunctionDescriptor strtoimax$descriptor() {
+ return strtoimax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern intmax_t strtoimax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static MethodHandle strtoimax$handle() {
+ return strtoimax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern intmax_t strtoimax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static MemorySegment strtoimax$address() {
+ return strtoimax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern intmax_t strtoimax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static long strtoimax(MemorySegment __nptr, MemorySegment __endptr, int __base) {
+ var mh$ = strtoimax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("strtoimax", __nptr, __endptr, __base);
+ }
+ return (long)mh$.invokeExact(__nptr, __endptr, __base);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class strtoumax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("strtoumax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern uintmax_t strtoumax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static FunctionDescriptor strtoumax$descriptor() {
+ return strtoumax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern uintmax_t strtoumax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static MethodHandle strtoumax$handle() {
+ return strtoumax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern uintmax_t strtoumax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static MemorySegment strtoumax$address() {
+ return strtoumax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern uintmax_t strtoumax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static long strtoumax(MemorySegment __nptr, MemorySegment __endptr, int __base) {
+ var mh$ = strtoumax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("strtoumax", __nptr, __endptr, __base);
+ }
+ return (long)mh$.invokeExact(__nptr, __endptr, __base);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class wcstoimax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("wcstoimax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern intmax_t wcstoimax(const __gwchar_t *restrict __nptr, __gwchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static FunctionDescriptor wcstoimax$descriptor() {
+ return wcstoimax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern intmax_t wcstoimax(const __gwchar_t *restrict __nptr, __gwchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static MethodHandle wcstoimax$handle() {
+ return wcstoimax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern intmax_t wcstoimax(const __gwchar_t *restrict __nptr, __gwchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static MemorySegment wcstoimax$address() {
+ return wcstoimax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern intmax_t wcstoimax(const __gwchar_t *restrict __nptr, __gwchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static long wcstoimax(MemorySegment __nptr, MemorySegment __endptr, int __base) {
+ var mh$ = wcstoimax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("wcstoimax", __nptr, __endptr, __base);
+ }
+ return (long)mh$.invokeExact(__nptr, __endptr, __base);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class wcstoumax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("wcstoumax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern uintmax_t wcstoumax(const __gwchar_t *restrict __nptr, __gwchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static FunctionDescriptor wcstoumax$descriptor() {
+ return wcstoumax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern uintmax_t wcstoumax(const __gwchar_t *restrict __nptr, __gwchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static MethodHandle wcstoumax$handle() {
+ return wcstoumax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern uintmax_t wcstoumax(const __gwchar_t *restrict __nptr, __gwchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static MemorySegment wcstoumax$address() {
+ return wcstoumax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern uintmax_t wcstoumax(const __gwchar_t *restrict __nptr, __gwchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static long wcstoumax(MemorySegment __nptr, MemorySegment __endptr, int __base) {
+ var mh$ = wcstoumax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("wcstoumax", __nptr, __endptr, __base);
+ }
+ return (long)mh$.invokeExact(__nptr, __endptr, __base);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef long ptrdiff_t
+ * }
+ */
+ public static final OfLong ptrdiff_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long size_t
+ * }
+ */
+ public static final OfLong size_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int wchar_t
+ * }
+ */
+ public static final OfInt wchar_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __u_char u_char
+ * }
+ */
+ public static final OfByte u_char = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef __u_short u_short
+ * }
+ */
+ public static final OfShort u_short = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __u_int u_int
+ * }
+ */
+ public static final OfInt u_int = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __u_long u_long
+ * }
+ */
+ public static final OfLong u_long = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __quad_t quad_t
+ * }
+ */
+ public static final OfLong quad_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __u_quad_t u_quad_t
+ * }
+ */
+ public static final OfLong u_quad_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __loff_t loff_t
+ * }
+ */
+ public static final OfLong loff_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __ino_t ino_t
+ * }
+ */
+ public static final OfLong ino_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __dev_t dev_t
+ * }
+ */
+ public static final OfLong dev_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __gid_t gid_t
+ * }
+ */
+ public static final OfInt gid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __mode_t mode_t
+ * }
+ */
+ public static final OfInt mode_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __nlink_t nlink_t
+ * }
+ */
+ public static final OfLong nlink_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __uid_t uid_t
+ * }
+ */
+ public static final OfInt uid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __off_t off_t
+ * }
+ */
+ public static final OfLong off_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __pid_t pid_t
+ * }
+ */
+ public static final OfInt pid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __id_t id_t
+ * }
+ */
+ public static final OfInt id_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __ssize_t ssize_t
+ * }
+ */
+ public static final OfLong ssize_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __daddr_t daddr_t
+ * }
+ */
+ public static final OfInt daddr_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __caddr_t caddr_t
+ * }
+ */
+ public static final AddressLayout caddr_t = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef __key_t key_t
+ * }
+ */
+ public static final OfInt key_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __clock_t clock_t
+ * }
+ */
+ public static final OfLong clock_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __clockid_t clockid_t
+ * }
+ */
+ public static final OfInt clockid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __time_t time_t
+ * }
+ */
+ public static final OfLong time_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __timer_t timer_t
+ * }
+ */
+ public static final AddressLayout timer_t = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long ulong
+ * }
+ */
+ public static final OfLong ulong = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short ushort
+ * }
+ */
+ public static final OfShort ushort = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int uint
+ * }
+ */
+ public static final OfInt uint = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint8_t u_int8_t
+ * }
+ */
+ public static final OfByte u_int8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint16_t u_int16_t
+ * }
+ */
+ public static final OfShort u_int16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t u_int32_t
+ * }
+ */
+ public static final OfInt u_int32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint64_t u_int64_t
+ * }
+ */
+ public static final OfLong u_int64_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int register_t
+ * }
+ */
+ public static final OfLong register_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __suseconds_t suseconds_t
+ * }
+ */
+ public static final OfLong suseconds_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __fd_mask
+ * }
+ */
+ public static final OfLong __fd_mask = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __fd_mask fd_mask
+ * }
+ */
+ public static final OfLong fd_mask = hdf5_h.C_LONG;
+
+ private static class select {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("select");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int select(int __nfds, fd_set *restrict __readfds, fd_set *restrict __writefds, fd_set *restrict __exceptfds, struct timeval *restrict __timeout)
+ * }
+ */
+ public static FunctionDescriptor select$descriptor() {
+ return select.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int select(int __nfds, fd_set *restrict __readfds, fd_set *restrict __writefds, fd_set *restrict __exceptfds, struct timeval *restrict __timeout)
+ * }
+ */
+ public static MethodHandle select$handle() {
+ return select.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int select(int __nfds, fd_set *restrict __readfds, fd_set *restrict __writefds, fd_set *restrict __exceptfds, struct timeval *restrict __timeout)
+ * }
+ */
+ public static MemorySegment select$address() {
+ return select.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern int select(int __nfds, fd_set *restrict __readfds, fd_set *restrict __writefds, fd_set *restrict __exceptfds, struct timeval *restrict __timeout)
+ * }
+ */
+ public static int select(int __nfds, MemorySegment __readfds, MemorySegment __writefds, MemorySegment __exceptfds, MemorySegment __timeout) {
+ var mh$ = select.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("select", __nfds, __readfds, __writefds, __exceptfds, __timeout);
+ }
+ return (int)mh$.invokeExact(__nfds, __readfds, __writefds, __exceptfds, __timeout);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class pselect {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("pselect");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int pselect(int __nfds, fd_set *restrict __readfds, fd_set *restrict __writefds, fd_set *restrict __exceptfds, const struct timespec *restrict __timeout, const __sigset_t *restrict __sigmask)
+ * }
+ */
+ public static FunctionDescriptor pselect$descriptor() {
+ return pselect.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int pselect(int __nfds, fd_set *restrict __readfds, fd_set *restrict __writefds, fd_set *restrict __exceptfds, const struct timespec *restrict __timeout, const __sigset_t *restrict __sigmask)
+ * }
+ */
+ public static MethodHandle pselect$handle() {
+ return pselect.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int pselect(int __nfds, fd_set *restrict __readfds, fd_set *restrict __writefds, fd_set *restrict __exceptfds, const struct timespec *restrict __timeout, const __sigset_t *restrict __sigmask)
+ * }
+ */
+ public static MemorySegment pselect$address() {
+ return pselect.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern int pselect(int __nfds, fd_set *restrict __readfds, fd_set *restrict __writefds, fd_set *restrict __exceptfds, const struct timespec *restrict __timeout, const __sigset_t *restrict __sigmask)
+ * }
+ */
+ public static int pselect(int __nfds, MemorySegment __readfds, MemorySegment __writefds, MemorySegment __exceptfds, MemorySegment __timeout, MemorySegment __sigmask) {
+ var mh$ = pselect.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("pselect", __nfds, __readfds, __writefds, __exceptfds, __timeout, __sigmask);
+ }
+ return (int)mh$.invokeExact(__nfds, __readfds, __writefds, __exceptfds, __timeout, __sigmask);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef __blksize_t blksize_t
+ * }
+ */
+ public static final OfLong blksize_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __blkcnt_t blkcnt_t
+ * }
+ */
+ public static final OfLong blkcnt_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __fsblkcnt_t fsblkcnt_t
+ * }
+ */
+ public static final OfLong fsblkcnt_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __fsfilcnt_t fsfilcnt_t
+ * }
+ */
+ public static final OfLong fsfilcnt_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __tss_t
+ * }
+ */
+ public static final OfInt __tss_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __thrd_t
+ * }
+ */
+ public static final OfLong __thrd_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long pthread_t
+ * }
+ */
+ public static final OfLong pthread_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int pthread_key_t
+ * }
+ */
+ public static final OfInt pthread_key_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int pthread_once_t
+ * }
+ */
+ public static final OfInt pthread_once_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef volatile int pthread_spinlock_t
+ * }
+ */
+ public static final OfInt pthread_spinlock_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int herr_t
+ * }
+ */
+ public static final OfInt herr_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef bool hbool_t
+ * }
+ */
+ public static final OfBoolean hbool_t = hdf5_h.C_BOOL;
+ /**
+ * {@snippet lang=c :
+ * typedef int htri_t
+ * }
+ */
+ public static final OfInt htri_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef uint64_t hsize_t
+ * }
+ */
+ public static final OfLong hsize_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef off_t HDoff_t
+ * }
+ */
+ public static final OfLong HDoff_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t hssize_t
+ * }
+ */
+ public static final OfLong hssize_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef uint64_t haddr_t
+ * }
+ */
+ public static final OfLong haddr_t = hdf5_h.C_LONG;
+ private static final int H5_ITER_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_UNKNOWN = -1
+ * }
+ */
+ public static int H5_ITER_UNKNOWN() {
+ return H5_ITER_UNKNOWN;
+ }
+ private static final int H5_ITER_INC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_INC = 0
+ * }
+ */
+ public static int H5_ITER_INC() {
+ return H5_ITER_INC;
+ }
+ private static final int H5_ITER_DEC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_DEC = 1
+ * }
+ */
+ public static int H5_ITER_DEC() {
+ return H5_ITER_DEC;
+ }
+ private static final int H5_ITER_NATIVE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_NATIVE = 2
+ * }
+ */
+ public static int H5_ITER_NATIVE() {
+ return H5_ITER_NATIVE;
+ }
+ private static final int H5_ITER_N = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_N = 3
+ * }
+ */
+ public static int H5_ITER_N() {
+ return H5_ITER_N;
+ }
+ private static final int H5_INDEX_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_UNKNOWN = -1
+ * }
+ */
+ public static int H5_INDEX_UNKNOWN() {
+ return H5_INDEX_UNKNOWN;
+ }
+ private static final int H5_INDEX_NAME = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_NAME = 0
+ * }
+ */
+ public static int H5_INDEX_NAME() {
+ return H5_INDEX_NAME;
+ }
+ private static final int H5_INDEX_CRT_ORDER = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_CRT_ORDER = 1
+ * }
+ */
+ public static int H5_INDEX_CRT_ORDER() {
+ return H5_INDEX_CRT_ORDER;
+ }
+ private static final int H5_INDEX_N = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_N = 2
+ * }
+ */
+ public static int H5_INDEX_N() {
+ return H5_INDEX_N;
+ }
+
+ private static class H5_libinit_g$constants {
+ public static final OfBoolean LAYOUT = hdf5_h.C_BOOL;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5_libinit_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static OfBoolean H5_libinit_g$layout() {
+ return H5_libinit_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static MemorySegment H5_libinit_g$segment() {
+ return H5_libinit_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static boolean H5_libinit_g() {
+ return H5_libinit_g$constants.SEGMENT.get(H5_libinit_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static void H5_libinit_g(boolean varValue) {
+ H5_libinit_g$constants.SEGMENT.set(H5_libinit_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5_libterm_g$constants {
+ public static final OfBoolean LAYOUT = hdf5_h.C_BOOL;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5_libterm_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static OfBoolean H5_libterm_g$layout() {
+ return H5_libterm_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static MemorySegment H5_libterm_g$segment() {
+ return H5_libterm_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static boolean H5_libterm_g() {
+ return H5_libterm_g$constants.SEGMENT.get(H5_libterm_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static void H5_libterm_g(boolean varValue) {
+ H5_libterm_g$constants.SEGMENT.set(H5_libterm_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5open {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static FunctionDescriptor H5open$descriptor() {
+ return H5open.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static MethodHandle H5open$handle() {
+ return H5open.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static MemorySegment H5open$address() {
+ return H5open.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static int H5open() {
+ var mh$ = H5open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5open");
+ }
+ return (int)mh$.invokeExact();
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5atclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5atclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5atclose$descriptor() {
+ return H5atclose.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static MethodHandle H5atclose$handle() {
+ return H5atclose.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static MemorySegment H5atclose$address() {
+ return H5atclose.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static int H5atclose(MemorySegment func, MemorySegment ctx) {
+ var mh$ = H5atclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5atclose", func, ctx);
+ }
+ return (int)mh$.invokeExact(func, ctx);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static FunctionDescriptor H5close$descriptor() {
+ return H5close.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static MethodHandle H5close$handle() {
+ return H5close.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static MemorySegment H5close$address() {
+ return H5close.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static int H5close() {
+ var mh$ = H5close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5close");
+ }
+ return (int)mh$.invokeExact();
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5dont_atexit {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5dont_atexit");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static FunctionDescriptor H5dont_atexit$descriptor() {
+ return H5dont_atexit.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static MethodHandle H5dont_atexit$handle() {
+ return H5dont_atexit.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static MemorySegment H5dont_atexit$address() {
+ return H5dont_atexit.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static int H5dont_atexit() {
+ var mh$ = H5dont_atexit.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5dont_atexit");
+ }
+ return (int)mh$.invokeExact();
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5garbage_collect {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5garbage_collect");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static FunctionDescriptor H5garbage_collect$descriptor() {
+ return H5garbage_collect.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static MethodHandle H5garbage_collect$handle() {
+ return H5garbage_collect.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static MemorySegment H5garbage_collect$address() {
+ return H5garbage_collect.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static int H5garbage_collect() {
+ var mh$ = H5garbage_collect.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5garbage_collect");
+ }
+ return (int)mh$.invokeExact();
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5set_free_list_limits {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5set_free_list_limits");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static FunctionDescriptor H5set_free_list_limits$descriptor() {
+ return H5set_free_list_limits.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static MethodHandle H5set_free_list_limits$handle() {
+ return H5set_free_list_limits.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static MemorySegment H5set_free_list_limits$address() {
+ return H5set_free_list_limits.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static int H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int arr_list_lim, int blk_global_lim, int blk_list_lim) {
+ var mh$ = H5set_free_list_limits.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5set_free_list_limits", reg_global_lim, reg_list_lim, arr_global_lim, arr_list_lim, blk_global_lim, blk_list_lim);
+ }
+ return (int)mh$.invokeExact(reg_global_lim, reg_list_lim, arr_global_lim, arr_list_lim, blk_global_lim, blk_list_lim);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5get_free_list_sizes {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5get_free_list_sizes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static FunctionDescriptor H5get_free_list_sizes$descriptor() {
+ return H5get_free_list_sizes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static MethodHandle H5get_free_list_sizes$handle() {
+ return H5get_free_list_sizes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static MemorySegment H5get_free_list_sizes$address() {
+ return H5get_free_list_sizes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static int H5get_free_list_sizes(MemorySegment reg_size, MemorySegment arr_size, MemorySegment blk_size, MemorySegment fac_size) {
+ var mh$ = H5get_free_list_sizes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5get_free_list_sizes", reg_size, arr_size, blk_size, fac_size);
+ }
+ return (int)mh$.invokeExact(reg_size, arr_size, blk_size, fac_size);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5get_libversion {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5get_libversion");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static FunctionDescriptor H5get_libversion$descriptor() {
+ return H5get_libversion.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static MethodHandle H5get_libversion$handle() {
+ return H5get_libversion.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static MemorySegment H5get_libversion$address() {
+ return H5get_libversion.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static int H5get_libversion(MemorySegment majnum, MemorySegment minnum, MemorySegment relnum) {
+ var mh$ = H5get_libversion.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5get_libversion", majnum, minnum, relnum);
+ }
+ return (int)mh$.invokeExact(majnum, minnum, relnum);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5check_version {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5check_version");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static FunctionDescriptor H5check_version$descriptor() {
+ return H5check_version.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static MethodHandle H5check_version$handle() {
+ return H5check_version.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static MemorySegment H5check_version$address() {
+ return H5check_version.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static int H5check_version(int majnum, int minnum, int relnum) {
+ var mh$ = H5check_version.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5check_version", majnum, minnum, relnum);
+ }
+ return (int)mh$.invokeExact(majnum, minnum, relnum);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5is_library_terminating {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5is_library_terminating");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static FunctionDescriptor H5is_library_terminating$descriptor() {
+ return H5is_library_terminating.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static MethodHandle H5is_library_terminating$handle() {
+ return H5is_library_terminating.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static MemorySegment H5is_library_terminating$address() {
+ return H5is_library_terminating.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static int H5is_library_terminating(MemorySegment is_terminating) {
+ var mh$ = H5is_library_terminating.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5is_library_terminating", is_terminating);
+ }
+ return (int)mh$.invokeExact(is_terminating);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5is_library_threadsafe {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5is_library_threadsafe");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static FunctionDescriptor H5is_library_threadsafe$descriptor() {
+ return H5is_library_threadsafe.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static MethodHandle H5is_library_threadsafe$handle() {
+ return H5is_library_threadsafe.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static MemorySegment H5is_library_threadsafe$address() {
+ return H5is_library_threadsafe.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static int H5is_library_threadsafe(MemorySegment is_ts) {
+ var mh$ = H5is_library_threadsafe.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5is_library_threadsafe", is_ts);
+ }
+ return (int)mh$.invokeExact(is_ts);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5free_memory {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5free_memory");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static FunctionDescriptor H5free_memory$descriptor() {
+ return H5free_memory.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static MethodHandle H5free_memory$handle() {
+ return H5free_memory.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static MemorySegment H5free_memory$address() {
+ return H5free_memory.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static int H5free_memory(MemorySegment mem) {
+ var mh$ = H5free_memory.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5free_memory", mem);
+ }
+ return (int)mh$.invokeExact(mem);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5allocate_memory {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_BOOL
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5allocate_memory");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static FunctionDescriptor H5allocate_memory$descriptor() {
+ return H5allocate_memory.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static MethodHandle H5allocate_memory$handle() {
+ return H5allocate_memory.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static MemorySegment H5allocate_memory$address() {
+ return H5allocate_memory.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static MemorySegment H5allocate_memory(long size, boolean clear) {
+ var mh$ = H5allocate_memory.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5allocate_memory", size, clear);
+ }
+ return (MemorySegment)mh$.invokeExact(size, clear);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5resize_memory {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5resize_memory");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5resize_memory$descriptor() {
+ return H5resize_memory.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static MethodHandle H5resize_memory$handle() {
+ return H5resize_memory.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static MemorySegment H5resize_memory$address() {
+ return H5resize_memory.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static MemorySegment H5resize_memory(MemorySegment mem, long size) {
+ var mh$ = H5resize_memory.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5resize_memory", mem, size);
+ }
+ return (MemorySegment)mh$.invokeExact(mem, size);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5I_UNINIT = (int)-2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_UNINIT = -2
+ * }
+ */
+ public static int H5I_UNINIT() {
+ return H5I_UNINIT;
+ }
+ private static final int H5I_BADID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_BADID = -1
+ * }
+ */
+ public static int H5I_BADID() {
+ return H5I_BADID;
+ }
+ private static final int H5I_FILE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_FILE = 1
+ * }
+ */
+ public static int H5I_FILE() {
+ return H5I_FILE;
+ }
+ private static final int H5I_GROUP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_GROUP = 2
+ * }
+ */
+ public static int H5I_GROUP() {
+ return H5I_GROUP;
+ }
+ private static final int H5I_DATATYPE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_DATATYPE = 3
+ * }
+ */
+ public static int H5I_DATATYPE() {
+ return H5I_DATATYPE;
+ }
+ private static final int H5I_DATASPACE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_DATASPACE = 4
+ * }
+ */
+ public static int H5I_DATASPACE() {
+ return H5I_DATASPACE;
+ }
+ private static final int H5I_DATASET = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_DATASET = 5
+ * }
+ */
+ public static int H5I_DATASET() {
+ return H5I_DATASET;
+ }
+ private static final int H5I_MAP = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_MAP = 6
+ * }
+ */
+ public static int H5I_MAP() {
+ return H5I_MAP;
+ }
+ private static final int H5I_ATTR = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ATTR = 7
+ * }
+ */
+ public static int H5I_ATTR() {
+ return H5I_ATTR;
+ }
+ private static final int H5I_VFL = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_VFL = 8
+ * }
+ */
+ public static int H5I_VFL() {
+ return H5I_VFL;
+ }
+ private static final int H5I_VOL = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_VOL = 9
+ * }
+ */
+ public static int H5I_VOL() {
+ return H5I_VOL;
+ }
+ private static final int H5I_GENPROP_CLS = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_GENPROP_CLS = 10
+ * }
+ */
+ public static int H5I_GENPROP_CLS() {
+ return H5I_GENPROP_CLS;
+ }
+ private static final int H5I_GENPROP_LST = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_GENPROP_LST = 11
+ * }
+ */
+ public static int H5I_GENPROP_LST() {
+ return H5I_GENPROP_LST;
+ }
+ private static final int H5I_ERROR_CLASS = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ERROR_CLASS = 12
+ * }
+ */
+ public static int H5I_ERROR_CLASS() {
+ return H5I_ERROR_CLASS;
+ }
+ private static final int H5I_ERROR_MSG = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ERROR_MSG = 13
+ * }
+ */
+ public static int H5I_ERROR_MSG() {
+ return H5I_ERROR_MSG;
+ }
+ private static final int H5I_ERROR_STACK = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ERROR_STACK = 14
+ * }
+ */
+ public static int H5I_ERROR_STACK() {
+ return H5I_ERROR_STACK;
+ }
+ private static final int H5I_SPACE_SEL_ITER = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_SPACE_SEL_ITER = 15
+ * }
+ */
+ public static int H5I_SPACE_SEL_ITER() {
+ return H5I_SPACE_SEL_ITER;
+ }
+ private static final int H5I_EVENTSET = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_EVENTSET = 16
+ * }
+ */
+ public static int H5I_EVENTSET() {
+ return H5I_EVENTSET;
+ }
+ private static final int H5I_NTYPES = (int)17L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_NTYPES = 17
+ * }
+ */
+ public static int H5I_NTYPES() {
+ return H5I_NTYPES;
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t hid_t
+ * }
+ */
+ public static final OfLong hid_t = hdf5_h.C_LONG;
+
+ private static class H5Iregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister$descriptor() {
+ return H5Iregister.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static MethodHandle H5Iregister$handle() {
+ return H5Iregister.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static MemorySegment H5Iregister$address() {
+ return H5Iregister.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static long H5Iregister(int type, MemorySegment object) {
+ var mh$ = H5Iregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister", type, object);
+ }
+ return (long)mh$.invokeExact(type, object);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iobject_verify {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iobject_verify");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iobject_verify$descriptor() {
+ return H5Iobject_verify.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iobject_verify$handle() {
+ return H5Iobject_verify.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iobject_verify$address() {
+ return H5Iobject_verify.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iobject_verify(long id, int type) {
+ var mh$ = H5Iobject_verify.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iobject_verify", id, type);
+ }
+ return (MemorySegment)mh$.invokeExact(id, type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iremove_verify {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iremove_verify");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iremove_verify$descriptor() {
+ return H5Iremove_verify.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iremove_verify$handle() {
+ return H5Iremove_verify.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iremove_verify$address() {
+ return H5Iremove_verify.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iremove_verify(long id, int type) {
+ var mh$ = H5Iremove_verify.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iremove_verify", id, type);
+ }
+ return (MemorySegment)mh$.invokeExact(id, type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_type$descriptor() {
+ return H5Iget_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iget_type$handle() {
+ return H5Iget_type.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iget_type$address() {
+ return H5Iget_type.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static int H5Iget_type(long id) {
+ var mh$ = H5Iget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_type", id);
+ }
+ return (int)mh$.invokeExact(id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_file_id {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_file_id");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_file_id$descriptor() {
+ return H5Iget_file_id.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iget_file_id$handle() {
+ return H5Iget_file_id.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iget_file_id$address() {
+ return H5Iget_file_id.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static long H5Iget_file_id(long id) {
+ var mh$ = H5Iget_file_id.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_file_id", id);
+ }
+ return (long)mh$.invokeExact(id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_name$descriptor() {
+ return H5Iget_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Iget_name$handle() {
+ return H5Iget_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Iget_name$address() {
+ return H5Iget_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static long H5Iget_name(long id, MemorySegment name, long size) {
+ var mh$ = H5Iget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_name", id, name, size);
+ }
+ return (long)mh$.invokeExact(id, name, size);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iinc_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iinc_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iinc_ref$descriptor() {
+ return H5Iinc_ref.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iinc_ref$handle() {
+ return H5Iinc_ref.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iinc_ref$address() {
+ return H5Iinc_ref.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static int H5Iinc_ref(long id) {
+ var mh$ = H5Iinc_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iinc_ref", id);
+ }
+ return (int)mh$.invokeExact(id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Idec_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Idec_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Idec_ref$descriptor() {
+ return H5Idec_ref.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Idec_ref$handle() {
+ return H5Idec_ref.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Idec_ref$address() {
+ return H5Idec_ref.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static int H5Idec_ref(long id) {
+ var mh$ = H5Idec_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Idec_ref", id);
+ }
+ return (int)mh$.invokeExact(id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_ref$descriptor() {
+ return H5Iget_ref.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iget_ref$handle() {
+ return H5Iget_ref.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iget_ref$address() {
+ return H5Iget_ref.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static int H5Iget_ref(long id) {
+ var mh$ = H5Iget_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_ref", id);
+ }
+ return (int)mh$.invokeExact(id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iregister_type2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister_type2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister_type2$descriptor() {
+ return H5Iregister_type2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MethodHandle H5Iregister_type2$handle() {
+ return H5Iregister_type2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MemorySegment H5Iregister_type2$address() {
+ return H5Iregister_type2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static int H5Iregister_type2(int reserved, MemorySegment free_func) {
+ var mh$ = H5Iregister_type2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister_type2", reserved, free_func);
+ }
+ return (int)mh$.invokeExact(reserved, free_func);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iclear_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_BOOL
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iclear_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static FunctionDescriptor H5Iclear_type$descriptor() {
+ return H5Iclear_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static MethodHandle H5Iclear_type$handle() {
+ return H5Iclear_type.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static MemorySegment H5Iclear_type$address() {
+ return H5Iclear_type.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static int H5Iclear_type(int type, boolean force) {
+ var mh$ = H5Iclear_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iclear_type", type, force);
+ }
+ return (int)mh$.invokeExact(type, force);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Idestroy_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Idestroy_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Idestroy_type$descriptor() {
+ return H5Idestroy_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Idestroy_type$handle() {
+ return H5Idestroy_type.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Idestroy_type$address() {
+ return H5Idestroy_type.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static int H5Idestroy_type(int type) {
+ var mh$ = H5Idestroy_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Idestroy_type", type);
+ }
+ return (int)mh$.invokeExact(type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iinc_type_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iinc_type_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iinc_type_ref$descriptor() {
+ return H5Iinc_type_ref.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iinc_type_ref$handle() {
+ return H5Iinc_type_ref.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iinc_type_ref$address() {
+ return H5Iinc_type_ref.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static int H5Iinc_type_ref(int type) {
+ var mh$ = H5Iinc_type_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iinc_type_ref", type);
+ }
+ return (int)mh$.invokeExact(type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Idec_type_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Idec_type_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Idec_type_ref$descriptor() {
+ return H5Idec_type_ref.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Idec_type_ref$handle() {
+ return H5Idec_type_ref.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Idec_type_ref$address() {
+ return H5Idec_type_ref.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static int H5Idec_type_ref(int type) {
+ var mh$ = H5Idec_type_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Idec_type_ref", type);
+ }
+ return (int)mh$.invokeExact(type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_type_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_type_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_type_ref$descriptor() {
+ return H5Iget_type_ref.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iget_type_ref$handle() {
+ return H5Iget_type_ref.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iget_type_ref$address() {
+ return H5Iget_type_ref.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static int H5Iget_type_ref(int type) {
+ var mh$ = H5Iget_type_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_type_ref", type);
+ }
+ return (int)mh$.invokeExact(type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Isearch {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Isearch");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static FunctionDescriptor H5Isearch$descriptor() {
+ return H5Isearch.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static MethodHandle H5Isearch$handle() {
+ return H5Isearch.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static MemorySegment H5Isearch$address() {
+ return H5Isearch.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static MemorySegment H5Isearch(int type, MemorySegment func, MemorySegment key) {
+ var mh$ = H5Isearch.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Isearch", type, func, key);
+ }
+ return (MemorySegment)mh$.invokeExact(type, func, key);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iiterate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iiterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Iiterate$descriptor() {
+ return H5Iiterate.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Iiterate$handle() {
+ return H5Iiterate.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Iiterate$address() {
+ return H5Iiterate.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static int H5Iiterate(int type, MemorySegment op, MemorySegment op_data) {
+ var mh$ = H5Iiterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iiterate", type, op, op_data);
+ }
+ return (int)mh$.invokeExact(type, op, op_data);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Inmembers {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Inmembers");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static FunctionDescriptor H5Inmembers$descriptor() {
+ return H5Inmembers.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static MethodHandle H5Inmembers$handle() {
+ return H5Inmembers.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static MemorySegment H5Inmembers$address() {
+ return H5Inmembers.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static int H5Inmembers(int type, MemorySegment num_members) {
+ var mh$ = H5Inmembers.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Inmembers", type, num_members);
+ }
+ return (int)mh$.invokeExact(type, num_members);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Itype_exists {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Itype_exists");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Itype_exists$descriptor() {
+ return H5Itype_exists.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Itype_exists$handle() {
+ return H5Itype_exists.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Itype_exists$address() {
+ return H5Itype_exists.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static int H5Itype_exists(int type) {
+ var mh$ = H5Itype_exists.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Itype_exists", type);
+ }
+ return (int)mh$.invokeExact(type);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iis_valid {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iis_valid");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iis_valid$descriptor() {
+ return H5Iis_valid.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iis_valid$handle() {
+ return H5Iis_valid.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iis_valid$address() {
+ return H5Iis_valid.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static int H5Iis_valid(long id) {
+ var mh$ = H5Iis_valid.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iis_valid", id);
+ }
+ return (int)mh$.invokeExact(id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iregister_type1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister_type1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister_type1$descriptor() {
+ return H5Iregister_type1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MethodHandle H5Iregister_type1$handle() {
+ return H5Iregister_type1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MemorySegment H5Iregister_type1$address() {
+ return H5Iregister_type1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static int H5Iregister_type1(long hash_size, int reserved, MemorySegment free_func) {
+ var mh$ = H5Iregister_type1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister_type1", hash_size, reserved, free_func);
+ }
+ return (int)mh$.invokeExact(hash_size, reserved, free_func);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5O_TYPE_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_UNKNOWN = -1
+ * }
+ */
+ public static int H5O_TYPE_UNKNOWN() {
+ return H5O_TYPE_UNKNOWN;
+ }
+ private static final int H5O_TYPE_GROUP = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_GROUP = 0
+ * }
+ */
+ public static int H5O_TYPE_GROUP() {
+ return H5O_TYPE_GROUP;
+ }
+ private static final int H5O_TYPE_DATASET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_DATASET = 1
+ * }
+ */
+ public static int H5O_TYPE_DATASET() {
+ return H5O_TYPE_DATASET;
+ }
+ private static final int H5O_TYPE_NAMED_DATATYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_NAMED_DATATYPE = 2
+ * }
+ */
+ public static int H5O_TYPE_NAMED_DATATYPE() {
+ return H5O_TYPE_NAMED_DATATYPE;
+ }
+ private static final int H5O_TYPE_MAP = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_MAP = 3
+ * }
+ */
+ public static int H5O_TYPE_MAP() {
+ return H5O_TYPE_MAP;
+ }
+ private static final int H5O_TYPE_NTYPES = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_NTYPES = 4
+ * }
+ */
+ public static int H5O_TYPE_NTYPES() {
+ return H5O_TYPE_NTYPES;
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef uint32_t H5O_msg_crt_idx_t
+ * }
+ */
+ public static final OfInt H5O_msg_crt_idx_t = hdf5_h.C_INT;
+ private static final int H5O_MCDT_SEARCH_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_mcdt_search_ret_t.H5O_MCDT_SEARCH_ERROR = -1
+ * }
+ */
+ public static int H5O_MCDT_SEARCH_ERROR() {
+ return H5O_MCDT_SEARCH_ERROR;
+ }
+ private static final int H5O_MCDT_SEARCH_CONT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_mcdt_search_ret_t.H5O_MCDT_SEARCH_CONT = 0
+ * }
+ */
+ public static int H5O_MCDT_SEARCH_CONT() {
+ return H5O_MCDT_SEARCH_CONT;
+ }
+ private static final int H5O_MCDT_SEARCH_STOP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_mcdt_search_ret_t.H5O_MCDT_SEARCH_STOP = 1
+ * }
+ */
+ public static int H5O_MCDT_SEARCH_STOP() {
+ return H5O_MCDT_SEARCH_STOP;
+ }
+
+ private static class H5Oopen {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen$descriptor() {
+ return H5Oopen.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oopen$handle() {
+ return H5Oopen.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oopen$address() {
+ return H5Oopen.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static long H5Oopen(long loc_id, MemorySegment name, long lapl_id) {
+ var mh$ = H5Oopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen", loc_id, name, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_async$descriptor() {
+ return H5Oopen_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oopen_async$handle() {
+ return H5Oopen_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oopen_async$address() {
+ return H5Oopen_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Oopen_async(MemorySegment app_file, MemorySegment app_func, int app_line, long loc_id, MemorySegment name, long lapl_id, long es_id) {
+ var mh$ = H5Oopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_async", app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_by_token {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ H5O_token_t.layout()
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_token");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_token$descriptor() {
+ return H5Oopen_by_token.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_token$handle() {
+ return H5Oopen_by_token.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_token$address() {
+ return H5Oopen_by_token.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static long H5Oopen_by_token(long loc_id, MemorySegment token) {
+ var mh$ = H5Oopen_by_token.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_token", loc_id, token);
+ }
+ return (long)mh$.invokeExact(loc_id, token);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_idx$descriptor() {
+ return H5Oopen_by_idx.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_idx$handle() {
+ return H5Oopen_by_idx.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_idx$address() {
+ return H5Oopen_by_idx.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static long H5Oopen_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order, long n, long lapl_id) {
+ var mh$ = H5Oopen_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_idx", loc_id, group_name, idx_type, order, n, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, group_name, idx_type, order, n, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_by_idx_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_idx_async$descriptor() {
+ return H5Oopen_by_idx_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_idx_async$handle() {
+ return H5Oopen_by_idx_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_idx_async$address() {
+ return H5Oopen_by_idx_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Oopen_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line, long loc_id, MemorySegment group_name, int idx_type, int order, long n, long lapl_id, long es_id) {
+ var mh$ = H5Oopen_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_idx_async", app_file, app_func, app_line, loc_id, group_name, idx_type, order, n, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, group_name, idx_type, order, n, lapl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oexists_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oexists_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oexists_by_name$descriptor() {
+ return H5Oexists_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oexists_by_name$handle() {
+ return H5Oexists_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oexists_by_name$address() {
+ return H5Oexists_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oexists_by_name(long loc_id, MemorySegment name, long lapl_id) {
+ var mh$ = H5Oexists_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oexists_by_name", loc_id, name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info3$descriptor() {
+ return H5Oget_info3.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Oget_info3$handle() {
+ return H5Oget_info3.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Oget_info3$address() {
+ return H5Oget_info3.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static int H5Oget_info3(long loc_id, MemorySegment oinfo, int fields) {
+ var mh$ = H5Oget_info3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info3", loc_id, oinfo, fields);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo, fields);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name3$descriptor() {
+ return H5Oget_info_by_name3.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name3$handle() {
+ return H5Oget_info_by_name3.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name3$address() {
+ return H5Oget_info_by_name3.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_name3(long loc_id, MemorySegment name, MemorySegment oinfo, int fields, long lapl_id) {
+ var mh$ = H5Oget_info_by_name3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name3", loc_id, name, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name_async$descriptor() {
+ return H5Oget_info_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name_async$handle() {
+ return H5Oget_info_by_name_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name_async$address() {
+ return H5Oget_info_by_name_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Oget_info_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line, long loc_id, MemorySegment name, MemorySegment oinfo, int fields, long lapl_id, long es_id) {
+ var mh$ = H5Oget_info_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name_async", app_file, app_func, app_line, loc_id, name, oinfo, fields, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, oinfo, fields, lapl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_idx3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_idx3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_idx3$descriptor() {
+ return H5Oget_info_by_idx3.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_idx3$handle() {
+ return H5Oget_info_by_idx3.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_idx3$address() {
+ return H5Oget_info_by_idx3.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_idx3(long loc_id, MemorySegment group_name, int idx_type, int order, long n, MemorySegment oinfo, int fields, long lapl_id) {
+ var mh$ = H5Oget_info_by_idx3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_idx3", loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_native_info {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_native_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_native_info$descriptor() {
+ return H5Oget_native_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Oget_native_info$handle() {
+ return H5Oget_native_info.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Oget_native_info$address() {
+ return H5Oget_native_info.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static int H5Oget_native_info(long loc_id, MemorySegment oinfo, int fields) {
+ var mh$ = H5Oget_native_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_native_info", loc_id, oinfo, fields);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo, fields);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_native_info_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_native_info_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_native_info_by_name$descriptor() {
+ return H5Oget_native_info_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_native_info_by_name$handle() {
+ return H5Oget_native_info_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_native_info_by_name$address() {
+ return H5Oget_native_info_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_native_info_by_name(long loc_id, MemorySegment name, MemorySegment oinfo, int fields, long lapl_id) {
+ var mh$ = H5Oget_native_info_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_native_info_by_name", loc_id, name, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_native_info_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_native_info_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_native_info_by_idx$descriptor() {
+ return H5Oget_native_info_by_idx.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_native_info_by_idx$handle() {
+ return H5Oget_native_info_by_idx.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_native_info_by_idx$address() {
+ return H5Oget_native_info_by_idx.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_native_info_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order, long n, MemorySegment oinfo, int fields, long lapl_id) {
+ var mh$ = H5Oget_native_info_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_native_info_by_idx", loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Olink {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Olink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Olink$descriptor() {
+ return H5Olink.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Olink$handle() {
+ return H5Olink.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Olink$address() {
+ return H5Olink.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Olink(long obj_id, long new_loc_id, MemorySegment new_name, long lcpl_id, long lapl_id) {
+ var mh$ = H5Olink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Olink", obj_id, new_loc_id, new_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(obj_id, new_loc_id, new_name, lcpl_id, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oincr_refcount {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oincr_refcount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oincr_refcount$descriptor() {
+ return H5Oincr_refcount.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Oincr_refcount$handle() {
+ return H5Oincr_refcount.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Oincr_refcount$address() {
+ return H5Oincr_refcount.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static int H5Oincr_refcount(long object_id) {
+ var mh$ = H5Oincr_refcount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oincr_refcount", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Odecr_refcount {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Odecr_refcount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Odecr_refcount$descriptor() {
+ return H5Odecr_refcount.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Odecr_refcount$handle() {
+ return H5Odecr_refcount.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Odecr_refcount$address() {
+ return H5Odecr_refcount.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static int H5Odecr_refcount(long object_id) {
+ var mh$ = H5Odecr_refcount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Odecr_refcount", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ocopy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ocopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ocopy$descriptor() {
+ return H5Ocopy.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static MethodHandle H5Ocopy$handle() {
+ return H5Ocopy.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static MemorySegment H5Ocopy$address() {
+ return H5Ocopy.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static int H5Ocopy(long src_loc_id, MemorySegment src_name, long dst_loc_id, MemorySegment dst_name, long ocpypl_id, long lcpl_id) {
+ var mh$ = H5Ocopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ocopy", src_loc_id, src_name, dst_loc_id, dst_name, ocpypl_id, lcpl_id);
+ }
+ return (int)mh$.invokeExact(src_loc_id, src_name, dst_loc_id, dst_name, ocpypl_id, lcpl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ocopy_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ocopy_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ocopy_async$descriptor() {
+ return H5Ocopy_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ocopy_async$handle() {
+ return H5Ocopy_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ocopy_async$address() {
+ return H5Ocopy_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t lcpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Ocopy_async(MemorySegment app_file, MemorySegment app_func, int app_line, long src_loc_id, MemorySegment src_name, long dst_loc_id, MemorySegment dst_name, long ocpypl_id, long lcpl_id, long es_id) {
+ var mh$ = H5Ocopy_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ocopy_async", app_file, app_func, app_line, src_loc_id, src_name, dst_loc_id, dst_name, ocpypl_id, lcpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, src_loc_id, src_name, dst_loc_id, dst_name, ocpypl_id, lcpl_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oset_comment {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oset_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static FunctionDescriptor H5Oset_comment$descriptor() {
+ return H5Oset_comment.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static MethodHandle H5Oset_comment$handle() {
+ return H5Oset_comment.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static MemorySegment H5Oset_comment$address() {
+ return H5Oset_comment.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static int H5Oset_comment(long obj_id, MemorySegment comment) {
+ var mh$ = H5Oset_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oset_comment", obj_id, comment);
+ }
+ return (int)mh$.invokeExact(obj_id, comment);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oset_comment_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oset_comment_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oset_comment_by_name$descriptor() {
+ return H5Oset_comment_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oset_comment_by_name$handle() {
+ return H5Oset_comment_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oset_comment_by_name$address() {
+ return H5Oset_comment_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oset_comment_by_name(long loc_id, MemorySegment name, MemorySegment comment, long lapl_id) {
+ var mh$ = H5Oset_comment_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oset_comment_by_name", loc_id, name, comment, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, comment, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_comment {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_comment$descriptor() {
+ return H5Oget_comment.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static MethodHandle H5Oget_comment$handle() {
+ return H5Oget_comment.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static MemorySegment H5Oget_comment$address() {
+ return H5Oget_comment.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static long H5Oget_comment(long obj_id, MemorySegment comment, long bufsize) {
+ var mh$ = H5Oget_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_comment", obj_id, comment, bufsize);
+ }
+ return (long)mh$.invokeExact(obj_id, comment, bufsize);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_comment_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_comment_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_comment_by_name$descriptor() {
+ return H5Oget_comment_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_comment_by_name$handle() {
+ return H5Oget_comment_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_comment_by_name$address() {
+ return H5Oget_comment_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t lapl_id)
+ * }
+ */
+ public static long H5Oget_comment_by_name(long loc_id, MemorySegment name, MemorySegment comment, long bufsize, long lapl_id) {
+ var mh$ = H5Oget_comment_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_comment_by_name", loc_id, name, comment, bufsize, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, comment, bufsize, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit3$descriptor() {
+ return H5Ovisit3.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Ovisit3$handle() {
+ return H5Ovisit3.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Ovisit3$address() {
+ return H5Ovisit3.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static int H5Ovisit3(long obj_id, int idx_type, int order, MemorySegment op, MemorySegment op_data, int fields) {
+ var mh$ = H5Ovisit3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit3", obj_id, idx_type, order, op, op_data, fields);
+ }
+ return (int)mh$.invokeExact(obj_id, idx_type, order, op, op_data, fields);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit_by_name3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit_by_name3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit_by_name3$descriptor() {
+ return H5Ovisit_by_name3.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ovisit_by_name3$handle() {
+ return H5Ovisit_by_name3.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ovisit_by_name3$address() {
+ return H5Ovisit_by_name3.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ovisit_by_name3(long loc_id, MemorySegment obj_name, int idx_type, int order, MemorySegment op, MemorySegment op_data, int fields, long lapl_id) {
+ var mh$ = H5Ovisit_by_name3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit_by_name3", loc_id, obj_name, idx_type, order, op, op_data, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, op, op_data, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oclose$descriptor() {
+ return H5Oclose.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Oclose$handle() {
+ return H5Oclose.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Oclose$address() {
+ return H5Oclose.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static int H5Oclose(long object_id) {
+ var mh$ = H5Oclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oclose", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oclose_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t object_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oclose_async$descriptor() {
+ return H5Oclose_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t object_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oclose_async$handle() {
+ return H5Oclose_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t object_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oclose_async$address() {
+ return H5Oclose_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t object_id, hid_t es_id)
+ * }
+ */
+ public static int H5Oclose_async(MemorySegment app_file, MemorySegment app_func, int app_line, long object_id, long es_id) {
+ var mh$ = H5Oclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oclose_async", app_file, app_func, app_line, object_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, object_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oflush$descriptor() {
+ return H5Oflush.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static MethodHandle H5Oflush$handle() {
+ return H5Oflush.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5Oflush$address() {
+ return H5Oflush.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static int H5Oflush(long obj_id) {
+ var mh$ = H5Oflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oflush", obj_id);
+ }
+ return (int)mh$.invokeExact(obj_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oflush_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oflush_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oflush_async$descriptor() {
+ return H5Oflush_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oflush_async$handle() {
+ return H5Oflush_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oflush_async$address() {
+ return H5Oflush_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id, hid_t es_id)
+ * }
+ */
+ public static int H5Oflush_async(MemorySegment app_file, MemorySegment app_func, int app_line, long obj_id, long es_id) {
+ var mh$ = H5Oflush_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oflush_async", app_file, app_func, app_line, obj_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, obj_id, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Orefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Orefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static FunctionDescriptor H5Orefresh$descriptor() {
+ return H5Orefresh.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static MethodHandle H5Orefresh$handle() {
+ return H5Orefresh.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static MemorySegment H5Orefresh$address() {
+ return H5Orefresh.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static int H5Orefresh(long oid) {
+ var mh$ = H5Orefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Orefresh", oid);
+ }
+ return (int)mh$.invokeExact(oid);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Orefresh_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Orefresh_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Orefresh_async$descriptor() {
+ return H5Orefresh_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Orefresh_async$handle() {
+ return H5Orefresh_async.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Orefresh_async$address() {
+ return H5Orefresh_async.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid, hid_t es_id)
+ * }
+ */
+ public static int H5Orefresh_async(MemorySegment app_file, MemorySegment app_func, int app_line, long oid, long es_id) {
+ var mh$ = H5Orefresh_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Orefresh_async", app_file, app_func, app_line, oid, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, oid, es_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Odisable_mdc_flushes {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Odisable_mdc_flushes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Odisable_mdc_flushes$descriptor() {
+ return H5Odisable_mdc_flushes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Odisable_mdc_flushes$handle() {
+ return H5Odisable_mdc_flushes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Odisable_mdc_flushes$address() {
+ return H5Odisable_mdc_flushes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static int H5Odisable_mdc_flushes(long object_id) {
+ var mh$ = H5Odisable_mdc_flushes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Odisable_mdc_flushes", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oenable_mdc_flushes {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oenable_mdc_flushes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oenable_mdc_flushes$descriptor() {
+ return H5Oenable_mdc_flushes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Oenable_mdc_flushes$handle() {
+ return H5Oenable_mdc_flushes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Oenable_mdc_flushes$address() {
+ return H5Oenable_mdc_flushes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static int H5Oenable_mdc_flushes(long object_id) {
+ var mh$ = H5Oenable_mdc_flushes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oenable_mdc_flushes", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oare_mdc_flushes_disabled {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oare_mdc_flushes_disabled");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static FunctionDescriptor H5Oare_mdc_flushes_disabled$descriptor() {
+ return H5Oare_mdc_flushes_disabled.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static MethodHandle H5Oare_mdc_flushes_disabled$handle() {
+ return H5Oare_mdc_flushes_disabled.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static MemorySegment H5Oare_mdc_flushes_disabled$address() {
+ return H5Oare_mdc_flushes_disabled.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static int H5Oare_mdc_flushes_disabled(long object_id, MemorySegment are_disabled) {
+ var mh$ = H5Oare_mdc_flushes_disabled.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oare_mdc_flushes_disabled", object_id, are_disabled);
+ }
+ return (int)mh$.invokeExact(object_id, are_disabled);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Otoken_cmp {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Otoken_cmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static FunctionDescriptor H5Otoken_cmp$descriptor() {
+ return H5Otoken_cmp.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static MethodHandle H5Otoken_cmp$handle() {
+ return H5Otoken_cmp.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static MemorySegment H5Otoken_cmp$address() {
+ return H5Otoken_cmp.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static int H5Otoken_cmp(long loc_id, MemorySegment token1, MemorySegment token2, MemorySegment cmp_value) {
+ var mh$ = H5Otoken_cmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Otoken_cmp", loc_id, token1, token2, cmp_value);
+ }
+ return (int)mh$.invokeExact(loc_id, token1, token2, cmp_value);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Otoken_to_str {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Otoken_to_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static FunctionDescriptor H5Otoken_to_str$descriptor() {
+ return H5Otoken_to_str.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static MethodHandle H5Otoken_to_str$handle() {
+ return H5Otoken_to_str.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static MemorySegment H5Otoken_to_str$address() {
+ return H5Otoken_to_str.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static int H5Otoken_to_str(long loc_id, MemorySegment token, MemorySegment token_str) {
+ var mh$ = H5Otoken_to_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Otoken_to_str", loc_id, token, token_str);
+ }
+ return (int)mh$.invokeExact(loc_id, token, token_str);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Otoken_from_str {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Otoken_from_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static FunctionDescriptor H5Otoken_from_str$descriptor() {
+ return H5Otoken_from_str.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static MethodHandle H5Otoken_from_str$handle() {
+ return H5Otoken_from_str.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static MemorySegment H5Otoken_from_str$address() {
+ return H5Otoken_from_str.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static int H5Otoken_from_str(long loc_id, MemorySegment token_str, MemorySegment token) {
+ var mh$ = H5Otoken_from_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Otoken_from_str", loc_id, token_str, token);
+ }
+ return (int)mh$.invokeExact(loc_id, token_str, token);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5O_TOKEN_UNDEF_g$constants {
+ public static final GroupLayout LAYOUT = H5O_token_t.layout();
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5O_TOKEN_UNDEF_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern const H5O_token_t H5O_TOKEN_UNDEF_g
+ * }
+ */
+ public static GroupLayout H5O_TOKEN_UNDEF_g$layout() {
+ return H5O_TOKEN_UNDEF_g$constants.LAYOUT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern const H5O_token_t H5O_TOKEN_UNDEF_g
+ * }
+ */
+ public static MemorySegment H5O_TOKEN_UNDEF_g() {
+ return H5O_TOKEN_UNDEF_g$constants.SEGMENT;
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern const H5O_token_t H5O_TOKEN_UNDEF_g
+ * }
+ */
+ public static void H5O_TOKEN_UNDEF_g(MemorySegment varValue) {
+ MemorySegment.copy(varValue, 0L, H5O_TOKEN_UNDEF_g$constants.SEGMENT, 0L, H5O_TOKEN_UNDEF_g$constants.LAYOUT.byteSize());
+ }
+
+ private static class H5Oopen_by_addr {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_addr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_addr$descriptor() {
+ return H5Oopen_by_addr.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_addr$handle() {
+ return H5Oopen_by_addr.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_addr$address() {
+ return H5Oopen_by_addr.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static long H5Oopen_by_addr(long loc_id, long addr) {
+ var mh$ = H5Oopen_by_addr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_addr", loc_id, addr);
+ }
+ return (long)mh$.invokeExact(loc_id, addr);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info1$descriptor() {
+ return H5Oget_info1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static MethodHandle H5Oget_info1$handle() {
+ return H5Oget_info1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static MemorySegment H5Oget_info1$address() {
+ return H5Oget_info1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static int H5Oget_info1(long loc_id, MemorySegment oinfo) {
+ var mh$ = H5Oget_info1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info1", loc_id, oinfo);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name1$descriptor() {
+ return H5Oget_info_by_name1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name1$handle() {
+ return H5Oget_info_by_name1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name1$address() {
+ return H5Oget_info_by_name1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_name1(long loc_id, MemorySegment name, MemorySegment oinfo, long lapl_id) {
+ var mh$ = H5Oget_info_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name1", loc_id, name, oinfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_idx1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_idx1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_idx1$descriptor() {
+ return H5Oget_info_by_idx1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_idx1$handle() {
+ return H5Oget_info_by_idx1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_idx1$address() {
+ return H5Oget_info_by_idx1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_idx1(long loc_id, MemorySegment group_name, int idx_type, int order, long n, MemorySegment oinfo, long lapl_id) {
+ var mh$ = H5Oget_info_by_idx1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_idx1", loc_id, group_name, idx_type, order, n, oinfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info2$descriptor() {
+ return H5Oget_info2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Oget_info2$handle() {
+ return H5Oget_info2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Oget_info2$address() {
+ return H5Oget_info2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static int H5Oget_info2(long loc_id, MemorySegment oinfo, int fields) {
+ var mh$ = H5Oget_info2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info2", loc_id, oinfo, fields);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo, fields);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name2$descriptor() {
+ return H5Oget_info_by_name2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name2$handle() {
+ return H5Oget_info_by_name2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name2$address() {
+ return H5Oget_info_by_name2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_name2(long loc_id, MemorySegment name, MemorySegment oinfo, int fields, long lapl_id) {
+ var mh$ = H5Oget_info_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name2", loc_id, name, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_idx2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_idx2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_idx2$descriptor() {
+ return H5Oget_info_by_idx2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_idx2$handle() {
+ return H5Oget_info_by_idx2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_idx2$address() {
+ return H5Oget_info_by_idx2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_idx2(long loc_id, MemorySegment group_name, int idx_type, int order, long n, MemorySegment oinfo, int fields, long lapl_id) {
+ var mh$ = H5Oget_info_by_idx2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_idx2", loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit1$descriptor() {
+ return H5Ovisit1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Ovisit1$handle() {
+ return H5Ovisit1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Ovisit1$address() {
+ return H5Ovisit1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data)
+ * }
+ */
+ public static int H5Ovisit1(long obj_id, int idx_type, int order, MemorySegment op, MemorySegment op_data) {
+ var mh$ = H5Ovisit1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit1", obj_id, idx_type, order, op, op_data);
+ }
+ return (int)mh$.invokeExact(obj_id, idx_type, order, op, op_data);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit_by_name1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit_by_name1$descriptor() {
+ return H5Ovisit_by_name1.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ovisit_by_name1$handle() {
+ return H5Ovisit_by_name1.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ovisit_by_name1$address() {
+ return H5Ovisit_by_name1.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ovisit_by_name1(long loc_id, MemorySegment obj_name, int idx_type, int order, MemorySegment op, MemorySegment op_data, long lapl_id) {
+ var mh$ = H5Ovisit_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit_by_name1", loc_id, obj_name, idx_type, order, op, op_data, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, op, op_data, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit2$descriptor() {
+ return H5Ovisit2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Ovisit2$handle() {
+ return H5Ovisit2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Ovisit2$address() {
+ return H5Ovisit2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields)
+ * }
+ */
+ public static int H5Ovisit2(long obj_id, int idx_type, int order, MemorySegment op, MemorySegment op_data, int fields) {
+ var mh$ = H5Ovisit2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit2", obj_id, idx_type, order, op, op_data, fields);
+ }
+ return (int)mh$.invokeExact(obj_id, idx_type, order, op, op_data, fields);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit_by_name2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_INT,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit_by_name2$descriptor() {
+ return H5Ovisit_by_name2.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ovisit_by_name2$handle() {
+ return H5Ovisit_by_name2.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ovisit_by_name2$address() {
+ return H5Ovisit_by_name2.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ovisit_by_name2(long loc_id, MemorySegment obj_name, int idx_type, int order, MemorySegment op, MemorySegment op_data, int fields, long lapl_id) {
+ var mh$ = H5Ovisit_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit_by_name2", loc_id, obj_name, idx_type, order, op, op_data, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, op, op_data, fields, lapl_id);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5T_NO_CLASS = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_NO_CLASS = -1
+ * }
+ */
+ public static int H5T_NO_CLASS() {
+ return H5T_NO_CLASS;
+ }
+ private static final int H5T_INTEGER = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_INTEGER = 0
+ * }
+ */
+ public static int H5T_INTEGER() {
+ return H5T_INTEGER;
+ }
+ private static final int H5T_FLOAT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_FLOAT = 1
+ * }
+ */
+ public static int H5T_FLOAT() {
+ return H5T_FLOAT;
+ }
+ private static final int H5T_TIME = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_TIME = 2
+ * }
+ */
+ public static int H5T_TIME() {
+ return H5T_TIME;
+ }
+ private static final int H5T_STRING = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_STRING = 3
+ * }
+ */
+ public static int H5T_STRING() {
+ return H5T_STRING;
+ }
+ private static final int H5T_BITFIELD = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_BITFIELD = 4
+ * }
+ */
+ public static int H5T_BITFIELD() {
+ return H5T_BITFIELD;
+ }
+ private static final int H5T_OPAQUE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_OPAQUE = 5
+ * }
+ */
+ public static int H5T_OPAQUE() {
+ return H5T_OPAQUE;
+ }
+ private static final int H5T_COMPOUND = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_COMPOUND = 6
+ * }
+ */
+ public static int H5T_COMPOUND() {
+ return H5T_COMPOUND;
+ }
+ private static final int H5T_REFERENCE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_REFERENCE = 7
+ * }
+ */
+ public static int H5T_REFERENCE() {
+ return H5T_REFERENCE;
+ }
+ private static final int H5T_ENUM = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_ENUM = 8
+ * }
+ */
+ public static int H5T_ENUM() {
+ return H5T_ENUM;
+ }
+ private static final int H5T_VLEN = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_VLEN = 9
+ * }
+ */
+ public static int H5T_VLEN() {
+ return H5T_VLEN;
+ }
+ private static final int H5T_ARRAY = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_ARRAY = 10
+ * }
+ */
+ public static int H5T_ARRAY() {
+ return H5T_ARRAY;
+ }
+ private static final int H5T_COMPLEX = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_COMPLEX = 11
+ * }
+ */
+ public static int H5T_COMPLEX() {
+ return H5T_COMPLEX;
+ }
+ private static final int H5T_NCLASSES = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_NCLASSES = 12
+ * }
+ */
+ public static int H5T_NCLASSES() {
+ return H5T_NCLASSES;
+ }
+ private static final int H5T_ORDER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_ERROR = -1
+ * }
+ */
+ public static int H5T_ORDER_ERROR() {
+ return H5T_ORDER_ERROR;
+ }
+ private static final int H5T_ORDER_LE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_LE = 0
+ * }
+ */
+ public static int H5T_ORDER_LE() {
+ return H5T_ORDER_LE;
+ }
+ private static final int H5T_ORDER_BE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_BE = 1
+ * }
+ */
+ public static int H5T_ORDER_BE() {
+ return H5T_ORDER_BE;
+ }
+ private static final int H5T_ORDER_VAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_VAX = 2
+ * }
+ */
+ public static int H5T_ORDER_VAX() {
+ return H5T_ORDER_VAX;
+ }
+ private static final int H5T_ORDER_MIXED = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_MIXED = 3
+ * }
+ */
+ public static int H5T_ORDER_MIXED() {
+ return H5T_ORDER_MIXED;
+ }
+ private static final int H5T_ORDER_NONE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_NONE = 4
+ * }
+ */
+ public static int H5T_ORDER_NONE() {
+ return H5T_ORDER_NONE;
+ }
+ private static final int H5T_SGN_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_SGN_ERROR = -1
+ * }
+ */
+ public static int H5T_SGN_ERROR() {
+ return H5T_SGN_ERROR;
+ }
+ private static final int H5T_SGN_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_SGN_NONE = 0
+ * }
+ */
+ public static int H5T_SGN_NONE() {
+ return H5T_SGN_NONE;
+ }
+ private static final int H5T_SGN_2 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_SGN_2 = 1
+ * }
+ */
+ public static int H5T_SGN_2() {
+ return H5T_SGN_2;
+ }
+ private static final int H5T_NSGN = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_NSGN = 2
+ * }
+ */
+ public static int H5T_NSGN() {
+ return H5T_NSGN;
+ }
+ private static final int H5T_NORM_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_ERROR = -1
+ * }
+ */
+ public static int H5T_NORM_ERROR() {
+ return H5T_NORM_ERROR;
+ }
+ private static final int H5T_NORM_IMPLIED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_IMPLIED = 0
+ * }
+ */
+ public static int H5T_NORM_IMPLIED() {
+ return H5T_NORM_IMPLIED;
+ }
+ private static final int H5T_NORM_MSBSET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_MSBSET = 1
+ * }
+ */
+ public static int H5T_NORM_MSBSET() {
+ return H5T_NORM_MSBSET;
+ }
+ private static final int H5T_NORM_NONE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_NONE = 2
+ * }
+ */
+ public static int H5T_NORM_NONE() {
+ return H5T_NORM_NONE;
+ }
+ private static final int H5T_CSET_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_ERROR = -1
+ * }
+ */
+ public static int H5T_CSET_ERROR() {
+ return H5T_CSET_ERROR;
+ }
+ private static final int H5T_CSET_ASCII = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_ASCII = 0
+ * }
+ */
+ public static int H5T_CSET_ASCII() {
+ return H5T_CSET_ASCII;
+ }
+ private static final int H5T_CSET_UTF8 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_UTF8 = 1
+ * }
+ */
+ public static int H5T_CSET_UTF8() {
+ return H5T_CSET_UTF8;
+ }
+ private static final int H5T_CSET_RESERVED_2 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_2 = 2
+ * }
+ */
+ public static int H5T_CSET_RESERVED_2() {
+ return H5T_CSET_RESERVED_2;
+ }
+ private static final int H5T_CSET_RESERVED_3 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_3 = 3
+ * }
+ */
+ public static int H5T_CSET_RESERVED_3() {
+ return H5T_CSET_RESERVED_3;
+ }
+ private static final int H5T_CSET_RESERVED_4 = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_4 = 4
+ * }
+ */
+ public static int H5T_CSET_RESERVED_4() {
+ return H5T_CSET_RESERVED_4;
+ }
+ private static final int H5T_CSET_RESERVED_5 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_5 = 5
+ * }
+ */
+ public static int H5T_CSET_RESERVED_5() {
+ return H5T_CSET_RESERVED_5;
+ }
+ private static final int H5T_CSET_RESERVED_6 = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_6 = 6
+ * }
+ */
+ public static int H5T_CSET_RESERVED_6() {
+ return H5T_CSET_RESERVED_6;
+ }
+ private static final int H5T_CSET_RESERVED_7 = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_7 = 7
+ * }
+ */
+ public static int H5T_CSET_RESERVED_7() {
+ return H5T_CSET_RESERVED_7;
+ }
+ private static final int H5T_CSET_RESERVED_8 = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_8 = 8
+ * }
+ */
+ public static int H5T_CSET_RESERVED_8() {
+ return H5T_CSET_RESERVED_8;
+ }
+ private static final int H5T_CSET_RESERVED_9 = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_9 = 9
+ * }
+ */
+ public static int H5T_CSET_RESERVED_9() {
+ return H5T_CSET_RESERVED_9;
+ }
+ private static final int H5T_CSET_RESERVED_10 = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_10 = 10
+ * }
+ */
+ public static int H5T_CSET_RESERVED_10() {
+ return H5T_CSET_RESERVED_10;
+ }
+ private static final int H5T_CSET_RESERVED_11 = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_11 = 11
+ * }
+ */
+ public static int H5T_CSET_RESERVED_11() {
+ return H5T_CSET_RESERVED_11;
+ }
+ private static final int H5T_CSET_RESERVED_12 = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_12 = 12
+ * }
+ */
+ public static int H5T_CSET_RESERVED_12() {
+ return H5T_CSET_RESERVED_12;
+ }
+ private static final int H5T_CSET_RESERVED_13 = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_13 = 13
+ * }
+ */
+ public static int H5T_CSET_RESERVED_13() {
+ return H5T_CSET_RESERVED_13;
+ }
+ private static final int H5T_CSET_RESERVED_14 = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_14 = 14
+ * }
+ */
+ public static int H5T_CSET_RESERVED_14() {
+ return H5T_CSET_RESERVED_14;
+ }
+ private static final int H5T_CSET_RESERVED_15 = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_15 = 15
+ * }
+ */
+ public static int H5T_CSET_RESERVED_15() {
+ return H5T_CSET_RESERVED_15;
+ }
+ private static final int H5T_STR_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_ERROR = -1
+ * }
+ */
+ public static int H5T_STR_ERROR() {
+ return H5T_STR_ERROR;
+ }
+ private static final int H5T_STR_NULLTERM = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_NULLTERM = 0
+ * }
+ */
+ public static int H5T_STR_NULLTERM() {
+ return H5T_STR_NULLTERM;
+ }
+ private static final int H5T_STR_NULLPAD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_NULLPAD = 1
+ * }
+ */
+ public static int H5T_STR_NULLPAD() {
+ return H5T_STR_NULLPAD;
+ }
+ private static final int H5T_STR_SPACEPAD = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_SPACEPAD = 2
+ * }
+ */
+ public static int H5T_STR_SPACEPAD() {
+ return H5T_STR_SPACEPAD;
+ }
+ private static final int H5T_STR_RESERVED_3 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_3 = 3
+ * }
+ */
+ public static int H5T_STR_RESERVED_3() {
+ return H5T_STR_RESERVED_3;
+ }
+ private static final int H5T_STR_RESERVED_4 = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_4 = 4
+ * }
+ */
+ public static int H5T_STR_RESERVED_4() {
+ return H5T_STR_RESERVED_4;
+ }
+ private static final int H5T_STR_RESERVED_5 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_5 = 5
+ * }
+ */
+ public static int H5T_STR_RESERVED_5() {
+ return H5T_STR_RESERVED_5;
+ }
+ private static final int H5T_STR_RESERVED_6 = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_6 = 6
+ * }
+ */
+ public static int H5T_STR_RESERVED_6() {
+ return H5T_STR_RESERVED_6;
+ }
+ private static final int H5T_STR_RESERVED_7 = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_7 = 7
+ * }
+ */
+ public static int H5T_STR_RESERVED_7() {
+ return H5T_STR_RESERVED_7;
+ }
+ private static final int H5T_STR_RESERVED_8 = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_8 = 8
+ * }
+ */
+ public static int H5T_STR_RESERVED_8() {
+ return H5T_STR_RESERVED_8;
+ }
+ private static final int H5T_STR_RESERVED_9 = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_9 = 9
+ * }
+ */
+ public static int H5T_STR_RESERVED_9() {
+ return H5T_STR_RESERVED_9;
+ }
+ private static final int H5T_STR_RESERVED_10 = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_10 = 10
+ * }
+ */
+ public static int H5T_STR_RESERVED_10() {
+ return H5T_STR_RESERVED_10;
+ }
+ private static final int H5T_STR_RESERVED_11 = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_11 = 11
+ * }
+ */
+ public static int H5T_STR_RESERVED_11() {
+ return H5T_STR_RESERVED_11;
+ }
+ private static final int H5T_STR_RESERVED_12 = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_12 = 12
+ * }
+ */
+ public static int H5T_STR_RESERVED_12() {
+ return H5T_STR_RESERVED_12;
+ }
+ private static final int H5T_STR_RESERVED_13 = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_13 = 13
+ * }
+ */
+ public static int H5T_STR_RESERVED_13() {
+ return H5T_STR_RESERVED_13;
+ }
+ private static final int H5T_STR_RESERVED_14 = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_14 = 14
+ * }
+ */
+ public static int H5T_STR_RESERVED_14() {
+ return H5T_STR_RESERVED_14;
+ }
+ private static final int H5T_STR_RESERVED_15 = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_15 = 15
+ * }
+ */
+ public static int H5T_STR_RESERVED_15() {
+ return H5T_STR_RESERVED_15;
+ }
+ private static final int H5T_PAD_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_ERROR = -1
+ * }
+ */
+ public static int H5T_PAD_ERROR() {
+ return H5T_PAD_ERROR;
+ }
+ private static final int H5T_PAD_ZERO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_ZERO = 0
+ * }
+ */
+ public static int H5T_PAD_ZERO() {
+ return H5T_PAD_ZERO;
+ }
+ private static final int H5T_PAD_ONE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_ONE = 1
+ * }
+ */
+ public static int H5T_PAD_ONE() {
+ return H5T_PAD_ONE;
+ }
+ private static final int H5T_PAD_BACKGROUND = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_BACKGROUND = 2
+ * }
+ */
+ public static int H5T_PAD_BACKGROUND() {
+ return H5T_PAD_BACKGROUND;
+ }
+ private static final int H5T_NPAD = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_NPAD = 3
+ * }
+ */
+ public static int H5T_NPAD() {
+ return H5T_NPAD;
+ }
+ private static final int H5T_DIR_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_direction_t.H5T_DIR_DEFAULT = 0
+ * }
+ */
+ public static int H5T_DIR_DEFAULT() {
+ return H5T_DIR_DEFAULT;
+ }
+ private static final int H5T_DIR_ASCEND = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_direction_t.H5T_DIR_ASCEND = 1
+ * }
+ */
+ public static int H5T_DIR_ASCEND() {
+ return H5T_DIR_ASCEND;
+ }
+ private static final int H5T_DIR_DESCEND = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_direction_t.H5T_DIR_DESCEND = 2
+ * }
+ */
+ public static int H5T_DIR_DESCEND() {
+ return H5T_DIR_DESCEND;
+ }
+ private static final int H5T_CONV_EXCEPT_RANGE_HI = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_RANGE_HI = 0
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_RANGE_HI() {
+ return H5T_CONV_EXCEPT_RANGE_HI;
+ }
+ private static final int H5T_CONV_EXCEPT_RANGE_LOW = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_RANGE_LOW = 1
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_RANGE_LOW() {
+ return H5T_CONV_EXCEPT_RANGE_LOW;
+ }
+ private static final int H5T_CONV_EXCEPT_PRECISION = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_PRECISION = 2
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_PRECISION() {
+ return H5T_CONV_EXCEPT_PRECISION;
+ }
+ private static final int H5T_CONV_EXCEPT_TRUNCATE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_TRUNCATE = 3
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_TRUNCATE() {
+ return H5T_CONV_EXCEPT_TRUNCATE;
+ }
+ private static final int H5T_CONV_EXCEPT_PINF = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_PINF = 4
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_PINF() {
+ return H5T_CONV_EXCEPT_PINF;
+ }
+ private static final int H5T_CONV_EXCEPT_NINF = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_NINF = 5
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_NINF() {
+ return H5T_CONV_EXCEPT_NINF;
+ }
+ private static final int H5T_CONV_EXCEPT_NAN = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_NAN = 6
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_NAN() {
+ return H5T_CONV_EXCEPT_NAN;
+ }
+ private static final int H5T_CONV_ABORT = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_ret_t.H5T_CONV_ABORT = -1
+ * }
+ */
+ public static int H5T_CONV_ABORT() {
+ return H5T_CONV_ABORT;
+ }
+ private static final int H5T_CONV_UNHANDLED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_ret_t.H5T_CONV_UNHANDLED = 0
+ * }
+ */
+ public static int H5T_CONV_UNHANDLED() {
+ return H5T_CONV_UNHANDLED;
+ }
+ private static final int H5T_CONV_HANDLED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_ret_t.H5T_CONV_HANDLED = 1
+ * }
+ */
+ public static int H5T_CONV_HANDLED() {
+ return H5T_CONV_HANDLED;
+ }
+
+ private static class H5T_IEEE_F16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_IEEE_F16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F16BE_g$layout() {
+ return H5T_IEEE_F16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F16BE_g$segment() {
+ return H5T_IEEE_F16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static long H5T_IEEE_F16BE_g() {
+ return H5T_IEEE_F16BE_g$constants.SEGMENT.get(H5T_IEEE_F16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static void H5T_IEEE_F16BE_g(long varValue) {
+ H5T_IEEE_F16BE_g$constants.SEGMENT.set(H5T_IEEE_F16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_IEEE_F16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F16LE_g$layout() {
+ return H5T_IEEE_F16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F16LE_g$segment() {
+ return H5T_IEEE_F16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static long H5T_IEEE_F16LE_g() {
+ return H5T_IEEE_F16LE_g$constants.SEGMENT.get(H5T_IEEE_F16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static void H5T_IEEE_F16LE_g(long varValue) {
+ H5T_IEEE_F16LE_g$constants.SEGMENT.set(H5T_IEEE_F16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_IEEE_F32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F32BE_g$layout() {
+ return H5T_IEEE_F32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F32BE_g$segment() {
+ return H5T_IEEE_F32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static long H5T_IEEE_F32BE_g() {
+ return H5T_IEEE_F32BE_g$constants.SEGMENT.get(H5T_IEEE_F32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static void H5T_IEEE_F32BE_g(long varValue) {
+ H5T_IEEE_F32BE_g$constants.SEGMENT.set(H5T_IEEE_F32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_IEEE_F32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F32LE_g$layout() {
+ return H5T_IEEE_F32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F32LE_g$segment() {
+ return H5T_IEEE_F32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static long H5T_IEEE_F32LE_g() {
+ return H5T_IEEE_F32LE_g$constants.SEGMENT.get(H5T_IEEE_F32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static void H5T_IEEE_F32LE_g(long varValue) {
+ H5T_IEEE_F32LE_g$constants.SEGMENT.set(H5T_IEEE_F32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_IEEE_F64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F64BE_g$layout() {
+ return H5T_IEEE_F64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F64BE_g$segment() {
+ return H5T_IEEE_F64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static long H5T_IEEE_F64BE_g() {
+ return H5T_IEEE_F64BE_g$constants.SEGMENT.get(H5T_IEEE_F64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static void H5T_IEEE_F64BE_g(long varValue) {
+ H5T_IEEE_F64BE_g$constants.SEGMENT.set(H5T_IEEE_F64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_IEEE_F64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F64LE_g$layout() {
+ return H5T_IEEE_F64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F64LE_g$segment() {
+ return H5T_IEEE_F64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static long H5T_IEEE_F64LE_g() {
+ return H5T_IEEE_F64LE_g$constants.SEGMENT.get(H5T_IEEE_F64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static void H5T_IEEE_F64LE_g(long varValue) {
+ H5T_IEEE_F64LE_g$constants.SEGMENT.set(H5T_IEEE_F64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_FLOAT_BFLOAT16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_FLOAT_BFLOAT16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static OfLong H5T_FLOAT_BFLOAT16BE_g$layout() {
+ return H5T_FLOAT_BFLOAT16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static MemorySegment H5T_FLOAT_BFLOAT16BE_g$segment() {
+ return H5T_FLOAT_BFLOAT16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static long H5T_FLOAT_BFLOAT16BE_g() {
+ return H5T_FLOAT_BFLOAT16BE_g$constants.SEGMENT.get(H5T_FLOAT_BFLOAT16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static void H5T_FLOAT_BFLOAT16BE_g(long varValue) {
+ H5T_FLOAT_BFLOAT16BE_g$constants.SEGMENT.set(H5T_FLOAT_BFLOAT16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_FLOAT_BFLOAT16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_FLOAT_BFLOAT16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static OfLong H5T_FLOAT_BFLOAT16LE_g$layout() {
+ return H5T_FLOAT_BFLOAT16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static MemorySegment H5T_FLOAT_BFLOAT16LE_g$segment() {
+ return H5T_FLOAT_BFLOAT16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static long H5T_FLOAT_BFLOAT16LE_g() {
+ return H5T_FLOAT_BFLOAT16LE_g$constants.SEGMENT.get(H5T_FLOAT_BFLOAT16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static void H5T_FLOAT_BFLOAT16LE_g(long varValue) {
+ H5T_FLOAT_BFLOAT16LE_g$constants.SEGMENT.set(H5T_FLOAT_BFLOAT16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F16BE_g$layout() {
+ return H5T_COMPLEX_IEEE_F16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F16BE_g$segment() {
+ return H5T_COMPLEX_IEEE_F16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F16BE_g() {
+ return H5T_COMPLEX_IEEE_F16BE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F16BE_g(long varValue) {
+ H5T_COMPLEX_IEEE_F16BE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F16LE_g$layout() {
+ return H5T_COMPLEX_IEEE_F16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F16LE_g$segment() {
+ return H5T_COMPLEX_IEEE_F16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F16LE_g() {
+ return H5T_COMPLEX_IEEE_F16LE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F16LE_g(long varValue) {
+ H5T_COMPLEX_IEEE_F16LE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F32BE_g$layout() {
+ return H5T_COMPLEX_IEEE_F32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F32BE_g$segment() {
+ return H5T_COMPLEX_IEEE_F32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F32BE_g() {
+ return H5T_COMPLEX_IEEE_F32BE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F32BE_g(long varValue) {
+ H5T_COMPLEX_IEEE_F32BE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F32LE_g$layout() {
+ return H5T_COMPLEX_IEEE_F32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F32LE_g$segment() {
+ return H5T_COMPLEX_IEEE_F32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F32LE_g() {
+ return H5T_COMPLEX_IEEE_F32LE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F32LE_g(long varValue) {
+ H5T_COMPLEX_IEEE_F32LE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F64BE_g$layout() {
+ return H5T_COMPLEX_IEEE_F64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F64BE_g$segment() {
+ return H5T_COMPLEX_IEEE_F64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F64BE_g() {
+ return H5T_COMPLEX_IEEE_F64BE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F64BE_g(long varValue) {
+ H5T_COMPLEX_IEEE_F64BE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F64LE_g$layout() {
+ return H5T_COMPLEX_IEEE_F64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F64LE_g$segment() {
+ return H5T_COMPLEX_IEEE_F64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F64LE_g() {
+ return H5T_COMPLEX_IEEE_F64LE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F64LE_g(long varValue) {
+ H5T_COMPLEX_IEEE_F64LE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I8BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I8BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I8BE_g$layout() {
+ return H5T_STD_I8BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I8BE_g$segment() {
+ return H5T_STD_I8BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static long H5T_STD_I8BE_g() {
+ return H5T_STD_I8BE_g$constants.SEGMENT.get(H5T_STD_I8BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static void H5T_STD_I8BE_g(long varValue) {
+ H5T_STD_I8BE_g$constants.SEGMENT.set(H5T_STD_I8BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I8LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I8LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I8LE_g$layout() {
+ return H5T_STD_I8LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I8LE_g$segment() {
+ return H5T_STD_I8LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static long H5T_STD_I8LE_g() {
+ return H5T_STD_I8LE_g$constants.SEGMENT.get(H5T_STD_I8LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static void H5T_STD_I8LE_g(long varValue) {
+ H5T_STD_I8LE_g$constants.SEGMENT.set(H5T_STD_I8LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I16BE_g$layout() {
+ return H5T_STD_I16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I16BE_g$segment() {
+ return H5T_STD_I16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static long H5T_STD_I16BE_g() {
+ return H5T_STD_I16BE_g$constants.SEGMENT.get(H5T_STD_I16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static void H5T_STD_I16BE_g(long varValue) {
+ H5T_STD_I16BE_g$constants.SEGMENT.set(H5T_STD_I16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I16LE_g$layout() {
+ return H5T_STD_I16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I16LE_g$segment() {
+ return H5T_STD_I16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static long H5T_STD_I16LE_g() {
+ return H5T_STD_I16LE_g$constants.SEGMENT.get(H5T_STD_I16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static void H5T_STD_I16LE_g(long varValue) {
+ H5T_STD_I16LE_g$constants.SEGMENT.set(H5T_STD_I16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I32BE_g$layout() {
+ return H5T_STD_I32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I32BE_g$segment() {
+ return H5T_STD_I32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static long H5T_STD_I32BE_g() {
+ return H5T_STD_I32BE_g$constants.SEGMENT.get(H5T_STD_I32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static void H5T_STD_I32BE_g(long varValue) {
+ H5T_STD_I32BE_g$constants.SEGMENT.set(H5T_STD_I32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I32LE_g$layout() {
+ return H5T_STD_I32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I32LE_g$segment() {
+ return H5T_STD_I32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static long H5T_STD_I32LE_g() {
+ return H5T_STD_I32LE_g$constants.SEGMENT.get(H5T_STD_I32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static void H5T_STD_I32LE_g(long varValue) {
+ H5T_STD_I32LE_g$constants.SEGMENT.set(H5T_STD_I32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I64BE_g$layout() {
+ return H5T_STD_I64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I64BE_g$segment() {
+ return H5T_STD_I64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static long H5T_STD_I64BE_g() {
+ return H5T_STD_I64BE_g$constants.SEGMENT.get(H5T_STD_I64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static void H5T_STD_I64BE_g(long varValue) {
+ H5T_STD_I64BE_g$constants.SEGMENT.set(H5T_STD_I64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_I64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I64LE_g$layout() {
+ return H5T_STD_I64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I64LE_g$segment() {
+ return H5T_STD_I64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static long H5T_STD_I64LE_g() {
+ return H5T_STD_I64LE_g$constants.SEGMENT.get(H5T_STD_I64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static void H5T_STD_I64LE_g(long varValue) {
+ H5T_STD_I64LE_g$constants.SEGMENT.set(H5T_STD_I64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U8BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U8BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U8BE_g$layout() {
+ return H5T_STD_U8BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U8BE_g$segment() {
+ return H5T_STD_U8BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static long H5T_STD_U8BE_g() {
+ return H5T_STD_U8BE_g$constants.SEGMENT.get(H5T_STD_U8BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static void H5T_STD_U8BE_g(long varValue) {
+ H5T_STD_U8BE_g$constants.SEGMENT.set(H5T_STD_U8BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U8LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U8LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U8LE_g$layout() {
+ return H5T_STD_U8LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U8LE_g$segment() {
+ return H5T_STD_U8LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static long H5T_STD_U8LE_g() {
+ return H5T_STD_U8LE_g$constants.SEGMENT.get(H5T_STD_U8LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static void H5T_STD_U8LE_g(long varValue) {
+ H5T_STD_U8LE_g$constants.SEGMENT.set(H5T_STD_U8LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U16BE_g$layout() {
+ return H5T_STD_U16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U16BE_g$segment() {
+ return H5T_STD_U16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static long H5T_STD_U16BE_g() {
+ return H5T_STD_U16BE_g$constants.SEGMENT.get(H5T_STD_U16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static void H5T_STD_U16BE_g(long varValue) {
+ H5T_STD_U16BE_g$constants.SEGMENT.set(H5T_STD_U16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U16LE_g$layout() {
+ return H5T_STD_U16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U16LE_g$segment() {
+ return H5T_STD_U16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static long H5T_STD_U16LE_g() {
+ return H5T_STD_U16LE_g$constants.SEGMENT.get(H5T_STD_U16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static void H5T_STD_U16LE_g(long varValue) {
+ H5T_STD_U16LE_g$constants.SEGMENT.set(H5T_STD_U16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U32BE_g$layout() {
+ return H5T_STD_U32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U32BE_g$segment() {
+ return H5T_STD_U32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static long H5T_STD_U32BE_g() {
+ return H5T_STD_U32BE_g$constants.SEGMENT.get(H5T_STD_U32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static void H5T_STD_U32BE_g(long varValue) {
+ H5T_STD_U32BE_g$constants.SEGMENT.set(H5T_STD_U32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U32LE_g$layout() {
+ return H5T_STD_U32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U32LE_g$segment() {
+ return H5T_STD_U32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static long H5T_STD_U32LE_g() {
+ return H5T_STD_U32LE_g$constants.SEGMENT.get(H5T_STD_U32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static void H5T_STD_U32LE_g(long varValue) {
+ H5T_STD_U32LE_g$constants.SEGMENT.set(H5T_STD_U32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U64BE_g$layout() {
+ return H5T_STD_U64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U64BE_g$segment() {
+ return H5T_STD_U64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static long H5T_STD_U64BE_g() {
+ return H5T_STD_U64BE_g$constants.SEGMENT.get(H5T_STD_U64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static void H5T_STD_U64BE_g(long varValue) {
+ H5T_STD_U64BE_g$constants.SEGMENT.set(H5T_STD_U64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_U64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U64LE_g$layout() {
+ return H5T_STD_U64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U64LE_g$segment() {
+ return H5T_STD_U64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static long H5T_STD_U64LE_g() {
+ return H5T_STD_U64LE_g$constants.SEGMENT.get(H5T_STD_U64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static void H5T_STD_U64LE_g(long varValue) {
+ H5T_STD_U64LE_g$constants.SEGMENT.set(H5T_STD_U64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B8BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B8BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B8BE_g$layout() {
+ return H5T_STD_B8BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B8BE_g$segment() {
+ return H5T_STD_B8BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static long H5T_STD_B8BE_g() {
+ return H5T_STD_B8BE_g$constants.SEGMENT.get(H5T_STD_B8BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static void H5T_STD_B8BE_g(long varValue) {
+ H5T_STD_B8BE_g$constants.SEGMENT.set(H5T_STD_B8BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B8LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B8LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B8LE_g$layout() {
+ return H5T_STD_B8LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B8LE_g$segment() {
+ return H5T_STD_B8LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static long H5T_STD_B8LE_g() {
+ return H5T_STD_B8LE_g$constants.SEGMENT.get(H5T_STD_B8LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static void H5T_STD_B8LE_g(long varValue) {
+ H5T_STD_B8LE_g$constants.SEGMENT.set(H5T_STD_B8LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B16BE_g$layout() {
+ return H5T_STD_B16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B16BE_g$segment() {
+ return H5T_STD_B16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static long H5T_STD_B16BE_g() {
+ return H5T_STD_B16BE_g$constants.SEGMENT.get(H5T_STD_B16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static void H5T_STD_B16BE_g(long varValue) {
+ H5T_STD_B16BE_g$constants.SEGMENT.set(H5T_STD_B16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B16LE_g$layout() {
+ return H5T_STD_B16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B16LE_g$segment() {
+ return H5T_STD_B16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static long H5T_STD_B16LE_g() {
+ return H5T_STD_B16LE_g$constants.SEGMENT.get(H5T_STD_B16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static void H5T_STD_B16LE_g(long varValue) {
+ H5T_STD_B16LE_g$constants.SEGMENT.set(H5T_STD_B16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B32BE_g$layout() {
+ return H5T_STD_B32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B32BE_g$segment() {
+ return H5T_STD_B32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static long H5T_STD_B32BE_g() {
+ return H5T_STD_B32BE_g$constants.SEGMENT.get(H5T_STD_B32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static void H5T_STD_B32BE_g(long varValue) {
+ H5T_STD_B32BE_g$constants.SEGMENT.set(H5T_STD_B32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B32LE_g$layout() {
+ return H5T_STD_B32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B32LE_g$segment() {
+ return H5T_STD_B32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static long H5T_STD_B32LE_g() {
+ return H5T_STD_B32LE_g$constants.SEGMENT.get(H5T_STD_B32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static void H5T_STD_B32LE_g(long varValue) {
+ H5T_STD_B32LE_g$constants.SEGMENT.set(H5T_STD_B32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B64BE_g$layout() {
+ return H5T_STD_B64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B64BE_g$segment() {
+ return H5T_STD_B64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static long H5T_STD_B64BE_g() {
+ return H5T_STD_B64BE_g$constants.SEGMENT.get(H5T_STD_B64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static void H5T_STD_B64BE_g(long varValue) {
+ H5T_STD_B64BE_g$constants.SEGMENT.set(H5T_STD_B64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_B64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B64LE_g$layout() {
+ return H5T_STD_B64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B64LE_g$segment() {
+ return H5T_STD_B64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static long H5T_STD_B64LE_g() {
+ return H5T_STD_B64LE_g$constants.SEGMENT.get(H5T_STD_B64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static void H5T_STD_B64LE_g(long varValue) {
+ H5T_STD_B64LE_g$constants.SEGMENT.set(H5T_STD_B64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_REF_OBJ_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_REF_OBJ_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static OfLong H5T_STD_REF_OBJ_g$layout() {
+ return H5T_STD_REF_OBJ_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static MemorySegment H5T_STD_REF_OBJ_g$segment() {
+ return H5T_STD_REF_OBJ_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static long H5T_STD_REF_OBJ_g() {
+ return H5T_STD_REF_OBJ_g$constants.SEGMENT.get(H5T_STD_REF_OBJ_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static void H5T_STD_REF_OBJ_g(long varValue) {
+ H5T_STD_REF_OBJ_g$constants.SEGMENT.set(H5T_STD_REF_OBJ_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_REF_DSETREG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_REF_DSETREG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static OfLong H5T_STD_REF_DSETREG_g$layout() {
+ return H5T_STD_REF_DSETREG_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static MemorySegment H5T_STD_REF_DSETREG_g$segment() {
+ return H5T_STD_REF_DSETREG_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static long H5T_STD_REF_DSETREG_g() {
+ return H5T_STD_REF_DSETREG_g$constants.SEGMENT.get(H5T_STD_REF_DSETREG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static void H5T_STD_REF_DSETREG_g(long varValue) {
+ H5T_STD_REF_DSETREG_g$constants.SEGMENT.set(H5T_STD_REF_DSETREG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_REF_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_STD_REF_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static OfLong H5T_STD_REF_g$layout() {
+ return H5T_STD_REF_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static MemorySegment H5T_STD_REF_g$segment() {
+ return H5T_STD_REF_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static long H5T_STD_REF_g() {
+ return H5T_STD_REF_g$constants.SEGMENT.get(H5T_STD_REF_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static void H5T_STD_REF_g(long varValue) {
+ H5T_STD_REF_g$constants.SEGMENT.set(H5T_STD_REF_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_UNIX_D32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D32BE_g$layout() {
+ return H5T_UNIX_D32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D32BE_g$segment() {
+ return H5T_UNIX_D32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static long H5T_UNIX_D32BE_g() {
+ return H5T_UNIX_D32BE_g$constants.SEGMENT.get(H5T_UNIX_D32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static void H5T_UNIX_D32BE_g(long varValue) {
+ H5T_UNIX_D32BE_g$constants.SEGMENT.set(H5T_UNIX_D32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_UNIX_D32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D32LE_g$layout() {
+ return H5T_UNIX_D32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D32LE_g$segment() {
+ return H5T_UNIX_D32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static long H5T_UNIX_D32LE_g() {
+ return H5T_UNIX_D32LE_g$constants.SEGMENT.get(H5T_UNIX_D32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static void H5T_UNIX_D32LE_g(long varValue) {
+ H5T_UNIX_D32LE_g$constants.SEGMENT.set(H5T_UNIX_D32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_UNIX_D64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D64BE_g$layout() {
+ return H5T_UNIX_D64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D64BE_g$segment() {
+ return H5T_UNIX_D64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static long H5T_UNIX_D64BE_g() {
+ return H5T_UNIX_D64BE_g$constants.SEGMENT.get(H5T_UNIX_D64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static void H5T_UNIX_D64BE_g(long varValue) {
+ H5T_UNIX_D64BE_g$constants.SEGMENT.set(H5T_UNIX_D64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_UNIX_D64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D64LE_g$layout() {
+ return H5T_UNIX_D64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D64LE_g$segment() {
+ return H5T_UNIX_D64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static long H5T_UNIX_D64LE_g() {
+ return H5T_UNIX_D64LE_g$constants.SEGMENT.get(H5T_UNIX_D64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static void H5T_UNIX_D64LE_g(long varValue) {
+ H5T_UNIX_D64LE_g$constants.SEGMENT.set(H5T_UNIX_D64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_C_S1_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_C_S1_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static OfLong H5T_C_S1_g$layout() {
+ return H5T_C_S1_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static MemorySegment H5T_C_S1_g$segment() {
+ return H5T_C_S1_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static long H5T_C_S1_g() {
+ return H5T_C_S1_g$constants.SEGMENT.get(H5T_C_S1_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static void H5T_C_S1_g(long varValue) {
+ H5T_C_S1_g$constants.SEGMENT.set(H5T_C_S1_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_FORTRAN_S1_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_FORTRAN_S1_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static OfLong H5T_FORTRAN_S1_g$layout() {
+ return H5T_FORTRAN_S1_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static MemorySegment H5T_FORTRAN_S1_g$segment() {
+ return H5T_FORTRAN_S1_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static long H5T_FORTRAN_S1_g() {
+ return H5T_FORTRAN_S1_g$constants.SEGMENT.get(H5T_FORTRAN_S1_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static void H5T_FORTRAN_S1_g(long varValue) {
+ H5T_FORTRAN_S1_g$constants.SEGMENT.set(H5T_FORTRAN_S1_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_VAX_F32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_VAX_F32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static OfLong H5T_VAX_F32_g$layout() {
+ return H5T_VAX_F32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static MemorySegment H5T_VAX_F32_g$segment() {
+ return H5T_VAX_F32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static long H5T_VAX_F32_g() {
+ return H5T_VAX_F32_g$constants.SEGMENT.get(H5T_VAX_F32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static void H5T_VAX_F32_g(long varValue) {
+ H5T_VAX_F32_g$constants.SEGMENT.set(H5T_VAX_F32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_VAX_F64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG;
+ public static final MemorySegment SEGMENT = hdf5_h.findOrThrow("H5T_VAX_F64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static OfLong H5T_VAX_F64_g$layout() {
+ return H5T_VAX_F64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static MemorySegment H5T_VAX_F64_g$segment() {
+ return H5T_VAX_F64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static long H5T_VAX_F64_g() {
+ return H5T_VAX_F64_g$constants.SEGMENT.get(H5T_VAX_F64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static void H5T_VAX_F64_g(long varValue) {
+ H5T_VAX_F64_g$constants.SEGMENT.set(H5T_VAX_F64_g$constants.LAYOUT, 0L, varValue);
+ }
+}
diff --git a/java/jsrc/features/ros3/macos/H5FD_ros3_fapl_t.java b/java/jsrc/features/ros3/macos/H5FD_ros3_fapl_t.java
new file mode 100644
index 00000000000..c16dd432a9f
--- /dev/null
+++ b/java/jsrc/features/ros3/macos/H5FD_ros3_fapl_t.java
@@ -0,0 +1,402 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+/**
+ * {@snippet lang=c :
+ * struct H5FD_ros3_fapl_t {
+ * int32_t version;
+ * bool authenticate;
+ * char aws_region[33];
+ * char secret_id[129];
+ * char secret_key[129];
+ * }
+ * }
+ */
+public class H5FD_ros3_fapl_t {
+
+ H5FD_ros3_fapl_t()
+ {
+ // Should not be called directly
+ }
+
+ private static final GroupLayout $LAYOUT =
+ MemoryLayout
+ .structLayout(hdf5_h.C_INT.withName("version"), hdf5_h.C_BOOL.withName("authenticate"),
+ MemoryLayout.sequenceLayout(33, hdf5_h.C_CHAR).withName("aws_region"),
+ MemoryLayout.sequenceLayout(129, hdf5_h.C_CHAR).withName("secret_id"),
+ MemoryLayout.sequenceLayout(129, hdf5_h.C_CHAR).withName("secret_key"))
+ .withName("H5FD_ros3_fapl_t");
+
+ /**
+ * The layout of this struct
+ */
+ public static final GroupLayout layout() { return $LAYOUT; }
+
+ private static final OfInt version$LAYOUT = (OfInt)$LAYOUT.select(groupElement("version"));
+
+ /**
+ * Layout for field:
+ * {@snippet lang=c :
+ * int32_t version
+ * }
+ */
+ public static final OfInt version$layout() { return version$LAYOUT; }
+
+ private static final long version$OFFSET = 0;
+
+ /**
+ * Offset for field:
+ * {@snippet lang=c :
+ * int32_t version
+ * }
+ */
+ public static final long version$offset() { return version$OFFSET; }
+
+ /**
+ * Getter for field:
+ * {@snippet lang=c :
+ * int32_t version
+ * }
+ */
+ public static int version(MemorySegment struct) { return struct.get(version$LAYOUT, version$OFFSET); }
+
+ /**
+ * Setter for field:
+ * {@snippet lang=c :
+ * int32_t version
+ * }
+ */
+ public static void version(MemorySegment struct, int fieldValue)
+ {
+ struct.set(version$LAYOUT, version$OFFSET, fieldValue);
+ }
+
+ private static final OfBoolean authenticate$LAYOUT =
+ (OfBoolean)$LAYOUT.select(groupElement("authenticate"));
+
+ /**
+ * Layout for field:
+ * {@snippet lang=c :
+ * bool authenticate
+ * }
+ */
+ public static final OfBoolean authenticate$layout() { return authenticate$LAYOUT; }
+
+ private static final long authenticate$OFFSET = 4;
+
+ /**
+ * Offset for field:
+ * {@snippet lang=c :
+ * bool authenticate
+ * }
+ */
+ public static final long authenticate$offset() { return authenticate$OFFSET; }
+
+ /**
+ * Getter for field:
+ * {@snippet lang=c :
+ * bool authenticate
+ * }
+ */
+ public static boolean authenticate(MemorySegment struct)
+ {
+ return struct.get(authenticate$LAYOUT, authenticate$OFFSET);
+ }
+
+ /**
+ * Setter for field:
+ * {@snippet lang=c :
+ * bool authenticate
+ * }
+ */
+ public static void authenticate(MemorySegment struct, boolean fieldValue)
+ {
+ struct.set(authenticate$LAYOUT, authenticate$OFFSET, fieldValue);
+ }
+
+ private static final SequenceLayout aws_region$LAYOUT =
+ (SequenceLayout)$LAYOUT.select(groupElement("aws_region"));
+
+ /**
+ * Layout for field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static final SequenceLayout aws_region$layout() { return aws_region$LAYOUT; }
+
+ private static final long aws_region$OFFSET = 5;
+
+ /**
+ * Offset for field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static final long aws_region$offset() { return aws_region$OFFSET; }
+
+ /**
+ * Getter for field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static MemorySegment aws_region(MemorySegment struct)
+ {
+ return struct.asSlice(aws_region$OFFSET, aws_region$LAYOUT.byteSize());
+ }
+
+ /**
+ * Setter for field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static void aws_region(MemorySegment struct, MemorySegment fieldValue)
+ {
+ MemorySegment.copy(fieldValue, 0L, struct, aws_region$OFFSET, aws_region$LAYOUT.byteSize());
+ }
+
+ private static long[] aws_region$DIMS = {33};
+
+ /**
+ * Dimensions for array field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static long[] aws_region$dimensions() { return aws_region$DIMS; }
+ private static final VarHandle aws_region$ELEM_HANDLE = aws_region$LAYOUT.varHandle(sequenceElement());
+
+ /**
+ * Indexed getter for field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static byte aws_region(MemorySegment struct, long index0)
+ {
+ return (byte)aws_region$ELEM_HANDLE.get(struct, 0L, index0);
+ }
+
+ /**
+ * Indexed setter for field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static void aws_region(MemorySegment struct, long index0, byte fieldValue)
+ {
+ aws_region$ELEM_HANDLE.set(struct, 0L, index0, fieldValue);
+ }
+
+ private static final SequenceLayout secret_id$LAYOUT =
+ (SequenceLayout)$LAYOUT.select(groupElement("secret_id"));
+
+ /**
+ * Layout for field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static final SequenceLayout secret_id$layout() { return secret_id$LAYOUT; }
+
+ private static final long secret_id$OFFSET = 38;
+
+ /**
+ * Offset for field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static final long secret_id$offset() { return secret_id$OFFSET; }
+
+ /**
+ * Getter for field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static MemorySegment secret_id(MemorySegment struct)
+ {
+ return struct.asSlice(secret_id$OFFSET, secret_id$LAYOUT.byteSize());
+ }
+
+ /**
+ * Setter for field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static void secret_id(MemorySegment struct, MemorySegment fieldValue)
+ {
+ MemorySegment.copy(fieldValue, 0L, struct, secret_id$OFFSET, secret_id$LAYOUT.byteSize());
+ }
+
+ private static long[] secret_id$DIMS = {129};
+
+ /**
+ * Dimensions for array field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static long[] secret_id$dimensions() { return secret_id$DIMS; }
+ private static final VarHandle secret_id$ELEM_HANDLE = secret_id$LAYOUT.varHandle(sequenceElement());
+
+ /**
+ * Indexed getter for field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static byte secret_id(MemorySegment struct, long index0)
+ {
+ return (byte)secret_id$ELEM_HANDLE.get(struct, 0L, index0);
+ }
+
+ /**
+ * Indexed setter for field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static void secret_id(MemorySegment struct, long index0, byte fieldValue)
+ {
+ secret_id$ELEM_HANDLE.set(struct, 0L, index0, fieldValue);
+ }
+
+ private static final SequenceLayout secret_key$LAYOUT =
+ (SequenceLayout)$LAYOUT.select(groupElement("secret_key"));
+
+ /**
+ * Layout for field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static final SequenceLayout secret_key$layout() { return secret_key$LAYOUT; }
+
+ private static final long secret_key$OFFSET = 167;
+
+ /**
+ * Offset for field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static final long secret_key$offset() { return secret_key$OFFSET; }
+
+ /**
+ * Getter for field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static MemorySegment secret_key(MemorySegment struct)
+ {
+ return struct.asSlice(secret_key$OFFSET, secret_key$LAYOUT.byteSize());
+ }
+
+ /**
+ * Setter for field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static void secret_key(MemorySegment struct, MemorySegment fieldValue)
+ {
+ MemorySegment.copy(fieldValue, 0L, struct, secret_key$OFFSET, secret_key$LAYOUT.byteSize());
+ }
+
+ private static long[] secret_key$DIMS = {129};
+
+ /**
+ * Dimensions for array field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static long[] secret_key$dimensions() { return secret_key$DIMS; }
+ private static final VarHandle secret_key$ELEM_HANDLE = secret_key$LAYOUT.varHandle(sequenceElement());
+
+ /**
+ * Indexed getter for field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static byte secret_key(MemorySegment struct, long index0)
+ {
+ return (byte)secret_key$ELEM_HANDLE.get(struct, 0L, index0);
+ }
+
+ /**
+ * Indexed setter for field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static void secret_key(MemorySegment struct, long index0, byte fieldValue)
+ {
+ secret_key$ELEM_HANDLE.set(struct, 0L, index0, fieldValue);
+ }
+
+ /**
+ * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}.
+ * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()}
+ */
+ public static MemorySegment asSlice(MemorySegment array, long index)
+ {
+ return array.asSlice(layout().byteSize() * index);
+ }
+
+ /**
+ * The size (in bytes) of this struct
+ */
+ public static long sizeof() { return layout().byteSize(); }
+
+ /**
+ * Allocate a segment of size {@code layout().byteSize()} using {@code allocator}
+ */
+ public static MemorySegment allocate(SegmentAllocator allocator) { return allocator.allocate(layout()); }
+
+ /**
+ * Allocate an array of size {@code elementCount} using {@code allocator}.
+ * The returned segment has size {@code elementCount * layout().byteSize()}.
+ */
+ public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator)
+ {
+ return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout()));
+ }
+
+ /**
+ * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any).
+ * The returned segment has size {@code layout().byteSize()}
+ */
+ public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup)
+ {
+ return reinterpret(addr, 1, arena, cleanup);
+ }
+
+ /**
+ * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any).
+ * The returned segment has size {@code elementCount * layout().byteSize()}
+ */
+ public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena,
+ Consumer cleanup)
+ {
+ return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup);
+ }
+}
diff --git a/java/jsrc/features/ros3/macos/hdf5_h.java b/java/jsrc/features/ros3/macos/hdf5_h.java
new file mode 100644
index 00000000000..afd6b5780f9
--- /dev/null
+++ b/java/jsrc/features/ros3/macos/hdf5_h.java
@@ -0,0 +1,2577 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h extends hdf5_h_1 {
+
+ hdf5_h()
+ {
+ // Should not be called directly
+ }
+ private static final int MAC_OS_VERSION_12_6 = (int)120600L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_12_6 120600
+ * }
+ */
+ public static int MAC_OS_VERSION_12_6() { return MAC_OS_VERSION_12_6; }
+ private static final int MAC_OS_VERSION_12_7 = (int)120700L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_12_7 120700
+ * }
+ */
+ public static int MAC_OS_VERSION_12_7() { return MAC_OS_VERSION_12_7; }
+ private static final int MAC_OS_VERSION_13_0 = (int)130000L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_13_0 130000
+ * }
+ */
+ public static int MAC_OS_VERSION_13_0() { return MAC_OS_VERSION_13_0; }
+ private static final int MAC_OS_VERSION_13_1 = (int)130100L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_13_1 130100
+ * }
+ */
+ public static int MAC_OS_VERSION_13_1() { return MAC_OS_VERSION_13_1; }
+ private static final int MAC_OS_VERSION_13_2 = (int)130200L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_13_2 130200
+ * }
+ */
+ public static int MAC_OS_VERSION_13_2() { return MAC_OS_VERSION_13_2; }
+ private static final int MAC_OS_VERSION_13_3 = (int)130300L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_13_3 130300
+ * }
+ */
+ public static int MAC_OS_VERSION_13_3() { return MAC_OS_VERSION_13_3; }
+ private static final int MAC_OS_VERSION_13_4 = (int)130400L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_13_4 130400
+ * }
+ */
+ public static int MAC_OS_VERSION_13_4() { return MAC_OS_VERSION_13_4; }
+ private static final int MAC_OS_VERSION_13_5 = (int)130500L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_13_5 130500
+ * }
+ */
+ public static int MAC_OS_VERSION_13_5() { return MAC_OS_VERSION_13_5; }
+ private static final int MAC_OS_VERSION_13_6 = (int)130600L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_13_6 130600
+ * }
+ */
+ public static int MAC_OS_VERSION_13_6() { return MAC_OS_VERSION_13_6; }
+ private static final int MAC_OS_VERSION_13_7 = (int)130700L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_13_7 130700
+ * }
+ */
+ public static int MAC_OS_VERSION_13_7() { return MAC_OS_VERSION_13_7; }
+ private static final int MAC_OS_VERSION_14_0 = (int)140000L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_14_0 140000
+ * }
+ */
+ public static int MAC_OS_VERSION_14_0() { return MAC_OS_VERSION_14_0; }
+ private static final int MAC_OS_VERSION_14_1 = (int)140100L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_14_1 140100
+ * }
+ */
+ public static int MAC_OS_VERSION_14_1() { return MAC_OS_VERSION_14_1; }
+ private static final int MAC_OS_VERSION_14_2 = (int)140200L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_14_2 140200
+ * }
+ */
+ public static int MAC_OS_VERSION_14_2() { return MAC_OS_VERSION_14_2; }
+ private static final int MAC_OS_VERSION_14_3 = (int)140300L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_14_3 140300
+ * }
+ */
+ public static int MAC_OS_VERSION_14_3() { return MAC_OS_VERSION_14_3; }
+ private static final int MAC_OS_VERSION_14_4 = (int)140400L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_14_4 140400
+ * }
+ */
+ public static int MAC_OS_VERSION_14_4() { return MAC_OS_VERSION_14_4; }
+ private static final int MAC_OS_VERSION_14_5 = (int)140500L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_14_5 140500
+ * }
+ */
+ public static int MAC_OS_VERSION_14_5() { return MAC_OS_VERSION_14_5; }
+ private static final int MAC_OS_VERSION_14_6 = (int)140600L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_14_6 140600
+ * }
+ */
+ public static int MAC_OS_VERSION_14_6() { return MAC_OS_VERSION_14_6; }
+ private static final int MAC_OS_VERSION_14_7 = (int)140700L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_14_7 140700
+ * }
+ */
+ public static int MAC_OS_VERSION_14_7() { return MAC_OS_VERSION_14_7; }
+ private static final int MAC_OS_VERSION_15_0 = (int)150000L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_15_0 150000
+ * }
+ */
+ public static int MAC_OS_VERSION_15_0() { return MAC_OS_VERSION_15_0; }
+ private static final int MAC_OS_VERSION_15_1 = (int)150100L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_15_1 150100
+ * }
+ */
+ public static int MAC_OS_VERSION_15_1() { return MAC_OS_VERSION_15_1; }
+ private static final int MAC_OS_VERSION_15_2 = (int)150200L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_15_2 150200
+ * }
+ */
+ public static int MAC_OS_VERSION_15_2() { return MAC_OS_VERSION_15_2; }
+ private static final int MAC_OS_VERSION_15_3 = (int)150300L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_15_3 150300
+ * }
+ */
+ public static int MAC_OS_VERSION_15_3() { return MAC_OS_VERSION_15_3; }
+ private static final int MAC_OS_VERSION_15_4 = (int)150400L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_15_4 150400
+ * }
+ */
+ public static int MAC_OS_VERSION_15_4() { return MAC_OS_VERSION_15_4; }
+ private static final int MAC_OS_VERSION_15_5 = (int)150500L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_15_5 150500
+ * }
+ */
+ public static int MAC_OS_VERSION_15_5() { return MAC_OS_VERSION_15_5; }
+ private static final int __AVAILABILITY_VERSIONS_VERSION_HASH = (int)93585900L;
+ /**
+ * {@snippet lang=c :
+ * #define __AVAILABILITY_VERSIONS_VERSION_HASH 93585900
+ * }
+ */
+ public static int __AVAILABILITY_VERSIONS_VERSION_HASH() { return __AVAILABILITY_VERSIONS_VERSION_HASH; }
+ /**
+ * {@snippet lang=c :
+ * #define __AVAILABILITY_VERSIONS_VERSION_STRING "Local"
+ * }
+ */
+ public static MemorySegment __AVAILABILITY_VERSIONS_VERSION_STRING()
+ {
+ class Holder {
+ static final MemorySegment __AVAILABILITY_VERSIONS_VERSION_STRING =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("Local");
+ }
+ return Holder.__AVAILABILITY_VERSIONS_VERSION_STRING;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __AVAILABILITY_FILE "AvailabilityVersions.h"
+ * }
+ */
+ public static MemorySegment __AVAILABILITY_FILE()
+ {
+ class Holder {
+ static final MemorySegment __AVAILABILITY_FILE =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("AvailabilityVersions.h");
+ }
+ return Holder.__AVAILABILITY_FILE;
+ }
+ private static final int __MAC_OS_X_VERSION_MAX_ALLOWED = (int)150500L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_OS_X_VERSION_MAX_ALLOWED 150500
+ * }
+ */
+ public static int __MAC_OS_X_VERSION_MAX_ALLOWED() { return __MAC_OS_X_VERSION_MAX_ALLOWED; }
+ private static final MemorySegment __DARWIN_NULL = MemorySegment.ofAddress(0L);
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_NULL (void*) 0
+ * }
+ */
+ public static MemorySegment __DARWIN_NULL() { return __DARWIN_NULL; }
+ private static final int __DARWIN_WCHAR_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_WCHAR_MAX 2147483647
+ * }
+ */
+ public static int __DARWIN_WCHAR_MAX() { return __DARWIN_WCHAR_MAX; }
+ private static final int __DARWIN_WCHAR_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_WCHAR_MIN -2147483648
+ * }
+ */
+ public static int __DARWIN_WCHAR_MIN() { return __DARWIN_WCHAR_MIN; }
+ private static final int __DARWIN_WEOF = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_WEOF -1
+ * }
+ */
+ public static int __DARWIN_WEOF() { return __DARWIN_WEOF; }
+ private static final long INT64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT64_MAX 9223372036854775807
+ * }
+ */
+ public static long INT64_MAX() { return INT64_MAX; }
+ private static final int INT8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define INT8_MIN -128
+ * }
+ */
+ public static int INT8_MIN() { return INT8_MIN; }
+ private static final int INT16_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define INT16_MIN -32768
+ * }
+ */
+ public static int INT16_MIN() { return INT16_MIN; }
+ private static final int INT32_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT32_MIN -2147483648
+ * }
+ */
+ public static int INT32_MIN() { return INT32_MIN; }
+ private static final long INT64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT64_MIN -9223372036854775808
+ * }
+ */
+ public static long INT64_MIN() { return INT64_MIN; }
+ private static final int UINT32_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT32_MAX 4294967295
+ * }
+ */
+ public static int UINT32_MAX() { return UINT32_MAX; }
+ private static final long UINT64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT64_MAX -1
+ * }
+ */
+ public static long UINT64_MAX() { return UINT64_MAX; }
+ private static final int INT_LEAST8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST8_MIN -128
+ * }
+ */
+ public static int INT_LEAST8_MIN() { return INT_LEAST8_MIN; }
+ private static final int INT_LEAST16_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST16_MIN -32768
+ * }
+ */
+ public static int INT_LEAST16_MIN() { return INT_LEAST16_MIN; }
+ private static final int INT_LEAST32_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST32_MIN -2147483648
+ * }
+ */
+ public static int INT_LEAST32_MIN() { return INT_LEAST32_MIN; }
+ private static final long INT_LEAST64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST64_MIN -9223372036854775808
+ * }
+ */
+ public static long INT_LEAST64_MIN() { return INT_LEAST64_MIN; }
+ private static final int INT_LEAST8_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST8_MAX 127
+ * }
+ */
+ public static int INT_LEAST8_MAX() { return INT_LEAST8_MAX; }
+ private static final int INT_LEAST16_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST16_MAX 32767
+ * }
+ */
+ public static int INT_LEAST16_MAX() { return INT_LEAST16_MAX; }
+ private static final int INT_LEAST32_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST32_MAX 2147483647
+ * }
+ */
+ public static int INT_LEAST32_MAX() { return INT_LEAST32_MAX; }
+ private static final long INT_LEAST64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST64_MAX 9223372036854775807
+ * }
+ */
+ public static long INT_LEAST64_MAX() { return INT_LEAST64_MAX; }
+ private static final int UINT_LEAST8_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST8_MAX 255
+ * }
+ */
+ public static int UINT_LEAST8_MAX() { return UINT_LEAST8_MAX; }
+ private static final int UINT_LEAST16_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST16_MAX 65535
+ * }
+ */
+ public static int UINT_LEAST16_MAX() { return UINT_LEAST16_MAX; }
+ private static final int UINT_LEAST32_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST32_MAX 4294967295
+ * }
+ */
+ public static int UINT_LEAST32_MAX() { return UINT_LEAST32_MAX; }
+ private static final long UINT_LEAST64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST64_MAX -1
+ * }
+ */
+ public static long UINT_LEAST64_MAX() { return UINT_LEAST64_MAX; }
+ private static final int INT_FAST8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST8_MIN -128
+ * }
+ */
+ public static int INT_FAST8_MIN() { return INT_FAST8_MIN; }
+ private static final int INT_FAST16_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST16_MIN -32768
+ * }
+ */
+ public static int INT_FAST16_MIN() { return INT_FAST16_MIN; }
+ private static final int INT_FAST32_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST32_MIN -2147483648
+ * }
+ */
+ public static int INT_FAST32_MIN() { return INT_FAST32_MIN; }
+ private static final long INT_FAST64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST64_MIN -9223372036854775808
+ * }
+ */
+ public static long INT_FAST64_MIN() { return INT_FAST64_MIN; }
+ private static final int INT_FAST8_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST8_MAX 127
+ * }
+ */
+ public static int INT_FAST8_MAX() { return INT_FAST8_MAX; }
+ private static final int INT_FAST16_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST16_MAX 32767
+ * }
+ */
+ public static int INT_FAST16_MAX() { return INT_FAST16_MAX; }
+ private static final int INT_FAST32_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST32_MAX 2147483647
+ * }
+ */
+ public static int INT_FAST32_MAX() { return INT_FAST32_MAX; }
+ private static final long INT_FAST64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST64_MAX 9223372036854775807
+ * }
+ */
+ public static long INT_FAST64_MAX() { return INT_FAST64_MAX; }
+ private static final int UINT_FAST8_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST8_MAX 255
+ * }
+ */
+ public static int UINT_FAST8_MAX() { return UINT_FAST8_MAX; }
+ private static final int UINT_FAST16_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST16_MAX 65535
+ * }
+ */
+ public static int UINT_FAST16_MAX() { return UINT_FAST16_MAX; }
+ private static final int UINT_FAST32_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST32_MAX 4294967295
+ * }
+ */
+ public static int UINT_FAST32_MAX() { return UINT_FAST32_MAX; }
+ private static final long UINT_FAST64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST64_MAX -1
+ * }
+ */
+ public static long UINT_FAST64_MAX() { return UINT_FAST64_MAX; }
+ private static final long INTPTR_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INTPTR_MAX 9223372036854775807
+ * }
+ */
+ public static long INTPTR_MAX() { return INTPTR_MAX; }
+ private static final long INTPTR_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INTPTR_MIN -9223372036854775808
+ * }
+ */
+ public static long INTPTR_MIN() { return INTPTR_MIN; }
+ private static final long UINTPTR_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINTPTR_MAX -1
+ * }
+ */
+ public static long UINTPTR_MAX() { return UINTPTR_MAX; }
+ private static final long INTMAX_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INTMAX_MAX 9223372036854775807
+ * }
+ */
+ public static long INTMAX_MAX() { return INTMAX_MAX; }
+ private static final long UINTMAX_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINTMAX_MAX -1
+ * }
+ */
+ public static long UINTMAX_MAX() { return UINTMAX_MAX; }
+ private static final long INTMAX_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INTMAX_MIN -9223372036854775808
+ * }
+ */
+ public static long INTMAX_MIN() { return INTMAX_MIN; }
+ private static final long PTRDIFF_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define PTRDIFF_MIN -9223372036854775808
+ * }
+ */
+ public static long PTRDIFF_MIN() { return PTRDIFF_MIN; }
+ private static final long PTRDIFF_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define PTRDIFF_MAX 9223372036854775807
+ * }
+ */
+ public static long PTRDIFF_MAX() { return PTRDIFF_MAX; }
+ private static final long SIZE_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define SIZE_MAX -1
+ * }
+ */
+ public static long SIZE_MAX() { return SIZE_MAX; }
+ private static final long RSIZE_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define RSIZE_MAX 9223372036854775807
+ * }
+ */
+ public static long RSIZE_MAX() { return RSIZE_MAX; }
+ private static final int WCHAR_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define WCHAR_MAX 2147483647
+ * }
+ */
+ public static int WCHAR_MAX() { return WCHAR_MAX; }
+ private static final int WCHAR_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define WCHAR_MIN -2147483648
+ * }
+ */
+ public static int WCHAR_MIN() { return WCHAR_MIN; }
+ private static final int WINT_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define WINT_MIN -2147483648
+ * }
+ */
+ public static int WINT_MIN() { return WINT_MIN; }
+ private static final int WINT_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define WINT_MAX 2147483647
+ * }
+ */
+ public static int WINT_MAX() { return WINT_MAX; }
+ private static final int SIG_ATOMIC_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define SIG_ATOMIC_MIN -2147483648
+ * }
+ */
+ public static int SIG_ATOMIC_MIN() { return SIG_ATOMIC_MIN; }
+ private static final int SIG_ATOMIC_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define SIG_ATOMIC_MAX 2147483647
+ * }
+ */
+ public static int SIG_ATOMIC_MAX() { return SIG_ATOMIC_MAX; }
+ private static final int CLK_TCK = (int)100L;
+ /**
+ * {@snippet lang=c :
+ * #define CLK_TCK 100
+ * }
+ */
+ public static int CLK_TCK() { return CLK_TCK; }
+ private static final int SCHAR_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define SCHAR_MIN -128
+ * }
+ */
+ public static int SCHAR_MIN() { return SCHAR_MIN; }
+ private static final int CHAR_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define CHAR_MIN -128
+ * }
+ */
+ public static int CHAR_MIN() { return CHAR_MIN; }
+ private static final int SHRT_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define SHRT_MIN -32768
+ * }
+ */
+ public static int SHRT_MIN() { return SHRT_MIN; }
+ private static final int UINT_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_MAX 4294967295
+ * }
+ */
+ public static int UINT_MAX() { return UINT_MAX; }
+ private static final int INT_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_MIN -2147483648
+ * }
+ */
+ public static int INT_MIN() { return INT_MIN; }
+ private static final long ULONG_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define ULONG_MAX -1
+ * }
+ */
+ public static long ULONG_MAX() { return ULONG_MAX; }
+ private static final long LONG_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_MAX 9223372036854775807
+ * }
+ */
+ public static long LONG_MAX() { return LONG_MAX; }
+ private static final long LONG_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_MIN -9223372036854775808
+ * }
+ */
+ public static long LONG_MIN() { return LONG_MIN; }
+ private static final long ULLONG_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define ULLONG_MAX -1
+ * }
+ */
+ public static long ULLONG_MAX() { return ULLONG_MAX; }
+ private static final long LLONG_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define LLONG_MAX 9223372036854775807
+ * }
+ */
+ public static long LLONG_MAX() { return LLONG_MAX; }
+ private static final long LLONG_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define LLONG_MIN -9223372036854775808
+ * }
+ */
+ public static long LLONG_MIN() { return LLONG_MIN; }
+ private static final long SSIZE_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define SSIZE_MAX 9223372036854775807
+ * }
+ */
+ public static long SSIZE_MAX() { return SSIZE_MAX; }
+ private static final long SIZE_T_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define SIZE_T_MAX -1
+ * }
+ */
+ public static long SIZE_T_MAX() { return SIZE_T_MAX; }
+ private static final long UQUAD_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UQUAD_MAX -1
+ * }
+ */
+ public static long UQUAD_MAX() { return UQUAD_MAX; }
+ private static final long QUAD_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define QUAD_MAX 9223372036854775807
+ * }
+ */
+ public static long QUAD_MAX() { return QUAD_MAX; }
+ private static final long QUAD_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define QUAD_MIN -9223372036854775808
+ * }
+ */
+ public static long QUAD_MIN() { return QUAD_MIN; }
+ private static final int ARG_MAX = (int)1048576L;
+ /**
+ * {@snippet lang=c :
+ * #define ARG_MAX 1048576
+ * }
+ */
+ public static int ARG_MAX() { return ARG_MAX; }
+ private static final int GID_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define GID_MAX 2147483647
+ * }
+ */
+ public static int GID_MAX() { return GID_MAX; }
+ private static final int UID_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define UID_MAX 2147483647
+ * }
+ */
+ public static int UID_MAX() { return UID_MAX; }
+ private static final int _POSIX_RE_DUP_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_RE_DUP_MAX 255
+ * }
+ */
+ public static int _POSIX_RE_DUP_MAX() { return _POSIX_RE_DUP_MAX; }
+ private static final long OFF_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define OFF_MIN -9223372036854775808
+ * }
+ */
+ public static long OFF_MIN() { return OFF_MIN; }
+ private static final long OFF_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define OFF_MAX 9223372036854775807
+ * }
+ */
+ public static long OFF_MAX() { return OFF_MAX; }
+ private static final long LONG_LONG_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_LONG_MAX 9223372036854775807
+ * }
+ */
+ public static long LONG_LONG_MAX() { return LONG_LONG_MAX; }
+ private static final long LONG_LONG_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_LONG_MIN -9223372036854775808
+ * }
+ */
+ public static long LONG_LONG_MIN() { return LONG_LONG_MIN; }
+ private static final long ULONG_LONG_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define ULONG_LONG_MAX -1
+ * }
+ */
+ public static long ULONG_LONG_MAX() { return ULONG_LONG_MAX; }
+ private static final MemorySegment NULL = MemorySegment.ofAddress(0L);
+ /**
+ * {@snippet lang=c :
+ * #define NULL (void*) 0
+ * }
+ */
+ public static MemorySegment NULL() { return NULL; }
+ private static final long USER_ADDR_NULL = 0L;
+ /**
+ * {@snippet lang=c :
+ * #define USER_ADDR_NULL 0
+ * }
+ */
+ public static long USER_ADDR_NULL() { return USER_ADDR_NULL; }
+ private static final int LITTLE_ENDIAN = (int)1234L;
+ /**
+ * {@snippet lang=c :
+ * #define LITTLE_ENDIAN 1234
+ * }
+ */
+ public static int LITTLE_ENDIAN() { return LITTLE_ENDIAN; }
+ private static final int BIG_ENDIAN = (int)4321L;
+ /**
+ * {@snippet lang=c :
+ * #define BIG_ENDIAN 4321
+ * }
+ */
+ public static int BIG_ENDIAN() { return BIG_ENDIAN; }
+ private static final int PDP_ENDIAN = (int)3412L;
+ /**
+ * {@snippet lang=c :
+ * #define PDP_ENDIAN 3412
+ * }
+ */
+ public static int PDP_ENDIAN() { return PDP_ENDIAN; }
+ private static final int __DARWIN_BYTE_ORDER = (int)1234L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_BYTE_ORDER 1234
+ * }
+ */
+ public static int __DARWIN_BYTE_ORDER() { return __DARWIN_BYTE_ORDER; }
+ private static final int BYTE_ORDER = (int)1234L;
+ /**
+ * {@snippet lang=c :
+ * #define BYTE_ORDER 1234
+ * }
+ */
+ public static int BYTE_ORDER() { return BYTE_ORDER; }
+ private static final long __DARWIN_NFDBITS = 32L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_NFDBITS 32
+ * }
+ */
+ public static long __DARWIN_NFDBITS() { return __DARWIN_NFDBITS; }
+ private static final int NBBY = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define NBBY 8
+ * }
+ */
+ public static int NBBY() { return NBBY; }
+ private static final long NFDBITS = 32L;
+ /**
+ * {@snippet lang=c :
+ * #define NFDBITS 32
+ * }
+ */
+ public static long NFDBITS() { return NFDBITS; }
+ private static final int FD_SETSIZE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define FD_SETSIZE 1024
+ * }
+ */
+ public static int FD_SETSIZE() { return FD_SETSIZE; }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_SUBRELEASE "4"
+ * }
+ */
+ public static MemorySegment H5_VERS_SUBRELEASE()
+ {
+ class Holder {
+ static final MemorySegment H5_VERS_SUBRELEASE = hdf5_h.LIBRARY_ARENA.allocateFrom("4");
+ }
+ return Holder.H5_VERS_SUBRELEASE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_STR "2.0.0-4"
+ * }
+ */
+ public static MemorySegment H5_VERS_STR()
+ {
+ class Holder {
+ static final MemorySegment H5_VERS_STR = hdf5_h.LIBRARY_ARENA.allocateFrom("2.0.0-4");
+ }
+ return Holder.H5_VERS_STR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_INFO "HDF5 library version: 2.0.0-4"
+ * }
+ */
+ public static MemorySegment H5_VERS_INFO()
+ {
+ class Holder {
+ static final MemorySegment H5_VERS_INFO =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5 library version: 2.0.0-4");
+ }
+ return Holder.H5_VERS_INFO;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_DRIVER "HDF5_DRIVER"
+ * }
+ */
+ public static MemorySegment HDF5_DRIVER()
+ {
+ class Holder {
+ static final MemorySegment HDF5_DRIVER = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_DRIVER");
+ }
+ return Holder.HDF5_DRIVER;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_DRIVER_CONFIG "HDF5_DRIVER_CONFIG"
+ * }
+ */
+ public static MemorySegment HDF5_DRIVER_CONFIG()
+ {
+ class Holder {
+ static final MemorySegment HDF5_DRIVER_CONFIG =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_DRIVER_CONFIG");
+ }
+ return Holder.HDF5_DRIVER_CONFIG;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_VOL_CONNECTOR "HDF5_VOL_CONNECTOR"
+ * }
+ */
+ public static MemorySegment HDF5_VOL_CONNECTOR()
+ {
+ class Holder {
+ static final MemorySegment HDF5_VOL_CONNECTOR =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_VOL_CONNECTOR");
+ }
+ return Holder.HDF5_VOL_CONNECTOR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_PLUGIN_PATH "HDF5_PLUGIN_PATH"
+ * }
+ */
+ public static MemorySegment HDF5_PLUGIN_PATH()
+ {
+ class Holder {
+ static final MemorySegment HDF5_PLUGIN_PATH =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_PLUGIN_PATH");
+ }
+ return Holder.HDF5_PLUGIN_PATH;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_PLUGIN_PRELOAD "HDF5_PLUGIN_PRELOAD"
+ * }
+ */
+ public static MemorySegment HDF5_PLUGIN_PRELOAD()
+ {
+ class Holder {
+ static final MemorySegment HDF5_PLUGIN_PRELOAD =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_PLUGIN_PRELOAD");
+ }
+ return Holder.HDF5_PLUGIN_PRELOAD;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_USE_FILE_LOCKING "HDF5_USE_FILE_LOCKING"
+ * }
+ */
+ public static MemorySegment HDF5_USE_FILE_LOCKING()
+ {
+ class Holder {
+ static final MemorySegment HDF5_USE_FILE_LOCKING =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_USE_FILE_LOCKING");
+ }
+ return Holder.HDF5_USE_FILE_LOCKING;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_NOCLEANUP "HDF5_NOCLEANUP"
+ * }
+ */
+ public static MemorySegment HDF5_NOCLEANUP()
+ {
+ class Holder {
+ static final MemorySegment HDF5_NOCLEANUP = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_NOCLEANUP");
+ }
+ return Holder.HDF5_NOCLEANUP;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_PREFER_WINDOWS_CODE_PAGE "HDF5_PREFER_WINDOWS_CODE_PAGE"
+ * }
+ */
+ public static MemorySegment HDF5_PREFER_WINDOWS_CODE_PAGE()
+ {
+ class Holder {
+ static final MemorySegment HDF5_PREFER_WINDOWS_CODE_PAGE =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_PREFER_WINDOWS_CODE_PAGE");
+ }
+ return Holder.HDF5_PREFER_WINDOWS_CODE_PAGE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdHSIZE "lld"
+ * }
+ */
+ public static MemorySegment PRIdHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIdHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiHSIZE "lli"
+ * }
+ */
+ public static MemorySegment PRIiHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIiHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIiHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoHSIZE "llo"
+ * }
+ */
+ public static MemorySegment PRIoHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIoHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuHSIZE "llu"
+ * }
+ */
+ public static MemorySegment PRIuHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIuHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxHSIZE "llx"
+ * }
+ */
+ public static MemorySegment PRIxHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIxHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXHSIZE "llX"
+ * }
+ */
+ public static MemorySegment PRIXHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIXHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXHSIZE;
+ }
+ private static final long HSIZE_UNDEF = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define HSIZE_UNDEF -1
+ * }
+ */
+ public static long HSIZE_UNDEF() { return HSIZE_UNDEF; }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdHADDR "lld"
+ * }
+ */
+ public static MemorySegment PRIdHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIdHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoHADDR "llo"
+ * }
+ */
+ public static MemorySegment PRIoHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIoHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuHADDR "llu"
+ * }
+ */
+ public static MemorySegment PRIuHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIuHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxHADDR "llx"
+ * }
+ */
+ public static MemorySegment PRIxHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIxHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXHADDR "llX"
+ * }
+ */
+ public static MemorySegment PRIXHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIXHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXHADDR;
+ }
+ private static final long HADDR_UNDEF = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define HADDR_UNDEF -1
+ * }
+ */
+ public static long HADDR_UNDEF() { return HADDR_UNDEF; }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PRINTF_HADDR_FMT "%llu"
+ * }
+ */
+ public static MemorySegment H5_PRINTF_HADDR_FMT()
+ {
+ class Holder {
+ static final MemorySegment H5_PRINTF_HADDR_FMT = hdf5_h.LIBRARY_ARENA.allocateFrom("%llu");
+ }
+ return Holder.H5_PRINTF_HADDR_FMT;
+ }
+ private static final long HADDR_MAX = -2L;
+ /**
+ * {@snippet lang=c :
+ * #define HADDR_MAX -2
+ * }
+ */
+ public static long HADDR_MAX() { return HADDR_MAX; }
+ private static final int H5_ITER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_ITER_ERROR -1
+ * }
+ */
+ public static int H5_ITER_ERROR() { return H5_ITER_ERROR; }
+ private static final int H5_ITER_CONT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_ITER_CONT 0
+ * }
+ */
+ public static int H5_ITER_CONT() { return H5_ITER_CONT; }
+ private static final int H5_ITER_STOP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_ITER_STOP 1
+ * }
+ */
+ public static int H5_ITER_STOP() { return H5_ITER_STOP; }
+ private static final int H5O_MAX_TOKEN_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_MAX_TOKEN_SIZE 16
+ * }
+ */
+ public static int H5O_MAX_TOKEN_SIZE() { return H5O_MAX_TOKEN_SIZE; }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdHID "lld"
+ * }
+ */
+ public static MemorySegment PRIdHID()
+ {
+ class Holder {
+ static final MemorySegment PRIdHID = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdHID;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxHID "llx"
+ * }
+ */
+ public static MemorySegment PRIxHID()
+ {
+ class Holder {
+ static final MemorySegment PRIxHID = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxHID;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXHID "llX"
+ * }
+ */
+ public static MemorySegment PRIXHID()
+ {
+ class Holder {
+ static final MemorySegment PRIXHID = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXHID;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoHID "llo"
+ * }
+ */
+ public static MemorySegment PRIoHID()
+ {
+ class Holder {
+ static final MemorySegment PRIoHID = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoHID;
+ }
+ private static final int H5_SIZEOF_HID_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HID_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HID_T() { return H5_SIZEOF_HID_T; }
+ private static final int H5I_INVALID_HID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5I_INVALID_HID -1
+ * }
+ */
+ public static int H5I_INVALID_HID() { return H5I_INVALID_HID; }
+ private static final int H5O_COPY_SHALLOW_HIERARCHY_FLAG = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_SHALLOW_HIERARCHY_FLAG 1
+ * }
+ */
+ public static int H5O_COPY_SHALLOW_HIERARCHY_FLAG() { return H5O_COPY_SHALLOW_HIERARCHY_FLAG; }
+ private static final int H5O_COPY_EXPAND_SOFT_LINK_FLAG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_EXPAND_SOFT_LINK_FLAG 2
+ * }
+ */
+ public static int H5O_COPY_EXPAND_SOFT_LINK_FLAG() { return H5O_COPY_EXPAND_SOFT_LINK_FLAG; }
+ private static final int H5O_COPY_EXPAND_EXT_LINK_FLAG = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_EXPAND_EXT_LINK_FLAG 4
+ * }
+ */
+ public static int H5O_COPY_EXPAND_EXT_LINK_FLAG() { return H5O_COPY_EXPAND_EXT_LINK_FLAG; }
+ private static final int H5O_COPY_EXPAND_REFERENCE_FLAG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_EXPAND_REFERENCE_FLAG 8
+ * }
+ */
+ public static int H5O_COPY_EXPAND_REFERENCE_FLAG() { return H5O_COPY_EXPAND_REFERENCE_FLAG; }
+ private static final int H5O_COPY_WITHOUT_ATTR_FLAG = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_WITHOUT_ATTR_FLAG 16
+ * }
+ */
+ public static int H5O_COPY_WITHOUT_ATTR_FLAG() { return H5O_COPY_WITHOUT_ATTR_FLAG; }
+ private static final int H5O_COPY_PRESERVE_NULL_FLAG = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_PRESERVE_NULL_FLAG 32
+ * }
+ */
+ public static int H5O_COPY_PRESERVE_NULL_FLAG() { return H5O_COPY_PRESERVE_NULL_FLAG; }
+ private static final int H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG 64
+ * }
+ */
+ public static int H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG() { return H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG; }
+ private static final int H5O_COPY_ALL = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_ALL 127
+ * }
+ */
+ public static int H5O_COPY_ALL() { return H5O_COPY_ALL; }
+ private static final int H5O_SHMESG_SDSPACE_FLAG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_SDSPACE_FLAG 2
+ * }
+ */
+ public static int H5O_SHMESG_SDSPACE_FLAG() { return H5O_SHMESG_SDSPACE_FLAG; }
+ private static final int H5O_SHMESG_DTYPE_FLAG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_DTYPE_FLAG 8
+ * }
+ */
+ public static int H5O_SHMESG_DTYPE_FLAG() { return H5O_SHMESG_DTYPE_FLAG; }
+ private static final int H5O_SHMESG_FILL_FLAG = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_FILL_FLAG 32
+ * }
+ */
+ public static int H5O_SHMESG_FILL_FLAG() { return H5O_SHMESG_FILL_FLAG; }
+ private static final int H5O_SHMESG_PLINE_FLAG = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_PLINE_FLAG 2048
+ * }
+ */
+ public static int H5O_SHMESG_PLINE_FLAG() { return H5O_SHMESG_PLINE_FLAG; }
+ private static final int H5O_SHMESG_ATTR_FLAG = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_ATTR_FLAG 4096
+ * }
+ */
+ public static int H5O_SHMESG_ATTR_FLAG() { return H5O_SHMESG_ATTR_FLAG; }
+ private static final int H5O_SHMESG_ALL_FLAG = (int)6186L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_ALL_FLAG 6186
+ * }
+ */
+ public static int H5O_SHMESG_ALL_FLAG() { return H5O_SHMESG_ALL_FLAG; }
+ private static final int H5O_HDR_ALL_FLAGS = (int)63L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ALL_FLAGS 63
+ * }
+ */
+ public static int H5O_HDR_ALL_FLAGS() { return H5O_HDR_ALL_FLAGS; }
+ private static final int H5O_INFO_BASIC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_BASIC 1
+ * }
+ */
+ public static int H5O_INFO_BASIC() { return H5O_INFO_BASIC; }
+ private static final int H5O_INFO_TIME = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_TIME 2
+ * }
+ */
+ public static int H5O_INFO_TIME() { return H5O_INFO_TIME; }
+ private static final int H5O_INFO_NUM_ATTRS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_NUM_ATTRS 4
+ * }
+ */
+ public static int H5O_INFO_NUM_ATTRS() { return H5O_INFO_NUM_ATTRS; }
+ private static final int H5O_INFO_ALL = (int)31L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_ALL 31
+ * }
+ */
+ public static int H5O_INFO_ALL() { return H5O_INFO_ALL; }
+ private static final int H5O_NATIVE_INFO_HDR = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_NATIVE_INFO_HDR 8
+ * }
+ */
+ public static int H5O_NATIVE_INFO_HDR() { return H5O_NATIVE_INFO_HDR; }
+ private static final int H5O_NATIVE_INFO_META_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_NATIVE_INFO_META_SIZE 16
+ * }
+ */
+ public static int H5O_NATIVE_INFO_META_SIZE() { return H5O_NATIVE_INFO_META_SIZE; }
+ private static final int H5O_NATIVE_INFO_ALL = (int)24L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_NATIVE_INFO_ALL 24
+ * }
+ */
+ public static int H5O_NATIVE_INFO_ALL() { return H5O_NATIVE_INFO_ALL; }
+ private static final int H5O_INFO_HDR = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_HDR 8
+ * }
+ */
+ public static int H5O_INFO_HDR() { return H5O_INFO_HDR; }
+ private static final int H5O_INFO_META_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_META_SIZE 16
+ * }
+ */
+ public static int H5O_INFO_META_SIZE() { return H5O_INFO_META_SIZE; }
+ private static final int H5T_NCSET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_NCSET 2
+ * }
+ */
+ public static int H5T_NCSET() { return H5T_NCSET; }
+ private static final int H5T_NSTR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_NSTR 3
+ * }
+ */
+ public static int H5T_NSTR() { return H5T_NSTR; }
+ private static final long H5T_VARIABLE = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_VARIABLE -1
+ * }
+ */
+ public static long H5T_VARIABLE() { return H5T_VARIABLE; }
+ private static final int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE -1
+ * }
+ */
+ public static int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE()
+ {
+ return H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE;
+ }
+ private static final long H5D_CHUNK_CACHE_NSLOTS_DEFAULT = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_CACHE_NSLOTS_DEFAULT -1
+ * }
+ */
+ public static long H5D_CHUNK_CACHE_NSLOTS_DEFAULT() { return H5D_CHUNK_CACHE_NSLOTS_DEFAULT; }
+ private static final long H5D_CHUNK_CACHE_NBYTES_DEFAULT = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_CACHE_NBYTES_DEFAULT -1
+ * }
+ */
+ public static long H5D_CHUNK_CACHE_NBYTES_DEFAULT() { return H5D_CHUNK_CACHE_NBYTES_DEFAULT; }
+ private static final double H5D_CHUNK_CACHE_W0_DEFAULT = -1.0d;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_CACHE_W0_DEFAULT -1.0
+ * }
+ */
+ public static double H5D_CHUNK_CACHE_W0_DEFAULT() { return H5D_CHUNK_CACHE_W0_DEFAULT; }
+ private static final int H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS 2
+ * }
+ */
+ public static int H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS() { return H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS; }
+ private static final int H5D_CHUNK_BTREE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_BTREE 0
+ * }
+ */
+ public static int H5D_CHUNK_BTREE() { return H5D_CHUNK_BTREE; }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME "direct_chunk_flag"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_flag");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME "direct_chunk_filters"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_filters");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME "direct_chunk_offset"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_offset");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME "direct_chunk_datasize"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_datasize");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME "direct_chunk_read_flag"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_read_flag");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME "direct_chunk_read_offset"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_read_offset");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME "direct_chunk_read_filters"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_read_filters");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME;
+ }
+ private static final int EOF = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define EOF -1
+ * }
+ */
+ public static int EOF() { return EOF; }
+ /**
+ * {@snippet lang=c :
+ * #define P_tmpdir "/var/tmp/"
+ * }
+ */
+ public static MemorySegment P_tmpdir()
+ {
+ class Holder {
+ static final MemorySegment P_tmpdir = hdf5_h.LIBRARY_ARENA.allocateFrom("/var/tmp/");
+ }
+ return Holder.P_tmpdir;
+ }
+ private static final long H5ES_WAIT_FOREVER = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5ES_WAIT_FOREVER -1
+ * }
+ */
+ public static long H5ES_WAIT_FOREVER() { return H5ES_WAIT_FOREVER; }
+ private static final int H5ES_WAIT_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5ES_WAIT_NONE 0
+ * }
+ */
+ public static int H5ES_WAIT_NONE() { return H5ES_WAIT_NONE; }
+ private static final int H5F_ACC_RDONLY = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_RDONLY 0
+ * }
+ */
+ public static int H5F_ACC_RDONLY() { return H5F_ACC_RDONLY; }
+ private static final int H5F_ACC_RDWR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_RDWR 1
+ * }
+ */
+ public static int H5F_ACC_RDWR() { return H5F_ACC_RDWR; }
+ private static final int H5F_ACC_TRUNC = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_TRUNC 2
+ * }
+ */
+ public static int H5F_ACC_TRUNC() { return H5F_ACC_TRUNC; }
+ private static final int H5F_ACC_EXCL = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_EXCL 4
+ * }
+ */
+ public static int H5F_ACC_EXCL() { return H5F_ACC_EXCL; }
+ private static final int H5F_ACC_CREAT = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_CREAT 16
+ * }
+ */
+ public static int H5F_ACC_CREAT() { return H5F_ACC_CREAT; }
+ private static final int H5F_ACC_SWMR_WRITE = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_SWMR_WRITE 32
+ * }
+ */
+ public static int H5F_ACC_SWMR_WRITE() { return H5F_ACC_SWMR_WRITE; }
+ private static final int H5F_ACC_SWMR_READ = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_SWMR_READ 64
+ * }
+ */
+ public static int H5F_ACC_SWMR_READ() { return H5F_ACC_SWMR_READ; }
+ private static final int H5F_ACC_DEFAULT = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_DEFAULT 65535
+ * }
+ */
+ public static int H5F_ACC_DEFAULT() { return H5F_ACC_DEFAULT; }
+ private static final int H5F_OBJ_FILE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_FILE 1
+ * }
+ */
+ public static int H5F_OBJ_FILE() { return H5F_OBJ_FILE; }
+ private static final int H5F_OBJ_DATASET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_DATASET 2
+ * }
+ */
+ public static int H5F_OBJ_DATASET() { return H5F_OBJ_DATASET; }
+ private static final int H5F_OBJ_GROUP = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_GROUP 4
+ * }
+ */
+ public static int H5F_OBJ_GROUP() { return H5F_OBJ_GROUP; }
+ private static final int H5F_OBJ_DATATYPE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_DATATYPE 8
+ * }
+ */
+ public static int H5F_OBJ_DATATYPE() { return H5F_OBJ_DATATYPE; }
+ private static final int H5F_OBJ_ATTR = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_ATTR 16
+ * }
+ */
+ public static int H5F_OBJ_ATTR() { return H5F_OBJ_ATTR; }
+ private static final int H5F_OBJ_ALL = (int)31L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_ALL 31
+ * }
+ */
+ public static int H5F_OBJ_ALL() { return H5F_OBJ_ALL; }
+ private static final int H5F_OBJ_LOCAL = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_LOCAL 32
+ * }
+ */
+ public static int H5F_OBJ_LOCAL() { return H5F_OBJ_LOCAL; }
+ private static final long H5F_PAGE_BUFFER_SIZE_DEFAULT = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_PAGE_BUFFER_SIZE_DEFAULT -1
+ * }
+ */
+ public static long H5F_PAGE_BUFFER_SIZE_DEFAULT() { return H5F_PAGE_BUFFER_SIZE_DEFAULT; }
+ private static final long H5F_UNLIMITED = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_UNLIMITED -1
+ * }
+ */
+ public static long H5F_UNLIMITED() { return H5F_UNLIMITED; }
+ private static final int H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS 1
+ * }
+ */
+ public static int H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS()
+ {
+ return H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS;
+ }
+ private static final int H5F_RFIC_ALL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_RFIC_ALL 1
+ * }
+ */
+ public static int H5F_RFIC_ALL() { return H5F_RFIC_ALL; }
+ private static final int H5F_ACC_DEBUG = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_DEBUG 0
+ * }
+ */
+ public static int H5F_ACC_DEBUG() { return H5F_ACC_DEBUG; }
+ private static final int H5_VFD_INVALID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_INVALID -1
+ * }
+ */
+ public static int H5_VFD_INVALID() { return H5_VFD_INVALID; }
+ private static final int H5_VFD_SEC2 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_SEC2 0
+ * }
+ */
+ public static int H5_VFD_SEC2() { return H5_VFD_SEC2; }
+ private static final int H5_VFD_CORE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_CORE 1
+ * }
+ */
+ public static int H5_VFD_CORE() { return H5_VFD_CORE; }
+ private static final int H5_VFD_LOG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_LOG 2
+ * }
+ */
+ public static int H5_VFD_LOG() { return H5_VFD_LOG; }
+ private static final int H5_VFD_FAMILY = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_FAMILY 3
+ * }
+ */
+ public static int H5_VFD_FAMILY() { return H5_VFD_FAMILY; }
+ private static final int H5_VFD_MULTI = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MULTI 4
+ * }
+ */
+ public static int H5_VFD_MULTI() { return H5_VFD_MULTI; }
+ private static final int H5_VFD_STDIO = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_STDIO 5
+ * }
+ */
+ public static int H5_VFD_STDIO() { return H5_VFD_STDIO; }
+ private static final int H5_VFD_SPLITTER = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_SPLITTER 6
+ * }
+ */
+ public static int H5_VFD_SPLITTER() { return H5_VFD_SPLITTER; }
+ private static final int H5_VFD_MPIO = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MPIO 7
+ * }
+ */
+ public static int H5_VFD_MPIO() { return H5_VFD_MPIO; }
+ private static final int H5_VFD_DIRECT = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_DIRECT 8
+ * }
+ */
+ public static int H5_VFD_DIRECT() { return H5_VFD_DIRECT; }
+ private static final int H5_VFD_MIRROR = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MIRROR 9
+ * }
+ */
+ public static int H5_VFD_MIRROR() { return H5_VFD_MIRROR; }
+ private static final int H5_VFD_HDFS = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_HDFS 10
+ * }
+ */
+ public static int H5_VFD_HDFS() { return H5_VFD_HDFS; }
+ private static final int H5_VFD_ROS3 = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_ROS3 11
+ * }
+ */
+ public static int H5_VFD_ROS3() { return H5_VFD_ROS3; }
+ private static final int H5_VFD_SUBFILING = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_SUBFILING 12
+ * }
+ */
+ public static int H5_VFD_SUBFILING() { return H5_VFD_SUBFILING; }
+ private static final int H5_VFD_IOC = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_IOC 13
+ * }
+ */
+ public static int H5_VFD_IOC() { return H5_VFD_IOC; }
+ private static final int H5_VFD_ONION = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_ONION 14
+ * }
+ */
+ public static int H5_VFD_ONION() { return H5_VFD_ONION; }
+ private static final int H5FD_FEAT_ACCUMULATE_METADATA = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ACCUMULATE_METADATA 6
+ * }
+ */
+ public static int H5FD_FEAT_ACCUMULATE_METADATA() { return H5FD_FEAT_ACCUMULATE_METADATA; }
+ private static final int H5FD_CTL_OPC_EXPER_MIN = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_OPC_EXPER_MIN 512
+ * }
+ */
+ public static int H5FD_CTL_OPC_EXPER_MIN() { return H5FD_CTL_OPC_EXPER_MIN; }
+ private static final int H5FD_CTL_OPC_EXPER_MAX = (int)1023L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_OPC_EXPER_MAX 1023
+ * }
+ */
+ public static int H5FD_CTL_OPC_EXPER_MAX() { return H5FD_CTL_OPC_EXPER_MAX; }
+ private static final int H5L_MAX_LINK_NAME_LEN = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_MAX_LINK_NAME_LEN 4294967295
+ * }
+ */
+ public static int H5L_MAX_LINK_NAME_LEN() { return H5L_MAX_LINK_NAME_LEN; }
+ private static final int H5L_TYPE_BUILTIN_MAX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_TYPE_BUILTIN_MAX 1
+ * }
+ */
+ public static int H5L_TYPE_BUILTIN_MAX() { return H5L_TYPE_BUILTIN_MAX; }
+ private static final int H5L_TYPE_UD_MIN = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_TYPE_UD_MIN 64
+ * }
+ */
+ public static int H5L_TYPE_UD_MIN() { return H5L_TYPE_UD_MIN; }
+ private static final int H5L_TYPE_UD_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_TYPE_UD_MAX 255
+ * }
+ */
+ public static int H5L_TYPE_UD_MAX() { return H5L_TYPE_UD_MAX; }
+ private static final int H5G_SAME_LOC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_SAME_LOC 0
+ * }
+ */
+ public static int H5G_SAME_LOC() { return H5G_SAME_LOC; }
+ private static final int H5G_LINK_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_LINK_ERROR -1
+ * }
+ */
+ public static int H5G_LINK_ERROR() { return H5G_LINK_ERROR; }
+ private static final int H5G_LINK_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_LINK_HARD 0
+ * }
+ */
+ public static int H5G_LINK_HARD() { return H5G_LINK_HARD; }
+ private static final int H5G_LINK_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_LINK_SOFT 1
+ * }
+ */
+ public static int H5G_LINK_SOFT() { return H5G_LINK_SOFT; }
+ private static final int H5G_NUSERTYPES = (int)248L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_NUSERTYPES 248
+ * }
+ */
+ public static int H5G_NUSERTYPES() { return H5G_NUSERTYPES; }
+ private static final int H5_VOL_INVALID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_INVALID -1
+ * }
+ */
+ public static int H5_VOL_INVALID() { return H5_VOL_INVALID; }
+ private static final int H5VL_CAP_FLAG_SOFT_LINKS = (int)2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_SOFT_LINKS 2147483648
+ * }
+ */
+ public static int H5VL_CAP_FLAG_SOFT_LINKS() { return H5VL_CAP_FLAG_SOFT_LINKS; }
+ private static final long H5VL_CAP_FLAG_UD_LINKS = 4294967296L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_UD_LINKS 4294967296
+ * }
+ */
+ public static long H5VL_CAP_FLAG_UD_LINKS() { return H5VL_CAP_FLAG_UD_LINKS; }
+ private static final long H5VL_CAP_FLAG_TRACK_TIMES = 8589934592L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_TRACK_TIMES 8589934592
+ * }
+ */
+ public static long H5VL_CAP_FLAG_TRACK_TIMES() { return H5VL_CAP_FLAG_TRACK_TIMES; }
+ private static final long H5VL_CAP_FLAG_MOUNT = 17179869184L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_MOUNT 17179869184
+ * }
+ */
+ public static long H5VL_CAP_FLAG_MOUNT() { return H5VL_CAP_FLAG_MOUNT; }
+ private static final long H5VL_CAP_FLAG_FILTERS = 34359738368L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILTERS 34359738368
+ * }
+ */
+ public static long H5VL_CAP_FLAG_FILTERS() { return H5VL_CAP_FLAG_FILTERS; }
+ private static final long H5VL_CAP_FLAG_FILL_VALUES = 68719476736L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILL_VALUES 68719476736
+ * }
+ */
+ public static long H5VL_CAP_FLAG_FILL_VALUES() { return H5VL_CAP_FLAG_FILL_VALUES; }
+ private static final long H5R_OBJ_REF_BUF_SIZE = 8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_OBJ_REF_BUF_SIZE 8
+ * }
+ */
+ public static long H5R_OBJ_REF_BUF_SIZE() { return H5R_OBJ_REF_BUF_SIZE; }
+ private static final long H5R_DSET_REG_REF_BUF_SIZE = 12L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_DSET_REG_REF_BUF_SIZE 12
+ * }
+ */
+ public static long H5R_DSET_REG_REF_BUF_SIZE() { return H5R_DSET_REG_REF_BUF_SIZE; }
+ private static final int H5R_REF_BUF_SIZE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_REF_BUF_SIZE 64
+ * }
+ */
+ public static int H5R_REF_BUF_SIZE() { return H5R_REF_BUF_SIZE; }
+ private static final int H5R_OBJECT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_OBJECT 0
+ * }
+ */
+ public static int H5R_OBJECT() { return H5R_OBJECT; }
+ private static final int H5R_DATASET_REGION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_DATASET_REGION 1
+ * }
+ */
+ public static int H5R_DATASET_REGION() { return H5R_DATASET_REGION; }
+ private static final int H5VL_MAX_BLOB_ID_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAX_BLOB_ID_SIZE 16
+ * }
+ */
+ public static int H5VL_MAX_BLOB_ID_SIZE() { return H5VL_MAX_BLOB_ID_SIZE; }
+ private static final long H5S_UNLIMITED = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_UNLIMITED -1
+ * }
+ */
+ public static long H5S_UNLIMITED() { return H5S_UNLIMITED; }
+ private static final int H5Z_FILTER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_ERROR -1
+ * }
+ */
+ public static int H5Z_FILTER_ERROR() { return H5Z_FILTER_ERROR; }
+ private static final int H5Z_FILTER_CONFIG_ENCODE_ENABLED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_CONFIG_ENCODE_ENABLED 1
+ * }
+ */
+ public static int H5Z_FILTER_CONFIG_ENCODE_ENABLED() { return H5Z_FILTER_CONFIG_ENCODE_ENABLED; }
+ private static final int H5Z_FILTER_CONFIG_DECODE_ENABLED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_CONFIG_DECODE_ENABLED 2
+ * }
+ */
+ public static int H5Z_FILTER_CONFIG_DECODE_ENABLED() { return H5Z_FILTER_CONFIG_DECODE_ENABLED; }
+ private static final int H5D_SEL_IO_DISABLE_BY_API = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_DISABLE_BY_API 1
+ * }
+ */
+ public static int H5D_SEL_IO_DISABLE_BY_API() { return H5D_SEL_IO_DISABLE_BY_API; }
+ private static final int H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET 2
+ * }
+ */
+ public static int H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET()
+ {
+ return H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET;
+ }
+ private static final int H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER 4
+ * }
+ */
+ public static int H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER() { return H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER; }
+ private static final int H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB 8
+ * }
+ */
+ public static int H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB()
+ {
+ return H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB;
+ }
+ private static final int H5D_SEL_IO_PAGE_BUFFER = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_PAGE_BUFFER 16
+ * }
+ */
+ public static int H5D_SEL_IO_PAGE_BUFFER() { return H5D_SEL_IO_PAGE_BUFFER; }
+ private static final int H5D_SEL_IO_DATASET_FILTER = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_DATASET_FILTER 32
+ * }
+ */
+ public static int H5D_SEL_IO_DATASET_FILTER() { return H5D_SEL_IO_DATASET_FILTER; }
+ private static final int H5D_SEL_IO_CHUNK_CACHE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_CHUNK_CACHE 64
+ * }
+ */
+ public static int H5D_SEL_IO_CHUNK_CACHE() { return H5D_SEL_IO_CHUNK_CACHE; }
+ private static final int H5D_SEL_IO_TCONV_BUF_TOO_SMALL = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_TCONV_BUF_TOO_SMALL 128
+ * }
+ */
+ public static int H5D_SEL_IO_TCONV_BUF_TOO_SMALL() { return H5D_SEL_IO_TCONV_BUF_TOO_SMALL; }
+ private static final int H5D_SEL_IO_BKG_BUF_TOO_SMALL = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_BKG_BUF_TOO_SMALL 256
+ * }
+ */
+ public static int H5D_SEL_IO_BKG_BUF_TOO_SMALL() { return H5D_SEL_IO_BKG_BUF_TOO_SMALL; }
+ private static final int H5D_SEL_IO_DEFAULT_OFF = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_DEFAULT_OFF 512
+ * }
+ */
+ public static int H5D_SEL_IO_DEFAULT_OFF() { return H5D_SEL_IO_DEFAULT_OFF; }
+ private static final int H5D_MPIO_NO_SELECTION_IO_CAUSES = (int)481L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_MPIO_NO_SELECTION_IO_CAUSES 481
+ * }
+ */
+ public static int H5D_MPIO_NO_SELECTION_IO_CAUSES() { return H5D_MPIO_NO_SELECTION_IO_CAUSES; }
+ private static final int H5D_SCALAR_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SCALAR_IO 1
+ * }
+ */
+ public static int H5D_SCALAR_IO() { return H5D_SCALAR_IO; }
+ private static final int H5D_VECTOR_IO = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_VECTOR_IO 2
+ * }
+ */
+ public static int H5D_VECTOR_IO() { return H5D_VECTOR_IO; }
+ private static final int H5D_SELECTION_IO = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SELECTION_IO 4
+ * }
+ */
+ public static int H5D_SELECTION_IO() { return H5D_SELECTION_IO; }
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_NO_PLUGIN "::"
+ * }
+ */
+ public static MemorySegment H5PL_NO_PLUGIN()
+ {
+ class Holder {
+ static final MemorySegment H5PL_NO_PLUGIN = hdf5_h.LIBRARY_ARENA.allocateFrom("::");
+ }
+ return Holder.H5PL_NO_PLUGIN;
+ }
+ private static final int H5FD_MEM_FHEAP_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_HDR() { return H5FD_MEM_FHEAP_HDR; }
+ private static final int H5FD_MEM_FHEAP_IBLOCK = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_IBLOCK 6
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_IBLOCK() { return H5FD_MEM_FHEAP_IBLOCK; }
+ private static final int H5FD_MEM_FHEAP_DBLOCK = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_DBLOCK 5
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_DBLOCK() { return H5FD_MEM_FHEAP_DBLOCK; }
+ private static final int H5FD_MEM_FHEAP_HUGE_OBJ = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_HUGE_OBJ 3
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_HUGE_OBJ() { return H5FD_MEM_FHEAP_HUGE_OBJ; }
+ private static final int H5FD_MEM_FSPACE_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FSPACE_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_FSPACE_HDR() { return H5FD_MEM_FSPACE_HDR; }
+ private static final int H5FD_MEM_FSPACE_SINFO = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FSPACE_SINFO 5
+ * }
+ */
+ public static int H5FD_MEM_FSPACE_SINFO() { return H5FD_MEM_FSPACE_SINFO; }
+ private static final int H5FD_MEM_SOHM_TABLE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_SOHM_TABLE 6
+ * }
+ */
+ public static int H5FD_MEM_SOHM_TABLE() { return H5FD_MEM_SOHM_TABLE; }
+ private static final int H5FD_MEM_SOHM_INDEX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_SOHM_INDEX 2
+ * }
+ */
+ public static int H5FD_MEM_SOHM_INDEX() { return H5FD_MEM_SOHM_INDEX; }
+ private static final int H5FD_MEM_EARRAY_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_HDR() { return H5FD_MEM_EARRAY_HDR; }
+ private static final int H5FD_MEM_EARRAY_IBLOCK = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_IBLOCK 6
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_IBLOCK() { return H5FD_MEM_EARRAY_IBLOCK; }
+ private static final int H5FD_MEM_EARRAY_SBLOCK = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_SBLOCK 2
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_SBLOCK() { return H5FD_MEM_EARRAY_SBLOCK; }
+ private static final int H5FD_MEM_EARRAY_DBLOCK = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_DBLOCK 5
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_DBLOCK() { return H5FD_MEM_EARRAY_DBLOCK; }
+ private static final int H5FD_MEM_EARRAY_DBLK_PAGE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_DBLK_PAGE 5
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_DBLK_PAGE() { return H5FD_MEM_EARRAY_DBLK_PAGE; }
+ private static final int H5FD_MEM_FARRAY_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FARRAY_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_FARRAY_HDR() { return H5FD_MEM_FARRAY_HDR; }
+ private static final int H5FD_MEM_FARRAY_DBLOCK = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FARRAY_DBLOCK 5
+ * }
+ */
+ public static int H5FD_MEM_FARRAY_DBLOCK() { return H5FD_MEM_FARRAY_DBLOCK; }
+ private static final int H5FD_MEM_FARRAY_DBLK_PAGE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FARRAY_DBLK_PAGE 5
+ * }
+ */
+ public static int H5FD_MEM_FARRAY_DBLK_PAGE() { return H5FD_MEM_FARRAY_DBLK_PAGE; }
+ private static final int H5Z_CLASS_T_VERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_CLASS_T_VERS 1
+ * }
+ */
+ public static int H5Z_CLASS_T_VERS() { return H5Z_CLASS_T_VERS; }
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_NAME "native"
+ * }
+ */
+ public static MemorySegment H5VL_NATIVE_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5VL_NATIVE_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("native");
+ }
+ return Holder.H5VL_NATIVE_NAME;
+ }
+ private static final int H5VL_NATIVE_VALUE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_VALUE 0
+ * }
+ */
+ public static int H5VL_NATIVE_VALUE() { return H5VL_NATIVE_VALUE; }
+ private static final int H5FD_CORE_VALUE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CORE_VALUE 1
+ * }
+ */
+ public static int H5FD_CORE_VALUE() { return H5FD_CORE_VALUE; }
+ private static final int H5FD_DIRECT = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_DIRECT -1
+ * }
+ */
+ public static int H5FD_DIRECT() { return H5FD_DIRECT; }
+ private static final int H5FD_DIRECT_VALUE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_DIRECT_VALUE -1
+ * }
+ */
+ public static int H5FD_DIRECT_VALUE() { return H5FD_DIRECT_VALUE; }
+ private static final int CBSIZE_DEF = (int)16777216L;
+ /**
+ * {@snippet lang=c :
+ * #define CBSIZE_DEF 16777216
+ * }
+ */
+ public static int CBSIZE_DEF() { return CBSIZE_DEF; }
+ private static final int H5FD_FAMILY_VALUE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FAMILY_VALUE 3
+ * }
+ */
+ public static int H5FD_FAMILY_VALUE() { return H5FD_FAMILY_VALUE; }
+ private static final int H5FD_HDFS = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_HDFS -1
+ * }
+ */
+ public static int H5FD_HDFS() { return H5FD_HDFS; }
+ private static final int H5FD_HDFS_VALUE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_HDFS_VALUE -1
+ * }
+ */
+ public static int H5FD_HDFS_VALUE() { return H5FD_HDFS_VALUE; }
+ private static final int H5FD_LOG_VALUE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_VALUE 2
+ * }
+ */
+ public static int H5FD_LOG_VALUE() { return H5FD_LOG_VALUE; }
+ private static final int H5FD_LOG_META_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_META_IO 1
+ * }
+ */
+ public static int H5FD_LOG_META_IO() { return H5FD_LOG_META_IO; }
+ private static final int H5FD_LOG_LOC_IO = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_IO 14
+ * }
+ */
+ public static int H5FD_LOG_LOC_IO() { return H5FD_LOG_LOC_IO; }
+ private static final int H5FD_LOG_FILE_IO = (int)48L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FILE_IO 48
+ * }
+ */
+ public static int H5FD_LOG_FILE_IO() { return H5FD_LOG_FILE_IO; }
+ private static final int H5FD_LOG_NUM_IO = (int)1920L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_IO 1920
+ * }
+ */
+ public static int H5FD_LOG_NUM_IO() { return H5FD_LOG_NUM_IO; }
+ private static final int H5FD_LOG_TIME_IO = (int)260096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_IO 260096
+ * }
+ */
+ public static int H5FD_LOG_TIME_IO() { return H5FD_LOG_TIME_IO; }
+ private static final int H5FD_LOG_ALL = (int)1048575L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_ALL 1048575
+ * }
+ */
+ public static int H5FD_LOG_ALL() { return H5FD_LOG_ALL; }
+ private static final int H5FD_MPIO = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MPIO -1
+ * }
+ */
+ public static int H5FD_MPIO() { return H5FD_MPIO; }
+ private static final int H5FD_ONION_VALUE = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_VALUE 14
+ * }
+ */
+ public static int H5FD_ONION_VALUE() { return H5FD_ONION_VALUE; }
+ private static final int H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT 1
+ * }
+ */
+ public static int H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT()
+ {
+ return H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT;
+ }
+ private static final long H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST -1
+ * }
+ */
+ public static long H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST()
+ {
+ return H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST;
+ }
+ private static final int H5FD_ROS3_VALUE = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3_VALUE 11
+ * }
+ */
+ public static int H5FD_ROS3_VALUE() { return H5FD_ROS3_VALUE; }
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3_VFD_DEFAULT_LOG_FILE "hdf5_ros3_vfd.log"
+ * }
+ */
+ public static MemorySegment H5FD_ROS3_VFD_DEFAULT_LOG_FILE()
+ {
+ class Holder {
+ static final MemorySegment H5FD_ROS3_VFD_DEFAULT_LOG_FILE =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("hdf5_ros3_vfd.log");
+ }
+ return Holder.H5FD_ROS3_VFD_DEFAULT_LOG_FILE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_ROS3_VFD_DEBUG "HDF5_ROS3_VFD_DEBUG"
+ * }
+ */
+ public static MemorySegment HDF5_ROS3_VFD_DEBUG()
+ {
+ class Holder {
+ static final MemorySegment HDF5_ROS3_VFD_DEBUG =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_ROS3_VFD_DEBUG");
+ }
+ return Holder.HDF5_ROS3_VFD_DEBUG;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_ROS3_VFD_LOG_LEVEL "HDF5_ROS3_VFD_LOG_LEVEL"
+ * }
+ */
+ public static MemorySegment HDF5_ROS3_VFD_LOG_LEVEL()
+ {
+ class Holder {
+ static final MemorySegment HDF5_ROS3_VFD_LOG_LEVEL =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_ROS3_VFD_LOG_LEVEL");
+ }
+ return Holder.HDF5_ROS3_VFD_LOG_LEVEL;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_ROS3_VFD_LOG_FILE "HDF5_ROS3_VFD_LOG_FILE"
+ * }
+ */
+ public static MemorySegment HDF5_ROS3_VFD_LOG_FILE()
+ {
+ class Holder {
+ static final MemorySegment HDF5_ROS3_VFD_LOG_FILE =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_ROS3_VFD_LOG_FILE");
+ }
+ return Holder.HDF5_ROS3_VFD_LOG_FILE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_ROS3_VFD_FORCE_PATH_STYLE "HDF5_ROS3_VFD_FORCE_PATH_STYLE"
+ * }
+ */
+ public static MemorySegment HDF5_ROS3_VFD_FORCE_PATH_STYLE()
+ {
+ class Holder {
+ static final MemorySegment HDF5_ROS3_VFD_FORCE_PATH_STYLE =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_ROS3_VFD_FORCE_PATH_STYLE");
+ }
+ return Holder.HDF5_ROS3_VFD_FORCE_PATH_STYLE;
+ }
+ private static final int H5FD_SEC2_VALUE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SEC2_VALUE 0
+ * }
+ */
+ public static int H5FD_SEC2_VALUE() { return H5FD_SEC2_VALUE; }
+ private static final int H5FD_SPLITTER_VALUE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SPLITTER_VALUE 6
+ * }
+ */
+ public static int H5FD_SPLITTER_VALUE() { return H5FD_SPLITTER_VALUE; }
+ private static final int H5FD_SUBFILING = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SUBFILING -1
+ * }
+ */
+ public static int H5FD_SUBFILING() { return H5FD_SUBFILING; }
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SUBFILING_NAME "subfiling"
+ * }
+ */
+ public static MemorySegment H5FD_SUBFILING_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5FD_SUBFILING_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("subfiling");
+ }
+ return Holder.H5FD_SUBFILING_NAME;
+ }
+ private static final int H5FD_IOC = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_IOC -1
+ * }
+ */
+ public static int H5FD_IOC() { return H5FD_IOC; }
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_IOC_NAME "ioc"
+ * }
+ */
+ public static MemorySegment H5FD_IOC_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5FD_IOC_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("ioc");
+ }
+ return Holder.H5FD_IOC_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_PASSTHRU_NAME "pass_through"
+ * }
+ */
+ public static MemorySegment H5VL_PASSTHRU_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5VL_PASSTHRU_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("pass_through");
+ }
+ return Holder.H5VL_PASSTHRU_NAME;
+ }
+}
diff --git a/java/jsrc/features/ros3/macos/hdf5_h_1.java b/java/jsrc/features/ros3/macos/hdf5_h_1.java
new file mode 100644
index 00000000000..93d13318931
--- /dev/null
+++ b/java/jsrc/features/ros3/macos/hdf5_h_1.java
@@ -0,0 +1,35269 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h_1 extends hdf5_h_2 {
+
+ hdf5_h_1()
+ {
+ // Should not be called directly
+ }
+
+ private static class H5Ldelete_by_idx_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete_by_idx_async$descriptor()
+ {
+ return H5Ldelete_by_idx_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete_by_idx_async$handle() { return H5Ldelete_by_idx_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete_by_idx_async$address() { return H5Ldelete_by_idx_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Ldelete_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, long lapl_id, long es_id)
+ {
+ var mh$ = H5Ldelete_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete_by_idx_async", app_file, app_func, app_line, loc_id, group_name,
+ idx_type, order, n, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, group_name, idx_type, order, n,
+ lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_val {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_val");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_val$descriptor() { return H5Lget_val.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_val$handle() { return H5Lget_val.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_val$address() { return H5Lget_val.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_val(hid_t loc_id, const char *name, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_val(long loc_id, MemorySegment name, MemorySegment buf, long size, long lapl_id)
+ {
+ var mh$ = H5Lget_val.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_val", loc_id, name, buf, size, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, buf, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_val_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_val_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_val_by_idx$descriptor() { return H5Lget_val_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_val_by_idx$handle() { return H5Lget_val_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_val_by_idx$address() { return H5Lget_val_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_val_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, void *buf, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_val_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment buf, long size, long lapl_id)
+ {
+ var mh$ = H5Lget_val_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_val_by_idx", loc_id, group_name, idx_type, order, n, buf, size,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, buf, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lexists {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lexists");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lexists$descriptor() { return H5Lexists.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lexists$handle() { return H5Lexists.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lexists$address() { return H5Lexists.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Lexists(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lexists(long loc_id, MemorySegment name, long lapl_id)
+ {
+ var mh$ = H5Lexists.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lexists", loc_id, name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lexists_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lexists_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lexists_async$descriptor() { return H5Lexists_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Lexists_async$handle() { return H5Lexists_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Lexists_async$address() { return H5Lexists_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Lexists_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, MemorySegment exists, long lapl_id,
+ long es_id)
+ {
+ var mh$ = H5Lexists_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lexists_async", app_file, app_func, app_line, loc_id, name, exists, lapl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, exists, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info2$descriptor() { return H5Lget_info2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info2$handle() { return H5Lget_info2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info2$address() { return H5Lget_info2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info2(hid_t loc_id, const char *name, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info2(long loc_id, MemorySegment name, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info2", loc_id, name, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info_by_idx2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info_by_idx2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info_by_idx2$descriptor() { return H5Lget_info_by_idx2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info_by_idx2$handle() { return H5Lget_info_by_idx2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info_by_idx2$address() { return H5Lget_info_by_idx2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info2_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info_by_idx2(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info_by_idx2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info_by_idx2", loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_name_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_name_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_name_by_idx$descriptor() { return H5Lget_name_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_name_by_idx$handle() { return H5Lget_name_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_name_by_idx$address() { return H5Lget_name_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Lget_name_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static long H5Lget_name_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment name, long size, long lapl_id)
+ {
+ var mh$ = H5Lget_name_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_name_by_idx", loc_id, group_name, idx_type, order, n, name, size,
+ lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, group_name, idx_type, order, n, name, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Literate2$descriptor() { return H5Literate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Literate2$handle() { return H5Literate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Literate2$address() { return H5Literate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate2_t op, void *op_data)
+ * }
+ */
+ public static int H5Literate2(long grp_id, int idx_type, int order, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Literate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate2", grp_id, idx_type, order, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Literate_async$descriptor() { return H5Literate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Literate_async$handle() { return H5Literate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Literate_async$address() { return H5Literate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, H5L_iterate2_t op, void *op_data,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Literate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long group_id, int idx_type, int order, MemorySegment idx_p,
+ MemorySegment op, MemorySegment op_data, long es_id)
+ {
+ var mh$ = H5Literate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate_async", app_file, app_func, app_line, group_id, idx_type, order,
+ idx_p, op, op_data, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, group_id, idx_type, order, idx_p, op,
+ op_data, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate_by_name2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Literate_by_name2$descriptor() { return H5Literate_by_name2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Literate_by_name2$handle() { return H5Literate_by_name2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Literate_by_name2$address() { return H5Literate_by_name2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Literate_by_name2(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment idx, MemorySegment op, MemorySegment op_data,
+ long lapl_id)
+ {
+ var mh$ = H5Literate_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate_by_name2", loc_id, group_name, idx_type, order, idx, op, op_data,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, idx, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit2$descriptor() { return H5Lvisit2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static MethodHandle H5Lvisit2$handle() { return H5Lvisit2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static MemorySegment H5Lvisit2$address() { return H5Lvisit2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit2(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void
+ * *op_data)
+ * }
+ */
+ public static int H5Lvisit2(long grp_id, int idx_type, int order, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Lvisit2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit2", grp_id, idx_type, order, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit_by_name2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit_by_name2$descriptor() { return H5Lvisit_by_name2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lvisit_by_name2$handle() { return H5Lvisit_by_name2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lvisit_by_name2$address() { return H5Lvisit_by_name2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lvisit_by_name2(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment op, MemorySegment op_data, long lapl_id)
+ {
+ var mh$ = H5Lvisit_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit_by_name2", loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_ud {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_ud");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_ud$descriptor() { return H5Lcreate_ud.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_ud$handle() { return H5Lcreate_ud.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_ud$address() { return H5Lcreate_ud.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_ud(hid_t link_loc_id, const char *link_name, H5L_type_t link_type, const void *udata,
+ * size_t udata_size, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_ud(long link_loc_id, MemorySegment link_name, int link_type,
+ MemorySegment udata, long udata_size, long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_ud.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_ud", link_loc_id, link_name, link_type, udata, udata_size, lcpl_id,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(link_loc_id, link_name, link_type, udata, udata_size, lcpl_id,
+ lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lis_registered {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lis_registered");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Lis_registered$descriptor() { return H5Lis_registered.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static MethodHandle H5Lis_registered$handle() { return H5Lis_registered.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static MemorySegment H5Lis_registered$address() { return H5Lis_registered.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Lis_registered(H5L_type_t id)
+ * }
+ */
+ public static int H5Lis_registered(int id)
+ {
+ var mh$ = H5Lis_registered.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lis_registered", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lunpack_elink_val {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lunpack_elink_val");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static FunctionDescriptor H5Lunpack_elink_val$descriptor() { return H5Lunpack_elink_val.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static MethodHandle H5Lunpack_elink_val$handle() { return H5Lunpack_elink_val.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static MemorySegment H5Lunpack_elink_val$address() { return H5Lunpack_elink_val.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lunpack_elink_val(const void *ext_linkval, size_t link_size, unsigned int *flags, const char
+ * **filename, const char **obj_path)
+ * }
+ */
+ public static int H5Lunpack_elink_val(MemorySegment ext_linkval, long link_size, MemorySegment flags,
+ MemorySegment filename, MemorySegment obj_path)
+ {
+ var mh$ = H5Lunpack_elink_val.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lunpack_elink_val", ext_linkval, link_size, flags, filename, obj_path);
+ }
+ return (int)mh$.invokeExact(ext_linkval, link_size, flags, filename, obj_path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_external {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_external");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_external$descriptor() { return H5Lcreate_external.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_external$handle() { return H5Lcreate_external.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_external$address() { return H5Lcreate_external.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_external(const char *file_name, const char *obj_name, hid_t link_loc_id, const char
+ * *link_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_external(MemorySegment file_name, MemorySegment obj_name, long link_loc_id,
+ MemorySegment link_name, long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_external.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_external", file_name, obj_name, link_loc_id, link_name, lcpl_id,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(file_name, obj_name, link_loc_id, link_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info1$descriptor() { return H5Lget_info1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info1$handle() { return H5Lget_info1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info1$address() { return H5Lget_info1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info1(hid_t loc_id, const char *name, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info1(long loc_id, MemorySegment name, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info1", loc_id, name, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lget_info_by_idx1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lget_info_by_idx1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lget_info_by_idx1$descriptor() { return H5Lget_info_by_idx1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lget_info_by_idx1$handle() { return H5Lget_info_by_idx1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lget_info_by_idx1$address() { return H5Lget_info_by_idx1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5L_info1_t *linfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lget_info_by_idx1(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment linfo, long lapl_id)
+ {
+ var mh$ = H5Lget_info_by_idx1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lget_info_by_idx1", loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, linfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Literate1$descriptor() { return H5Literate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Literate1$handle() { return H5Literate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Literate1$address() { return H5Literate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5L_iterate1_t op, void *op_data)
+ * }
+ */
+ public static int H5Literate1(long grp_id, int idx_type, int order, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Literate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate1", grp_id, idx_type, order, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Literate_by_name1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Literate_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Literate_by_name1$descriptor() { return H5Literate_by_name1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Literate_by_name1$handle() { return H5Literate_by_name1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Literate_by_name1$address() { return H5Literate_by_name1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Literate_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Literate_by_name1(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment idx, MemorySegment op, MemorySegment op_data,
+ long lapl_id)
+ {
+ var mh$ = H5Literate_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Literate_by_name1", loc_id, group_name, idx_type, order, idx, op, op_data,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, idx, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit1$descriptor() { return H5Lvisit1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static MethodHandle H5Lvisit1$handle() { return H5Lvisit1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static MemorySegment H5Lvisit1$address() { return H5Lvisit1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit1(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static int H5Lvisit1(long grp_id, int idx_type, int order, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Lvisit1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit1", grp_id, idx_type, order, op, op_data);
+ }
+ return (int)mh$.invokeExact(grp_id, idx_type, order, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lvisit_by_name1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lvisit_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lvisit_by_name1$descriptor() { return H5Lvisit_by_name1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lvisit_by_name1$handle() { return H5Lvisit_by_name1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lvisit_by_name1$address() { return H5Lvisit_by_name1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lvisit_by_name1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5L_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lvisit_by_name1(long loc_id, MemorySegment group_name, int idx_type, int order,
+ MemorySegment op, MemorySegment op_data, long lapl_id)
+ {
+ var mh$ = H5Lvisit_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lvisit_by_name1", loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5G_STORAGE_TYPE_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_UNKNOWN = -1
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_UNKNOWN() { return H5G_STORAGE_TYPE_UNKNOWN; }
+ private static final int H5G_STORAGE_TYPE_SYMBOL_TABLE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_SYMBOL_TABLE = 0
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_SYMBOL_TABLE() { return H5G_STORAGE_TYPE_SYMBOL_TABLE; }
+ private static final int H5G_STORAGE_TYPE_COMPACT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_COMPACT = 1
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_COMPACT() { return H5G_STORAGE_TYPE_COMPACT; }
+ private static final int H5G_STORAGE_TYPE_DENSE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_storage_type_t.H5G_STORAGE_TYPE_DENSE = 2
+ * }
+ */
+ public static int H5G_STORAGE_TYPE_DENSE() { return H5G_STORAGE_TYPE_DENSE; }
+
+ private static class H5Gcreate2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate2$descriptor() { return H5Gcreate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MethodHandle H5Gcreate2$handle() { return H5Gcreate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MemorySegment H5Gcreate2$address() { return H5Gcreate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate2(hid_t loc_id, const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static long H5Gcreate2(long loc_id, MemorySegment name, long lcpl_id, long gcpl_id, long gapl_id)
+ {
+ var mh$ = H5Gcreate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate2", loc_id, name, lcpl_id, gcpl_id, gapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, lcpl_id, gcpl_id, gapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gcreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate_async$descriptor() { return H5Gcreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gcreate_async$handle() { return H5Gcreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gcreate_async$address() { return H5Gcreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Gcreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lcpl_id, long gcpl_id,
+ long gapl_id, long es_id)
+ {
+ var mh$ = H5Gcreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate_async", app_file, app_func, app_line, loc_id, name, lcpl_id, gcpl_id,
+ gapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lcpl_id, gcpl_id,
+ gapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gcreate_anon {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate_anon");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate_anon$descriptor() { return H5Gcreate_anon.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MethodHandle H5Gcreate_anon$handle() { return H5Gcreate_anon.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static MemorySegment H5Gcreate_anon$address() { return H5Gcreate_anon.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate_anon(hid_t loc_id, hid_t gcpl_id, hid_t gapl_id)
+ * }
+ */
+ public static long H5Gcreate_anon(long loc_id, long gcpl_id, long gapl_id)
+ {
+ var mh$ = H5Gcreate_anon.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate_anon", loc_id, gcpl_id, gapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, gcpl_id, gapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gopen2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gopen2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gopen2$descriptor() { return H5Gopen2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static MethodHandle H5Gopen2$handle() { return H5Gopen2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static MemorySegment H5Gopen2$address() { return H5Gopen2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gopen2(hid_t loc_id, const char *name, hid_t gapl_id)
+ * }
+ */
+ public static long H5Gopen2(long loc_id, MemorySegment name, long gapl_id)
+ {
+ var mh$ = H5Gopen2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gopen2", loc_id, name, gapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, gapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gopen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gopen_async$descriptor() { return H5Gopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gopen_async$handle() { return H5Gopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gopen_async$address() { return H5Gopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t gapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Gopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long gapl_id, long es_id)
+ {
+ var mh$ = H5Gopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gopen_async", app_file, app_func, app_line, loc_id, name, gapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, gapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_create_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_create_plist$descriptor() { return H5Gget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Gget_create_plist$handle() { return H5Gget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Gget_create_plist$address() { return H5Gget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gget_create_plist(hid_t group_id)
+ * }
+ */
+ public static long H5Gget_create_plist(long group_id)
+ {
+ var mh$ = H5Gget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_create_plist", group_id);
+ }
+ return (long)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info$descriptor() { return H5Gget_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static MethodHandle H5Gget_info$handle() { return H5Gget_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static MemorySegment H5Gget_info$address() { return H5Gget_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info(hid_t loc_id, H5G_info_t *ginfo)
+ * }
+ */
+ public static int H5Gget_info(long loc_id, MemorySegment ginfo)
+ {
+ var mh$ = H5Gget_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info", loc_id, ginfo);
+ }
+ return (int)mh$.invokeExact(loc_id, ginfo);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_async$descriptor() { return H5Gget_info_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_async$handle() { return H5Gget_info_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_async$address() { return H5Gget_info_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, H5G_info_t *ginfo, hid_t es_id)
+ * }
+ */
+ public static int H5Gget_info_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment ginfo, long es_id)
+ {
+ var mh$ = H5Gget_info_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_async", app_file, app_func, app_line, loc_id, ginfo, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, ginfo, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_name$descriptor() { return H5Gget_info_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_name$handle() { return H5Gget_info_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_name$address() { return H5Gget_info_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name(hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Gget_info_by_name(long loc_id, MemorySegment name, MemorySegment ginfo, long lapl_id)
+ {
+ var mh$ = H5Gget_info_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_name", loc_id, name, ginfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, ginfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_name_async$descriptor()
+ {
+ return H5Gget_info_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_name_async$handle() { return H5Gget_info_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_name_async$address() { return H5Gget_info_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5G_info_t *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Gget_info_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, MemorySegment ginfo,
+ long lapl_id, long es_id)
+ {
+ var mh$ = H5Gget_info_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_name_async", app_file, app_func, app_line, loc_id, name, ginfo,
+ lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, ginfo, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_idx$descriptor() { return H5Gget_info_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_idx$handle() { return H5Gget_info_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_idx$address() { return H5Gget_info_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5G_info_t *ginfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Gget_info_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment ginfo, long lapl_id)
+ {
+ var mh$ = H5Gget_info_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_idx", loc_id, group_name, idx_type, order, n, ginfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, ginfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_info_by_idx_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_info_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_info_by_idx_async$descriptor()
+ {
+ return H5Gget_info_by_idx_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gget_info_by_idx_async$handle() { return H5Gget_info_by_idx_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gget_info_by_idx_async$address() { return H5Gget_info_by_idx_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_info_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, H5G_info_t
+ * *ginfo, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Gget_info_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment ginfo, long lapl_id, long es_id)
+ {
+ var mh$ = H5Gget_info_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_info_by_idx_async", app_file, app_func, app_line, loc_id, group_name,
+ idx_type, order, n, ginfo, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, group_name, idx_type, order, n,
+ ginfo, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gflush$descriptor() { return H5Gflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Gflush$handle() { return H5Gflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Gflush$address() { return H5Gflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gflush(hid_t group_id)
+ * }
+ */
+ public static int H5Gflush(long group_id)
+ {
+ var mh$ = H5Gflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gflush", group_id);
+ }
+ return (int)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Grefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Grefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Grefresh$descriptor() { return H5Grefresh.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Grefresh$handle() { return H5Grefresh.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Grefresh$address() { return H5Grefresh.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Grefresh(hid_t group_id)
+ * }
+ */
+ public static int H5Grefresh(long group_id)
+ {
+ var mh$ = H5Grefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Grefresh", group_id);
+ }
+ return (int)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gclose$descriptor() { return H5Gclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static MethodHandle H5Gclose$handle() { return H5Gclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static MemorySegment H5Gclose$address() { return H5Gclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gclose(hid_t group_id)
+ * }
+ */
+ public static int H5Gclose(long group_id)
+ {
+ var mh$ = H5Gclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gclose", group_id);
+ }
+ return (int)mh$.invokeExact(group_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gclose_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Gclose_async$descriptor() { return H5Gclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Gclose_async$handle() { return H5Gclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Gclose_async$address() { return H5Gclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, hid_t es_id)
+ * }
+ */
+ public static int H5Gclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long group_id, long es_id)
+ {
+ var mh$ = H5Gclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gclose_async", app_file, app_func, app_line, group_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, group_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5G_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_UNKNOWN = -1
+ * }
+ */
+ public static int H5G_UNKNOWN() { return H5G_UNKNOWN; }
+ private static final int H5G_GROUP = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_GROUP = 0
+ * }
+ */
+ public static int H5G_GROUP() { return H5G_GROUP; }
+ private static final int H5G_DATASET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_DATASET = 1
+ * }
+ */
+ public static int H5G_DATASET() { return H5G_DATASET; }
+ private static final int H5G_TYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_TYPE = 2
+ * }
+ */
+ public static int H5G_TYPE() { return H5G_TYPE; }
+ private static final int H5G_LINK = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_LINK = 3
+ * }
+ */
+ public static int H5G_LINK() { return H5G_LINK; }
+ private static final int H5G_UDLINK = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_UDLINK = 4
+ * }
+ */
+ public static int H5G_UDLINK() { return H5G_UDLINK; }
+ private static final int H5G_RESERVED_5 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_RESERVED_5 = 5
+ * }
+ */
+ public static int H5G_RESERVED_5() { return H5G_RESERVED_5; }
+ private static final int H5G_RESERVED_6 = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_RESERVED_6 = 6
+ * }
+ */
+ public static int H5G_RESERVED_6() { return H5G_RESERVED_6; }
+ private static final int H5G_RESERVED_7 = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5G_obj_t.H5G_RESERVED_7 = 7
+ * }
+ */
+ public static int H5G_RESERVED_7() { return H5G_RESERVED_7; }
+
+ private static class H5Gcreate1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gcreate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static FunctionDescriptor H5Gcreate1$descriptor() { return H5Gcreate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static MethodHandle H5Gcreate1$handle() { return H5Gcreate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static MemorySegment H5Gcreate1$address() { return H5Gcreate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gcreate1(hid_t loc_id, const char *name, size_t size_hint)
+ * }
+ */
+ public static long H5Gcreate1(long loc_id, MemorySegment name, long size_hint)
+ {
+ var mh$ = H5Gcreate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gcreate1", loc_id, name, size_hint);
+ }
+ return (long)mh$.invokeExact(loc_id, name, size_hint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gopen1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gopen1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Gopen1$descriptor() { return H5Gopen1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Gopen1$handle() { return H5Gopen1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Gopen1$address() { return H5Gopen1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Gopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Gopen1(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Gopen1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gopen1", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Glink {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Glink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static FunctionDescriptor H5Glink$descriptor() { return H5Glink.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static MethodHandle H5Glink$handle() { return H5Glink.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static MemorySegment H5Glink$address() { return H5Glink.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Glink(hid_t cur_loc_id, H5L_type_t type, const char *cur_name, const char *new_name)
+ * }
+ */
+ public static int H5Glink(long cur_loc_id, int type, MemorySegment cur_name, MemorySegment new_name)
+ {
+ var mh$ = H5Glink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Glink", cur_loc_id, type, cur_name, new_name);
+ }
+ return (int)mh$.invokeExact(cur_loc_id, type, cur_name, new_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Glink2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Glink2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static FunctionDescriptor H5Glink2$descriptor() { return H5Glink2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static MethodHandle H5Glink2$handle() { return H5Glink2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static MemorySegment H5Glink2$address() { return H5Glink2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Glink2(hid_t cur_loc_id, const char *cur_name, H5L_type_t type, hid_t new_loc_id, const char
+ * *new_name)
+ * }
+ */
+ public static int H5Glink2(long cur_loc_id, MemorySegment cur_name, int type, long new_loc_id,
+ MemorySegment new_name)
+ {
+ var mh$ = H5Glink2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Glink2", cur_loc_id, cur_name, type, new_loc_id, new_name);
+ }
+ return (int)mh$.invokeExact(cur_loc_id, cur_name, type, new_loc_id, new_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gmove {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gmove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static FunctionDescriptor H5Gmove$descriptor() { return H5Gmove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static MethodHandle H5Gmove$handle() { return H5Gmove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static MemorySegment H5Gmove$address() { return H5Gmove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gmove(hid_t src_loc_id, const char *src_name, const char *dst_name)
+ * }
+ */
+ public static int H5Gmove(long src_loc_id, MemorySegment src_name, MemorySegment dst_name)
+ {
+ var mh$ = H5Gmove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gmove", src_loc_id, src_name, dst_name);
+ }
+ return (int)mh$.invokeExact(src_loc_id, src_name, dst_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gmove2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gmove2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static FunctionDescriptor H5Gmove2$descriptor() { return H5Gmove2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static MethodHandle H5Gmove2$handle() { return H5Gmove2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static MemorySegment H5Gmove2$address() { return H5Gmove2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gmove2(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name)
+ * }
+ */
+ public static int H5Gmove2(long src_loc_id, MemorySegment src_name, long dst_loc_id,
+ MemorySegment dst_name)
+ {
+ var mh$ = H5Gmove2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gmove2", src_loc_id, src_name, dst_loc_id, dst_name);
+ }
+ return (int)mh$.invokeExact(src_loc_id, src_name, dst_loc_id, dst_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gunlink {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gunlink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Gunlink$descriptor() { return H5Gunlink.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Gunlink$handle() { return H5Gunlink.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Gunlink$address() { return H5Gunlink.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gunlink(hid_t loc_id, const char *name)
+ * }
+ */
+ public static int H5Gunlink(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Gunlink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gunlink", loc_id, name);
+ }
+ return (int)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_linkval {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_linkval");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_linkval$descriptor() { return H5Gget_linkval.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static MethodHandle H5Gget_linkval$handle() { return H5Gget_linkval.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static MemorySegment H5Gget_linkval$address() { return H5Gget_linkval.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf)
+ * }
+ */
+ public static int H5Gget_linkval(long loc_id, MemorySegment name, long size, MemorySegment buf)
+ {
+ var mh$ = H5Gget_linkval.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_linkval", loc_id, name, size, buf);
+ }
+ return (int)mh$.invokeExact(loc_id, name, size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gset_comment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gset_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static FunctionDescriptor H5Gset_comment$descriptor() { return H5Gset_comment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static MethodHandle H5Gset_comment$handle() { return H5Gset_comment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static MemorySegment H5Gset_comment$address() { return H5Gset_comment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment)
+ * }
+ */
+ public static int H5Gset_comment(long loc_id, MemorySegment name, MemorySegment comment)
+ {
+ var mh$ = H5Gset_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gset_comment", loc_id, name, comment);
+ }
+ return (int)mh$.invokeExact(loc_id, name, comment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_comment {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_comment$descriptor() { return H5Gget_comment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static MethodHandle H5Gget_comment$handle() { return H5Gget_comment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static MemorySegment H5Gget_comment$address() { return H5Gget_comment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf)
+ * }
+ */
+ public static int H5Gget_comment(long loc_id, MemorySegment name, long bufsize, MemorySegment buf)
+ {
+ var mh$ = H5Gget_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_comment", loc_id, name, bufsize, buf);
+ }
+ return (int)mh$.invokeExact(loc_id, name, bufsize, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Giterate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Giterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Giterate$descriptor() { return H5Giterate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Giterate$handle() { return H5Giterate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Giterate$address() { return H5Giterate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data)
+ * }
+ */
+ public static int H5Giterate(long loc_id, MemorySegment name, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Giterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Giterate", loc_id, name, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(loc_id, name, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_num_objs {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_num_objs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_num_objs$descriptor() { return H5Gget_num_objs.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static MethodHandle H5Gget_num_objs$handle() { return H5Gget_num_objs.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static MemorySegment H5Gget_num_objs$address() { return H5Gget_num_objs.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs)
+ * }
+ */
+ public static int H5Gget_num_objs(long loc_id, MemorySegment num_objs)
+ {
+ var mh$ = H5Gget_num_objs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_num_objs", loc_id, num_objs);
+ }
+ return (int)mh$.invokeExact(loc_id, num_objs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_objinfo {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_BOOL, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_objinfo");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_objinfo$descriptor() { return H5Gget_objinfo.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static MethodHandle H5Gget_objinfo$handle() { return H5Gget_objinfo.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static MemorySegment H5Gget_objinfo$address() { return H5Gget_objinfo.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Gget_objinfo(hid_t loc_id, const char *name, bool follow_link, H5G_stat_t *statbuf)
+ * }
+ */
+ public static int H5Gget_objinfo(long loc_id, MemorySegment name, boolean follow_link,
+ MemorySegment statbuf)
+ {
+ var mh$ = H5Gget_objinfo.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_objinfo", loc_id, name, follow_link, statbuf);
+ }
+ return (int)mh$.invokeExact(loc_id, name, follow_link, statbuf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_objname_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_objname_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_objname_by_idx$descriptor() { return H5Gget_objname_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Gget_objname_by_idx$handle() { return H5Gget_objname_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Gget_objname_by_idx$address() { return H5Gget_objname_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size_t size)
+ * }
+ */
+ public static long H5Gget_objname_by_idx(long loc_id, long idx, MemorySegment name, long size)
+ {
+ var mh$ = H5Gget_objname_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_objname_by_idx", loc_id, idx, name, size);
+ }
+ return (long)mh$.invokeExact(loc_id, idx, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Gget_objtype_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Gget_objtype_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static FunctionDescriptor H5Gget_objtype_by_idx$descriptor() { return H5Gget_objtype_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static MethodHandle H5Gget_objtype_by_idx$handle() { return H5Gget_objtype_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static MemorySegment H5Gget_objtype_by_idx$address() { return H5Gget_objtype_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx)
+ * }
+ */
+ public static int H5Gget_objtype_by_idx(long loc_id, long idx)
+ {
+ var mh$ = H5Gget_objtype_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Gget_objtype_by_idx", loc_id, idx);
+ }
+ return (int)mh$.invokeExact(loc_id, idx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_class_value_t
+ * }
+ */
+ public static final OfInt H5VL_class_value_t = hdf5_h.C_INT;
+ private static final int H5VL_SUBCLS_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_NONE = 0
+ * }
+ */
+ public static int H5VL_SUBCLS_NONE() { return H5VL_SUBCLS_NONE; }
+ private static final int H5VL_SUBCLS_INFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_INFO = 1
+ * }
+ */
+ public static int H5VL_SUBCLS_INFO() { return H5VL_SUBCLS_INFO; }
+ private static final int H5VL_SUBCLS_WRAP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_WRAP = 2
+ * }
+ */
+ public static int H5VL_SUBCLS_WRAP() { return H5VL_SUBCLS_WRAP; }
+ private static final int H5VL_SUBCLS_ATTR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_ATTR = 3
+ * }
+ */
+ public static int H5VL_SUBCLS_ATTR() { return H5VL_SUBCLS_ATTR; }
+ private static final int H5VL_SUBCLS_DATASET = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_DATASET = 4
+ * }
+ */
+ public static int H5VL_SUBCLS_DATASET() { return H5VL_SUBCLS_DATASET; }
+ private static final int H5VL_SUBCLS_DATATYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_DATATYPE = 5
+ * }
+ */
+ public static int H5VL_SUBCLS_DATATYPE() { return H5VL_SUBCLS_DATATYPE; }
+ private static final int H5VL_SUBCLS_FILE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_FILE = 6
+ * }
+ */
+ public static int H5VL_SUBCLS_FILE() { return H5VL_SUBCLS_FILE; }
+ private static final int H5VL_SUBCLS_GROUP = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_GROUP = 7
+ * }
+ */
+ public static int H5VL_SUBCLS_GROUP() { return H5VL_SUBCLS_GROUP; }
+ private static final int H5VL_SUBCLS_LINK = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_LINK = 8
+ * }
+ */
+ public static int H5VL_SUBCLS_LINK() { return H5VL_SUBCLS_LINK; }
+ private static final int H5VL_SUBCLS_OBJECT = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_OBJECT = 9
+ * }
+ */
+ public static int H5VL_SUBCLS_OBJECT() { return H5VL_SUBCLS_OBJECT; }
+ private static final int H5VL_SUBCLS_REQUEST = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_REQUEST = 10
+ * }
+ */
+ public static int H5VL_SUBCLS_REQUEST() { return H5VL_SUBCLS_REQUEST; }
+ private static final int H5VL_SUBCLS_BLOB = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_BLOB = 11
+ * }
+ */
+ public static int H5VL_SUBCLS_BLOB() { return H5VL_SUBCLS_BLOB; }
+ private static final int H5VL_SUBCLS_TOKEN = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_subclass_t.H5VL_SUBCLS_TOKEN = 12
+ * }
+ */
+ public static int H5VL_SUBCLS_TOKEN() { return H5VL_SUBCLS_TOKEN; }
+
+ private static class H5VLregister_connector_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_connector_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_connector_by_name$descriptor()
+ {
+ return H5VLregister_connector_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLregister_connector_by_name$handle()
+ {
+ return H5VLregister_connector_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLregister_connector_by_name$address()
+ {
+ return H5VLregister_connector_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_name(const char *connector_name, hid_t vipl_id)
+ * }
+ */
+ public static long H5VLregister_connector_by_name(MemorySegment connector_name, long vipl_id)
+ {
+ var mh$ = H5VLregister_connector_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_connector_by_name", connector_name, vipl_id);
+ }
+ return (long)mh$.invokeExact(connector_name, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLregister_connector_by_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_connector_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_connector_by_value$descriptor()
+ {
+ return H5VLregister_connector_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLregister_connector_by_value$handle()
+ {
+ return H5VLregister_connector_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLregister_connector_by_value$address()
+ {
+ return H5VLregister_connector_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector_by_value(H5VL_class_value_t connector_value, hid_t vipl_id)
+ * }
+ */
+ public static long H5VLregister_connector_by_value(int connector_value, long vipl_id)
+ {
+ var mh$ = H5VLregister_connector_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_connector_by_value", connector_value, vipl_id);
+ }
+ return (long)mh$.invokeExact(connector_value, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLis_connector_registered_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLis_connector_registered_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5VLis_connector_registered_by_name$descriptor()
+ {
+ return H5VLis_connector_registered_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static MethodHandle H5VLis_connector_registered_by_name$handle()
+ {
+ return H5VLis_connector_registered_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static MemorySegment H5VLis_connector_registered_by_name$address()
+ {
+ return H5VLis_connector_registered_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_name(const char *name)
+ * }
+ */
+ public static int H5VLis_connector_registered_by_name(MemorySegment name)
+ {
+ var mh$ = H5VLis_connector_registered_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLis_connector_registered_by_name", name);
+ }
+ return (int)mh$.invokeExact(name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLis_connector_registered_by_value {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLis_connector_registered_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLis_connector_registered_by_value$descriptor()
+ {
+ return H5VLis_connector_registered_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MethodHandle H5VLis_connector_registered_by_value$handle()
+ {
+ return H5VLis_connector_registered_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MemorySegment H5VLis_connector_registered_by_value$address()
+ {
+ return H5VLis_connector_registered_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5VLis_connector_registered_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static int H5VLis_connector_registered_by_value(int connector_value)
+ {
+ var mh$ = H5VLis_connector_registered_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLis_connector_registered_by_value", connector_value);
+ }
+ return (int)mh$.invokeExact(connector_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_id {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_id");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_id$descriptor() { return H5VLget_connector_id.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_id$handle() { return H5VLget_connector_id.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_id$address() { return H5VLget_connector_id.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id(hid_t obj_id)
+ * }
+ */
+ public static long H5VLget_connector_id(long obj_id)
+ {
+ var mh$ = H5VLget_connector_id.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_id", obj_id);
+ }
+ return (long)mh$.invokeExact(obj_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_id_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_id_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_id_by_name$descriptor()
+ {
+ return H5VLget_connector_id_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_id_by_name$handle()
+ {
+ return H5VLget_connector_id_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_id_by_name$address()
+ {
+ return H5VLget_connector_id_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_name(const char *name)
+ * }
+ */
+ public static long H5VLget_connector_id_by_name(MemorySegment name)
+ {
+ var mh$ = H5VLget_connector_id_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_id_by_name", name);
+ }
+ return (long)mh$.invokeExact(name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_id_by_value {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_id_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_id_by_value$descriptor()
+ {
+ return H5VLget_connector_id_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_id_by_value$handle()
+ {
+ return H5VLget_connector_id_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_id_by_value$address()
+ {
+ return H5VLget_connector_id_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_connector_id_by_value(H5VL_class_value_t connector_value)
+ * }
+ */
+ public static long H5VLget_connector_id_by_value(int connector_value)
+ {
+ var mh$ = H5VLget_connector_id_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_id_by_value", connector_value);
+ }
+ return (long)mh$.invokeExact(connector_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_connector_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_connector_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_connector_name$descriptor()
+ {
+ return H5VLget_connector_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5VLget_connector_name$handle() { return H5VLget_connector_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5VLget_connector_name$address() { return H5VLget_connector_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5VLget_connector_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static long H5VLget_connector_name(long id, MemorySegment name, long size)
+ {
+ var mh$ = H5VLget_connector_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_connector_name", id, name, size);
+ }
+ return (long)mh$.invokeExact(id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLclose$descriptor() { return H5VLclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLclose$handle() { return H5VLclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLclose$address() { return H5VLclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLclose(hid_t connector_id)
+ * }
+ */
+ public static int H5VLclose(long connector_id)
+ {
+ var mh$ = H5VLclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLclose", connector_id);
+ }
+ return (int)mh$.invokeExact(connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLunregister_connector {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLunregister_connector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLunregister_connector$descriptor()
+ {
+ return H5VLunregister_connector.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLunregister_connector$handle() { return H5VLunregister_connector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLunregister_connector$address() { return H5VLunregister_connector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_connector(hid_t connector_id)
+ * }
+ */
+ public static int H5VLunregister_connector(long connector_id)
+ {
+ var mh$ = H5VLunregister_connector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLunregister_connector", connector_id);
+ }
+ return (int)mh$.invokeExact(connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLquery_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLquery_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLquery_optional$descriptor() { return H5VLquery_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static MethodHandle H5VLquery_optional$handle() { return H5VLquery_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static MemorySegment H5VLquery_optional$address() { return H5VLquery_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLquery_optional(hid_t obj_id, H5VL_subclass_t subcls, int opt_type, uint64_t *flags)
+ * }
+ */
+ public static int H5VLquery_optional(long obj_id, int subcls, int opt_type, MemorySegment flags)
+ {
+ var mh$ = H5VLquery_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLquery_optional", obj_id, subcls, opt_type, flags);
+ }
+ return (int)mh$.invokeExact(obj_id, subcls, opt_type, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_is_native {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_is_native");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_is_native$descriptor() { return H5VLobject_is_native.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static MethodHandle H5VLobject_is_native$handle() { return H5VLobject_is_native.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static MemorySegment H5VLobject_is_native$address() { return H5VLobject_is_native.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_is_native(hid_t obj_id, bool *is_native)
+ * }
+ */
+ public static int H5VLobject_is_native(long obj_id, MemorySegment is_native)
+ {
+ var mh$ = H5VLobject_is_native.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_is_native", obj_id, is_native);
+ }
+ return (int)mh$.invokeExact(obj_id, is_native);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5R_BADTYPE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_BADTYPE = -1
+ * }
+ */
+ public static int H5R_BADTYPE() { return H5R_BADTYPE; }
+ private static final int H5R_OBJECT1 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_OBJECT1 = 0
+ * }
+ */
+ public static int H5R_OBJECT1() { return H5R_OBJECT1; }
+ private static final int H5R_DATASET_REGION1 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_DATASET_REGION1 = 1
+ * }
+ */
+ public static int H5R_DATASET_REGION1() { return H5R_DATASET_REGION1; }
+ private static final int H5R_OBJECT2 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_OBJECT2 = 2
+ * }
+ */
+ public static int H5R_OBJECT2() { return H5R_OBJECT2; }
+ private static final int H5R_DATASET_REGION2 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_DATASET_REGION2 = 3
+ * }
+ */
+ public static int H5R_DATASET_REGION2() { return H5R_DATASET_REGION2; }
+ private static final int H5R_ATTR = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_ATTR = 4
+ * }
+ */
+ public static int H5R_ATTR() { return H5R_ATTR; }
+ private static final int H5R_MAXTYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5R_MAXTYPE = 5
+ * }
+ */
+ public static int H5R_MAXTYPE() { return H5R_MAXTYPE; }
+ /**
+ * {@snippet lang=c :
+ * typedef haddr_t hobj_ref_t
+ * }
+ */
+ public static final OfLong hobj_ref_t = hdf5_h.C_LONG_LONG;
+
+ private static class H5Rcreate_object {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate_object$descriptor() { return H5Rcreate_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcreate_object$handle() { return H5Rcreate_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcreate_object$address() { return H5Rcreate_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_object(hid_t loc_id, const char *name, hid_t oapl_id, H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static int H5Rcreate_object(long loc_id, MemorySegment name, long oapl_id, MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rcreate_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate_object", loc_id, name, oapl_id, ref_ptr);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oapl_id, ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcreate_region {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate_region");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate_region$descriptor() { return H5Rcreate_region.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcreate_region$handle() { return H5Rcreate_region.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcreate_region$address() { return H5Rcreate_region.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_region(hid_t loc_id, const char *name, hid_t space_id, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static int H5Rcreate_region(long loc_id, MemorySegment name, long space_id, long oapl_id,
+ MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rcreate_region.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate_region", loc_id, name, space_id, oapl_id, ref_ptr);
+ }
+ return (int)mh$.invokeExact(loc_id, name, space_id, oapl_id, ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcreate_attr {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate_attr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate_attr$descriptor() { return H5Rcreate_attr.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcreate_attr$handle() { return H5Rcreate_attr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcreate_attr$address() { return H5Rcreate_attr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate_attr(hid_t loc_id, const char *name, const char *attr_name, hid_t oapl_id, H5R_ref_t
+ * *ref_ptr)
+ * }
+ */
+ public static int H5Rcreate_attr(long loc_id, MemorySegment name, MemorySegment attr_name, long oapl_id,
+ MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rcreate_attr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate_attr", loc_id, name, attr_name, oapl_id, ref_ptr);
+ }
+ return (int)mh$.invokeExact(loc_id, name, attr_name, oapl_id, ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rdestroy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rdestroy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rdestroy$descriptor() { return H5Rdestroy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rdestroy$handle() { return H5Rdestroy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rdestroy$address() { return H5Rdestroy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rdestroy(H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static int H5Rdestroy(MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rdestroy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rdestroy", ref_ptr);
+ }
+ return (int)mh$.invokeExact(ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_type$descriptor() { return H5Rget_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rget_type$handle() { return H5Rget_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rget_type$address() { return H5Rget_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5R_type_t H5Rget_type(const H5R_ref_t *ref_ptr)
+ * }
+ */
+ public static int H5Rget_type(MemorySegment ref_ptr)
+ {
+ var mh$ = H5Rget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_type", ref_ptr);
+ }
+ return (int)mh$.invokeExact(ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Requal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Requal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Requal$descriptor() { return H5Requal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static MethodHandle H5Requal$handle() { return H5Requal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static MemorySegment H5Requal$address() { return H5Requal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Requal(const H5R_ref_t *ref1_ptr, const H5R_ref_t *ref2_ptr)
+ * }
+ */
+ public static int H5Requal(MemorySegment ref1_ptr, MemorySegment ref2_ptr)
+ {
+ var mh$ = H5Requal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Requal", ref1_ptr, ref2_ptr);
+ }
+ return (int)mh$.invokeExact(ref1_ptr, ref2_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Rcopy$descriptor() { return H5Rcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static MethodHandle H5Rcopy$handle() { return H5Rcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static MemorySegment H5Rcopy$address() { return H5Rcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcopy(const H5R_ref_t *src_ref_ptr, H5R_ref_t *dst_ref_ptr)
+ * }
+ */
+ public static int H5Rcopy(MemorySegment src_ref_ptr, MemorySegment dst_ref_ptr)
+ {
+ var mh$ = H5Rcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcopy", src_ref_ptr, dst_ref_ptr);
+ }
+ return (int)mh$.invokeExact(src_ref_ptr, dst_ref_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_object {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_object$descriptor() { return H5Ropen_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_object$handle() { return H5Ropen_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_object$address() { return H5Ropen_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static long H5Ropen_object(MemorySegment ref_ptr, long rapl_id, long oapl_id)
+ {
+ var mh$ = H5Ropen_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_object", ref_ptr, rapl_id, oapl_id);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, oapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_object_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_object_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_object_async$descriptor() { return H5Ropen_object_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_object_async$handle() { return H5Ropen_object_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_object_async$address() { return H5Ropen_object_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_object_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Ropen_object_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment ref_ptr, long rapl_id, long oapl_id, long es_id)
+ {
+ var mh$ = H5Ropen_object_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_object_async", app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_region {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_region");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_region$descriptor() { return H5Ropen_region.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_region$handle() { return H5Ropen_region.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_region$address() { return H5Ropen_region.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t oapl_id)
+ * }
+ */
+ public static long H5Ropen_region(MemorySegment ref_ptr, long rapl_id, long oapl_id)
+ {
+ var mh$ = H5Ropen_region.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_region", ref_ptr, rapl_id, oapl_id);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, oapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_region_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_region_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_region_async$descriptor() { return H5Ropen_region_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_region_async$handle() { return H5Ropen_region_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_region_async$address() { return H5Ropen_region_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_region_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t oapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Ropen_region_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment ref_ptr, long rapl_id, long oapl_id, long es_id)
+ {
+ var mh$ = H5Ropen_region_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_region_async", app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, ref_ptr, rapl_id, oapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_attr {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_attr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_attr$descriptor() { return H5Ropen_attr.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_attr$handle() { return H5Ropen_attr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_attr$address() { return H5Ropen_attr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr(H5R_ref_t *ref_ptr, hid_t rapl_id, hid_t aapl_id)
+ * }
+ */
+ public static long H5Ropen_attr(MemorySegment ref_ptr, long rapl_id, long aapl_id)
+ {
+ var mh$ = H5Ropen_attr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_attr", ref_ptr, rapl_id, aapl_id);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, aapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ropen_attr_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ropen_attr_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ropen_attr_async$descriptor() { return H5Ropen_attr_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ropen_attr_async$handle() { return H5Ropen_attr_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ropen_attr_async$address() { return H5Ropen_attr_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ropen_attr_async(const char *app_file, const char *app_func, unsigned int app_line, H5R_ref_t
+ * *ref_ptr, hid_t rapl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Ropen_attr_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment ref_ptr, long rapl_id, long aapl_id, long es_id)
+ {
+ var mh$ = H5Ropen_attr_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ropen_attr_async", app_file, app_func, app_line, ref_ptr, rapl_id, aapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, ref_ptr, rapl_id, aapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_type3 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_type3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_type3$descriptor() { return H5Rget_obj_type3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_type3$handle() { return H5Rget_obj_type3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_type3$address() { return H5Rget_obj_type3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type3(H5R_ref_t *ref_ptr, hid_t rapl_id, H5O_type_t *obj_type)
+ * }
+ */
+ public static int H5Rget_obj_type3(MemorySegment ref_ptr, long rapl_id, MemorySegment obj_type)
+ {
+ var mh$ = H5Rget_obj_type3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_type3", ref_ptr, rapl_id, obj_type);
+ }
+ return (int)mh$.invokeExact(ref_ptr, rapl_id, obj_type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_file_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_file_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_file_name$descriptor() { return H5Rget_file_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_file_name$handle() { return H5Rget_file_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_file_name$address() { return H5Rget_file_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_file_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_file_name(MemorySegment ref_ptr, MemorySegment name, long size)
+ {
+ var mh$ = H5Rget_file_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_file_name", ref_ptr, name, size);
+ }
+ return (long)mh$.invokeExact(ref_ptr, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_name$descriptor() { return H5Rget_obj_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_name$handle() { return H5Rget_obj_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_name$address() { return H5Rget_obj_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_obj_name(H5R_ref_t *ref_ptr, hid_t rapl_id, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_obj_name(MemorySegment ref_ptr, long rapl_id, MemorySegment name, long size)
+ {
+ var mh$ = H5Rget_obj_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_name", ref_ptr, rapl_id, name, size);
+ }
+ return (long)mh$.invokeExact(ref_ptr, rapl_id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_attr_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_attr_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_attr_name$descriptor() { return H5Rget_attr_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_attr_name$handle() { return H5Rget_attr_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_attr_name$address() { return H5Rget_attr_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_attr_name(const H5R_ref_t *ref_ptr, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_attr_name(MemorySegment ref_ptr, MemorySegment name, long size)
+ {
+ var mh$ = H5Rget_attr_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_attr_name", ref_ptr, name, size);
+ }
+ return (long)mh$.invokeExact(ref_ptr, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_type1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_type1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_type1$descriptor() { return H5Rget_obj_type1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_type1$handle() { return H5Rget_obj_type1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_type1$address() { return H5Rget_obj_type1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5G_obj_t H5Rget_obj_type1(hid_t id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static int H5Rget_obj_type1(long id, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rget_obj_type1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_type1", id, ref_type, ref);
+ }
+ return (int)mh$.invokeExact(id, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rdereference1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rdereference1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rdereference1$descriptor() { return H5Rdereference1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rdereference1$handle() { return H5Rdereference1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rdereference1$address() { return H5Rdereference1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Rdereference1(hid_t obj_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static long H5Rdereference1(long obj_id, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rdereference1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rdereference1", obj_id, ref_type, ref);
+ }
+ return (long)mh$.invokeExact(obj_id, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rcreate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Rcreate$descriptor() { return H5Rcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Rcreate$handle() { return H5Rcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Rcreate$address() { return H5Rcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rcreate(void *ref, hid_t loc_id, const char *name, H5R_type_t ref_type, hid_t space_id)
+ * }
+ */
+ public static int H5Rcreate(MemorySegment ref, long loc_id, MemorySegment name, int ref_type,
+ long space_id)
+ {
+ var mh$ = H5Rcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rcreate", ref, loc_id, name, ref_type, space_id);
+ }
+ return (int)mh$.invokeExact(ref, loc_id, name, ref_type, space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_obj_type2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_obj_type2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_obj_type2$descriptor() { return H5Rget_obj_type2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static MethodHandle H5Rget_obj_type2$handle() { return H5Rget_obj_type2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static MemorySegment H5Rget_obj_type2$address() { return H5Rget_obj_type2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Rget_obj_type2(hid_t id, H5R_type_t ref_type, const void *ref, H5O_type_t *obj_type)
+ * }
+ */
+ public static int H5Rget_obj_type2(long id, int ref_type, MemorySegment ref, MemorySegment obj_type)
+ {
+ var mh$ = H5Rget_obj_type2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_obj_type2", id, ref_type, ref, obj_type);
+ }
+ return (int)mh$.invokeExact(id, ref_type, ref, obj_type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rdereference2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rdereference2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rdereference2$descriptor() { return H5Rdereference2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rdereference2$handle() { return H5Rdereference2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rdereference2$address() { return H5Rdereference2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Rdereference2(hid_t obj_id, hid_t oapl_id, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static long H5Rdereference2(long obj_id, long oapl_id, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rdereference2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rdereference2", obj_id, oapl_id, ref_type, ref);
+ }
+ return (long)mh$.invokeExact(obj_id, oapl_id, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_region {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_region");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_region$descriptor() { return H5Rget_region.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MethodHandle H5Rget_region$handle() { return H5Rget_region.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static MemorySegment H5Rget_region$address() { return H5Rget_region.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Rget_region(hid_t dataset, H5R_type_t ref_type, const void *ref)
+ * }
+ */
+ public static long H5Rget_region(long dataset, int ref_type, MemorySegment ref)
+ {
+ var mh$ = H5Rget_region.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_region", dataset, ref_type, ref);
+ }
+ return (long)mh$.invokeExact(dataset, ref_type, ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Rget_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Rget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Rget_name$descriptor() { return H5Rget_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Rget_name$handle() { return H5Rget_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Rget_name$address() { return H5Rget_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Rget_name(hid_t loc_id, H5R_type_t ref_type, const void *ref, char *name, size_t size)
+ * }
+ */
+ public static long H5Rget_name(long loc_id, int ref_type, MemorySegment ref, MemorySegment name,
+ long size)
+ {
+ var mh$ = H5Rget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Rget_name", loc_id, ref_type, ref, name, size);
+ }
+ return (long)mh$.invokeExact(loc_id, ref_type, ref, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5VL_OBJECT_BY_SELF = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_SELF = 0
+ * }
+ */
+ public static int H5VL_OBJECT_BY_SELF() { return H5VL_OBJECT_BY_SELF; }
+ private static final int H5VL_OBJECT_BY_NAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_NAME = 1
+ * }
+ */
+ public static int H5VL_OBJECT_BY_NAME() { return H5VL_OBJECT_BY_NAME; }
+ private static final int H5VL_OBJECT_BY_IDX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_IDX = 2
+ * }
+ */
+ public static int H5VL_OBJECT_BY_IDX() { return H5VL_OBJECT_BY_IDX; }
+ private static final int H5VL_OBJECT_BY_TOKEN = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_loc_type_t.H5VL_OBJECT_BY_TOKEN = 3
+ * }
+ */
+ public static int H5VL_OBJECT_BY_TOKEN() { return H5VL_OBJECT_BY_TOKEN; }
+ private static final int H5VL_ATTR_GET_ACPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_ACPL = 0
+ * }
+ */
+ public static int H5VL_ATTR_GET_ACPL() { return H5VL_ATTR_GET_ACPL; }
+ private static final int H5VL_ATTR_GET_INFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_INFO = 1
+ * }
+ */
+ public static int H5VL_ATTR_GET_INFO() { return H5VL_ATTR_GET_INFO; }
+ private static final int H5VL_ATTR_GET_NAME = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_NAME = 2
+ * }
+ */
+ public static int H5VL_ATTR_GET_NAME() { return H5VL_ATTR_GET_NAME; }
+ private static final int H5VL_ATTR_GET_SPACE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_SPACE = 3
+ * }
+ */
+ public static int H5VL_ATTR_GET_SPACE() { return H5VL_ATTR_GET_SPACE; }
+ private static final int H5VL_ATTR_GET_STORAGE_SIZE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_STORAGE_SIZE = 4
+ * }
+ */
+ public static int H5VL_ATTR_GET_STORAGE_SIZE() { return H5VL_ATTR_GET_STORAGE_SIZE; }
+ private static final int H5VL_ATTR_GET_TYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_get_t.H5VL_ATTR_GET_TYPE = 5
+ * }
+ */
+ public static int H5VL_ATTR_GET_TYPE() { return H5VL_ATTR_GET_TYPE; }
+ private static final int H5VL_ATTR_DELETE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_DELETE = 0
+ * }
+ */
+ public static int H5VL_ATTR_DELETE() { return H5VL_ATTR_DELETE; }
+ private static final int H5VL_ATTR_DELETE_BY_IDX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_DELETE_BY_IDX = 1
+ * }
+ */
+ public static int H5VL_ATTR_DELETE_BY_IDX() { return H5VL_ATTR_DELETE_BY_IDX; }
+ private static final int H5VL_ATTR_EXISTS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_EXISTS = 2
+ * }
+ */
+ public static int H5VL_ATTR_EXISTS() { return H5VL_ATTR_EXISTS; }
+ private static final int H5VL_ATTR_ITER = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_ITER = 3
+ * }
+ */
+ public static int H5VL_ATTR_ITER() { return H5VL_ATTR_ITER; }
+ private static final int H5VL_ATTR_RENAME = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_attr_specific_t.H5VL_ATTR_RENAME = 4
+ * }
+ */
+ public static int H5VL_ATTR_RENAME() { return H5VL_ATTR_RENAME; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_attr_optional_t
+ * }
+ */
+ public static final OfInt H5VL_attr_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_DATASET_GET_DAPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_DAPL = 0
+ * }
+ */
+ public static int H5VL_DATASET_GET_DAPL() { return H5VL_DATASET_GET_DAPL; }
+ private static final int H5VL_DATASET_GET_DCPL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_DCPL = 1
+ * }
+ */
+ public static int H5VL_DATASET_GET_DCPL() { return H5VL_DATASET_GET_DCPL; }
+ private static final int H5VL_DATASET_GET_SPACE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_SPACE = 2
+ * }
+ */
+ public static int H5VL_DATASET_GET_SPACE() { return H5VL_DATASET_GET_SPACE; }
+ private static final int H5VL_DATASET_GET_SPACE_STATUS = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_SPACE_STATUS = 3
+ * }
+ */
+ public static int H5VL_DATASET_GET_SPACE_STATUS() { return H5VL_DATASET_GET_SPACE_STATUS; }
+ private static final int H5VL_DATASET_GET_STORAGE_SIZE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_STORAGE_SIZE = 4
+ * }
+ */
+ public static int H5VL_DATASET_GET_STORAGE_SIZE() { return H5VL_DATASET_GET_STORAGE_SIZE; }
+ private static final int H5VL_DATASET_GET_TYPE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_get_t.H5VL_DATASET_GET_TYPE = 5
+ * }
+ */
+ public static int H5VL_DATASET_GET_TYPE() { return H5VL_DATASET_GET_TYPE; }
+ private static final int H5VL_DATASET_SET_EXTENT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_specific_t.H5VL_DATASET_SET_EXTENT = 0
+ * }
+ */
+ public static int H5VL_DATASET_SET_EXTENT() { return H5VL_DATASET_SET_EXTENT; }
+ private static final int H5VL_DATASET_FLUSH = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_specific_t.H5VL_DATASET_FLUSH = 1
+ * }
+ */
+ public static int H5VL_DATASET_FLUSH() { return H5VL_DATASET_FLUSH; }
+ private static final int H5VL_DATASET_REFRESH = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_dataset_specific_t.H5VL_DATASET_REFRESH = 2
+ * }
+ */
+ public static int H5VL_DATASET_REFRESH() { return H5VL_DATASET_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_dataset_optional_t
+ * }
+ */
+ public static final OfInt H5VL_dataset_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_DATATYPE_GET_BINARY_SIZE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_get_t.H5VL_DATATYPE_GET_BINARY_SIZE = 0
+ * }
+ */
+ public static int H5VL_DATATYPE_GET_BINARY_SIZE() { return H5VL_DATATYPE_GET_BINARY_SIZE; }
+ private static final int H5VL_DATATYPE_GET_BINARY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_get_t.H5VL_DATATYPE_GET_BINARY = 1
+ * }
+ */
+ public static int H5VL_DATATYPE_GET_BINARY() { return H5VL_DATATYPE_GET_BINARY; }
+ private static final int H5VL_DATATYPE_GET_TCPL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_get_t.H5VL_DATATYPE_GET_TCPL = 2
+ * }
+ */
+ public static int H5VL_DATATYPE_GET_TCPL() { return H5VL_DATATYPE_GET_TCPL; }
+ private static final int H5VL_DATATYPE_FLUSH = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_specific_t.H5VL_DATATYPE_FLUSH = 0
+ * }
+ */
+ public static int H5VL_DATATYPE_FLUSH() { return H5VL_DATATYPE_FLUSH; }
+ private static final int H5VL_DATATYPE_REFRESH = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_datatype_specific_t.H5VL_DATATYPE_REFRESH = 1
+ * }
+ */
+ public static int H5VL_DATATYPE_REFRESH() { return H5VL_DATATYPE_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_datatype_optional_t
+ * }
+ */
+ public static final OfInt H5VL_datatype_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_FILE_GET_CONT_INFO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_CONT_INFO = 0
+ * }
+ */
+ public static int H5VL_FILE_GET_CONT_INFO() { return H5VL_FILE_GET_CONT_INFO; }
+ private static final int H5VL_FILE_GET_FAPL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_FAPL = 1
+ * }
+ */
+ public static int H5VL_FILE_GET_FAPL() { return H5VL_FILE_GET_FAPL; }
+ private static final int H5VL_FILE_GET_FCPL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_FCPL = 2
+ * }
+ */
+ public static int H5VL_FILE_GET_FCPL() { return H5VL_FILE_GET_FCPL; }
+ private static final int H5VL_FILE_GET_FILENO = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_FILENO = 3
+ * }
+ */
+ public static int H5VL_FILE_GET_FILENO() { return H5VL_FILE_GET_FILENO; }
+ private static final int H5VL_FILE_GET_INTENT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_INTENT = 4
+ * }
+ */
+ public static int H5VL_FILE_GET_INTENT() { return H5VL_FILE_GET_INTENT; }
+ private static final int H5VL_FILE_GET_NAME = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_NAME = 5
+ * }
+ */
+ public static int H5VL_FILE_GET_NAME() { return H5VL_FILE_GET_NAME; }
+ private static final int H5VL_FILE_GET_OBJ_COUNT = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_OBJ_COUNT = 6
+ * }
+ */
+ public static int H5VL_FILE_GET_OBJ_COUNT() { return H5VL_FILE_GET_OBJ_COUNT; }
+ private static final int H5VL_FILE_GET_OBJ_IDS = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_get_t.H5VL_FILE_GET_OBJ_IDS = 7
+ * }
+ */
+ public static int H5VL_FILE_GET_OBJ_IDS() { return H5VL_FILE_GET_OBJ_IDS; }
+ private static final int H5VL_FILE_FLUSH = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_FLUSH = 0
+ * }
+ */
+ public static int H5VL_FILE_FLUSH() { return H5VL_FILE_FLUSH; }
+ private static final int H5VL_FILE_REOPEN = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_REOPEN = 1
+ * }
+ */
+ public static int H5VL_FILE_REOPEN() { return H5VL_FILE_REOPEN; }
+ private static final int H5VL_FILE_IS_ACCESSIBLE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_IS_ACCESSIBLE = 2
+ * }
+ */
+ public static int H5VL_FILE_IS_ACCESSIBLE() { return H5VL_FILE_IS_ACCESSIBLE; }
+ private static final int H5VL_FILE_DELETE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_DELETE = 3
+ * }
+ */
+ public static int H5VL_FILE_DELETE() { return H5VL_FILE_DELETE; }
+ private static final int H5VL_FILE_IS_EQUAL = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_file_specific_t.H5VL_FILE_IS_EQUAL = 4
+ * }
+ */
+ public static int H5VL_FILE_IS_EQUAL() { return H5VL_FILE_IS_EQUAL; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_file_optional_t
+ * }
+ */
+ public static final OfInt H5VL_file_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_GROUP_GET_GCPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_get_t.H5VL_GROUP_GET_GCPL = 0
+ * }
+ */
+ public static int H5VL_GROUP_GET_GCPL() { return H5VL_GROUP_GET_GCPL; }
+ private static final int H5VL_GROUP_GET_INFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_get_t.H5VL_GROUP_GET_INFO = 1
+ * }
+ */
+ public static int H5VL_GROUP_GET_INFO() { return H5VL_GROUP_GET_INFO; }
+ private static final int H5VL_GROUP_MOUNT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_MOUNT = 0
+ * }
+ */
+ public static int H5VL_GROUP_MOUNT() { return H5VL_GROUP_MOUNT; }
+ private static final int H5VL_GROUP_UNMOUNT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_UNMOUNT = 1
+ * }
+ */
+ public static int H5VL_GROUP_UNMOUNT() { return H5VL_GROUP_UNMOUNT; }
+ private static final int H5VL_GROUP_FLUSH = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_FLUSH = 2
+ * }
+ */
+ public static int H5VL_GROUP_FLUSH() { return H5VL_GROUP_FLUSH; }
+ private static final int H5VL_GROUP_REFRESH = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_group_specific_t.H5VL_GROUP_REFRESH = 3
+ * }
+ */
+ public static int H5VL_GROUP_REFRESH() { return H5VL_GROUP_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_group_optional_t
+ * }
+ */
+ public static final OfInt H5VL_group_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_LINK_CREATE_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_create_t.H5VL_LINK_CREATE_HARD = 0
+ * }
+ */
+ public static int H5VL_LINK_CREATE_HARD() { return H5VL_LINK_CREATE_HARD; }
+ private static final int H5VL_LINK_CREATE_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_create_t.H5VL_LINK_CREATE_SOFT = 1
+ * }
+ */
+ public static int H5VL_LINK_CREATE_SOFT() { return H5VL_LINK_CREATE_SOFT; }
+ private static final int H5VL_LINK_CREATE_UD = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_create_t.H5VL_LINK_CREATE_UD = 2
+ * }
+ */
+ public static int H5VL_LINK_CREATE_UD() { return H5VL_LINK_CREATE_UD; }
+ private static final int H5VL_LINK_GET_INFO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_get_t.H5VL_LINK_GET_INFO = 0
+ * }
+ */
+ public static int H5VL_LINK_GET_INFO() { return H5VL_LINK_GET_INFO; }
+ private static final int H5VL_LINK_GET_NAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_get_t.H5VL_LINK_GET_NAME = 1
+ * }
+ */
+ public static int H5VL_LINK_GET_NAME() { return H5VL_LINK_GET_NAME; }
+ private static final int H5VL_LINK_GET_VAL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_get_t.H5VL_LINK_GET_VAL = 2
+ * }
+ */
+ public static int H5VL_LINK_GET_VAL() { return H5VL_LINK_GET_VAL; }
+ private static final int H5VL_LINK_DELETE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_specific_t.H5VL_LINK_DELETE = 0
+ * }
+ */
+ public static int H5VL_LINK_DELETE() { return H5VL_LINK_DELETE; }
+ private static final int H5VL_LINK_EXISTS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_specific_t.H5VL_LINK_EXISTS = 1
+ * }
+ */
+ public static int H5VL_LINK_EXISTS() { return H5VL_LINK_EXISTS; }
+ private static final int H5VL_LINK_ITER = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_link_specific_t.H5VL_LINK_ITER = 2
+ * }
+ */
+ public static int H5VL_LINK_ITER() { return H5VL_LINK_ITER; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_link_optional_t
+ * }
+ */
+ public static final OfInt H5VL_link_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_OBJECT_GET_FILE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_FILE = 0
+ * }
+ */
+ public static int H5VL_OBJECT_GET_FILE() { return H5VL_OBJECT_GET_FILE; }
+ private static final int H5VL_OBJECT_GET_NAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_NAME = 1
+ * }
+ */
+ public static int H5VL_OBJECT_GET_NAME() { return H5VL_OBJECT_GET_NAME; }
+ private static final int H5VL_OBJECT_GET_TYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_TYPE = 2
+ * }
+ */
+ public static int H5VL_OBJECT_GET_TYPE() { return H5VL_OBJECT_GET_TYPE; }
+ private static final int H5VL_OBJECT_GET_INFO = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_get_t.H5VL_OBJECT_GET_INFO = 3
+ * }
+ */
+ public static int H5VL_OBJECT_GET_INFO() { return H5VL_OBJECT_GET_INFO; }
+ private static final int H5VL_OBJECT_CHANGE_REF_COUNT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_CHANGE_REF_COUNT = 0
+ * }
+ */
+ public static int H5VL_OBJECT_CHANGE_REF_COUNT() { return H5VL_OBJECT_CHANGE_REF_COUNT; }
+ private static final int H5VL_OBJECT_EXISTS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_EXISTS = 1
+ * }
+ */
+ public static int H5VL_OBJECT_EXISTS() { return H5VL_OBJECT_EXISTS; }
+ private static final int H5VL_OBJECT_LOOKUP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_LOOKUP = 2
+ * }
+ */
+ public static int H5VL_OBJECT_LOOKUP() { return H5VL_OBJECT_LOOKUP; }
+ private static final int H5VL_OBJECT_VISIT = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_VISIT = 3
+ * }
+ */
+ public static int H5VL_OBJECT_VISIT() { return H5VL_OBJECT_VISIT; }
+ private static final int H5VL_OBJECT_FLUSH = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_FLUSH = 4
+ * }
+ */
+ public static int H5VL_OBJECT_FLUSH() { return H5VL_OBJECT_FLUSH; }
+ private static final int H5VL_OBJECT_REFRESH = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_object_specific_t.H5VL_OBJECT_REFRESH = 5
+ * }
+ */
+ public static int H5VL_OBJECT_REFRESH() { return H5VL_OBJECT_REFRESH; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_object_optional_t
+ * }
+ */
+ public static final OfInt H5VL_object_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_REQUEST_STATUS_IN_PROGRESS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_IN_PROGRESS = 0
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_IN_PROGRESS() { return H5VL_REQUEST_STATUS_IN_PROGRESS; }
+ private static final int H5VL_REQUEST_STATUS_SUCCEED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_SUCCEED = 1
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_SUCCEED() { return H5VL_REQUEST_STATUS_SUCCEED; }
+ private static final int H5VL_REQUEST_STATUS_FAIL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_FAIL = 2
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_FAIL() { return H5VL_REQUEST_STATUS_FAIL; }
+ private static final int H5VL_REQUEST_STATUS_CANT_CANCEL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_CANT_CANCEL = 3
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_CANT_CANCEL() { return H5VL_REQUEST_STATUS_CANT_CANCEL; }
+ private static final int H5VL_REQUEST_STATUS_CANCELED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_status_t.H5VL_REQUEST_STATUS_CANCELED = 4
+ * }
+ */
+ public static int H5VL_REQUEST_STATUS_CANCELED() { return H5VL_REQUEST_STATUS_CANCELED; }
+ private static final int H5VL_REQUEST_GET_ERR_STACK = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_specific_t.H5VL_REQUEST_GET_ERR_STACK = 0
+ * }
+ */
+ public static int H5VL_REQUEST_GET_ERR_STACK() { return H5VL_REQUEST_GET_ERR_STACK; }
+ private static final int H5VL_REQUEST_GET_EXEC_TIME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_request_specific_t.H5VL_REQUEST_GET_EXEC_TIME = 1
+ * }
+ */
+ public static int H5VL_REQUEST_GET_EXEC_TIME() { return H5VL_REQUEST_GET_EXEC_TIME; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_request_optional_t
+ * }
+ */
+ public static final OfInt H5VL_request_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_BLOB_DELETE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_blob_specific_t.H5VL_BLOB_DELETE = 0
+ * }
+ */
+ public static int H5VL_BLOB_DELETE() { return H5VL_BLOB_DELETE; }
+ private static final int H5VL_BLOB_ISNULL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_blob_specific_t.H5VL_BLOB_ISNULL = 1
+ * }
+ */
+ public static int H5VL_BLOB_ISNULL() { return H5VL_BLOB_ISNULL; }
+ private static final int H5VL_BLOB_SETNULL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_blob_specific_t.H5VL_BLOB_SETNULL = 2
+ * }
+ */
+ public static int H5VL_BLOB_SETNULL() { return H5VL_BLOB_SETNULL; }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5VL_blob_optional_t
+ * }
+ */
+ public static final OfInt H5VL_blob_optional_t = hdf5_h.C_INT;
+ private static final int H5VL_GET_CONN_LVL_CURR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_get_conn_lvl_t.H5VL_GET_CONN_LVL_CURR = 0
+ * }
+ */
+ public static int H5VL_GET_CONN_LVL_CURR() { return H5VL_GET_CONN_LVL_CURR; }
+ private static final int H5VL_GET_CONN_LVL_TERM = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_get_conn_lvl_t.H5VL_GET_CONN_LVL_TERM = 1
+ * }
+ */
+ public static int H5VL_GET_CONN_LVL_TERM() { return H5VL_GET_CONN_LVL_TERM; }
+
+ private static class H5VLregister_connector {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_connector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_connector$descriptor()
+ {
+ return H5VLregister_connector.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLregister_connector$handle() { return H5VLregister_connector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLregister_connector$address() { return H5VLregister_connector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLregister_connector(const H5VL_class_t *cls, hid_t vipl_id)
+ * }
+ */
+ public static long H5VLregister_connector(MemorySegment cls, long vipl_id)
+ {
+ var mh$ = H5VLregister_connector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_connector", cls, vipl_id);
+ }
+ return (long)mh$.invokeExact(cls, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject$descriptor() { return H5VLobject.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static MethodHandle H5VLobject$handle() { return H5VLobject.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5VLobject$address() { return H5VLobject.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLobject(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5VLobject(long obj_id)
+ {
+ var mh$ = H5VLobject.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject", obj_id);
+ }
+ return (MemorySegment)mh$.invokeExact(obj_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_file_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_file_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_file_type$descriptor() { return H5VLget_file_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static MethodHandle H5VLget_file_type$handle() { return H5VLget_file_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static MemorySegment H5VLget_file_type$address() { return H5VLget_file_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLget_file_type(void *file_obj, hid_t connector_id, hid_t dtype_id)
+ * }
+ */
+ public static long H5VLget_file_type(MemorySegment file_obj, long connector_id, long dtype_id)
+ {
+ var mh$ = H5VLget_file_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_file_type", file_obj, connector_id, dtype_id);
+ }
+ return (long)mh$.invokeExact(file_obj, connector_id, dtype_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLregister_opt_operation {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLregister_opt_operation");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static FunctionDescriptor H5VLregister_opt_operation$descriptor()
+ {
+ return H5VLregister_opt_operation.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MethodHandle H5VLregister_opt_operation$handle()
+ {
+ return H5VLregister_opt_operation.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MemorySegment H5VLregister_opt_operation$address()
+ {
+ return H5VLregister_opt_operation.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLregister_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static int H5VLregister_opt_operation(int subcls, MemorySegment op_name, MemorySegment op_val)
+ {
+ var mh$ = H5VLregister_opt_operation.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLregister_opt_operation", subcls, op_name, op_val);
+ }
+ return (int)mh$.invokeExact(subcls, op_name, op_val);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfind_opt_operation {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfind_opt_operation");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static FunctionDescriptor H5VLfind_opt_operation$descriptor()
+ {
+ return H5VLfind_opt_operation.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MethodHandle H5VLfind_opt_operation$handle() { return H5VLfind_opt_operation.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static MemorySegment H5VLfind_opt_operation$address() { return H5VLfind_opt_operation.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfind_opt_operation(H5VL_subclass_t subcls, const char *op_name, int *op_val)
+ * }
+ */
+ public static int H5VLfind_opt_operation(int subcls, MemorySegment op_name, MemorySegment op_val)
+ {
+ var mh$ = H5VLfind_opt_operation.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfind_opt_operation", subcls, op_name, op_val);
+ }
+ return (int)mh$.invokeExact(subcls, op_name, op_val);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLunregister_opt_operation {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLunregister_opt_operation");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static FunctionDescriptor H5VLunregister_opt_operation$descriptor()
+ {
+ return H5VLunregister_opt_operation.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static MethodHandle H5VLunregister_opt_operation$handle()
+ {
+ return H5VLunregister_opt_operation.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static MemorySegment H5VLunregister_opt_operation$address()
+ {
+ return H5VLunregister_opt_operation.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLunregister_opt_operation(H5VL_subclass_t subcls, const char *op_name)
+ * }
+ */
+ public static int H5VLunregister_opt_operation(int subcls, MemorySegment op_name)
+ {
+ var mh$ = H5VLunregister_opt_operation.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLunregister_opt_operation", subcls, op_name);
+ }
+ return (int)mh$.invokeExact(subcls, op_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_optional_op$descriptor() { return H5VLattr_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLattr_optional_op$handle() { return H5VLattr_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLattr_optional_op$address() { return H5VLattr_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * attr_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLattr_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long attr_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLattr_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_optional_op", app_file, app_func, app_line, attr_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_optional_op$descriptor()
+ {
+ return H5VLdataset_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLdataset_optional_op$handle() { return H5VLdataset_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLdataset_optional_op$address() { return H5VLdataset_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLdataset_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLdataset_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_optional_op", app_file, app_func, app_line, dset_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_optional_op$descriptor()
+ {
+ return H5VLdatatype_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_optional_op$handle() { return H5VLdatatype_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_optional_op$address() { return H5VLdatatype_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional_op(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t type_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLdatatype_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long type_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLdatatype_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_optional_op", app_file, app_func, app_line, type_id, args,
+ dxpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, type_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_optional_op$descriptor() { return H5VLfile_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLfile_optional_op$handle() { return H5VLfile_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLfile_optional_op$address() { return H5VLfile_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * file_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLfile_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long file_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLfile_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_optional_op", app_file, app_func, app_line, file_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, file_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_optional_op$descriptor() { return H5VLgroup_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLgroup_optional_op$handle() { return H5VLgroup_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLgroup_optional_op$address() { return H5VLgroup_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * group_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLgroup_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long group_id, MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLgroup_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_optional_op", app_file, app_func, app_line, group_id, args, dxpl_id,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, group_id, args, dxpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_optional_op$descriptor() { return H5VLlink_optional_op.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLlink_optional_op$handle() { return H5VLlink_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLlink_optional_op$address() { return H5VLlink_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLlink_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lapl_id, MemorySegment args,
+ long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLlink_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_optional_op", app_file, app_func, app_line, loc_id, name, lapl_id,
+ args, dxpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, args, dxpl_id,
+ es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_optional_op {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_optional_op$descriptor()
+ {
+ return H5VLobject_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5VLobject_optional_op$handle() { return H5VLobject_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5VLobject_optional_op$address() { return H5VLobject_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional_op(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *name, hid_t lapl_id, H5VL_optional_args_t *args, hid_t dxpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5VLobject_optional_op(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lapl_id,
+ MemorySegment args, long dxpl_id, long es_id)
+ {
+ var mh$ = H5VLobject_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_optional_op", app_file, app_func, app_line, loc_id, name, lapl_id,
+ args, dxpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, args, dxpl_id,
+ es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_optional_op {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_optional_op");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_optional_op$descriptor()
+ {
+ return H5VLrequest_optional_op.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLrequest_optional_op$handle() { return H5VLrequest_optional_op.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLrequest_optional_op$address() { return H5VLrequest_optional_op.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional_op(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static int H5VLrequest_optional_op(MemorySegment req, long connector_id, MemorySegment args)
+ {
+ var mh$ = H5VLrequest_optional_op.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_optional_op", req, connector_id, args);
+ }
+ return (int)mh$.invokeExact(req, connector_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5VL_MAP_GET_MAPL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_MAPL = 0
+ * }
+ */
+ public static int H5VL_MAP_GET_MAPL() { return H5VL_MAP_GET_MAPL; }
+ private static final int H5VL_MAP_GET_MCPL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_MCPL = 1
+ * }
+ */
+ public static int H5VL_MAP_GET_MCPL() { return H5VL_MAP_GET_MCPL; }
+ private static final int H5VL_MAP_GET_KEY_TYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_KEY_TYPE = 2
+ * }
+ */
+ public static int H5VL_MAP_GET_KEY_TYPE() { return H5VL_MAP_GET_KEY_TYPE; }
+ private static final int H5VL_MAP_GET_VAL_TYPE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_VAL_TYPE = 3
+ * }
+ */
+ public static int H5VL_MAP_GET_VAL_TYPE() { return H5VL_MAP_GET_VAL_TYPE; }
+ private static final int H5VL_MAP_GET_COUNT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_get_t.H5VL_MAP_GET_COUNT = 4
+ * }
+ */
+ public static int H5VL_MAP_GET_COUNT() { return H5VL_MAP_GET_COUNT; }
+ private static final int H5VL_MAP_ITER = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_specific_t.H5VL_MAP_ITER = 0
+ * }
+ */
+ public static int H5VL_MAP_ITER() { return H5VL_MAP_ITER; }
+ private static final int H5VL_MAP_DELETE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5VL_map_specific_t.H5VL_MAP_DELETE = 1
+ * }
+ */
+ public static int H5VL_MAP_DELETE() { return H5VL_MAP_DELETE; }
+ private static final int H5S_NO_CLASS = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_NO_CLASS = -1
+ * }
+ */
+ public static int H5S_NO_CLASS() { return H5S_NO_CLASS; }
+ private static final int H5S_SCALAR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_SCALAR = 0
+ * }
+ */
+ public static int H5S_SCALAR() { return H5S_SCALAR; }
+ private static final int H5S_SIMPLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_SIMPLE = 1
+ * }
+ */
+ public static int H5S_SIMPLE() { return H5S_SIMPLE; }
+ private static final int H5S_NULL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_class_t.H5S_NULL = 2
+ * }
+ */
+ public static int H5S_NULL() { return H5S_NULL; }
+ private static final int H5S_SELECT_NOOP = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_NOOP = -1
+ * }
+ */
+ public static int H5S_SELECT_NOOP() { return H5S_SELECT_NOOP; }
+ private static final int H5S_SELECT_SET = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_SET = 0
+ * }
+ */
+ public static int H5S_SELECT_SET() { return H5S_SELECT_SET; }
+ private static final int H5S_SELECT_OR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_OR = 1
+ * }
+ */
+ public static int H5S_SELECT_OR() { return H5S_SELECT_OR; }
+ private static final int H5S_SELECT_AND = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_AND = 2
+ * }
+ */
+ public static int H5S_SELECT_AND() { return H5S_SELECT_AND; }
+ private static final int H5S_SELECT_XOR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_XOR = 3
+ * }
+ */
+ public static int H5S_SELECT_XOR() { return H5S_SELECT_XOR; }
+ private static final int H5S_SELECT_NOTB = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_NOTB = 4
+ * }
+ */
+ public static int H5S_SELECT_NOTB() { return H5S_SELECT_NOTB; }
+ private static final int H5S_SELECT_NOTA = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_NOTA = 5
+ * }
+ */
+ public static int H5S_SELECT_NOTA() { return H5S_SELECT_NOTA; }
+ private static final int H5S_SELECT_APPEND = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_APPEND = 6
+ * }
+ */
+ public static int H5S_SELECT_APPEND() { return H5S_SELECT_APPEND; }
+ private static final int H5S_SELECT_PREPEND = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_PREPEND = 7
+ * }
+ */
+ public static int H5S_SELECT_PREPEND() { return H5S_SELECT_PREPEND; }
+ private static final int H5S_SELECT_INVALID = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5S_seloper_t.H5S_SELECT_INVALID = 8
+ * }
+ */
+ public static int H5S_SELECT_INVALID() { return H5S_SELECT_INVALID; }
+ private static final int H5S_SEL_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_ERROR = -1
+ * }
+ */
+ public static int H5S_SEL_ERROR() { return H5S_SEL_ERROR; }
+ private static final int H5S_SEL_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_NONE = 0
+ * }
+ */
+ public static int H5S_SEL_NONE() { return H5S_SEL_NONE; }
+ private static final int H5S_SEL_POINTS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_POINTS = 1
+ * }
+ */
+ public static int H5S_SEL_POINTS() { return H5S_SEL_POINTS; }
+ private static final int H5S_SEL_HYPERSLABS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_HYPERSLABS = 2
+ * }
+ */
+ public static int H5S_SEL_HYPERSLABS() { return H5S_SEL_HYPERSLABS; }
+ private static final int H5S_SEL_ALL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_ALL = 3
+ * }
+ */
+ public static int H5S_SEL_ALL() { return H5S_SEL_ALL; }
+ private static final int H5S_SEL_N = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5S_SEL_N = 4
+ * }
+ */
+ public static int H5S_SEL_N() { return H5S_SEL_N; }
+
+ private static class H5Sclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sclose$descriptor() { return H5Sclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sclose$handle() { return H5Sclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sclose$address() { return H5Sclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sclose(hid_t space_id)
+ * }
+ */
+ public static int H5Sclose(long space_id)
+ {
+ var mh$ = H5Sclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sclose", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Scombine_hyperslab {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Scombine_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Scombine_hyperslab$descriptor() { return H5Scombine_hyperslab.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Scombine_hyperslab$handle() { return H5Scombine_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Scombine_hyperslab$address() { return H5Scombine_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static long H5Scombine_hyperslab(long space_id, int op, MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Scombine_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Scombine_hyperslab", space_id, op, start, stride, count, block);
+ }
+ return (long)mh$.invokeExact(space_id, op, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Scombine_select {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Scombine_select");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Scombine_select$descriptor() { return H5Scombine_select.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Scombine_select$handle() { return H5Scombine_select.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Scombine_select$address() { return H5Scombine_select.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static long H5Scombine_select(long space1_id, int op, long space2_id)
+ {
+ var mh$ = H5Scombine_select.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Scombine_select", space1_id, op, space2_id);
+ }
+ return (long)mh$.invokeExact(space1_id, op, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Scopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Scopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Scopy$descriptor() { return H5Scopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Scopy$handle() { return H5Scopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Scopy$address() { return H5Scopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Scopy(hid_t space_id)
+ * }
+ */
+ public static long H5Scopy(long space_id)
+ {
+ var mh$ = H5Scopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Scopy", space_id);
+ }
+ return (long)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Screate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Screate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Screate$descriptor() { return H5Screate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static MethodHandle H5Screate$handle() { return H5Screate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static MemorySegment H5Screate$address() { return H5Screate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Screate(H5S_class_t type)
+ * }
+ */
+ public static long H5Screate(int type)
+ {
+ var mh$ = H5Screate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Screate", type);
+ }
+ return (long)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Screate_simple {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Screate_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static FunctionDescriptor H5Screate_simple$descriptor() { return H5Screate_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static MethodHandle H5Screate_simple$handle() { return H5Screate_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static MemorySegment H5Screate_simple$address() { return H5Screate_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[])
+ * }
+ */
+ public static long H5Screate_simple(int rank, MemorySegment dims, MemorySegment maxdims)
+ {
+ var mh$ = H5Screate_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Screate_simple", rank, dims, maxdims);
+ }
+ return (long)mh$.invokeExact(rank, dims, maxdims);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sdecode {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sdecode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Sdecode$descriptor() { return H5Sdecode.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static MethodHandle H5Sdecode$handle() { return H5Sdecode.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static MemorySegment H5Sdecode$address() { return H5Sdecode.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Sdecode(const void *buf)
+ * }
+ */
+ public static long H5Sdecode(MemorySegment buf)
+ {
+ var mh$ = H5Sdecode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sdecode", buf);
+ }
+ return (long)mh$.invokeExact(buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sencode2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sencode2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static FunctionDescriptor H5Sencode2$descriptor() { return H5Sencode2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static MethodHandle H5Sencode2$handle() { return H5Sencode2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static MemorySegment H5Sencode2$address() { return H5Sencode2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sencode2(hid_t obj_id, void *buf, size_t *nalloc, hid_t fapl)
+ * }
+ */
+ public static int H5Sencode2(long obj_id, MemorySegment buf, MemorySegment nalloc, long fapl)
+ {
+ var mh$ = H5Sencode2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sencode2", obj_id, buf, nalloc, fapl);
+ }
+ return (int)mh$.invokeExact(obj_id, buf, nalloc, fapl);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sextent_copy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sextent_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sextent_copy$descriptor() { return H5Sextent_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MethodHandle H5Sextent_copy$handle() { return H5Sextent_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MemorySegment H5Sextent_copy$address() { return H5Sextent_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sextent_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static int H5Sextent_copy(long dst_id, long src_id)
+ {
+ var mh$ = H5Sextent_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sextent_copy", dst_id, src_id);
+ }
+ return (int)mh$.invokeExact(dst_id, src_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sextent_equal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sextent_equal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sextent_equal$descriptor() { return H5Sextent_equal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Sextent_equal$handle() { return H5Sextent_equal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Sextent_equal$address() { return H5Sextent_equal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sextent_equal(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static int H5Sextent_equal(long space1_id, long space2_id)
+ {
+ var mh$ = H5Sextent_equal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sextent_equal", space1_id, space2_id);
+ }
+ return (int)mh$.invokeExact(space1_id, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_regular_hyperslab {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_regular_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_regular_hyperslab$descriptor()
+ {
+ return H5Sget_regular_hyperslab.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Sget_regular_hyperslab$handle() { return H5Sget_regular_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Sget_regular_hyperslab$address() { return H5Sget_regular_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sget_regular_hyperslab(hid_t spaceid, hsize_t start[], hsize_t stride[], hsize_t count[],
+ * hsize_t block[])
+ * }
+ */
+ public static int H5Sget_regular_hyperslab(long spaceid, MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Sget_regular_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_regular_hyperslab", spaceid, start, stride, count, block);
+ }
+ return (int)mh$.invokeExact(spaceid, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_bounds$descriptor() { return H5Sget_select_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static MethodHandle H5Sget_select_bounds$handle() { return H5Sget_select_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static MemorySegment H5Sget_select_bounds$address() { return H5Sget_select_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t start[], hsize_t end[])
+ * }
+ */
+ public static int H5Sget_select_bounds(long spaceid, MemorySegment start, MemorySegment end)
+ {
+ var mh$ = H5Sget_select_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_bounds", spaceid, start, end);
+ }
+ return (int)mh$.invokeExact(spaceid, start, end);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_elem_npoints {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_elem_npoints");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_elem_npoints$descriptor()
+ {
+ return H5Sget_select_elem_npoints.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_elem_npoints$handle()
+ {
+ return H5Sget_select_elem_npoints.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_elem_npoints$address()
+ {
+ return H5Sget_select_elem_npoints.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_elem_npoints(hid_t spaceid)
+ * }
+ */
+ public static long H5Sget_select_elem_npoints(long spaceid)
+ {
+ var mh$ = H5Sget_select_elem_npoints.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_elem_npoints", spaceid);
+ }
+ return (long)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_elem_pointlist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_elem_pointlist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_elem_pointlist$descriptor()
+ {
+ return H5Sget_select_elem_pointlist.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static MethodHandle H5Sget_select_elem_pointlist$handle()
+ {
+ return H5Sget_select_elem_pointlist.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static MemorySegment H5Sget_select_elem_pointlist$address()
+ {
+ return H5Sget_select_elem_pointlist.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t
+ * buf[])
+ * }
+ */
+ public static int H5Sget_select_elem_pointlist(long spaceid, long startpoint, long numpoints,
+ MemorySegment buf)
+ {
+ var mh$ = H5Sget_select_elem_pointlist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_elem_pointlist", spaceid, startpoint, numpoints, buf);
+ }
+ return (int)mh$.invokeExact(spaceid, startpoint, numpoints, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_hyper_blocklist {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_hyper_blocklist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_hyper_blocklist$descriptor()
+ {
+ return H5Sget_select_hyper_blocklist.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static MethodHandle H5Sget_select_hyper_blocklist$handle()
+ {
+ return H5Sget_select_hyper_blocklist.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static MemorySegment H5Sget_select_hyper_blocklist$address()
+ {
+ return H5Sget_select_hyper_blocklist.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t
+ * buf[])
+ * }
+ */
+ public static int H5Sget_select_hyper_blocklist(long spaceid, long startblock, long numblocks,
+ MemorySegment buf)
+ {
+ var mh$ = H5Sget_select_hyper_blocklist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_hyper_blocklist", spaceid, startblock, numblocks, buf);
+ }
+ return (int)mh$.invokeExact(spaceid, startblock, numblocks, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_hyper_nblocks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_hyper_nblocks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_hyper_nblocks$descriptor()
+ {
+ return H5Sget_select_hyper_nblocks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_hyper_nblocks$handle()
+ {
+ return H5Sget_select_hyper_nblocks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_hyper_nblocks$address()
+ {
+ return H5Sget_select_hyper_nblocks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid)
+ * }
+ */
+ public static long H5Sget_select_hyper_nblocks(long spaceid)
+ {
+ var mh$ = H5Sget_select_hyper_nblocks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_hyper_nblocks", spaceid);
+ }
+ return (long)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_npoints {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_npoints");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_npoints$descriptor() { return H5Sget_select_npoints.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_npoints$handle() { return H5Sget_select_npoints.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_npoints$address() { return H5Sget_select_npoints.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_select_npoints(hid_t spaceid)
+ * }
+ */
+ public static long H5Sget_select_npoints(long spaceid)
+ {
+ var mh$ = H5Sget_select_npoints.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_npoints", spaceid);
+ }
+ return (long)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_select_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_select_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_select_type$descriptor() { return H5Sget_select_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sget_select_type$handle() { return H5Sget_select_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sget_select_type$address() { return H5Sget_select_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5S_sel_type H5Sget_select_type(hid_t spaceid)
+ * }
+ */
+ public static int H5Sget_select_type(long spaceid)
+ {
+ var mh$ = H5Sget_select_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_select_type", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_dims {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_dims");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_dims$descriptor()
+ {
+ return H5Sget_simple_extent_dims.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_dims$handle() { return H5Sget_simple_extent_dims.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_dims$address() { return H5Sget_simple_extent_dims.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[])
+ * }
+ */
+ public static int H5Sget_simple_extent_dims(long space_id, MemorySegment dims, MemorySegment maxdims)
+ {
+ var mh$ = H5Sget_simple_extent_dims.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_dims", space_id, dims, maxdims);
+ }
+ return (int)mh$.invokeExact(space_id, dims, maxdims);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_ndims {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_ndims");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_ndims$descriptor()
+ {
+ return H5Sget_simple_extent_ndims.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_ndims$handle()
+ {
+ return H5Sget_simple_extent_ndims.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_ndims$address()
+ {
+ return H5Sget_simple_extent_ndims.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Sget_simple_extent_ndims(hid_t space_id)
+ * }
+ */
+ public static int H5Sget_simple_extent_ndims(long space_id)
+ {
+ var mh$ = H5Sget_simple_extent_ndims.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_ndims", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_npoints {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_npoints");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_npoints$descriptor()
+ {
+ return H5Sget_simple_extent_npoints.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_npoints$handle()
+ {
+ return H5Sget_simple_extent_npoints.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_npoints$address()
+ {
+ return H5Sget_simple_extent_npoints.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Sget_simple_extent_npoints(hid_t space_id)
+ * }
+ */
+ public static long H5Sget_simple_extent_npoints(long space_id)
+ {
+ var mh$ = H5Sget_simple_extent_npoints.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_npoints", space_id);
+ }
+ return (long)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sget_simple_extent_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sget_simple_extent_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sget_simple_extent_type$descriptor()
+ {
+ return H5Sget_simple_extent_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sget_simple_extent_type$handle() { return H5Sget_simple_extent_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sget_simple_extent_type$address() { return H5Sget_simple_extent_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5S_class_t H5Sget_simple_extent_type(hid_t space_id)
+ * }
+ */
+ public static int H5Sget_simple_extent_type(long space_id)
+ {
+ var mh$ = H5Sget_simple_extent_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sget_simple_extent_type", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sis_regular_hyperslab {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sis_regular_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sis_regular_hyperslab$descriptor()
+ {
+ return H5Sis_regular_hyperslab.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sis_regular_hyperslab$handle() { return H5Sis_regular_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sis_regular_hyperslab$address() { return H5Sis_regular_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sis_regular_hyperslab(hid_t spaceid)
+ * }
+ */
+ public static int H5Sis_regular_hyperslab(long spaceid)
+ {
+ var mh$ = H5Sis_regular_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sis_regular_hyperslab", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sis_simple {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sis_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sis_simple$descriptor() { return H5Sis_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sis_simple$handle() { return H5Sis_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sis_simple$address() { return H5Sis_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sis_simple(hid_t space_id)
+ * }
+ */
+ public static int H5Sis_simple(long space_id)
+ {
+ var mh$ = H5Sis_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sis_simple", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Smodify_select {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Smodify_select");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Smodify_select$descriptor() { return H5Smodify_select.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Smodify_select$handle() { return H5Smodify_select.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Smodify_select$address() { return H5Smodify_select.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Smodify_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id)
+ * }
+ */
+ public static int H5Smodify_select(long space1_id, int op, long space2_id)
+ {
+ var mh$ = H5Smodify_select.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Smodify_select", space1_id, op, space2_id);
+ }
+ return (int)mh$.invokeExact(space1_id, op, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Soffset_simple {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Soffset_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static FunctionDescriptor H5Soffset_simple$descriptor() { return H5Soffset_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static MethodHandle H5Soffset_simple$handle() { return H5Soffset_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static MemorySegment H5Soffset_simple$address() { return H5Soffset_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset)
+ * }
+ */
+ public static int H5Soffset_simple(long space_id, MemorySegment offset)
+ {
+ var mh$ = H5Soffset_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Soffset_simple", space_id, offset);
+ }
+ return (int)mh$.invokeExact(space_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_close$descriptor() { return H5Ssel_iter_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_close$handle() { return H5Ssel_iter_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_close$address() { return H5Ssel_iter_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_close(hid_t sel_iter_id)
+ * }
+ */
+ public static int H5Ssel_iter_close(long sel_iter_id)
+ {
+ var mh$ = H5Ssel_iter_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_close", sel_iter_id);
+ }
+ return (int)mh$.invokeExact(sel_iter_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_create$descriptor() { return H5Ssel_iter_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_create$handle() { return H5Ssel_iter_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_create$address() { return H5Ssel_iter_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ssel_iter_create(hid_t spaceid, size_t elmt_size, unsigned int flags)
+ * }
+ */
+ public static long H5Ssel_iter_create(long spaceid, long elmt_size, int flags)
+ {
+ var mh$ = H5Ssel_iter_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_create", spaceid, elmt_size, flags);
+ }
+ return (long)mh$.invokeExact(spaceid, elmt_size, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_get_seq_list {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_get_seq_list");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_get_seq_list$descriptor()
+ {
+ return H5Ssel_iter_get_seq_list.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_get_seq_list$handle() { return H5Ssel_iter_get_seq_list.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_get_seq_list$address() { return H5Ssel_iter_get_seq_list.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_get_seq_list(hid_t sel_iter_id, size_t maxseq, size_t maxelmts, size_t *nseq, size_t
+ * *nelmts, hsize_t *off, size_t *len)
+ * }
+ */
+ public static int H5Ssel_iter_get_seq_list(long sel_iter_id, long maxseq, long maxelmts,
+ MemorySegment nseq, MemorySegment nelmts, MemorySegment off,
+ MemorySegment len)
+ {
+ var mh$ = H5Ssel_iter_get_seq_list.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_get_seq_list", sel_iter_id, maxseq, maxelmts, nseq, nelmts, off,
+ len);
+ }
+ return (int)mh$.invokeExact(sel_iter_id, maxseq, maxelmts, nseq, nelmts, off, len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ssel_iter_reset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ssel_iter_reset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ssel_iter_reset$descriptor() { return H5Ssel_iter_reset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Ssel_iter_reset$handle() { return H5Ssel_iter_reset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Ssel_iter_reset$address() { return H5Ssel_iter_reset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ssel_iter_reset(hid_t sel_iter_id, hid_t space_id)
+ * }
+ */
+ public static int H5Ssel_iter_reset(long sel_iter_id, long space_id)
+ {
+ var mh$ = H5Ssel_iter_reset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ssel_iter_reset", sel_iter_id, space_id);
+ }
+ return (int)mh$.invokeExact(sel_iter_id, space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_adjust {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_adjust");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_adjust$descriptor() { return H5Sselect_adjust.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static MethodHandle H5Sselect_adjust$handle() { return H5Sselect_adjust.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static MemorySegment H5Sselect_adjust$address() { return H5Sselect_adjust.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_adjust(hid_t spaceid, const hssize_t *offset)
+ * }
+ */
+ public static int H5Sselect_adjust(long spaceid, MemorySegment offset)
+ {
+ var mh$ = H5Sselect_adjust.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_adjust", spaceid, offset);
+ }
+ return (int)mh$.invokeExact(spaceid, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_all {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_all");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_all$descriptor() { return H5Sselect_all.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sselect_all$handle() { return H5Sselect_all.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sselect_all$address() { return H5Sselect_all.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_all(hid_t spaceid)
+ * }
+ */
+ public static int H5Sselect_all(long spaceid)
+ {
+ var mh$ = H5Sselect_all.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_all", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_copy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_copy$descriptor() { return H5Sselect_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MethodHandle H5Sselect_copy$handle() { return H5Sselect_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static MemorySegment H5Sselect_copy$address() { return H5Sselect_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_copy(hid_t dst_id, hid_t src_id)
+ * }
+ */
+ public static int H5Sselect_copy(long dst_id, long src_id)
+ {
+ var mh$ = H5Sselect_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_copy", dst_id, src_id);
+ }
+ return (int)mh$.invokeExact(dst_id, src_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_elements {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_elements");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_elements$descriptor() { return H5Sselect_elements.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static MethodHandle H5Sselect_elements$handle() { return H5Sselect_elements.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static MemorySegment H5Sselect_elements$address() { return H5Sselect_elements.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elem, const hsize_t *coord)
+ * }
+ */
+ public static int H5Sselect_elements(long space_id, int op, long num_elem, MemorySegment coord)
+ {
+ var mh$ = H5Sselect_elements.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_elements", space_id, op, num_elem, coord);
+ }
+ return (int)mh$.invokeExact(space_id, op, num_elem, coord);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_hyperslab {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_hyperslab");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_hyperslab$descriptor() { return H5Sselect_hyperslab.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Sselect_hyperslab$handle() { return H5Sselect_hyperslab.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Sselect_hyperslab$address() { return H5Sselect_hyperslab.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hsize_t start[], const hsize_t
+ * stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static int H5Sselect_hyperslab(long space_id, int op, MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Sselect_hyperslab.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_hyperslab", space_id, op, start, stride, count, block);
+ }
+ return (int)mh$.invokeExact(space_id, op, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_intersect_block {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_intersect_block");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_intersect_block$descriptor()
+ {
+ return H5Sselect_intersect_block.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static MethodHandle H5Sselect_intersect_block$handle() { return H5Sselect_intersect_block.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static MemorySegment H5Sselect_intersect_block$address() { return H5Sselect_intersect_block.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sselect_intersect_block(hid_t space_id, const hsize_t *start, const hsize_t *end)
+ * }
+ */
+ public static int H5Sselect_intersect_block(long space_id, MemorySegment start, MemorySegment end)
+ {
+ var mh$ = H5Sselect_intersect_block.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_intersect_block", space_id, start, end);
+ }
+ return (int)mh$.invokeExact(space_id, start, end);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_none {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_none");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_none$descriptor() { return H5Sselect_none.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sselect_none$handle() { return H5Sselect_none.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sselect_none$address() { return H5Sselect_none.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sselect_none(hid_t spaceid)
+ * }
+ */
+ public static int H5Sselect_none(long spaceid)
+ {
+ var mh$ = H5Sselect_none.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_none", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_project_intersection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_project_intersection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_project_intersection$descriptor()
+ {
+ return H5Sselect_project_intersection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static MethodHandle H5Sselect_project_intersection$handle()
+ {
+ return H5Sselect_project_intersection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static MemorySegment H5Sselect_project_intersection$address()
+ {
+ return H5Sselect_project_intersection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Sselect_project_intersection(hid_t src_space_id, hid_t dst_space_id, hid_t
+ * src_intersect_space_id)
+ * }
+ */
+ public static long H5Sselect_project_intersection(long src_space_id, long dst_space_id,
+ long src_intersect_space_id)
+ {
+ var mh$ = H5Sselect_project_intersection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_project_intersection", src_space_id, dst_space_id,
+ src_intersect_space_id);
+ }
+ return (long)mh$.invokeExact(src_space_id, dst_space_id, src_intersect_space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_shape_same {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_shape_same");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_shape_same$descriptor() { return H5Sselect_shape_same.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MethodHandle H5Sselect_shape_same$handle() { return H5Sselect_shape_same.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static MemorySegment H5Sselect_shape_same$address() { return H5Sselect_shape_same.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sselect_shape_same(hid_t space1_id, hid_t space2_id)
+ * }
+ */
+ public static int H5Sselect_shape_same(long space1_id, long space2_id)
+ {
+ var mh$ = H5Sselect_shape_same.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_shape_same", space1_id, space2_id);
+ }
+ return (int)mh$.invokeExact(space1_id, space2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sselect_valid {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sselect_valid");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static FunctionDescriptor H5Sselect_valid$descriptor() { return H5Sselect_valid.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static MethodHandle H5Sselect_valid$handle() { return H5Sselect_valid.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static MemorySegment H5Sselect_valid$address() { return H5Sselect_valid.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Sselect_valid(hid_t spaceid)
+ * }
+ */
+ public static int H5Sselect_valid(long spaceid)
+ {
+ var mh$ = H5Sselect_valid.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sselect_valid", spaceid);
+ }
+ return (int)mh$.invokeExact(spaceid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sset_extent_none {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sset_extent_none");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Sset_extent_none$descriptor() { return H5Sset_extent_none.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Sset_extent_none$handle() { return H5Sset_extent_none.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Sset_extent_none$address() { return H5Sset_extent_none.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_none(hid_t space_id)
+ * }
+ */
+ public static int H5Sset_extent_none(long space_id)
+ {
+ var mh$ = H5Sset_extent_none.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sset_extent_none", space_id);
+ }
+ return (int)mh$.invokeExact(space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sset_extent_simple {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sset_extent_simple");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static FunctionDescriptor H5Sset_extent_simple$descriptor() { return H5Sset_extent_simple.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static MethodHandle H5Sset_extent_simple$handle() { return H5Sset_extent_simple.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static MemorySegment H5Sset_extent_simple$address() { return H5Sset_extent_simple.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[])
+ * }
+ */
+ public static int H5Sset_extent_simple(long space_id, int rank, MemorySegment dims, MemorySegment max)
+ {
+ var mh$ = H5Sset_extent_simple.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sset_extent_simple", space_id, rank, dims, max);
+ }
+ return (int)mh$.invokeExact(space_id, rank, dims, max);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Sencode1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Sencode1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static FunctionDescriptor H5Sencode1$descriptor() { return H5Sencode1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MethodHandle H5Sencode1$handle() { return H5Sencode1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MemorySegment H5Sencode1$address() { return H5Sencode1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Sencode1(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static int H5Sencode1(long obj_id, MemorySegment buf, MemorySegment nalloc)
+ {
+ var mh$ = H5Sencode1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Sencode1", obj_id, buf, nalloc);
+ }
+ return (int)mh$.invokeExact(obj_id, buf, nalloc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5Z_filter_t
+ * }
+ */
+ public static final OfInt H5Z_filter_t = hdf5_h.C_INT;
+ private static final int H5Z_SO_FLOAT_DSCALE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_SO_scale_type_t.H5Z_SO_FLOAT_DSCALE = 0
+ * }
+ */
+ public static int H5Z_SO_FLOAT_DSCALE() { return H5Z_SO_FLOAT_DSCALE; }
+ private static final int H5Z_SO_FLOAT_ESCALE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_SO_scale_type_t.H5Z_SO_FLOAT_ESCALE = 1
+ * }
+ */
+ public static int H5Z_SO_FLOAT_ESCALE() { return H5Z_SO_FLOAT_ESCALE; }
+ private static final int H5Z_SO_INT = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_SO_scale_type_t.H5Z_SO_INT = 2
+ * }
+ */
+ public static int H5Z_SO_INT() { return H5Z_SO_INT; }
+ private static final int H5Z_ERROR_EDC = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_ERROR_EDC = -1
+ * }
+ */
+ public static int H5Z_ERROR_EDC() { return H5Z_ERROR_EDC; }
+ private static final int H5Z_DISABLE_EDC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_DISABLE_EDC = 0
+ * }
+ */
+ public static int H5Z_DISABLE_EDC() { return H5Z_DISABLE_EDC; }
+ private static final int H5Z_ENABLE_EDC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_ENABLE_EDC = 1
+ * }
+ */
+ public static int H5Z_ENABLE_EDC() { return H5Z_ENABLE_EDC; }
+ private static final int H5Z_NO_EDC = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_EDC_t.H5Z_NO_EDC = 2
+ * }
+ */
+ public static int H5Z_NO_EDC() { return H5Z_NO_EDC; }
+ private static final int H5Z_CB_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_ERROR = -1
+ * }
+ */
+ public static int H5Z_CB_ERROR() { return H5Z_CB_ERROR; }
+ private static final int H5Z_CB_FAIL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_FAIL = 0
+ * }
+ */
+ public static int H5Z_CB_FAIL() { return H5Z_CB_FAIL; }
+ private static final int H5Z_CB_CONT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_CONT = 1
+ * }
+ */
+ public static int H5Z_CB_CONT() { return H5Z_CB_CONT; }
+ private static final int H5Z_CB_NO = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5Z_cb_return_t.H5Z_CB_NO = 2
+ * }
+ */
+ public static int H5Z_CB_NO() { return H5Z_CB_NO; }
+
+ private static class H5Zfilter_avail {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zfilter_avail");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Zfilter_avail$descriptor() { return H5Zfilter_avail.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static MethodHandle H5Zfilter_avail$handle() { return H5Zfilter_avail.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static MemorySegment H5Zfilter_avail$address() { return H5Zfilter_avail.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Zfilter_avail(H5Z_filter_t id)
+ * }
+ */
+ public static int H5Zfilter_avail(int id)
+ {
+ var mh$ = H5Zfilter_avail.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zfilter_avail", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Zget_filter_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zget_filter_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Zget_filter_info$descriptor() { return H5Zget_filter_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static MethodHandle H5Zget_filter_info$handle() { return H5Zget_filter_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static MemorySegment H5Zget_filter_info$address() { return H5Zget_filter_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Zget_filter_info(H5Z_filter_t filter, unsigned int *filter_config_flags)
+ * }
+ */
+ public static int H5Zget_filter_info(int filter, MemorySegment filter_config_flags)
+ {
+ var mh$ = H5Zget_filter_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zget_filter_info", filter, filter_config_flags);
+ }
+ return (int)mh$.invokeExact(filter, filter_config_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5D_MPIO_NO_CHUNK_OPTIMIZATION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_chunk_opt_mode_t.H5D_MPIO_NO_CHUNK_OPTIMIZATION = 0
+ * }
+ */
+ public static int H5D_MPIO_NO_CHUNK_OPTIMIZATION() { return H5D_MPIO_NO_CHUNK_OPTIMIZATION; }
+ private static final int H5D_MPIO_LINK_CHUNK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_chunk_opt_mode_t.H5D_MPIO_LINK_CHUNK = 1
+ * }
+ */
+ public static int H5D_MPIO_LINK_CHUNK() { return H5D_MPIO_LINK_CHUNK; }
+ private static final int H5D_MPIO_MULTI_CHUNK = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_chunk_opt_mode_t.H5D_MPIO_MULTI_CHUNK = 2
+ * }
+ */
+ public static int H5D_MPIO_MULTI_CHUNK() { return H5D_MPIO_MULTI_CHUNK; }
+ private static final int H5D_MPIO_NO_COLLECTIVE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_NO_COLLECTIVE = 0
+ * }
+ */
+ public static int H5D_MPIO_NO_COLLECTIVE() { return H5D_MPIO_NO_COLLECTIVE; }
+ private static final int H5D_MPIO_CHUNK_INDEPENDENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CHUNK_INDEPENDENT = 1
+ * }
+ */
+ public static int H5D_MPIO_CHUNK_INDEPENDENT() { return H5D_MPIO_CHUNK_INDEPENDENT; }
+ private static final int H5D_MPIO_CHUNK_COLLECTIVE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CHUNK_COLLECTIVE = 2
+ * }
+ */
+ public static int H5D_MPIO_CHUNK_COLLECTIVE() { return H5D_MPIO_CHUNK_COLLECTIVE; }
+ private static final int H5D_MPIO_CHUNK_MIXED = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CHUNK_MIXED = 3
+ * }
+ */
+ public static int H5D_MPIO_CHUNK_MIXED() { return H5D_MPIO_CHUNK_MIXED; }
+ private static final int H5D_MPIO_CONTIGUOUS_COLLECTIVE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_actual_io_mode_t.H5D_MPIO_CONTIGUOUS_COLLECTIVE = 4
+ * }
+ */
+ public static int H5D_MPIO_CONTIGUOUS_COLLECTIVE() { return H5D_MPIO_CONTIGUOUS_COLLECTIVE; }
+ private static final int H5D_MPIO_COLLECTIVE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_COLLECTIVE = 0
+ * }
+ */
+ public static int H5D_MPIO_COLLECTIVE() { return H5D_MPIO_COLLECTIVE; }
+ private static final int H5D_MPIO_SET_INDEPENDENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_SET_INDEPENDENT = 1
+ * }
+ */
+ public static int H5D_MPIO_SET_INDEPENDENT() { return H5D_MPIO_SET_INDEPENDENT; }
+ private static final int H5D_MPIO_DATATYPE_CONVERSION = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_DATATYPE_CONVERSION = 2
+ * }
+ */
+ public static int H5D_MPIO_DATATYPE_CONVERSION() { return H5D_MPIO_DATATYPE_CONVERSION; }
+ private static final int H5D_MPIO_DATA_TRANSFORMS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_DATA_TRANSFORMS = 4
+ * }
+ */
+ public static int H5D_MPIO_DATA_TRANSFORMS() { return H5D_MPIO_DATA_TRANSFORMS; }
+ private static final int H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED = 8
+ * }
+ */
+ public static int H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED()
+ {
+ return H5D_MPIO_MPI_OPT_TYPES_ENV_VAR_DISABLED;
+ }
+ private static final int H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES = 16
+ * }
+ */
+ public static int H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES()
+ {
+ return H5D_MPIO_NOT_SIMPLE_OR_SCALAR_DATASPACES;
+ }
+ private static final int H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET = 32
+ * }
+ */
+ public static int H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET()
+ {
+ return H5D_MPIO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET;
+ }
+ private static final int H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED = 64
+ * }
+ */
+ public static int H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED()
+ {
+ return H5D_MPIO_PARALLEL_FILTERED_WRITES_DISABLED;
+ }
+ private static final int H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE = 128
+ * }
+ */
+ public static int H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE()
+ {
+ return H5D_MPIO_ERROR_WHILE_CHECKING_COLLECTIVE_POSSIBLE;
+ }
+ private static final int H5D_MPIO_NO_SELECTION_IO = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NO_SELECTION_IO = 256
+ * }
+ */
+ public static int H5D_MPIO_NO_SELECTION_IO() { return H5D_MPIO_NO_SELECTION_IO; }
+ private static final int H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_mpio_no_collective_cause_t.H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE = 512
+ * }
+ */
+ public static int H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE() { return H5D_MPIO_NO_COLLECTIVE_MAX_CAUSE; }
+ private static final int H5D_SELECTION_IO_MODE_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_selection_io_mode_t.H5D_SELECTION_IO_MODE_DEFAULT = 0
+ * }
+ */
+ public static int H5D_SELECTION_IO_MODE_DEFAULT() { return H5D_SELECTION_IO_MODE_DEFAULT; }
+ private static final int H5D_SELECTION_IO_MODE_OFF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_selection_io_mode_t.H5D_SELECTION_IO_MODE_OFF = 1
+ * }
+ */
+ public static int H5D_SELECTION_IO_MODE_OFF() { return H5D_SELECTION_IO_MODE_OFF; }
+ private static final int H5D_SELECTION_IO_MODE_ON = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_selection_io_mode_t.H5D_SELECTION_IO_MODE_ON = 2
+ * }
+ */
+ public static int H5D_SELECTION_IO_MODE_ON() { return H5D_SELECTION_IO_MODE_ON; }
+
+ private static class H5P_CLS_ROOT_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_ROOT_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_ROOT_ID_g$layout() { return H5P_CLS_ROOT_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_ROOT_ID_g$segment() { return H5P_CLS_ROOT_ID_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static long H5P_CLS_ROOT_ID_g()
+ {
+ return H5P_CLS_ROOT_ID_g$constants.SEGMENT.get(H5P_CLS_ROOT_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ROOT_ID_g
+ * }
+ */
+ public static void H5P_CLS_ROOT_ID_g(long varValue)
+ {
+ H5P_CLS_ROOT_ID_g$constants.SEGMENT.set(H5P_CLS_ROOT_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_OBJECT_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_OBJECT_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_OBJECT_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_OBJECT_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_OBJECT_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_OBJECT_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_OBJECT_CREATE_ID_g()
+ {
+ return H5P_CLS_OBJECT_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_OBJECT_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_OBJECT_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_OBJECT_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_OBJECT_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_FILE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_FILE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_FILE_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_FILE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_FILE_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_FILE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_FILE_CREATE_ID_g()
+ {
+ return H5P_CLS_FILE_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_FILE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_FILE_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_FILE_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_FILE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_FILE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_FILE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_FILE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_FILE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_FILE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_FILE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_FILE_ACCESS_ID_g()
+ {
+ return H5P_CLS_FILE_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_FILE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_FILE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_FILE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_FILE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATASET_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATASET_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATASET_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_DATASET_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATASET_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_DATASET_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATASET_CREATE_ID_g()
+ {
+ return H5P_CLS_DATASET_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_DATASET_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATASET_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_DATASET_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_DATASET_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATASET_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATASET_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATASET_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_DATASET_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATASET_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_DATASET_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATASET_ACCESS_ID_g()
+ {
+ return H5P_CLS_DATASET_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_DATASET_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATASET_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_DATASET_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_DATASET_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATASET_XFER_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATASET_XFER_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATASET_XFER_ID_g$layout()
+ {
+ return H5P_CLS_DATASET_XFER_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATASET_XFER_ID_g$segment()
+ {
+ return H5P_CLS_DATASET_XFER_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATASET_XFER_ID_g()
+ {
+ return H5P_CLS_DATASET_XFER_ID_g$constants.SEGMENT.get(H5P_CLS_DATASET_XFER_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATASET_XFER_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATASET_XFER_ID_g(long varValue)
+ {
+ H5P_CLS_DATASET_XFER_ID_g$constants.SEGMENT.set(H5P_CLS_DATASET_XFER_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_FILE_MOUNT_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_FILE_MOUNT_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_FILE_MOUNT_ID_g$layout() { return H5P_CLS_FILE_MOUNT_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_FILE_MOUNT_ID_g$segment()
+ {
+ return H5P_CLS_FILE_MOUNT_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static long H5P_CLS_FILE_MOUNT_ID_g()
+ {
+ return H5P_CLS_FILE_MOUNT_ID_g$constants.SEGMENT.get(H5P_CLS_FILE_MOUNT_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_FILE_MOUNT_ID_g
+ * }
+ */
+ public static void H5P_CLS_FILE_MOUNT_ID_g(long varValue)
+ {
+ H5P_CLS_FILE_MOUNT_ID_g$constants.SEGMENT.set(H5P_CLS_FILE_MOUNT_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_GROUP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_GROUP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_GROUP_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_GROUP_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_GROUP_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_GROUP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_GROUP_CREATE_ID_g()
+ {
+ return H5P_CLS_GROUP_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_GROUP_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_GROUP_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_GROUP_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_GROUP_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_GROUP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_GROUP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_GROUP_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_GROUP_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_GROUP_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_GROUP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_GROUP_ACCESS_ID_g()
+ {
+ return H5P_CLS_GROUP_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_GROUP_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_GROUP_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_GROUP_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_GROUP_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATATYPE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATATYPE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATATYPE_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_DATATYPE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATATYPE_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_DATATYPE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATATYPE_CREATE_ID_g()
+ {
+ return H5P_CLS_DATATYPE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_CLS_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATATYPE_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_DATATYPE_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_DATATYPE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_DATATYPE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_DATATYPE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_DATATYPE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_DATATYPE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_DATATYPE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_DATATYPE_ACCESS_ID_g()
+ {
+ return H5P_CLS_DATATYPE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_CLS_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_DATATYPE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_DATATYPE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_MAP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_MAP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_MAP_CREATE_ID_g$layout() { return H5P_CLS_MAP_CREATE_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_MAP_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_MAP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_MAP_CREATE_ID_g()
+ {
+ return H5P_CLS_MAP_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_MAP_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_MAP_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_MAP_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_MAP_CREATE_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_MAP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_MAP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_MAP_ACCESS_ID_g$layout() { return H5P_CLS_MAP_ACCESS_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_MAP_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_MAP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_MAP_ACCESS_ID_g()
+ {
+ return H5P_CLS_MAP_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_MAP_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_MAP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_MAP_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_MAP_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_MAP_ACCESS_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_CLS_STRING_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_STRING_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_STRING_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_STRING_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_STRING_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_STRING_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_STRING_CREATE_ID_g()
+ {
+ return H5P_CLS_STRING_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_STRING_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_STRING_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_STRING_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_STRING_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_STRING_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_ATTRIBUTE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_ATTRIBUTE_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_ATTRIBUTE_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_ATTRIBUTE_CREATE_ID_g()
+ {
+ return H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_ATTRIBUTE_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_ATTRIBUTE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_ATTRIBUTE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_ATTRIBUTE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_ATTRIBUTE_ACCESS_ID_g()
+ {
+ return H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_ATTRIBUTE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_CLS_OBJECT_COPY_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_OBJECT_COPY_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_OBJECT_COPY_ID_g$layout()
+ {
+ return H5P_CLS_OBJECT_COPY_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_OBJECT_COPY_ID_g$segment()
+ {
+ return H5P_CLS_OBJECT_COPY_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static long H5P_CLS_OBJECT_COPY_ID_g()
+ {
+ return H5P_CLS_OBJECT_COPY_ID_g$constants.SEGMENT.get(H5P_CLS_OBJECT_COPY_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_OBJECT_COPY_ID_g
+ * }
+ */
+ public static void H5P_CLS_OBJECT_COPY_ID_g(long varValue)
+ {
+ H5P_CLS_OBJECT_COPY_ID_g$constants.SEGMENT.set(H5P_CLS_OBJECT_COPY_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_LINK_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_LINK_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_LINK_CREATE_ID_g$layout()
+ {
+ return H5P_CLS_LINK_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_LINK_CREATE_ID_g$segment()
+ {
+ return H5P_CLS_LINK_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static long H5P_CLS_LINK_CREATE_ID_g()
+ {
+ return H5P_CLS_LINK_CREATE_ID_g$constants.SEGMENT.get(H5P_CLS_LINK_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_CREATE_ID_g
+ * }
+ */
+ public static void H5P_CLS_LINK_CREATE_ID_g(long varValue)
+ {
+ H5P_CLS_LINK_CREATE_ID_g$constants.SEGMENT.set(H5P_CLS_LINK_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_LINK_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_LINK_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_LINK_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_LINK_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_LINK_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_LINK_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_LINK_ACCESS_ID_g()
+ {
+ return H5P_CLS_LINK_ACCESS_ID_g$constants.SEGMENT.get(H5P_CLS_LINK_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_LINK_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_LINK_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_LINK_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_LINK_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_VOL_INITIALIZE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_VOL_INITIALIZE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_VOL_INITIALIZE_ID_g$layout()
+ {
+ return H5P_CLS_VOL_INITIALIZE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_VOL_INITIALIZE_ID_g$segment()
+ {
+ return H5P_CLS_VOL_INITIALIZE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static long H5P_CLS_VOL_INITIALIZE_ID_g()
+ {
+ return H5P_CLS_VOL_INITIALIZE_ID_g$constants.SEGMENT.get(H5P_CLS_VOL_INITIALIZE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static void H5P_CLS_VOL_INITIALIZE_ID_g(long varValue)
+ {
+ H5P_CLS_VOL_INITIALIZE_ID_g$constants.SEGMENT.set(H5P_CLS_VOL_INITIALIZE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_CLS_REFERENCE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_CLS_REFERENCE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_CLS_REFERENCE_ACCESS_ID_g$layout()
+ {
+ return H5P_CLS_REFERENCE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_CLS_REFERENCE_ACCESS_ID_g$segment()
+ {
+ return H5P_CLS_REFERENCE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_CLS_REFERENCE_ACCESS_ID_g()
+ {
+ return H5P_CLS_REFERENCE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_CLS_REFERENCE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_CLS_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_CLS_REFERENCE_ACCESS_ID_g(long varValue)
+ {
+ H5P_CLS_REFERENCE_ACCESS_ID_g$constants.SEGMENT.set(H5P_CLS_REFERENCE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_LST_FILE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_FILE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_FILE_CREATE_ID_g$layout()
+ {
+ return H5P_LST_FILE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_FILE_CREATE_ID_g$segment()
+ {
+ return H5P_LST_FILE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_FILE_CREATE_ID_g()
+ {
+ return H5P_LST_FILE_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_FILE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_FILE_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_FILE_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_FILE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_FILE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_FILE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_FILE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_FILE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_FILE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_FILE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_FILE_ACCESS_ID_g()
+ {
+ return H5P_LST_FILE_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_FILE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_FILE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_FILE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_FILE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATASET_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATASET_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATASET_CREATE_ID_g$layout()
+ {
+ return H5P_LST_DATASET_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATASET_CREATE_ID_g$segment()
+ {
+ return H5P_LST_DATASET_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_DATASET_CREATE_ID_g()
+ {
+ return H5P_LST_DATASET_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_DATASET_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_DATASET_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_DATASET_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_DATASET_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATASET_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATASET_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATASET_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_DATASET_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATASET_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_DATASET_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_DATASET_ACCESS_ID_g()
+ {
+ return H5P_LST_DATASET_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_DATASET_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_DATASET_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_DATASET_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_DATASET_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATASET_XFER_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATASET_XFER_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATASET_XFER_ID_g$layout()
+ {
+ return H5P_LST_DATASET_XFER_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATASET_XFER_ID_g$segment()
+ {
+ return H5P_LST_DATASET_XFER_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static long H5P_LST_DATASET_XFER_ID_g()
+ {
+ return H5P_LST_DATASET_XFER_ID_g$constants.SEGMENT.get(H5P_LST_DATASET_XFER_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATASET_XFER_ID_g
+ * }
+ */
+ public static void H5P_LST_DATASET_XFER_ID_g(long varValue)
+ {
+ H5P_LST_DATASET_XFER_ID_g$constants.SEGMENT.set(H5P_LST_DATASET_XFER_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_FILE_MOUNT_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_FILE_MOUNT_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_FILE_MOUNT_ID_g$layout() { return H5P_LST_FILE_MOUNT_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_FILE_MOUNT_ID_g$segment()
+ {
+ return H5P_LST_FILE_MOUNT_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static long H5P_LST_FILE_MOUNT_ID_g()
+ {
+ return H5P_LST_FILE_MOUNT_ID_g$constants.SEGMENT.get(H5P_LST_FILE_MOUNT_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_FILE_MOUNT_ID_g
+ * }
+ */
+ public static void H5P_LST_FILE_MOUNT_ID_g(long varValue)
+ {
+ H5P_LST_FILE_MOUNT_ID_g$constants.SEGMENT.set(H5P_LST_FILE_MOUNT_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_LST_GROUP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_GROUP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_GROUP_CREATE_ID_g$layout()
+ {
+ return H5P_LST_GROUP_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_GROUP_CREATE_ID_g$segment()
+ {
+ return H5P_LST_GROUP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_GROUP_CREATE_ID_g()
+ {
+ return H5P_LST_GROUP_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_GROUP_CREATE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_GROUP_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_GROUP_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_GROUP_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_GROUP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_GROUP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_GROUP_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_GROUP_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_GROUP_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_GROUP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_GROUP_ACCESS_ID_g()
+ {
+ return H5P_LST_GROUP_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_GROUP_ACCESS_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_GROUP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_GROUP_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_GROUP_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_GROUP_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATATYPE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATATYPE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATATYPE_CREATE_ID_g$layout()
+ {
+ return H5P_LST_DATATYPE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATATYPE_CREATE_ID_g$segment()
+ {
+ return H5P_LST_DATATYPE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_DATATYPE_CREATE_ID_g()
+ {
+ return H5P_LST_DATATYPE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_LST_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_DATATYPE_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_DATATYPE_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_DATATYPE_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_DATATYPE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_DATATYPE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_DATATYPE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_DATATYPE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_DATATYPE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_DATATYPE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_DATATYPE_ACCESS_ID_g()
+ {
+ return H5P_LST_DATATYPE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_LST_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_DATATYPE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_DATATYPE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_DATATYPE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_DATATYPE_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_MAP_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_MAP_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_MAP_CREATE_ID_g$layout() { return H5P_LST_MAP_CREATE_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_MAP_CREATE_ID_g$segment()
+ {
+ return H5P_LST_MAP_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_MAP_CREATE_ID_g()
+ {
+ return H5P_LST_MAP_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_MAP_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_MAP_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_MAP_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_MAP_CREATE_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_LST_MAP_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_MAP_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_MAP_ACCESS_ID_g$layout() { return H5P_LST_MAP_ACCESS_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_MAP_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_MAP_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_MAP_ACCESS_ID_g()
+ {
+ return H5P_LST_MAP_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_MAP_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_MAP_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_MAP_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_MAP_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_MAP_ACCESS_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5P_LST_ATTRIBUTE_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_ATTRIBUTE_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_ATTRIBUTE_CREATE_ID_g$layout()
+ {
+ return H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_ATTRIBUTE_CREATE_ID_g$segment()
+ {
+ return H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_ATTRIBUTE_CREATE_ID_g()
+ {
+ return H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.get(
+ H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_ATTRIBUTE_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_ATTRIBUTE_CREATE_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_ATTRIBUTE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_ATTRIBUTE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_ATTRIBUTE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_ATTRIBUTE_ACCESS_ID_g()
+ {
+ return H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_ATTRIBUTE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_ATTRIBUTE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_ATTRIBUTE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5P_LST_OBJECT_COPY_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_OBJECT_COPY_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_OBJECT_COPY_ID_g$layout()
+ {
+ return H5P_LST_OBJECT_COPY_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_OBJECT_COPY_ID_g$segment()
+ {
+ return H5P_LST_OBJECT_COPY_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static long H5P_LST_OBJECT_COPY_ID_g()
+ {
+ return H5P_LST_OBJECT_COPY_ID_g$constants.SEGMENT.get(H5P_LST_OBJECT_COPY_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_OBJECT_COPY_ID_g
+ * }
+ */
+ public static void H5P_LST_OBJECT_COPY_ID_g(long varValue)
+ {
+ H5P_LST_OBJECT_COPY_ID_g$constants.SEGMENT.set(H5P_LST_OBJECT_COPY_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_LINK_CREATE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_LINK_CREATE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_LINK_CREATE_ID_g$layout()
+ {
+ return H5P_LST_LINK_CREATE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_LINK_CREATE_ID_g$segment()
+ {
+ return H5P_LST_LINK_CREATE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static long H5P_LST_LINK_CREATE_ID_g()
+ {
+ return H5P_LST_LINK_CREATE_ID_g$constants.SEGMENT.get(H5P_LST_LINK_CREATE_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_CREATE_ID_g
+ * }
+ */
+ public static void H5P_LST_LINK_CREATE_ID_g(long varValue)
+ {
+ H5P_LST_LINK_CREATE_ID_g$constants.SEGMENT.set(H5P_LST_LINK_CREATE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_LINK_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_LINK_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_LINK_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_LINK_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_LINK_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_LINK_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_LINK_ACCESS_ID_g()
+ {
+ return H5P_LST_LINK_ACCESS_ID_g$constants.SEGMENT.get(H5P_LST_LINK_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_LINK_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_LINK_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_LINK_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_LINK_ACCESS_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_VOL_INITIALIZE_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_VOL_INITIALIZE_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_VOL_INITIALIZE_ID_g$layout()
+ {
+ return H5P_LST_VOL_INITIALIZE_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_VOL_INITIALIZE_ID_g$segment()
+ {
+ return H5P_LST_VOL_INITIALIZE_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static long H5P_LST_VOL_INITIALIZE_ID_g()
+ {
+ return H5P_LST_VOL_INITIALIZE_ID_g$constants.SEGMENT.get(H5P_LST_VOL_INITIALIZE_ID_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_VOL_INITIALIZE_ID_g
+ * }
+ */
+ public static void H5P_LST_VOL_INITIALIZE_ID_g(long varValue)
+ {
+ H5P_LST_VOL_INITIALIZE_ID_g$constants.SEGMENT.set(H5P_LST_VOL_INITIALIZE_ID_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5P_LST_REFERENCE_ACCESS_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5P_LST_REFERENCE_ACCESS_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static OfLong H5P_LST_REFERENCE_ACCESS_ID_g$layout()
+ {
+ return H5P_LST_REFERENCE_ACCESS_ID_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static MemorySegment H5P_LST_REFERENCE_ACCESS_ID_g$segment()
+ {
+ return H5P_LST_REFERENCE_ACCESS_ID_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static long H5P_LST_REFERENCE_ACCESS_ID_g()
+ {
+ return H5P_LST_REFERENCE_ACCESS_ID_g$constants.SEGMENT.get(
+ H5P_LST_REFERENCE_ACCESS_ID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5P_LST_REFERENCE_ACCESS_ID_g
+ * }
+ */
+ public static void H5P_LST_REFERENCE_ACCESS_ID_g(long varValue)
+ {
+ H5P_LST_REFERENCE_ACCESS_ID_g$constants.SEGMENT.set(H5P_LST_REFERENCE_ACCESS_ID_g$constants.LAYOUT,
+ 0L, varValue);
+ }
+
+ private static class H5Pclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pclose$descriptor() { return H5Pclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pclose$handle() { return H5Pclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pclose$address() { return H5Pclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pclose(hid_t plist_id)
+ * }
+ */
+ public static int H5Pclose(long plist_id)
+ {
+ var mh$ = H5Pclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pclose", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pclose_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pclose_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pclose_class$descriptor() { return H5Pclose_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pclose_class$handle() { return H5Pclose_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pclose_class$address() { return H5Pclose_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pclose_class(hid_t plist_id)
+ * }
+ */
+ public static int H5Pclose_class(long plist_id)
+ {
+ var mh$ = H5Pclose_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pclose_class", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pcopy$descriptor() { return H5Pcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pcopy$handle() { return H5Pcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pcopy$address() { return H5Pcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pcopy(hid_t plist_id)
+ * }
+ */
+ public static long H5Pcopy(long plist_id)
+ {
+ var mh$ = H5Pcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcopy", plist_id);
+ }
+ return (long)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcopy_prop {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcopy_prop");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Pcopy_prop$descriptor() { return H5Pcopy_prop.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Pcopy_prop$handle() { return H5Pcopy_prop.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Pcopy_prop$address() { return H5Pcopy_prop.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pcopy_prop(hid_t dst_id, hid_t src_id, const char *name)
+ * }
+ */
+ public static int H5Pcopy_prop(long dst_id, long src_id, MemorySegment name)
+ {
+ var mh$ = H5Pcopy_prop.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcopy_prop", dst_id, src_id, name);
+ }
+ return (int)mh$.invokeExact(dst_id, src_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcreate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pcreate$descriptor() { return H5Pcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static MethodHandle H5Pcreate$handle() { return H5Pcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static MemorySegment H5Pcreate$address() { return H5Pcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pcreate(hid_t cls_id)
+ * }
+ */
+ public static long H5Pcreate(long cls_id)
+ {
+ var mh$ = H5Pcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcreate", cls_id);
+ }
+ return (long)mh$.invokeExact(cls_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pcreate_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pcreate_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pcreate_class$descriptor() { return H5Pcreate_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static MethodHandle H5Pcreate_class$handle() { return H5Pcreate_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static MemorySegment H5Pcreate_class$address() { return H5Pcreate_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pcreate_class(hid_t parent, const char *name, H5P_cls_create_func_t create, void *create_data,
+ * H5P_cls_copy_func_t copy, void *copy_data, H5P_cls_close_func_t close, void *close_data)
+ * }
+ */
+ public static long H5Pcreate_class(long parent, MemorySegment name, MemorySegment create,
+ MemorySegment create_data, MemorySegment copy, MemorySegment copy_data,
+ MemorySegment close, MemorySegment close_data)
+ {
+ var mh$ = H5Pcreate_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pcreate_class", parent, name, create, create_data, copy, copy_data, close,
+ close_data);
+ }
+ return (long)mh$.invokeExact(parent, name, create, create_data, copy, copy_data, close,
+ close_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pdecode {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pdecode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Pdecode$descriptor() { return H5Pdecode.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static MethodHandle H5Pdecode$handle() { return H5Pdecode.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static MemorySegment H5Pdecode$address() { return H5Pdecode.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pdecode(const void *buf)
+ * }
+ */
+ public static long H5Pdecode(MemorySegment buf)
+ {
+ var mh$ = H5Pdecode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pdecode", buf);
+ }
+ return (long)mh$.invokeExact(buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pencode2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pencode2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pencode2$descriptor() { return H5Pencode2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pencode2$handle() { return H5Pencode2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pencode2$address() { return H5Pencode2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pencode2(hid_t plist_id, void *buf, size_t *nalloc, hid_t fapl_id)
+ * }
+ */
+ public static int H5Pencode2(long plist_id, MemorySegment buf, MemorySegment nalloc, long fapl_id)
+ {
+ var mh$ = H5Pencode2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pencode2", plist_id, buf, nalloc, fapl_id);
+ }
+ return (int)mh$.invokeExact(plist_id, buf, nalloc, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pequal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pequal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static FunctionDescriptor H5Pequal$descriptor() { return H5Pequal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static MethodHandle H5Pequal$handle() { return H5Pequal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static MemorySegment H5Pequal$address() { return H5Pequal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pequal(hid_t id1, hid_t id2)
+ * }
+ */
+ public static int H5Pequal(long id1, long id2)
+ {
+ var mh$ = H5Pequal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pequal", id1, id2);
+ }
+ return (int)mh$.invokeExact(id1, id2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pexist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pexist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Pexist$descriptor() { return H5Pexist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Pexist$handle() { return H5Pexist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Pexist$address() { return H5Pexist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pexist(hid_t plist_id, const char *name)
+ * }
+ */
+ public static int H5Pexist(long plist_id, MemorySegment name)
+ {
+ var mh$ = H5Pexist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pexist", plist_id, name);
+ }
+ return (int)mh$.invokeExact(plist_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pget$descriptor() { return H5Pget.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static MethodHandle H5Pget$handle() { return H5Pget.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static MemorySegment H5Pget$address() { return H5Pget.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget(hid_t plist_id, const char *name, void *value)
+ * }
+ */
+ public static int H5Pget(long plist_id, MemorySegment name, MemorySegment value)
+ {
+ var mh$ = H5Pget.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget", plist_id, name, value);
+ }
+ return (int)mh$.invokeExact(plist_id, name, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_class$descriptor() { return H5Pget_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_class$handle() { return H5Pget_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class$address() { return H5Pget_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_class(hid_t plist_id)
+ * }
+ */
+ public static long H5Pget_class(long plist_id)
+ {
+ var mh$ = H5Pget_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_class", plist_id);
+ }
+ return (long)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_class_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_class_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_class_name$descriptor() { return H5Pget_class_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static MethodHandle H5Pget_class_name$handle() { return H5Pget_class_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class_name$address() { return H5Pget_class_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Pget_class_name(hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class_name(long pclass_id)
+ {
+ var mh$ = H5Pget_class_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_class_name", pclass_id);
+ }
+ return (MemorySegment)mh$.invokeExact(pclass_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_class_parent {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_class_parent");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_class_parent$descriptor() { return H5Pget_class_parent.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static MethodHandle H5Pget_class_parent$handle() { return H5Pget_class_parent.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pget_class_parent$address() { return H5Pget_class_parent.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_class_parent(hid_t pclass_id)
+ * }
+ */
+ public static long H5Pget_class_parent(long pclass_id)
+ {
+ var mh$ = H5Pget_class_parent.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_class_parent", pclass_id);
+ }
+ return (long)mh$.invokeExact(pclass_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_nprops {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_nprops");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_nprops$descriptor() { return H5Pget_nprops.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static MethodHandle H5Pget_nprops$handle() { return H5Pget_nprops.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static MemorySegment H5Pget_nprops$address() { return H5Pget_nprops.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_nprops(hid_t id, size_t *nprops)
+ * }
+ */
+ public static int H5Pget_nprops(long id, MemorySegment nprops)
+ {
+ var mh$ = H5Pget_nprops.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_nprops", id, nprops);
+ }
+ return (int)mh$.invokeExact(id, nprops);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_size$descriptor() { return H5Pget_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_size$handle() { return H5Pget_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_size$address() { return H5Pget_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_size(hid_t id, const char *name, size_t *size)
+ * }
+ */
+ public static int H5Pget_size(long id, MemorySegment name, MemorySegment size)
+ {
+ var mh$ = H5Pget_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_size", id, name, size);
+ }
+ return (int)mh$.invokeExact(id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pinsert2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pinsert2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static FunctionDescriptor H5Pinsert2$descriptor() { return H5Pinsert2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MethodHandle H5Pinsert2$handle() { return H5Pinsert2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MemorySegment H5Pinsert2$address() { return H5Pinsert2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pinsert2(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t set,
+ * H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del, H5P_prp_copy_func_t copy, H5P_prp_compare_func_t
+ * compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static int H5Pinsert2(long plist_id, MemorySegment name, long size, MemorySegment value,
+ MemorySegment set, MemorySegment get, MemorySegment prp_del,
+ MemorySegment copy, MemorySegment compare, MemorySegment close)
+ {
+ var mh$ = H5Pinsert2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pinsert2", plist_id, name, size, value, set, get, prp_del, copy, compare,
+ close);
+ }
+ return (int)mh$.invokeExact(plist_id, name, size, value, set, get, prp_del, copy, compare, close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pisa_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pisa_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pisa_class$descriptor() { return H5Pisa_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static MethodHandle H5Pisa_class$handle() { return H5Pisa_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static MemorySegment H5Pisa_class$address() { return H5Pisa_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pisa_class(hid_t plist_id, hid_t pclass_id)
+ * }
+ */
+ public static int H5Pisa_class(long plist_id, long pclass_id)
+ {
+ var mh$ = H5Pisa_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pisa_class", plist_id, pclass_id);
+ }
+ return (int)mh$.invokeExact(plist_id, pclass_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Piterate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Piterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static FunctionDescriptor H5Piterate$descriptor() { return H5Piterate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static MethodHandle H5Piterate$handle() { return H5Piterate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static MemorySegment H5Piterate$address() { return H5Piterate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Piterate(hid_t id, int *idx, H5P_iterate_t iter_func, void *iter_data)
+ * }
+ */
+ public static int H5Piterate(long id, MemorySegment idx, MemorySegment iter_func, MemorySegment iter_data)
+ {
+ var mh$ = H5Piterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Piterate", id, idx, iter_func, iter_data);
+ }
+ return (int)mh$.invokeExact(id, idx, iter_func, iter_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pregister2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pregister2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static FunctionDescriptor H5Pregister2$descriptor() { return H5Pregister2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MethodHandle H5Pregister2$handle() { return H5Pregister2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static MemorySegment H5Pregister2$address() { return H5Pregister2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pregister2(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * create, H5P_prp_set_func_t set, H5P_prp_get_func_t get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t copy, H5P_prp_compare_func_t compare, H5P_prp_close_func_t close)
+ * }
+ */
+ public static int H5Pregister2(long cls_id, MemorySegment name, long size, MemorySegment def_value,
+ MemorySegment create, MemorySegment set, MemorySegment get,
+ MemorySegment prp_del, MemorySegment copy, MemorySegment compare,
+ MemorySegment close)
+ {
+ var mh$ = H5Pregister2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pregister2", cls_id, name, size, def_value, create, set, get, prp_del, copy,
+ compare, close);
+ }
+ return (int)mh$.invokeExact(cls_id, name, size, def_value, create, set, get, prp_del, copy,
+ compare, close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Premove {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Premove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Premove$descriptor() { return H5Premove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Premove$handle() { return H5Premove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Premove$address() { return H5Premove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Premove(hid_t plist_id, const char *name)
+ * }
+ */
+ public static int H5Premove(long plist_id, MemorySegment name)
+ {
+ var mh$ = H5Premove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Premove", plist_id, name);
+ }
+ return (int)mh$.invokeExact(plist_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pset$descriptor() { return H5Pset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static MethodHandle H5Pset$handle() { return H5Pset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static MemorySegment H5Pset$address() { return H5Pset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset(hid_t plist_id, const char *name, const void *value)
+ * }
+ */
+ public static int H5Pset(long plist_id, MemorySegment name, MemorySegment value)
+ {
+ var mh$ = H5Pset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset", plist_id, name, value);
+ }
+ return (int)mh$.invokeExact(plist_id, name, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Punregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Punregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Punregister$descriptor() { return H5Punregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Punregister$handle() { return H5Punregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Punregister$address() { return H5Punregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Punregister(hid_t pclass_id, const char *name)
+ * }
+ */
+ public static int H5Punregister(long pclass_id, MemorySegment name)
+ {
+ var mh$ = H5Punregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Punregister", pclass_id, name);
+ }
+ return (int)mh$.invokeExact(pclass_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pall_filters_avail {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pall_filters_avail");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pall_filters_avail$descriptor() { return H5Pall_filters_avail.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pall_filters_avail$handle() { return H5Pall_filters_avail.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pall_filters_avail$address() { return H5Pall_filters_avail.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Pall_filters_avail(hid_t plist_id)
+ * }
+ */
+ public static int H5Pall_filters_avail(long plist_id)
+ {
+ var mh$ = H5Pall_filters_avail.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pall_filters_avail", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_attr_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_attr_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_attr_creation_order$descriptor()
+ {
+ return H5Pget_attr_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pget_attr_creation_order$handle()
+ {
+ return H5Pget_attr_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pget_attr_creation_order$address()
+ {
+ return H5Pget_attr_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static int H5Pget_attr_creation_order(long plist_id, MemorySegment crt_order_flags)
+ {
+ var mh$ = H5Pget_attr_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_attr_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_attr_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_attr_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_attr_phase_change$descriptor()
+ {
+ return H5Pget_attr_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MethodHandle H5Pget_attr_phase_change$handle() { return H5Pget_attr_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MemorySegment H5Pget_attr_phase_change$address() { return H5Pget_attr_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_attr_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static int H5Pget_attr_phase_change(long plist_id, MemorySegment max_compact,
+ MemorySegment min_dense)
+ {
+ var mh$ = H5Pget_attr_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_attr_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter2$descriptor() { return H5Pget_filter2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MethodHandle H5Pget_filter2$handle() { return H5Pget_filter2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MemorySegment H5Pget_filter2$address() { return H5Pget_filter2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter2(hid_t plist_id, unsigned int idx, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static int H5Pget_filter2(long plist_id, int idx, MemorySegment flags, MemorySegment cd_nelmts,
+ MemorySegment cd_values, long namelen, MemorySegment name,
+ MemorySegment filter_config)
+ {
+ var mh$ = H5Pget_filter2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter2", plist_id, idx, flags, cd_nelmts, cd_values, namelen, name,
+ filter_config);
+ }
+ return (int)mh$.invokeExact(plist_id, idx, flags, cd_nelmts, cd_values, namelen, name,
+ filter_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter_by_id2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter_by_id2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter_by_id2$descriptor() { return H5Pget_filter_by_id2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MethodHandle H5Pget_filter_by_id2$handle() { return H5Pget_filter_by_id2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static MemorySegment H5Pget_filter_by_id2$address() { return H5Pget_filter_by_id2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id2(hid_t plist_id, H5Z_filter_t filter_id, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[], unsigned int *filter_config)
+ * }
+ */
+ public static int H5Pget_filter_by_id2(long plist_id, int filter_id, MemorySegment flags,
+ MemorySegment cd_nelmts, MemorySegment cd_values, long namelen,
+ MemorySegment name, MemorySegment filter_config)
+ {
+ var mh$ = H5Pget_filter_by_id2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter_by_id2", plist_id, filter_id, flags, cd_nelmts, cd_values,
+ namelen, name, filter_config);
+ }
+ return (int)mh$.invokeExact(plist_id, filter_id, flags, cd_nelmts, cd_values, namelen, name,
+ filter_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_nfilters {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_nfilters");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_nfilters$descriptor() { return H5Pget_nfilters.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_nfilters$handle() { return H5Pget_nfilters.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_nfilters$address() { return H5Pget_nfilters.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_nfilters(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_nfilters(long plist_id)
+ {
+ var mh$ = H5Pget_nfilters.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_nfilters", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_obj_track_times {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_obj_track_times");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_obj_track_times$descriptor()
+ {
+ return H5Pget_obj_track_times.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static MethodHandle H5Pget_obj_track_times$handle() { return H5Pget_obj_track_times.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static MemorySegment H5Pget_obj_track_times$address() { return H5Pget_obj_track_times.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_obj_track_times(hid_t plist_id, bool *track_times)
+ * }
+ */
+ public static int H5Pget_obj_track_times(long plist_id, MemorySegment track_times)
+ {
+ var mh$ = H5Pget_obj_track_times.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_obj_track_times", plist_id, track_times);
+ }
+ return (int)mh$.invokeExact(plist_id, track_times);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pmodify_filter {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pmodify_filter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static FunctionDescriptor H5Pmodify_filter$descriptor() { return H5Pmodify_filter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static MethodHandle H5Pmodify_filter$handle() { return H5Pmodify_filter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static MemorySegment H5Pmodify_filter$address() { return H5Pmodify_filter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pmodify_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts,
+ * const unsigned int cd_values[])
+ * }
+ */
+ public static int H5Pmodify_filter(long plist_id, int filter, int flags, long cd_nelmts,
+ MemorySegment cd_values)
+ {
+ var mh$ = H5Pmodify_filter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pmodify_filter", plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ return (int)mh$.invokeExact(plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Premove_filter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Premove_filter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static FunctionDescriptor H5Premove_filter$descriptor() { return H5Premove_filter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static MethodHandle H5Premove_filter$handle() { return H5Premove_filter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static MemorySegment H5Premove_filter$address() { return H5Premove_filter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Premove_filter(hid_t plist_id, H5Z_filter_t filter)
+ * }
+ */
+ public static int H5Premove_filter(long plist_id, int filter)
+ {
+ var mh$ = H5Premove_filter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Premove_filter", plist_id, filter);
+ }
+ return (int)mh$.invokeExact(plist_id, filter);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_attr_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_attr_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_attr_creation_order$descriptor()
+ {
+ return H5Pset_attr_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pset_attr_creation_order$handle()
+ {
+ return H5Pset_attr_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pset_attr_creation_order$address()
+ {
+ return H5Pset_attr_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static int H5Pset_attr_creation_order(long plist_id, int crt_order_flags)
+ {
+ var mh$ = H5Pset_attr_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_attr_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_attr_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_attr_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_attr_phase_change$descriptor()
+ {
+ return H5Pset_attr_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MethodHandle H5Pset_attr_phase_change$handle() { return H5Pset_attr_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MemorySegment H5Pset_attr_phase_change$address() { return H5Pset_attr_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_attr_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static int H5Pset_attr_phase_change(long plist_id, int max_compact, int min_dense)
+ {
+ var mh$ = H5Pset_attr_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_attr_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_deflate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_deflate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_deflate$descriptor() { return H5Pset_deflate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static MethodHandle H5Pset_deflate$handle() { return H5Pset_deflate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static MemorySegment H5Pset_deflate$address() { return H5Pset_deflate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_deflate(hid_t plist_id, unsigned int level)
+ * }
+ */
+ public static int H5Pset_deflate(long plist_id, int level)
+ {
+ var mh$ = H5Pset_deflate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_deflate", plist_id, level);
+ }
+ return (int)mh$.invokeExact(plist_id, level);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_filter {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_filter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static FunctionDescriptor H5Pset_filter$descriptor() { return H5Pset_filter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static MethodHandle H5Pset_filter$handle() { return H5Pset_filter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static MemorySegment H5Pset_filter$address() { return H5Pset_filter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter(hid_t plist_id, H5Z_filter_t filter, unsigned int flags, size_t cd_nelmts, const
+ * unsigned int cd_values[])
+ * }
+ */
+ public static int H5Pset_filter(long plist_id, int filter, int flags, long cd_nelmts,
+ MemorySegment cd_values)
+ {
+ var mh$ = H5Pset_filter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_filter", plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ return (int)mh$.invokeExact(plist_id, filter, flags, cd_nelmts, cd_values);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fletcher32 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fletcher32");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fletcher32$descriptor() { return H5Pset_fletcher32.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fletcher32$handle() { return H5Pset_fletcher32.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fletcher32$address() { return H5Pset_fletcher32.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fletcher32(hid_t plist_id)
+ * }
+ */
+ public static int H5Pset_fletcher32(long plist_id)
+ {
+ var mh$ = H5Pset_fletcher32.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fletcher32", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_obj_track_times {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_obj_track_times");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_obj_track_times$descriptor()
+ {
+ return H5Pset_obj_track_times.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static MethodHandle H5Pset_obj_track_times$handle() { return H5Pset_obj_track_times.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static MemorySegment H5Pset_obj_track_times$address() { return H5Pset_obj_track_times.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_obj_track_times(hid_t plist_id, bool track_times)
+ * }
+ */
+ public static int H5Pset_obj_track_times(long plist_id, boolean track_times)
+ {
+ var mh$ = H5Pset_obj_track_times.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_obj_track_times", plist_id, track_times);
+ }
+ return (int)mh$.invokeExact(plist_id, track_times);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_space_page_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_space_page_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_space_page_size$descriptor()
+ {
+ return H5Pget_file_space_page_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static MethodHandle H5Pget_file_space_page_size$handle()
+ {
+ return H5Pget_file_space_page_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static MemorySegment H5Pget_file_space_page_size$address()
+ {
+ return H5Pget_file_space_page_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_page_size(hid_t plist_id, hsize_t *fsp_size)
+ * }
+ */
+ public static int H5Pget_file_space_page_size(long plist_id, MemorySegment fsp_size)
+ {
+ var mh$ = H5Pget_file_space_page_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_space_page_size", plist_id, fsp_size);
+ }
+ return (int)mh$.invokeExact(plist_id, fsp_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_space_strategy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_space_strategy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_space_strategy$descriptor()
+ {
+ return H5Pget_file_space_strategy.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static MethodHandle H5Pget_file_space_strategy$handle()
+ {
+ return H5Pget_file_space_strategy.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static MemorySegment H5Pget_file_space_strategy$address()
+ {
+ return H5Pget_file_space_strategy.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t *strategy, bool *persist,
+ * hsize_t *threshold)
+ * }
+ */
+ public static int H5Pget_file_space_strategy(long plist_id, MemorySegment strategy, MemorySegment persist,
+ MemorySegment threshold)
+ {
+ var mh$ = H5Pget_file_space_strategy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_space_strategy", plist_id, strategy, persist, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, persist, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_istore_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_istore_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_istore_k$descriptor() { return H5Pget_istore_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static MethodHandle H5Pget_istore_k$handle() { return H5Pget_istore_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static MemorySegment H5Pget_istore_k$address() { return H5Pget_istore_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_istore_k(hid_t plist_id, unsigned int *ik)
+ * }
+ */
+ public static int H5Pget_istore_k(long plist_id, MemorySegment ik)
+ {
+ var mh$ = H5Pget_istore_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_istore_k", plist_id, ik);
+ }
+ return (int)mh$.invokeExact(plist_id, ik);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_shared_mesg_index {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_shared_mesg_index");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_shared_mesg_index$descriptor()
+ {
+ return H5Pget_shared_mesg_index.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static MethodHandle H5Pget_shared_mesg_index$handle() { return H5Pget_shared_mesg_index.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static MemorySegment H5Pget_shared_mesg_index$address() { return H5Pget_shared_mesg_index.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int *mesg_type_flags,
+ * unsigned int *min_mesg_size)
+ * }
+ */
+ public static int H5Pget_shared_mesg_index(long plist_id, int index_num, MemorySegment mesg_type_flags,
+ MemorySegment min_mesg_size)
+ {
+ var mh$ = H5Pget_shared_mesg_index.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_shared_mesg_index", plist_id, index_num, mesg_type_flags,
+ min_mesg_size);
+ }
+ return (int)mh$.invokeExact(plist_id, index_num, mesg_type_flags, min_mesg_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_shared_mesg_nindexes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_shared_mesg_nindexes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_shared_mesg_nindexes$descriptor()
+ {
+ return H5Pget_shared_mesg_nindexes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static MethodHandle H5Pget_shared_mesg_nindexes$handle()
+ {
+ return H5Pget_shared_mesg_nindexes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static MemorySegment H5Pget_shared_mesg_nindexes$address()
+ {
+ return H5Pget_shared_mesg_nindexes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_nindexes(hid_t plist_id, unsigned int *nindexes)
+ * }
+ */
+ public static int H5Pget_shared_mesg_nindexes(long plist_id, MemorySegment nindexes)
+ {
+ var mh$ = H5Pget_shared_mesg_nindexes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_shared_mesg_nindexes", plist_id, nindexes);
+ }
+ return (int)mh$.invokeExact(plist_id, nindexes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_shared_mesg_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_shared_mesg_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_shared_mesg_phase_change$descriptor()
+ {
+ return H5Pget_shared_mesg_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static MethodHandle H5Pget_shared_mesg_phase_change$handle()
+ {
+ return H5Pget_shared_mesg_phase_change.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static MemorySegment H5Pget_shared_mesg_phase_change$address()
+ {
+ return H5Pget_shared_mesg_phase_change.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_shared_mesg_phase_change(hid_t plist_id, unsigned int *max_list, unsigned int *min_btree)
+ * }
+ */
+ public static int H5Pget_shared_mesg_phase_change(long plist_id, MemorySegment max_list,
+ MemorySegment min_btree)
+ {
+ var mh$ = H5Pget_shared_mesg_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_shared_mesg_phase_change", plist_id, max_list, min_btree);
+ }
+ return (int)mh$.invokeExact(plist_id, max_list, min_btree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_sizes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_sizes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_sizes$descriptor() { return H5Pget_sizes.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static MethodHandle H5Pget_sizes$handle() { return H5Pget_sizes.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static MemorySegment H5Pget_sizes$address() { return H5Pget_sizes.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_sizes(hid_t plist_id, size_t *sizeof_addr, size_t *sizeof_size)
+ * }
+ */
+ public static int H5Pget_sizes(long plist_id, MemorySegment sizeof_addr, MemorySegment sizeof_size)
+ {
+ var mh$ = H5Pget_sizes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_sizes", plist_id, sizeof_addr, sizeof_size);
+ }
+ return (int)mh$.invokeExact(plist_id, sizeof_addr, sizeof_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_sym_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_sym_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_sym_k$descriptor() { return H5Pget_sym_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static MethodHandle H5Pget_sym_k$handle() { return H5Pget_sym_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static MemorySegment H5Pget_sym_k$address() { return H5Pget_sym_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_sym_k(hid_t plist_id, unsigned int *ik, unsigned int *lk)
+ * }
+ */
+ public static int H5Pget_sym_k(long plist_id, MemorySegment ik, MemorySegment lk)
+ {
+ var mh$ = H5Pget_sym_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_sym_k", plist_id, ik, lk);
+ }
+ return (int)mh$.invokeExact(plist_id, ik, lk);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_userblock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_userblock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_userblock$descriptor() { return H5Pget_userblock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_userblock$handle() { return H5Pget_userblock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_userblock$address() { return H5Pget_userblock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_userblock(hid_t plist_id, hsize_t *size)
+ * }
+ */
+ public static int H5Pget_userblock(long plist_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_userblock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_userblock", plist_id, size);
+ }
+ return (int)mh$.invokeExact(plist_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_space_page_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_space_page_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_space_page_size$descriptor()
+ {
+ return H5Pset_file_space_page_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static MethodHandle H5Pset_file_space_page_size$handle()
+ {
+ return H5Pset_file_space_page_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static MemorySegment H5Pset_file_space_page_size$address()
+ {
+ return H5Pset_file_space_page_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_page_size(hid_t plist_id, hsize_t fsp_size)
+ * }
+ */
+ public static int H5Pset_file_space_page_size(long plist_id, long fsp_size)
+ {
+ var mh$ = H5Pset_file_space_page_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_space_page_size", plist_id, fsp_size);
+ }
+ return (int)mh$.invokeExact(plist_id, fsp_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_space_strategy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_BOOL, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_space_strategy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_space_strategy$descriptor()
+ {
+ return H5Pset_file_space_strategy.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static MethodHandle H5Pset_file_space_strategy$handle()
+ {
+ return H5Pset_file_space_strategy.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static MemorySegment H5Pset_file_space_strategy$address()
+ {
+ return H5Pset_file_space_strategy.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space_strategy(hid_t plist_id, H5F_fspace_strategy_t strategy, bool persist, hsize_t
+ * threshold)
+ * }
+ */
+ public static int H5Pset_file_space_strategy(long plist_id, int strategy, boolean persist, long threshold)
+ {
+ var mh$ = H5Pset_file_space_strategy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_space_strategy", plist_id, strategy, persist, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, persist, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_istore_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_istore_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_istore_k$descriptor() { return H5Pset_istore_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static MethodHandle H5Pset_istore_k$handle() { return H5Pset_istore_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static MemorySegment H5Pset_istore_k$address() { return H5Pset_istore_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_istore_k(hid_t plist_id, unsigned int ik)
+ * }
+ */
+ public static int H5Pset_istore_k(long plist_id, int ik)
+ {
+ var mh$ = H5Pset_istore_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_istore_k", plist_id, ik);
+ }
+ return (int)mh$.invokeExact(plist_id, ik);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shared_mesg_index {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shared_mesg_index");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shared_mesg_index$descriptor()
+ {
+ return H5Pset_shared_mesg_index.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static MethodHandle H5Pset_shared_mesg_index$handle() { return H5Pset_shared_mesg_index.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static MemorySegment H5Pset_shared_mesg_index$address() { return H5Pset_shared_mesg_index.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_index(hid_t plist_id, unsigned int index_num, unsigned int mesg_type_flags,
+ * unsigned int min_mesg_size)
+ * }
+ */
+ public static int H5Pset_shared_mesg_index(long plist_id, int index_num, int mesg_type_flags,
+ int min_mesg_size)
+ {
+ var mh$ = H5Pset_shared_mesg_index.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shared_mesg_index", plist_id, index_num, mesg_type_flags,
+ min_mesg_size);
+ }
+ return (int)mh$.invokeExact(plist_id, index_num, mesg_type_flags, min_mesg_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shared_mesg_nindexes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shared_mesg_nindexes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shared_mesg_nindexes$descriptor()
+ {
+ return H5Pset_shared_mesg_nindexes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static MethodHandle H5Pset_shared_mesg_nindexes$handle()
+ {
+ return H5Pset_shared_mesg_nindexes.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static MemorySegment H5Pset_shared_mesg_nindexes$address()
+ {
+ return H5Pset_shared_mesg_nindexes.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_nindexes(hid_t plist_id, unsigned int nindexes)
+ * }
+ */
+ public static int H5Pset_shared_mesg_nindexes(long plist_id, int nindexes)
+ {
+ var mh$ = H5Pset_shared_mesg_nindexes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shared_mesg_nindexes", plist_id, nindexes);
+ }
+ return (int)mh$.invokeExact(plist_id, nindexes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shared_mesg_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shared_mesg_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shared_mesg_phase_change$descriptor()
+ {
+ return H5Pset_shared_mesg_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static MethodHandle H5Pset_shared_mesg_phase_change$handle()
+ {
+ return H5Pset_shared_mesg_phase_change.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static MemorySegment H5Pset_shared_mesg_phase_change$address()
+ {
+ return H5Pset_shared_mesg_phase_change.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shared_mesg_phase_change(hid_t plist_id, unsigned int max_list, unsigned int min_btree)
+ * }
+ */
+ public static int H5Pset_shared_mesg_phase_change(long plist_id, int max_list, int min_btree)
+ {
+ var mh$ = H5Pset_shared_mesg_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shared_mesg_phase_change", plist_id, max_list, min_btree);
+ }
+ return (int)mh$.invokeExact(plist_id, max_list, min_btree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_sizes {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_sizes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_sizes$descriptor() { return H5Pset_sizes.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static MethodHandle H5Pset_sizes$handle() { return H5Pset_sizes.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static MemorySegment H5Pset_sizes$address() { return H5Pset_sizes.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_sizes(hid_t plist_id, size_t sizeof_addr, size_t sizeof_size)
+ * }
+ */
+ public static int H5Pset_sizes(long plist_id, long sizeof_addr, long sizeof_size)
+ {
+ var mh$ = H5Pset_sizes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_sizes", plist_id, sizeof_addr, sizeof_size);
+ }
+ return (int)mh$.invokeExact(plist_id, sizeof_addr, sizeof_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_sym_k {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_sym_k");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_sym_k$descriptor() { return H5Pset_sym_k.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static MethodHandle H5Pset_sym_k$handle() { return H5Pset_sym_k.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static MemorySegment H5Pset_sym_k$address() { return H5Pset_sym_k.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_sym_k(hid_t plist_id, unsigned int ik, unsigned int lk)
+ * }
+ */
+ public static int H5Pset_sym_k(long plist_id, int ik, int lk)
+ {
+ var mh$ = H5Pset_sym_k.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_sym_k", plist_id, ik, lk);
+ }
+ return (int)mh$.invokeExact(plist_id, ik, lk);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_userblock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_userblock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_userblock$descriptor() { return H5Pset_userblock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_userblock$handle() { return H5Pset_userblock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_userblock$address() { return H5Pset_userblock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_userblock(hid_t plist_id, hsize_t size)
+ * }
+ */
+ public static int H5Pset_userblock(long plist_id, long size)
+ {
+ var mh$ = H5Pset_userblock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_userblock", plist_id, size);
+ }
+ return (int)mh$.invokeExact(plist_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_alignment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_alignment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_alignment$descriptor() { return H5Pget_alignment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static MethodHandle H5Pget_alignment$handle() { return H5Pget_alignment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static MemorySegment H5Pget_alignment$address() { return H5Pget_alignment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_alignment(hid_t fapl_id, hsize_t *threshold, hsize_t *alignment)
+ * }
+ */
+ public static int H5Pget_alignment(long fapl_id, MemorySegment threshold, MemorySegment alignment)
+ {
+ var mh$ = H5Pget_alignment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_alignment", fapl_id, threshold, alignment);
+ }
+ return (int)mh$.invokeExact(fapl_id, threshold, alignment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_cache {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_cache$descriptor() { return H5Pget_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pget_cache$handle() { return H5Pget_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pget_cache$address() { return H5Pget_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_cache(hid_t plist_id, int *mdc_nelmts, size_t *rdcc_nslots, size_t *rdcc_nbytes, double
+ * *rdcc_w0)
+ * }
+ */
+ public static int H5Pget_cache(long plist_id, MemorySegment mdc_nelmts, MemorySegment rdcc_nslots,
+ MemorySegment rdcc_nbytes, MemorySegment rdcc_w0)
+ {
+ var mh$ = H5Pget_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_cache", plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_core_write_tracking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_core_write_tracking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_core_write_tracking$descriptor()
+ {
+ return H5Pget_core_write_tracking.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static MethodHandle H5Pget_core_write_tracking$handle()
+ {
+ return H5Pget_core_write_tracking.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static MemorySegment H5Pget_core_write_tracking$address()
+ {
+ return H5Pget_core_write_tracking.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_core_write_tracking(hid_t fapl_id, bool *is_enabled, size_t *page_size)
+ * }
+ */
+ public static int H5Pget_core_write_tracking(long fapl_id, MemorySegment is_enabled,
+ MemorySegment page_size)
+ {
+ var mh$ = H5Pget_core_write_tracking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_core_write_tracking", fapl_id, is_enabled, page_size);
+ }
+ return (int)mh$.invokeExact(fapl_id, is_enabled, page_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_driver {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_driver");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_driver$descriptor() { return H5Pget_driver.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_driver$handle() { return H5Pget_driver.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_driver$address() { return H5Pget_driver.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_driver(hid_t plist_id)
+ * }
+ */
+ public static long H5Pget_driver(long plist_id)
+ {
+ var mh$ = H5Pget_driver.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_driver", plist_id);
+ }
+ return (long)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_driver_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_driver_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_driver_info$descriptor() { return H5Pget_driver_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_driver_info$handle() { return H5Pget_driver_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_driver_info$address() { return H5Pget_driver_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * const void *H5Pget_driver_info(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_driver_info(long plist_id)
+ {
+ var mh$ = H5Pget_driver_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_driver_info", plist_id);
+ }
+ return (MemorySegment)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_driver_config_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_driver_config_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_driver_config_str$descriptor()
+ {
+ return H5Pget_driver_config_str.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5Pget_driver_config_str$handle() { return H5Pget_driver_config_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5Pget_driver_config_str$address() { return H5Pget_driver_config_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_driver_config_str(hid_t fapl_id, char *config_buf, size_t buf_size)
+ * }
+ */
+ public static long H5Pget_driver_config_str(long fapl_id, MemorySegment config_buf, long buf_size)
+ {
+ var mh$ = H5Pget_driver_config_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_driver_config_str", fapl_id, config_buf, buf_size);
+ }
+ return (long)mh$.invokeExact(fapl_id, config_buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_file_cache_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_file_cache_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_file_cache_size$descriptor()
+ {
+ return H5Pget_elink_file_cache_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_file_cache_size$handle()
+ {
+ return H5Pget_elink_file_cache_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_file_cache_size$address()
+ {
+ return H5Pget_elink_file_cache_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_file_cache_size(hid_t plist_id, unsigned int *efc_size)
+ * }
+ */
+ public static int H5Pget_elink_file_cache_size(long plist_id, MemorySegment efc_size)
+ {
+ var mh$ = H5Pget_elink_file_cache_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_file_cache_size", plist_id, efc_size);
+ }
+ return (int)mh$.invokeExact(plist_id, efc_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_evict_on_close {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_evict_on_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_evict_on_close$descriptor() { return H5Pget_evict_on_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static MethodHandle H5Pget_evict_on_close$handle() { return H5Pget_evict_on_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static MemorySegment H5Pget_evict_on_close$address() { return H5Pget_evict_on_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_evict_on_close(hid_t fapl_id, bool *evict_on_close)
+ * }
+ */
+ public static int H5Pget_evict_on_close(long fapl_id, MemorySegment evict_on_close)
+ {
+ var mh$ = H5Pget_evict_on_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_evict_on_close", fapl_id, evict_on_close);
+ }
+ return (int)mh$.invokeExact(fapl_id, evict_on_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_family_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_family_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_family_offset$descriptor() { return H5Pget_family_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static MethodHandle H5Pget_family_offset$handle() { return H5Pget_family_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static MemorySegment H5Pget_family_offset$address() { return H5Pget_family_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_family_offset(hid_t fapl_id, hsize_t *offset)
+ * }
+ */
+ public static int H5Pget_family_offset(long fapl_id, MemorySegment offset)
+ {
+ var mh$ = H5Pget_family_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_family_offset", fapl_id, offset);
+ }
+ return (int)mh$.invokeExact(fapl_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fclose_degree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fclose_degree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fclose_degree$descriptor() { return H5Pget_fclose_degree.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static MethodHandle H5Pget_fclose_degree$handle() { return H5Pget_fclose_degree.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static MemorySegment H5Pget_fclose_degree$address() { return H5Pget_fclose_degree.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fclose_degree(hid_t fapl_id, H5F_close_degree_t *degree)
+ * }
+ */
+ public static int H5Pget_fclose_degree(long fapl_id, MemorySegment degree)
+ {
+ var mh$ = H5Pget_fclose_degree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fclose_degree", fapl_id, degree);
+ }
+ return (int)mh$.invokeExact(fapl_id, degree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_image {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_image");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_image$descriptor() { return H5Pget_file_image.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_file_image$handle() { return H5Pget_file_image.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_file_image$address() { return H5Pget_file_image.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image(hid_t fapl_id, void **buf_ptr_ptr, size_t *buf_len_ptr)
+ * }
+ */
+ public static int H5Pget_file_image(long fapl_id, MemorySegment buf_ptr_ptr, MemorySegment buf_len_ptr)
+ {
+ var mh$ = H5Pget_file_image.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_image", fapl_id, buf_ptr_ptr, buf_len_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, buf_ptr_ptr, buf_len_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_image_callbacks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_image_callbacks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_image_callbacks$descriptor()
+ {
+ return H5Pget_file_image_callbacks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_file_image_callbacks$handle()
+ {
+ return H5Pget_file_image_callbacks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_file_image_callbacks$address()
+ {
+ return H5Pget_file_image_callbacks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static int H5Pget_file_image_callbacks(long fapl_id, MemorySegment callbacks_ptr)
+ {
+ var mh$ = H5Pget_file_image_callbacks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_image_callbacks", fapl_id, callbacks_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, callbacks_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_locking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_locking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_locking$descriptor() { return H5Pget_file_locking.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static MethodHandle H5Pget_file_locking$handle() { return H5Pget_file_locking.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static MemorySegment H5Pget_file_locking$address() { return H5Pget_file_locking.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_locking(hid_t fapl_id, bool *use_file_locking, bool *ignore_when_disabled)
+ * }
+ */
+ public static int H5Pget_file_locking(long fapl_id, MemorySegment use_file_locking,
+ MemorySegment ignore_when_disabled)
+ {
+ var mh$ = H5Pget_file_locking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_locking", fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ return (int)mh$.invokeExact(fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_gc_references {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_gc_references");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_gc_references$descriptor() { return H5Pget_gc_references.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static MethodHandle H5Pget_gc_references$handle() { return H5Pget_gc_references.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static MemorySegment H5Pget_gc_references$address() { return H5Pget_gc_references.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_gc_references(hid_t fapl_id, unsigned int *gc_ref)
+ * }
+ */
+ public static int H5Pget_gc_references(long fapl_id, MemorySegment gc_ref)
+ {
+ var mh$ = H5Pget_gc_references.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_gc_references", fapl_id, gc_ref);
+ }
+ return (int)mh$.invokeExact(fapl_id, gc_ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_libver_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_libver_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_libver_bounds$descriptor() { return H5Pget_libver_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static MethodHandle H5Pget_libver_bounds$handle() { return H5Pget_libver_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static MemorySegment H5Pget_libver_bounds$address() { return H5Pget_libver_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_libver_bounds(hid_t plist_id, H5F_libver_t *low, H5F_libver_t *high)
+ * }
+ */
+ public static int H5Pget_libver_bounds(long plist_id, MemorySegment low, MemorySegment high)
+ {
+ var mh$ = H5Pget_libver_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_libver_bounds", plist_id, low, high);
+ }
+ return (int)mh$.invokeExact(plist_id, low, high);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mdc_config$descriptor() { return H5Pget_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_mdc_config$handle() { return H5Pget_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_mdc_config$address() { return H5Pget_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pget_mdc_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pget_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mdc_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mdc_image_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mdc_image_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mdc_image_config$descriptor()
+ {
+ return H5Pget_mdc_image_config.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_mdc_image_config$handle() { return H5Pget_mdc_image_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_mdc_image_config$address() { return H5Pget_mdc_image_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pget_mdc_image_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pget_mdc_image_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mdc_image_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mdc_log_options {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mdc_log_options");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mdc_log_options$descriptor()
+ {
+ return H5Pget_mdc_log_options.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static MethodHandle H5Pget_mdc_log_options$handle() { return H5Pget_mdc_log_options.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static MemorySegment H5Pget_mdc_log_options$address() { return H5Pget_mdc_log_options.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mdc_log_options(hid_t plist_id, bool *is_enabled, char *location, size_t *location_size,
+ * bool *start_on_access)
+ * }
+ */
+ public static int H5Pget_mdc_log_options(long plist_id, MemorySegment is_enabled, MemorySegment location,
+ MemorySegment location_size, MemorySegment start_on_access)
+ {
+ var mh$ = H5Pget_mdc_log_options.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mdc_log_options", plist_id, is_enabled, location, location_size,
+ start_on_access);
+ }
+ return (int)mh$.invokeExact(plist_id, is_enabled, location, location_size, start_on_access);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_meta_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_meta_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_meta_block_size$descriptor()
+ {
+ return H5Pget_meta_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_meta_block_size$handle() { return H5Pget_meta_block_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_meta_block_size$address() { return H5Pget_meta_block_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_meta_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static int H5Pget_meta_block_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_meta_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_meta_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_metadata_read_attempts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_metadata_read_attempts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_metadata_read_attempts$descriptor()
+ {
+ return H5Pget_metadata_read_attempts.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static MethodHandle H5Pget_metadata_read_attempts$handle()
+ {
+ return H5Pget_metadata_read_attempts.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static MemorySegment H5Pget_metadata_read_attempts$address()
+ {
+ return H5Pget_metadata_read_attempts.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_metadata_read_attempts(hid_t plist_id, unsigned int *attempts)
+ * }
+ */
+ public static int H5Pget_metadata_read_attempts(long plist_id, MemorySegment attempts)
+ {
+ var mh$ = H5Pget_metadata_read_attempts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_metadata_read_attempts", plist_id, attempts);
+ }
+ return (int)mh$.invokeExact(plist_id, attempts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_multi_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_multi_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_multi_type$descriptor() { return H5Pget_multi_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static MethodHandle H5Pget_multi_type$handle() { return H5Pget_multi_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static MemorySegment H5Pget_multi_type$address() { return H5Pget_multi_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_multi_type(hid_t fapl_id, H5FD_mem_t *type)
+ * }
+ */
+ public static int H5Pget_multi_type(long fapl_id, MemorySegment type)
+ {
+ var mh$ = H5Pget_multi_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_multi_type", fapl_id, type);
+ }
+ return (int)mh$.invokeExact(fapl_id, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_object_flush_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_object_flush_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_object_flush_cb$descriptor()
+ {
+ return H5Pget_object_flush_cb.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static MethodHandle H5Pget_object_flush_cb$handle() { return H5Pget_object_flush_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static MemorySegment H5Pget_object_flush_cb$address() { return H5Pget_object_flush_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_object_flush_cb(hid_t plist_id, H5F_flush_cb_t *func, void **udata)
+ * }
+ */
+ public static int H5Pget_object_flush_cb(long plist_id, MemorySegment func, MemorySegment udata)
+ {
+ var mh$ = H5Pget_object_flush_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_object_flush_cb", plist_id, func, udata);
+ }
+ return (int)mh$.invokeExact(plist_id, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_page_buffer_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_page_buffer_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_page_buffer_size$descriptor()
+ {
+ return H5Pget_page_buffer_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static MethodHandle H5Pget_page_buffer_size$handle() { return H5Pget_page_buffer_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static MemorySegment H5Pget_page_buffer_size$address() { return H5Pget_page_buffer_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_page_buffer_size(hid_t plist_id, size_t *buf_size, unsigned int *min_meta_perc, unsigned
+ * int *min_raw_perc)
+ * }
+ */
+ public static int H5Pget_page_buffer_size(long plist_id, MemorySegment buf_size,
+ MemorySegment min_meta_perc, MemorySegment min_raw_perc)
+ {
+ var mh$ = H5Pget_page_buffer_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_page_buffer_size", plist_id, buf_size, min_meta_perc, min_raw_perc);
+ }
+ return (int)mh$.invokeExact(plist_id, buf_size, min_meta_perc, min_raw_perc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_sieve_buf_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_sieve_buf_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_sieve_buf_size$descriptor() { return H5Pget_sieve_buf_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_sieve_buf_size$handle() { return H5Pget_sieve_buf_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_sieve_buf_size$address() { return H5Pget_sieve_buf_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_sieve_buf_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static int H5Pget_sieve_buf_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_sieve_buf_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_sieve_buf_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_small_data_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_small_data_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_small_data_block_size$descriptor()
+ {
+ return H5Pget_small_data_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_small_data_block_size$handle()
+ {
+ return H5Pget_small_data_block_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_small_data_block_size$address()
+ {
+ return H5Pget_small_data_block_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_small_data_block_size(hid_t fapl_id, hsize_t *size)
+ * }
+ */
+ public static int H5Pget_small_data_block_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_small_data_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_small_data_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vol_id {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vol_id");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vol_id$descriptor() { return H5Pget_vol_id.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static MethodHandle H5Pget_vol_id$handle() { return H5Pget_vol_id.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static MemorySegment H5Pget_vol_id$address() { return H5Pget_vol_id.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_id(hid_t plist_id, hid_t *vol_id)
+ * }
+ */
+ public static int H5Pget_vol_id(long plist_id, MemorySegment vol_id)
+ {
+ var mh$ = H5Pget_vol_id.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vol_id", plist_id, vol_id);
+ }
+ return (int)mh$.invokeExact(plist_id, vol_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vol_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vol_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vol_info$descriptor() { return H5Pget_vol_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static MethodHandle H5Pget_vol_info$handle() { return H5Pget_vol_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static MemorySegment H5Pget_vol_info$address() { return H5Pget_vol_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_info(hid_t plist_id, void **vol_info)
+ * }
+ */
+ public static int H5Pget_vol_info(long plist_id, MemorySegment vol_info)
+ {
+ var mh$ = H5Pget_vol_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vol_info", plist_id, vol_info);
+ }
+ return (int)mh$.invokeExact(plist_id, vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_alignment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_alignment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_alignment$descriptor() { return H5Pset_alignment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static MethodHandle H5Pset_alignment$handle() { return H5Pset_alignment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static MemorySegment H5Pset_alignment$address() { return H5Pset_alignment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_alignment(hid_t fapl_id, hsize_t threshold, hsize_t alignment)
+ * }
+ */
+ public static int H5Pset_alignment(long fapl_id, long threshold, long alignment)
+ {
+ var mh$ = H5Pset_alignment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_alignment", fapl_id, threshold, alignment);
+ }
+ return (int)mh$.invokeExact(fapl_id, threshold, alignment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_DOUBLE);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_cache$descriptor() { return H5Pset_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pset_cache$handle() { return H5Pset_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pset_cache$address() { return H5Pset_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_cache(hid_t plist_id, int mdc_nelmts, size_t rdcc_nslots, size_t rdcc_nbytes, double
+ * rdcc_w0)
+ * }
+ */
+ public static int H5Pset_cache(long plist_id, int mdc_nelmts, long rdcc_nslots, long rdcc_nbytes,
+ double rdcc_w0)
+ {
+ var mh$ = H5Pset_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_cache", plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(plist_id, mdc_nelmts, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_core_write_tracking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_core_write_tracking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_core_write_tracking$descriptor()
+ {
+ return H5Pset_core_write_tracking.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static MethodHandle H5Pset_core_write_tracking$handle()
+ {
+ return H5Pset_core_write_tracking.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static MemorySegment H5Pset_core_write_tracking$address()
+ {
+ return H5Pset_core_write_tracking.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_core_write_tracking(hid_t fapl_id, bool is_enabled, size_t page_size)
+ * }
+ */
+ public static int H5Pset_core_write_tracking(long fapl_id, boolean is_enabled, long page_size)
+ {
+ var mh$ = H5Pset_core_write_tracking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_core_write_tracking", fapl_id, is_enabled, page_size);
+ }
+ return (int)mh$.invokeExact(fapl_id, is_enabled, page_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_driver {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_driver");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_driver$descriptor() { return H5Pset_driver.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static MethodHandle H5Pset_driver$handle() { return H5Pset_driver.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static MemorySegment H5Pset_driver$address() { return H5Pset_driver.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
+ * }
+ */
+ public static int H5Pset_driver(long plist_id, long driver_id, MemorySegment driver_info)
+ {
+ var mh$ = H5Pset_driver.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_driver", plist_id, driver_id, driver_info);
+ }
+ return (int)mh$.invokeExact(plist_id, driver_id, driver_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_driver_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_driver_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_driver_by_name$descriptor() { return H5Pset_driver_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static MethodHandle H5Pset_driver_by_name$handle() { return H5Pset_driver_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static MemorySegment H5Pset_driver_by_name$address() { return H5Pset_driver_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_name(hid_t plist_id, const char *driver_name, const char *driver_config)
+ * }
+ */
+ public static int H5Pset_driver_by_name(long plist_id, MemorySegment driver_name,
+ MemorySegment driver_config)
+ {
+ var mh$ = H5Pset_driver_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_driver_by_name", plist_id, driver_name, driver_config);
+ }
+ return (int)mh$.invokeExact(plist_id, driver_name, driver_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_driver_by_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_driver_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_driver_by_value$descriptor()
+ {
+ return H5Pset_driver_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static MethodHandle H5Pset_driver_by_value$handle() { return H5Pset_driver_by_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static MemorySegment H5Pset_driver_by_value$address() { return H5Pset_driver_by_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_driver_by_value(hid_t plist_id, H5FD_class_value_t driver_value, const char
+ * *driver_config)
+ * }
+ */
+ public static int H5Pset_driver_by_value(long plist_id, int driver_value, MemorySegment driver_config)
+ {
+ var mh$ = H5Pset_driver_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_driver_by_value", plist_id, driver_value, driver_config);
+ }
+ return (int)mh$.invokeExact(plist_id, driver_value, driver_config);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_file_cache_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_file_cache_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_file_cache_size$descriptor()
+ {
+ return H5Pset_elink_file_cache_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_file_cache_size$handle()
+ {
+ return H5Pset_elink_file_cache_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_file_cache_size$address()
+ {
+ return H5Pset_elink_file_cache_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_file_cache_size(hid_t plist_id, unsigned int efc_size)
+ * }
+ */
+ public static int H5Pset_elink_file_cache_size(long plist_id, int efc_size)
+ {
+ var mh$ = H5Pset_elink_file_cache_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_file_cache_size", plist_id, efc_size);
+ }
+ return (int)mh$.invokeExact(plist_id, efc_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_evict_on_close {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_evict_on_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_evict_on_close$descriptor() { return H5Pset_evict_on_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static MethodHandle H5Pset_evict_on_close$handle() { return H5Pset_evict_on_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static MemorySegment H5Pset_evict_on_close$address() { return H5Pset_evict_on_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_evict_on_close(hid_t fapl_id, bool evict_on_close)
+ * }
+ */
+ public static int H5Pset_evict_on_close(long fapl_id, boolean evict_on_close)
+ {
+ var mh$ = H5Pset_evict_on_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_evict_on_close", fapl_id, evict_on_close);
+ }
+ return (int)mh$.invokeExact(fapl_id, evict_on_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_family_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_family_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_family_offset$descriptor() { return H5Pset_family_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static MethodHandle H5Pset_family_offset$handle() { return H5Pset_family_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static MemorySegment H5Pset_family_offset$address() { return H5Pset_family_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_family_offset(hid_t fapl_id, hsize_t offset)
+ * }
+ */
+ public static int H5Pset_family_offset(long fapl_id, long offset)
+ {
+ var mh$ = H5Pset_family_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_family_offset", fapl_id, offset);
+ }
+ return (int)mh$.invokeExact(fapl_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fclose_degree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fclose_degree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fclose_degree$descriptor() { return H5Pset_fclose_degree.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static MethodHandle H5Pset_fclose_degree$handle() { return H5Pset_fclose_degree.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static MemorySegment H5Pset_fclose_degree$address() { return H5Pset_fclose_degree.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static int H5Pset_fclose_degree(long fapl_id, int degree)
+ {
+ var mh$ = H5Pset_fclose_degree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fclose_degree", fapl_id, degree);
+ }
+ return (int)mh$.invokeExact(fapl_id, degree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_image {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_image");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_image$descriptor() { return H5Pset_file_image.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MethodHandle H5Pset_file_image$handle() { return H5Pset_file_image.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MemorySegment H5Pset_file_image$address() { return H5Pset_file_image.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static int H5Pset_file_image(long fapl_id, MemorySegment buf_ptr, long buf_len)
+ {
+ var mh$ = H5Pset_file_image.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_image", fapl_id, buf_ptr, buf_len);
+ }
+ return (int)mh$.invokeExact(fapl_id, buf_ptr, buf_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_image_callbacks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_image_callbacks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_image_callbacks$descriptor()
+ {
+ return H5Pset_file_image_callbacks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_file_image_callbacks$handle()
+ {
+ return H5Pset_file_image_callbacks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_file_image_callbacks$address()
+ {
+ return H5Pset_file_image_callbacks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static int H5Pset_file_image_callbacks(long fapl_id, MemorySegment callbacks_ptr)
+ {
+ var mh$ = H5Pset_file_image_callbacks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_image_callbacks", fapl_id, callbacks_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, callbacks_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_locking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_locking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_locking$descriptor() { return H5Pset_file_locking.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static MethodHandle H5Pset_file_locking$handle() { return H5Pset_file_locking.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static MemorySegment H5Pset_file_locking$address() { return H5Pset_file_locking.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static int H5Pset_file_locking(long fapl_id, boolean use_file_locking,
+ boolean ignore_when_disabled)
+ {
+ var mh$ = H5Pset_file_locking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_locking", fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ return (int)mh$.invokeExact(fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_gc_references {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_gc_references");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_gc_references$descriptor() { return H5Pset_gc_references.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static MethodHandle H5Pset_gc_references$handle() { return H5Pset_gc_references.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static MemorySegment H5Pset_gc_references$address() { return H5Pset_gc_references.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static int H5Pset_gc_references(long fapl_id, int gc_ref)
+ {
+ var mh$ = H5Pset_gc_references.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_gc_references", fapl_id, gc_ref);
+ }
+ return (int)mh$.invokeExact(fapl_id, gc_ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_libver_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_libver_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_libver_bounds$descriptor() { return H5Pset_libver_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MethodHandle H5Pset_libver_bounds$handle() { return H5Pset_libver_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MemorySegment H5Pset_libver_bounds$address() { return H5Pset_libver_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static int H5Pset_libver_bounds(long plist_id, int low, int high)
+ {
+ var mh$ = H5Pset_libver_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_libver_bounds", plist_id, low, high);
+ }
+ return (int)mh$.invokeExact(plist_id, low, high);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mdc_config$descriptor() { return H5Pset_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_mdc_config$handle() { return H5Pset_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_mdc_config$address() { return H5Pset_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pset_mdc_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pset_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mdc_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mdc_log_options {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL, hdf5_h.C_POINTER, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mdc_log_options");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mdc_log_options$descriptor()
+ {
+ return H5Pset_mdc_log_options.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static MethodHandle H5Pset_mdc_log_options$handle() { return H5Pset_mdc_log_options.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static MemorySegment H5Pset_mdc_log_options$address() { return H5Pset_mdc_log_options.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static int H5Pset_mdc_log_options(long plist_id, boolean is_enabled, MemorySegment location,
+ boolean start_on_access)
+ {
+ var mh$ = H5Pset_mdc_log_options.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mdc_log_options", plist_id, is_enabled, location, start_on_access);
+ }
+ return (int)mh$.invokeExact(plist_id, is_enabled, location, start_on_access);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_meta_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_meta_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_meta_block_size$descriptor()
+ {
+ return H5Pset_meta_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_meta_block_size$handle() { return H5Pset_meta_block_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_meta_block_size$address() { return H5Pset_meta_block_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static int H5Pset_meta_block_size(long fapl_id, long size)
+ {
+ var mh$ = H5Pset_meta_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_meta_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_metadata_read_attempts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_metadata_read_attempts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_metadata_read_attempts$descriptor()
+ {
+ return H5Pset_metadata_read_attempts.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static MethodHandle H5Pset_metadata_read_attempts$handle()
+ {
+ return H5Pset_metadata_read_attempts.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static MemorySegment H5Pset_metadata_read_attempts$address()
+ {
+ return H5Pset_metadata_read_attempts.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static int H5Pset_metadata_read_attempts(long plist_id, int attempts)
+ {
+ var mh$ = H5Pset_metadata_read_attempts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_metadata_read_attempts", plist_id, attempts);
+ }
+ return (int)mh$.invokeExact(plist_id, attempts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_multi_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_multi_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_multi_type$descriptor() { return H5Pset_multi_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static MethodHandle H5Pset_multi_type$handle() { return H5Pset_multi_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static MemorySegment H5Pset_multi_type$address() { return H5Pset_multi_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static int H5Pset_multi_type(long fapl_id, int type)
+ {
+ var mh$ = H5Pset_multi_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_multi_type", fapl_id, type);
+ }
+ return (int)mh$.invokeExact(fapl_id, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_object_flush_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_object_flush_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_object_flush_cb$descriptor()
+ {
+ return H5Pset_object_flush_cb.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static MethodHandle H5Pset_object_flush_cb$handle() { return H5Pset_object_flush_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static MemorySegment H5Pset_object_flush_cb$address() { return H5Pset_object_flush_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static int H5Pset_object_flush_cb(long plist_id, MemorySegment func, MemorySegment udata)
+ {
+ var mh$ = H5Pset_object_flush_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_object_flush_cb", plist_id, func, udata);
+ }
+ return (int)mh$.invokeExact(plist_id, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_sieve_buf_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_sieve_buf_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_sieve_buf_size$descriptor() { return H5Pset_sieve_buf_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_sieve_buf_size$handle() { return H5Pset_sieve_buf_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_sieve_buf_size$address() { return H5Pset_sieve_buf_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static int H5Pset_sieve_buf_size(long fapl_id, long size)
+ {
+ var mh$ = H5Pset_sieve_buf_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_sieve_buf_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_small_data_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_small_data_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_small_data_block_size$descriptor()
+ {
+ return H5Pset_small_data_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_small_data_block_size$handle()
+ {
+ return H5Pset_small_data_block_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_small_data_block_size$address()
+ {
+ return H5Pset_small_data_block_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static int H5Pset_small_data_block_size(long fapl_id, long size)
+ {
+ var mh$ = H5Pset_small_data_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_small_data_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_vol {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_vol");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_vol$descriptor() { return H5Pset_vol.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static MethodHandle H5Pset_vol$handle() { return H5Pset_vol.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static MemorySegment H5Pset_vol$address() { return H5Pset_vol.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static int H5Pset_vol(long plist_id, long new_vol_id, MemorySegment new_vol_info)
+ {
+ var mh$ = H5Pset_vol.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_vol", plist_id, new_vol_id, new_vol_info);
+ }
+ return (int)mh$.invokeExact(plist_id, new_vol_id, new_vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vol_cap_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vol_cap_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vol_cap_flags$descriptor() { return H5Pget_vol_cap_flags.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MethodHandle H5Pget_vol_cap_flags$handle() { return H5Pget_vol_cap_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MemorySegment H5Pget_vol_cap_flags$address() { return H5Pget_vol_cap_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static int H5Pget_vol_cap_flags(long plist_id, MemorySegment cap_flags)
+ {
+ var mh$ = H5Pget_vol_cap_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vol_cap_flags", plist_id, cap_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, cap_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mdc_image_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mdc_image_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mdc_image_config$descriptor()
+ {
+ return H5Pset_mdc_image_config.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_mdc_image_config$handle() { return H5Pset_mdc_image_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_mdc_image_config$address() { return H5Pset_mdc_image_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pset_mdc_image_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pset_mdc_image_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mdc_image_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_page_buffer_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_page_buffer_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_page_buffer_size$descriptor()
+ {
+ return H5Pset_page_buffer_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static MethodHandle H5Pset_page_buffer_size$handle() { return H5Pset_page_buffer_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static MemorySegment H5Pset_page_buffer_size$address() { return H5Pset_page_buffer_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static int H5Pset_page_buffer_size(long plist_id, long buf_size, int min_meta_per, int min_raw_per)
+ {
+ var mh$ = H5Pset_page_buffer_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_page_buffer_size", plist_id, buf_size, min_meta_per, min_raw_per);
+ }
+ return (int)mh$.invokeExact(plist_id, buf_size, min_meta_per, min_raw_per);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_relax_file_integrity_checks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_relax_file_integrity_checks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_relax_file_integrity_checks$descriptor()
+ {
+ return H5Pset_relax_file_integrity_checks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static MethodHandle H5Pset_relax_file_integrity_checks$handle()
+ {
+ return H5Pset_relax_file_integrity_checks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static MemorySegment H5Pset_relax_file_integrity_checks$address()
+ {
+ return H5Pset_relax_file_integrity_checks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static int H5Pset_relax_file_integrity_checks(long plist_id, long flags)
+ {
+ var mh$ = H5Pset_relax_file_integrity_checks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_relax_file_integrity_checks", plist_id, flags);
+ }
+ return (int)mh$.invokeExact(plist_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_relax_file_integrity_checks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_relax_file_integrity_checks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_relax_file_integrity_checks$descriptor()
+ {
+ return H5Pget_relax_file_integrity_checks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static MethodHandle H5Pget_relax_file_integrity_checks$handle()
+ {
+ return H5Pget_relax_file_integrity_checks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static MemorySegment H5Pget_relax_file_integrity_checks$address()
+ {
+ return H5Pget_relax_file_integrity_checks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static int H5Pget_relax_file_integrity_checks(long plist_id, MemorySegment flags)
+ {
+ var mh$ = H5Pget_relax_file_integrity_checks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_relax_file_integrity_checks", plist_id, flags);
+ }
+ return (int)mh$.invokeExact(plist_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pfill_value_defined {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pfill_value_defined");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static FunctionDescriptor H5Pfill_value_defined$descriptor() { return H5Pfill_value_defined.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static MethodHandle H5Pfill_value_defined$handle() { return H5Pfill_value_defined.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static MemorySegment H5Pfill_value_defined$address() { return H5Pfill_value_defined.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static int H5Pfill_value_defined(long plist, MemorySegment status)
+ {
+ var mh$ = H5Pfill_value_defined.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pfill_value_defined", plist, status);
+ }
+ return (int)mh$.invokeExact(plist, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_alloc_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_alloc_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_alloc_time$descriptor() { return H5Pget_alloc_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static MethodHandle H5Pget_alloc_time$handle() { return H5Pget_alloc_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static MemorySegment H5Pget_alloc_time$address() { return H5Pget_alloc_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static int H5Pget_alloc_time(long plist_id, MemorySegment alloc_time)
+ {
+ var mh$ = H5Pget_alloc_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_alloc_time", plist_id, alloc_time);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_chunk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_chunk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static FunctionDescriptor H5Pget_chunk$descriptor() { return H5Pget_chunk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static MethodHandle H5Pget_chunk$handle() { return H5Pget_chunk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static MemorySegment H5Pget_chunk$address() { return H5Pget_chunk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static int H5Pget_chunk(long plist_id, int max_ndims, MemorySegment dim)
+ {
+ var mh$ = H5Pget_chunk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_chunk", plist_id, max_ndims, dim);
+ }
+ return (int)mh$.invokeExact(plist_id, max_ndims, dim);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_chunk_opts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_chunk_opts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_chunk_opts$descriptor() { return H5Pget_chunk_opts.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static MethodHandle H5Pget_chunk_opts$handle() { return H5Pget_chunk_opts.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static MemorySegment H5Pget_chunk_opts$address() { return H5Pget_chunk_opts.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static int H5Pget_chunk_opts(long plist_id, MemorySegment opts)
+ {
+ var mh$ = H5Pget_chunk_opts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_chunk_opts", plist_id, opts);
+ }
+ return (int)mh$.invokeExact(plist_id, opts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_dset_no_attrs_hint$descriptor()
+ {
+ return H5Pget_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static MethodHandle H5Pget_dset_no_attrs_hint$handle() { return H5Pget_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static MemorySegment H5Pget_dset_no_attrs_hint$address() { return H5Pget_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static int H5Pget_dset_no_attrs_hint(long dcpl_id, MemorySegment minimize)
+ {
+ var mh$ = H5Pget_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_dset_no_attrs_hint", dcpl_id, minimize);
+ }
+ return (int)mh$.invokeExact(dcpl_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_spatial_tree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_spatial_tree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_spatial_tree$descriptor()
+ {
+ return H5Pget_virtual_spatial_tree.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_spatial_tree$handle()
+ {
+ return H5Pget_virtual_spatial_tree.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_spatial_tree$address()
+ {
+ return H5Pget_virtual_spatial_tree.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static int H5Pget_virtual_spatial_tree(long dcpl_id, MemorySegment use_tree)
+ {
+ var mh$ = H5Pget_virtual_spatial_tree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_spatial_tree", dcpl_id, use_tree);
+ }
+ return (int)mh$.invokeExact(dcpl_id, use_tree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_external {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_external");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_external$descriptor() { return H5Pget_external.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_external$handle() { return H5Pget_external.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_external$address() { return H5Pget_external.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static int H5Pget_external(long plist_id, int idx, long name_size, MemorySegment name,
+ MemorySegment offset, MemorySegment size)
+ {
+ var mh$ = H5Pget_external.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_external", plist_id, idx, name_size, name, offset, size);
+ }
+ return (int)mh$.invokeExact(plist_id, idx, name_size, name, offset, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_external_count {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_external_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_external_count$descriptor() { return H5Pget_external_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_external_count$handle() { return H5Pget_external_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_external_count$address() { return H5Pget_external_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_external_count(long plist_id)
+ {
+ var mh$ = H5Pget_external_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_external_count", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fill_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fill_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fill_time$descriptor() { return H5Pget_fill_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static MethodHandle H5Pget_fill_time$handle() { return H5Pget_fill_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static MemorySegment H5Pget_fill_time$address() { return H5Pget_fill_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static int H5Pget_fill_time(long plist_id, MemorySegment fill_time)
+ {
+ var mh$ = H5Pget_fill_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fill_time", plist_id, fill_time);
+ }
+ return (int)mh$.invokeExact(plist_id, fill_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fill_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fill_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fill_value$descriptor() { return H5Pget_fill_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static MethodHandle H5Pget_fill_value$handle() { return H5Pget_fill_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static MemorySegment H5Pget_fill_value$address() { return H5Pget_fill_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static int H5Pget_fill_value(long plist_id, long type_id, MemorySegment value)
+ {
+ var mh$ = H5Pget_fill_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fill_value", plist_id, type_id, value);
+ }
+ return (int)mh$.invokeExact(plist_id, type_id, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_layout {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_layout");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_layout$descriptor() { return H5Pget_layout.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_layout$handle() { return H5Pget_layout.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_layout$address() { return H5Pget_layout.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_layout(long plist_id)
+ {
+ var mh$ = H5Pget_layout.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_layout", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_count$descriptor() { return H5Pget_virtual_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_count$handle() { return H5Pget_virtual_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_count$address() { return H5Pget_virtual_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static int H5Pget_virtual_count(long dcpl_id, MemorySegment count)
+ {
+ var mh$ = H5Pget_virtual_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_count", dcpl_id, count);
+ }
+ return (int)mh$.invokeExact(dcpl_id, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_dsetname {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_dsetname");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_dsetname$descriptor()
+ {
+ return H5Pget_virtual_dsetname.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_dsetname$handle() { return H5Pget_virtual_dsetname.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_dsetname$address() { return H5Pget_virtual_dsetname.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static long H5Pget_virtual_dsetname(long dcpl_id, long index, MemorySegment name, long size)
+ {
+ var mh$ = H5Pget_virtual_dsetname.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_dsetname", dcpl_id, index, name, size);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_filename {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_filename");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_filename$descriptor()
+ {
+ return H5Pget_virtual_filename.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_filename$handle() { return H5Pget_virtual_filename.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_filename$address() { return H5Pget_virtual_filename.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static long H5Pget_virtual_filename(long dcpl_id, long index, MemorySegment name, long size)
+ {
+ var mh$ = H5Pget_virtual_filename.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_filename", dcpl_id, index, name, size);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_srcspace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_srcspace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_srcspace$descriptor()
+ {
+ return H5Pget_virtual_srcspace.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_srcspace$handle() { return H5Pget_virtual_srcspace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_srcspace$address() { return H5Pget_virtual_srcspace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static long H5Pget_virtual_srcspace(long dcpl_id, long index)
+ {
+ var mh$ = H5Pget_virtual_srcspace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_srcspace", dcpl_id, index);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_vspace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_vspace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_vspace$descriptor() { return H5Pget_virtual_vspace.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_vspace$handle() { return H5Pget_virtual_vspace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_vspace$address() { return H5Pget_virtual_vspace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static long H5Pget_virtual_vspace(long dcpl_id, long index)
+ {
+ var mh$ = H5Pget_virtual_vspace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_vspace", dcpl_id, index);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_alloc_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_alloc_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_alloc_time$descriptor() { return H5Pset_alloc_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static MethodHandle H5Pset_alloc_time$handle() { return H5Pset_alloc_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static MemorySegment H5Pset_alloc_time$address() { return H5Pset_alloc_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static int H5Pset_alloc_time(long plist_id, int alloc_time)
+ {
+ var mh$ = H5Pset_alloc_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_alloc_time", plist_id, alloc_time);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_chunk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_chunk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static FunctionDescriptor H5Pset_chunk$descriptor() { return H5Pset_chunk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MethodHandle H5Pset_chunk$handle() { return H5Pset_chunk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MemorySegment H5Pset_chunk$address() { return H5Pset_chunk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static int H5Pset_chunk(long plist_id, int ndims, MemorySegment dim)
+ {
+ var mh$ = H5Pset_chunk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_chunk", plist_id, ndims, dim);
+ }
+ return (int)mh$.invokeExact(plist_id, ndims, dim);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_chunk_opts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_chunk_opts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_chunk_opts$descriptor() { return H5Pset_chunk_opts.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static MethodHandle H5Pset_chunk_opts$handle() { return H5Pset_chunk_opts.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static MemorySegment H5Pset_chunk_opts$address() { return H5Pset_chunk_opts.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static int H5Pset_chunk_opts(long plist_id, int opts)
+ {
+ var mh$ = H5Pset_chunk_opts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_chunk_opts", plist_id, opts);
+ }
+ return (int)mh$.invokeExact(plist_id, opts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_dset_no_attrs_hint$descriptor()
+ {
+ return H5Pset_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static MethodHandle H5Pset_dset_no_attrs_hint$handle() { return H5Pset_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static MemorySegment H5Pset_dset_no_attrs_hint$address() { return H5Pset_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static int H5Pset_dset_no_attrs_hint(long dcpl_id, boolean minimize)
+ {
+ var mh$ = H5Pset_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_dset_no_attrs_hint", dcpl_id, minimize);
+ }
+ return (int)mh$.invokeExact(dcpl_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_spatial_tree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_spatial_tree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_spatial_tree$descriptor()
+ {
+ return H5Pset_virtual_spatial_tree.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_spatial_tree$handle()
+ {
+ return H5Pset_virtual_spatial_tree.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_spatial_tree$address()
+ {
+ return H5Pset_virtual_spatial_tree.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static int H5Pset_virtual_spatial_tree(long dcpl_id, boolean use_tree)
+ {
+ var mh$ = H5Pset_virtual_spatial_tree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_spatial_tree", dcpl_id, use_tree);
+ }
+ return (int)mh$.invokeExact(dcpl_id, use_tree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_external {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_external");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_external$descriptor() { return H5Pset_external.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_external$handle() { return H5Pset_external.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_external$address() { return H5Pset_external.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static int H5Pset_external(long plist_id, MemorySegment name, long offset, long size)
+ {
+ var mh$ = H5Pset_external.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_external", plist_id, name, offset, size);
+ }
+ return (int)mh$.invokeExact(plist_id, name, offset, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fill_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fill_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fill_time$descriptor() { return H5Pset_fill_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static MethodHandle H5Pset_fill_time$handle() { return H5Pset_fill_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static MemorySegment H5Pset_fill_time$address() { return H5Pset_fill_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static int H5Pset_fill_time(long plist_id, int fill_time)
+ {
+ var mh$ = H5Pset_fill_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fill_time", plist_id, fill_time);
+ }
+ return (int)mh$.invokeExact(plist_id, fill_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fill_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fill_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fill_value$descriptor() { return H5Pset_fill_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static MethodHandle H5Pset_fill_value$handle() { return H5Pset_fill_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static MemorySegment H5Pset_fill_value$address() { return H5Pset_fill_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static int H5Pset_fill_value(long plist_id, long type_id, MemorySegment value)
+ {
+ var mh$ = H5Pset_fill_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fill_value", plist_id, type_id, value);
+ }
+ return (int)mh$.invokeExact(plist_id, type_id, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shuffle {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shuffle");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shuffle$descriptor() { return H5Pset_shuffle.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_shuffle$handle() { return H5Pset_shuffle.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_shuffle$address() { return H5Pset_shuffle.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static int H5Pset_shuffle(long plist_id)
+ {
+ var mh$ = H5Pset_shuffle.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shuffle", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_layout {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_layout");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_layout$descriptor() { return H5Pset_layout.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static MethodHandle H5Pset_layout$handle() { return H5Pset_layout.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static MemorySegment H5Pset_layout$address() { return H5Pset_layout.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static int H5Pset_layout(long plist_id, int layout)
+ {
+ var mh$ = H5Pset_layout.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_layout", plist_id, layout);
+ }
+ return (int)mh$.invokeExact(plist_id, layout);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_nbit {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_nbit");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_nbit$descriptor() { return H5Pset_nbit.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_nbit$handle() { return H5Pset_nbit.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_nbit$address() { return H5Pset_nbit.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static int H5Pset_nbit(long plist_id)
+ {
+ var mh$ = H5Pset_nbit.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_nbit", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_scaleoffset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_scaleoffset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_scaleoffset$descriptor() { return H5Pset_scaleoffset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static MethodHandle H5Pset_scaleoffset$handle() { return H5Pset_scaleoffset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static MemorySegment H5Pset_scaleoffset$address() { return H5Pset_scaleoffset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static int H5Pset_scaleoffset(long plist_id, int scale_type, int scale_factor)
+ {
+ var mh$ = H5Pset_scaleoffset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_scaleoffset", plist_id, scale_type, scale_factor);
+ }
+ return (int)mh$.invokeExact(plist_id, scale_type, scale_factor);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_szip {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_szip");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_szip$descriptor() { return H5Pset_szip.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static MethodHandle H5Pset_szip$handle() { return H5Pset_szip.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static MemorySegment H5Pset_szip$address() { return H5Pset_szip.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static int H5Pset_szip(long plist_id, int options_mask, int pixels_per_block)
+ {
+ var mh$ = H5Pset_szip.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_szip", plist_id, options_mask, pixels_per_block);
+ }
+ return (int)mh$.invokeExact(plist_id, options_mask, pixels_per_block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual$descriptor() { return H5Pset_virtual.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual$handle() { return H5Pset_virtual.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual$address() { return H5Pset_virtual.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static int H5Pset_virtual(long dcpl_id, long vspace_id, MemorySegment src_file_name,
+ MemorySegment src_dset_name, long src_space_id)
+ {
+ var mh$ = H5Pset_virtual.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual", dcpl_id, vspace_id, src_file_name, src_dset_name,
+ src_space_id);
+ }
+ return (int)mh$.invokeExact(dcpl_id, vspace_id, src_file_name, src_dset_name, src_space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_append_flush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_append_flush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_append_flush$descriptor() { return H5Pget_append_flush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static MethodHandle H5Pget_append_flush$handle() { return H5Pget_append_flush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static MemorySegment H5Pget_append_flush$address() { return H5Pget_append_flush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static int H5Pget_append_flush(long dapl_id, int dims, MemorySegment boundary, MemorySegment func,
+ MemorySegment udata)
+ {
+ var mh$ = H5Pget_append_flush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_append_flush", dapl_id, dims, boundary, func, udata);
+ }
+ return (int)mh$.invokeExact(dapl_id, dims, boundary, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_chunk_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_chunk_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_chunk_cache$descriptor() { return H5Pget_chunk_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pget_chunk_cache$handle() { return H5Pget_chunk_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pget_chunk_cache$address() { return H5Pget_chunk_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static int H5Pget_chunk_cache(long dapl_id, MemorySegment rdcc_nslots, MemorySegment rdcc_nbytes,
+ MemorySegment rdcc_w0)
+ {
+ var mh$ = H5Pget_chunk_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_chunk_cache", dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_efile_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_efile_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_efile_prefix$descriptor() { return H5Pget_efile_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_efile_prefix$handle() { return H5Pget_efile_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_efile_prefix$address() { return H5Pget_efile_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static long H5Pget_efile_prefix(long dapl_id, MemorySegment prefix, long size)
+ {
+ var mh$ = H5Pget_efile_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_efile_prefix", dapl_id, prefix, size);
+ }
+ return (long)mh$.invokeExact(dapl_id, prefix, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_prefix$descriptor() { return H5Pget_virtual_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_prefix$handle() { return H5Pget_virtual_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_prefix$address() { return H5Pget_virtual_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static long H5Pget_virtual_prefix(long dapl_id, MemorySegment prefix, long size)
+ {
+ var mh$ = H5Pget_virtual_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_prefix", dapl_id, prefix, size);
+ }
+ return (long)mh$.invokeExact(dapl_id, prefix, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_printf_gap {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_printf_gap");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_printf_gap$descriptor()
+ {
+ return H5Pget_virtual_printf_gap.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_printf_gap$handle() { return H5Pget_virtual_printf_gap.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_printf_gap$address() { return H5Pget_virtual_printf_gap.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static int H5Pget_virtual_printf_gap(long dapl_id, MemorySegment gap_size)
+ {
+ var mh$ = H5Pget_virtual_printf_gap.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_printf_gap", dapl_id, gap_size);
+ }
+ return (int)mh$.invokeExact(dapl_id, gap_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_view {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_view");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_view$descriptor() { return H5Pget_virtual_view.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_view$handle() { return H5Pget_virtual_view.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_view$address() { return H5Pget_virtual_view.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static int H5Pget_virtual_view(long dapl_id, MemorySegment view)
+ {
+ var mh$ = H5Pget_virtual_view.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_view", dapl_id, view);
+ }
+ return (int)mh$.invokeExact(dapl_id, view);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_append_flush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_append_flush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_append_flush$descriptor() { return H5Pset_append_flush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static MethodHandle H5Pset_append_flush$handle() { return H5Pset_append_flush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static MemorySegment H5Pset_append_flush$address() { return H5Pset_append_flush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static int H5Pset_append_flush(long dapl_id, int ndims, MemorySegment boundary, MemorySegment func,
+ MemorySegment udata)
+ {
+ var mh$ = H5Pset_append_flush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_append_flush", dapl_id, ndims, boundary, func, udata);
+ }
+ return (int)mh$.invokeExact(dapl_id, ndims, boundary, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_chunk_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_DOUBLE);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_chunk_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_chunk_cache$descriptor() { return H5Pset_chunk_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pset_chunk_cache$handle() { return H5Pset_chunk_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pset_chunk_cache$address() { return H5Pset_chunk_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static int H5Pset_chunk_cache(long dapl_id, long rdcc_nslots, long rdcc_nbytes, double rdcc_w0)
+ {
+ var mh$ = H5Pset_chunk_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_chunk_cache", dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_efile_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_efile_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_efile_prefix$descriptor() { return H5Pset_efile_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MethodHandle H5Pset_efile_prefix$handle() { return H5Pset_efile_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MemorySegment H5Pset_efile_prefix$address() { return H5Pset_efile_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static int H5Pset_efile_prefix(long dapl_id, MemorySegment prefix)
+ {
+ var mh$ = H5Pset_efile_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_efile_prefix", dapl_id, prefix);
+ }
+ return (int)mh$.invokeExact(dapl_id, prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_prefix$descriptor() { return H5Pset_virtual_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_prefix$handle() { return H5Pset_virtual_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_prefix$address() { return H5Pset_virtual_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static int H5Pset_virtual_prefix(long dapl_id, MemorySegment prefix)
+ {
+ var mh$ = H5Pset_virtual_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_prefix", dapl_id, prefix);
+ }
+ return (int)mh$.invokeExact(dapl_id, prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_printf_gap {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_printf_gap");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_printf_gap$descriptor()
+ {
+ return H5Pset_virtual_printf_gap.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_printf_gap$handle() { return H5Pset_virtual_printf_gap.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_printf_gap$address() { return H5Pset_virtual_printf_gap.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static int H5Pset_virtual_printf_gap(long dapl_id, long gap_size)
+ {
+ var mh$ = H5Pset_virtual_printf_gap.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_printf_gap", dapl_id, gap_size);
+ }
+ return (int)mh$.invokeExact(dapl_id, gap_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_view {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_view");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_view$descriptor() { return H5Pset_virtual_view.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_view$handle() { return H5Pset_virtual_view.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_view$address() { return H5Pset_virtual_view.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static int H5Pset_virtual_view(long dapl_id, int view)
+ {
+ var mh$ = H5Pset_virtual_view.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_view", dapl_id, view);
+ }
+ return (int)mh$.invokeExact(dapl_id, view);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_btree_ratios {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_btree_ratios");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_btree_ratios$descriptor() { return H5Pget_btree_ratios.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static MethodHandle H5Pget_btree_ratios$handle() { return H5Pget_btree_ratios.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static MemorySegment H5Pget_btree_ratios$address() { return H5Pget_btree_ratios.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static int H5Pget_btree_ratios(long plist_id, MemorySegment left, MemorySegment middle,
+ MemorySegment right)
+ {
+ var mh$ = H5Pget_btree_ratios.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_btree_ratios", plist_id, left, middle, right);
+ }
+ return (int)mh$.invokeExact(plist_id, left, middle, right);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_buffer {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_buffer");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_buffer$descriptor() { return H5Pget_buffer.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static MethodHandle H5Pget_buffer$handle() { return H5Pget_buffer.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static MemorySegment H5Pget_buffer$address() { return H5Pget_buffer.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static long H5Pget_buffer(long plist_id, MemorySegment tconv, MemorySegment bkg)
+ {
+ var mh$ = H5Pget_buffer.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_buffer", plist_id, tconv, bkg);
+ }
+ return (long)mh$.invokeExact(plist_id, tconv, bkg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_data_transform {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_data_transform");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_data_transform$descriptor() { return H5Pget_data_transform.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_data_transform$handle() { return H5Pget_data_transform.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_data_transform$address() { return H5Pget_data_transform.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static long H5Pget_data_transform(long plist_id, MemorySegment expression, long size)
+ {
+ var mh$ = H5Pget_data_transform.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_data_transform", plist_id, expression, size);
+ }
+ return (long)mh$.invokeExact(plist_id, expression, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_edc_check {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_edc_check");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_edc_check$descriptor() { return H5Pget_edc_check.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_edc_check$handle() { return H5Pget_edc_check.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_edc_check$address() { return H5Pget_edc_check.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_edc_check(long plist_id)
+ {
+ var mh$ = H5Pget_edc_check.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_edc_check", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_hyper_vector_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_hyper_vector_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_hyper_vector_size$descriptor()
+ {
+ return H5Pget_hyper_vector_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_hyper_vector_size$handle() { return H5Pget_hyper_vector_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_hyper_vector_size$address() { return H5Pget_hyper_vector_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static int H5Pget_hyper_vector_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_hyper_vector_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_hyper_vector_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_preserve {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_preserve");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_preserve$descriptor() { return H5Pget_preserve.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_preserve$handle() { return H5Pget_preserve.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_preserve$address() { return H5Pget_preserve.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_preserve(long plist_id)
+ {
+ var mh$ = H5Pget_preserve.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_preserve", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_type_conv_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_type_conv_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_type_conv_cb$descriptor() { return H5Pget_type_conv_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static MethodHandle H5Pget_type_conv_cb$handle() { return H5Pget_type_conv_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static MemorySegment H5Pget_type_conv_cb$address() { return H5Pget_type_conv_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static int H5Pget_type_conv_cb(long dxpl_id, MemorySegment op, MemorySegment operate_data)
+ {
+ var mh$ = H5Pget_type_conv_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_type_conv_cb", dxpl_id, op, operate_data);
+ }
+ return (int)mh$.invokeExact(dxpl_id, op, operate_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vlen_mem_manager {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vlen_mem_manager");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vlen_mem_manager$descriptor()
+ {
+ return H5Pget_vlen_mem_manager.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static MethodHandle H5Pget_vlen_mem_manager$handle() { return H5Pget_vlen_mem_manager.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static MemorySegment H5Pget_vlen_mem_manager$address() { return H5Pget_vlen_mem_manager.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static int H5Pget_vlen_mem_manager(long plist_id, MemorySegment alloc_func,
+ MemorySegment alloc_info, MemorySegment free_func,
+ MemorySegment free_info)
+ {
+ var mh$ = H5Pget_vlen_mem_manager.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vlen_mem_manager", plist_id, alloc_func, alloc_info, free_func,
+ free_info);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_func, alloc_info, free_func, free_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_btree_ratios {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_DOUBLE, hdf5_h.C_DOUBLE, hdf5_h.C_DOUBLE);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_btree_ratios");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_btree_ratios$descriptor() { return H5Pset_btree_ratios.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static MethodHandle H5Pset_btree_ratios$handle() { return H5Pset_btree_ratios.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static MemorySegment H5Pset_btree_ratios$address() { return H5Pset_btree_ratios.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static int H5Pset_btree_ratios(long plist_id, double left, double middle, double right)
+ {
+ var mh$ = H5Pset_btree_ratios.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_btree_ratios", plist_id, left, middle, right);
+ }
+ return (int)mh$.invokeExact(plist_id, left, middle, right);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_buffer {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_buffer");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_buffer$descriptor() { return H5Pset_buffer.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static MethodHandle H5Pset_buffer$handle() { return H5Pset_buffer.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static MemorySegment H5Pset_buffer$address() { return H5Pset_buffer.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static int H5Pset_buffer(long plist_id, long size, MemorySegment tconv, MemorySegment bkg)
+ {
+ var mh$ = H5Pset_buffer.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_buffer", plist_id, size, tconv, bkg);
+ }
+ return (int)mh$.invokeExact(plist_id, size, tconv, bkg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_data_transform {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_data_transform");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_data_transform$descriptor() { return H5Pset_data_transform.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static MethodHandle H5Pset_data_transform$handle() { return H5Pset_data_transform.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static MemorySegment H5Pset_data_transform$address() { return H5Pset_data_transform.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static int H5Pset_data_transform(long plist_id, MemorySegment expression)
+ {
+ var mh$ = H5Pset_data_transform.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_data_transform", plist_id, expression);
+ }
+ return (int)mh$.invokeExact(plist_id, expression);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_edc_check {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_edc_check");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_edc_check$descriptor() { return H5Pset_edc_check.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static MethodHandle H5Pset_edc_check$handle() { return H5Pset_edc_check.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static MemorySegment H5Pset_edc_check$address() { return H5Pset_edc_check.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static int H5Pset_edc_check(long plist_id, int check)
+ {
+ var mh$ = H5Pset_edc_check.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_edc_check", plist_id, check);
+ }
+ return (int)mh$.invokeExact(plist_id, check);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_filter_callback {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_filter_callback");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_filter_callback$descriptor()
+ {
+ return H5Pset_filter_callback.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Pset_filter_callback$handle() { return H5Pset_filter_callback.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Pset_filter_callback$address() { return H5Pset_filter_callback.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static int H5Pset_filter_callback(long plist_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pset_filter_callback.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_filter_callback", plist_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(plist_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_hyper_vector_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_hyper_vector_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_hyper_vector_size$descriptor()
+ {
+ return H5Pset_hyper_vector_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_hyper_vector_size$handle() { return H5Pset_hyper_vector_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_hyper_vector_size$address() { return H5Pset_hyper_vector_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static int H5Pset_hyper_vector_size(long plist_id, long size)
+ {
+ var mh$ = H5Pset_hyper_vector_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_hyper_vector_size", plist_id, size);
+ }
+ return (int)mh$.invokeExact(plist_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_preserve {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_preserve");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_preserve$descriptor() { return H5Pset_preserve.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static MethodHandle H5Pset_preserve$handle() { return H5Pset_preserve.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static MemorySegment H5Pset_preserve$address() { return H5Pset_preserve.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static int H5Pset_preserve(long plist_id, boolean status)
+ {
+ var mh$ = H5Pset_preserve.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_preserve", plist_id, status);
+ }
+ return (int)mh$.invokeExact(plist_id, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_type_conv_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_type_conv_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_type_conv_cb$descriptor() { return H5Pset_type_conv_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static MethodHandle H5Pset_type_conv_cb$handle() { return H5Pset_type_conv_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static MemorySegment H5Pset_type_conv_cb$address() { return H5Pset_type_conv_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static int H5Pset_type_conv_cb(long dxpl_id, MemorySegment op, MemorySegment operate_data)
+ {
+ var mh$ = H5Pset_type_conv_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_type_conv_cb", dxpl_id, op, operate_data);
+ }
+ return (int)mh$.invokeExact(dxpl_id, op, operate_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_vlen_mem_manager {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_vlen_mem_manager");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_vlen_mem_manager$descriptor()
+ {
+ return H5Pset_vlen_mem_manager.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static MethodHandle H5Pset_vlen_mem_manager$handle() { return H5Pset_vlen_mem_manager.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static MemorySegment H5Pset_vlen_mem_manager$address() { return H5Pset_vlen_mem_manager.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static int H5Pset_vlen_mem_manager(long plist_id, MemorySegment alloc_func,
+ MemorySegment alloc_info, MemorySegment free_func,
+ MemorySegment free_info)
+ {
+ var mh$ = H5Pset_vlen_mem_manager.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_vlen_mem_manager", plist_id, alloc_func, alloc_info, free_func,
+ free_info);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_func, alloc_info, free_func, free_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_dataset_io_hyperslab_selection {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_dataset_io_hyperslab_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Pset_dataset_io_hyperslab_selection$descriptor()
+ {
+ return H5Pset_dataset_io_hyperslab_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Pset_dataset_io_hyperslab_selection$handle()
+ {
+ return H5Pset_dataset_io_hyperslab_selection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Pset_dataset_io_hyperslab_selection$address()
+ {
+ return H5Pset_dataset_io_hyperslab_selection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static int H5Pset_dataset_io_hyperslab_selection(long plist_id, int rank, int op,
+ MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Pset_dataset_io_hyperslab_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_dataset_io_hyperslab_selection", plist_id, rank, op, start, stride,
+ count, block);
+ }
+ return (int)mh$.invokeExact(plist_id, rank, op, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_selection_io {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_selection_io");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_selection_io$descriptor() { return H5Pset_selection_io.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static MethodHandle H5Pset_selection_io$handle() { return H5Pset_selection_io.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static MemorySegment H5Pset_selection_io$address() { return H5Pset_selection_io.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static int H5Pset_selection_io(long plist_id, int selection_io_mode)
+ {
+ var mh$ = H5Pset_selection_io.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_selection_io", plist_id, selection_io_mode);
+ }
+ return (int)mh$.invokeExact(plist_id, selection_io_mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_selection_io {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_selection_io");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_selection_io$descriptor() { return H5Pget_selection_io.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static MethodHandle H5Pget_selection_io$handle() { return H5Pget_selection_io.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static MemorySegment H5Pget_selection_io$address() { return H5Pget_selection_io.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static int H5Pget_selection_io(long plist_id, MemorySegment selection_io_mode)
+ {
+ var mh$ = H5Pget_selection_io.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_selection_io", plist_id, selection_io_mode);
+ }
+ return (int)mh$.invokeExact(plist_id, selection_io_mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_no_selection_io_cause {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_no_selection_io_cause");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_no_selection_io_cause$descriptor()
+ {
+ return H5Pget_no_selection_io_cause.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static MethodHandle H5Pget_no_selection_io_cause$handle()
+ {
+ return H5Pget_no_selection_io_cause.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static MemorySegment H5Pget_no_selection_io_cause$address()
+ {
+ return H5Pget_no_selection_io_cause.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static int H5Pget_no_selection_io_cause(long plist_id, MemorySegment no_selection_io_cause)
+ {
+ var mh$ = H5Pget_no_selection_io_cause.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_no_selection_io_cause", plist_id, no_selection_io_cause);
+ }
+ return (int)mh$.invokeExact(plist_id, no_selection_io_cause);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_actual_selection_io_mode {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_actual_selection_io_mode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_actual_selection_io_mode$descriptor()
+ {
+ return H5Pget_actual_selection_io_mode.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static MethodHandle H5Pget_actual_selection_io_mode$handle()
+ {
+ return H5Pget_actual_selection_io_mode.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static MemorySegment H5Pget_actual_selection_io_mode$address()
+ {
+ return H5Pget_actual_selection_io_mode.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static int H5Pget_actual_selection_io_mode(long plist_id, MemorySegment actual_selection_io_mode)
+ {
+ var mh$ = H5Pget_actual_selection_io_mode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_actual_selection_io_mode", plist_id, actual_selection_io_mode);
+ }
+ return (int)mh$.invokeExact(plist_id, actual_selection_io_mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_modify_write_buf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_modify_write_buf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_modify_write_buf$descriptor()
+ {
+ return H5Pset_modify_write_buf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static MethodHandle H5Pset_modify_write_buf$handle() { return H5Pset_modify_write_buf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static MemorySegment H5Pset_modify_write_buf$address() { return H5Pset_modify_write_buf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static int H5Pset_modify_write_buf(long plist_id, boolean modify_write_buf)
+ {
+ var mh$ = H5Pset_modify_write_buf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_modify_write_buf", plist_id, modify_write_buf);
+ }
+ return (int)mh$.invokeExact(plist_id, modify_write_buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_modify_write_buf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_modify_write_buf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_modify_write_buf$descriptor()
+ {
+ return H5Pget_modify_write_buf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static MethodHandle H5Pget_modify_write_buf$handle() { return H5Pget_modify_write_buf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static MemorySegment H5Pget_modify_write_buf$address() { return H5Pget_modify_write_buf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static int H5Pget_modify_write_buf(long plist_id, MemorySegment modify_write_buf)
+ {
+ var mh$ = H5Pget_modify_write_buf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_modify_write_buf", plist_id, modify_write_buf);
+ }
+ return (int)mh$.invokeExact(plist_id, modify_write_buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_create_intermediate_group {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_create_intermediate_group");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_create_intermediate_group$descriptor()
+ {
+ return H5Pget_create_intermediate_group.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static MethodHandle H5Pget_create_intermediate_group$handle()
+ {
+ return H5Pget_create_intermediate_group.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static MemorySegment H5Pget_create_intermediate_group$address()
+ {
+ return H5Pget_create_intermediate_group.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static int H5Pget_create_intermediate_group(long plist_id, MemorySegment crt_intmd)
+ {
+ var mh$ = H5Pget_create_intermediate_group.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_create_intermediate_group", plist_id, crt_intmd);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_intmd);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_create_intermediate_group {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_create_intermediate_group");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_create_intermediate_group$descriptor()
+ {
+ return H5Pset_create_intermediate_group.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static MethodHandle H5Pset_create_intermediate_group$handle()
+ {
+ return H5Pset_create_intermediate_group.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static MemorySegment H5Pset_create_intermediate_group$address()
+ {
+ return H5Pset_create_intermediate_group.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static int H5Pset_create_intermediate_group(long plist_id, int crt_intmd)
+ {
+ var mh$ = H5Pset_create_intermediate_group.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_create_intermediate_group", plist_id, crt_intmd);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_intmd);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_est_link_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_est_link_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_est_link_info$descriptor() { return H5Pget_est_link_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static MethodHandle H5Pget_est_link_info$handle() { return H5Pget_est_link_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static MemorySegment H5Pget_est_link_info$address() { return H5Pget_est_link_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static int H5Pget_est_link_info(long plist_id, MemorySegment est_num_entries,
+ MemorySegment est_name_len)
+ {
+ var mh$ = H5Pget_est_link_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_est_link_info", plist_id, est_num_entries, est_name_len);
+ }
+ return (int)mh$.invokeExact(plist_id, est_num_entries, est_name_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_link_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_link_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_link_creation_order$descriptor()
+ {
+ return H5Pget_link_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pget_link_creation_order$handle()
+ {
+ return H5Pget_link_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pget_link_creation_order$address()
+ {
+ return H5Pget_link_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static int H5Pget_link_creation_order(long plist_id, MemorySegment crt_order_flags)
+ {
+ var mh$ = H5Pget_link_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_link_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_link_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_link_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_link_phase_change$descriptor()
+ {
+ return H5Pget_link_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MethodHandle H5Pget_link_phase_change$handle() { return H5Pget_link_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MemorySegment H5Pget_link_phase_change$address() { return H5Pget_link_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static int H5Pget_link_phase_change(long plist_id, MemorySegment max_compact,
+ MemorySegment min_dense)
+ {
+ var mh$ = H5Pget_link_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_link_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_local_heap_size_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_local_heap_size_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_local_heap_size_hint$descriptor()
+ {
+ return H5Pget_local_heap_size_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static MethodHandle H5Pget_local_heap_size_hint$handle()
+ {
+ return H5Pget_local_heap_size_hint.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static MemorySegment H5Pget_local_heap_size_hint$address()
+ {
+ return H5Pget_local_heap_size_hint.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static int H5Pget_local_heap_size_hint(long plist_id, MemorySegment size_hint)
+ {
+ var mh$ = H5Pget_local_heap_size_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_local_heap_size_hint", plist_id, size_hint);
+ }
+ return (int)mh$.invokeExact(plist_id, size_hint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_est_link_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_est_link_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_est_link_info$descriptor() { return H5Pset_est_link_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static MethodHandle H5Pset_est_link_info$handle() { return H5Pset_est_link_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static MemorySegment H5Pset_est_link_info$address() { return H5Pset_est_link_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static int H5Pset_est_link_info(long plist_id, int est_num_entries, int est_name_len)
+ {
+ var mh$ = H5Pset_est_link_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_est_link_info", plist_id, est_num_entries, est_name_len);
+ }
+ return (int)mh$.invokeExact(plist_id, est_num_entries, est_name_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_link_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_link_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_link_creation_order$descriptor()
+ {
+ return H5Pset_link_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pset_link_creation_order$handle()
+ {
+ return H5Pset_link_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pset_link_creation_order$address()
+ {
+ return H5Pset_link_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static int H5Pset_link_creation_order(long plist_id, int crt_order_flags)
+ {
+ var mh$ = H5Pset_link_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_link_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_link_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_link_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_link_phase_change$descriptor()
+ {
+ return H5Pset_link_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MethodHandle H5Pset_link_phase_change$handle() { return H5Pset_link_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MemorySegment H5Pset_link_phase_change$address() { return H5Pset_link_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static int H5Pset_link_phase_change(long plist_id, int max_compact, int min_dense)
+ {
+ var mh$ = H5Pset_link_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_link_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_local_heap_size_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_local_heap_size_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_local_heap_size_hint$descriptor()
+ {
+ return H5Pset_local_heap_size_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static MethodHandle H5Pset_local_heap_size_hint$handle()
+ {
+ return H5Pset_local_heap_size_hint.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static MemorySegment H5Pset_local_heap_size_hint$address()
+ {
+ return H5Pset_local_heap_size_hint.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static int H5Pset_local_heap_size_hint(long plist_id, long size_hint)
+ {
+ var mh$ = H5Pset_local_heap_size_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_local_heap_size_hint", plist_id, size_hint);
+ }
+ return (int)mh$.invokeExact(plist_id, size_hint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_char_encoding {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_char_encoding");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_char_encoding$descriptor() { return H5Pget_char_encoding.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static MethodHandle H5Pget_char_encoding$handle() { return H5Pget_char_encoding.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static MemorySegment H5Pget_char_encoding$address() { return H5Pget_char_encoding.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static int H5Pget_char_encoding(long plist_id, MemorySegment encoding)
+ {
+ var mh$ = H5Pget_char_encoding.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_char_encoding", plist_id, encoding);
+ }
+ return (int)mh$.invokeExact(plist_id, encoding);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_char_encoding {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_char_encoding");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_char_encoding$descriptor() { return H5Pset_char_encoding.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static MethodHandle H5Pset_char_encoding$handle() { return H5Pset_char_encoding.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static MemorySegment H5Pset_char_encoding$address() { return H5Pset_char_encoding.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static int H5Pset_char_encoding(long plist_id, int encoding)
+ {
+ var mh$ = H5Pset_char_encoding.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_char_encoding", plist_id, encoding);
+ }
+ return (int)mh$.invokeExact(plist_id, encoding);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_acc_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_acc_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_acc_flags$descriptor()
+ {
+ return H5Pget_elink_acc_flags.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_acc_flags$handle() { return H5Pget_elink_acc_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_acc_flags$address() { return H5Pget_elink_acc_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static int H5Pget_elink_acc_flags(long lapl_id, MemorySegment flags)
+ {
+ var mh$ = H5Pget_elink_acc_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_acc_flags", lapl_id, flags);
+ }
+ return (int)mh$.invokeExact(lapl_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_cb$descriptor() { return H5Pget_elink_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_cb$handle() { return H5Pget_elink_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_cb$address() { return H5Pget_elink_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static int H5Pget_elink_cb(long lapl_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pget_elink_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_cb", lapl_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(lapl_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_fapl {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_fapl");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_fapl$descriptor() { return H5Pget_elink_fapl.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_fapl$handle() { return H5Pget_elink_fapl.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_fapl$address() { return H5Pget_elink_fapl.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static long H5Pget_elink_fapl(long lapl_id)
+ {
+ var mh$ = H5Pget_elink_fapl.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_fapl", lapl_id);
+ }
+ return (long)mh$.invokeExact(lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_prefix$descriptor() { return H5Pget_elink_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_prefix$handle() { return H5Pget_elink_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_prefix$address() { return H5Pget_elink_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static long H5Pget_elink_prefix(long plist_id, MemorySegment prefix, long size)
+ {
+ var mh$ = H5Pget_elink_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_prefix", plist_id, prefix, size);
+ }
+ return (long)mh$.invokeExact(plist_id, prefix, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_nlinks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_nlinks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_nlinks$descriptor() { return H5Pget_nlinks.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static MethodHandle H5Pget_nlinks$handle() { return H5Pget_nlinks.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static MemorySegment H5Pget_nlinks$address() { return H5Pget_nlinks.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static int H5Pget_nlinks(long plist_id, MemorySegment nlinks)
+ {
+ var mh$ = H5Pget_nlinks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_nlinks", plist_id, nlinks);
+ }
+ return (int)mh$.invokeExact(plist_id, nlinks);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_acc_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_acc_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_acc_flags$descriptor()
+ {
+ return H5Pset_elink_acc_flags.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_acc_flags$handle() { return H5Pset_elink_acc_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_acc_flags$address() { return H5Pset_elink_acc_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static int H5Pset_elink_acc_flags(long lapl_id, int flags)
+ {
+ var mh$ = H5Pset_elink_acc_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_acc_flags", lapl_id, flags);
+ }
+ return (int)mh$.invokeExact(lapl_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_cb$descriptor() { return H5Pset_elink_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_cb$handle() { return H5Pset_elink_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_cb$address() { return H5Pset_elink_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static int H5Pset_elink_cb(long lapl_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pset_elink_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_cb", lapl_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(lapl_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_fapl {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_fapl");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_fapl$descriptor() { return H5Pset_elink_fapl.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_fapl$handle() { return H5Pset_elink_fapl.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_fapl$address() { return H5Pset_elink_fapl.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_elink_fapl(long lapl_id, long fapl_id)
+ {
+ var mh$ = H5Pset_elink_fapl.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_fapl", lapl_id, fapl_id);
+ }
+ return (int)mh$.invokeExact(lapl_id, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_prefix$descriptor() { return H5Pset_elink_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_prefix$handle() { return H5Pset_elink_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_prefix$address() { return H5Pset_elink_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static int H5Pset_elink_prefix(long plist_id, MemorySegment prefix)
+ {
+ var mh$ = H5Pset_elink_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_prefix", plist_id, prefix);
+ }
+ return (int)mh$.invokeExact(plist_id, prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_nlinks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_nlinks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_nlinks$descriptor() { return H5Pset_nlinks.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static MethodHandle H5Pset_nlinks$handle() { return H5Pset_nlinks.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static MemorySegment H5Pset_nlinks$address() { return H5Pset_nlinks.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static int H5Pset_nlinks(long plist_id, long nlinks)
+ {
+ var mh$ = H5Pset_nlinks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_nlinks", plist_id, nlinks);
+ }
+ return (int)mh$.invokeExact(plist_id, nlinks);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Padd_merge_committed_dtype_path {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Padd_merge_committed_dtype_path");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static FunctionDescriptor H5Padd_merge_committed_dtype_path$descriptor()
+ {
+ return H5Padd_merge_committed_dtype_path.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static MethodHandle H5Padd_merge_committed_dtype_path$handle()
+ {
+ return H5Padd_merge_committed_dtype_path.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static MemorySegment H5Padd_merge_committed_dtype_path$address()
+ {
+ return H5Padd_merge_committed_dtype_path.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static int H5Padd_merge_committed_dtype_path(long plist_id, MemorySegment path)
+ {
+ var mh$ = H5Padd_merge_committed_dtype_path.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Padd_merge_committed_dtype_path", plist_id, path);
+ }
+ return (int)mh$.invokeExact(plist_id, path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pfree_merge_committed_dtype_paths {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pfree_merge_committed_dtype_paths");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pfree_merge_committed_dtype_paths$descriptor()
+ {
+ return H5Pfree_merge_committed_dtype_paths.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pfree_merge_committed_dtype_paths$handle()
+ {
+ return H5Pfree_merge_committed_dtype_paths.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pfree_merge_committed_dtype_paths$address()
+ {
+ return H5Pfree_merge_committed_dtype_paths.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static int H5Pfree_merge_committed_dtype_paths(long plist_id)
+ {
+ var mh$ = H5Pfree_merge_committed_dtype_paths.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pfree_merge_committed_dtype_paths", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_copy_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_copy_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_copy_object$descriptor() { return H5Pget_copy_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static MethodHandle H5Pget_copy_object$handle() { return H5Pget_copy_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static MemorySegment H5Pget_copy_object$address() { return H5Pget_copy_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static int H5Pget_copy_object(long plist_id, MemorySegment copy_options)
+ {
+ var mh$ = H5Pget_copy_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_copy_object", plist_id, copy_options);
+ }
+ return (int)mh$.invokeExact(plist_id, copy_options);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mcdt_search_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mcdt_search_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mcdt_search_cb$descriptor() { return H5Pget_mcdt_search_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static MethodHandle H5Pget_mcdt_search_cb$handle() { return H5Pget_mcdt_search_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static MemorySegment H5Pget_mcdt_search_cb$address() { return H5Pget_mcdt_search_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static int H5Pget_mcdt_search_cb(long plist_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pget_mcdt_search_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mcdt_search_cb", plist_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(plist_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_copy_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_copy_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_copy_object$descriptor() { return H5Pset_copy_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static MethodHandle H5Pset_copy_object$handle() { return H5Pset_copy_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static MemorySegment H5Pset_copy_object$address() { return H5Pset_copy_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static int H5Pset_copy_object(long plist_id, int copy_options)
+ {
+ var mh$ = H5Pset_copy_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_copy_object", plist_id, copy_options);
+ }
+ return (int)mh$.invokeExact(plist_id, copy_options);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mcdt_search_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mcdt_search_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mcdt_search_cb$descriptor() { return H5Pset_mcdt_search_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Pset_mcdt_search_cb$handle() { return H5Pset_mcdt_search_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Pset_mcdt_search_cb$address() { return H5Pset_mcdt_search_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static int H5Pset_mcdt_search_cb(long plist_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pset_mcdt_search_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mcdt_search_cb", plist_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(plist_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pregister1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pregister1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pregister1$descriptor() { return H5Pregister1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MethodHandle H5Pregister1$handle() { return H5Pregister1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MemorySegment H5Pregister1$address() { return H5Pregister1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static int H5Pregister1(long cls_id, MemorySegment name, long size, MemorySegment def_value,
+ MemorySegment prp_create, MemorySegment prp_set, MemorySegment prp_get,
+ MemorySegment prp_del, MemorySegment prp_copy, MemorySegment prp_close)
+ {
+ var mh$ = H5Pregister1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pregister1", cls_id, name, size, def_value, prp_create, prp_set, prp_get,
+ prp_del, prp_copy, prp_close);
+ }
+ return (int)mh$.invokeExact(cls_id, name, size, def_value, prp_create, prp_set, prp_get, prp_del,
+ prp_copy, prp_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pinsert1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pinsert1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pinsert1$descriptor() { return H5Pinsert1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MethodHandle H5Pinsert1$handle() { return H5Pinsert1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MemorySegment H5Pinsert1$address() { return H5Pinsert1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static int H5Pinsert1(long plist_id, MemorySegment name, long size, MemorySegment value,
+ MemorySegment prp_set, MemorySegment prp_get, MemorySegment prp_delete,
+ MemorySegment prp_copy, MemorySegment prp_close)
+ {
+ var mh$ = H5Pinsert1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pinsert1", plist_id, name, size, value, prp_set, prp_get, prp_delete,
+ prp_copy, prp_close);
+ }
+ return (int)mh$.invokeExact(plist_id, name, size, value, prp_set, prp_get, prp_delete, prp_copy,
+ prp_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pencode1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pencode1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static FunctionDescriptor H5Pencode1$descriptor() { return H5Pencode1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MethodHandle H5Pencode1$handle() { return H5Pencode1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MemorySegment H5Pencode1$address() { return H5Pencode1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static int H5Pencode1(long plist_id, MemorySegment buf, MemorySegment nalloc)
+ {
+ var mh$ = H5Pencode1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pencode1", plist_id, buf, nalloc);
+ }
+ return (int)mh$.invokeExact(plist_id, buf, nalloc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter1$descriptor() { return H5Pget_filter1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MethodHandle H5Pget_filter1$handle() { return H5Pget_filter1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MemorySegment H5Pget_filter1$address() { return H5Pget_filter1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static int H5Pget_filter1(long plist_id, int filter, MemorySegment flags, MemorySegment cd_nelmts,
+ MemorySegment cd_values, long namelen, MemorySegment name)
+ {
+ var mh$ = H5Pget_filter1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter1", plist_id, filter, flags, cd_nelmts, cd_values, namelen, name);
+ }
+ return (int)mh$.invokeExact(plist_id, filter, flags, cd_nelmts, cd_values, namelen, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter_by_id1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter_by_id1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter_by_id1$descriptor() { return H5Pget_filter_by_id1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MethodHandle H5Pget_filter_by_id1$handle() { return H5Pget_filter_by_id1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MemorySegment H5Pget_filter_by_id1$address() { return H5Pget_filter_by_id1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static int H5Pget_filter_by_id1(long plist_id, int id, MemorySegment flags,
+ MemorySegment cd_nelmts, MemorySegment cd_values, long namelen,
+ MemorySegment name)
+ {
+ var mh$ = H5Pget_filter_by_id1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter_by_id1", plist_id, id, flags, cd_nelmts, cd_values, namelen,
+ name);
+ }
+ return (int)mh$.invokeExact(plist_id, id, flags, cd_nelmts, cd_values, namelen, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_version {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_version");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_version$descriptor() { return H5Pget_version.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static MethodHandle H5Pget_version$handle() { return H5Pget_version.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static MemorySegment H5Pget_version$address() { return H5Pget_version.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static int H5Pget_version(long plist_id, MemorySegment boot, MemorySegment freelist,
+ MemorySegment stab, MemorySegment shhdr)
+ {
+ var mh$ = H5Pget_version.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_version", plist_id, boot, freelist, stab, shhdr);
+ }
+ return (int)mh$.invokeExact(plist_id, boot, freelist, stab, shhdr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_space {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_space$descriptor() { return H5Pset_file_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static MethodHandle H5Pset_file_space$handle() { return H5Pset_file_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static MemorySegment H5Pset_file_space$address() { return H5Pset_file_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static int H5Pset_file_space(long plist_id, int strategy, long threshold)
+ {
+ var mh$ = H5Pset_file_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_space", plist_id, strategy, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_space {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_space$descriptor() { return H5Pget_file_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static MethodHandle H5Pget_file_space$handle() { return H5Pget_file_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static MemorySegment H5Pget_file_space$address() { return H5Pget_file_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static int H5Pget_file_space(long plist_id, MemorySegment strategy, MemorySegment threshold)
+ {
+ var mh$ = H5Pget_file_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_space", plist_id, strategy, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5PL_TYPE_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_ERROR = -1
+ * }
+ */
+ public static int H5PL_TYPE_ERROR() { return H5PL_TYPE_ERROR; }
+ private static final int H5PL_TYPE_FILTER = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_FILTER = 0
+ * }
+ */
+ public static int H5PL_TYPE_FILTER() { return H5PL_TYPE_FILTER; }
+ private static final int H5PL_TYPE_VOL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_VOL = 1
+ * }
+ */
+ public static int H5PL_TYPE_VOL() { return H5PL_TYPE_VOL; }
+ private static final int H5PL_TYPE_VFD = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_VFD = 2
+ * }
+ */
+ public static int H5PL_TYPE_VFD() { return H5PL_TYPE_VFD; }
+ private static final int H5PL_TYPE_NONE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_NONE = 3
+ * }
+ */
+ public static int H5PL_TYPE_NONE() { return H5PL_TYPE_NONE; }
+
+ private static class H5PLset_loading_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLset_loading_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static FunctionDescriptor H5PLset_loading_state$descriptor() { return H5PLset_loading_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static MethodHandle H5PLset_loading_state$handle() { return H5PLset_loading_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static MemorySegment H5PLset_loading_state$address() { return H5PLset_loading_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static int H5PLset_loading_state(int plugin_control_mask)
+ {
+ var mh$ = H5PLset_loading_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLset_loading_state", plugin_control_mask);
+ }
+ return (int)mh$.invokeExact(plugin_control_mask);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLget_loading_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLget_loading_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static FunctionDescriptor H5PLget_loading_state$descriptor() { return H5PLget_loading_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static MethodHandle H5PLget_loading_state$handle() { return H5PLget_loading_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static MemorySegment H5PLget_loading_state$address() { return H5PLget_loading_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static int H5PLget_loading_state(MemorySegment plugin_control_mask)
+ {
+ var mh$ = H5PLget_loading_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLget_loading_state", plugin_control_mask);
+ }
+ return (int)mh$.invokeExact(plugin_control_mask);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLappend {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLappend");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static FunctionDescriptor H5PLappend$descriptor() { return H5PLappend.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static MethodHandle H5PLappend$handle() { return H5PLappend.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static MemorySegment H5PLappend$address() { return H5PLappend.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static int H5PLappend(MemorySegment search_path)
+ {
+ var mh$ = H5PLappend.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLappend", search_path);
+ }
+ return (int)mh$.invokeExact(search_path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLprepend {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLprepend");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static FunctionDescriptor H5PLprepend$descriptor() { return H5PLprepend.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static MethodHandle H5PLprepend$handle() { return H5PLprepend.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static MemorySegment H5PLprepend$address() { return H5PLprepend.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static int H5PLprepend(MemorySegment search_path)
+ {
+ var mh$ = H5PLprepend.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLprepend", search_path);
+ }
+ return (int)mh$.invokeExact(search_path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLreplace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLreplace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static FunctionDescriptor H5PLreplace$descriptor() { return H5PLreplace.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MethodHandle H5PLreplace$handle() { return H5PLreplace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MemorySegment H5PLreplace$address() { return H5PLreplace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static int H5PLreplace(MemorySegment search_path, int index)
+ {
+ var mh$ = H5PLreplace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLreplace", search_path, index);
+ }
+ return (int)mh$.invokeExact(search_path, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLinsert {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLinsert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static FunctionDescriptor H5PLinsert$descriptor() { return H5PLinsert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MethodHandle H5PLinsert$handle() { return H5PLinsert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MemorySegment H5PLinsert$address() { return H5PLinsert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static int H5PLinsert(MemorySegment search_path, int index)
+ {
+ var mh$ = H5PLinsert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLinsert", search_path, index);
+ }
+ return (int)mh$.invokeExact(search_path, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLremove {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLremove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static FunctionDescriptor H5PLremove$descriptor() { return H5PLremove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static MethodHandle H5PLremove$handle() { return H5PLremove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static MemorySegment H5PLremove$address() { return H5PLremove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static int H5PLremove(int index)
+ {
+ var mh$ = H5PLremove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLremove", index);
+ }
+ return (int)mh$.invokeExact(index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLget {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLget");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5PLget$descriptor() { return H5PLget.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5PLget$handle() { return H5PLget.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5PLget$address() { return H5PLget.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static long H5PLget(int index, MemorySegment path_buf, long buf_size)
+ {
+ var mh$ = H5PLget.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLget", index, path_buf, buf_size);
+ }
+ return (long)mh$.invokeExact(index, path_buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLsize {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLsize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static FunctionDescriptor H5PLsize$descriptor() { return H5PLsize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static MethodHandle H5PLsize$handle() { return H5PLsize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static MemorySegment H5PLsize$address() { return H5PLsize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static int H5PLsize(MemorySegment num_paths)
+ {
+ var mh$ = H5PLsize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLsize", num_paths);
+ }
+ return (int)mh$.invokeExact(num_paths);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESinsert_request {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESinsert_request");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static FunctionDescriptor H5ESinsert_request$descriptor() { return H5ESinsert_request.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static MethodHandle H5ESinsert_request$handle() { return H5ESinsert_request.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static MemorySegment H5ESinsert_request$address() { return H5ESinsert_request.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static int H5ESinsert_request(long es_id, long connector_id, MemorySegment request)
+ {
+ var mh$ = H5ESinsert_request.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESinsert_request", es_id, connector_id, request);
+ }
+ return (int)mh$.invokeExact(es_id, connector_id, request);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_requests {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_requests");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_requests$descriptor() { return H5ESget_requests.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static MethodHandle H5ESget_requests$handle() { return H5ESget_requests.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static MemorySegment H5ESget_requests$address() { return H5ESget_requests.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static int H5ESget_requests(long es_id, int order, MemorySegment connector_ids,
+ MemorySegment requests, long array_len, MemorySegment count)
+ {
+ var mh$ = H5ESget_requests.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_requests", es_id, order, connector_ids, requests, array_len, count);
+ }
+ return (int)mh$.invokeExact(es_id, order, connector_ids, requests, array_len, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static FunctionDescriptor H5FDregister$descriptor() { return H5FDregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static MethodHandle H5FDregister$handle() { return H5FDregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static MemorySegment H5FDregister$address() { return H5FDregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static long H5FDregister(MemorySegment cls)
+ {
+ var mh$ = H5FDregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDregister", cls);
+ }
+ return (long)mh$.invokeExact(cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDis_driver_registered_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDis_driver_registered_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static FunctionDescriptor H5FDis_driver_registered_by_name$descriptor()
+ {
+ return H5FDis_driver_registered_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static MethodHandle H5FDis_driver_registered_by_name$handle()
+ {
+ return H5FDis_driver_registered_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static MemorySegment H5FDis_driver_registered_by_name$address()
+ {
+ return H5FDis_driver_registered_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static int H5FDis_driver_registered_by_name(MemorySegment driver_name)
+ {
+ var mh$ = H5FDis_driver_registered_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDis_driver_registered_by_name", driver_name);
+ }
+ return (int)mh$.invokeExact(driver_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDis_driver_registered_by_value {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDis_driver_registered_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static FunctionDescriptor H5FDis_driver_registered_by_value$descriptor()
+ {
+ return H5FDis_driver_registered_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static MethodHandle H5FDis_driver_registered_by_value$handle()
+ {
+ return H5FDis_driver_registered_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static MemorySegment H5FDis_driver_registered_by_value$address()
+ {
+ return H5FDis_driver_registered_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static int H5FDis_driver_registered_by_value(int driver_value)
+ {
+ var mh$ = H5FDis_driver_registered_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDis_driver_registered_by_value", driver_value);
+ }
+ return (int)mh$.invokeExact(driver_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static FunctionDescriptor H5FDunregister$descriptor() { return H5FDunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static MethodHandle H5FDunregister$handle() { return H5FDunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static MemorySegment H5FDunregister$address() { return H5FDunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static int H5FDunregister(long driver_id)
+ {
+ var mh$ = H5FDunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDunregister", driver_id);
+ }
+ return (int)mh$.invokeExact(driver_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDopen {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static FunctionDescriptor H5FDopen$descriptor() { return H5FDopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static MethodHandle H5FDopen$handle() { return H5FDopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static MemorySegment H5FDopen$address() { return H5FDopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static MemorySegment H5FDopen(MemorySegment name, int flags, long fapl_id, long maxaddr)
+ {
+ var mh$ = H5FDopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDopen", name, flags, fapl_id, maxaddr);
+ }
+ return (MemorySegment)mh$.invokeExact(name, flags, fapl_id, maxaddr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static FunctionDescriptor H5FDclose$descriptor() { return H5FDclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static MethodHandle H5FDclose$handle() { return H5FDclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static MemorySegment H5FDclose$address() { return H5FDclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static int H5FDclose(MemorySegment file)
+ {
+ var mh$ = H5FDclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDclose", file);
+ }
+ return (int)mh$.invokeExact(file);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDcmp {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDcmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static FunctionDescriptor H5FDcmp$descriptor() { return H5FDcmp.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static MethodHandle H5FDcmp$handle() { return H5FDcmp.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static MemorySegment H5FDcmp$address() { return H5FDcmp.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static int H5FDcmp(MemorySegment f1, MemorySegment f2)
+ {
+ var mh$ = H5FDcmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDcmp", f1, f2);
+ }
+ return (int)mh$.invokeExact(f1, f2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDquery {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDquery");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static FunctionDescriptor H5FDquery$descriptor() { return H5FDquery.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static MethodHandle H5FDquery$handle() { return H5FDquery.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static MemorySegment H5FDquery$address() { return H5FDquery.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static int H5FDquery(MemorySegment f, MemorySegment flags)
+ {
+ var mh$ = H5FDquery.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDquery", f, flags);
+ }
+ return (int)mh$.invokeExact(f, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDalloc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDalloc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5FDalloc$descriptor() { return H5FDalloc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5FDalloc$handle() { return H5FDalloc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5FDalloc$address() { return H5FDalloc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static long H5FDalloc(MemorySegment file, int type, long dxpl_id, long size)
+ {
+ var mh$ = H5FDalloc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDalloc", file, type, dxpl_id, size);
+ }
+ return (long)mh$.invokeExact(file, type, dxpl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDfree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDfree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5FDfree$descriptor() { return H5FDfree.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5FDfree$handle() { return H5FDfree.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5FDfree$address() { return H5FDfree.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static int H5FDfree(MemorySegment file, int type, long dxpl_id, long addr, long size)
+ {
+ var mh$ = H5FDfree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDfree", file, type, dxpl_id, addr, size);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, addr, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDget_eoa {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDget_eoa");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static FunctionDescriptor H5FDget_eoa$descriptor() { return H5FDget_eoa.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MethodHandle H5FDget_eoa$handle() { return H5FDget_eoa.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MemorySegment H5FDget_eoa$address() { return H5FDget_eoa.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static long H5FDget_eoa(MemorySegment file, int type)
+ {
+ var mh$ = H5FDget_eoa.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDget_eoa", file, type);
+ }
+ return (long)mh$.invokeExact(file, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDset_eoa {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDset_eoa");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static FunctionDescriptor H5FDset_eoa$descriptor() { return H5FDset_eoa.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static MethodHandle H5FDset_eoa$handle() { return H5FDset_eoa.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static MemorySegment H5FDset_eoa$address() { return H5FDset_eoa.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static int H5FDset_eoa(MemorySegment file, int type, long eoa)
+ {
+ var mh$ = H5FDset_eoa.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDset_eoa", file, type, eoa);
+ }
+ return (int)mh$.invokeExact(file, type, eoa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDget_eof {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDget_eof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static FunctionDescriptor H5FDget_eof$descriptor() { return H5FDget_eof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MethodHandle H5FDget_eof$handle() { return H5FDget_eof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MemorySegment H5FDget_eof$address() { return H5FDget_eof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static long H5FDget_eof(MemorySegment file, int type)
+ {
+ var mh$ = H5FDget_eof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDget_eof", file, type);
+ }
+ return (long)mh$.invokeExact(file, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDget_vfd_handle {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDget_vfd_handle");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static FunctionDescriptor H5FDget_vfd_handle$descriptor() { return H5FDget_vfd_handle.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MethodHandle H5FDget_vfd_handle$handle() { return H5FDget_vfd_handle.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MemorySegment H5FDget_vfd_handle$address() { return H5FDget_vfd_handle.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static int H5FDget_vfd_handle(MemorySegment file, long fapl, MemorySegment file_handle)
+ {
+ var mh$ = H5FDget_vfd_handle.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDget_vfd_handle", file, fapl, file_handle);
+ }
+ return (int)mh$.invokeExact(file, fapl, file_handle);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5FDread$descriptor() { return H5FDread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static MethodHandle H5FDread$handle() { return H5FDread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static MemorySegment H5FDread$address() { return H5FDread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static int H5FDread(MemorySegment file, int type, long dxpl_id, long addr, long size,
+ MemorySegment buf)
+ {
+ var mh$ = H5FDread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread", file, type, dxpl_id, addr, size, buf);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, addr, size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite$descriptor() { return H5FDwrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static MethodHandle H5FDwrite$handle() { return H5FDwrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static MemorySegment H5FDwrite$address() { return H5FDwrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static int H5FDwrite(MemorySegment file, int type, long dxpl_id, long addr, long size,
+ MemorySegment buf)
+ {
+ var mh$ = H5FDwrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite", file, type, dxpl_id, addr, size, buf);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, addr, size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_vector {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_vector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_vector$descriptor() { return H5FDread_vector.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_vector$handle() { return H5FDread_vector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_vector$address() { return H5FDread_vector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_vector(MemorySegment file, long dxpl_id, int count, MemorySegment types,
+ MemorySegment addrs, MemorySegment sizes, MemorySegment bufs)
+ {
+ var mh$ = H5FDread_vector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_vector", file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_vector {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_vector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_vector$descriptor() { return H5FDwrite_vector.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_vector$handle() { return H5FDwrite_vector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_vector$address() { return H5FDwrite_vector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_vector(MemorySegment file, long dxpl_id, int count, MemorySegment types,
+ MemorySegment addrs, MemorySegment sizes, MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_vector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_vector", file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_selection$descriptor() { return H5FDread_selection.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_selection$handle() { return H5FDread_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_selection$address() { return H5FDread_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDread_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_selection", file, type, dxpl_id, count, mem_spaces, file_spaces,
+ offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_selection$descriptor() { return H5FDwrite_selection.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_selection$handle() { return H5FDwrite_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_selection$address() { return H5FDwrite_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_selection", file, type, dxpl_id, count, mem_spaces, file_spaces,
+ offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_vector_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_vector_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_vector_from_selection$descriptor()
+ {
+ return H5FDread_vector_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_vector_from_selection$handle()
+ {
+ return H5FDread_vector_from_selection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_vector_from_selection$address()
+ {
+ return H5FDread_vector_from_selection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_vector_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDread_vector_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_vector_from_selection", file, type, dxpl_id, count, mem_spaces,
+ file_spaces, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_vector_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_vector_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_vector_from_selection$descriptor()
+ {
+ return H5FDwrite_vector_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_vector_from_selection$handle()
+ {
+ return H5FDwrite_vector_from_selection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_vector_from_selection$address()
+ {
+ return H5FDwrite_vector_from_selection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_vector_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_vector_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_vector_from_selection", file, type, dxpl_id, count, mem_spaces,
+ file_spaces, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_from_selection$descriptor()
+ {
+ return H5FDread_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_from_selection$handle() { return H5FDread_from_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_from_selection$address() { return H5FDread_from_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_space_ids, MemorySegment file_space_ids,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDread_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_from_selection", file, type, dxpl_id, count, mem_space_ids,
+ file_space_ids, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_space_ids, file_space_ids, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_from_selection$descriptor()
+ {
+ return H5FDwrite_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_from_selection$handle() { return H5FDwrite_from_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_from_selection$address() { return H5FDwrite_from_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_space_ids, MemorySegment file_space_ids,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_from_selection", file, type, dxpl_id, count, mem_space_ids,
+ file_space_ids, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_space_ids, file_space_ids, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDflush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static FunctionDescriptor H5FDflush$descriptor() { return H5FDflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MethodHandle H5FDflush$handle() { return H5FDflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MemorySegment H5FDflush$address() { return H5FDflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static int H5FDflush(MemorySegment file, long dxpl_id, boolean closing)
+ {
+ var mh$ = H5FDflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDflush", file, dxpl_id, closing);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, closing);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDtruncate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDtruncate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static FunctionDescriptor H5FDtruncate$descriptor() { return H5FDtruncate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MethodHandle H5FDtruncate$handle() { return H5FDtruncate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MemorySegment H5FDtruncate$address() { return H5FDtruncate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static int H5FDtruncate(MemorySegment file, long dxpl_id, boolean closing)
+ {
+ var mh$ = H5FDtruncate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDtruncate", file, dxpl_id, closing);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, closing);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDlock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDlock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static FunctionDescriptor H5FDlock$descriptor() { return H5FDlock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static MethodHandle H5FDlock$handle() { return H5FDlock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static MemorySegment H5FDlock$address() { return H5FDlock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static int H5FDlock(MemorySegment file, boolean rw)
+ {
+ var mh$ = H5FDlock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDlock", file, rw);
+ }
+ return (int)mh$.invokeExact(file, rw);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDunlock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDunlock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static FunctionDescriptor H5FDunlock$descriptor() { return H5FDunlock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static MethodHandle H5FDunlock$handle() { return H5FDunlock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static MemorySegment H5FDunlock$address() { return H5FDunlock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static int H5FDunlock(MemorySegment file)
+ {
+ var mh$ = H5FDunlock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDunlock", file);
+ }
+ return (int)mh$.invokeExact(file);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDdelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDdelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5FDdelete$descriptor() { return H5FDdelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5FDdelete$handle() { return H5FDdelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5FDdelete$address() { return H5FDdelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static int H5FDdelete(MemorySegment name, long fapl_id)
+ {
+ var mh$ = H5FDdelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDdelete", name, fapl_id);
+ }
+ return (int)mh$.invokeExact(name, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDctl {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDctl");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static FunctionDescriptor H5FDctl$descriptor() { return H5FDctl.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static MethodHandle H5FDctl$handle() { return H5FDctl.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static MemorySegment H5FDctl$address() { return H5FDctl.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static int H5FDctl(MemorySegment file, long op_code, long flags, MemorySegment input,
+ MemorySegment output)
+ {
+ var mh$ = H5FDctl.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDctl", file, op_code, flags, input, output);
+ }
+ return (int)mh$.invokeExact(file, op_code, flags, input, output);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iregister_future {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister_future");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister_future$descriptor() { return H5Iregister_future.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static MethodHandle H5Iregister_future$handle() { return H5Iregister_future.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static MemorySegment H5Iregister_future$address() { return H5Iregister_future.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static long H5Iregister_future(int type, MemorySegment object, MemorySegment realize_cb,
+ MemorySegment discard_cb)
+ {
+ var mh$ = H5Iregister_future.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister_future", type, object, realize_cb, discard_cb);
+ }
+ return (long)mh$.invokeExact(type, object, realize_cb, discard_cb);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static FunctionDescriptor H5Lregister$descriptor() { return H5Lregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static MethodHandle H5Lregister$handle() { return H5Lregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static MemorySegment H5Lregister$address() { return H5Lregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static int H5Lregister(MemorySegment cls)
+ {
+ var mh$ = H5Lregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lregister", cls);
+ }
+ return (int)mh$.invokeExact(cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Lunregister$descriptor() { return H5Lunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static MethodHandle H5Lunregister$handle() { return H5Lunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static MemorySegment H5Lunregister$address() { return H5Lunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static int H5Lunregister(int id)
+ {
+ var mh$ = H5Lunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lunregister", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5T_CONV_INIT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cmd_t.H5T_CONV_INIT = 0
+ * }
+ */
+ public static int H5T_CONV_INIT() { return H5T_CONV_INIT; }
+ private static final int H5T_CONV_CONV = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cmd_t.H5T_CONV_CONV = 1
+ * }
+ */
+ public static int H5T_CONV_CONV() { return H5T_CONV_CONV; }
+ private static final int H5T_CONV_FREE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cmd_t.H5T_CONV_FREE = 2
+ * }
+ */
+ public static int H5T_CONV_FREE() { return H5T_CONV_FREE; }
+ private static final int H5T_BKG_NO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_bkg_t.H5T_BKG_NO = 0
+ * }
+ */
+ public static int H5T_BKG_NO() { return H5T_BKG_NO; }
+ private static final int H5T_BKG_TEMP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_bkg_t.H5T_BKG_TEMP = 1
+ * }
+ */
+ public static int H5T_BKG_TEMP() { return H5T_BKG_TEMP; }
+ private static final int H5T_BKG_YES = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_bkg_t.H5T_BKG_YES = 2
+ * }
+ */
+ public static int H5T_BKG_YES() { return H5T_BKG_YES; }
+ private static final int H5T_PERS_DONTCARE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pers_t.H5T_PERS_DONTCARE = -1
+ * }
+ */
+ public static int H5T_PERS_DONTCARE() { return H5T_PERS_DONTCARE; }
+ private static final int H5T_PERS_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pers_t.H5T_PERS_HARD = 0
+ * }
+ */
+ public static int H5T_PERS_HARD() { return H5T_PERS_HARD; }
+ private static final int H5T_PERS_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pers_t.H5T_PERS_SOFT = 1
+ * }
+ */
+ public static int H5T_PERS_SOFT() { return H5T_PERS_SOFT; }
+
+ private static class H5Tregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static FunctionDescriptor H5Tregister$descriptor() { return H5Tregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MethodHandle H5Tregister$handle() { return H5Tregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MemorySegment H5Tregister$address() { return H5Tregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static int H5Tregister(int pers, MemorySegment name, long src_id, long dst_id, MemorySegment func)
+ {
+ var mh$ = H5Tregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tregister", pers, name, src_id, dst_id, func);
+ }
+ return (int)mh$.invokeExact(pers, name, src_id, dst_id, func);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tunregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static FunctionDescriptor H5Tunregister$descriptor() { return H5Tunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MethodHandle H5Tunregister$handle() { return H5Tunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MemorySegment H5Tunregister$address() { return H5Tunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static int H5Tunregister(int pers, MemorySegment name, long src_id, long dst_id,
+ MemorySegment func)
+ {
+ var mh$ = H5Tunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tunregister", pers, name, src_id, dst_id, func);
+ }
+ return (int)mh$.invokeExact(pers, name, src_id, dst_id, func);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tfind {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tfind");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static FunctionDescriptor H5Tfind$descriptor() { return H5Tfind.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static MethodHandle H5Tfind$handle() { return H5Tfind.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static MemorySegment H5Tfind$address() { return H5Tfind.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static MemorySegment H5Tfind(long src_id, long dst_id, MemorySegment pcdata)
+ {
+ var mh$ = H5Tfind.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tfind", src_id, dst_id, pcdata);
+ }
+ return (MemorySegment)mh$.invokeExact(src_id, dst_id, pcdata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcompiler_conv {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcompiler_conv");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcompiler_conv$descriptor() { return H5Tcompiler_conv.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static MethodHandle H5Tcompiler_conv$handle() { return H5Tcompiler_conv.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static MemorySegment H5Tcompiler_conv$address() { return H5Tcompiler_conv.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static int H5Tcompiler_conv(long src_id, long dst_id)
+ {
+ var mh$ = H5Tcompiler_conv.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcompiler_conv", src_id, dst_id);
+ }
+ return (int)mh$.invokeExact(src_id, dst_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5TSmutex_acquire {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5TSmutex_acquire");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static FunctionDescriptor H5TSmutex_acquire$descriptor() { return H5TSmutex_acquire.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static MethodHandle H5TSmutex_acquire$handle() { return H5TSmutex_acquire.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static MemorySegment H5TSmutex_acquire$address() { return H5TSmutex_acquire.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static int H5TSmutex_acquire(int lock_count, MemorySegment acquired)
+ {
+ var mh$ = H5TSmutex_acquire.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5TSmutex_acquire", lock_count, acquired);
+ }
+ return (int)mh$.invokeExact(lock_count, acquired);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5TSmutex_release {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5TSmutex_release");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static FunctionDescriptor H5TSmutex_release$descriptor() { return H5TSmutex_release.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static MethodHandle H5TSmutex_release$handle() { return H5TSmutex_release.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static MemorySegment H5TSmutex_release$address() { return H5TSmutex_release.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static int H5TSmutex_release(MemorySegment lock_count)
+ {
+ var mh$ = H5TSmutex_release.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5TSmutex_release", lock_count);
+ }
+ return (int)mh$.invokeExact(lock_count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5TSmutex_get_attempt_count {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5TSmutex_get_attempt_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static FunctionDescriptor H5TSmutex_get_attempt_count$descriptor()
+ {
+ return H5TSmutex_get_attempt_count.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static MethodHandle H5TSmutex_get_attempt_count$handle()
+ {
+ return H5TSmutex_get_attempt_count.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static MemorySegment H5TSmutex_get_attempt_count$address()
+ {
+ return H5TSmutex_get_attempt_count.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static int H5TSmutex_get_attempt_count(MemorySegment count)
+ {
+ var mh$ = H5TSmutex_get_attempt_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5TSmutex_get_attempt_count", count);
+ }
+ return (int)mh$.invokeExact(count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Zregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static FunctionDescriptor H5Zregister$descriptor() { return H5Zregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static MethodHandle H5Zregister$handle() { return H5Zregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static MemorySegment H5Zregister$address() { return H5Zregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static int H5Zregister(MemorySegment cls)
+ {
+ var mh$ = H5Zregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zregister", cls);
+ }
+ return (int)mh$.invokeExact(cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Zunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Zunregister$descriptor() { return H5Zunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static MethodHandle H5Zunregister$handle() { return H5Zunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static MemorySegment H5Zunregister$address() { return H5Zunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static int H5Zunregister(int id)
+ {
+ var mh$ = H5Zunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zunregister", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLcmp_connector_cls {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLcmp_connector_cls");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static FunctionDescriptor H5VLcmp_connector_cls$descriptor() { return H5VLcmp_connector_cls.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static MethodHandle H5VLcmp_connector_cls$handle() { return H5VLcmp_connector_cls.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static MemorySegment H5VLcmp_connector_cls$address() { return H5VLcmp_connector_cls.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static int H5VLcmp_connector_cls(MemorySegment cmp, long connector_id1, long connector_id2)
+ {
+ var mh$ = H5VLcmp_connector_cls.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLcmp_connector_cls", cmp, connector_id1, connector_id2);
+ }
+ return (int)mh$.invokeExact(cmp, connector_id1, connector_id2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLwrap_register {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLwrap_register");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5VLwrap_register$descriptor() { return H5VLwrap_register.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5VLwrap_register$handle() { return H5VLwrap_register.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5VLwrap_register$address() { return H5VLwrap_register.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static long H5VLwrap_register(MemorySegment obj, int type)
+ {
+ var mh$ = H5VLwrap_register.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLwrap_register", obj, type);
+ }
+ return (long)mh$.invokeExact(obj, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLretrieve_lib_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLretrieve_lib_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static FunctionDescriptor H5VLretrieve_lib_state$descriptor()
+ {
+ return H5VLretrieve_lib_state.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static MethodHandle H5VLretrieve_lib_state$handle() { return H5VLretrieve_lib_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static MemorySegment H5VLretrieve_lib_state$address() { return H5VLretrieve_lib_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static int H5VLretrieve_lib_state(MemorySegment state)
+ {
+ var mh$ = H5VLretrieve_lib_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLretrieve_lib_state", state);
+ }
+ return (int)mh$.invokeExact(state);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLopen_lib_context {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLopen_lib_context");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static FunctionDescriptor H5VLopen_lib_context$descriptor() { return H5VLopen_lib_context.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static MethodHandle H5VLopen_lib_context$handle() { return H5VLopen_lib_context.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static MemorySegment H5VLopen_lib_context$address() { return H5VLopen_lib_context.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static int H5VLopen_lib_context(MemorySegment context)
+ {
+ var mh$ = H5VLopen_lib_context.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLopen_lib_context", context);
+ }
+ return (int)mh$.invokeExact(context);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrestore_lib_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrestore_lib_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static FunctionDescriptor H5VLrestore_lib_state$descriptor() { return H5VLrestore_lib_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static MethodHandle H5VLrestore_lib_state$handle() { return H5VLrestore_lib_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static MemorySegment H5VLrestore_lib_state$address() { return H5VLrestore_lib_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static int H5VLrestore_lib_state(MemorySegment state)
+ {
+ var mh$ = H5VLrestore_lib_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrestore_lib_state", state);
+ }
+ return (int)mh$.invokeExact(state);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLclose_lib_context {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLclose_lib_context");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static FunctionDescriptor H5VLclose_lib_context$descriptor() { return H5VLclose_lib_context.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static MethodHandle H5VLclose_lib_context$handle() { return H5VLclose_lib_context.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static MemorySegment H5VLclose_lib_context$address() { return H5VLclose_lib_context.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static int H5VLclose_lib_context(MemorySegment context)
+ {
+ var mh$ = H5VLclose_lib_context.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLclose_lib_context", context);
+ }
+ return (int)mh$.invokeExact(context);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfree_lib_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfree_lib_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static FunctionDescriptor H5VLfree_lib_state$descriptor() { return H5VLfree_lib_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static MethodHandle H5VLfree_lib_state$handle() { return H5VLfree_lib_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static MemorySegment H5VLfree_lib_state$address() { return H5VLfree_lib_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static int H5VLfree_lib_state(MemorySegment state)
+ {
+ var mh$ = H5VLfree_lib_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfree_lib_state", state);
+ }
+ return (int)mh$.invokeExact(state);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_object$descriptor() { return H5VLget_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLget_object$handle() { return H5VLget_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLget_object$address() { return H5VLget_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLget_object(MemorySegment obj, long connector_id)
+ {
+ var mh$ = H5VLget_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_object", obj, connector_id);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_wrap_ctx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_wrap_ctx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_wrap_ctx$descriptor() { return H5VLget_wrap_ctx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static MethodHandle H5VLget_wrap_ctx$handle() { return H5VLget_wrap_ctx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static MemorySegment H5VLget_wrap_ctx$address() { return H5VLget_wrap_ctx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static int H5VLget_wrap_ctx(MemorySegment obj, long connector_id, MemorySegment wrap_ctx)
+ {
+ var mh$ = H5VLget_wrap_ctx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_wrap_ctx", obj, connector_id, wrap_ctx);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, wrap_ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLwrap_object {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLwrap_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLwrap_object$descriptor() { return H5VLwrap_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static MethodHandle H5VLwrap_object$handle() { return H5VLwrap_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static MemorySegment H5VLwrap_object$address() { return H5VLwrap_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static MemorySegment H5VLwrap_object(MemorySegment obj, int obj_type, long connector_id,
+ MemorySegment wrap_ctx)
+ {
+ var mh$ = H5VLwrap_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLwrap_object", obj, obj_type, connector_id, wrap_ctx);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, obj_type, connector_id, wrap_ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLunwrap_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLunwrap_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLunwrap_object$descriptor() { return H5VLunwrap_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLunwrap_object$handle() { return H5VLunwrap_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLunwrap_object$address() { return H5VLunwrap_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLunwrap_object(MemorySegment obj, long connector_id)
+ {
+ var mh$ = H5VLunwrap_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLunwrap_object", obj, connector_id);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfree_wrap_ctx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfree_wrap_ctx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLfree_wrap_ctx$descriptor() { return H5VLfree_wrap_ctx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLfree_wrap_ctx$handle() { return H5VLfree_wrap_ctx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLfree_wrap_ctx$address() { return H5VLfree_wrap_ctx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static int H5VLfree_wrap_ctx(MemorySegment wrap_ctx, long connector_id)
+ {
+ var mh$ = H5VLfree_wrap_ctx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfree_wrap_ctx", wrap_ctx, connector_id);
+ }
+ return (int)mh$.invokeExact(wrap_ctx, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLinitialize {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLinitialize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLinitialize$descriptor() { return H5VLinitialize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLinitialize$handle() { return H5VLinitialize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLinitialize$address() { return H5VLinitialize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static int H5VLinitialize(long connector_id, long vipl_id)
+ {
+ var mh$ = H5VLinitialize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLinitialize", connector_id, vipl_id);
+ }
+ return (int)mh$.invokeExact(connector_id, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLterminate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLterminate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLterminate$descriptor() { return H5VLterminate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLterminate$handle() { return H5VLterminate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLterminate$address() { return H5VLterminate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static int H5VLterminate(long connector_id)
+ {
+ var mh$ = H5VLterminate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLterminate", connector_id);
+ }
+ return (int)mh$.invokeExact(connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_cap_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_cap_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_cap_flags$descriptor() { return H5VLget_cap_flags.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MethodHandle H5VLget_cap_flags$handle() { return H5VLget_cap_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MemorySegment H5VLget_cap_flags$address() { return H5VLget_cap_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static int H5VLget_cap_flags(long connector_id, MemorySegment cap_flags)
+ {
+ var mh$ = H5VLget_cap_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_cap_flags", connector_id, cap_flags);
+ }
+ return (int)mh$.invokeExact(connector_id, cap_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_value$descriptor() { return H5VLget_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static MethodHandle H5VLget_value$handle() { return H5VLget_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static MemorySegment H5VLget_value$address() { return H5VLget_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static int H5VLget_value(long connector_id, MemorySegment conn_value)
+ {
+ var mh$ = H5VLget_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_value", connector_id, conn_value);
+ }
+ return (int)mh$.invokeExact(connector_id, conn_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLcopy_connector_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLcopy_connector_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5VLcopy_connector_info$descriptor()
+ {
+ return H5VLcopy_connector_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static MethodHandle H5VLcopy_connector_info$handle() { return H5VLcopy_connector_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static MemorySegment H5VLcopy_connector_info$address() { return H5VLcopy_connector_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static int H5VLcopy_connector_info(long connector_id, MemorySegment dst_vol_info,
+ MemorySegment src_vol_info)
+ {
+ var mh$ = H5VLcopy_connector_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLcopy_connector_info", connector_id, dst_vol_info, src_vol_info);
+ }
+ return (int)mh$.invokeExact(connector_id, dst_vol_info, src_vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLcmp_connector_info {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLcmp_connector_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static FunctionDescriptor H5VLcmp_connector_info$descriptor()
+ {
+ return H5VLcmp_connector_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static MethodHandle H5VLcmp_connector_info$handle() { return H5VLcmp_connector_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static MemorySegment H5VLcmp_connector_info$address() { return H5VLcmp_connector_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static int H5VLcmp_connector_info(MemorySegment cmp, long connector_id, MemorySegment info1,
+ MemorySegment info2)
+ {
+ var mh$ = H5VLcmp_connector_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLcmp_connector_info", cmp, connector_id, info1, info2);
+ }
+ return (int)mh$.invokeExact(cmp, connector_id, info1, info2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfree_connector_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfree_connector_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5VLfree_connector_info$descriptor()
+ {
+ return H5VLfree_connector_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static MethodHandle H5VLfree_connector_info$handle() { return H5VLfree_connector_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static MemorySegment H5VLfree_connector_info$address() { return H5VLfree_connector_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static int H5VLfree_connector_info(long connector_id, MemorySegment vol_info)
+ {
+ var mh$ = H5VLfree_connector_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfree_connector_info", connector_id, vol_info);
+ }
+ return (int)mh$.invokeExact(connector_id, vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLconnector_info_to_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLconnector_info_to_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static FunctionDescriptor H5VLconnector_info_to_str$descriptor()
+ {
+ return H5VLconnector_info_to_str.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static MethodHandle H5VLconnector_info_to_str$handle() { return H5VLconnector_info_to_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static MemorySegment H5VLconnector_info_to_str$address() { return H5VLconnector_info_to_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static int H5VLconnector_info_to_str(MemorySegment info, long connector_id, MemorySegment str)
+ {
+ var mh$ = H5VLconnector_info_to_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLconnector_info_to_str", info, connector_id, str);
+ }
+ return (int)mh$.invokeExact(info, connector_id, str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLconnector_str_to_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLconnector_str_to_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static FunctionDescriptor H5VLconnector_str_to_info$descriptor()
+ {
+ return H5VLconnector_str_to_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static MethodHandle H5VLconnector_str_to_info$handle() { return H5VLconnector_str_to_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static MemorySegment H5VLconnector_str_to_info$address() { return H5VLconnector_str_to_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static int H5VLconnector_str_to_info(MemorySegment str, long connector_id, MemorySegment info)
+ {
+ var mh$ = H5VLconnector_str_to_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLconnector_str_to_info", str, connector_id, info);
+ }
+ return (int)mh$.invokeExact(str, connector_id, info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_create$descriptor() { return H5VLattr_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_create$handle() { return H5VLattr_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_create$address() { return H5VLattr_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_create(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment attr_name, long type_id,
+ long space_id, long acpl_id, long aapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLattr_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_create", obj, loc_params, connector_id, attr_name, type_id, space_id,
+ acpl_id, aapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, attr_name, type_id, space_id,
+ acpl_id, aapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_open$descriptor() { return H5VLattr_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_open$handle() { return H5VLattr_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_open$address() { return H5VLattr_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_open(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment name, long aapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLattr_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_open", obj, loc_params, connector_id, name, aapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, aapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_read {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_read");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_read$descriptor() { return H5VLattr_read.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_read$handle() { return H5VLattr_read.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_read$address() { return H5VLattr_read.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLattr_read(MemorySegment attr, long connector_id, long dtype_id, MemorySegment buf,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_read.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_read", attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_write {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_write");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_write$descriptor() { return H5VLattr_write.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_write$handle() { return H5VLattr_write.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_write$address() { return H5VLattr_write.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLattr_write(MemorySegment attr, long connector_id, long dtype_id, MemorySegment buf,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_write.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_write", attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_get$descriptor() { return H5VLattr_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_get$handle() { return H5VLattr_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_get$address() { return H5VLattr_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLattr_get(MemorySegment obj, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLattr_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_get", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_specific$descriptor() { return H5VLattr_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_specific$handle() { return H5VLattr_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_specific$address() { return H5VLattr_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLattr_specific(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_specific", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_optional$descriptor() { return H5VLattr_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_optional$handle() { return H5VLattr_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_optional$address() { return H5VLattr_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLattr_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_close$descriptor() { return H5VLattr_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_close$handle() { return H5VLattr_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_close$address() { return H5VLattr_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLattr_close(MemorySegment attr, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_close", attr, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(attr, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_create$descriptor() { return H5VLdataset_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_create$handle() { return H5VLdataset_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_create$address() { return H5VLdataset_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_create(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long lcpl_id,
+ long type_id, long space_id, long dcpl_id, long dapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_create", obj, loc_params, connector_id, name, lcpl_id, type_id,
+ space_id, dcpl_id, dapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, lcpl_id, type_id,
+ space_id, dcpl_id, dapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_open$descriptor() { return H5VLdataset_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_open$handle() { return H5VLdataset_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_open$address() { return H5VLdataset_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_open(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long dapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_open", obj, loc_params, connector_id, name, dapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, dapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_read {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_read");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_read$descriptor() { return H5VLdataset_read.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_read$handle() { return H5VLdataset_read.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_read$address() { return H5VLdataset_read.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static int H5VLdataset_read(long count, MemorySegment dset, long connector_id,
+ MemorySegment mem_type_id, MemorySegment mem_space_id,
+ MemorySegment file_space_id, long plist_id, MemorySegment buf,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_read.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_read", count, dset, connector_id, mem_type_id, mem_space_id,
+ file_space_id, plist_id, buf, req);
+ }
+ return (int)mh$.invokeExact(count, dset, connector_id, mem_type_id, mem_space_id, file_space_id,
+ plist_id, buf, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_write {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_write");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_write$descriptor() { return H5VLdataset_write.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_write$handle() { return H5VLdataset_write.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_write$address() { return H5VLdataset_write.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static int H5VLdataset_write(long count, MemorySegment dset, long connector_id,
+ MemorySegment mem_type_id, MemorySegment mem_space_id,
+ MemorySegment file_space_id, long plist_id, MemorySegment buf,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_write.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_write", count, dset, connector_id, mem_type_id, mem_space_id,
+ file_space_id, plist_id, buf, req);
+ }
+ return (int)mh$.invokeExact(count, dset, connector_id, mem_type_id, mem_space_id, file_space_id,
+ plist_id, buf, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_get$descriptor() { return H5VLdataset_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_get$handle() { return H5VLdataset_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_get$address() { return H5VLdataset_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdataset_get(MemorySegment dset, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_get", dset, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dset, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_specific$descriptor() { return H5VLdataset_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_specific$handle() { return H5VLdataset_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_specific$address() { return H5VLdataset_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdataset_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_optional$descriptor() { return H5VLdataset_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_optional$handle() { return H5VLdataset_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_optional$address() { return H5VLdataset_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdataset_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_close$descriptor() { return H5VLdataset_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_close$handle() { return H5VLdataset_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_close$address() { return H5VLdataset_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdataset_close(MemorySegment dset, long connector_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_close", dset, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dset, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_commit {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_commit");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_commit$descriptor() { return H5VLdatatype_commit.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_commit$handle() { return H5VLdatatype_commit.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_commit$address() { return H5VLdatatype_commit.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_commit(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long type_id,
+ long lcpl_id, long tcpl_id, long tapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_commit.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_commit", obj, loc_params, connector_id, name, type_id, lcpl_id,
+ tcpl_id, tapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, type_id, lcpl_id,
+ tcpl_id, tapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_open$descriptor() { return H5VLdatatype_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_open$handle() { return H5VLdatatype_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_open$address() { return H5VLdatatype_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_open(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long tapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_open", obj, loc_params, connector_id, name, tapl_id, dxpl_id,
+ req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, tapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_get$descriptor() { return H5VLdatatype_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_get$handle() { return H5VLdatatype_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_get$address() { return H5VLdatatype_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdatatype_get(MemorySegment dt, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_get", dt, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dt, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_specific$descriptor() { return H5VLdatatype_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_specific$handle() { return H5VLdatatype_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_specific$address() { return H5VLdatatype_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdatatype_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_optional$descriptor() { return H5VLdatatype_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_optional$handle() { return H5VLdatatype_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_optional$address() { return H5VLdatatype_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdatatype_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_close$descriptor() { return H5VLdatatype_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_close$handle() { return H5VLdatatype_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_close$address() { return H5VLdatatype_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdatatype_close(MemorySegment dt, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_close", dt, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dt, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_create$descriptor() { return H5VLfile_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_create$handle() { return H5VLfile_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_create$address() { return H5VLfile_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_create(MemorySegment name, int flags, long fcpl_id, long fapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_create", name, flags, fcpl_id, fapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(name, flags, fcpl_id, fapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_open$descriptor() { return H5VLfile_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_open$handle() { return H5VLfile_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_open$address() { return H5VLfile_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_open(MemorySegment name, int flags, long fapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLfile_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_open", name, flags, fapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(name, flags, fapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_get$descriptor() { return H5VLfile_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_get$handle() { return H5VLfile_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_get$address() { return H5VLfile_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLfile_get(MemorySegment file, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLfile_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_get", file, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(file, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_specific$descriptor() { return H5VLfile_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_specific$handle() { return H5VLfile_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_specific$address() { return H5VLfile_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLfile_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_optional$descriptor() { return H5VLfile_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_optional$handle() { return H5VLfile_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_optional$address() { return H5VLfile_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLfile_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_close$descriptor() { return H5VLfile_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_close$handle() { return H5VLfile_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_close$address() { return H5VLfile_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLfile_close(MemorySegment file, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_close", file, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(file, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_create$descriptor() { return H5VLgroup_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_create$handle() { return H5VLgroup_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_create$address() { return H5VLgroup_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_create(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long lcpl_id,
+ long gcpl_id, long gapl_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_create", obj, loc_params, connector_id, name, lcpl_id, gcpl_id,
+ gapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, lcpl_id, gcpl_id,
+ gapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_open$descriptor() { return H5VLgroup_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_open$handle() { return H5VLgroup_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_open$address() { return H5VLgroup_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_open(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment name, long gapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLgroup_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_open", obj, loc_params, connector_id, name, gapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, gapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_get$descriptor() { return H5VLgroup_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_get$handle() { return H5VLgroup_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_get$address() { return H5VLgroup_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLgroup_get(MemorySegment obj, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLgroup_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_get", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_specific$descriptor() { return H5VLgroup_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_specific$handle() { return H5VLgroup_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_specific$address() { return H5VLgroup_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLgroup_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_optional$descriptor() { return H5VLgroup_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_optional$handle() { return H5VLgroup_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_optional$address() { return H5VLgroup_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLgroup_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_close$descriptor() { return H5VLgroup_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_close$handle() { return H5VLgroup_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_close$address() { return H5VLgroup_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLgroup_close(MemorySegment grp, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_close", grp, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(grp, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_create$descriptor() { return H5VLlink_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_create$handle() { return H5VLlink_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_create$address() { return H5VLlink_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_create(MemorySegment args, MemorySegment obj, MemorySegment loc_params,
+ long connector_id, long lcpl_id, long lapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLlink_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_create", args, obj, loc_params, connector_id, lcpl_id, lapl_id,
+ dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(args, obj, loc_params, connector_id, lcpl_id, lapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_copy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_copy$descriptor() { return H5VLlink_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_copy$handle() { return H5VLlink_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_copy$address() { return H5VLlink_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLlink_copy(MemorySegment src_obj, MemorySegment loc_params1, MemorySegment dst_obj,
+ MemorySegment loc_params2, long connector_id, long lcpl_id, long lapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_copy", src_obj, loc_params1, dst_obj, loc_params2, connector_id,
+ lcpl_id, lapl_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(src_obj, loc_params1, dst_obj, loc_params2, connector_id, lcpl_id,
+ lapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_move {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_move");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_move$descriptor() { return H5VLlink_move.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_move$handle() { return H5VLlink_move.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_move$address() { return H5VLlink_move.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLlink_move(MemorySegment src_obj, MemorySegment loc_params1, MemorySegment dst_obj,
+ MemorySegment loc_params2, long connector_id, long lcpl_id, long lapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_move.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_move", src_obj, loc_params1, dst_obj, loc_params2, connector_id,
+ lcpl_id, lapl_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(src_obj, loc_params1, dst_obj, loc_params2, connector_id, lcpl_id,
+ lapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_get$descriptor() { return H5VLlink_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_get$handle() { return H5VLlink_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_get$address() { return H5VLlink_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_get(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_get", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_specific$descriptor() { return H5VLlink_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_specific$handle() { return H5VLlink_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_specific$address() { return H5VLlink_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_specific(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_specific", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_optional$descriptor() { return H5VLlink_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_optional$handle() { return H5VLlink_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_optional$address() { return H5VLlink_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_optional(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_optional", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_open$descriptor() { return H5VLobject_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_open$handle() { return H5VLobject_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_open$address() { return H5VLobject_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_open(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment opened_type, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLobject_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_open", obj, loc_params, connector_id, opened_type, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, opened_type, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_copy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_copy$descriptor() { return H5VLobject_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_copy$handle() { return H5VLobject_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_copy$address() { return H5VLobject_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_copy(MemorySegment src_obj, MemorySegment loc_params1,
+ MemorySegment src_name, MemorySegment dst_obj,
+ MemorySegment loc_params2, MemorySegment dst_name, long connector_id,
+ long ocpypl_id, long lcpl_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_copy", src_obj, loc_params1, src_name, dst_obj, loc_params2,
+ dst_name, connector_id, ocpypl_id, lcpl_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(src_obj, loc_params1, src_name, dst_obj, loc_params2, dst_name,
+ connector_id, ocpypl_id, lcpl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_get$descriptor() { return H5VLobject_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_get$handle() { return H5VLobject_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_get$address() { return H5VLobject_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_get(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_get", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_specific$descriptor() { return H5VLobject_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_specific$handle() { return H5VLobject_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_specific$address() { return H5VLobject_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_specific(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_specific", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_optional$descriptor() { return H5VLobject_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_optional$handle() { return H5VLobject_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_optional$address() { return H5VLobject_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_optional(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_optional", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLintrospect_get_conn_cls {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLintrospect_get_conn_cls");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static FunctionDescriptor H5VLintrospect_get_conn_cls$descriptor()
+ {
+ return H5VLintrospect_get_conn_cls.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static MethodHandle H5VLintrospect_get_conn_cls$handle()
+ {
+ return H5VLintrospect_get_conn_cls.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static MemorySegment H5VLintrospect_get_conn_cls$address()
+ {
+ return H5VLintrospect_get_conn_cls.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static int H5VLintrospect_get_conn_cls(MemorySegment obj, long connector_id, int lvl,
+ MemorySegment conn_cls)
+ {
+ var mh$ = H5VLintrospect_get_conn_cls.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLintrospect_get_conn_cls", obj, connector_id, lvl, conn_cls);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, lvl, conn_cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLintrospect_get_cap_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLintrospect_get_cap_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLintrospect_get_cap_flags$descriptor()
+ {
+ return H5VLintrospect_get_cap_flags.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MethodHandle H5VLintrospect_get_cap_flags$handle()
+ {
+ return H5VLintrospect_get_cap_flags.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MemorySegment H5VLintrospect_get_cap_flags$address()
+ {
+ return H5VLintrospect_get_cap_flags.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static int H5VLintrospect_get_cap_flags(MemorySegment info, long connector_id,
+ MemorySegment cap_flags)
+ {
+ var mh$ = H5VLintrospect_get_cap_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLintrospect_get_cap_flags", info, connector_id, cap_flags);
+ }
+ return (int)mh$.invokeExact(info, connector_id, cap_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLintrospect_opt_query {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLintrospect_opt_query");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLintrospect_opt_query$descriptor()
+ {
+ return H5VLintrospect_opt_query.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static MethodHandle H5VLintrospect_opt_query$handle() { return H5VLintrospect_opt_query.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static MemorySegment H5VLintrospect_opt_query$address() { return H5VLintrospect_opt_query.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static int H5VLintrospect_opt_query(MemorySegment obj, long connector_id, int subcls, int opt_type,
+ MemorySegment flags)
+ {
+ var mh$ = H5VLintrospect_opt_query.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLintrospect_opt_query", obj, connector_id, subcls, opt_type, flags);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, subcls, opt_type, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_wait {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_wait");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_wait$descriptor() { return H5VLrequest_wait.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static MethodHandle H5VLrequest_wait$handle() { return H5VLrequest_wait.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static MemorySegment H5VLrequest_wait$address() { return H5VLrequest_wait.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static int H5VLrequest_wait(MemorySegment req, long connector_id, long timeout,
+ MemorySegment status)
+ {
+ var mh$ = H5VLrequest_wait.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_wait", req, connector_id, timeout, status);
+ }
+ return (int)mh$.invokeExact(req, connector_id, timeout, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_notify {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_notify");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_notify$descriptor() { return H5VLrequest_notify.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static MethodHandle H5VLrequest_notify$handle() { return H5VLrequest_notify.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static MemorySegment H5VLrequest_notify$address() { return H5VLrequest_notify.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static int H5VLrequest_notify(MemorySegment req, long connector_id, MemorySegment cb,
+ MemorySegment ctx)
+ {
+ var mh$ = H5VLrequest_notify.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_notify", req, connector_id, cb, ctx);
+ }
+ return (int)mh$.invokeExact(req, connector_id, cb, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_cancel {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_cancel");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_cancel$descriptor() { return H5VLrequest_cancel.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static MethodHandle H5VLrequest_cancel$handle() { return H5VLrequest_cancel.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static MemorySegment H5VLrequest_cancel$address() { return H5VLrequest_cancel.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static int H5VLrequest_cancel(MemorySegment req, long connector_id, MemorySegment status)
+ {
+ var mh$ = H5VLrequest_cancel.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_cancel", req, connector_id, status);
+ }
+ return (int)mh$.invokeExact(req, connector_id, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_specific$descriptor() { return H5VLrequest_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLrequest_specific$handle() { return H5VLrequest_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLrequest_specific$address() { return H5VLrequest_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static int H5VLrequest_specific(MemorySegment req, long connector_id, MemorySegment args)
+ {
+ var mh$ = H5VLrequest_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_specific", req, connector_id, args);
+ }
+ return (int)mh$.invokeExact(req, connector_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_optional$descriptor() { return H5VLrequest_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLrequest_optional$handle() { return H5VLrequest_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLrequest_optional$address() { return H5VLrequest_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static int H5VLrequest_optional(MemorySegment req, long connector_id, MemorySegment args)
+ {
+ var mh$ = H5VLrequest_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_optional", req, connector_id, args);
+ }
+ return (int)mh$.invokeExact(req, connector_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_free {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_free");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_free$descriptor() { return H5VLrequest_free.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLrequest_free$handle() { return H5VLrequest_free.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLrequest_free$address() { return H5VLrequest_free.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static int H5VLrequest_free(MemorySegment req, long connector_id)
+ {
+ var mh$ = H5VLrequest_free.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_free", req, connector_id);
+ }
+ return (int)mh$.invokeExact(req, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_put {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_put");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_put$descriptor() { return H5VLblob_put.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static MethodHandle H5VLblob_put$handle() { return H5VLblob_put.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static MemorySegment H5VLblob_put$address() { return H5VLblob_put.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static int H5VLblob_put(MemorySegment obj, long connector_id, MemorySegment buf, long size,
+ MemorySegment blob_id, MemorySegment ctx)
+ {
+ var mh$ = H5VLblob_put.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_put", obj, connector_id, buf, size, blob_id, ctx);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, buf, size, blob_id, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_get$descriptor() { return H5VLblob_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static MethodHandle H5VLblob_get$handle() { return H5VLblob_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static MemorySegment H5VLblob_get$address() { return H5VLblob_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static int H5VLblob_get(MemorySegment obj, long connector_id, MemorySegment blob_id,
+ MemorySegment buf, long size, MemorySegment ctx)
+ {
+ var mh$ = H5VLblob_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_get", obj, connector_id, blob_id, buf, size, ctx);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, blob_id, buf, size, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_specific {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_specific$descriptor() { return H5VLblob_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLblob_specific$handle() { return H5VLblob_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLblob_specific$address() { return H5VLblob_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static int H5VLblob_specific(MemorySegment obj, long connector_id, MemorySegment blob_id,
+ MemorySegment args)
+ {
+ var mh$ = H5VLblob_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_specific", obj, connector_id, blob_id, args);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, blob_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_optional$descriptor() { return H5VLblob_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLblob_optional$handle() { return H5VLblob_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLblob_optional$address() { return H5VLblob_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static int H5VLblob_optional(MemorySegment obj, long connector_id, MemorySegment blob_id,
+ MemorySegment args)
+ {
+ var mh$ = H5VLblob_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_optional", obj, connector_id, blob_id, args);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, blob_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLtoken_cmp {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLtoken_cmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLtoken_cmp$descriptor() { return H5VLtoken_cmp.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static MethodHandle H5VLtoken_cmp$handle() { return H5VLtoken_cmp.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static MemorySegment H5VLtoken_cmp$address() { return H5VLtoken_cmp.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static int H5VLtoken_cmp(MemorySegment obj, long connector_id, MemorySegment token1,
+ MemorySegment token2, MemorySegment cmp_value)
+ {
+ var mh$ = H5VLtoken_cmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLtoken_cmp", obj, connector_id, token1, token2, cmp_value);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, token1, token2, cmp_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLtoken_to_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLtoken_to_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static FunctionDescriptor H5VLtoken_to_str$descriptor() { return H5VLtoken_to_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static MethodHandle H5VLtoken_to_str$handle() { return H5VLtoken_to_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static MemorySegment H5VLtoken_to_str$address() { return H5VLtoken_to_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static int H5VLtoken_to_str(MemorySegment obj, int obj_type, long connector_id,
+ MemorySegment token, MemorySegment token_str)
+ {
+ var mh$ = H5VLtoken_to_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLtoken_to_str", obj, obj_type, connector_id, token, token_str);
+ }
+ return (int)mh$.invokeExact(obj, obj_type, connector_id, token, token_str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLtoken_from_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLtoken_from_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static FunctionDescriptor H5VLtoken_from_str$descriptor() { return H5VLtoken_from_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static MethodHandle H5VLtoken_from_str$handle() { return H5VLtoken_from_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static MemorySegment H5VLtoken_from_str$address() { return H5VLtoken_from_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static int H5VLtoken_from_str(MemorySegment obj, int obj_type, long connector_id,
+ MemorySegment token_str, MemorySegment token)
+ {
+ var mh$ = H5VLtoken_from_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLtoken_from_str", obj, obj_type, connector_id, token_str, token);
+ }
+ return (int)mh$.invokeExact(obj, obj_type, connector_id, token_str, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLoptional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLoptional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLoptional$descriptor() { return H5VLoptional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLoptional$handle() { return H5VLoptional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLoptional$address() { return H5VLoptional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLoptional(MemorySegment obj, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLoptional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLoptional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VL_NATIVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5VL_NATIVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static OfLong H5VL_NATIVE_g$layout() { return H5VL_NATIVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static MemorySegment H5VL_NATIVE_g$segment() { return H5VL_NATIVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static long H5VL_NATIVE_g()
+ {
+ return H5VL_NATIVE_g$constants.SEGMENT.get(H5VL_NATIVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static void H5VL_NATIVE_g(long varValue)
+ {
+ H5VL_NATIVE_g$constants.SEGMENT.set(H5VL_NATIVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5VLnative_addr_to_token {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLnative_addr_to_token");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static FunctionDescriptor H5VLnative_addr_to_token$descriptor()
+ {
+ return H5VLnative_addr_to_token.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static MethodHandle H5VLnative_addr_to_token$handle() { return H5VLnative_addr_to_token.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static MemorySegment H5VLnative_addr_to_token$address() { return H5VLnative_addr_to_token.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static int H5VLnative_addr_to_token(long loc_id, long addr, MemorySegment token)
+ {
+ var mh$ = H5VLnative_addr_to_token.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLnative_addr_to_token", loc_id, addr, token);
+ }
+ return (int)mh$.invokeExact(loc_id, addr, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLnative_token_to_addr {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, H5O_token_t.layout(), hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLnative_token_to_addr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static FunctionDescriptor H5VLnative_token_to_addr$descriptor()
+ {
+ return H5VLnative_token_to_addr.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static MethodHandle H5VLnative_token_to_addr$handle() { return H5VLnative_token_to_addr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static MemorySegment H5VLnative_token_to_addr$address() { return H5VLnative_token_to_addr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static int H5VLnative_token_to_addr(long loc_id, MemorySegment token, MemorySegment addr)
+ {
+ var mh$ = H5VLnative_token_to_addr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLnative_token_to_addr", loc_id, token, addr);
+ }
+ return (int)mh$.invokeExact(loc_id, token, addr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_CORE_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_CORE_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static OfLong H5FD_CORE_id_g$layout() { return H5FD_CORE_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static MemorySegment H5FD_CORE_id_g$segment() { return H5FD_CORE_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static long H5FD_CORE_id_g()
+ {
+ return H5FD_CORE_id_g$constants.SEGMENT.get(H5FD_CORE_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static void H5FD_CORE_id_g(long varValue)
+ {
+ H5FD_CORE_id_g$constants.SEGMENT.set(H5FD_CORE_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_core {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_core");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_core$descriptor() { return H5Pset_fapl_core.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_core$handle() { return H5Pset_fapl_core.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_core$address() { return H5Pset_fapl_core.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static int H5Pset_fapl_core(long fapl_id, long increment, boolean backing_store)
+ {
+ var mh$ = H5Pset_fapl_core.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_core", fapl_id, increment, backing_store);
+ }
+ return (int)mh$.invokeExact(fapl_id, increment, backing_store);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_core {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_core");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_core$descriptor() { return H5Pget_fapl_core.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_core$handle() { return H5Pget_fapl_core.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_core$address() { return H5Pget_fapl_core.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static int H5Pget_fapl_core(long fapl_id, MemorySegment increment, MemorySegment backing_store)
+ {
+ var mh$ = H5Pget_fapl_core.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_core", fapl_id, increment, backing_store);
+ }
+ return (int)mh$.invokeExact(fapl_id, increment, backing_store);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_FAMILY_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_FAMILY_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static OfLong H5FD_FAMILY_id_g$layout() { return H5FD_FAMILY_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static MemorySegment H5FD_FAMILY_id_g$segment() { return H5FD_FAMILY_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static long H5FD_FAMILY_id_g()
+ {
+ return H5FD_FAMILY_id_g$constants.SEGMENT.get(H5FD_FAMILY_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static void H5FD_FAMILY_id_g(long varValue)
+ {
+ H5FD_FAMILY_id_g$constants.SEGMENT.set(H5FD_FAMILY_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_family {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_family");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_family$descriptor() { return H5Pset_fapl_family.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_family$handle() { return H5Pset_fapl_family.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_family$address() { return H5Pset_fapl_family.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_family(long fapl_id, long memb_size, long memb_fapl_id)
+ {
+ var mh$ = H5Pset_fapl_family.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_family", fapl_id, memb_size, memb_fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_size, memb_fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_family {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_family");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_family$descriptor() { return H5Pget_fapl_family.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_family$handle() { return H5Pget_fapl_family.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_family$address() { return H5Pget_fapl_family.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static int H5Pget_fapl_family(long fapl_id, MemorySegment memb_size, MemorySegment memb_fapl_id)
+ {
+ var mh$ = H5Pget_fapl_family.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_family", fapl_id, memb_size, memb_fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_size, memb_fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_LOG_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_LOG_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static OfLong H5FD_LOG_id_g$layout() { return H5FD_LOG_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static MemorySegment H5FD_LOG_id_g$segment() { return H5FD_LOG_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static long H5FD_LOG_id_g()
+ {
+ return H5FD_LOG_id_g$constants.SEGMENT.get(H5FD_LOG_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static void H5FD_LOG_id_g(long varValue)
+ {
+ H5FD_LOG_id_g$constants.SEGMENT.set(H5FD_LOG_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_log {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_log");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_log$descriptor() { return H5Pset_fapl_log.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_log$handle() { return H5Pset_fapl_log.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_log$address() { return H5Pset_fapl_log.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static int H5Pset_fapl_log(long fapl_id, MemorySegment logfile, long flags, long buf_size)
+ {
+ var mh$ = H5Pset_fapl_log.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_log", fapl_id, logfile, flags, buf_size);
+ }
+ return (int)mh$.invokeExact(fapl_id, logfile, flags, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5FD_MPIO_INDEPENDENT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_xfer_t.H5FD_MPIO_INDEPENDENT = 0
+ * }
+ */
+ public static int H5FD_MPIO_INDEPENDENT() { return H5FD_MPIO_INDEPENDENT; }
+ private static final int H5FD_MPIO_COLLECTIVE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_xfer_t.H5FD_MPIO_COLLECTIVE = 1
+ * }
+ */
+ public static int H5FD_MPIO_COLLECTIVE() { return H5FD_MPIO_COLLECTIVE; }
+ private static final int H5FD_MPIO_CHUNK_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_chunk_opt_t.H5FD_MPIO_CHUNK_DEFAULT = 0
+ * }
+ */
+ public static int H5FD_MPIO_CHUNK_DEFAULT() { return H5FD_MPIO_CHUNK_DEFAULT; }
+ private static final int H5FD_MPIO_CHUNK_ONE_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_chunk_opt_t.H5FD_MPIO_CHUNK_ONE_IO = 1
+ * }
+ */
+ public static int H5FD_MPIO_CHUNK_ONE_IO() { return H5FD_MPIO_CHUNK_ONE_IO; }
+ private static final int H5FD_MPIO_CHUNK_MULTI_IO = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_chunk_opt_t.H5FD_MPIO_CHUNK_MULTI_IO = 2
+ * }
+ */
+ public static int H5FD_MPIO_CHUNK_MULTI_IO() { return H5FD_MPIO_CHUNK_MULTI_IO; }
+ private static final int H5FD_MPIO_COLLECTIVE_IO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_collective_opt_t.H5FD_MPIO_COLLECTIVE_IO = 0
+ * }
+ */
+ public static int H5FD_MPIO_COLLECTIVE_IO() { return H5FD_MPIO_COLLECTIVE_IO; }
+ private static final int H5FD_MPIO_INDIVIDUAL_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_collective_opt_t.H5FD_MPIO_INDIVIDUAL_IO = 1
+ * }
+ */
+ public static int H5FD_MPIO_INDIVIDUAL_IO() { return H5FD_MPIO_INDIVIDUAL_IO; }
+
+ private static class H5FD_MULTI_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_MULTI_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static OfLong H5FD_MULTI_id_g$layout() { return H5FD_MULTI_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static MemorySegment H5FD_MULTI_id_g$segment() { return H5FD_MULTI_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static long H5FD_MULTI_id_g()
+ {
+ return H5FD_MULTI_id_g$constants.SEGMENT.get(H5FD_MULTI_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static void H5FD_MULTI_id_g(long varValue)
+ {
+ H5FD_MULTI_id_g$constants.SEGMENT.set(H5FD_MULTI_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_multi$descriptor() { return H5Pset_fapl_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_multi$handle() { return H5Pset_fapl_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_multi$address() { return H5Pset_fapl_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static int H5Pset_fapl_multi(long fapl_id, MemorySegment memb_map, MemorySegment memb_fapl,
+ MemorySegment memb_name, MemorySegment memb_addr, boolean relax)
+ {
+ var mh$ = H5Pset_fapl_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_multi", fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_multi$descriptor() { return H5Pget_fapl_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_multi$handle() { return H5Pget_fapl_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_multi$address() { return H5Pget_fapl_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static int H5Pget_fapl_multi(long fapl_id, MemorySegment memb_map, MemorySegment memb_fapl,
+ MemorySegment memb_name, MemorySegment memb_addr, MemorySegment relax)
+ {
+ var mh$ = H5Pget_fapl_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_multi", fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_split {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_split");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_split$descriptor() { return H5Pset_fapl_split.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_split$handle() { return H5Pset_fapl_split.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_split$address() { return H5Pset_fapl_split.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static int H5Pset_fapl_split(long fapl, MemorySegment meta_ext, long meta_plist_id,
+ MemorySegment raw_ext, long raw_plist_id)
+ {
+ var mh$ = H5Pset_fapl_split.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_split", fapl, meta_ext, meta_plist_id, raw_ext, raw_plist_id);
+ }
+ return (int)mh$.invokeExact(fapl, meta_ext, meta_plist_id, raw_ext, raw_plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5FD_ONION_STORE_TARGET_ONION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_onion_target_file_constant_t.H5FD_ONION_STORE_TARGET_ONION = 0
+ * }
+ */
+ public static int H5FD_ONION_STORE_TARGET_ONION() { return H5FD_ONION_STORE_TARGET_ONION; }
+
+ private static class H5FD_ONION_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_ONION_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static OfLong H5FD_ONION_id_g$layout() { return H5FD_ONION_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static MemorySegment H5FD_ONION_id_g$segment() { return H5FD_ONION_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static long H5FD_ONION_id_g()
+ {
+ return H5FD_ONION_id_g$constants.SEGMENT.get(H5FD_ONION_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static void H5FD_ONION_id_g(long varValue)
+ {
+ H5FD_ONION_id_g$constants.SEGMENT.set(H5FD_ONION_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pget_fapl_onion {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_onion");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_onion$descriptor() { return H5Pget_fapl_onion.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_onion$handle() { return H5Pget_fapl_onion.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_onion$address() { return H5Pget_fapl_onion.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static int H5Pget_fapl_onion(long fapl_id, MemorySegment fa_out)
+ {
+ var mh$ = H5Pget_fapl_onion.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_onion", fapl_id, fa_out);
+ }
+ return (int)mh$.invokeExact(fapl_id, fa_out);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_onion {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_onion");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_onion$descriptor() { return H5Pset_fapl_onion.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_onion$handle() { return H5Pset_fapl_onion.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_onion$address() { return H5Pset_fapl_onion.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static int H5Pset_fapl_onion(long fapl_id, MemorySegment fa)
+ {
+ var mh$ = H5Pset_fapl_onion.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_onion", fapl_id, fa);
+ }
+ return (int)mh$.invokeExact(fapl_id, fa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDonion_get_revision_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDonion_get_revision_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static FunctionDescriptor H5FDonion_get_revision_count$descriptor()
+ {
+ return H5FDonion_get_revision_count.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static MethodHandle H5FDonion_get_revision_count$handle()
+ {
+ return H5FDonion_get_revision_count.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static MemorySegment H5FDonion_get_revision_count$address()
+ {
+ return H5FDonion_get_revision_count.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static int H5FDonion_get_revision_count(MemorySegment filename, long fapl_id,
+ MemorySegment revision_count)
+ {
+ var mh$ = H5FDonion_get_revision_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDonion_get_revision_count", filename, fapl_id, revision_count);
+ }
+ return (int)mh$.invokeExact(filename, fapl_id, revision_count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_ROS3_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_ROS3_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ROS3_id_g
+ * }
+ */
+ public static OfLong H5FD_ROS3_id_g$layout() { return H5FD_ROS3_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ROS3_id_g
+ * }
+ */
+ public static MemorySegment H5FD_ROS3_id_g$segment() { return H5FD_ROS3_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ROS3_id_g
+ * }
+ */
+ public static long H5FD_ROS3_id_g()
+ {
+ return H5FD_ROS3_id_g$constants.SEGMENT.get(H5FD_ROS3_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ROS3_id_g
+ * }
+ */
+ public static void H5FD_ROS3_id_g(long varValue)
+ {
+ H5FD_ROS3_id_g$constants.SEGMENT.set(H5FD_ROS3_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pget_fapl_ros3 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_ros3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3(hid_t fapl_id, H5FD_ros3_fapl_t *fa_out)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_ros3$descriptor() { return H5Pget_fapl_ros3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3(hid_t fapl_id, H5FD_ros3_fapl_t *fa_out)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_ros3$handle() { return H5Pget_fapl_ros3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3(hid_t fapl_id, H5FD_ros3_fapl_t *fa_out)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_ros3$address() { return H5Pget_fapl_ros3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3(hid_t fapl_id, H5FD_ros3_fapl_t *fa_out)
+ * }
+ */
+ public static int H5Pget_fapl_ros3(long fapl_id, MemorySegment fa_out)
+ {
+ var mh$ = H5Pget_fapl_ros3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_ros3", fapl_id, fa_out);
+ }
+ return (int)mh$.invokeExact(fapl_id, fa_out);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_ros3 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_ros3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3(hid_t fapl_id, const H5FD_ros3_fapl_t *fa)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_ros3$descriptor() { return H5Pset_fapl_ros3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3(hid_t fapl_id, const H5FD_ros3_fapl_t *fa)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_ros3$handle() { return H5Pset_fapl_ros3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3(hid_t fapl_id, const H5FD_ros3_fapl_t *fa)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_ros3$address() { return H5Pset_fapl_ros3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3(hid_t fapl_id, const H5FD_ros3_fapl_t *fa)
+ * }
+ */
+ public static int H5Pset_fapl_ros3(long fapl_id, MemorySegment fa)
+ {
+ var mh$ = H5Pset_fapl_ros3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_ros3", fapl_id, fa);
+ }
+ return (int)mh$.invokeExact(fapl_id, fa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_ros3_token {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_ros3_token");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_token(hid_t fapl_id, size_t size, char *token)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_ros3_token$descriptor()
+ {
+ return H5Pget_fapl_ros3_token.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_token(hid_t fapl_id, size_t size, char *token)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_ros3_token$handle() { return H5Pget_fapl_ros3_token.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_token(hid_t fapl_id, size_t size, char *token)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_ros3_token$address() { return H5Pget_fapl_ros3_token.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_token(hid_t fapl_id, size_t size, char *token)
+ * }
+ */
+ public static int H5Pget_fapl_ros3_token(long fapl_id, long size, MemorySegment token)
+ {
+ var mh$ = H5Pget_fapl_ros3_token.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_ros3_token", fapl_id, size, token);
+ }
+ return (int)mh$.invokeExact(fapl_id, size, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_ros3_token {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_ros3_token");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_token(hid_t fapl_id, const char *token)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_ros3_token$descriptor()
+ {
+ return H5Pset_fapl_ros3_token.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_token(hid_t fapl_id, const char *token)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_ros3_token$handle() { return H5Pset_fapl_ros3_token.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_token(hid_t fapl_id, const char *token)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_ros3_token$address() { return H5Pset_fapl_ros3_token.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_token(hid_t fapl_id, const char *token)
+ * }
+ */
+ public static int H5Pset_fapl_ros3_token(long fapl_id, MemorySegment token)
+ {
+ var mh$ = H5Pset_fapl_ros3_token.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_ros3_token", fapl_id, token);
+ }
+ return (int)mh$.invokeExact(fapl_id, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_ros3_endpoint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_ros3_endpoint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_endpoint(hid_t fapl_id, size_t size, char *endpoint)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_ros3_endpoint$descriptor()
+ {
+ return H5Pget_fapl_ros3_endpoint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_endpoint(hid_t fapl_id, size_t size, char *endpoint)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_ros3_endpoint$handle() { return H5Pget_fapl_ros3_endpoint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_endpoint(hid_t fapl_id, size_t size, char *endpoint)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_ros3_endpoint$address() { return H5Pget_fapl_ros3_endpoint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_endpoint(hid_t fapl_id, size_t size, char *endpoint)
+ * }
+ */
+ public static int H5Pget_fapl_ros3_endpoint(long fapl_id, long size, MemorySegment endpoint)
+ {
+ var mh$ = H5Pget_fapl_ros3_endpoint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_ros3_endpoint", fapl_id, size, endpoint);
+ }
+ return (int)mh$.invokeExact(fapl_id, size, endpoint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_ros3_endpoint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_ros3_endpoint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_endpoint(hid_t fapl_id, const char *endpoint)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_ros3_endpoint$descriptor()
+ {
+ return H5Pset_fapl_ros3_endpoint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_endpoint(hid_t fapl_id, const char *endpoint)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_ros3_endpoint$handle() { return H5Pset_fapl_ros3_endpoint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_endpoint(hid_t fapl_id, const char *endpoint)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_ros3_endpoint$address() { return H5Pset_fapl_ros3_endpoint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_endpoint(hid_t fapl_id, const char *endpoint)
+ * }
+ */
+ public static int H5Pset_fapl_ros3_endpoint(long fapl_id, MemorySegment endpoint)
+ {
+ var mh$ = H5Pset_fapl_ros3_endpoint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_ros3_endpoint", fapl_id, endpoint);
+ }
+ return (int)mh$.invokeExact(fapl_id, endpoint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_SEC2_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_SEC2_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static OfLong H5FD_SEC2_id_g$layout() { return H5FD_SEC2_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static MemorySegment H5FD_SEC2_id_g$segment() { return H5FD_SEC2_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static long H5FD_SEC2_id_g()
+ {
+ return H5FD_SEC2_id_g$constants.SEGMENT.get(H5FD_SEC2_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static void H5FD_SEC2_id_g(long varValue)
+ {
+ H5FD_SEC2_id_g$constants.SEGMENT.set(H5FD_SEC2_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_sec2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_sec2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_sec2$descriptor() { return H5Pset_fapl_sec2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_sec2$handle() { return H5Pset_fapl_sec2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_sec2$address() { return H5Pset_fapl_sec2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_sec2(long fapl_id)
+ {
+ var mh$ = H5Pset_fapl_sec2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_sec2", fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_SPLITTER_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_SPLITTER_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static OfLong H5FD_SPLITTER_id_g$layout() { return H5FD_SPLITTER_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static MemorySegment H5FD_SPLITTER_id_g$segment() { return H5FD_SPLITTER_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static long H5FD_SPLITTER_id_g()
+ {
+ return H5FD_SPLITTER_id_g$constants.SEGMENT.get(H5FD_SPLITTER_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static void H5FD_SPLITTER_id_g(long varValue)
+ {
+ H5FD_SPLITTER_id_g$constants.SEGMENT.set(H5FD_SPLITTER_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_splitter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_splitter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_splitter$descriptor() { return H5Pset_fapl_splitter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_splitter$handle() { return H5Pset_fapl_splitter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_splitter$address() { return H5Pset_fapl_splitter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pset_fapl_splitter(long fapl_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pset_fapl_splitter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_splitter", fapl_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_splitter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_splitter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_splitter$descriptor() { return H5Pget_fapl_splitter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_splitter$handle() { return H5Pget_fapl_splitter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_splitter$address() { return H5Pget_fapl_splitter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pget_fapl_splitter(long fapl_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pget_fapl_splitter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_splitter", fapl_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_STDIO_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_STDIO_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static OfLong H5FD_STDIO_id_g$layout() { return H5FD_STDIO_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static MemorySegment H5FD_STDIO_id_g$segment() { return H5FD_STDIO_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static long H5FD_STDIO_id_g()
+ {
+ return H5FD_STDIO_id_g$constants.SEGMENT.get(H5FD_STDIO_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static void H5FD_STDIO_id_g(long varValue)
+ {
+ H5FD_STDIO_id_g$constants.SEGMENT.set(H5FD_STDIO_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_stdio {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_stdio");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_stdio$descriptor() { return H5Pset_fapl_stdio.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_stdio$handle() { return H5Pset_fapl_stdio.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_stdio$address() { return H5Pset_fapl_stdio.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_stdio(long fapl_id)
+ {
+ var mh$ = H5Pset_fapl_stdio.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_stdio", fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VL_PASSTHRU_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5VL_PASSTHRU_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static OfLong H5VL_PASSTHRU_g$layout() { return H5VL_PASSTHRU_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static MemorySegment H5VL_PASSTHRU_g$segment() { return H5VL_PASSTHRU_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static long H5VL_PASSTHRU_g()
+ {
+ return H5VL_PASSTHRU_g$constants.SEGMENT.get(H5VL_PASSTHRU_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static void H5VL_PASSTHRU_g(long varValue)
+ {
+ H5VL_PASSTHRU_g$constants.SEGMENT.set(H5VL_PASSTHRU_g$constants.LAYOUT, 0L, varValue);
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_DEFAULT_PLUGINDIR
+ * "/Users/runner/work/hdf5/hdf5/install/lib/plugin:/usr/local/hdf5/lib/plugin"
+ * }
+ */
+ public static MemorySegment H5_DEFAULT_PLUGINDIR()
+ {
+ class Holder {
+ static final MemorySegment H5_DEFAULT_PLUGINDIR = hdf5_h.LIBRARY_ARENA.allocateFrom(
+ "/Users/runner/work/hdf5/hdf5/install/lib/plugin:/usr/local/hdf5/lib/plugin");
+ }
+ return Holder.H5_DEFAULT_PLUGINDIR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE "hdf5"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE = hdf5_h.LIBRARY_ARENA.allocateFrom("hdf5");
+ }
+ return Holder.H5_PACKAGE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_BUGREPORT "help@hdfgroup.org"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_BUGREPORT()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_BUGREPORT =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("help@hdfgroup.org");
+ }
+ return Holder.H5_PACKAGE_BUGREPORT;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_NAME "HDF5"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5");
+ }
+ return Holder.H5_PACKAGE_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_STRING "HDF5 2.0.0.4"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_STRING()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_STRING = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5 2.0.0.4");
+ }
+ return Holder.H5_PACKAGE_STRING;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_TARNAME "hdf5"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_TARNAME()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_TARNAME = hdf5_h.LIBRARY_ARENA.allocateFrom("hdf5");
+ }
+ return Holder.H5_PACKAGE_TARNAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_URL "https://www.hdfgroup.org"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_URL()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_URL =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("https://www.hdfgroup.org");
+ }
+ return Holder.H5_PACKAGE_URL;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_VERSION "2.0.0.4"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_VERSION()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_VERSION = hdf5_h.LIBRARY_ARENA.allocateFrom("2.0.0.4");
+ }
+ return Holder.H5_PACKAGE_VERSION;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERSION "2.0.0.4"
+ * }
+ */
+ public static MemorySegment H5_VERSION()
+ {
+ class Holder {
+ static final MemorySegment H5_VERSION = hdf5_h.LIBRARY_ARENA.allocateFrom("2.0.0.4");
+ }
+ return Holder.H5_VERSION;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __PRI_8_LENGTH_MODIFIER__ "hh"
+ * }
+ */
+ public static MemorySegment __PRI_8_LENGTH_MODIFIER__()
+ {
+ class Holder {
+ static final MemorySegment __PRI_8_LENGTH_MODIFIER__ = hdf5_h.LIBRARY_ARENA.allocateFrom("hh");
+ }
+ return Holder.__PRI_8_LENGTH_MODIFIER__;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __PRI_64_LENGTH_MODIFIER__ "ll"
+ * }
+ */
+ public static MemorySegment __PRI_64_LENGTH_MODIFIER__()
+ {
+ class Holder {
+ static final MemorySegment __PRI_64_LENGTH_MODIFIER__ = hdf5_h.LIBRARY_ARENA.allocateFrom("ll");
+ }
+ return Holder.__PRI_64_LENGTH_MODIFIER__;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __SCN_64_LENGTH_MODIFIER__ "ll"
+ * }
+ */
+ public static MemorySegment __SCN_64_LENGTH_MODIFIER__()
+ {
+ class Holder {
+ static final MemorySegment __SCN_64_LENGTH_MODIFIER__ = hdf5_h.LIBRARY_ARENA.allocateFrom("ll");
+ }
+ return Holder.__SCN_64_LENGTH_MODIFIER__;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __PRI_MAX_LENGTH_MODIFIER__ "j"
+ * }
+ */
+ public static MemorySegment __PRI_MAX_LENGTH_MODIFIER__()
+ {
+ class Holder {
+ static final MemorySegment __PRI_MAX_LENGTH_MODIFIER__ = hdf5_h.LIBRARY_ARENA.allocateFrom("j");
+ }
+ return Holder.__PRI_MAX_LENGTH_MODIFIER__;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __SCN_MAX_LENGTH_MODIFIER__ "j"
+ * }
+ */
+ public static MemorySegment __SCN_MAX_LENGTH_MODIFIER__()
+ {
+ class Holder {
+ static final MemorySegment __SCN_MAX_LENGTH_MODIFIER__ = hdf5_h.LIBRARY_ARENA.allocateFrom("j");
+ }
+ return Holder.__SCN_MAX_LENGTH_MODIFIER__;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId8 "hhd"
+ * }
+ */
+ public static MemorySegment PRId8()
+ {
+ class Holder {
+ static final MemorySegment PRId8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.PRId8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi8 "hhi"
+ * }
+ */
+ public static MemorySegment PRIi8()
+ {
+ class Holder {
+ static final MemorySegment PRIi8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.PRIi8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo8 "hho"
+ * }
+ */
+ public static MemorySegment PRIo8()
+ {
+ class Holder {
+ static final MemorySegment PRIo8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.PRIo8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu8 "hhu"
+ * }
+ */
+ public static MemorySegment PRIu8()
+ {
+ class Holder {
+ static final MemorySegment PRIu8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.PRIu8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx8 "hhx"
+ * }
+ */
+ public static MemorySegment PRIx8()
+ {
+ class Holder {
+ static final MemorySegment PRIx8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.PRIx8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX8 "hhX"
+ * }
+ */
+ public static MemorySegment PRIX8()
+ {
+ class Holder {
+ static final MemorySegment PRIX8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhX");
+ }
+ return Holder.PRIX8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId16 "hd"
+ * }
+ */
+ public static MemorySegment PRId16()
+ {
+ class Holder {
+ static final MemorySegment PRId16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.PRId16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi16 "hi"
+ * }
+ */
+ public static MemorySegment PRIi16()
+ {
+ class Holder {
+ static final MemorySegment PRIi16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.PRIi16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo16 "ho"
+ * }
+ */
+ public static MemorySegment PRIo16()
+ {
+ class Holder {
+ static final MemorySegment PRIo16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.PRIo16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu16 "hu"
+ * }
+ */
+ public static MemorySegment PRIu16()
+ {
+ class Holder {
+ static final MemorySegment PRIu16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.PRIu16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx16 "hx"
+ * }
+ */
+ public static MemorySegment PRIx16()
+ {
+ class Holder {
+ static final MemorySegment PRIx16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.PRIx16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX16 "hX"
+ * }
+ */
+ public static MemorySegment PRIX16()
+ {
+ class Holder {
+ static final MemorySegment PRIX16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hX");
+ }
+ return Holder.PRIX16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId32 "d"
+ * }
+ */
+ public static MemorySegment PRId32()
+ {
+ class Holder {
+ static final MemorySegment PRId32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRId32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi32 "i"
+ * }
+ */
+ public static MemorySegment PRIi32()
+ {
+ class Holder {
+ static final MemorySegment PRIi32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIi32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo32 "o"
+ * }
+ */
+ public static MemorySegment PRIo32()
+ {
+ class Holder {
+ static final MemorySegment PRIo32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIo32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu32 "u"
+ * }
+ */
+ public static MemorySegment PRIu32()
+ {
+ class Holder {
+ static final MemorySegment PRIu32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIu32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx32 "x"
+ * }
+ */
+ public static MemorySegment PRIx32()
+ {
+ class Holder {
+ static final MemorySegment PRIx32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIx32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX32 "X"
+ * }
+ */
+ public static MemorySegment PRIX32()
+ {
+ class Holder {
+ static final MemorySegment PRIX32 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIX32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId64 "lld"
+ * }
+ */
+ public static MemorySegment PRId64()
+ {
+ class Holder {
+ static final MemorySegment PRId64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRId64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi64 "lli"
+ * }
+ */
+ public static MemorySegment PRIi64()
+ {
+ class Holder {
+ static final MemorySegment PRIi64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIi64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo64 "llo"
+ * }
+ */
+ public static MemorySegment PRIo64()
+ {
+ class Holder {
+ static final MemorySegment PRIo64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIo64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu64 "llu"
+ * }
+ */
+ public static MemorySegment PRIu64()
+ {
+ class Holder {
+ static final MemorySegment PRIu64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIu64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx64 "llx"
+ * }
+ */
+ public static MemorySegment PRIx64()
+ {
+ class Holder {
+ static final MemorySegment PRIx64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIx64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX64 "llX"
+ * }
+ */
+ public static MemorySegment PRIX64()
+ {
+ class Holder {
+ static final MemorySegment PRIX64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIX64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST8 "hhd"
+ * }
+ */
+ public static MemorySegment PRIdLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.PRIdLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST8 "hhi"
+ * }
+ */
+ public static MemorySegment PRIiLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.PRIiLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST8 "hho"
+ * }
+ */
+ public static MemorySegment PRIoLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.PRIoLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST8 "hhu"
+ * }
+ */
+ public static MemorySegment PRIuLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.PRIuLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST8 "hhx"
+ * }
+ */
+ public static MemorySegment PRIxLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.PRIxLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST8 "hhX"
+ * }
+ */
+ public static MemorySegment PRIXLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhX");
+ }
+ return Holder.PRIXLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST16 "hd"
+ * }
+ */
+ public static MemorySegment PRIdLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.PRIdLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST16 "hi"
+ * }
+ */
+ public static MemorySegment PRIiLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.PRIiLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST16 "ho"
+ * }
+ */
+ public static MemorySegment PRIoLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.PRIoLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST16 "hu"
+ * }
+ */
+ public static MemorySegment PRIuLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.PRIuLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST16 "hx"
+ * }
+ */
+ public static MemorySegment PRIxLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.PRIxLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST16 "hX"
+ * }
+ */
+ public static MemorySegment PRIXLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hX");
+ }
+ return Holder.PRIXLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST32 "d"
+ * }
+ */
+ public static MemorySegment PRIdLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRIdLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST32 "i"
+ * }
+ */
+ public static MemorySegment PRIiLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIiLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST32 "o"
+ * }
+ */
+ public static MemorySegment PRIoLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIoLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST32 "u"
+ * }
+ */
+ public static MemorySegment PRIuLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIuLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST32 "x"
+ * }
+ */
+ public static MemorySegment PRIxLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIxLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST32 "X"
+ * }
+ */
+ public static MemorySegment PRIXLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIXLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST64 "lld"
+ * }
+ */
+ public static MemorySegment PRIdLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST64 "lli"
+ * }
+ */
+ public static MemorySegment PRIiLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIiLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST64 "llo"
+ * }
+ */
+ public static MemorySegment PRIoLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST64 "llu"
+ * }
+ */
+ public static MemorySegment PRIuLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST64 "llx"
+ * }
+ */
+ public static MemorySegment PRIxLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST64 "llX"
+ * }
+ */
+ public static MemorySegment PRIXLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST8 "hhd"
+ * }
+ */
+ public static MemorySegment PRIdFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.PRIdFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST8 "hhi"
+ * }
+ */
+ public static MemorySegment PRIiFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.PRIiFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST8 "hho"
+ * }
+ */
+ public static MemorySegment PRIoFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.PRIoFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST8 "hhu"
+ * }
+ */
+ public static MemorySegment PRIuFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.PRIuFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST8 "hhx"
+ * }
+ */
+ public static MemorySegment PRIxFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.PRIxFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST8 "hhX"
+ * }
+ */
+ public static MemorySegment PRIXFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhX");
+ }
+ return Holder.PRIXFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST16 "hd"
+ * }
+ */
+ public static MemorySegment PRIdFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.PRIdFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST16 "hi"
+ * }
+ */
+ public static MemorySegment PRIiFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.PRIiFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST16 "ho"
+ * }
+ */
+ public static MemorySegment PRIoFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.PRIoFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST16 "hu"
+ * }
+ */
+ public static MemorySegment PRIuFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.PRIuFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST16 "hx"
+ * }
+ */
+ public static MemorySegment PRIxFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.PRIxFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST16 "hX"
+ * }
+ */
+ public static MemorySegment PRIXFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hX");
+ }
+ return Holder.PRIXFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST32 "d"
+ * }
+ */
+ public static MemorySegment PRIdFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRIdFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST32 "i"
+ * }
+ */
+ public static MemorySegment PRIiFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIiFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST32 "o"
+ * }
+ */
+ public static MemorySegment PRIoFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIoFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST32 "u"
+ * }
+ */
+ public static MemorySegment PRIuFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIuFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST32 "x"
+ * }
+ */
+ public static MemorySegment PRIxFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIxFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST32 "X"
+ * }
+ */
+ public static MemorySegment PRIXFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIXFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST64 "lld"
+ * }
+ */
+ public static MemorySegment PRIdFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST64 "lli"
+ * }
+ */
+ public static MemorySegment PRIiFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIiFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST64 "llo"
+ * }
+ */
+ public static MemorySegment PRIoFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST64 "llu"
+ * }
+ */
+ public static MemorySegment PRIuFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST64 "llx"
+ * }
+ */
+ public static MemorySegment PRIxFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST64 "llX"
+ * }
+ */
+ public static MemorySegment PRIXFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdPTR "ld"
+ * }
+ */
+ public static MemorySegment PRIdPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIdPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.PRIdPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiPTR "li"
+ * }
+ */
+ public static MemorySegment PRIiPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIiPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.PRIiPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoPTR "lo"
+ * }
+ */
+ public static MemorySegment PRIoPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIoPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.PRIoPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuPTR "lu"
+ * }
+ */
+ public static MemorySegment PRIuPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIuPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.PRIuPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxPTR "lx"
+ * }
+ */
+ public static MemorySegment PRIxPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIxPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.PRIxPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXPTR "lX"
+ * }
+ */
+ public static MemorySegment PRIXPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIXPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lX");
+ }
+ return Holder.PRIXPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdMAX "jd"
+ * }
+ */
+ public static MemorySegment PRIdMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIdMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("jd");
+ }
+ return Holder.PRIdMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiMAX "ji"
+ * }
+ */
+ public static MemorySegment PRIiMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIiMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("ji");
+ }
+ return Holder.PRIiMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoMAX "jo"
+ * }
+ */
+ public static MemorySegment PRIoMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIoMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("jo");
+ }
+ return Holder.PRIoMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuMAX "ju"
+ * }
+ */
+ public static MemorySegment PRIuMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIuMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("ju");
+ }
+ return Holder.PRIuMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxMAX "jx"
+ * }
+ */
+ public static MemorySegment PRIxMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIxMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("jx");
+ }
+ return Holder.PRIxMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXMAX "jX"
+ * }
+ */
+ public static MemorySegment PRIXMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIXMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("jX");
+ }
+ return Holder.PRIXMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd8 "hhd"
+ * }
+ */
+ public static MemorySegment SCNd8()
+ {
+ class Holder {
+ static final MemorySegment SCNd8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.SCNd8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi8 "hhi"
+ * }
+ */
+ public static MemorySegment SCNi8()
+ {
+ class Holder {
+ static final MemorySegment SCNi8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.SCNi8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo8 "hho"
+ * }
+ */
+ public static MemorySegment SCNo8()
+ {
+ class Holder {
+ static final MemorySegment SCNo8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.SCNo8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu8 "hhu"
+ * }
+ */
+ public static MemorySegment SCNu8()
+ {
+ class Holder {
+ static final MemorySegment SCNu8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.SCNu8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx8 "hhx"
+ * }
+ */
+ public static MemorySegment SCNx8()
+ {
+ class Holder {
+ static final MemorySegment SCNx8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.SCNx8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd16 "hd"
+ * }
+ */
+ public static MemorySegment SCNd16()
+ {
+ class Holder {
+ static final MemorySegment SCNd16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.SCNd16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi16 "hi"
+ * }
+ */
+ public static MemorySegment SCNi16()
+ {
+ class Holder {
+ static final MemorySegment SCNi16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.SCNi16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo16 "ho"
+ * }
+ */
+ public static MemorySegment SCNo16()
+ {
+ class Holder {
+ static final MemorySegment SCNo16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.SCNo16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu16 "hu"
+ * }
+ */
+ public static MemorySegment SCNu16()
+ {
+ class Holder {
+ static final MemorySegment SCNu16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.SCNu16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx16 "hx"
+ * }
+ */
+ public static MemorySegment SCNx16()
+ {
+ class Holder {
+ static final MemorySegment SCNx16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.SCNx16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd32 "d"
+ * }
+ */
+ public static MemorySegment SCNd32()
+ {
+ class Holder {
+ static final MemorySegment SCNd32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.SCNd32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi32 "i"
+ * }
+ */
+ public static MemorySegment SCNi32()
+ {
+ class Holder {
+ static final MemorySegment SCNi32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.SCNi32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo32 "o"
+ * }
+ */
+ public static MemorySegment SCNo32()
+ {
+ class Holder {
+ static final MemorySegment SCNo32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.SCNo32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu32 "u"
+ * }
+ */
+ public static MemorySegment SCNu32()
+ {
+ class Holder {
+ static final MemorySegment SCNu32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.SCNu32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx32 "x"
+ * }
+ */
+ public static MemorySegment SCNx32()
+ {
+ class Holder {
+ static final MemorySegment SCNx32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.SCNx32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd64 "lld"
+ * }
+ */
+ public static MemorySegment SCNd64()
+ {
+ class Holder {
+ static final MemorySegment SCNd64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.SCNd64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi64 "lli"
+ * }
+ */
+ public static MemorySegment SCNi64()
+ {
+ class Holder {
+ static final MemorySegment SCNi64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.SCNi64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo64 "llo"
+ * }
+ */
+ public static MemorySegment SCNo64()
+ {
+ class Holder {
+ static final MemorySegment SCNo64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.SCNo64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu64 "llu"
+ * }
+ */
+ public static MemorySegment SCNu64()
+ {
+ class Holder {
+ static final MemorySegment SCNu64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.SCNu64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx64 "llx"
+ * }
+ */
+ public static MemorySegment SCNx64()
+ {
+ class Holder {
+ static final MemorySegment SCNx64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.SCNx64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST8 "hhd"
+ * }
+ */
+ public static MemorySegment SCNdLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.SCNdLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST8 "hhi"
+ * }
+ */
+ public static MemorySegment SCNiLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.SCNiLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST8 "hho"
+ * }
+ */
+ public static MemorySegment SCNoLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.SCNoLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST8 "hhu"
+ * }
+ */
+ public static MemorySegment SCNuLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.SCNuLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST8 "hhx"
+ * }
+ */
+ public static MemorySegment SCNxLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.SCNxLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST16 "hd"
+ * }
+ */
+ public static MemorySegment SCNdLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.SCNdLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST16 "hi"
+ * }
+ */
+ public static MemorySegment SCNiLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.SCNiLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST16 "ho"
+ * }
+ */
+ public static MemorySegment SCNoLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.SCNoLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST16 "hu"
+ * }
+ */
+ public static MemorySegment SCNuLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.SCNuLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST16 "hx"
+ * }
+ */
+ public static MemorySegment SCNxLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.SCNxLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST32 "d"
+ * }
+ */
+ public static MemorySegment SCNdLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.SCNdLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST32 "i"
+ * }
+ */
+ public static MemorySegment SCNiLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.SCNiLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST32 "o"
+ * }
+ */
+ public static MemorySegment SCNoLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.SCNoLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST32 "u"
+ * }
+ */
+ public static MemorySegment SCNuLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.SCNuLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST32 "x"
+ * }
+ */
+ public static MemorySegment SCNxLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.SCNxLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST64 "lld"
+ * }
+ */
+ public static MemorySegment SCNdLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.SCNdLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST64 "lli"
+ * }
+ */
+ public static MemorySegment SCNiLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.SCNiLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST64 "llo"
+ * }
+ */
+ public static MemorySegment SCNoLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.SCNoLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST64 "llu"
+ * }
+ */
+ public static MemorySegment SCNuLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.SCNuLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST64 "llx"
+ * }
+ */
+ public static MemorySegment SCNxLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.SCNxLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST8 "hhd"
+ * }
+ */
+ public static MemorySegment SCNdFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.SCNdFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST8 "hhi"
+ * }
+ */
+ public static MemorySegment SCNiFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.SCNiFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST8 "hho"
+ * }
+ */
+ public static MemorySegment SCNoFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.SCNoFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST8 "hhu"
+ * }
+ */
+ public static MemorySegment SCNuFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.SCNuFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST8 "hhx"
+ * }
+ */
+ public static MemorySegment SCNxFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.SCNxFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST16 "hd"
+ * }
+ */
+ public static MemorySegment SCNdFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.SCNdFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST16 "hi"
+ * }
+ */
+ public static MemorySegment SCNiFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.SCNiFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST16 "ho"
+ * }
+ */
+ public static MemorySegment SCNoFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.SCNoFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST16 "hu"
+ * }
+ */
+ public static MemorySegment SCNuFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.SCNuFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST16 "hx"
+ * }
+ */
+ public static MemorySegment SCNxFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.SCNxFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST32 "d"
+ * }
+ */
+ public static MemorySegment SCNdFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.SCNdFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST32 "i"
+ * }
+ */
+ public static MemorySegment SCNiFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.SCNiFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST32 "o"
+ * }
+ */
+ public static MemorySegment SCNoFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.SCNoFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST32 "u"
+ * }
+ */
+ public static MemorySegment SCNuFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.SCNuFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST32 "x"
+ * }
+ */
+ public static MemorySegment SCNxFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.SCNxFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST64 "lld"
+ * }
+ */
+ public static MemorySegment SCNdFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.SCNdFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST64 "lli"
+ * }
+ */
+ public static MemorySegment SCNiFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.SCNiFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST64 "llo"
+ * }
+ */
+ public static MemorySegment SCNoFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.SCNoFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST64 "llu"
+ * }
+ */
+ public static MemorySegment SCNuFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.SCNuFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST64 "llx"
+ * }
+ */
+ public static MemorySegment SCNxFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.SCNxFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdPTR "ld"
+ * }
+ */
+ public static MemorySegment SCNdPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNdPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("ld");
+ }
+ return Holder.SCNdPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiPTR "li"
+ * }
+ */
+ public static MemorySegment SCNiPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNiPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("li");
+ }
+ return Holder.SCNiPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoPTR "lo"
+ * }
+ */
+ public static MemorySegment SCNoPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNoPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lo");
+ }
+ return Holder.SCNoPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuPTR "lu"
+ * }
+ */
+ public static MemorySegment SCNuPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNuPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lu");
+ }
+ return Holder.SCNuPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxPTR "lx"
+ * }
+ */
+ public static MemorySegment SCNxPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNxPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lx");
+ }
+ return Holder.SCNxPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdMAX "jd"
+ * }
+ */
+ public static MemorySegment SCNdMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNdMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("jd");
+ }
+ return Holder.SCNdMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiMAX "ji"
+ * }
+ */
+ public static MemorySegment SCNiMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNiMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("ji");
+ }
+ return Holder.SCNiMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoMAX "jo"
+ * }
+ */
+ public static MemorySegment SCNoMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNoMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("jo");
+ }
+ return Holder.SCNoMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuMAX "ju"
+ * }
+ */
+ public static MemorySegment SCNuMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNuMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("ju");
+ }
+ return Holder.SCNuMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxMAX "jx"
+ * }
+ */
+ public static MemorySegment SCNxMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNxMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("jx");
+ }
+ return Holder.SCNxMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_SUF_64_BIT_INO_T "$INODE64"
+ * }
+ */
+ public static MemorySegment __DARWIN_SUF_64_BIT_INO_T()
+ {
+ class Holder {
+ static final MemorySegment __DARWIN_SUF_64_BIT_INO_T =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("$INODE64");
+ }
+ return Holder.__DARWIN_SUF_64_BIT_INO_T;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_SUF_1050 "$1050"
+ * }
+ */
+ public static MemorySegment __DARWIN_SUF_1050()
+ {
+ class Holder {
+ static final MemorySegment __DARWIN_SUF_1050 = hdf5_h.LIBRARY_ARENA.allocateFrom("$1050");
+ }
+ return Holder.__DARWIN_SUF_1050;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_SUF_EXTSN "$DARWIN_EXTSN"
+ * }
+ */
+ public static MemorySegment __DARWIN_SUF_EXTSN()
+ {
+ class Holder {
+ static final MemorySegment __DARWIN_SUF_EXTSN =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("$DARWIN_EXTSN");
+ }
+ return Holder.__DARWIN_SUF_EXTSN;
+ }
+ private static final long __DARWIN_C_ANSI = 4096L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_C_ANSI 4096
+ * }
+ */
+ public static long __DARWIN_C_ANSI() { return __DARWIN_C_ANSI; }
+ private static final long __DARWIN_C_FULL = 900000L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_C_FULL 900000
+ * }
+ */
+ public static long __DARWIN_C_FULL() { return __DARWIN_C_FULL; }
+ private static final long __DARWIN_C_LEVEL = 900000L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_C_LEVEL 900000
+ * }
+ */
+ public static long __DARWIN_C_LEVEL() { return __DARWIN_C_LEVEL; }
+ private static final int MAC_OS_X_VERSION_10_0 = (int)1000L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_0 1000
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_0() { return MAC_OS_X_VERSION_10_0; }
+ private static final int MAC_OS_X_VERSION_10_1 = (int)1010L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_1 1010
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_1() { return MAC_OS_X_VERSION_10_1; }
+ private static final int MAC_OS_X_VERSION_10_2 = (int)1020L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_2 1020
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_2() { return MAC_OS_X_VERSION_10_2; }
+ private static final int MAC_OS_X_VERSION_10_3 = (int)1030L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_3 1030
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_3() { return MAC_OS_X_VERSION_10_3; }
+ private static final int MAC_OS_X_VERSION_10_4 = (int)1040L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_4 1040
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_4() { return MAC_OS_X_VERSION_10_4; }
+ private static final int MAC_OS_X_VERSION_10_5 = (int)1050L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_5 1050
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_5() { return MAC_OS_X_VERSION_10_5; }
+ private static final int MAC_OS_X_VERSION_10_6 = (int)1060L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_6 1060
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_6() { return MAC_OS_X_VERSION_10_6; }
+ private static final int MAC_OS_X_VERSION_10_7 = (int)1070L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_7 1070
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_7() { return MAC_OS_X_VERSION_10_7; }
+ private static final int MAC_OS_X_VERSION_10_8 = (int)1080L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_8 1080
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_8() { return MAC_OS_X_VERSION_10_8; }
+ private static final int MAC_OS_X_VERSION_10_9 = (int)1090L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_9 1090
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_9() { return MAC_OS_X_VERSION_10_9; }
+ private static final int MAC_OS_X_VERSION_10_10 = (int)101000L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_10 101000
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_10() { return MAC_OS_X_VERSION_10_10; }
+ private static final int MAC_OS_X_VERSION_10_10_2 = (int)101002L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_10_2 101002
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_10_2() { return MAC_OS_X_VERSION_10_10_2; }
+ private static final int MAC_OS_X_VERSION_10_10_3 = (int)101003L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_10_3 101003
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_10_3() { return MAC_OS_X_VERSION_10_10_3; }
+ private static final int MAC_OS_X_VERSION_10_11 = (int)101100L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_11 101100
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_11() { return MAC_OS_X_VERSION_10_11; }
+ private static final int MAC_OS_X_VERSION_10_11_2 = (int)101102L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_11_2 101102
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_11_2() { return MAC_OS_X_VERSION_10_11_2; }
+ private static final int MAC_OS_X_VERSION_10_11_3 = (int)101103L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_11_3 101103
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_11_3() { return MAC_OS_X_VERSION_10_11_3; }
+ private static final int MAC_OS_X_VERSION_10_11_4 = (int)101104L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_11_4 101104
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_11_4() { return MAC_OS_X_VERSION_10_11_4; }
+ private static final int MAC_OS_X_VERSION_10_12 = (int)101200L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_12 101200
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_12() { return MAC_OS_X_VERSION_10_12; }
+ private static final int MAC_OS_X_VERSION_10_12_1 = (int)101201L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_12_1 101201
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_12_1() { return MAC_OS_X_VERSION_10_12_1; }
+ private static final int MAC_OS_X_VERSION_10_12_2 = (int)101202L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_12_2 101202
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_12_2() { return MAC_OS_X_VERSION_10_12_2; }
+ private static final int MAC_OS_X_VERSION_10_12_4 = (int)101204L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_12_4 101204
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_12_4() { return MAC_OS_X_VERSION_10_12_4; }
+ private static final int MAC_OS_X_VERSION_10_13 = (int)101300L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_13 101300
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_13() { return MAC_OS_X_VERSION_10_13; }
+ private static final int MAC_OS_X_VERSION_10_13_1 = (int)101301L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_13_1 101301
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_13_1() { return MAC_OS_X_VERSION_10_13_1; }
+ private static final int MAC_OS_X_VERSION_10_13_2 = (int)101302L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_13_2 101302
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_13_2() { return MAC_OS_X_VERSION_10_13_2; }
+ private static final int MAC_OS_X_VERSION_10_13_4 = (int)101304L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_13_4 101304
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_13_4() { return MAC_OS_X_VERSION_10_13_4; }
+ private static final int MAC_OS_X_VERSION_10_14 = (int)101400L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_14 101400
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_14() { return MAC_OS_X_VERSION_10_14; }
+ private static final int MAC_OS_X_VERSION_10_14_1 = (int)101401L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_14_1 101401
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_14_1() { return MAC_OS_X_VERSION_10_14_1; }
+ private static final int MAC_OS_X_VERSION_10_14_4 = (int)101404L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_14_4 101404
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_14_4() { return MAC_OS_X_VERSION_10_14_4; }
+ private static final int MAC_OS_X_VERSION_10_14_5 = (int)101405L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_14_5 101405
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_14_5() { return MAC_OS_X_VERSION_10_14_5; }
+ private static final int MAC_OS_X_VERSION_10_14_6 = (int)101406L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_14_6 101406
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_14_6() { return MAC_OS_X_VERSION_10_14_6; }
+ private static final int MAC_OS_X_VERSION_10_15 = (int)101500L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_15 101500
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_15() { return MAC_OS_X_VERSION_10_15; }
+ private static final int MAC_OS_X_VERSION_10_15_1 = (int)101501L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_15_1 101501
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_15_1() { return MAC_OS_X_VERSION_10_15_1; }
+ private static final int MAC_OS_X_VERSION_10_15_4 = (int)101504L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_15_4 101504
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_15_4() { return MAC_OS_X_VERSION_10_15_4; }
+ private static final int MAC_OS_X_VERSION_10_16 = (int)101600L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_X_VERSION_10_16 101600
+ * }
+ */
+ public static int MAC_OS_X_VERSION_10_16() { return MAC_OS_X_VERSION_10_16; }
+ private static final int MAC_OS_VERSION_11_0 = (int)110000L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_11_0 110000
+ * }
+ */
+ public static int MAC_OS_VERSION_11_0() { return MAC_OS_VERSION_11_0; }
+ private static final int MAC_OS_VERSION_11_1 = (int)110100L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_11_1 110100
+ * }
+ */
+ public static int MAC_OS_VERSION_11_1() { return MAC_OS_VERSION_11_1; }
+ private static final int MAC_OS_VERSION_11_3 = (int)110300L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_11_3 110300
+ * }
+ */
+ public static int MAC_OS_VERSION_11_3() { return MAC_OS_VERSION_11_3; }
+ private static final int MAC_OS_VERSION_11_4 = (int)110400L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_11_4 110400
+ * }
+ */
+ public static int MAC_OS_VERSION_11_4() { return MAC_OS_VERSION_11_4; }
+ private static final int MAC_OS_VERSION_11_5 = (int)110500L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_11_5 110500
+ * }
+ */
+ public static int MAC_OS_VERSION_11_5() { return MAC_OS_VERSION_11_5; }
+ private static final int MAC_OS_VERSION_11_6 = (int)110600L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_11_6 110600
+ * }
+ */
+ public static int MAC_OS_VERSION_11_6() { return MAC_OS_VERSION_11_6; }
+ private static final int MAC_OS_VERSION_12_0 = (int)120000L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_12_0 120000
+ * }
+ */
+ public static int MAC_OS_VERSION_12_0() { return MAC_OS_VERSION_12_0; }
+ private static final int MAC_OS_VERSION_12_1 = (int)120100L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_12_1 120100
+ * }
+ */
+ public static int MAC_OS_VERSION_12_1() { return MAC_OS_VERSION_12_1; }
+ private static final int MAC_OS_VERSION_12_2 = (int)120200L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_12_2 120200
+ * }
+ */
+ public static int MAC_OS_VERSION_12_2() { return MAC_OS_VERSION_12_2; }
+ private static final int MAC_OS_VERSION_12_3 = (int)120300L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_12_3 120300
+ * }
+ */
+ public static int MAC_OS_VERSION_12_3() { return MAC_OS_VERSION_12_3; }
+ private static final int MAC_OS_VERSION_12_4 = (int)120400L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_12_4 120400
+ * }
+ */
+ public static int MAC_OS_VERSION_12_4() { return MAC_OS_VERSION_12_4; }
+ private static final int MAC_OS_VERSION_12_5 = (int)120500L;
+ /**
+ * {@snippet lang=c :
+ * #define MAC_OS_VERSION_12_5 120500
+ * }
+ */
+ public static int MAC_OS_VERSION_12_5() { return MAC_OS_VERSION_12_5; }
+}
diff --git a/java/jsrc/features/ros3/macos/hdf5_h_2.java b/java/jsrc/features/ros3/macos/hdf5_h_2.java
new file mode 100644
index 00000000000..68d07596b4f
--- /dev/null
+++ b/java/jsrc/features/ros3/macos/hdf5_h_2.java
@@ -0,0 +1,38540 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h_2 extends hdf5_h_3 {
+
+ hdf5_h_2()
+ {
+ // Should not be called directly
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t user_ssize_t
+ * }
+ */
+ public static final OfLong user_ssize_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t user_long_t
+ * }
+ */
+ public static final OfLong user_long_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef u_int64_t user_ulong_t
+ * }
+ */
+ public static final OfLong user_ulong_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t user_time_t
+ * }
+ */
+ public static final OfLong user_time_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t user_off_t
+ * }
+ */
+ public static final OfLong user_off_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef u_int64_t syscall_arg_t
+ * }
+ */
+ public static final OfLong syscall_arg_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char u_char
+ * }
+ */
+ public static final OfByte u_char = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short u_short
+ * }
+ */
+ public static final OfShort u_short = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int u_int
+ * }
+ */
+ public static final OfInt u_int = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long u_long
+ * }
+ */
+ public static final OfLong u_long = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short ushort
+ * }
+ */
+ public static final OfShort ushort = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int uint
+ * }
+ */
+ public static final OfInt uint = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef u_int64_t u_quad_t
+ * }
+ */
+ public static final OfLong u_quad_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t quad_t
+ * }
+ */
+ public static final OfLong quad_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef quad_t *qaddr_t
+ * }
+ */
+ public static final AddressLayout qaddr_t = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef char *caddr_t
+ * }
+ */
+ public static final AddressLayout caddr_t = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef int32_t daddr_t
+ * }
+ */
+ public static final OfInt daddr_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_dev_t dev_t
+ * }
+ */
+ public static final OfInt dev_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef u_int32_t fixpt_t
+ * }
+ */
+ public static final OfInt fixpt_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_blkcnt_t blkcnt_t
+ * }
+ */
+ public static final OfLong blkcnt_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_blksize_t blksize_t
+ * }
+ */
+ public static final OfInt blksize_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_gid_t gid_t
+ * }
+ */
+ public static final OfInt gid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t in_addr_t
+ * }
+ */
+ public static final OfInt in_addr_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint16_t in_port_t
+ * }
+ */
+ public static final OfShort in_port_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_ino_t ino_t
+ * }
+ */
+ public static final OfLong ino_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_ino64_t ino64_t
+ * }
+ */
+ public static final OfLong ino64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __int32_t key_t
+ * }
+ */
+ public static final OfInt key_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_mode_t mode_t
+ * }
+ */
+ public static final OfShort mode_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint16_t nlink_t
+ * }
+ */
+ public static final OfShort nlink_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_id_t id_t
+ * }
+ */
+ public static final OfInt id_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_pid_t pid_t
+ * }
+ */
+ public static final OfInt pid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_off_t off_t
+ * }
+ */
+ public static final OfLong off_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int32_t segsz_t
+ * }
+ */
+ public static final OfInt segsz_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int32_t swblk_t
+ * }
+ */
+ public static final OfInt swblk_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_uid_t uid_t
+ * }
+ */
+ public static final OfInt uid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_clock_t clock_t
+ * }
+ */
+ public static final OfLong clock_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_ssize_t ssize_t
+ * }
+ */
+ public static final OfLong ssize_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_time_t time_t
+ * }
+ */
+ public static final OfLong time_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_useconds_t useconds_t
+ * }
+ */
+ public static final OfInt useconds_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_suseconds_t suseconds_t
+ * }
+ */
+ public static final OfInt suseconds_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int errno_t
+ * }
+ */
+ public static final OfInt errno_t = hdf5_h.C_INT;
+
+ private static class __darwin_check_fd_set_overflow {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__darwin_check_fd_set_overflow");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __darwin_check_fd_set_overflow(int, const void *, int)
+ * }
+ */
+ public static FunctionDescriptor __darwin_check_fd_set_overflow$descriptor()
+ {
+ return __darwin_check_fd_set_overflow.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __darwin_check_fd_set_overflow(int, const void *, int)
+ * }
+ */
+ public static MethodHandle __darwin_check_fd_set_overflow$handle()
+ {
+ return __darwin_check_fd_set_overflow.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __darwin_check_fd_set_overflow(int, const void *, int)
+ * }
+ */
+ public static MemorySegment __darwin_check_fd_set_overflow$address()
+ {
+ return __darwin_check_fd_set_overflow.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int __darwin_check_fd_set_overflow(int, const void *, int)
+ * }
+ */
+ public static int __darwin_check_fd_set_overflow(int x0, MemorySegment x1, int x2)
+ {
+ var mh$ = __darwin_check_fd_set_overflow.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__darwin_check_fd_set_overflow", x0, x1, x2);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef __int32_t fd_mask
+ * }
+ */
+ public static final OfInt fd_mask = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_pthread_t pthread_t
+ * }
+ */
+ public static final AddressLayout pthread_t = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_pthread_key_t pthread_key_t
+ * }
+ */
+ public static final OfLong pthread_key_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_fsblkcnt_t fsblkcnt_t
+ * }
+ */
+ public static final OfInt fsblkcnt_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_fsfilcnt_t fsfilcnt_t
+ * }
+ */
+ public static final OfInt fsfilcnt_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int herr_t
+ * }
+ */
+ public static final OfInt herr_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef bool hbool_t
+ * }
+ */
+ public static final OfBoolean hbool_t = hdf5_h.C_BOOL;
+ /**
+ * {@snippet lang=c :
+ * typedef int htri_t
+ * }
+ */
+ public static final OfInt htri_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef uint64_t hsize_t
+ * }
+ */
+ public static final OfLong hsize_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef off_t HDoff_t
+ * }
+ */
+ public static final OfLong HDoff_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t hssize_t
+ * }
+ */
+ public static final OfLong hssize_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef uint64_t haddr_t
+ * }
+ */
+ public static final OfLong haddr_t = hdf5_h.C_LONG_LONG;
+ private static final int H5_ITER_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_UNKNOWN = -1
+ * }
+ */
+ public static int H5_ITER_UNKNOWN() { return H5_ITER_UNKNOWN; }
+ private static final int H5_ITER_INC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_INC = 0
+ * }
+ */
+ public static int H5_ITER_INC() { return H5_ITER_INC; }
+ private static final int H5_ITER_DEC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_DEC = 1
+ * }
+ */
+ public static int H5_ITER_DEC() { return H5_ITER_DEC; }
+ private static final int H5_ITER_NATIVE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_NATIVE = 2
+ * }
+ */
+ public static int H5_ITER_NATIVE() { return H5_ITER_NATIVE; }
+ private static final int H5_ITER_N = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5_ITER_N = 3
+ * }
+ */
+ public static int H5_ITER_N() { return H5_ITER_N; }
+ private static final int H5_INDEX_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_UNKNOWN = -1
+ * }
+ */
+ public static int H5_INDEX_UNKNOWN() { return H5_INDEX_UNKNOWN; }
+ private static final int H5_INDEX_NAME = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_NAME = 0
+ * }
+ */
+ public static int H5_INDEX_NAME() { return H5_INDEX_NAME; }
+ private static final int H5_INDEX_CRT_ORDER = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_CRT_ORDER = 1
+ * }
+ */
+ public static int H5_INDEX_CRT_ORDER() { return H5_INDEX_CRT_ORDER; }
+ private static final int H5_INDEX_N = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5_index_t.H5_INDEX_N = 2
+ * }
+ */
+ public static int H5_INDEX_N() { return H5_INDEX_N; }
+
+ private static class H5_libinit_g$constants {
+ public static final OfBoolean LAYOUT = hdf5_h.C_BOOL;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5_libinit_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static OfBoolean H5_libinit_g$layout() { return H5_libinit_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static MemorySegment H5_libinit_g$segment() { return H5_libinit_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static boolean H5_libinit_g()
+ {
+ return H5_libinit_g$constants.SEGMENT.get(H5_libinit_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libinit_g
+ * }
+ */
+ public static void H5_libinit_g(boolean varValue)
+ {
+ H5_libinit_g$constants.SEGMENT.set(H5_libinit_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5_libterm_g$constants {
+ public static final OfBoolean LAYOUT = hdf5_h.C_BOOL;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5_libterm_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static OfBoolean H5_libterm_g$layout() { return H5_libterm_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static MemorySegment H5_libterm_g$segment() { return H5_libterm_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static boolean H5_libterm_g()
+ {
+ return H5_libterm_g$constants.SEGMENT.get(H5_libterm_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern bool H5_libterm_g
+ * }
+ */
+ public static void H5_libterm_g(boolean varValue)
+ {
+ H5_libterm_g$constants.SEGMENT.set(H5_libterm_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5open {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static FunctionDescriptor H5open$descriptor() { return H5open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static MethodHandle H5open$handle() { return H5open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static MemorySegment H5open$address() { return H5open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5open()
+ * }
+ */
+ public static int H5open()
+ {
+ var mh$ = H5open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5open");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5atclose {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5atclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5atclose$descriptor() { return H5atclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static MethodHandle H5atclose$handle() { return H5atclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static MemorySegment H5atclose$address() { return H5atclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5atclose(H5_atclose_func_t func, void *ctx)
+ * }
+ */
+ public static int H5atclose(MemorySegment func, MemorySegment ctx)
+ {
+ var mh$ = H5atclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5atclose", func, ctx);
+ }
+ return (int)mh$.invokeExact(func, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static FunctionDescriptor H5close$descriptor() { return H5close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static MethodHandle H5close$handle() { return H5close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static MemorySegment H5close$address() { return H5close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5close()
+ * }
+ */
+ public static int H5close()
+ {
+ var mh$ = H5close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5close");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5dont_atexit {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5dont_atexit");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static FunctionDescriptor H5dont_atexit$descriptor() { return H5dont_atexit.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static MethodHandle H5dont_atexit$handle() { return H5dont_atexit.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static MemorySegment H5dont_atexit$address() { return H5dont_atexit.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5dont_atexit()
+ * }
+ */
+ public static int H5dont_atexit()
+ {
+ var mh$ = H5dont_atexit.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5dont_atexit");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5garbage_collect {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5garbage_collect");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static FunctionDescriptor H5garbage_collect$descriptor() { return H5garbage_collect.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static MethodHandle H5garbage_collect$handle() { return H5garbage_collect.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static MemorySegment H5garbage_collect$address() { return H5garbage_collect.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5garbage_collect()
+ * }
+ */
+ public static int H5garbage_collect()
+ {
+ var mh$ = H5garbage_collect.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5garbage_collect");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5set_free_list_limits {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5set_free_list_limits");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int
+ * arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static FunctionDescriptor H5set_free_list_limits$descriptor()
+ {
+ return H5set_free_list_limits.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int
+ * arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static MethodHandle H5set_free_list_limits$handle() { return H5set_free_list_limits.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int
+ * arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static MemorySegment H5set_free_list_limits$address() { return H5set_free_list_limits.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim, int
+ * arr_list_lim, int blk_global_lim, int blk_list_lim)
+ * }
+ */
+ public static int H5set_free_list_limits(int reg_global_lim, int reg_list_lim, int arr_global_lim,
+ int arr_list_lim, int blk_global_lim, int blk_list_lim)
+ {
+ var mh$ = H5set_free_list_limits.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5set_free_list_limits", reg_global_lim, reg_list_lim, arr_global_lim,
+ arr_list_lim, blk_global_lim, blk_list_lim);
+ }
+ return (int)mh$.invokeExact(reg_global_lim, reg_list_lim, arr_global_lim, arr_list_lim,
+ blk_global_lim, blk_list_lim);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5get_free_list_sizes {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5get_free_list_sizes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static FunctionDescriptor H5get_free_list_sizes$descriptor() { return H5get_free_list_sizes.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static MethodHandle H5get_free_list_sizes$handle() { return H5get_free_list_sizes.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static MemorySegment H5get_free_list_sizes$address() { return H5get_free_list_sizes.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5get_free_list_sizes(size_t *reg_size, size_t *arr_size, size_t *blk_size, size_t *fac_size)
+ * }
+ */
+ public static int H5get_free_list_sizes(MemorySegment reg_size, MemorySegment arr_size,
+ MemorySegment blk_size, MemorySegment fac_size)
+ {
+ var mh$ = H5get_free_list_sizes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5get_free_list_sizes", reg_size, arr_size, blk_size, fac_size);
+ }
+ return (int)mh$.invokeExact(reg_size, arr_size, blk_size, fac_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5get_libversion {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5get_libversion");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static FunctionDescriptor H5get_libversion$descriptor() { return H5get_libversion.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static MethodHandle H5get_libversion$handle() { return H5get_libversion.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static MemorySegment H5get_libversion$address() { return H5get_libversion.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5get_libversion(unsigned int *majnum, unsigned int *minnum, unsigned int *relnum)
+ * }
+ */
+ public static int H5get_libversion(MemorySegment majnum, MemorySegment minnum, MemorySegment relnum)
+ {
+ var mh$ = H5get_libversion.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5get_libversion", majnum, minnum, relnum);
+ }
+ return (int)mh$.invokeExact(majnum, minnum, relnum);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5check_version {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5check_version");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static FunctionDescriptor H5check_version$descriptor() { return H5check_version.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static MethodHandle H5check_version$handle() { return H5check_version.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static MemorySegment H5check_version$address() { return H5check_version.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5check_version(unsigned int majnum, unsigned int minnum, unsigned int relnum)
+ * }
+ */
+ public static int H5check_version(int majnum, int minnum, int relnum)
+ {
+ var mh$ = H5check_version.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5check_version", majnum, minnum, relnum);
+ }
+ return (int)mh$.invokeExact(majnum, minnum, relnum);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5is_library_terminating {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5is_library_terminating");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static FunctionDescriptor H5is_library_terminating$descriptor()
+ {
+ return H5is_library_terminating.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static MethodHandle H5is_library_terminating$handle() { return H5is_library_terminating.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static MemorySegment H5is_library_terminating$address() { return H5is_library_terminating.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5is_library_terminating(bool *is_terminating)
+ * }
+ */
+ public static int H5is_library_terminating(MemorySegment is_terminating)
+ {
+ var mh$ = H5is_library_terminating.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5is_library_terminating", is_terminating);
+ }
+ return (int)mh$.invokeExact(is_terminating);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5is_library_threadsafe {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5is_library_threadsafe");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static FunctionDescriptor H5is_library_threadsafe$descriptor()
+ {
+ return H5is_library_threadsafe.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static MethodHandle H5is_library_threadsafe$handle() { return H5is_library_threadsafe.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static MemorySegment H5is_library_threadsafe$address() { return H5is_library_threadsafe.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5is_library_threadsafe(bool *is_ts)
+ * }
+ */
+ public static int H5is_library_threadsafe(MemorySegment is_ts)
+ {
+ var mh$ = H5is_library_threadsafe.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5is_library_threadsafe", is_ts);
+ }
+ return (int)mh$.invokeExact(is_ts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5free_memory {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5free_memory");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static FunctionDescriptor H5free_memory$descriptor() { return H5free_memory.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static MethodHandle H5free_memory$handle() { return H5free_memory.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static MemorySegment H5free_memory$address() { return H5free_memory.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5free_memory(void *mem)
+ * }
+ */
+ public static int H5free_memory(MemorySegment mem)
+ {
+ var mh$ = H5free_memory.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5free_memory", mem);
+ }
+ return (int)mh$.invokeExact(mem);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5allocate_memory {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5allocate_memory");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static FunctionDescriptor H5allocate_memory$descriptor() { return H5allocate_memory.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static MethodHandle H5allocate_memory$handle() { return H5allocate_memory.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static MemorySegment H5allocate_memory$address() { return H5allocate_memory.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5allocate_memory(size_t size, bool clear)
+ * }
+ */
+ public static MemorySegment H5allocate_memory(long size, boolean clear)
+ {
+ var mh$ = H5allocate_memory.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5allocate_memory", size, clear);
+ }
+ return (MemorySegment)mh$.invokeExact(size, clear);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5resize_memory {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5resize_memory");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5resize_memory$descriptor() { return H5resize_memory.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static MethodHandle H5resize_memory$handle() { return H5resize_memory.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static MemorySegment H5resize_memory$address() { return H5resize_memory.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5resize_memory(void *mem, size_t size)
+ * }
+ */
+ public static MemorySegment H5resize_memory(MemorySegment mem, long size)
+ {
+ var mh$ = H5resize_memory.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5resize_memory", mem, size);
+ }
+ return (MemorySegment)mh$.invokeExact(mem, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5I_UNINIT = (int)-2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_UNINIT = -2
+ * }
+ */
+ public static int H5I_UNINIT() { return H5I_UNINIT; }
+ private static final int H5I_BADID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_BADID = -1
+ * }
+ */
+ public static int H5I_BADID() { return H5I_BADID; }
+ private static final int H5I_FILE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_FILE = 1
+ * }
+ */
+ public static int H5I_FILE() { return H5I_FILE; }
+ private static final int H5I_GROUP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_GROUP = 2
+ * }
+ */
+ public static int H5I_GROUP() { return H5I_GROUP; }
+ private static final int H5I_DATATYPE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_DATATYPE = 3
+ * }
+ */
+ public static int H5I_DATATYPE() { return H5I_DATATYPE; }
+ private static final int H5I_DATASPACE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_DATASPACE = 4
+ * }
+ */
+ public static int H5I_DATASPACE() { return H5I_DATASPACE; }
+ private static final int H5I_DATASET = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_DATASET = 5
+ * }
+ */
+ public static int H5I_DATASET() { return H5I_DATASET; }
+ private static final int H5I_MAP = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_MAP = 6
+ * }
+ */
+ public static int H5I_MAP() { return H5I_MAP; }
+ private static final int H5I_ATTR = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ATTR = 7
+ * }
+ */
+ public static int H5I_ATTR() { return H5I_ATTR; }
+ private static final int H5I_VFL = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_VFL = 8
+ * }
+ */
+ public static int H5I_VFL() { return H5I_VFL; }
+ private static final int H5I_VOL = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_VOL = 9
+ * }
+ */
+ public static int H5I_VOL() { return H5I_VOL; }
+ private static final int H5I_GENPROP_CLS = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_GENPROP_CLS = 10
+ * }
+ */
+ public static int H5I_GENPROP_CLS() { return H5I_GENPROP_CLS; }
+ private static final int H5I_GENPROP_LST = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_GENPROP_LST = 11
+ * }
+ */
+ public static int H5I_GENPROP_LST() { return H5I_GENPROP_LST; }
+ private static final int H5I_ERROR_CLASS = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ERROR_CLASS = 12
+ * }
+ */
+ public static int H5I_ERROR_CLASS() { return H5I_ERROR_CLASS; }
+ private static final int H5I_ERROR_MSG = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ERROR_MSG = 13
+ * }
+ */
+ public static int H5I_ERROR_MSG() { return H5I_ERROR_MSG; }
+ private static final int H5I_ERROR_STACK = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_ERROR_STACK = 14
+ * }
+ */
+ public static int H5I_ERROR_STACK() { return H5I_ERROR_STACK; }
+ private static final int H5I_SPACE_SEL_ITER = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_SPACE_SEL_ITER = 15
+ * }
+ */
+ public static int H5I_SPACE_SEL_ITER() { return H5I_SPACE_SEL_ITER; }
+ private static final int H5I_EVENTSET = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_EVENTSET = 16
+ * }
+ */
+ public static int H5I_EVENTSET() { return H5I_EVENTSET; }
+ private static final int H5I_NTYPES = (int)17L;
+ /**
+ * {@snippet lang=c :
+ * enum H5I_type_t.H5I_NTYPES = 17
+ * }
+ */
+ public static int H5I_NTYPES() { return H5I_NTYPES; }
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t hid_t
+ * }
+ */
+ public static final OfLong hid_t = hdf5_h.C_LONG_LONG;
+
+ private static class H5Iregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister$descriptor() { return H5Iregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static MethodHandle H5Iregister$handle() { return H5Iregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static MemorySegment H5Iregister$address() { return H5Iregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Iregister(H5I_type_t type, const void *object)
+ * }
+ */
+ public static long H5Iregister(int type, MemorySegment object)
+ {
+ var mh$ = H5Iregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister", type, object);
+ }
+ return (long)mh$.invokeExact(type, object);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iobject_verify {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iobject_verify");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iobject_verify$descriptor() { return H5Iobject_verify.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iobject_verify$handle() { return H5Iobject_verify.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iobject_verify$address() { return H5Iobject_verify.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5Iobject_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iobject_verify(long id, int type)
+ {
+ var mh$ = H5Iobject_verify.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iobject_verify", id, type);
+ }
+ return (MemorySegment)mh$.invokeExact(id, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iremove_verify {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iremove_verify");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iremove_verify$descriptor() { return H5Iremove_verify.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iremove_verify$handle() { return H5Iremove_verify.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iremove_verify$address() { return H5Iremove_verify.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5Iremove_verify(hid_t id, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iremove_verify(long id, int type)
+ {
+ var mh$ = H5Iremove_verify.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iremove_verify", id, type);
+ }
+ return (MemorySegment)mh$.invokeExact(id, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_type$descriptor() { return H5Iget_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iget_type$handle() { return H5Iget_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iget_type$address() { return H5Iget_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5I_type_t H5Iget_type(hid_t id)
+ * }
+ */
+ public static int H5Iget_type(long id)
+ {
+ var mh$ = H5Iget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_type", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_file_id {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_file_id");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_file_id$descriptor() { return H5Iget_file_id.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iget_file_id$handle() { return H5Iget_file_id.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iget_file_id$address() { return H5Iget_file_id.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Iget_file_id(hid_t id)
+ * }
+ */
+ public static long H5Iget_file_id(long id)
+ {
+ var mh$ = H5Iget_file_id.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_file_id", id);
+ }
+ return (long)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_name$descriptor() { return H5Iget_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Iget_name$handle() { return H5Iget_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Iget_name$address() { return H5Iget_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Iget_name(hid_t id, char *name, size_t size)
+ * }
+ */
+ public static long H5Iget_name(long id, MemorySegment name, long size)
+ {
+ var mh$ = H5Iget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_name", id, name, size);
+ }
+ return (long)mh$.invokeExact(id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iinc_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iinc_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iinc_ref$descriptor() { return H5Iinc_ref.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iinc_ref$handle() { return H5Iinc_ref.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iinc_ref$address() { return H5Iinc_ref.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iinc_ref(hid_t id)
+ * }
+ */
+ public static int H5Iinc_ref(long id)
+ {
+ var mh$ = H5Iinc_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iinc_ref", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Idec_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Idec_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Idec_ref$descriptor() { return H5Idec_ref.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Idec_ref$handle() { return H5Idec_ref.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Idec_ref$address() { return H5Idec_ref.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Idec_ref(hid_t id)
+ * }
+ */
+ public static int H5Idec_ref(long id)
+ {
+ var mh$ = H5Idec_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Idec_ref", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_ref$descriptor() { return H5Iget_ref.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iget_ref$handle() { return H5Iget_ref.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iget_ref$address() { return H5Iget_ref.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iget_ref(hid_t id)
+ * }
+ */
+ public static int H5Iget_ref(long id)
+ {
+ var mh$ = H5Iget_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_ref", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iregister_type2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister_type2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister_type2$descriptor() { return H5Iregister_type2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MethodHandle H5Iregister_type2$handle() { return H5Iregister_type2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MemorySegment H5Iregister_type2$address() { return H5Iregister_type2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type2(unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static int H5Iregister_type2(int reserved, MemorySegment free_func)
+ {
+ var mh$ = H5Iregister_type2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister_type2", reserved, free_func);
+ }
+ return (int)mh$.invokeExact(reserved, free_func);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iclear_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iclear_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static FunctionDescriptor H5Iclear_type$descriptor() { return H5Iclear_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static MethodHandle H5Iclear_type$handle() { return H5Iclear_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static MemorySegment H5Iclear_type$address() { return H5Iclear_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Iclear_type(H5I_type_t type, bool force)
+ * }
+ */
+ public static int H5Iclear_type(int type, boolean force)
+ {
+ var mh$ = H5Iclear_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iclear_type", type, force);
+ }
+ return (int)mh$.invokeExact(type, force);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Idestroy_type {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Idestroy_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Idestroy_type$descriptor() { return H5Idestroy_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Idestroy_type$handle() { return H5Idestroy_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Idestroy_type$address() { return H5Idestroy_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Idestroy_type(H5I_type_t type)
+ * }
+ */
+ public static int H5Idestroy_type(int type)
+ {
+ var mh$ = H5Idestroy_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Idestroy_type", type);
+ }
+ return (int)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iinc_type_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iinc_type_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iinc_type_ref$descriptor() { return H5Iinc_type_ref.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iinc_type_ref$handle() { return H5Iinc_type_ref.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iinc_type_ref$address() { return H5Iinc_type_ref.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iinc_type_ref(H5I_type_t type)
+ * }
+ */
+ public static int H5Iinc_type_ref(int type)
+ {
+ var mh$ = H5Iinc_type_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iinc_type_ref", type);
+ }
+ return (int)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Idec_type_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Idec_type_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Idec_type_ref$descriptor() { return H5Idec_type_ref.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Idec_type_ref$handle() { return H5Idec_type_ref.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Idec_type_ref$address() { return H5Idec_type_ref.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Idec_type_ref(H5I_type_t type)
+ * }
+ */
+ public static int H5Idec_type_ref(int type)
+ {
+ var mh$ = H5Idec_type_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Idec_type_ref", type);
+ }
+ return (int)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iget_type_ref {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iget_type_ref");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Iget_type_ref$descriptor() { return H5Iget_type_ref.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Iget_type_ref$handle() { return H5Iget_type_ref.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Iget_type_ref$address() { return H5Iget_type_ref.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Iget_type_ref(H5I_type_t type)
+ * }
+ */
+ public static int H5Iget_type_ref(int type)
+ {
+ var mh$ = H5Iget_type_ref.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iget_type_ref", type);
+ }
+ return (int)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Isearch {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Isearch");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static FunctionDescriptor H5Isearch$descriptor() { return H5Isearch.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static MethodHandle H5Isearch$handle() { return H5Isearch.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static MemorySegment H5Isearch$address() { return H5Isearch.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5Isearch(H5I_type_t type, H5I_search_func_t func, void *key)
+ * }
+ */
+ public static MemorySegment H5Isearch(int type, MemorySegment func, MemorySegment key)
+ {
+ var mh$ = H5Isearch.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Isearch", type, func, key);
+ }
+ return (MemorySegment)mh$.invokeExact(type, func, key);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iiterate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iiterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Iiterate$descriptor() { return H5Iiterate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Iiterate$handle() { return H5Iiterate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Iiterate$address() { return H5Iiterate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Iiterate(H5I_type_t type, H5I_iterate_func_t op, void *op_data)
+ * }
+ */
+ public static int H5Iiterate(int type, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Iiterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iiterate", type, op, op_data);
+ }
+ return (int)mh$.invokeExact(type, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Inmembers {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Inmembers");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static FunctionDescriptor H5Inmembers$descriptor() { return H5Inmembers.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static MethodHandle H5Inmembers$handle() { return H5Inmembers.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static MemorySegment H5Inmembers$address() { return H5Inmembers.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Inmembers(H5I_type_t type, hsize_t *num_members)
+ * }
+ */
+ public static int H5Inmembers(int type, MemorySegment num_members)
+ {
+ var mh$ = H5Inmembers.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Inmembers", type, num_members);
+ }
+ return (int)mh$.invokeExact(type, num_members);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Itype_exists {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Itype_exists");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Itype_exists$descriptor() { return H5Itype_exists.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5Itype_exists$handle() { return H5Itype_exists.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5Itype_exists$address() { return H5Itype_exists.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Itype_exists(H5I_type_t type)
+ * }
+ */
+ public static int H5Itype_exists(int type)
+ {
+ var mh$ = H5Itype_exists.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Itype_exists", type);
+ }
+ return (int)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iis_valid {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iis_valid");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Iis_valid$descriptor() { return H5Iis_valid.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static MethodHandle H5Iis_valid$handle() { return H5Iis_valid.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static MemorySegment H5Iis_valid$address() { return H5Iis_valid.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Iis_valid(hid_t id)
+ * }
+ */
+ public static int H5Iis_valid(long id)
+ {
+ var mh$ = H5Iis_valid.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iis_valid", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iregister_type1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister_type1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister_type1$descriptor() { return H5Iregister_type1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MethodHandle H5Iregister_type1$handle() { return H5Iregister_type1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static MemorySegment H5Iregister_type1$address() { return H5Iregister_type1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5I_type_t H5Iregister_type1(size_t hash_size, unsigned int reserved, H5I_free_t free_func)
+ * }
+ */
+ public static int H5Iregister_type1(long hash_size, int reserved, MemorySegment free_func)
+ {
+ var mh$ = H5Iregister_type1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister_type1", hash_size, reserved, free_func);
+ }
+ return (int)mh$.invokeExact(hash_size, reserved, free_func);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5O_TYPE_UNKNOWN = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_UNKNOWN = -1
+ * }
+ */
+ public static int H5O_TYPE_UNKNOWN() { return H5O_TYPE_UNKNOWN; }
+ private static final int H5O_TYPE_GROUP = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_GROUP = 0
+ * }
+ */
+ public static int H5O_TYPE_GROUP() { return H5O_TYPE_GROUP; }
+ private static final int H5O_TYPE_DATASET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_DATASET = 1
+ * }
+ */
+ public static int H5O_TYPE_DATASET() { return H5O_TYPE_DATASET; }
+ private static final int H5O_TYPE_NAMED_DATATYPE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_NAMED_DATATYPE = 2
+ * }
+ */
+ public static int H5O_TYPE_NAMED_DATATYPE() { return H5O_TYPE_NAMED_DATATYPE; }
+ private static final int H5O_TYPE_MAP = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_MAP = 3
+ * }
+ */
+ public static int H5O_TYPE_MAP() { return H5O_TYPE_MAP; }
+ private static final int H5O_TYPE_NTYPES = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_type_t.H5O_TYPE_NTYPES = 4
+ * }
+ */
+ public static int H5O_TYPE_NTYPES() { return H5O_TYPE_NTYPES; }
+ /**
+ * {@snippet lang=c :
+ * typedef uint32_t H5O_msg_crt_idx_t
+ * }
+ */
+ public static final OfInt H5O_msg_crt_idx_t = hdf5_h.C_INT;
+ private static final int H5O_MCDT_SEARCH_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_mcdt_search_ret_t.H5O_MCDT_SEARCH_ERROR = -1
+ * }
+ */
+ public static int H5O_MCDT_SEARCH_ERROR() { return H5O_MCDT_SEARCH_ERROR; }
+ private static final int H5O_MCDT_SEARCH_CONT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_mcdt_search_ret_t.H5O_MCDT_SEARCH_CONT = 0
+ * }
+ */
+ public static int H5O_MCDT_SEARCH_CONT() { return H5O_MCDT_SEARCH_CONT; }
+ private static final int H5O_MCDT_SEARCH_STOP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5O_mcdt_search_ret_t.H5O_MCDT_SEARCH_STOP = 1
+ * }
+ */
+ public static int H5O_MCDT_SEARCH_STOP() { return H5O_MCDT_SEARCH_STOP; }
+
+ private static class H5Oopen {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen$descriptor() { return H5Oopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oopen$handle() { return H5Oopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oopen$address() { return H5Oopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static long H5Oopen(long loc_id, MemorySegment name, long lapl_id)
+ {
+ var mh$ = H5Oopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen", loc_id, name, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_async$descriptor() { return H5Oopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oopen_async$handle() { return H5Oopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oopen_async$address() { return H5Oopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Oopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lapl_id, long es_id)
+ {
+ var mh$ = H5Oopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_async", app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_by_token {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, H5O_token_t.layout());
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_token");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_token$descriptor() { return H5Oopen_by_token.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_token$handle() { return H5Oopen_by_token.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_token$address() { return H5Oopen_by_token.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_token(hid_t loc_id, H5O_token_t token)
+ * }
+ */
+ public static long H5Oopen_by_token(long loc_id, MemorySegment token)
+ {
+ var mh$ = H5Oopen_by_token.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_token", loc_id, token);
+ }
+ return (long)mh$.invokeExact(loc_id, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_idx$descriptor() { return H5Oopen_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_idx$handle() { return H5Oopen_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_idx$address() { return H5Oopen_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static long H5Oopen_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order, long n,
+ long lapl_id)
+ {
+ var mh$ = H5Oopen_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_idx", loc_id, group_name, idx_type, order, n, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, group_name, idx_type, order, n, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oopen_by_idx_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_idx_async$descriptor() { return H5Oopen_by_idx_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_idx_async$handle() { return H5Oopen_by_idx_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_idx_async$address() { return H5Oopen_by_idx_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static long H5Oopen_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, long lapl_id, long es_id)
+ {
+ var mh$ = H5Oopen_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_idx_async", app_file, app_func, app_line, loc_id, group_name,
+ idx_type, order, n, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, group_name, idx_type, order, n,
+ lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oexists_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oexists_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oexists_by_name$descriptor() { return H5Oexists_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oexists_by_name$handle() { return H5Oexists_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oexists_by_name$address() { return H5Oexists_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Oexists_by_name(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oexists_by_name(long loc_id, MemorySegment name, long lapl_id)
+ {
+ var mh$ = H5Oexists_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oexists_by_name", loc_id, name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info3 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info3$descriptor() { return H5Oget_info3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Oget_info3$handle() { return H5Oget_info3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Oget_info3$address() { return H5Oget_info3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info3(hid_t loc_id, H5O_info2_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static int H5Oget_info3(long loc_id, MemorySegment oinfo, int fields)
+ {
+ var mh$ = H5Oget_info3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info3", loc_id, oinfo, fields);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo, fields);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name3 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name3$descriptor() { return H5Oget_info_by_name3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name3$handle() { return H5Oget_info_by_name3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name3$address() { return H5Oget_info_by_name3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name3(hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_name3(long loc_id, MemorySegment name, MemorySegment oinfo, int fields,
+ long lapl_id)
+ {
+ var mh$ = H5Oget_info_by_name3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name3", loc_id, name, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, fields, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name_async$descriptor()
+ {
+ return H5Oget_info_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name_async$handle() { return H5Oget_info_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name_async$address() { return H5Oget_info_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name_async(const char *app_file, const char *app_func, unsigned int app_line,
+ * hid_t loc_id, const char *name, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Oget_info_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, MemorySegment oinfo,
+ int fields, long lapl_id, long es_id)
+ {
+ var mh$ = H5Oget_info_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name_async", app_file, app_func, app_line, loc_id, name, oinfo,
+ fields, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, oinfo, fields, lapl_id,
+ es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_idx3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_idx3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_idx3$descriptor() { return H5Oget_info_by_idx3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_idx3$handle() { return H5Oget_info_by_idx3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_idx3$address() { return H5Oget_info_by_idx3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx3(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info2_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_idx3(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment oinfo, int fields, long lapl_id)
+ {
+ var mh$ = H5Oget_info_by_idx3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_idx3", loc_id, group_name, idx_type, order, n, oinfo, fields,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_native_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_native_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_native_info$descriptor() { return H5Oget_native_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Oget_native_info$handle() { return H5Oget_native_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Oget_native_info$address() { return H5Oget_native_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info(hid_t loc_id, H5O_native_info_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static int H5Oget_native_info(long loc_id, MemorySegment oinfo, int fields)
+ {
+ var mh$ = H5Oget_native_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_native_info", loc_id, oinfo, fields);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo, fields);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_native_info_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_native_info_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned
+ * int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_native_info_by_name$descriptor()
+ {
+ return H5Oget_native_info_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned
+ * int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_native_info_by_name$handle()
+ {
+ return H5Oget_native_info_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned
+ * int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_native_info_by_name$address()
+ {
+ return H5Oget_native_info_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_name(hid_t loc_id, const char *name, H5O_native_info_t *oinfo, unsigned
+ * int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_native_info_by_name(long loc_id, MemorySegment name, MemorySegment oinfo,
+ int fields, long lapl_id)
+ {
+ var mh$ = H5Oget_native_info_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_native_info_by_name", loc_id, name, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, fields, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_native_info_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_native_info_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type,
+ * H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_native_info_by_idx$descriptor()
+ {
+ return H5Oget_native_info_by_idx.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type,
+ * H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_native_info_by_idx$handle() { return H5Oget_native_info_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type,
+ * H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_native_info_by_idx$address() { return H5Oget_native_info_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_native_info_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type,
+ * H5_iter_order_t order, hsize_t n, H5O_native_info_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_native_info_by_idx(long loc_id, MemorySegment group_name, int idx_type,
+ int order, long n, MemorySegment oinfo, int fields,
+ long lapl_id)
+ {
+ var mh$ = H5Oget_native_info_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_native_info_by_idx", loc_id, group_name, idx_type, order, n, oinfo,
+ fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Olink {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Olink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Olink$descriptor() { return H5Olink.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Olink$handle() { return H5Olink.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Olink$address() { return H5Olink.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Olink(hid_t obj_id, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Olink(long obj_id, long new_loc_id, MemorySegment new_name, long lcpl_id,
+ long lapl_id)
+ {
+ var mh$ = H5Olink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Olink", obj_id, new_loc_id, new_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(obj_id, new_loc_id, new_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oincr_refcount {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oincr_refcount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oincr_refcount$descriptor() { return H5Oincr_refcount.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Oincr_refcount$handle() { return H5Oincr_refcount.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Oincr_refcount$address() { return H5Oincr_refcount.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oincr_refcount(hid_t object_id)
+ * }
+ */
+ public static int H5Oincr_refcount(long object_id)
+ {
+ var mh$ = H5Oincr_refcount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oincr_refcount", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Odecr_refcount {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Odecr_refcount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Odecr_refcount$descriptor() { return H5Odecr_refcount.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Odecr_refcount$handle() { return H5Odecr_refcount.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Odecr_refcount$address() { return H5Odecr_refcount.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Odecr_refcount(hid_t object_id)
+ * }
+ */
+ public static int H5Odecr_refcount(long object_id)
+ {
+ var mh$ = H5Odecr_refcount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Odecr_refcount", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ocopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ocopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t
+ * ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ocopy$descriptor() { return H5Ocopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t
+ * ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static MethodHandle H5Ocopy$handle() { return H5Ocopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t
+ * ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static MemorySegment H5Ocopy$address() { return H5Ocopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ocopy(hid_t src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t
+ * ocpypl_id, hid_t lcpl_id)
+ * }
+ */
+ public static int H5Ocopy(long src_loc_id, MemorySegment src_name, long dst_loc_id,
+ MemorySegment dst_name, long ocpypl_id, long lcpl_id)
+ {
+ var mh$ = H5Ocopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ocopy", src_loc_id, src_name, dst_loc_id, dst_name, ocpypl_id, lcpl_id);
+ }
+ return (int)mh$.invokeExact(src_loc_id, src_name, dst_loc_id, dst_name, ocpypl_id, lcpl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ocopy_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ocopy_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t
+ * lcpl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ocopy_async$descriptor() { return H5Ocopy_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t
+ * lcpl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ocopy_async$handle() { return H5Ocopy_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t
+ * lcpl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ocopy_async$address() { return H5Ocopy_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ocopy_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * src_loc_id, const char *src_name, hid_t dst_loc_id, const char *dst_name, hid_t ocpypl_id, hid_t
+ * lcpl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Ocopy_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long src_loc_id, MemorySegment src_name, long dst_loc_id,
+ MemorySegment dst_name, long ocpypl_id, long lcpl_id, long es_id)
+ {
+ var mh$ = H5Ocopy_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ocopy_async", app_file, app_func, app_line, src_loc_id, src_name, dst_loc_id,
+ dst_name, ocpypl_id, lcpl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, src_loc_id, src_name, dst_loc_id,
+ dst_name, ocpypl_id, lcpl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oset_comment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oset_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static FunctionDescriptor H5Oset_comment$descriptor() { return H5Oset_comment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static MethodHandle H5Oset_comment$handle() { return H5Oset_comment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static MemorySegment H5Oset_comment$address() { return H5Oset_comment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment(hid_t obj_id, const char *comment)
+ * }
+ */
+ public static int H5Oset_comment(long obj_id, MemorySegment comment)
+ {
+ var mh$ = H5Oset_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oset_comment", obj_id, comment);
+ }
+ return (int)mh$.invokeExact(obj_id, comment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oset_comment_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oset_comment_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oset_comment_by_name$descriptor()
+ {
+ return H5Oset_comment_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oset_comment_by_name$handle() { return H5Oset_comment_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oset_comment_by_name$address() { return H5Oset_comment_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oset_comment_by_name(hid_t loc_id, const char *name, const char *comment, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oset_comment_by_name(long loc_id, MemorySegment name, MemorySegment comment,
+ long lapl_id)
+ {
+ var mh$ = H5Oset_comment_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oset_comment_by_name", loc_id, name, comment, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, comment, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_comment {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_comment");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_comment$descriptor() { return H5Oget_comment.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static MethodHandle H5Oget_comment$handle() { return H5Oget_comment.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static MemorySegment H5Oget_comment$address() { return H5Oget_comment.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment(hid_t obj_id, char *comment, size_t bufsize)
+ * }
+ */
+ public static long H5Oget_comment(long obj_id, MemorySegment comment, long bufsize)
+ {
+ var mh$ = H5Oget_comment.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_comment", obj_id, comment, bufsize);
+ }
+ return (long)mh$.invokeExact(obj_id, comment, bufsize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_comment_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_comment_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t
+ * lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_comment_by_name$descriptor()
+ {
+ return H5Oget_comment_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t
+ * lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_comment_by_name$handle() { return H5Oget_comment_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t
+ * lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_comment_by_name$address() { return H5Oget_comment_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Oget_comment_by_name(hid_t loc_id, const char *name, char *comment, size_t bufsize, hid_t
+ * lapl_id)
+ * }
+ */
+ public static long H5Oget_comment_by_name(long loc_id, MemorySegment name, MemorySegment comment,
+ long bufsize, long lapl_id)
+ {
+ var mh$ = H5Oget_comment_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_comment_by_name", loc_id, name, comment, bufsize, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, comment, bufsize, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit3 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void
+ * *op_data, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit3$descriptor() { return H5Ovisit3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void
+ * *op_data, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Ovisit3$handle() { return H5Ovisit3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void
+ * *op_data, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Ovisit3$address() { return H5Ovisit3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit3(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate2_t op, void
+ * *op_data, unsigned int fields)
+ * }
+ */
+ public static int H5Ovisit3(long obj_id, int idx_type, int order, MemorySegment op, MemorySegment op_data,
+ int fields)
+ {
+ var mh$ = H5Ovisit3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit3", obj_id, idx_type, order, op, op_data, fields);
+ }
+ return (int)mh$.invokeExact(obj_id, idx_type, order, op, op_data, fields);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit_by_name3 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit_by_name3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit_by_name3$descriptor() { return H5Ovisit_by_name3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ovisit_by_name3$handle() { return H5Ovisit_by_name3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ovisit_by_name3$address() { return H5Ovisit_by_name3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name3(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate2_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ovisit_by_name3(long loc_id, MemorySegment obj_name, int idx_type, int order,
+ MemorySegment op, MemorySegment op_data, int fields, long lapl_id)
+ {
+ var mh$ = H5Ovisit_by_name3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit_by_name3", loc_id, obj_name, idx_type, order, op, op_data, fields,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, op, op_data, fields, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oclose$descriptor() { return H5Oclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Oclose$handle() { return H5Oclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Oclose$address() { return H5Oclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oclose(hid_t object_id)
+ * }
+ */
+ public static int H5Oclose(long object_id)
+ {
+ var mh$ = H5Oclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oclose", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oclose_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oclose_async$descriptor() { return H5Oclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oclose_async$handle() { return H5Oclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oclose_async$address() { return H5Oclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, hid_t es_id)
+ * }
+ */
+ public static int H5Oclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long object_id, long es_id)
+ {
+ var mh$ = H5Oclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oclose_async", app_file, app_func, app_line, object_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, object_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oflush$descriptor() { return H5Oflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static MethodHandle H5Oflush$handle() { return H5Oflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static MemorySegment H5Oflush$address() { return H5Oflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oflush(hid_t obj_id)
+ * }
+ */
+ public static int H5Oflush(long obj_id)
+ {
+ var mh$ = H5Oflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oflush", obj_id);
+ }
+ return (int)mh$.invokeExact(obj_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oflush_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oflush_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oflush_async$descriptor() { return H5Oflush_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Oflush_async$handle() { return H5Oflush_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Oflush_async$address() { return H5Oflush_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Oflush_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long obj_id, long es_id)
+ {
+ var mh$ = H5Oflush_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oflush_async", app_file, app_func, app_line, obj_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, obj_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Orefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Orefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static FunctionDescriptor H5Orefresh$descriptor() { return H5Orefresh.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static MethodHandle H5Orefresh$handle() { return H5Orefresh.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static MemorySegment H5Orefresh$address() { return H5Orefresh.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Orefresh(hid_t oid)
+ * }
+ */
+ public static int H5Orefresh(long oid)
+ {
+ var mh$ = H5Orefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Orefresh", oid);
+ }
+ return (int)mh$.invokeExact(oid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Orefresh_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Orefresh_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Orefresh_async$descriptor() { return H5Orefresh_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Orefresh_async$handle() { return H5Orefresh_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Orefresh_async$address() { return H5Orefresh_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Orefresh_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t oid,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Orefresh_async(MemorySegment app_file, MemorySegment app_func, int app_line, long oid,
+ long es_id)
+ {
+ var mh$ = H5Orefresh_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Orefresh_async", app_file, app_func, app_line, oid, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, oid, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Odisable_mdc_flushes {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Odisable_mdc_flushes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Odisable_mdc_flushes$descriptor()
+ {
+ return H5Odisable_mdc_flushes.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Odisable_mdc_flushes$handle() { return H5Odisable_mdc_flushes.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Odisable_mdc_flushes$address() { return H5Odisable_mdc_flushes.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Odisable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static int H5Odisable_mdc_flushes(long object_id)
+ {
+ var mh$ = H5Odisable_mdc_flushes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Odisable_mdc_flushes", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oenable_mdc_flushes {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oenable_mdc_flushes");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oenable_mdc_flushes$descriptor() { return H5Oenable_mdc_flushes.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MethodHandle H5Oenable_mdc_flushes$handle() { return H5Oenable_mdc_flushes.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static MemorySegment H5Oenable_mdc_flushes$address() { return H5Oenable_mdc_flushes.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oenable_mdc_flushes(hid_t object_id)
+ * }
+ */
+ public static int H5Oenable_mdc_flushes(long object_id)
+ {
+ var mh$ = H5Oenable_mdc_flushes.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oenable_mdc_flushes", object_id);
+ }
+ return (int)mh$.invokeExact(object_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oare_mdc_flushes_disabled {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oare_mdc_flushes_disabled");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static FunctionDescriptor H5Oare_mdc_flushes_disabled$descriptor()
+ {
+ return H5Oare_mdc_flushes_disabled.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static MethodHandle H5Oare_mdc_flushes_disabled$handle()
+ {
+ return H5Oare_mdc_flushes_disabled.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static MemorySegment H5Oare_mdc_flushes_disabled$address()
+ {
+ return H5Oare_mdc_flushes_disabled.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oare_mdc_flushes_disabled(hid_t object_id, bool *are_disabled)
+ * }
+ */
+ public static int H5Oare_mdc_flushes_disabled(long object_id, MemorySegment are_disabled)
+ {
+ var mh$ = H5Oare_mdc_flushes_disabled.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oare_mdc_flushes_disabled", object_id, are_disabled);
+ }
+ return (int)mh$.invokeExact(object_id, are_disabled);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Otoken_cmp {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Otoken_cmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static FunctionDescriptor H5Otoken_cmp$descriptor() { return H5Otoken_cmp.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static MethodHandle H5Otoken_cmp$handle() { return H5Otoken_cmp.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static MemorySegment H5Otoken_cmp$address() { return H5Otoken_cmp.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Otoken_cmp(hid_t loc_id, const H5O_token_t *token1, const H5O_token_t *token2, int *cmp_value)
+ * }
+ */
+ public static int H5Otoken_cmp(long loc_id, MemorySegment token1, MemorySegment token2,
+ MemorySegment cmp_value)
+ {
+ var mh$ = H5Otoken_cmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Otoken_cmp", loc_id, token1, token2, cmp_value);
+ }
+ return (int)mh$.invokeExact(loc_id, token1, token2, cmp_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Otoken_to_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Otoken_to_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static FunctionDescriptor H5Otoken_to_str$descriptor() { return H5Otoken_to_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static MethodHandle H5Otoken_to_str$handle() { return H5Otoken_to_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static MemorySegment H5Otoken_to_str$address() { return H5Otoken_to_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Otoken_to_str(hid_t loc_id, const H5O_token_t *token, char **token_str)
+ * }
+ */
+ public static int H5Otoken_to_str(long loc_id, MemorySegment token, MemorySegment token_str)
+ {
+ var mh$ = H5Otoken_to_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Otoken_to_str", loc_id, token, token_str);
+ }
+ return (int)mh$.invokeExact(loc_id, token, token_str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Otoken_from_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Otoken_from_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static FunctionDescriptor H5Otoken_from_str$descriptor() { return H5Otoken_from_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static MethodHandle H5Otoken_from_str$handle() { return H5Otoken_from_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static MemorySegment H5Otoken_from_str$address() { return H5Otoken_from_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Otoken_from_str(hid_t loc_id, const char *token_str, H5O_token_t *token)
+ * }
+ */
+ public static int H5Otoken_from_str(long loc_id, MemorySegment token_str, MemorySegment token)
+ {
+ var mh$ = H5Otoken_from_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Otoken_from_str", loc_id, token_str, token);
+ }
+ return (int)mh$.invokeExact(loc_id, token_str, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5O_TOKEN_UNDEF_g$constants {
+ public static final GroupLayout LAYOUT = H5O_token_t.layout();
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5O_TOKEN_UNDEF_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern const H5O_token_t H5O_TOKEN_UNDEF_g
+ * }
+ */
+ public static GroupLayout H5O_TOKEN_UNDEF_g$layout() { return H5O_TOKEN_UNDEF_g$constants.LAYOUT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern const H5O_token_t H5O_TOKEN_UNDEF_g
+ * }
+ */
+ public static MemorySegment H5O_TOKEN_UNDEF_g() { return H5O_TOKEN_UNDEF_g$constants.SEGMENT; }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern const H5O_token_t H5O_TOKEN_UNDEF_g
+ * }
+ */
+ public static void H5O_TOKEN_UNDEF_g(MemorySegment varValue)
+ {
+ MemorySegment.copy(varValue, 0L, H5O_TOKEN_UNDEF_g$constants.SEGMENT, 0L,
+ H5O_TOKEN_UNDEF_g$constants.LAYOUT.byteSize());
+ }
+
+ private static class H5Oopen_by_addr {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oopen_by_addr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static FunctionDescriptor H5Oopen_by_addr$descriptor() { return H5Oopen_by_addr.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static MethodHandle H5Oopen_by_addr$handle() { return H5Oopen_by_addr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static MemorySegment H5Oopen_by_addr$address() { return H5Oopen_by_addr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Oopen_by_addr(hid_t loc_id, haddr_t addr)
+ * }
+ */
+ public static long H5Oopen_by_addr(long loc_id, long addr)
+ {
+ var mh$ = H5Oopen_by_addr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oopen_by_addr", loc_id, addr);
+ }
+ return (long)mh$.invokeExact(loc_id, addr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info1$descriptor() { return H5Oget_info1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static MethodHandle H5Oget_info1$handle() { return H5Oget_info1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static MemorySegment H5Oget_info1$address() { return H5Oget_info1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info1(hid_t loc_id, H5O_info1_t *oinfo)
+ * }
+ */
+ public static int H5Oget_info1(long loc_id, MemorySegment oinfo)
+ {
+ var mh$ = H5Oget_info1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info1", loc_id, oinfo);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name1$descriptor() { return H5Oget_info_by_name1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name1$handle() { return H5Oget_info_by_name1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name1$address() { return H5Oget_info_by_name1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name1(hid_t loc_id, const char *name, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_name1(long loc_id, MemorySegment name, MemorySegment oinfo, long lapl_id)
+ {
+ var mh$ = H5Oget_info_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name1", loc_id, name, oinfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_idx1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_idx1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_idx1$descriptor() { return H5Oget_info_by_idx1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_idx1$handle() { return H5Oget_info_by_idx1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_idx1$address() { return H5Oget_info_by_idx1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx1(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info1_t *oinfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_idx1(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment oinfo, long lapl_id)
+ {
+ var mh$ = H5Oget_info_by_idx1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_idx1", loc_id, group_name, idx_type, order, n, oinfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info2$descriptor() { return H5Oget_info2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Oget_info2$handle() { return H5Oget_info2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Oget_info2$address() { return H5Oget_info2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info2(hid_t loc_id, H5O_info1_t *oinfo, unsigned int fields)
+ * }
+ */
+ public static int H5Oget_info2(long loc_id, MemorySegment oinfo, int fields)
+ {
+ var mh$ = H5Oget_info2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info2", loc_id, oinfo, fields);
+ }
+ return (int)mh$.invokeExact(loc_id, oinfo, fields);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_name2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_name2$descriptor() { return H5Oget_info_by_name2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_name2$handle() { return H5Oget_info_by_name2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_name2$address() { return H5Oget_info_by_name2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_name2(hid_t loc_id, const char *name, H5O_info1_t *oinfo, unsigned int fields,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_name2(long loc_id, MemorySegment name, MemorySegment oinfo, int fields,
+ long lapl_id)
+ {
+ var mh$ = H5Oget_info_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_name2", loc_id, name, oinfo, fields, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, oinfo, fields, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Oget_info_by_idx2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Oget_info_by_idx2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Oget_info_by_idx2$descriptor() { return H5Oget_info_by_idx2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Oget_info_by_idx2$handle() { return H5Oget_info_by_idx2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Oget_info_by_idx2$address() { return H5Oget_info_by_idx2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Oget_info_by_idx2(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5O_info1_t *oinfo, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Oget_info_by_idx2(long loc_id, MemorySegment group_name, int idx_type, int order,
+ long n, MemorySegment oinfo, int fields, long lapl_id)
+ {
+ var mh$ = H5Oget_info_by_idx2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Oget_info_by_idx2", loc_id, group_name, idx_type, order, n, oinfo, fields,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, oinfo, fields, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit1$descriptor() { return H5Ovisit1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static MethodHandle H5Ovisit1$handle() { return H5Ovisit1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static MemorySegment H5Ovisit1$address() { return H5Ovisit1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit1(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void
+ * *op_data)
+ * }
+ */
+ public static int H5Ovisit1(long obj_id, int idx_type, int order, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Ovisit1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit1", obj_id, idx_type, order, op, op_data);
+ }
+ return (int)mh$.invokeExact(obj_id, idx_type, order, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit_by_name1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit_by_name1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit_by_name1$descriptor() { return H5Ovisit_by_name1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ovisit_by_name1$handle() { return H5Ovisit_by_name1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ovisit_by_name1$address() { return H5Ovisit_by_name1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name1(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate1_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ovisit_by_name1(long loc_id, MemorySegment obj_name, int idx_type, int order,
+ MemorySegment op, MemorySegment op_data, long lapl_id)
+ {
+ var mh$ = H5Ovisit_by_name1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit_by_name1", loc_id, obj_name, idx_type, order, op, op_data, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void
+ * *op_data, unsigned int fields)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit2$descriptor() { return H5Ovisit2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void
+ * *op_data, unsigned int fields)
+ * }
+ */
+ public static MethodHandle H5Ovisit2$handle() { return H5Ovisit2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void
+ * *op_data, unsigned int fields)
+ * }
+ */
+ public static MemorySegment H5Ovisit2$address() { return H5Ovisit2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit2(hid_t obj_id, H5_index_t idx_type, H5_iter_order_t order, H5O_iterate1_t op, void
+ * *op_data, unsigned int fields)
+ * }
+ */
+ public static int H5Ovisit2(long obj_id, int idx_type, int order, MemorySegment op, MemorySegment op_data,
+ int fields)
+ {
+ var mh$ = H5Ovisit2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit2", obj_id, idx_type, order, op, op_data, fields);
+ }
+ return (int)mh$.invokeExact(obj_id, idx_type, order, op, op_data, fields);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ovisit_by_name2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ovisit_by_name2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ovisit_by_name2$descriptor() { return H5Ovisit_by_name2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ovisit_by_name2$handle() { return H5Ovisit_by_name2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ovisit_by_name2$address() { return H5Ovisit_by_name2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ovisit_by_name2(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, H5O_iterate1_t op, void *op_data, unsigned int fields, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ovisit_by_name2(long loc_id, MemorySegment obj_name, int idx_type, int order,
+ MemorySegment op, MemorySegment op_data, int fields, long lapl_id)
+ {
+ var mh$ = H5Ovisit_by_name2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ovisit_by_name2", loc_id, obj_name, idx_type, order, op, op_data, fields,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, op, op_data, fields, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5T_NO_CLASS = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_NO_CLASS = -1
+ * }
+ */
+ public static int H5T_NO_CLASS() { return H5T_NO_CLASS; }
+ private static final int H5T_INTEGER = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_INTEGER = 0
+ * }
+ */
+ public static int H5T_INTEGER() { return H5T_INTEGER; }
+ private static final int H5T_FLOAT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_FLOAT = 1
+ * }
+ */
+ public static int H5T_FLOAT() { return H5T_FLOAT; }
+ private static final int H5T_TIME = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_TIME = 2
+ * }
+ */
+ public static int H5T_TIME() { return H5T_TIME; }
+ private static final int H5T_STRING = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_STRING = 3
+ * }
+ */
+ public static int H5T_STRING() { return H5T_STRING; }
+ private static final int H5T_BITFIELD = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_BITFIELD = 4
+ * }
+ */
+ public static int H5T_BITFIELD() { return H5T_BITFIELD; }
+ private static final int H5T_OPAQUE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_OPAQUE = 5
+ * }
+ */
+ public static int H5T_OPAQUE() { return H5T_OPAQUE; }
+ private static final int H5T_COMPOUND = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_COMPOUND = 6
+ * }
+ */
+ public static int H5T_COMPOUND() { return H5T_COMPOUND; }
+ private static final int H5T_REFERENCE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_REFERENCE = 7
+ * }
+ */
+ public static int H5T_REFERENCE() { return H5T_REFERENCE; }
+ private static final int H5T_ENUM = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_ENUM = 8
+ * }
+ */
+ public static int H5T_ENUM() { return H5T_ENUM; }
+ private static final int H5T_VLEN = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_VLEN = 9
+ * }
+ */
+ public static int H5T_VLEN() { return H5T_VLEN; }
+ private static final int H5T_ARRAY = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_ARRAY = 10
+ * }
+ */
+ public static int H5T_ARRAY() { return H5T_ARRAY; }
+ private static final int H5T_COMPLEX = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_COMPLEX = 11
+ * }
+ */
+ public static int H5T_COMPLEX() { return H5T_COMPLEX; }
+ private static final int H5T_NCLASSES = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_class_t.H5T_NCLASSES = 12
+ * }
+ */
+ public static int H5T_NCLASSES() { return H5T_NCLASSES; }
+ private static final int H5T_ORDER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_ERROR = -1
+ * }
+ */
+ public static int H5T_ORDER_ERROR() { return H5T_ORDER_ERROR; }
+ private static final int H5T_ORDER_LE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_LE = 0
+ * }
+ */
+ public static int H5T_ORDER_LE() { return H5T_ORDER_LE; }
+ private static final int H5T_ORDER_BE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_BE = 1
+ * }
+ */
+ public static int H5T_ORDER_BE() { return H5T_ORDER_BE; }
+ private static final int H5T_ORDER_VAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_VAX = 2
+ * }
+ */
+ public static int H5T_ORDER_VAX() { return H5T_ORDER_VAX; }
+ private static final int H5T_ORDER_MIXED = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_MIXED = 3
+ * }
+ */
+ public static int H5T_ORDER_MIXED() { return H5T_ORDER_MIXED; }
+ private static final int H5T_ORDER_NONE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_order_t.H5T_ORDER_NONE = 4
+ * }
+ */
+ public static int H5T_ORDER_NONE() { return H5T_ORDER_NONE; }
+ private static final int H5T_SGN_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_SGN_ERROR = -1
+ * }
+ */
+ public static int H5T_SGN_ERROR() { return H5T_SGN_ERROR; }
+ private static final int H5T_SGN_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_SGN_NONE = 0
+ * }
+ */
+ public static int H5T_SGN_NONE() { return H5T_SGN_NONE; }
+ private static final int H5T_SGN_2 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_SGN_2 = 1
+ * }
+ */
+ public static int H5T_SGN_2() { return H5T_SGN_2; }
+ private static final int H5T_NSGN = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_sign_t.H5T_NSGN = 2
+ * }
+ */
+ public static int H5T_NSGN() { return H5T_NSGN; }
+ private static final int H5T_NORM_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_ERROR = -1
+ * }
+ */
+ public static int H5T_NORM_ERROR() { return H5T_NORM_ERROR; }
+ private static final int H5T_NORM_IMPLIED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_IMPLIED = 0
+ * }
+ */
+ public static int H5T_NORM_IMPLIED() { return H5T_NORM_IMPLIED; }
+ private static final int H5T_NORM_MSBSET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_MSBSET = 1
+ * }
+ */
+ public static int H5T_NORM_MSBSET() { return H5T_NORM_MSBSET; }
+ private static final int H5T_NORM_NONE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_norm_t.H5T_NORM_NONE = 2
+ * }
+ */
+ public static int H5T_NORM_NONE() { return H5T_NORM_NONE; }
+ private static final int H5T_CSET_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_ERROR = -1
+ * }
+ */
+ public static int H5T_CSET_ERROR() { return H5T_CSET_ERROR; }
+ private static final int H5T_CSET_ASCII = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_ASCII = 0
+ * }
+ */
+ public static int H5T_CSET_ASCII() { return H5T_CSET_ASCII; }
+ private static final int H5T_CSET_UTF8 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_UTF8 = 1
+ * }
+ */
+ public static int H5T_CSET_UTF8() { return H5T_CSET_UTF8; }
+ private static final int H5T_CSET_RESERVED_2 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_2 = 2
+ * }
+ */
+ public static int H5T_CSET_RESERVED_2() { return H5T_CSET_RESERVED_2; }
+ private static final int H5T_CSET_RESERVED_3 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_3 = 3
+ * }
+ */
+ public static int H5T_CSET_RESERVED_3() { return H5T_CSET_RESERVED_3; }
+ private static final int H5T_CSET_RESERVED_4 = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_4 = 4
+ * }
+ */
+ public static int H5T_CSET_RESERVED_4() { return H5T_CSET_RESERVED_4; }
+ private static final int H5T_CSET_RESERVED_5 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_5 = 5
+ * }
+ */
+ public static int H5T_CSET_RESERVED_5() { return H5T_CSET_RESERVED_5; }
+ private static final int H5T_CSET_RESERVED_6 = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_6 = 6
+ * }
+ */
+ public static int H5T_CSET_RESERVED_6() { return H5T_CSET_RESERVED_6; }
+ private static final int H5T_CSET_RESERVED_7 = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_7 = 7
+ * }
+ */
+ public static int H5T_CSET_RESERVED_7() { return H5T_CSET_RESERVED_7; }
+ private static final int H5T_CSET_RESERVED_8 = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_8 = 8
+ * }
+ */
+ public static int H5T_CSET_RESERVED_8() { return H5T_CSET_RESERVED_8; }
+ private static final int H5T_CSET_RESERVED_9 = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_9 = 9
+ * }
+ */
+ public static int H5T_CSET_RESERVED_9() { return H5T_CSET_RESERVED_9; }
+ private static final int H5T_CSET_RESERVED_10 = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_10 = 10
+ * }
+ */
+ public static int H5T_CSET_RESERVED_10() { return H5T_CSET_RESERVED_10; }
+ private static final int H5T_CSET_RESERVED_11 = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_11 = 11
+ * }
+ */
+ public static int H5T_CSET_RESERVED_11() { return H5T_CSET_RESERVED_11; }
+ private static final int H5T_CSET_RESERVED_12 = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_12 = 12
+ * }
+ */
+ public static int H5T_CSET_RESERVED_12() { return H5T_CSET_RESERVED_12; }
+ private static final int H5T_CSET_RESERVED_13 = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_13 = 13
+ * }
+ */
+ public static int H5T_CSET_RESERVED_13() { return H5T_CSET_RESERVED_13; }
+ private static final int H5T_CSET_RESERVED_14 = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_14 = 14
+ * }
+ */
+ public static int H5T_CSET_RESERVED_14() { return H5T_CSET_RESERVED_14; }
+ private static final int H5T_CSET_RESERVED_15 = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cset_t.H5T_CSET_RESERVED_15 = 15
+ * }
+ */
+ public static int H5T_CSET_RESERVED_15() { return H5T_CSET_RESERVED_15; }
+ private static final int H5T_STR_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_ERROR = -1
+ * }
+ */
+ public static int H5T_STR_ERROR() { return H5T_STR_ERROR; }
+ private static final int H5T_STR_NULLTERM = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_NULLTERM = 0
+ * }
+ */
+ public static int H5T_STR_NULLTERM() { return H5T_STR_NULLTERM; }
+ private static final int H5T_STR_NULLPAD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_NULLPAD = 1
+ * }
+ */
+ public static int H5T_STR_NULLPAD() { return H5T_STR_NULLPAD; }
+ private static final int H5T_STR_SPACEPAD = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_SPACEPAD = 2
+ * }
+ */
+ public static int H5T_STR_SPACEPAD() { return H5T_STR_SPACEPAD; }
+ private static final int H5T_STR_RESERVED_3 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_3 = 3
+ * }
+ */
+ public static int H5T_STR_RESERVED_3() { return H5T_STR_RESERVED_3; }
+ private static final int H5T_STR_RESERVED_4 = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_4 = 4
+ * }
+ */
+ public static int H5T_STR_RESERVED_4() { return H5T_STR_RESERVED_4; }
+ private static final int H5T_STR_RESERVED_5 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_5 = 5
+ * }
+ */
+ public static int H5T_STR_RESERVED_5() { return H5T_STR_RESERVED_5; }
+ private static final int H5T_STR_RESERVED_6 = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_6 = 6
+ * }
+ */
+ public static int H5T_STR_RESERVED_6() { return H5T_STR_RESERVED_6; }
+ private static final int H5T_STR_RESERVED_7 = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_7 = 7
+ * }
+ */
+ public static int H5T_STR_RESERVED_7() { return H5T_STR_RESERVED_7; }
+ private static final int H5T_STR_RESERVED_8 = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_8 = 8
+ * }
+ */
+ public static int H5T_STR_RESERVED_8() { return H5T_STR_RESERVED_8; }
+ private static final int H5T_STR_RESERVED_9 = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_9 = 9
+ * }
+ */
+ public static int H5T_STR_RESERVED_9() { return H5T_STR_RESERVED_9; }
+ private static final int H5T_STR_RESERVED_10 = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_10 = 10
+ * }
+ */
+ public static int H5T_STR_RESERVED_10() { return H5T_STR_RESERVED_10; }
+ private static final int H5T_STR_RESERVED_11 = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_11 = 11
+ * }
+ */
+ public static int H5T_STR_RESERVED_11() { return H5T_STR_RESERVED_11; }
+ private static final int H5T_STR_RESERVED_12 = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_12 = 12
+ * }
+ */
+ public static int H5T_STR_RESERVED_12() { return H5T_STR_RESERVED_12; }
+ private static final int H5T_STR_RESERVED_13 = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_13 = 13
+ * }
+ */
+ public static int H5T_STR_RESERVED_13() { return H5T_STR_RESERVED_13; }
+ private static final int H5T_STR_RESERVED_14 = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_14 = 14
+ * }
+ */
+ public static int H5T_STR_RESERVED_14() { return H5T_STR_RESERVED_14; }
+ private static final int H5T_STR_RESERVED_15 = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_str_t.H5T_STR_RESERVED_15 = 15
+ * }
+ */
+ public static int H5T_STR_RESERVED_15() { return H5T_STR_RESERVED_15; }
+ private static final int H5T_PAD_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_ERROR = -1
+ * }
+ */
+ public static int H5T_PAD_ERROR() { return H5T_PAD_ERROR; }
+ private static final int H5T_PAD_ZERO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_ZERO = 0
+ * }
+ */
+ public static int H5T_PAD_ZERO() { return H5T_PAD_ZERO; }
+ private static final int H5T_PAD_ONE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_ONE = 1
+ * }
+ */
+ public static int H5T_PAD_ONE() { return H5T_PAD_ONE; }
+ private static final int H5T_PAD_BACKGROUND = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_PAD_BACKGROUND = 2
+ * }
+ */
+ public static int H5T_PAD_BACKGROUND() { return H5T_PAD_BACKGROUND; }
+ private static final int H5T_NPAD = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pad_t.H5T_NPAD = 3
+ * }
+ */
+ public static int H5T_NPAD() { return H5T_NPAD; }
+ private static final int H5T_DIR_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_direction_t.H5T_DIR_DEFAULT = 0
+ * }
+ */
+ public static int H5T_DIR_DEFAULT() { return H5T_DIR_DEFAULT; }
+ private static final int H5T_DIR_ASCEND = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_direction_t.H5T_DIR_ASCEND = 1
+ * }
+ */
+ public static int H5T_DIR_ASCEND() { return H5T_DIR_ASCEND; }
+ private static final int H5T_DIR_DESCEND = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_direction_t.H5T_DIR_DESCEND = 2
+ * }
+ */
+ public static int H5T_DIR_DESCEND() { return H5T_DIR_DESCEND; }
+ private static final int H5T_CONV_EXCEPT_RANGE_HI = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_RANGE_HI = 0
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_RANGE_HI() { return H5T_CONV_EXCEPT_RANGE_HI; }
+ private static final int H5T_CONV_EXCEPT_RANGE_LOW = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_RANGE_LOW = 1
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_RANGE_LOW() { return H5T_CONV_EXCEPT_RANGE_LOW; }
+ private static final int H5T_CONV_EXCEPT_PRECISION = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_PRECISION = 2
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_PRECISION() { return H5T_CONV_EXCEPT_PRECISION; }
+ private static final int H5T_CONV_EXCEPT_TRUNCATE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_TRUNCATE = 3
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_TRUNCATE() { return H5T_CONV_EXCEPT_TRUNCATE; }
+ private static final int H5T_CONV_EXCEPT_PINF = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_PINF = 4
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_PINF() { return H5T_CONV_EXCEPT_PINF; }
+ private static final int H5T_CONV_EXCEPT_NINF = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_NINF = 5
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_NINF() { return H5T_CONV_EXCEPT_NINF; }
+ private static final int H5T_CONV_EXCEPT_NAN = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_except_t.H5T_CONV_EXCEPT_NAN = 6
+ * }
+ */
+ public static int H5T_CONV_EXCEPT_NAN() { return H5T_CONV_EXCEPT_NAN; }
+ private static final int H5T_CONV_ABORT = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_ret_t.H5T_CONV_ABORT = -1
+ * }
+ */
+ public static int H5T_CONV_ABORT() { return H5T_CONV_ABORT; }
+ private static final int H5T_CONV_UNHANDLED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_ret_t.H5T_CONV_UNHANDLED = 0
+ * }
+ */
+ public static int H5T_CONV_UNHANDLED() { return H5T_CONV_UNHANDLED; }
+ private static final int H5T_CONV_HANDLED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_conv_ret_t.H5T_CONV_HANDLED = 1
+ * }
+ */
+ public static int H5T_CONV_HANDLED() { return H5T_CONV_HANDLED; }
+
+ private static class H5T_IEEE_F16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_IEEE_F16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F16BE_g$layout() { return H5T_IEEE_F16BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F16BE_g$segment() { return H5T_IEEE_F16BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static long H5T_IEEE_F16BE_g()
+ {
+ return H5T_IEEE_F16BE_g$constants.SEGMENT.get(H5T_IEEE_F16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16BE_g
+ * }
+ */
+ public static void H5T_IEEE_F16BE_g(long varValue)
+ {
+ H5T_IEEE_F16BE_g$constants.SEGMENT.set(H5T_IEEE_F16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_IEEE_F16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F16LE_g$layout() { return H5T_IEEE_F16LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F16LE_g$segment() { return H5T_IEEE_F16LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static long H5T_IEEE_F16LE_g()
+ {
+ return H5T_IEEE_F16LE_g$constants.SEGMENT.get(H5T_IEEE_F16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F16LE_g
+ * }
+ */
+ public static void H5T_IEEE_F16LE_g(long varValue)
+ {
+ H5T_IEEE_F16LE_g$constants.SEGMENT.set(H5T_IEEE_F16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_IEEE_F32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F32BE_g$layout() { return H5T_IEEE_F32BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F32BE_g$segment() { return H5T_IEEE_F32BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static long H5T_IEEE_F32BE_g()
+ {
+ return H5T_IEEE_F32BE_g$constants.SEGMENT.get(H5T_IEEE_F32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32BE_g
+ * }
+ */
+ public static void H5T_IEEE_F32BE_g(long varValue)
+ {
+ H5T_IEEE_F32BE_g$constants.SEGMENT.set(H5T_IEEE_F32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_IEEE_F32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F32LE_g$layout() { return H5T_IEEE_F32LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F32LE_g$segment() { return H5T_IEEE_F32LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static long H5T_IEEE_F32LE_g()
+ {
+ return H5T_IEEE_F32LE_g$constants.SEGMENT.get(H5T_IEEE_F32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F32LE_g
+ * }
+ */
+ public static void H5T_IEEE_F32LE_g(long varValue)
+ {
+ H5T_IEEE_F32LE_g$constants.SEGMENT.set(H5T_IEEE_F32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_IEEE_F64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F64BE_g$layout() { return H5T_IEEE_F64BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F64BE_g$segment() { return H5T_IEEE_F64BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static long H5T_IEEE_F64BE_g()
+ {
+ return H5T_IEEE_F64BE_g$constants.SEGMENT.get(H5T_IEEE_F64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64BE_g
+ * }
+ */
+ public static void H5T_IEEE_F64BE_g(long varValue)
+ {
+ H5T_IEEE_F64BE_g$constants.SEGMENT.set(H5T_IEEE_F64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_IEEE_F64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_IEEE_F64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static OfLong H5T_IEEE_F64LE_g$layout() { return H5T_IEEE_F64LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static MemorySegment H5T_IEEE_F64LE_g$segment() { return H5T_IEEE_F64LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static long H5T_IEEE_F64LE_g()
+ {
+ return H5T_IEEE_F64LE_g$constants.SEGMENT.get(H5T_IEEE_F64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_IEEE_F64LE_g
+ * }
+ */
+ public static void H5T_IEEE_F64LE_g(long varValue)
+ {
+ H5T_IEEE_F64LE_g$constants.SEGMENT.set(H5T_IEEE_F64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_FLOAT_BFLOAT16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_FLOAT_BFLOAT16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static OfLong H5T_FLOAT_BFLOAT16BE_g$layout() { return H5T_FLOAT_BFLOAT16BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static MemorySegment H5T_FLOAT_BFLOAT16BE_g$segment()
+ {
+ return H5T_FLOAT_BFLOAT16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static long H5T_FLOAT_BFLOAT16BE_g()
+ {
+ return H5T_FLOAT_BFLOAT16BE_g$constants.SEGMENT.get(H5T_FLOAT_BFLOAT16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16BE_g
+ * }
+ */
+ public static void H5T_FLOAT_BFLOAT16BE_g(long varValue)
+ {
+ H5T_FLOAT_BFLOAT16BE_g$constants.SEGMENT.set(H5T_FLOAT_BFLOAT16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_FLOAT_BFLOAT16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_FLOAT_BFLOAT16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static OfLong H5T_FLOAT_BFLOAT16LE_g$layout() { return H5T_FLOAT_BFLOAT16LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static MemorySegment H5T_FLOAT_BFLOAT16LE_g$segment()
+ {
+ return H5T_FLOAT_BFLOAT16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static long H5T_FLOAT_BFLOAT16LE_g()
+ {
+ return H5T_FLOAT_BFLOAT16LE_g$constants.SEGMENT.get(H5T_FLOAT_BFLOAT16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FLOAT_BFLOAT16LE_g
+ * }
+ */
+ public static void H5T_FLOAT_BFLOAT16LE_g(long varValue)
+ {
+ H5T_FLOAT_BFLOAT16LE_g$constants.SEGMENT.set(H5T_FLOAT_BFLOAT16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F16BE_g$layout()
+ {
+ return H5T_COMPLEX_IEEE_F16BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F16BE_g$segment()
+ {
+ return H5T_COMPLEX_IEEE_F16BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F16BE_g()
+ {
+ return H5T_COMPLEX_IEEE_F16BE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16BE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F16BE_g(long varValue)
+ {
+ H5T_COMPLEX_IEEE_F16BE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F16BE_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F16LE_g$layout()
+ {
+ return H5T_COMPLEX_IEEE_F16LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F16LE_g$segment()
+ {
+ return H5T_COMPLEX_IEEE_F16LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F16LE_g()
+ {
+ return H5T_COMPLEX_IEEE_F16LE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F16LE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F16LE_g(long varValue)
+ {
+ H5T_COMPLEX_IEEE_F16LE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F16LE_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F32BE_g$layout()
+ {
+ return H5T_COMPLEX_IEEE_F32BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F32BE_g$segment()
+ {
+ return H5T_COMPLEX_IEEE_F32BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F32BE_g()
+ {
+ return H5T_COMPLEX_IEEE_F32BE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32BE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F32BE_g(long varValue)
+ {
+ H5T_COMPLEX_IEEE_F32BE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F32BE_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F32LE_g$layout()
+ {
+ return H5T_COMPLEX_IEEE_F32LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F32LE_g$segment()
+ {
+ return H5T_COMPLEX_IEEE_F32LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F32LE_g()
+ {
+ return H5T_COMPLEX_IEEE_F32LE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F32LE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F32LE_g(long varValue)
+ {
+ H5T_COMPLEX_IEEE_F32LE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F32LE_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F64BE_g$layout()
+ {
+ return H5T_COMPLEX_IEEE_F64BE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F64BE_g$segment()
+ {
+ return H5T_COMPLEX_IEEE_F64BE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F64BE_g()
+ {
+ return H5T_COMPLEX_IEEE_F64BE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64BE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F64BE_g(long varValue)
+ {
+ H5T_COMPLEX_IEEE_F64BE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F64BE_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_COMPLEX_IEEE_F64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_COMPLEX_IEEE_F64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static OfLong H5T_COMPLEX_IEEE_F64LE_g$layout()
+ {
+ return H5T_COMPLEX_IEEE_F64LE_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static MemorySegment H5T_COMPLEX_IEEE_F64LE_g$segment()
+ {
+ return H5T_COMPLEX_IEEE_F64LE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static long H5T_COMPLEX_IEEE_F64LE_g()
+ {
+ return H5T_COMPLEX_IEEE_F64LE_g$constants.SEGMENT.get(H5T_COMPLEX_IEEE_F64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_COMPLEX_IEEE_F64LE_g
+ * }
+ */
+ public static void H5T_COMPLEX_IEEE_F64LE_g(long varValue)
+ {
+ H5T_COMPLEX_IEEE_F64LE_g$constants.SEGMENT.set(H5T_COMPLEX_IEEE_F64LE_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_STD_I8BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_I8BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I8BE_g$layout() { return H5T_STD_I8BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I8BE_g$segment() { return H5T_STD_I8BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static long H5T_STD_I8BE_g()
+ {
+ return H5T_STD_I8BE_g$constants.SEGMENT.get(H5T_STD_I8BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8BE_g
+ * }
+ */
+ public static void H5T_STD_I8BE_g(long varValue)
+ {
+ H5T_STD_I8BE_g$constants.SEGMENT.set(H5T_STD_I8BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I8LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_I8LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I8LE_g$layout() { return H5T_STD_I8LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I8LE_g$segment() { return H5T_STD_I8LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static long H5T_STD_I8LE_g()
+ {
+ return H5T_STD_I8LE_g$constants.SEGMENT.get(H5T_STD_I8LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I8LE_g
+ * }
+ */
+ public static void H5T_STD_I8LE_g(long varValue)
+ {
+ H5T_STD_I8LE_g$constants.SEGMENT.set(H5T_STD_I8LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_I16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I16BE_g$layout() { return H5T_STD_I16BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I16BE_g$segment() { return H5T_STD_I16BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static long H5T_STD_I16BE_g()
+ {
+ return H5T_STD_I16BE_g$constants.SEGMENT.get(H5T_STD_I16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16BE_g
+ * }
+ */
+ public static void H5T_STD_I16BE_g(long varValue)
+ {
+ H5T_STD_I16BE_g$constants.SEGMENT.set(H5T_STD_I16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_I16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I16LE_g$layout() { return H5T_STD_I16LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I16LE_g$segment() { return H5T_STD_I16LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static long H5T_STD_I16LE_g()
+ {
+ return H5T_STD_I16LE_g$constants.SEGMENT.get(H5T_STD_I16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I16LE_g
+ * }
+ */
+ public static void H5T_STD_I16LE_g(long varValue)
+ {
+ H5T_STD_I16LE_g$constants.SEGMENT.set(H5T_STD_I16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_I32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I32BE_g$layout() { return H5T_STD_I32BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I32BE_g$segment() { return H5T_STD_I32BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static long H5T_STD_I32BE_g()
+ {
+ return H5T_STD_I32BE_g$constants.SEGMENT.get(H5T_STD_I32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32BE_g
+ * }
+ */
+ public static void H5T_STD_I32BE_g(long varValue)
+ {
+ H5T_STD_I32BE_g$constants.SEGMENT.set(H5T_STD_I32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_I32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I32LE_g$layout() { return H5T_STD_I32LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I32LE_g$segment() { return H5T_STD_I32LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static long H5T_STD_I32LE_g()
+ {
+ return H5T_STD_I32LE_g$constants.SEGMENT.get(H5T_STD_I32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I32LE_g
+ * }
+ */
+ public static void H5T_STD_I32LE_g(long varValue)
+ {
+ H5T_STD_I32LE_g$constants.SEGMENT.set(H5T_STD_I32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_I64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static OfLong H5T_STD_I64BE_g$layout() { return H5T_STD_I64BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I64BE_g$segment() { return H5T_STD_I64BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static long H5T_STD_I64BE_g()
+ {
+ return H5T_STD_I64BE_g$constants.SEGMENT.get(H5T_STD_I64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64BE_g
+ * }
+ */
+ public static void H5T_STD_I64BE_g(long varValue)
+ {
+ H5T_STD_I64BE_g$constants.SEGMENT.set(H5T_STD_I64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_I64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_I64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static OfLong H5T_STD_I64LE_g$layout() { return H5T_STD_I64LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_I64LE_g$segment() { return H5T_STD_I64LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static long H5T_STD_I64LE_g()
+ {
+ return H5T_STD_I64LE_g$constants.SEGMENT.get(H5T_STD_I64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_I64LE_g
+ * }
+ */
+ public static void H5T_STD_I64LE_g(long varValue)
+ {
+ H5T_STD_I64LE_g$constants.SEGMENT.set(H5T_STD_I64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U8BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_U8BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U8BE_g$layout() { return H5T_STD_U8BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U8BE_g$segment() { return H5T_STD_U8BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static long H5T_STD_U8BE_g()
+ {
+ return H5T_STD_U8BE_g$constants.SEGMENT.get(H5T_STD_U8BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8BE_g
+ * }
+ */
+ public static void H5T_STD_U8BE_g(long varValue)
+ {
+ H5T_STD_U8BE_g$constants.SEGMENT.set(H5T_STD_U8BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U8LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_U8LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U8LE_g$layout() { return H5T_STD_U8LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U8LE_g$segment() { return H5T_STD_U8LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static long H5T_STD_U8LE_g()
+ {
+ return H5T_STD_U8LE_g$constants.SEGMENT.get(H5T_STD_U8LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U8LE_g
+ * }
+ */
+ public static void H5T_STD_U8LE_g(long varValue)
+ {
+ H5T_STD_U8LE_g$constants.SEGMENT.set(H5T_STD_U8LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_U16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U16BE_g$layout() { return H5T_STD_U16BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U16BE_g$segment() { return H5T_STD_U16BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static long H5T_STD_U16BE_g()
+ {
+ return H5T_STD_U16BE_g$constants.SEGMENT.get(H5T_STD_U16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16BE_g
+ * }
+ */
+ public static void H5T_STD_U16BE_g(long varValue)
+ {
+ H5T_STD_U16BE_g$constants.SEGMENT.set(H5T_STD_U16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_U16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U16LE_g$layout() { return H5T_STD_U16LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U16LE_g$segment() { return H5T_STD_U16LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static long H5T_STD_U16LE_g()
+ {
+ return H5T_STD_U16LE_g$constants.SEGMENT.get(H5T_STD_U16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U16LE_g
+ * }
+ */
+ public static void H5T_STD_U16LE_g(long varValue)
+ {
+ H5T_STD_U16LE_g$constants.SEGMENT.set(H5T_STD_U16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_U32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U32BE_g$layout() { return H5T_STD_U32BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U32BE_g$segment() { return H5T_STD_U32BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static long H5T_STD_U32BE_g()
+ {
+ return H5T_STD_U32BE_g$constants.SEGMENT.get(H5T_STD_U32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32BE_g
+ * }
+ */
+ public static void H5T_STD_U32BE_g(long varValue)
+ {
+ H5T_STD_U32BE_g$constants.SEGMENT.set(H5T_STD_U32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_U32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U32LE_g$layout() { return H5T_STD_U32LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U32LE_g$segment() { return H5T_STD_U32LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static long H5T_STD_U32LE_g()
+ {
+ return H5T_STD_U32LE_g$constants.SEGMENT.get(H5T_STD_U32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U32LE_g
+ * }
+ */
+ public static void H5T_STD_U32LE_g(long varValue)
+ {
+ H5T_STD_U32LE_g$constants.SEGMENT.set(H5T_STD_U32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_U64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static OfLong H5T_STD_U64BE_g$layout() { return H5T_STD_U64BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U64BE_g$segment() { return H5T_STD_U64BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static long H5T_STD_U64BE_g()
+ {
+ return H5T_STD_U64BE_g$constants.SEGMENT.get(H5T_STD_U64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64BE_g
+ * }
+ */
+ public static void H5T_STD_U64BE_g(long varValue)
+ {
+ H5T_STD_U64BE_g$constants.SEGMENT.set(H5T_STD_U64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_U64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_U64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static OfLong H5T_STD_U64LE_g$layout() { return H5T_STD_U64LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_U64LE_g$segment() { return H5T_STD_U64LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static long H5T_STD_U64LE_g()
+ {
+ return H5T_STD_U64LE_g$constants.SEGMENT.get(H5T_STD_U64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_U64LE_g
+ * }
+ */
+ public static void H5T_STD_U64LE_g(long varValue)
+ {
+ H5T_STD_U64LE_g$constants.SEGMENT.set(H5T_STD_U64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B8BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_B8BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B8BE_g$layout() { return H5T_STD_B8BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B8BE_g$segment() { return H5T_STD_B8BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static long H5T_STD_B8BE_g()
+ {
+ return H5T_STD_B8BE_g$constants.SEGMENT.get(H5T_STD_B8BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8BE_g
+ * }
+ */
+ public static void H5T_STD_B8BE_g(long varValue)
+ {
+ H5T_STD_B8BE_g$constants.SEGMENT.set(H5T_STD_B8BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B8LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_B8LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B8LE_g$layout() { return H5T_STD_B8LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B8LE_g$segment() { return H5T_STD_B8LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static long H5T_STD_B8LE_g()
+ {
+ return H5T_STD_B8LE_g$constants.SEGMENT.get(H5T_STD_B8LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B8LE_g
+ * }
+ */
+ public static void H5T_STD_B8LE_g(long varValue)
+ {
+ H5T_STD_B8LE_g$constants.SEGMENT.set(H5T_STD_B8LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B16BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_B16BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B16BE_g$layout() { return H5T_STD_B16BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B16BE_g$segment() { return H5T_STD_B16BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static long H5T_STD_B16BE_g()
+ {
+ return H5T_STD_B16BE_g$constants.SEGMENT.get(H5T_STD_B16BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16BE_g
+ * }
+ */
+ public static void H5T_STD_B16BE_g(long varValue)
+ {
+ H5T_STD_B16BE_g$constants.SEGMENT.set(H5T_STD_B16BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B16LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_B16LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B16LE_g$layout() { return H5T_STD_B16LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B16LE_g$segment() { return H5T_STD_B16LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static long H5T_STD_B16LE_g()
+ {
+ return H5T_STD_B16LE_g$constants.SEGMENT.get(H5T_STD_B16LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B16LE_g
+ * }
+ */
+ public static void H5T_STD_B16LE_g(long varValue)
+ {
+ H5T_STD_B16LE_g$constants.SEGMENT.set(H5T_STD_B16LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_B32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B32BE_g$layout() { return H5T_STD_B32BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B32BE_g$segment() { return H5T_STD_B32BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static long H5T_STD_B32BE_g()
+ {
+ return H5T_STD_B32BE_g$constants.SEGMENT.get(H5T_STD_B32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32BE_g
+ * }
+ */
+ public static void H5T_STD_B32BE_g(long varValue)
+ {
+ H5T_STD_B32BE_g$constants.SEGMENT.set(H5T_STD_B32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_B32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B32LE_g$layout() { return H5T_STD_B32LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B32LE_g$segment() { return H5T_STD_B32LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static long H5T_STD_B32LE_g()
+ {
+ return H5T_STD_B32LE_g$constants.SEGMENT.get(H5T_STD_B32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B32LE_g
+ * }
+ */
+ public static void H5T_STD_B32LE_g(long varValue)
+ {
+ H5T_STD_B32LE_g$constants.SEGMENT.set(H5T_STD_B32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_B64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static OfLong H5T_STD_B64BE_g$layout() { return H5T_STD_B64BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B64BE_g$segment() { return H5T_STD_B64BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static long H5T_STD_B64BE_g()
+ {
+ return H5T_STD_B64BE_g$constants.SEGMENT.get(H5T_STD_B64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64BE_g
+ * }
+ */
+ public static void H5T_STD_B64BE_g(long varValue)
+ {
+ H5T_STD_B64BE_g$constants.SEGMENT.set(H5T_STD_B64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_B64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_B64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static OfLong H5T_STD_B64LE_g$layout() { return H5T_STD_B64LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static MemorySegment H5T_STD_B64LE_g$segment() { return H5T_STD_B64LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static long H5T_STD_B64LE_g()
+ {
+ return H5T_STD_B64LE_g$constants.SEGMENT.get(H5T_STD_B64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_B64LE_g
+ * }
+ */
+ public static void H5T_STD_B64LE_g(long varValue)
+ {
+ H5T_STD_B64LE_g$constants.SEGMENT.set(H5T_STD_B64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_REF_OBJ_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_REF_OBJ_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static OfLong H5T_STD_REF_OBJ_g$layout() { return H5T_STD_REF_OBJ_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static MemorySegment H5T_STD_REF_OBJ_g$segment() { return H5T_STD_REF_OBJ_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static long H5T_STD_REF_OBJ_g()
+ {
+ return H5T_STD_REF_OBJ_g$constants.SEGMENT.get(H5T_STD_REF_OBJ_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_OBJ_g
+ * }
+ */
+ public static void H5T_STD_REF_OBJ_g(long varValue)
+ {
+ H5T_STD_REF_OBJ_g$constants.SEGMENT.set(H5T_STD_REF_OBJ_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_REF_DSETREG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_REF_DSETREG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static OfLong H5T_STD_REF_DSETREG_g$layout() { return H5T_STD_REF_DSETREG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static MemorySegment H5T_STD_REF_DSETREG_g$segment()
+ {
+ return H5T_STD_REF_DSETREG_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static long H5T_STD_REF_DSETREG_g()
+ {
+ return H5T_STD_REF_DSETREG_g$constants.SEGMENT.get(H5T_STD_REF_DSETREG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_DSETREG_g
+ * }
+ */
+ public static void H5T_STD_REF_DSETREG_g(long varValue)
+ {
+ H5T_STD_REF_DSETREG_g$constants.SEGMENT.set(H5T_STD_REF_DSETREG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_STD_REF_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_STD_REF_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static OfLong H5T_STD_REF_g$layout() { return H5T_STD_REF_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static MemorySegment H5T_STD_REF_g$segment() { return H5T_STD_REF_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static long H5T_STD_REF_g()
+ {
+ return H5T_STD_REF_g$constants.SEGMENT.get(H5T_STD_REF_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_STD_REF_g
+ * }
+ */
+ public static void H5T_STD_REF_g(long varValue)
+ {
+ H5T_STD_REF_g$constants.SEGMENT.set(H5T_STD_REF_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D32BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_UNIX_D32BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D32BE_g$layout() { return H5T_UNIX_D32BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D32BE_g$segment() { return H5T_UNIX_D32BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static long H5T_UNIX_D32BE_g()
+ {
+ return H5T_UNIX_D32BE_g$constants.SEGMENT.get(H5T_UNIX_D32BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32BE_g
+ * }
+ */
+ public static void H5T_UNIX_D32BE_g(long varValue)
+ {
+ H5T_UNIX_D32BE_g$constants.SEGMENT.set(H5T_UNIX_D32BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D32LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_UNIX_D32LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D32LE_g$layout() { return H5T_UNIX_D32LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D32LE_g$segment() { return H5T_UNIX_D32LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static long H5T_UNIX_D32LE_g()
+ {
+ return H5T_UNIX_D32LE_g$constants.SEGMENT.get(H5T_UNIX_D32LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D32LE_g
+ * }
+ */
+ public static void H5T_UNIX_D32LE_g(long varValue)
+ {
+ H5T_UNIX_D32LE_g$constants.SEGMENT.set(H5T_UNIX_D32LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D64BE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_UNIX_D64BE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D64BE_g$layout() { return H5T_UNIX_D64BE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D64BE_g$segment() { return H5T_UNIX_D64BE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static long H5T_UNIX_D64BE_g()
+ {
+ return H5T_UNIX_D64BE_g$constants.SEGMENT.get(H5T_UNIX_D64BE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64BE_g
+ * }
+ */
+ public static void H5T_UNIX_D64BE_g(long varValue)
+ {
+ H5T_UNIX_D64BE_g$constants.SEGMENT.set(H5T_UNIX_D64BE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_UNIX_D64LE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_UNIX_D64LE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static OfLong H5T_UNIX_D64LE_g$layout() { return H5T_UNIX_D64LE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static MemorySegment H5T_UNIX_D64LE_g$segment() { return H5T_UNIX_D64LE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static long H5T_UNIX_D64LE_g()
+ {
+ return H5T_UNIX_D64LE_g$constants.SEGMENT.get(H5T_UNIX_D64LE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_UNIX_D64LE_g
+ * }
+ */
+ public static void H5T_UNIX_D64LE_g(long varValue)
+ {
+ H5T_UNIX_D64LE_g$constants.SEGMENT.set(H5T_UNIX_D64LE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_C_S1_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_C_S1_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static OfLong H5T_C_S1_g$layout() { return H5T_C_S1_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static MemorySegment H5T_C_S1_g$segment() { return H5T_C_S1_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static long H5T_C_S1_g()
+ {
+ return H5T_C_S1_g$constants.SEGMENT.get(H5T_C_S1_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_C_S1_g
+ * }
+ */
+ public static void H5T_C_S1_g(long varValue)
+ {
+ H5T_C_S1_g$constants.SEGMENT.set(H5T_C_S1_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_FORTRAN_S1_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_FORTRAN_S1_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static OfLong H5T_FORTRAN_S1_g$layout() { return H5T_FORTRAN_S1_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static MemorySegment H5T_FORTRAN_S1_g$segment() { return H5T_FORTRAN_S1_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static long H5T_FORTRAN_S1_g()
+ {
+ return H5T_FORTRAN_S1_g$constants.SEGMENT.get(H5T_FORTRAN_S1_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_FORTRAN_S1_g
+ * }
+ */
+ public static void H5T_FORTRAN_S1_g(long varValue)
+ {
+ H5T_FORTRAN_S1_g$constants.SEGMENT.set(H5T_FORTRAN_S1_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_VAX_F32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_VAX_F32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static OfLong H5T_VAX_F32_g$layout() { return H5T_VAX_F32_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static MemorySegment H5T_VAX_F32_g$segment() { return H5T_VAX_F32_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static long H5T_VAX_F32_g()
+ {
+ return H5T_VAX_F32_g$constants.SEGMENT.get(H5T_VAX_F32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F32_g
+ * }
+ */
+ public static void H5T_VAX_F32_g(long varValue)
+ {
+ H5T_VAX_F32_g$constants.SEGMENT.set(H5T_VAX_F32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_VAX_F64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_VAX_F64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static OfLong H5T_VAX_F64_g$layout() { return H5T_VAX_F64_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static MemorySegment H5T_VAX_F64_g$segment() { return H5T_VAX_F64_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static long H5T_VAX_F64_g()
+ {
+ return H5T_VAX_F64_g$constants.SEGMENT.get(H5T_VAX_F64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_VAX_F64_g
+ * }
+ */
+ public static void H5T_VAX_F64_g(long varValue)
+ {
+ H5T_VAX_F64_g$constants.SEGMENT.set(H5T_VAX_F64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_SCHAR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_SCHAR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_SCHAR_g$layout() { return H5T_NATIVE_SCHAR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_SCHAR_g$segment() { return H5T_NATIVE_SCHAR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static long H5T_NATIVE_SCHAR_g()
+ {
+ return H5T_NATIVE_SCHAR_g$constants.SEGMENT.get(H5T_NATIVE_SCHAR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SCHAR_g
+ * }
+ */
+ public static void H5T_NATIVE_SCHAR_g(long varValue)
+ {
+ H5T_NATIVE_SCHAR_g$constants.SEGMENT.set(H5T_NATIVE_SCHAR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UCHAR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UCHAR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UCHAR_g$layout() { return H5T_NATIVE_UCHAR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UCHAR_g$segment() { return H5T_NATIVE_UCHAR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static long H5T_NATIVE_UCHAR_g()
+ {
+ return H5T_NATIVE_UCHAR_g$constants.SEGMENT.get(H5T_NATIVE_UCHAR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UCHAR_g
+ * }
+ */
+ public static void H5T_NATIVE_UCHAR_g(long varValue)
+ {
+ H5T_NATIVE_UCHAR_g$constants.SEGMENT.set(H5T_NATIVE_UCHAR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_SHORT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_SHORT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_SHORT_g$layout() { return H5T_NATIVE_SHORT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_SHORT_g$segment() { return H5T_NATIVE_SHORT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static long H5T_NATIVE_SHORT_g()
+ {
+ return H5T_NATIVE_SHORT_g$constants.SEGMENT.get(H5T_NATIVE_SHORT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_SHORT_g
+ * }
+ */
+ public static void H5T_NATIVE_SHORT_g(long varValue)
+ {
+ H5T_NATIVE_SHORT_g$constants.SEGMENT.set(H5T_NATIVE_SHORT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_USHORT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_USHORT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_USHORT_g$layout() { return H5T_NATIVE_USHORT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_USHORT_g$segment()
+ {
+ return H5T_NATIVE_USHORT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static long H5T_NATIVE_USHORT_g()
+ {
+ return H5T_NATIVE_USHORT_g$constants.SEGMENT.get(H5T_NATIVE_USHORT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_USHORT_g
+ * }
+ */
+ public static void H5T_NATIVE_USHORT_g(long varValue)
+ {
+ H5T_NATIVE_USHORT_g$constants.SEGMENT.set(H5T_NATIVE_USHORT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_g$layout() { return H5T_NATIVE_INT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_g$segment() { return H5T_NATIVE_INT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_g()
+ {
+ return H5T_NATIVE_INT_g$constants.SEGMENT.get(H5T_NATIVE_INT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_g(long varValue)
+ {
+ H5T_NATIVE_INT_g$constants.SEGMENT.set(H5T_NATIVE_INT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_g$layout() { return H5T_NATIVE_UINT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_g$segment() { return H5T_NATIVE_UINT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_g()
+ {
+ return H5T_NATIVE_UINT_g$constants.SEGMENT.get(H5T_NATIVE_UINT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_g(long varValue)
+ {
+ H5T_NATIVE_UINT_g$constants.SEGMENT.set(H5T_NATIVE_UINT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_LONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_LONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LONG_g$layout() { return H5T_NATIVE_LONG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LONG_g$segment() { return H5T_NATIVE_LONG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static long H5T_NATIVE_LONG_g()
+ {
+ return H5T_NATIVE_LONG_g$constants.SEGMENT.get(H5T_NATIVE_LONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LONG_g
+ * }
+ */
+ public static void H5T_NATIVE_LONG_g(long varValue)
+ {
+ H5T_NATIVE_LONG_g$constants.SEGMENT.set(H5T_NATIVE_LONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_ULONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_ULONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_ULONG_g$layout() { return H5T_NATIVE_ULONG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_ULONG_g$segment() { return H5T_NATIVE_ULONG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static long H5T_NATIVE_ULONG_g()
+ {
+ return H5T_NATIVE_ULONG_g$constants.SEGMENT.get(H5T_NATIVE_ULONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULONG_g
+ * }
+ */
+ public static void H5T_NATIVE_ULONG_g(long varValue)
+ {
+ H5T_NATIVE_ULONG_g$constants.SEGMENT.set(H5T_NATIVE_ULONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_LLONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_LLONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LLONG_g$layout() { return H5T_NATIVE_LLONG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LLONG_g$segment() { return H5T_NATIVE_LLONG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static long H5T_NATIVE_LLONG_g()
+ {
+ return H5T_NATIVE_LLONG_g$constants.SEGMENT.get(H5T_NATIVE_LLONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LLONG_g
+ * }
+ */
+ public static void H5T_NATIVE_LLONG_g(long varValue)
+ {
+ H5T_NATIVE_LLONG_g$constants.SEGMENT.set(H5T_NATIVE_LLONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_ULLONG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_ULLONG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_ULLONG_g$layout() { return H5T_NATIVE_ULLONG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_ULLONG_g$segment()
+ {
+ return H5T_NATIVE_ULLONG_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static long H5T_NATIVE_ULLONG_g()
+ {
+ return H5T_NATIVE_ULLONG_g$constants.SEGMENT.get(H5T_NATIVE_ULLONG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_ULLONG_g
+ * }
+ */
+ public static void H5T_NATIVE_ULLONG_g(long varValue)
+ {
+ H5T_NATIVE_ULLONG_g$constants.SEGMENT.set(H5T_NATIVE_ULLONG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_FLOAT16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_FLOAT16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_FLOAT16_g$layout() { return H5T_NATIVE_FLOAT16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_FLOAT16_g$segment()
+ {
+ return H5T_NATIVE_FLOAT16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static long H5T_NATIVE_FLOAT16_g()
+ {
+ return H5T_NATIVE_FLOAT16_g$constants.SEGMENT.get(H5T_NATIVE_FLOAT16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT16_g
+ * }
+ */
+ public static void H5T_NATIVE_FLOAT16_g(long varValue)
+ {
+ H5T_NATIVE_FLOAT16_g$constants.SEGMENT.set(H5T_NATIVE_FLOAT16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_FLOAT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_FLOAT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_FLOAT_g$layout() { return H5T_NATIVE_FLOAT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_FLOAT_g$segment() { return H5T_NATIVE_FLOAT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static long H5T_NATIVE_FLOAT_g()
+ {
+ return H5T_NATIVE_FLOAT_g$constants.SEGMENT.get(H5T_NATIVE_FLOAT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_g
+ * }
+ */
+ public static void H5T_NATIVE_FLOAT_g(long varValue)
+ {
+ H5T_NATIVE_FLOAT_g$constants.SEGMENT.set(H5T_NATIVE_FLOAT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_DOUBLE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_DOUBLE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_DOUBLE_g$layout() { return H5T_NATIVE_DOUBLE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_DOUBLE_g$segment()
+ {
+ return H5T_NATIVE_DOUBLE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static long H5T_NATIVE_DOUBLE_g()
+ {
+ return H5T_NATIVE_DOUBLE_g$constants.SEGMENT.get(H5T_NATIVE_DOUBLE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_g
+ * }
+ */
+ public static void H5T_NATIVE_DOUBLE_g(long varValue)
+ {
+ H5T_NATIVE_DOUBLE_g$constants.SEGMENT.set(H5T_NATIVE_DOUBLE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_LDOUBLE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_LDOUBLE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LDOUBLE_g$layout() { return H5T_NATIVE_LDOUBLE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LDOUBLE_g$segment()
+ {
+ return H5T_NATIVE_LDOUBLE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static long H5T_NATIVE_LDOUBLE_g()
+ {
+ return H5T_NATIVE_LDOUBLE_g$constants.SEGMENT.get(H5T_NATIVE_LDOUBLE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_g
+ * }
+ */
+ public static void H5T_NATIVE_LDOUBLE_g(long varValue)
+ {
+ H5T_NATIVE_LDOUBLE_g$constants.SEGMENT.set(H5T_NATIVE_LDOUBLE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_FLOAT_COMPLEX_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_FLOAT_COMPLEX_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_FLOAT_COMPLEX_g$layout()
+ {
+ return H5T_NATIVE_FLOAT_COMPLEX_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_FLOAT_COMPLEX_g$segment()
+ {
+ return H5T_NATIVE_FLOAT_COMPLEX_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static long H5T_NATIVE_FLOAT_COMPLEX_g()
+ {
+ return H5T_NATIVE_FLOAT_COMPLEX_g$constants.SEGMENT.get(H5T_NATIVE_FLOAT_COMPLEX_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_FLOAT_COMPLEX_g
+ * }
+ */
+ public static void H5T_NATIVE_FLOAT_COMPLEX_g(long varValue)
+ {
+ H5T_NATIVE_FLOAT_COMPLEX_g$constants.SEGMENT.set(H5T_NATIVE_FLOAT_COMPLEX_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_DOUBLE_COMPLEX_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_DOUBLE_COMPLEX_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_DOUBLE_COMPLEX_g$layout()
+ {
+ return H5T_NATIVE_DOUBLE_COMPLEX_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_DOUBLE_COMPLEX_g$segment()
+ {
+ return H5T_NATIVE_DOUBLE_COMPLEX_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static long H5T_NATIVE_DOUBLE_COMPLEX_g()
+ {
+ return H5T_NATIVE_DOUBLE_COMPLEX_g$constants.SEGMENT.get(H5T_NATIVE_DOUBLE_COMPLEX_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_DOUBLE_COMPLEX_g
+ * }
+ */
+ public static void H5T_NATIVE_DOUBLE_COMPLEX_g(long varValue)
+ {
+ H5T_NATIVE_DOUBLE_COMPLEX_g$constants.SEGMENT.set(H5T_NATIVE_DOUBLE_COMPLEX_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_LDOUBLE_COMPLEX_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_LDOUBLE_COMPLEX_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_LDOUBLE_COMPLEX_g$layout()
+ {
+ return H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_LDOUBLE_COMPLEX_g$segment()
+ {
+ return H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static long H5T_NATIVE_LDOUBLE_COMPLEX_g()
+ {
+ return H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.SEGMENT.get(
+ H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_LDOUBLE_COMPLEX_g
+ * }
+ */
+ public static void H5T_NATIVE_LDOUBLE_COMPLEX_g(long varValue)
+ {
+ H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.SEGMENT.set(H5T_NATIVE_LDOUBLE_COMPLEX_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_B8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_B8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B8_g$layout() { return H5T_NATIVE_B8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B8_g$segment() { return H5T_NATIVE_B8_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static long H5T_NATIVE_B8_g()
+ {
+ return H5T_NATIVE_B8_g$constants.SEGMENT.get(H5T_NATIVE_B8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B8_g
+ * }
+ */
+ public static void H5T_NATIVE_B8_g(long varValue)
+ {
+ H5T_NATIVE_B8_g$constants.SEGMENT.set(H5T_NATIVE_B8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_B16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_B16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B16_g$layout() { return H5T_NATIVE_B16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B16_g$segment() { return H5T_NATIVE_B16_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static long H5T_NATIVE_B16_g()
+ {
+ return H5T_NATIVE_B16_g$constants.SEGMENT.get(H5T_NATIVE_B16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B16_g
+ * }
+ */
+ public static void H5T_NATIVE_B16_g(long varValue)
+ {
+ H5T_NATIVE_B16_g$constants.SEGMENT.set(H5T_NATIVE_B16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_B32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_B32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B32_g$layout() { return H5T_NATIVE_B32_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B32_g$segment() { return H5T_NATIVE_B32_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static long H5T_NATIVE_B32_g()
+ {
+ return H5T_NATIVE_B32_g$constants.SEGMENT.get(H5T_NATIVE_B32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B32_g
+ * }
+ */
+ public static void H5T_NATIVE_B32_g(long varValue)
+ {
+ H5T_NATIVE_B32_g$constants.SEGMENT.set(H5T_NATIVE_B32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_B64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_B64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_B64_g$layout() { return H5T_NATIVE_B64_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_B64_g$segment() { return H5T_NATIVE_B64_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static long H5T_NATIVE_B64_g()
+ {
+ return H5T_NATIVE_B64_g$constants.SEGMENT.get(H5T_NATIVE_B64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_B64_g
+ * }
+ */
+ public static void H5T_NATIVE_B64_g(long varValue)
+ {
+ H5T_NATIVE_B64_g$constants.SEGMENT.set(H5T_NATIVE_B64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_OPAQUE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_OPAQUE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_OPAQUE_g$layout() { return H5T_NATIVE_OPAQUE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_OPAQUE_g$segment()
+ {
+ return H5T_NATIVE_OPAQUE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static long H5T_NATIVE_OPAQUE_g()
+ {
+ return H5T_NATIVE_OPAQUE_g$constants.SEGMENT.get(H5T_NATIVE_OPAQUE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_OPAQUE_g
+ * }
+ */
+ public static void H5T_NATIVE_OPAQUE_g(long varValue)
+ {
+ H5T_NATIVE_OPAQUE_g$constants.SEGMENT.set(H5T_NATIVE_OPAQUE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HADDR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HADDR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HADDR_g$layout() { return H5T_NATIVE_HADDR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HADDR_g$segment() { return H5T_NATIVE_HADDR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static long H5T_NATIVE_HADDR_g()
+ {
+ return H5T_NATIVE_HADDR_g$constants.SEGMENT.get(H5T_NATIVE_HADDR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HADDR_g
+ * }
+ */
+ public static void H5T_NATIVE_HADDR_g(long varValue)
+ {
+ H5T_NATIVE_HADDR_g$constants.SEGMENT.set(H5T_NATIVE_HADDR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HSIZE_g$layout() { return H5T_NATIVE_HSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HSIZE_g$segment() { return H5T_NATIVE_HSIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static long H5T_NATIVE_HSIZE_g()
+ {
+ return H5T_NATIVE_HSIZE_g$constants.SEGMENT.get(H5T_NATIVE_HSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSIZE_g
+ * }
+ */
+ public static void H5T_NATIVE_HSIZE_g(long varValue)
+ {
+ H5T_NATIVE_HSIZE_g$constants.SEGMENT.set(H5T_NATIVE_HSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HSSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HSSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HSSIZE_g$layout() { return H5T_NATIVE_HSSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HSSIZE_g$segment()
+ {
+ return H5T_NATIVE_HSSIZE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static long H5T_NATIVE_HSSIZE_g()
+ {
+ return H5T_NATIVE_HSSIZE_g$constants.SEGMENT.get(H5T_NATIVE_HSSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HSSIZE_g
+ * }
+ */
+ public static void H5T_NATIVE_HSSIZE_g(long varValue)
+ {
+ H5T_NATIVE_HSSIZE_g$constants.SEGMENT.set(H5T_NATIVE_HSSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HERR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HERR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HERR_g$layout() { return H5T_NATIVE_HERR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HERR_g$segment() { return H5T_NATIVE_HERR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static long H5T_NATIVE_HERR_g()
+ {
+ return H5T_NATIVE_HERR_g$constants.SEGMENT.get(H5T_NATIVE_HERR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HERR_g
+ * }
+ */
+ public static void H5T_NATIVE_HERR_g(long varValue)
+ {
+ H5T_NATIVE_HERR_g$constants.SEGMENT.set(H5T_NATIVE_HERR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_HBOOL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_HBOOL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_HBOOL_g$layout() { return H5T_NATIVE_HBOOL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_HBOOL_g$segment() { return H5T_NATIVE_HBOOL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static long H5T_NATIVE_HBOOL_g()
+ {
+ return H5T_NATIVE_HBOOL_g$constants.SEGMENT.get(H5T_NATIVE_HBOOL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_HBOOL_g
+ * }
+ */
+ public static void H5T_NATIVE_HBOOL_g(long varValue)
+ {
+ H5T_NATIVE_HBOOL_g$constants.SEGMENT.set(H5T_NATIVE_HBOOL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT8_g$layout() { return H5T_NATIVE_INT8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT8_g$segment() { return H5T_NATIVE_INT8_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static long H5T_NATIVE_INT8_g()
+ {
+ return H5T_NATIVE_INT8_g$constants.SEGMENT.get(H5T_NATIVE_INT8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT8_g
+ * }
+ */
+ public static void H5T_NATIVE_INT8_g(long varValue)
+ {
+ H5T_NATIVE_INT8_g$constants.SEGMENT.set(H5T_NATIVE_INT8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT8_g$layout() { return H5T_NATIVE_UINT8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT8_g$segment() { return H5T_NATIVE_UINT8_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT8_g()
+ {
+ return H5T_NATIVE_UINT8_g$constants.SEGMENT.get(H5T_NATIVE_UINT8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT8_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT8_g(long varValue)
+ {
+ H5T_NATIVE_UINT8_g$constants.SEGMENT.set(H5T_NATIVE_UINT8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST8_g$layout() { return H5T_NATIVE_INT_LEAST8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST8_g$segment()
+ {
+ return H5T_NATIVE_INT_LEAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST8_g()
+ {
+ return H5T_NATIVE_INT_LEAST8_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST8_g(long varValue)
+ {
+ H5T_NATIVE_INT_LEAST8_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST8_g$layout()
+ {
+ return H5T_NATIVE_UINT_LEAST8_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST8_g$segment()
+ {
+ return H5T_NATIVE_UINT_LEAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST8_g()
+ {
+ return H5T_NATIVE_UINT_LEAST8_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST8_g(long varValue)
+ {
+ H5T_NATIVE_UINT_LEAST8_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST8_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST8_g$layout() { return H5T_NATIVE_INT_FAST8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST8_g$segment()
+ {
+ return H5T_NATIVE_INT_FAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST8_g()
+ {
+ return H5T_NATIVE_INT_FAST8_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST8_g(long varValue)
+ {
+ H5T_NATIVE_INT_FAST8_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST8_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST8_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST8_g$layout() { return H5T_NATIVE_UINT_FAST8_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST8_g$segment()
+ {
+ return H5T_NATIVE_UINT_FAST8_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST8_g()
+ {
+ return H5T_NATIVE_UINT_FAST8_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST8_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST8_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST8_g(long varValue)
+ {
+ H5T_NATIVE_UINT_FAST8_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST8_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT16_g$layout() { return H5T_NATIVE_INT16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT16_g$segment() { return H5T_NATIVE_INT16_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static long H5T_NATIVE_INT16_g()
+ {
+ return H5T_NATIVE_INT16_g$constants.SEGMENT.get(H5T_NATIVE_INT16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT16_g
+ * }
+ */
+ public static void H5T_NATIVE_INT16_g(long varValue)
+ {
+ H5T_NATIVE_INT16_g$constants.SEGMENT.set(H5T_NATIVE_INT16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT16_g$layout() { return H5T_NATIVE_UINT16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT16_g$segment()
+ {
+ return H5T_NATIVE_UINT16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT16_g()
+ {
+ return H5T_NATIVE_UINT16_g$constants.SEGMENT.get(H5T_NATIVE_UINT16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT16_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT16_g(long varValue)
+ {
+ H5T_NATIVE_UINT16_g$constants.SEGMENT.set(H5T_NATIVE_UINT16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST16_g$layout()
+ {
+ return H5T_NATIVE_INT_LEAST16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST16_g$segment()
+ {
+ return H5T_NATIVE_INT_LEAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST16_g()
+ {
+ return H5T_NATIVE_INT_LEAST16_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST16_g(long varValue)
+ {
+ H5T_NATIVE_INT_LEAST16_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST16_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST16_g$layout()
+ {
+ return H5T_NATIVE_UINT_LEAST16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST16_g$segment()
+ {
+ return H5T_NATIVE_UINT_LEAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST16_g()
+ {
+ return H5T_NATIVE_UINT_LEAST16_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST16_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST16_g(long varValue)
+ {
+ H5T_NATIVE_UINT_LEAST16_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST16_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST16_g$layout() { return H5T_NATIVE_INT_FAST16_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST16_g$segment()
+ {
+ return H5T_NATIVE_INT_FAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST16_g()
+ {
+ return H5T_NATIVE_INT_FAST16_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST16_g(long varValue)
+ {
+ H5T_NATIVE_INT_FAST16_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST16_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST16_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST16_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST16_g$layout()
+ {
+ return H5T_NATIVE_UINT_FAST16_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST16_g$segment()
+ {
+ return H5T_NATIVE_UINT_FAST16_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST16_g()
+ {
+ return H5T_NATIVE_UINT_FAST16_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST16_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST16_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST16_g(long varValue)
+ {
+ H5T_NATIVE_UINT_FAST16_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST16_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT32_g$layout() { return H5T_NATIVE_INT32_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT32_g$segment() { return H5T_NATIVE_INT32_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static long H5T_NATIVE_INT32_g()
+ {
+ return H5T_NATIVE_INT32_g$constants.SEGMENT.get(H5T_NATIVE_INT32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT32_g
+ * }
+ */
+ public static void H5T_NATIVE_INT32_g(long varValue)
+ {
+ H5T_NATIVE_INT32_g$constants.SEGMENT.set(H5T_NATIVE_INT32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT32_g$layout() { return H5T_NATIVE_UINT32_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT32_g$segment()
+ {
+ return H5T_NATIVE_UINT32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT32_g()
+ {
+ return H5T_NATIVE_UINT32_g$constants.SEGMENT.get(H5T_NATIVE_UINT32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT32_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT32_g(long varValue)
+ {
+ H5T_NATIVE_UINT32_g$constants.SEGMENT.set(H5T_NATIVE_UINT32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST32_g$layout()
+ {
+ return H5T_NATIVE_INT_LEAST32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST32_g$segment()
+ {
+ return H5T_NATIVE_INT_LEAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST32_g()
+ {
+ return H5T_NATIVE_INT_LEAST32_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST32_g(long varValue)
+ {
+ H5T_NATIVE_INT_LEAST32_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST32_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST32_g$layout()
+ {
+ return H5T_NATIVE_UINT_LEAST32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST32_g$segment()
+ {
+ return H5T_NATIVE_UINT_LEAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST32_g()
+ {
+ return H5T_NATIVE_UINT_LEAST32_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST32_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST32_g(long varValue)
+ {
+ H5T_NATIVE_UINT_LEAST32_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST32_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST32_g$layout() { return H5T_NATIVE_INT_FAST32_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST32_g$segment()
+ {
+ return H5T_NATIVE_INT_FAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST32_g()
+ {
+ return H5T_NATIVE_INT_FAST32_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST32_g(long varValue)
+ {
+ H5T_NATIVE_INT_FAST32_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST32_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST32_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST32_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST32_g$layout()
+ {
+ return H5T_NATIVE_UINT_FAST32_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST32_g$segment()
+ {
+ return H5T_NATIVE_UINT_FAST32_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST32_g()
+ {
+ return H5T_NATIVE_UINT_FAST32_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST32_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST32_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST32_g(long varValue)
+ {
+ H5T_NATIVE_UINT_FAST32_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST32_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT64_g$layout() { return H5T_NATIVE_INT64_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT64_g$segment() { return H5T_NATIVE_INT64_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static long H5T_NATIVE_INT64_g()
+ {
+ return H5T_NATIVE_INT64_g$constants.SEGMENT.get(H5T_NATIVE_INT64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT64_g
+ * }
+ */
+ public static void H5T_NATIVE_INT64_g(long varValue)
+ {
+ H5T_NATIVE_INT64_g$constants.SEGMENT.set(H5T_NATIVE_INT64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT64_g$layout() { return H5T_NATIVE_UINT64_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT64_g$segment()
+ {
+ return H5T_NATIVE_UINT64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT64_g()
+ {
+ return H5T_NATIVE_UINT64_g$constants.SEGMENT.get(H5T_NATIVE_UINT64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT64_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT64_g(long varValue)
+ {
+ H5T_NATIVE_UINT64_g$constants.SEGMENT.set(H5T_NATIVE_UINT64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_INT_LEAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_LEAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_LEAST64_g$layout()
+ {
+ return H5T_NATIVE_INT_LEAST64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_LEAST64_g$segment()
+ {
+ return H5T_NATIVE_INT_LEAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_LEAST64_g()
+ {
+ return H5T_NATIVE_INT_LEAST64_g$constants.SEGMENT.get(H5T_NATIVE_INT_LEAST64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_LEAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_LEAST64_g(long varValue)
+ {
+ H5T_NATIVE_INT_LEAST64_g$constants.SEGMENT.set(H5T_NATIVE_INT_LEAST64_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_LEAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_LEAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_LEAST64_g$layout()
+ {
+ return H5T_NATIVE_UINT_LEAST64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_LEAST64_g$segment()
+ {
+ return H5T_NATIVE_UINT_LEAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_LEAST64_g()
+ {
+ return H5T_NATIVE_UINT_LEAST64_g$constants.SEGMENT.get(H5T_NATIVE_UINT_LEAST64_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_LEAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_LEAST64_g(long varValue)
+ {
+ H5T_NATIVE_UINT_LEAST64_g$constants.SEGMENT.set(H5T_NATIVE_UINT_LEAST64_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5T_NATIVE_INT_FAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_INT_FAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_INT_FAST64_g$layout() { return H5T_NATIVE_INT_FAST64_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_INT_FAST64_g$segment()
+ {
+ return H5T_NATIVE_INT_FAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_INT_FAST64_g()
+ {
+ return H5T_NATIVE_INT_FAST64_g$constants.SEGMENT.get(H5T_NATIVE_INT_FAST64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_INT_FAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_INT_FAST64_g(long varValue)
+ {
+ H5T_NATIVE_INT_FAST64_g$constants.SEGMENT.set(H5T_NATIVE_INT_FAST64_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5T_NATIVE_UINT_FAST64_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5T_NATIVE_UINT_FAST64_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static OfLong H5T_NATIVE_UINT_FAST64_g$layout()
+ {
+ return H5T_NATIVE_UINT_FAST64_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static MemorySegment H5T_NATIVE_UINT_FAST64_g$segment()
+ {
+ return H5T_NATIVE_UINT_FAST64_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static long H5T_NATIVE_UINT_FAST64_g()
+ {
+ return H5T_NATIVE_UINT_FAST64_g$constants.SEGMENT.get(H5T_NATIVE_UINT_FAST64_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5T_NATIVE_UINT_FAST64_g
+ * }
+ */
+ public static void H5T_NATIVE_UINT_FAST64_g(long varValue)
+ {
+ H5T_NATIVE_UINT_FAST64_g$constants.SEGMENT.set(H5T_NATIVE_UINT_FAST64_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5Tcreate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Tcreate$descriptor() { return H5Tcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static MethodHandle H5Tcreate$handle() { return H5Tcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static MemorySegment H5Tcreate$address() { return H5Tcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tcreate(H5T_class_t type, size_t size)
+ * }
+ */
+ public static long H5Tcreate(int type, long size)
+ {
+ var mh$ = H5Tcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcreate", type, size);
+ }
+ return (long)mh$.invokeExact(type, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcopy$descriptor() { return H5Tcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tcopy$handle() { return H5Tcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tcopy$address() { return H5Tcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tcopy(hid_t type_id)
+ * }
+ */
+ public static long H5Tcopy(long type_id)
+ {
+ var mh$ = H5Tcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcopy", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tclose$descriptor() { return H5Tclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tclose$handle() { return H5Tclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tclose$address() { return H5Tclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tclose(hid_t type_id)
+ * }
+ */
+ public static int H5Tclose(long type_id)
+ {
+ var mh$ = H5Tclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tclose", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tclose_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tclose_async$descriptor() { return H5Tclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Tclose_async$handle() { return H5Tclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Tclose_async$address() { return H5Tclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t type_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Tclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long type_id, long es_id)
+ {
+ var mh$ = H5Tclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tclose_async", app_file, app_func, app_line, type_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, type_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tequal {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tequal");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tequal$descriptor() { return H5Tequal.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static MethodHandle H5Tequal$handle() { return H5Tequal.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static MemorySegment H5Tequal$address() { return H5Tequal.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tequal(hid_t type1_id, hid_t type2_id)
+ * }
+ */
+ public static int H5Tequal(long type1_id, long type2_id)
+ {
+ var mh$ = H5Tequal.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tequal", type1_id, type2_id);
+ }
+ return (int)mh$.invokeExact(type1_id, type2_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tlock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tlock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tlock$descriptor() { return H5Tlock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tlock$handle() { return H5Tlock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tlock$address() { return H5Tlock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tlock(hid_t type_id)
+ * }
+ */
+ public static int H5Tlock(long type_id)
+ {
+ var mh$ = H5Tlock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tlock", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t
+ * tapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit2$descriptor() { return H5Tcommit2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t
+ * tapl_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit2$handle() { return H5Tcommit2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t
+ * tapl_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit2$address() { return H5Tcommit2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit2(hid_t loc_id, const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t
+ * tapl_id)
+ * }
+ */
+ public static int H5Tcommit2(long loc_id, MemorySegment name, long type_id, long lcpl_id, long tcpl_id,
+ long tapl_id)
+ {
+ var mh$ = H5Tcommit2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit2", loc_id, name, type_id, lcpl_id, tcpl_id, tapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, type_id, lcpl_id, tcpl_id, tapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit_async$descriptor() { return H5Tcommit_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit_async$handle() { return H5Tcommit_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit_async$address() { return H5Tcommit_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Tcommit_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long type_id, long lcpl_id,
+ long tcpl_id, long tapl_id, long es_id)
+ {
+ var mh$ = H5Tcommit_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit_async", app_file, app_func, app_line, loc_id, name, type_id, lcpl_id,
+ tcpl_id, tapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, type_id, lcpl_id, tcpl_id,
+ tapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Topen2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Topen2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Topen2$descriptor() { return H5Topen2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static MethodHandle H5Topen2$handle() { return H5Topen2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static MemorySegment H5Topen2$address() { return H5Topen2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Topen2(hid_t loc_id, const char *name, hid_t tapl_id)
+ * }
+ */
+ public static long H5Topen2(long loc_id, MemorySegment name, long tapl_id)
+ {
+ var mh$ = H5Topen2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Topen2", loc_id, name, tapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, tapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Topen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Topen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Topen_async$descriptor() { return H5Topen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Topen_async$handle() { return H5Topen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Topen_async$address() { return H5Topen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Topen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t tapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Topen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long tapl_id, long es_id)
+ {
+ var mh$ = H5Topen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Topen_async", app_file, app_func, app_line, loc_id, name, tapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, tapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit_anon {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit_anon");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit_anon$descriptor() { return H5Tcommit_anon.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit_anon$handle() { return H5Tcommit_anon.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit_anon$address() { return H5Tcommit_anon.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit_anon(hid_t loc_id, hid_t type_id, hid_t tcpl_id, hid_t tapl_id)
+ * }
+ */
+ public static int H5Tcommit_anon(long loc_id, long type_id, long tcpl_id, long tapl_id)
+ {
+ var mh$ = H5Tcommit_anon.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit_anon", loc_id, type_id, tcpl_id, tapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, type_id, tcpl_id, tapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_create_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_create_plist$descriptor() { return H5Tget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_create_plist$handle() { return H5Tget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_create_plist$address() { return H5Tget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_create_plist(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_create_plist(long type_id)
+ {
+ var mh$ = H5Tget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_create_plist", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommitted {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommitted");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommitted$descriptor() { return H5Tcommitted.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tcommitted$handle() { return H5Tcommitted.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tcommitted$address() { return H5Tcommitted.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tcommitted(hid_t type_id)
+ * }
+ */
+ public static int H5Tcommitted(long type_id)
+ {
+ var mh$ = H5Tcommitted.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommitted", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tencode {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tencode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static FunctionDescriptor H5Tencode$descriptor() { return H5Tencode.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MethodHandle H5Tencode$handle() { return H5Tencode.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MemorySegment H5Tencode$address() { return H5Tencode.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tencode(hid_t obj_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static int H5Tencode(long obj_id, MemorySegment buf, MemorySegment nalloc)
+ {
+ var mh$ = H5Tencode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tencode", obj_id, buf, nalloc);
+ }
+ return (int)mh$.invokeExact(obj_id, buf, nalloc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tdecode2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tdecode2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Tdecode2$descriptor() { return H5Tdecode2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5Tdecode2$handle() { return H5Tdecode2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5Tdecode2$address() { return H5Tdecode2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tdecode2(const void *buf, size_t buf_size)
+ * }
+ */
+ public static long H5Tdecode2(MemorySegment buf, long buf_size)
+ {
+ var mh$ = H5Tdecode2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tdecode2", buf, buf_size);
+ }
+ return (long)mh$.invokeExact(buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tflush$descriptor() { return H5Tflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tflush$handle() { return H5Tflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tflush$address() { return H5Tflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tflush(hid_t type_id)
+ * }
+ */
+ public static int H5Tflush(long type_id)
+ {
+ var mh$ = H5Tflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tflush", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Trefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Trefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Trefresh$descriptor() { return H5Trefresh.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Trefresh$handle() { return H5Trefresh.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Trefresh$address() { return H5Trefresh.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Trefresh(hid_t type_id)
+ * }
+ */
+ public static int H5Trefresh(long type_id)
+ {
+ var mh$ = H5Trefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Trefresh", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tinsert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tinsert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tinsert$descriptor() { return H5Tinsert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static MethodHandle H5Tinsert$handle() { return H5Tinsert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static MemorySegment H5Tinsert$address() { return H5Tinsert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tinsert(hid_t parent_id, const char *name, size_t offset, hid_t member_id)
+ * }
+ */
+ public static int H5Tinsert(long parent_id, MemorySegment name, long offset, long member_id)
+ {
+ var mh$ = H5Tinsert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tinsert", parent_id, name, offset, member_id);
+ }
+ return (int)mh$.invokeExact(parent_id, name, offset, member_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tpack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tpack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tpack$descriptor() { return H5Tpack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tpack$handle() { return H5Tpack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tpack$address() { return H5Tpack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tpack(hid_t type_id)
+ * }
+ */
+ public static int H5Tpack(long type_id)
+ {
+ var mh$ = H5Tpack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tpack", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_create$descriptor() { return H5Tenum_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static MethodHandle H5Tenum_create$handle() { return H5Tenum_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static MemorySegment H5Tenum_create$address() { return H5Tenum_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tenum_create(hid_t base_id)
+ * }
+ */
+ public static long H5Tenum_create(long base_id)
+ {
+ var mh$ = H5Tenum_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_create", base_id);
+ }
+ return (long)mh$.invokeExact(base_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_insert {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_insert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_insert$descriptor() { return H5Tenum_insert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static MethodHandle H5Tenum_insert$handle() { return H5Tenum_insert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static MemorySegment H5Tenum_insert$address() { return H5Tenum_insert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tenum_insert(hid_t type, const char *name, const void *value)
+ * }
+ */
+ public static int H5Tenum_insert(long type, MemorySegment name, MemorySegment value)
+ {
+ var mh$ = H5Tenum_insert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_insert", type, name, value);
+ }
+ return (int)mh$.invokeExact(type, name, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_nameof {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_nameof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_nameof$descriptor() { return H5Tenum_nameof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Tenum_nameof$handle() { return H5Tenum_nameof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Tenum_nameof$address() { return H5Tenum_nameof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tenum_nameof(hid_t type, const void *value, char *name, size_t size)
+ * }
+ */
+ public static int H5Tenum_nameof(long type, MemorySegment value, MemorySegment name, long size)
+ {
+ var mh$ = H5Tenum_nameof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_nameof", type, value, name, size);
+ }
+ return (int)mh$.invokeExact(type, value, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tenum_valueof {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tenum_valueof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Tenum_valueof$descriptor() { return H5Tenum_valueof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static MethodHandle H5Tenum_valueof$handle() { return H5Tenum_valueof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static MemorySegment H5Tenum_valueof$address() { return H5Tenum_valueof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tenum_valueof(hid_t type, const char *name, void *value)
+ * }
+ */
+ public static int H5Tenum_valueof(long type, MemorySegment name, MemorySegment value)
+ {
+ var mh$ = H5Tenum_valueof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tenum_valueof", type, name, value);
+ }
+ return (int)mh$.invokeExact(type, name, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tvlen_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tvlen_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tvlen_create$descriptor() { return H5Tvlen_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static MethodHandle H5Tvlen_create$handle() { return H5Tvlen_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static MemorySegment H5Tvlen_create$address() { return H5Tvlen_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tvlen_create(hid_t base_id)
+ * }
+ */
+ public static long H5Tvlen_create(long base_id)
+ {
+ var mh$ = H5Tvlen_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tvlen_create", base_id);
+ }
+ return (long)mh$.invokeExact(base_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tarray_create2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tarray_create2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static FunctionDescriptor H5Tarray_create2$descriptor() { return H5Tarray_create2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MethodHandle H5Tarray_create2$handle() { return H5Tarray_create2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MemorySegment H5Tarray_create2$address() { return H5Tarray_create2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create2(hid_t base_id, unsigned int ndims, const hsize_t dim[])
+ * }
+ */
+ public static long H5Tarray_create2(long base_id, int ndims, MemorySegment dim)
+ {
+ var mh$ = H5Tarray_create2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tarray_create2", base_id, ndims, dim);
+ }
+ return (long)mh$.invokeExact(base_id, ndims, dim);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_array_ndims {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_array_ndims");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_array_ndims$descriptor() { return H5Tget_array_ndims.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_array_ndims$handle() { return H5Tget_array_ndims.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_array_ndims$address() { return H5Tget_array_ndims.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_array_ndims(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_array_ndims(long type_id)
+ {
+ var mh$ = H5Tget_array_ndims.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_array_ndims", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_array_dims2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_array_dims2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static FunctionDescriptor H5Tget_array_dims2$descriptor() { return H5Tget_array_dims2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static MethodHandle H5Tget_array_dims2$handle() { return H5Tget_array_dims2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static MemorySegment H5Tget_array_dims2$address() { return H5Tget_array_dims2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_array_dims2(hid_t type_id, hsize_t dims[])
+ * }
+ */
+ public static int H5Tget_array_dims2(long type_id, MemorySegment dims)
+ {
+ var mh$ = H5Tget_array_dims2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_array_dims2", type_id, dims);
+ }
+ return (int)mh$.invokeExact(type_id, dims);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcomplex_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcomplex_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcomplex_create$descriptor() { return H5Tcomplex_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static MethodHandle H5Tcomplex_create$handle() { return H5Tcomplex_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static MemorySegment H5Tcomplex_create$address() { return H5Tcomplex_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tcomplex_create(hid_t base_type_id)
+ * }
+ */
+ public static long H5Tcomplex_create(long base_type_id)
+ {
+ var mh$ = H5Tcomplex_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcomplex_create", base_type_id);
+ }
+ return (long)mh$.invokeExact(base_type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_tag {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_tag");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_tag$descriptor() { return H5Tset_tag.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static MethodHandle H5Tset_tag$handle() { return H5Tset_tag.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static MemorySegment H5Tset_tag$address() { return H5Tset_tag.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_tag(hid_t type, const char *tag)
+ * }
+ */
+ public static int H5Tset_tag(long type, MemorySegment tag)
+ {
+ var mh$ = H5Tset_tag.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_tag", type, tag);
+ }
+ return (int)mh$.invokeExact(type, tag);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_tag {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_tag");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_tag$descriptor() { return H5Tget_tag.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static MethodHandle H5Tget_tag$handle() { return H5Tget_tag.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static MemorySegment H5Tget_tag$address() { return H5Tget_tag.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Tget_tag(hid_t type)
+ * }
+ */
+ public static MemorySegment H5Tget_tag(long type)
+ {
+ var mh$ = H5Tget_tag.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_tag", type);
+ }
+ return (MemorySegment)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_super {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_super");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_super$descriptor() { return H5Tget_super.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static MethodHandle H5Tget_super$handle() { return H5Tget_super.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static MemorySegment H5Tget_super$address() { return H5Tget_super.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_super(hid_t type)
+ * }
+ */
+ public static long H5Tget_super(long type)
+ {
+ var mh$ = H5Tget_super.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_super", type);
+ }
+ return (long)mh$.invokeExact(type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_class$descriptor() { return H5Tget_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_class$handle() { return H5Tget_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_class$address() { return H5Tget_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_class(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_class(long type_id)
+ {
+ var mh$ = H5Tget_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_class", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tdetect_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tdetect_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static FunctionDescriptor H5Tdetect_class$descriptor() { return H5Tdetect_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static MethodHandle H5Tdetect_class$handle() { return H5Tdetect_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static MemorySegment H5Tdetect_class$address() { return H5Tdetect_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tdetect_class(hid_t type_id, H5T_class_t cls)
+ * }
+ */
+ public static int H5Tdetect_class(long type_id, int cls)
+ {
+ var mh$ = H5Tdetect_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tdetect_class", type_id, cls);
+ }
+ return (int)mh$.invokeExact(type_id, cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_size$descriptor() { return H5Tget_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_size$handle() { return H5Tget_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_size$address() { return H5Tget_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_size(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_size(long type_id)
+ {
+ var mh$ = H5Tget_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_size", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_order {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_order$descriptor() { return H5Tget_order.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_order$handle() { return H5Tget_order.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_order$address() { return H5Tget_order.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_order_t H5Tget_order(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_order(long type_id)
+ {
+ var mh$ = H5Tget_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_order", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_precision {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_precision");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_precision$descriptor() { return H5Tget_precision.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_precision$handle() { return H5Tget_precision.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_precision$address() { return H5Tget_precision.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_precision(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_precision(long type_id)
+ {
+ var mh$ = H5Tget_precision.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_precision", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_offset {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_offset$descriptor() { return H5Tget_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_offset$handle() { return H5Tget_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_offset$address() { return H5Tget_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_offset(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_offset(long type_id)
+ {
+ var mh$ = H5Tget_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_offset", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_pad {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_pad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_pad$descriptor() { return H5Tget_pad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static MethodHandle H5Tget_pad$handle() { return H5Tget_pad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static MemorySegment H5Tget_pad$address() { return H5Tget_pad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tget_pad(hid_t type_id, H5T_pad_t *lsb, H5T_pad_t *msb)
+ * }
+ */
+ public static int H5Tget_pad(long type_id, MemorySegment lsb, MemorySegment msb)
+ {
+ var mh$ = H5Tget_pad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_pad", type_id, lsb, msb);
+ }
+ return (int)mh$.invokeExact(type_id, lsb, msb);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_sign {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_sign");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_sign$descriptor() { return H5Tget_sign.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_sign$handle() { return H5Tget_sign.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_sign$address() { return H5Tget_sign.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_sign_t H5Tget_sign(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_sign(long type_id)
+ {
+ var mh$ = H5Tget_sign.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_sign", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_fields {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_fields");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t
+ * *msize)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_fields$descriptor() { return H5Tget_fields.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t
+ * *msize)
+ * }
+ */
+ public static MethodHandle H5Tget_fields$handle() { return H5Tget_fields.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t
+ * *msize)
+ * }
+ */
+ public static MemorySegment H5Tget_fields$address() { return H5Tget_fields.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tget_fields(hid_t type_id, size_t *spos, size_t *epos, size_t *esize, size_t *mpos, size_t
+ * *msize)
+ * }
+ */
+ public static int H5Tget_fields(long type_id, MemorySegment spos, MemorySegment epos, MemorySegment esize,
+ MemorySegment mpos, MemorySegment msize)
+ {
+ var mh$ = H5Tget_fields.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_fields", type_id, spos, epos, esize, mpos, msize);
+ }
+ return (int)mh$.invokeExact(type_id, spos, epos, esize, mpos, msize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_ebias {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_ebias");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_ebias$descriptor() { return H5Tget_ebias.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_ebias$handle() { return H5Tget_ebias.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_ebias$address() { return H5Tget_ebias.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_ebias(hid_t type_id)
+ * }
+ */
+ public static long H5Tget_ebias(long type_id)
+ {
+ var mh$ = H5Tget_ebias.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_ebias", type_id);
+ }
+ return (long)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_norm {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_norm");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_norm$descriptor() { return H5Tget_norm.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_norm$handle() { return H5Tget_norm.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_norm$address() { return H5Tget_norm.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_norm_t H5Tget_norm(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_norm(long type_id)
+ {
+ var mh$ = H5Tget_norm.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_norm", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_inpad {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_inpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_inpad$descriptor() { return H5Tget_inpad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_inpad$handle() { return H5Tget_inpad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_inpad$address() { return H5Tget_inpad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_pad_t H5Tget_inpad(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_inpad(long type_id)
+ {
+ var mh$ = H5Tget_inpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_inpad", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_strpad {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_strpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_strpad$descriptor() { return H5Tget_strpad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_strpad$handle() { return H5Tget_strpad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_strpad$address() { return H5Tget_strpad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_str_t H5Tget_strpad(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_strpad(long type_id)
+ {
+ var mh$ = H5Tget_strpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_strpad", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_nmembers {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_nmembers");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_nmembers$descriptor() { return H5Tget_nmembers.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_nmembers$handle() { return H5Tget_nmembers.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_nmembers$address() { return H5Tget_nmembers.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_nmembers(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_nmembers(long type_id)
+ {
+ var mh$ = H5Tget_nmembers.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_nmembers", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_name$descriptor() { return H5Tget_member_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_name$handle() { return H5Tget_member_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_name$address() { return H5Tget_member_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Tget_member_name(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_name(long type_id, int membno)
+ {
+ var mh$ = H5Tget_member_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_name", type_id, membno);
+ }
+ return (MemorySegment)mh$.invokeExact(type_id, membno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_index {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_index");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_index$descriptor() { return H5Tget_member_index.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Tget_member_index$handle() { return H5Tget_member_index.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Tget_member_index$address() { return H5Tget_member_index.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_member_index(hid_t type_id, const char *name)
+ * }
+ */
+ public static int H5Tget_member_index(long type_id, MemorySegment name)
+ {
+ var mh$ = H5Tget_member_index.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_index", type_id, name);
+ }
+ return (int)mh$.invokeExact(type_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_offset$descriptor() { return H5Tget_member_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_offset$handle() { return H5Tget_member_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_offset$address() { return H5Tget_member_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Tget_member_offset(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static long H5Tget_member_offset(long type_id, int membno)
+ {
+ var mh$ = H5Tget_member_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_offset", type_id, membno);
+ }
+ return (long)mh$.invokeExact(type_id, membno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_class$descriptor() { return H5Tget_member_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_class$handle() { return H5Tget_member_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_class$address() { return H5Tget_member_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_class_t H5Tget_member_class(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static int H5Tget_member_class(long type_id, int membno)
+ {
+ var mh$ = H5Tget_member_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_class", type_id, membno);
+ }
+ return (int)mh$.invokeExact(type_id, membno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_type$descriptor() { return H5Tget_member_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MethodHandle H5Tget_member_type$handle() { return H5Tget_member_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static MemorySegment H5Tget_member_type$address() { return H5Tget_member_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_member_type(hid_t type_id, unsigned int membno)
+ * }
+ */
+ public static long H5Tget_member_type(long type_id, int membno)
+ {
+ var mh$ = H5Tget_member_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_type", type_id, membno);
+ }
+ return (long)mh$.invokeExact(type_id, membno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_member_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_member_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_member_value$descriptor() { return H5Tget_member_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static MethodHandle H5Tget_member_value$handle() { return H5Tget_member_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static MemorySegment H5Tget_member_value$address() { return H5Tget_member_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tget_member_value(hid_t type_id, unsigned int membno, void *value)
+ * }
+ */
+ public static int H5Tget_member_value(long type_id, int membno, MemorySegment value)
+ {
+ var mh$ = H5Tget_member_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_member_value", type_id, membno, value);
+ }
+ return (int)mh$.invokeExact(type_id, membno, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_cset {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_cset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_cset$descriptor() { return H5Tget_cset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tget_cset$handle() { return H5Tget_cset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tget_cset$address() { return H5Tget_cset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_cset_t H5Tget_cset(hid_t type_id)
+ * }
+ */
+ public static int H5Tget_cset(long type_id)
+ {
+ var mh$ = H5Tget_cset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_cset", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tis_variable_str {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tis_variable_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tis_variable_str$descriptor() { return H5Tis_variable_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tis_variable_str$handle() { return H5Tis_variable_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tis_variable_str$address() { return H5Tis_variable_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tis_variable_str(hid_t type_id)
+ * }
+ */
+ public static int H5Tis_variable_str(long type_id)
+ {
+ var mh$ = H5Tis_variable_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tis_variable_str", type_id);
+ }
+ return (int)mh$.invokeExact(type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_native_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_native_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static FunctionDescriptor H5Tget_native_type$descriptor() { return H5Tget_native_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static MethodHandle H5Tget_native_type$handle() { return H5Tget_native_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static MemorySegment H5Tget_native_type$address() { return H5Tget_native_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tget_native_type(hid_t type_id, H5T_direction_t direction)
+ * }
+ */
+ public static long H5Tget_native_type(long type_id, int direction)
+ {
+ var mh$ = H5Tget_native_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_native_type", type_id, direction);
+ }
+ return (long)mh$.invokeExact(type_id, direction);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_size$descriptor() { return H5Tset_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static MethodHandle H5Tset_size$handle() { return H5Tset_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static MemorySegment H5Tset_size$address() { return H5Tset_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_size(hid_t type_id, size_t size)
+ * }
+ */
+ public static int H5Tset_size(long type_id, long size)
+ {
+ var mh$ = H5Tset_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_size", type_id, size);
+ }
+ return (int)mh$.invokeExact(type_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_order$descriptor() { return H5Tset_order.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static MethodHandle H5Tset_order$handle() { return H5Tset_order.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static MemorySegment H5Tset_order$address() { return H5Tset_order.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_order(hid_t type_id, H5T_order_t order)
+ * }
+ */
+ public static int H5Tset_order(long type_id, int order)
+ {
+ var mh$ = H5Tset_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_order", type_id, order);
+ }
+ return (int)mh$.invokeExact(type_id, order);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_precision {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_precision");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_precision$descriptor() { return H5Tset_precision.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static MethodHandle H5Tset_precision$handle() { return H5Tset_precision.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static MemorySegment H5Tset_precision$address() { return H5Tset_precision.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_precision(hid_t type_id, size_t prec)
+ * }
+ */
+ public static int H5Tset_precision(long type_id, long prec)
+ {
+ var mh$ = H5Tset_precision.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_precision", type_id, prec);
+ }
+ return (int)mh$.invokeExact(type_id, prec);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_offset$descriptor() { return H5Tset_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static MethodHandle H5Tset_offset$handle() { return H5Tset_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static MemorySegment H5Tset_offset$address() { return H5Tset_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_offset(hid_t type_id, size_t offset)
+ * }
+ */
+ public static int H5Tset_offset(long type_id, long offset)
+ {
+ var mh$ = H5Tset_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_offset", type_id, offset);
+ }
+ return (int)mh$.invokeExact(type_id, offset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_pad {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_pad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_pad$descriptor() { return H5Tset_pad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static MethodHandle H5Tset_pad$handle() { return H5Tset_pad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static MemorySegment H5Tset_pad$address() { return H5Tset_pad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_pad(hid_t type_id, H5T_pad_t lsb, H5T_pad_t msb)
+ * }
+ */
+ public static int H5Tset_pad(long type_id, int lsb, int msb)
+ {
+ var mh$ = H5Tset_pad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_pad", type_id, lsb, msb);
+ }
+ return (int)mh$.invokeExact(type_id, lsb, msb);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_sign {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_sign");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_sign$descriptor() { return H5Tset_sign.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static MethodHandle H5Tset_sign$handle() { return H5Tset_sign.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static MemorySegment H5Tset_sign$address() { return H5Tset_sign.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_sign(hid_t type_id, H5T_sign_t sign)
+ * }
+ */
+ public static int H5Tset_sign(long type_id, int sign)
+ {
+ var mh$ = H5Tset_sign.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_sign", type_id, sign);
+ }
+ return (int)mh$.invokeExact(type_id, sign);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_fields {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_fields");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_fields$descriptor() { return H5Tset_fields.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static MethodHandle H5Tset_fields$handle() { return H5Tset_fields.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static MemorySegment H5Tset_fields$address() { return H5Tset_fields.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_fields(hid_t type_id, size_t spos, size_t epos, size_t esize, size_t mpos, size_t msize)
+ * }
+ */
+ public static int H5Tset_fields(long type_id, long spos, long epos, long esize, long mpos, long msize)
+ {
+ var mh$ = H5Tset_fields.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_fields", type_id, spos, epos, esize, mpos, msize);
+ }
+ return (int)mh$.invokeExact(type_id, spos, epos, esize, mpos, msize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_ebias {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_ebias");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_ebias$descriptor() { return H5Tset_ebias.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static MethodHandle H5Tset_ebias$handle() { return H5Tset_ebias.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static MemorySegment H5Tset_ebias$address() { return H5Tset_ebias.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_ebias(hid_t type_id, size_t ebias)
+ * }
+ */
+ public static int H5Tset_ebias(long type_id, long ebias)
+ {
+ var mh$ = H5Tset_ebias.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_ebias", type_id, ebias);
+ }
+ return (int)mh$.invokeExact(type_id, ebias);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_norm {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_norm");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_norm$descriptor() { return H5Tset_norm.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static MethodHandle H5Tset_norm$handle() { return H5Tset_norm.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static MemorySegment H5Tset_norm$address() { return H5Tset_norm.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_norm(hid_t type_id, H5T_norm_t norm)
+ * }
+ */
+ public static int H5Tset_norm(long type_id, int norm)
+ {
+ var mh$ = H5Tset_norm.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_norm", type_id, norm);
+ }
+ return (int)mh$.invokeExact(type_id, norm);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_inpad {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_inpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_inpad$descriptor() { return H5Tset_inpad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static MethodHandle H5Tset_inpad$handle() { return H5Tset_inpad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static MemorySegment H5Tset_inpad$address() { return H5Tset_inpad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_inpad(hid_t type_id, H5T_pad_t pad)
+ * }
+ */
+ public static int H5Tset_inpad(long type_id, int pad)
+ {
+ var mh$ = H5Tset_inpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_inpad", type_id, pad);
+ }
+ return (int)mh$.invokeExact(type_id, pad);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_cset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_cset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_cset$descriptor() { return H5Tset_cset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static MethodHandle H5Tset_cset$handle() { return H5Tset_cset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static MemorySegment H5Tset_cset$address() { return H5Tset_cset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_cset(hid_t type_id, H5T_cset_t cset)
+ * }
+ */
+ public static int H5Tset_cset(long type_id, int cset)
+ {
+ var mh$ = H5Tset_cset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_cset", type_id, cset);
+ }
+ return (int)mh$.invokeExact(type_id, cset);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tset_strpad {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tset_strpad");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static FunctionDescriptor H5Tset_strpad$descriptor() { return H5Tset_strpad.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static MethodHandle H5Tset_strpad$handle() { return H5Tset_strpad.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static MemorySegment H5Tset_strpad$address() { return H5Tset_strpad.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tset_strpad(hid_t type_id, H5T_str_t strpad)
+ * }
+ */
+ public static int H5Tset_strpad(long type_id, int strpad)
+ {
+ var mh$ = H5Tset_strpad.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tset_strpad", type_id, strpad);
+ }
+ return (int)mh$.invokeExact(type_id, strpad);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tconvert {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tconvert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t
+ * plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tconvert$descriptor() { return H5Tconvert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t
+ * plist_id)
+ * }
+ */
+ public static MethodHandle H5Tconvert$handle() { return H5Tconvert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t
+ * plist_id)
+ * }
+ */
+ public static MemorySegment H5Tconvert$address() { return H5Tconvert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tconvert(hid_t src_id, hid_t dst_id, size_t nelmts, void *buf, void *background, hid_t
+ * plist_id)
+ * }
+ */
+ public static int H5Tconvert(long src_id, long dst_id, long nelmts, MemorySegment buf,
+ MemorySegment background, long plist_id)
+ {
+ var mh$ = H5Tconvert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tconvert", src_id, dst_id, nelmts, buf, background, plist_id);
+ }
+ return (int)mh$.invokeExact(src_id, dst_id, nelmts, buf, background, plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Treclaim {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Treclaim");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Treclaim$descriptor() { return H5Treclaim.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Treclaim$handle() { return H5Treclaim.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Treclaim$address() { return H5Treclaim.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Treclaim(hid_t type_id, hid_t space_id, hid_t plist_id, void *buf)
+ * }
+ */
+ public static int H5Treclaim(long type_id, long space_id, long plist_id, MemorySegment buf)
+ {
+ var mh$ = H5Treclaim.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Treclaim", type_id, space_id, plist_id, buf);
+ }
+ return (int)mh$.invokeExact(type_id, space_id, plist_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tdecode1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tdecode1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Tdecode1$descriptor() { return H5Tdecode1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static MethodHandle H5Tdecode1$handle() { return H5Tdecode1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static MemorySegment H5Tdecode1$address() { return H5Tdecode1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tdecode1(const void *buf)
+ * }
+ */
+ public static long H5Tdecode1(MemorySegment buf)
+ {
+ var mh$ = H5Tdecode1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tdecode1", buf);
+ }
+ return (long)mh$.invokeExact(buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcommit1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcommit1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcommit1$descriptor() { return H5Tcommit1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static MethodHandle H5Tcommit1$handle() { return H5Tcommit1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static MemorySegment H5Tcommit1$address() { return H5Tcommit1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tcommit1(hid_t loc_id, const char *name, hid_t type_id)
+ * }
+ */
+ public static int H5Tcommit1(long loc_id, MemorySegment name, long type_id)
+ {
+ var mh$ = H5Tcommit1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcommit1", loc_id, name, type_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, type_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Topen1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Topen1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Topen1$descriptor() { return H5Topen1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Topen1$handle() { return H5Topen1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Topen1$address() { return H5Topen1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Topen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Topen1(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Topen1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Topen1", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tarray_create1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tarray_create1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static FunctionDescriptor H5Tarray_create1$descriptor() { return H5Tarray_create1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static MethodHandle H5Tarray_create1$handle() { return H5Tarray_create1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static MemorySegment H5Tarray_create1$address() { return H5Tarray_create1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Tarray_create1(hid_t base_id, int ndims, const hsize_t dim[], const int perm[])
+ * }
+ */
+ public static long H5Tarray_create1(long base_id, int ndims, MemorySegment dim, MemorySegment perm)
+ {
+ var mh$ = H5Tarray_create1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tarray_create1", base_id, ndims, dim, perm);
+ }
+ return (long)mh$.invokeExact(base_id, ndims, dim, perm);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tget_array_dims1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tget_array_dims1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static FunctionDescriptor H5Tget_array_dims1$descriptor() { return H5Tget_array_dims1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static MethodHandle H5Tget_array_dims1$handle() { return H5Tget_array_dims1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static MemorySegment H5Tget_array_dims1$address() { return H5Tget_array_dims1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Tget_array_dims1(hid_t type_id, hsize_t dims[], int perm[])
+ * }
+ */
+ public static int H5Tget_array_dims1(long type_id, MemorySegment dims, MemorySegment perm)
+ {
+ var mh$ = H5Tget_array_dims1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tget_array_dims1", type_id, dims, perm);
+ }
+ return (int)mh$.invokeExact(type_id, dims, perm);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aclose$descriptor() { return H5Aclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aclose$handle() { return H5Aclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aclose$address() { return H5Aclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aclose(hid_t attr_id)
+ * }
+ */
+ public static int H5Aclose(long attr_id)
+ {
+ var mh$ = H5Aclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aclose", attr_id);
+ }
+ return (int)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aclose_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aclose_async$descriptor() { return H5Aclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aclose_async$handle() { return H5Aclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aclose_async$address() { return H5Aclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Aclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long attr_id, long es_id)
+ {
+ var mh$ = H5Aclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aclose_async", app_file, app_func, app_line, attr_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate2$descriptor() { return H5Acreate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id)
+ * }
+ */
+ public static MethodHandle H5Acreate2$handle() { return H5Acreate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id)
+ * }
+ */
+ public static MemorySegment H5Acreate2$address() { return H5Acreate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate2(hid_t loc_id, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id)
+ * }
+ */
+ public static long H5Acreate2(long loc_id, MemorySegment attr_name, long type_id, long space_id,
+ long acpl_id, long aapl_id)
+ {
+ var mh$ = H5Acreate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate2", loc_id, attr_name, type_id, space_id, acpl_id, aapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, attr_name, type_id, space_id, acpl_id, aapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate_async$descriptor() { return H5Acreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Acreate_async$handle() { return H5Acreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Acreate_async$address() { return H5Acreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Acreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment attr_name, long type_id, long space_id,
+ long acpl_id, long aapl_id, long es_id)
+ {
+ var mh$ = H5Acreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate_async", app_file, app_func, app_line, loc_id, attr_name, type_id,
+ space_id, acpl_id, aapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, attr_name, type_id, space_id,
+ acpl_id, aapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t
+ * space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate_by_name$descriptor() { return H5Acreate_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t
+ * space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Acreate_by_name$handle() { return H5Acreate_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t
+ * space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Acreate_by_name$address() { return H5Acreate_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t
+ * space_id, hid_t acpl_id, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static long H5Acreate_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long type_id, long space_id, long acpl_id, long aapl_id,
+ long lapl_id)
+ {
+ var mh$ = H5Acreate_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate_by_name", loc_id, obj_name, attr_name, type_id, space_id, acpl_id,
+ aapl_id, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, attr_name, type_id, space_id, acpl_id, aapl_id,
+ lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate_by_name_async$descriptor()
+ {
+ return H5Acreate_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Acreate_by_name_async$handle() { return H5Acreate_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Acreate_by_name_async$address() { return H5Acreate_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id,
+ * hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Acreate_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long type_id, long space_id, long acpl_id, long aapl_id,
+ long lapl_id, long es_id)
+ {
+ var mh$ = H5Acreate_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate_by_name_async", app_file, app_func, app_line, loc_id, obj_name,
+ attr_name, type_id, space_id, acpl_id, aapl_id, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, attr_name, type_id,
+ space_id, acpl_id, aapl_id, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Adelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Adelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static FunctionDescriptor H5Adelete$descriptor() { return H5Adelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static MethodHandle H5Adelete$handle() { return H5Adelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static MemorySegment H5Adelete$address() { return H5Adelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Adelete(hid_t loc_id, const char *attr_name)
+ * }
+ */
+ public static int H5Adelete(long loc_id, MemorySegment attr_name)
+ {
+ var mh$ = H5Adelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Adelete", loc_id, attr_name);
+ }
+ return (int)mh$.invokeExact(loc_id, attr_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Adelete_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Adelete_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Adelete_by_idx$descriptor() { return H5Adelete_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Adelete_by_idx$handle() { return H5Adelete_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Adelete_by_idx$address() { return H5Adelete_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static int H5Adelete_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order, long n,
+ long lapl_id)
+ {
+ var mh$ = H5Adelete_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Adelete_by_idx", loc_id, obj_name, idx_type, order, n, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Adelete_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Adelete_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Adelete_by_name$descriptor() { return H5Adelete_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Adelete_by_name$handle() { return H5Adelete_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Adelete_by_name$address() { return H5Adelete_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Adelete_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long lapl_id)
+ {
+ var mh$ = H5Adelete_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Adelete_by_name", loc_id, obj_name, attr_name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, attr_name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists$descriptor() { return H5Aexists.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static MethodHandle H5Aexists$handle() { return H5Aexists.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static MemorySegment H5Aexists$address() { return H5Aexists.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Aexists(hid_t obj_id, const char *attr_name)
+ * }
+ */
+ public static int H5Aexists(long obj_id, MemorySegment attr_name)
+ {
+ var mh$ = H5Aexists.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists", obj_id, attr_name);
+ }
+ return (int)mh$.invokeExact(obj_id, attr_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists_async$descriptor() { return H5Aexists_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aexists_async$handle() { return H5Aexists_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aexists_async$address() { return H5Aexists_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aexists_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, bool *exists, hid_t es_id)
+ * }
+ */
+ public static int H5Aexists_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long obj_id, MemorySegment attr_name, MemorySegment exists, long es_id)
+ {
+ var mh$ = H5Aexists_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists_async", app_file, app_func, app_line, obj_id, attr_name, exists,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, obj_id, attr_name, exists, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists_by_name$descriptor() { return H5Aexists_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aexists_by_name$handle() { return H5Aexists_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aexists_by_name$address() { return H5Aexists_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Aexists_by_name(hid_t obj_id, const char *obj_name, const char *attr_name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aexists_by_name(long obj_id, MemorySegment obj_name, MemorySegment attr_name,
+ long lapl_id)
+ {
+ var mh$ = H5Aexists_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists_by_name", obj_id, obj_name, attr_name, lapl_id);
+ }
+ return (int)mh$.invokeExact(obj_id, obj_name, attr_name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aexists_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aexists_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aexists_by_name_async$descriptor()
+ {
+ return H5Aexists_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aexists_by_name_async$handle() { return H5Aexists_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aexists_by_name_async$address() { return H5Aexists_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aexists_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, bool *exists, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Aexists_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ MemorySegment exists, long lapl_id, long es_id)
+ {
+ var mh$ = H5Aexists_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aexists_by_name_async", app_file, app_func, app_line, loc_id, obj_name,
+ attr_name, exists, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, attr_name, exists,
+ lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_create_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_create_plist$descriptor() { return H5Aget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_create_plist$handle() { return H5Aget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_create_plist$address() { return H5Aget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aget_create_plist(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_create_plist(long attr_id)
+ {
+ var mh$ = H5Aget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_create_plist", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_info$descriptor() { return H5Aget_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static MethodHandle H5Aget_info$handle() { return H5Aget_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static MemorySegment H5Aget_info$address() { return H5Aget_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aget_info(hid_t attr_id, H5A_info_t *ainfo)
+ * }
+ */
+ public static int H5Aget_info(long attr_id, MemorySegment ainfo)
+ {
+ var mh$ = H5Aget_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_info", attr_id, ainfo);
+ }
+ return (int)mh$.invokeExact(attr_id, ainfo);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_info_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_info_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_info_by_idx$descriptor() { return H5Aget_info_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aget_info_by_idx$handle() { return H5Aget_info_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aget_info_by_idx$address() { return H5Aget_info_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, H5A_info_t *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aget_info_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order, long n,
+ MemorySegment ainfo, long lapl_id)
+ {
+ var mh$ = H5Aget_info_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_info_by_idx", loc_id, obj_name, idx_type, order, n, ainfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, ainfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_info_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_info_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t
+ * *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_info_by_name$descriptor() { return H5Aget_info_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t
+ * *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aget_info_by_name$handle() { return H5Aget_info_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t
+ * *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aget_info_by_name$address() { return H5Aget_info_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aget_info_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, H5A_info_t
+ * *ainfo, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aget_info_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ MemorySegment ainfo, long lapl_id)
+ {
+ var mh$ = H5Aget_info_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_info_by_name", loc_id, obj_name, attr_name, ainfo, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, attr_name, ainfo, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_name$descriptor() { return H5Aget_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static MethodHandle H5Aget_name$handle() { return H5Aget_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static MemorySegment H5Aget_name$address() { return H5Aget_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf)
+ * }
+ */
+ public static long H5Aget_name(long attr_id, long buf_size, MemorySegment buf)
+ {
+ var mh$ = H5Aget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_name", attr_id, buf_size, buf);
+ }
+ return (long)mh$.invokeExact(attr_id, buf_size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_name_by_idx {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_name_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_name_by_idx$descriptor() { return H5Aget_name_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aget_name_by_idx$handle() { return H5Aget_name_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aget_name_by_idx$address() { return H5Aget_name_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Aget_name_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, char *name, size_t size, hid_t lapl_id)
+ * }
+ */
+ public static long H5Aget_name_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order,
+ long n, MemorySegment name, long size, long lapl_id)
+ {
+ var mh$ = H5Aget_name_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_name_by_idx", loc_id, obj_name, idx_type, order, n, name, size,
+ lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, name, size, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_space {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_space$descriptor() { return H5Aget_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_space$handle() { return H5Aget_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_space$address() { return H5Aget_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aget_space(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_space(long attr_id)
+ {
+ var mh$ = H5Aget_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_space", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_storage_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_storage_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_storage_size$descriptor() { return H5Aget_storage_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_storage_size$handle() { return H5Aget_storage_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_storage_size$address() { return H5Aget_storage_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hsize_t H5Aget_storage_size(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_storage_size(long attr_id)
+ {
+ var mh$ = H5Aget_storage_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_storage_size", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_type$descriptor() { return H5Aget_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static MethodHandle H5Aget_type$handle() { return H5Aget_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static MemorySegment H5Aget_type$address() { return H5Aget_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aget_type(hid_t attr_id)
+ * }
+ */
+ public static long H5Aget_type(long attr_id)
+ {
+ var mh$ = H5Aget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_type", attr_id);
+ }
+ return (long)mh$.invokeExact(attr_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aiterate2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aiterate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Aiterate2$descriptor() { return H5Aiterate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Aiterate2$handle() { return H5Aiterate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Aiterate2$address() { return H5Aiterate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aiterate2(hid_t loc_id, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx,
+ * H5A_operator2_t op, void *op_data)
+ * }
+ */
+ public static int H5Aiterate2(long loc_id, int idx_type, int order, MemorySegment idx, MemorySegment op,
+ MemorySegment op_data)
+ {
+ var mh$ = H5Aiterate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aiterate2", loc_id, idx_type, order, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(loc_id, idx_type, order, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aiterate_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aiterate_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aiterate_by_name$descriptor() { return H5Aiterate_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aiterate_by_name$handle() { return H5Aiterate_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aiterate_by_name$address() { return H5Aiterate_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aiterate_by_name(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t *idx, H5A_operator2_t op, void *op_data, hid_t lapl_id)
+ * }
+ */
+ public static int H5Aiterate_by_name(long loc_id, MemorySegment obj_name, int idx_type, int order,
+ MemorySegment idx, MemorySegment op, MemorySegment op_data,
+ long lapl_id)
+ {
+ var mh$ = H5Aiterate_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aiterate_by_name", loc_id, obj_name, idx_type, order, idx, op, op_data,
+ lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, idx_type, order, idx, op, op_data, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen$descriptor() { return H5Aopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static MethodHandle H5Aopen$handle() { return H5Aopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static MemorySegment H5Aopen$address() { return H5Aopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen(hid_t obj_id, const char *attr_name, hid_t aapl_id)
+ * }
+ */
+ public static long H5Aopen(long obj_id, MemorySegment attr_name, long aapl_id)
+ {
+ var mh$ = H5Aopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen", obj_id, attr_name, aapl_id);
+ }
+ return (long)mh$.invokeExact(obj_id, attr_name, aapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_async$descriptor() { return H5Aopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_async$handle() { return H5Aopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_async$address() { return H5Aopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t obj_id,
+ * const char *attr_name, hid_t aapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Aopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long obj_id, MemorySegment attr_name, long aapl_id, long es_id)
+ {
+ var mh$ = H5Aopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_async", app_file, app_func, app_line, obj_id, attr_name, aapl_id,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, obj_id, attr_name, aapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_idx$descriptor() { return H5Aopen_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_idx$handle() { return H5Aopen_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_idx$address() { return H5Aopen_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx(hid_t loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order,
+ * hsize_t n, hid_t aapl_id, hid_t lapl_id)
+ * }
+ */
+ public static long H5Aopen_by_idx(long loc_id, MemorySegment obj_name, int idx_type, int order, long n,
+ long aapl_id, long lapl_id)
+ {
+ var mh$ = H5Aopen_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_idx", loc_id, obj_name, idx_type, order, n, aapl_id, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, idx_type, order, n, aapl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_idx_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_idx_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id,
+ * hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_idx_async$descriptor() { return H5Aopen_by_idx_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id,
+ * hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_idx_async$handle() { return H5Aopen_by_idx_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id,
+ * hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_idx_async$address() { return H5Aopen_by_idx_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_idx_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, H5_index_t idx_type, H5_iter_order_t order, hsize_t n, hid_t aapl_id,
+ * hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Aopen_by_idx_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name, int idx_type, int order,
+ long n, long aapl_id, long lapl_id, long es_id)
+ {
+ var mh$ = H5Aopen_by_idx_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_idx_async", app_file, app_func, app_line, loc_id, obj_name,
+ idx_type, order, n, aapl_id, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, idx_type, order, n,
+ aapl_id, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t
+ * lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_name$descriptor() { return H5Aopen_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t
+ * lapl_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_name$handle() { return H5Aopen_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t
+ * lapl_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_name$address() { return H5Aopen_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name(hid_t loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t
+ * lapl_id)
+ * }
+ */
+ public static long H5Aopen_by_name(long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long aapl_id, long lapl_id)
+ {
+ var mh$ = H5Aopen_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_name", loc_id, obj_name, attr_name, aapl_id, lapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, obj_name, attr_name, aapl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_by_name_async$descriptor() { return H5Aopen_by_name_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aopen_by_name_async$handle() { return H5Aopen_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aopen_by_name_async$address() { return H5Aopen_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *attr_name, hid_t aapl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Aopen_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name, MemorySegment attr_name,
+ long aapl_id, long lapl_id, long es_id)
+ {
+ var mh$ = H5Aopen_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_by_name_async", app_file, app_func, app_line, loc_id, obj_name,
+ attr_name, aapl_id, lapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, attr_name, aapl_id,
+ lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aread {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Aread$descriptor() { return H5Aread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Aread$handle() { return H5Aread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Aread$address() { return H5Aread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf)
+ * }
+ */
+ public static int H5Aread(long attr_id, long type_id, MemorySegment buf)
+ {
+ var mh$ = H5Aread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aread", attr_id, type_id, buf);
+ }
+ return (int)mh$.invokeExact(attr_id, type_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aread_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aread_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aread_async$descriptor() { return H5Aread_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Aread_async$handle() { return H5Aread_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Aread_async$address() { return H5Aread_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t dtype_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static int H5Aread_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long attr_id, long dtype_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Aread_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aread_async", app_file, app_func, app_line, attr_id, dtype_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, dtype_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static FunctionDescriptor H5Arename$descriptor() { return H5Arename.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static MethodHandle H5Arename$handle() { return H5Arename.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static MemorySegment H5Arename$address() { return H5Arename.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
+ * }
+ */
+ public static int H5Arename(long loc_id, MemorySegment old_name, MemorySegment new_name)
+ {
+ var mh$ = H5Arename.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename", loc_id, old_name, new_name);
+ }
+ return (int)mh$.invokeExact(loc_id, old_name, new_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Arename_async$descriptor() { return H5Arename_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Arename_async$handle() { return H5Arename_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Arename_async$address() { return H5Arename_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *old_name, const char *new_name, hid_t es_id)
+ * }
+ */
+ public static int H5Arename_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment old_name, MemorySegment new_name, long es_id)
+ {
+ var mh$ = H5Arename_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename_async", app_file, app_func, app_line, loc_id, old_name, new_name,
+ es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, old_name, new_name, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename_by_name_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename_by_name_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Arename_by_name_async$descriptor()
+ {
+ return H5Arename_by_name_async.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Arename_by_name_async$handle() { return H5Arename_by_name_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Arename_by_name_async$address() { return H5Arename_by_name_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * loc_id, const char *obj_name, const char *old_attr_name, const char *new_attr_name, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Arename_by_name_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment obj_name,
+ MemorySegment old_attr_name, MemorySegment new_attr_name,
+ long lapl_id, long es_id)
+ {
+ var mh$ = H5Arename_by_name_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename_by_name_async", app_file, app_func, app_line, loc_id, obj_name,
+ old_attr_name, new_attr_name, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, obj_name, old_attr_name,
+ new_attr_name, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Awrite {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Awrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Awrite$descriptor() { return H5Awrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static MethodHandle H5Awrite$handle() { return H5Awrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static MemorySegment H5Awrite$address() { return H5Awrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf)
+ * }
+ */
+ public static int H5Awrite(long attr_id, long type_id, MemorySegment buf)
+ {
+ var mh$ = H5Awrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Awrite", attr_id, type_id, buf);
+ }
+ return (int)mh$.invokeExact(attr_id, type_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Awrite_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Awrite_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Awrite_async$descriptor() { return H5Awrite_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Awrite_async$handle() { return H5Awrite_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Awrite_async$address() { return H5Awrite_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Awrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t attr_id,
+ * hid_t type_id, const void *buf, hid_t es_id)
+ * }
+ */
+ public static int H5Awrite_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long attr_id, long type_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Awrite_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Awrite_async", app_file, app_func, app_line, attr_id, type_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, attr_id, type_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Arename_by_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Arename_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char
+ * *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Arename_by_name$descriptor() { return H5Arename_by_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char
+ * *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Arename_by_name$handle() { return H5Arename_by_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char
+ * *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Arename_by_name$address() { return H5Arename_by_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Arename_by_name(hid_t loc_id, const char *obj_name, const char *old_attr_name, const char
+ * *new_attr_name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Arename_by_name(long loc_id, MemorySegment obj_name, MemorySegment old_attr_name,
+ MemorySegment new_attr_name, long lapl_id)
+ {
+ var mh$ = H5Arename_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Arename_by_name", loc_id, obj_name, old_attr_name, new_attr_name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, obj_name, old_attr_name, new_attr_name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Acreate1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Acreate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Acreate1$descriptor() { return H5Acreate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static MethodHandle H5Acreate1$handle() { return H5Acreate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static MemorySegment H5Acreate1$address() { return H5Acreate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Acreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t acpl_id)
+ * }
+ */
+ public static long H5Acreate1(long loc_id, MemorySegment name, long type_id, long space_id, long acpl_id)
+ {
+ var mh$ = H5Acreate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Acreate1", loc_id, name, type_id, space_id, acpl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, type_id, space_id, acpl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aget_num_attrs {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aget_num_attrs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static FunctionDescriptor H5Aget_num_attrs$descriptor() { return H5Aget_num_attrs.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static MethodHandle H5Aget_num_attrs$handle() { return H5Aget_num_attrs.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static MemorySegment H5Aget_num_attrs$address() { return H5Aget_num_attrs.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Aget_num_attrs(hid_t loc_id)
+ * }
+ */
+ public static int H5Aget_num_attrs(long loc_id)
+ {
+ var mh$ = H5Aget_num_attrs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aget_num_attrs", loc_id);
+ }
+ return (int)mh$.invokeExact(loc_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aiterate1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aiterate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Aiterate1$descriptor() { return H5Aiterate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Aiterate1$handle() { return H5Aiterate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Aiterate1$address() { return H5Aiterate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Aiterate1(hid_t loc_id, unsigned int *idx, H5A_operator1_t op, void *op_data)
+ * }
+ */
+ public static int H5Aiterate1(long loc_id, MemorySegment idx, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Aiterate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aiterate1", loc_id, idx, op, op_data);
+ }
+ return (int)mh$.invokeExact(loc_id, idx, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_idx$descriptor() { return H5Aopen_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static MethodHandle H5Aopen_idx$handle() { return H5Aopen_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static MemorySegment H5Aopen_idx$address() { return H5Aopen_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_idx(hid_t loc_id, unsigned int idx)
+ * }
+ */
+ public static long H5Aopen_idx(long loc_id, int idx)
+ {
+ var mh$ = H5Aopen_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_idx", loc_id, idx);
+ }
+ return (long)mh$.invokeExact(loc_id, idx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Aopen_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Aopen_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Aopen_name$descriptor() { return H5Aopen_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Aopen_name$handle() { return H5Aopen_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Aopen_name$address() { return H5Aopen_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Aopen_name(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Aopen_name(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Aopen_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Aopen_name", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5C_incr__off = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_incr_mode.H5C_incr__off = 0
+ * }
+ */
+ public static int H5C_incr__off() { return H5C_incr__off; }
+ private static final int H5C_incr__threshold = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_incr_mode.H5C_incr__threshold = 1
+ * }
+ */
+ public static int H5C_incr__threshold() { return H5C_incr__threshold; }
+ private static final int H5C_flash_incr__off = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_flash_incr_mode.H5C_flash_incr__off = 0
+ * }
+ */
+ public static int H5C_flash_incr__off() { return H5C_flash_incr__off; }
+ private static final int H5C_flash_incr__add_space = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_flash_incr_mode.H5C_flash_incr__add_space = 1
+ * }
+ */
+ public static int H5C_flash_incr__add_space() { return H5C_flash_incr__add_space; }
+ private static final int H5C_decr__off = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__off = 0
+ * }
+ */
+ public static int H5C_decr__off() { return H5C_decr__off; }
+ private static final int H5C_decr__threshold = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__threshold = 1
+ * }
+ */
+ public static int H5C_decr__threshold() { return H5C_decr__threshold; }
+ private static final int H5C_decr__age_out = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__age_out = 2
+ * }
+ */
+ public static int H5C_decr__age_out() { return H5C_decr__age_out; }
+ private static final int H5C_decr__age_out_with_threshold = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5C_cache_decr_mode.H5C_decr__age_out_with_threshold = 3
+ * }
+ */
+ public static int H5C_decr__age_out_with_threshold() { return H5C_decr__age_out_with_threshold; }
+ private static final int H5D_LAYOUT_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_LAYOUT_ERROR = -1
+ * }
+ */
+ public static int H5D_LAYOUT_ERROR() { return H5D_LAYOUT_ERROR; }
+ private static final int H5D_COMPACT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_COMPACT = 0
+ * }
+ */
+ public static int H5D_COMPACT() { return H5D_COMPACT; }
+ private static final int H5D_CONTIGUOUS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_CONTIGUOUS = 1
+ * }
+ */
+ public static int H5D_CONTIGUOUS() { return H5D_CONTIGUOUS; }
+ private static final int H5D_CHUNKED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_CHUNKED = 2
+ * }
+ */
+ public static int H5D_CHUNKED() { return H5D_CHUNKED; }
+ private static final int H5D_VIRTUAL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_VIRTUAL = 3
+ * }
+ */
+ public static int H5D_VIRTUAL() { return H5D_VIRTUAL; }
+ private static final int H5D_NLAYOUTS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_layout_t.H5D_NLAYOUTS = 4
+ * }
+ */
+ public static int H5D_NLAYOUTS() { return H5D_NLAYOUTS; }
+ private static final int H5D_CHUNK_IDX_BTREE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_BTREE = 0
+ * }
+ */
+ public static int H5D_CHUNK_IDX_BTREE() { return H5D_CHUNK_IDX_BTREE; }
+ private static final int H5D_CHUNK_IDX_SINGLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_SINGLE = 1
+ * }
+ */
+ public static int H5D_CHUNK_IDX_SINGLE() { return H5D_CHUNK_IDX_SINGLE; }
+ private static final int H5D_CHUNK_IDX_NONE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_NONE = 2
+ * }
+ */
+ public static int H5D_CHUNK_IDX_NONE() { return H5D_CHUNK_IDX_NONE; }
+ private static final int H5D_CHUNK_IDX_FARRAY = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_FARRAY = 3
+ * }
+ */
+ public static int H5D_CHUNK_IDX_FARRAY() { return H5D_CHUNK_IDX_FARRAY; }
+ private static final int H5D_CHUNK_IDX_EARRAY = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_EARRAY = 4
+ * }
+ */
+ public static int H5D_CHUNK_IDX_EARRAY() { return H5D_CHUNK_IDX_EARRAY; }
+ private static final int H5D_CHUNK_IDX_BT2 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_BT2 = 5
+ * }
+ */
+ public static int H5D_CHUNK_IDX_BT2() { return H5D_CHUNK_IDX_BT2; }
+ private static final int H5D_CHUNK_IDX_NTYPES = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_chunk_index_t.H5D_CHUNK_IDX_NTYPES = 6
+ * }
+ */
+ public static int H5D_CHUNK_IDX_NTYPES() { return H5D_CHUNK_IDX_NTYPES; }
+ private static final int H5D_ALLOC_TIME_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_ERROR = -1
+ * }
+ */
+ public static int H5D_ALLOC_TIME_ERROR() { return H5D_ALLOC_TIME_ERROR; }
+ private static final int H5D_ALLOC_TIME_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_DEFAULT = 0
+ * }
+ */
+ public static int H5D_ALLOC_TIME_DEFAULT() { return H5D_ALLOC_TIME_DEFAULT; }
+ private static final int H5D_ALLOC_TIME_EARLY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_EARLY = 1
+ * }
+ */
+ public static int H5D_ALLOC_TIME_EARLY() { return H5D_ALLOC_TIME_EARLY; }
+ private static final int H5D_ALLOC_TIME_LATE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_LATE = 2
+ * }
+ */
+ public static int H5D_ALLOC_TIME_LATE() { return H5D_ALLOC_TIME_LATE; }
+ private static final int H5D_ALLOC_TIME_INCR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_alloc_time_t.H5D_ALLOC_TIME_INCR = 3
+ * }
+ */
+ public static int H5D_ALLOC_TIME_INCR() { return H5D_ALLOC_TIME_INCR; }
+ private static final int H5D_SPACE_STATUS_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_ERROR = -1
+ * }
+ */
+ public static int H5D_SPACE_STATUS_ERROR() { return H5D_SPACE_STATUS_ERROR; }
+ private static final int H5D_SPACE_STATUS_NOT_ALLOCATED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_NOT_ALLOCATED = 0
+ * }
+ */
+ public static int H5D_SPACE_STATUS_NOT_ALLOCATED() { return H5D_SPACE_STATUS_NOT_ALLOCATED; }
+ private static final int H5D_SPACE_STATUS_PART_ALLOCATED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_PART_ALLOCATED = 1
+ * }
+ */
+ public static int H5D_SPACE_STATUS_PART_ALLOCATED() { return H5D_SPACE_STATUS_PART_ALLOCATED; }
+ private static final int H5D_SPACE_STATUS_ALLOCATED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_space_status_t.H5D_SPACE_STATUS_ALLOCATED = 2
+ * }
+ */
+ public static int H5D_SPACE_STATUS_ALLOCATED() { return H5D_SPACE_STATUS_ALLOCATED; }
+ private static final int H5D_FILL_TIME_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_ERROR = -1
+ * }
+ */
+ public static int H5D_FILL_TIME_ERROR() { return H5D_FILL_TIME_ERROR; }
+ private static final int H5D_FILL_TIME_ALLOC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_ALLOC = 0
+ * }
+ */
+ public static int H5D_FILL_TIME_ALLOC() { return H5D_FILL_TIME_ALLOC; }
+ private static final int H5D_FILL_TIME_NEVER = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_NEVER = 1
+ * }
+ */
+ public static int H5D_FILL_TIME_NEVER() { return H5D_FILL_TIME_NEVER; }
+ private static final int H5D_FILL_TIME_IFSET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_time_t.H5D_FILL_TIME_IFSET = 2
+ * }
+ */
+ public static int H5D_FILL_TIME_IFSET() { return H5D_FILL_TIME_IFSET; }
+ private static final int H5D_FILL_VALUE_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_ERROR = -1
+ * }
+ */
+ public static int H5D_FILL_VALUE_ERROR() { return H5D_FILL_VALUE_ERROR; }
+ private static final int H5D_FILL_VALUE_UNDEFINED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_UNDEFINED = 0
+ * }
+ */
+ public static int H5D_FILL_VALUE_UNDEFINED() { return H5D_FILL_VALUE_UNDEFINED; }
+ private static final int H5D_FILL_VALUE_DEFAULT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_DEFAULT = 1
+ * }
+ */
+ public static int H5D_FILL_VALUE_DEFAULT() { return H5D_FILL_VALUE_DEFAULT; }
+ private static final int H5D_FILL_VALUE_USER_DEFINED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_USER_DEFINED = 2
+ * }
+ */
+ public static int H5D_FILL_VALUE_USER_DEFINED() { return H5D_FILL_VALUE_USER_DEFINED; }
+ private static final int H5D_VDS_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_vds_view_t.H5D_VDS_ERROR = -1
+ * }
+ */
+ public static int H5D_VDS_ERROR() { return H5D_VDS_ERROR; }
+ private static final int H5D_VDS_FIRST_MISSING = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_vds_view_t.H5D_VDS_FIRST_MISSING = 0
+ * }
+ */
+ public static int H5D_VDS_FIRST_MISSING() { return H5D_VDS_FIRST_MISSING; }
+ private static final int H5D_VDS_LAST_AVAILABLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_vds_view_t.H5D_VDS_LAST_AVAILABLE = 1
+ * }
+ */
+ public static int H5D_VDS_LAST_AVAILABLE() { return H5D_VDS_LAST_AVAILABLE; }
+
+ private static class H5Dcreate2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate2$descriptor() { return H5Dcreate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate2$handle() { return H5Dcreate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate2$address() { return H5Dcreate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static long H5Dcreate2(long loc_id, MemorySegment name, long type_id, long space_id, long lcpl_id,
+ long dcpl_id, long dapl_id)
+ {
+ var mh$ = H5Dcreate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate2", loc_id, name, type_id, space_id, lcpl_id, dcpl_id, dapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, type_id, space_id, lcpl_id, dcpl_id, dapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dcreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate_async$descriptor() { return H5Dcreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate_async$handle() { return H5Dcreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate_async$address() { return H5Dcreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static long H5Dcreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long type_id, long space_id,
+ long lcpl_id, long dcpl_id, long dapl_id, long es_id)
+ {
+ var mh$ = H5Dcreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate_async", app_file, app_func, app_line, loc_id, name, type_id,
+ space_id, lcpl_id, dcpl_id, dapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, type_id, space_id,
+ lcpl_id, dcpl_id, dapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dcreate_anon {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate_anon");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate_anon$descriptor() { return H5Dcreate_anon.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate_anon$handle() { return H5Dcreate_anon.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate_anon$address() { return H5Dcreate_anon.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static long H5Dcreate_anon(long loc_id, long type_id, long space_id, long dcpl_id, long dapl_id)
+ {
+ var mh$ = H5Dcreate_anon.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate_anon", loc_id, type_id, space_id, dcpl_id, dapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, type_id, space_id, dcpl_id, dapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dopen2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dopen2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dopen2$descriptor() { return H5Dopen2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static MethodHandle H5Dopen2$handle() { return H5Dopen2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static MemorySegment H5Dopen2$address() { return H5Dopen2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static long H5Dopen2(long loc_id, MemorySegment name, long dapl_id)
+ {
+ var mh$ = H5Dopen2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dopen2", loc_id, name, dapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, dapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dopen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dopen_async$descriptor() { return H5Dopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dopen_async$handle() { return H5Dopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dopen_async$address() { return H5Dopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Dopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long dapl_id, long es_id)
+ {
+ var mh$ = H5Dopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dopen_async", app_file, app_func, app_line, loc_id, name, dapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, dapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_space {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_space$descriptor() { return H5Dget_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_space$handle() { return H5Dget_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_space$address() { return H5Dget_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_space(long dset_id)
+ {
+ var mh$ = H5Dget_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_space", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_space_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_space_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_space_async$descriptor() { return H5Dget_space_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dget_space_async$handle() { return H5Dget_space_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dget_space_async$address() { return H5Dget_space_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static long H5Dget_space_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long es_id)
+ {
+ var mh$ = H5Dget_space_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_space_async", app_file, app_func, app_line, dset_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, dset_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_space_status {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_space_status");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_space_status$descriptor() { return H5Dget_space_status.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static MethodHandle H5Dget_space_status$handle() { return H5Dget_space_status.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static MemorySegment H5Dget_space_status$address() { return H5Dget_space_status.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static int H5Dget_space_status(long dset_id, MemorySegment allocation)
+ {
+ var mh$ = H5Dget_space_status.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_space_status", dset_id, allocation);
+ }
+ return (int)mh$.invokeExact(dset_id, allocation);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_type$descriptor() { return H5Dget_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_type$handle() { return H5Dget_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_type$address() { return H5Dget_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_type(long dset_id)
+ {
+ var mh$ = H5Dget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_type", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_create_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_create_plist$descriptor() { return H5Dget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_create_plist$handle() { return H5Dget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_create_plist$address() { return H5Dget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_create_plist(long dset_id)
+ {
+ var mh$ = H5Dget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_create_plist", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_access_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_access_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_access_plist$descriptor() { return H5Dget_access_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_access_plist$handle() { return H5Dget_access_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_access_plist$address() { return H5Dget_access_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_access_plist(long dset_id)
+ {
+ var mh$ = H5Dget_access_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_access_plist", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_storage_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_storage_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_storage_size$descriptor() { return H5Dget_storage_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_storage_size$handle() { return H5Dget_storage_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_storage_size$address() { return H5Dget_storage_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_storage_size(long dset_id)
+ {
+ var mh$ = H5Dget_storage_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_storage_size", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_storage_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_storage_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_storage_size$descriptor()
+ {
+ return H5Dget_chunk_storage_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_storage_size$handle() { return H5Dget_chunk_storage_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_storage_size$address() { return H5Dget_chunk_storage_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static int H5Dget_chunk_storage_size(long dset_id, MemorySegment offset, MemorySegment chunk_bytes)
+ {
+ var mh$ = H5Dget_chunk_storage_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_storage_size", dset_id, offset, chunk_bytes);
+ }
+ return (int)mh$.invokeExact(dset_id, offset, chunk_bytes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_num_chunks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_num_chunks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_num_chunks$descriptor() { return H5Dget_num_chunks.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static MethodHandle H5Dget_num_chunks$handle() { return H5Dget_num_chunks.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static MemorySegment H5Dget_num_chunks$address() { return H5Dget_num_chunks.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static int H5Dget_num_chunks(long dset_id, long fspace_id, MemorySegment nchunks)
+ {
+ var mh$ = H5Dget_num_chunks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_num_chunks", dset_id, fspace_id, nchunks);
+ }
+ return (int)mh$.invokeExact(dset_id, fspace_id, nchunks);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_info_by_coord {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_info_by_coord");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_info_by_coord$descriptor()
+ {
+ return H5Dget_chunk_info_by_coord.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_info_by_coord$handle()
+ {
+ return H5Dget_chunk_info_by_coord.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_info_by_coord$address()
+ {
+ return H5Dget_chunk_info_by_coord.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static int H5Dget_chunk_info_by_coord(long dset_id, MemorySegment offset,
+ MemorySegment filter_mask, MemorySegment addr,
+ MemorySegment size)
+ {
+ var mh$ = H5Dget_chunk_info_by_coord.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_info_by_coord", dset_id, offset, filter_mask, addr, size);
+ }
+ return (int)mh$.invokeExact(dset_id, offset, filter_mask, addr, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dchunk_iter {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dchunk_iter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Dchunk_iter$descriptor() { return H5Dchunk_iter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Dchunk_iter$handle() { return H5Dchunk_iter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Dchunk_iter$address() { return H5Dchunk_iter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static int H5Dchunk_iter(long dset_id, long dxpl_id, MemorySegment cb, MemorySegment op_data)
+ {
+ var mh$ = H5Dchunk_iter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dchunk_iter", dset_id, dxpl_id, cb, op_data);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, cb, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_info$descriptor() { return H5Dget_chunk_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_info$handle() { return H5Dget_chunk_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_info$address() { return H5Dget_chunk_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static int H5Dget_chunk_info(long dset_id, long fspace_id, long chk_idx, MemorySegment offset,
+ MemorySegment filter_mask, MemorySegment addr, MemorySegment size)
+ {
+ var mh$ = H5Dget_chunk_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_info", dset_id, fspace_id, chk_idx, offset, filter_mask, addr,
+ size);
+ }
+ return (int)mh$.invokeExact(dset_id, fspace_id, chk_idx, offset, filter_mask, addr, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_offset$descriptor() { return H5Dget_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_offset$handle() { return H5Dget_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_offset$address() { return H5Dget_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_offset(long dset_id)
+ {
+ var mh$ = H5Dget_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_offset", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dread$descriptor() { return H5Dread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Dread$handle() { return H5Dread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Dread$address() { return H5Dread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static int H5Dread(long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf)
+ {
+ var mh$ = H5Dread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread", dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Dread_multi$descriptor() { return H5Dread_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static MethodHandle H5Dread_multi$handle() { return H5Dread_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static MemorySegment H5Dread_multi$address() { return H5Dread_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static int H5Dread_multi(long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id, long dxpl_id,
+ MemorySegment buf)
+ {
+ var mh$ = H5Dread_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_multi", count, dset_id, mem_type_id, mem_space_id, file_space_id,
+ dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(count, dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id,
+ buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_async$descriptor() { return H5Dread_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dread_async$handle() { return H5Dread_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dread_async$address() { return H5Dread_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static int H5Dread_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dread_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_async", app_file, app_func, app_line, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, mem_type_id, mem_space_id,
+ file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_multi_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_multi_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_multi_async$descriptor() { return H5Dread_multi_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dread_multi_async$handle() { return H5Dread_multi_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dread_multi_async$address() { return H5Dread_multi_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static int H5Dread_multi_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dread_multi_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_multi_async", app_file, app_func, app_line, count, dset_id,
+ mem_type_id, mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, count, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite$descriptor() { return H5Dwrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static MethodHandle H5Dwrite$handle() { return H5Dwrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static MemorySegment H5Dwrite$address() { return H5Dwrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static int H5Dwrite(long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf)
+ {
+ var mh$ = H5Dwrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite", dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_multi$descriptor() { return H5Dwrite_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static MethodHandle H5Dwrite_multi$handle() { return H5Dwrite_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static MemorySegment H5Dwrite_multi$address() { return H5Dwrite_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static int H5Dwrite_multi(long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id, long dxpl_id,
+ MemorySegment buf)
+ {
+ var mh$ = H5Dwrite_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_multi", count, dset_id, mem_type_id, mem_space_id, file_space_id,
+ dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(count, dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id,
+ buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_async$descriptor() { return H5Dwrite_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static MethodHandle H5Dwrite_async$handle() { return H5Dwrite_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static MemorySegment H5Dwrite_async$address() { return H5Dwrite_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static int H5Dwrite_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dwrite_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_async", app_file, app_func, app_line, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, mem_type_id, mem_space_id,
+ file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_multi_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_multi_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_multi_async$descriptor() { return H5Dwrite_multi_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dwrite_multi_async$handle() { return H5Dwrite_multi_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dwrite_multi_async$address() { return H5Dwrite_multi_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static int H5Dwrite_multi_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dwrite_multi_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_multi_async", app_file, app_func, app_line, count, dset_id,
+ mem_type_id, mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, count, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_chunk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_chunk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_chunk$descriptor() { return H5Dwrite_chunk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static MethodHandle H5Dwrite_chunk$handle() { return H5Dwrite_chunk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static MemorySegment H5Dwrite_chunk$address() { return H5Dwrite_chunk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static int H5Dwrite_chunk(long dset_id, long dxpl_id, int filters, MemorySegment offset,
+ long data_size, MemorySegment buf)
+ {
+ var mh$ = H5Dwrite_chunk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_chunk", dset_id, dxpl_id, filters, offset, data_size, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, filters, offset, data_size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_chunk2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_chunk2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_chunk2$descriptor() { return H5Dread_chunk2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static MethodHandle H5Dread_chunk2$handle() { return H5Dread_chunk2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static MemorySegment H5Dread_chunk2$address() { return H5Dread_chunk2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static int H5Dread_chunk2(long dset_id, long dxpl_id, MemorySegment offset, MemorySegment filters,
+ MemorySegment buf, MemorySegment buf_size)
+ {
+ var mh$ = H5Dread_chunk2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_chunk2", dset_id, dxpl_id, offset, filters, buf, buf_size);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, offset, filters, buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Diterate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Diterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static FunctionDescriptor H5Diterate$descriptor() { return H5Diterate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static MethodHandle H5Diterate$handle() { return H5Diterate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static MemorySegment H5Diterate$address() { return H5Diterate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static int H5Diterate(MemorySegment buf, long type_id, long space_id, MemorySegment op,
+ MemorySegment operator_data)
+ {
+ var mh$ = H5Diterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Diterate", buf, type_id, space_id, op, operator_data);
+ }
+ return (int)mh$.invokeExact(buf, type_id, space_id, op, operator_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dvlen_get_buf_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dvlen_get_buf_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Dvlen_get_buf_size$descriptor() { return H5Dvlen_get_buf_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Dvlen_get_buf_size$handle() { return H5Dvlen_get_buf_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Dvlen_get_buf_size$address() { return H5Dvlen_get_buf_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static int H5Dvlen_get_buf_size(long dset_id, long type_id, long space_id, MemorySegment size)
+ {
+ var mh$ = H5Dvlen_get_buf_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dvlen_get_buf_size", dset_id, type_id, space_id, size);
+ }
+ return (int)mh$.invokeExact(dset_id, type_id, space_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dfill {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dfill");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dfill$descriptor() { return H5Dfill.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Dfill$handle() { return H5Dfill.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Dfill$address() { return H5Dfill.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static int H5Dfill(MemorySegment fill, long fill_type_id, MemorySegment buf, long buf_type_id,
+ long space_id)
+ {
+ var mh$ = H5Dfill.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dfill", fill, fill_type_id, buf, buf_type_id, space_id);
+ }
+ return (int)mh$.invokeExact(fill, fill_type_id, buf, buf_type_id, space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dset_extent {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dset_extent");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static FunctionDescriptor H5Dset_extent$descriptor() { return H5Dset_extent.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MethodHandle H5Dset_extent$handle() { return H5Dset_extent.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MemorySegment H5Dset_extent$address() { return H5Dset_extent.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static int H5Dset_extent(long dset_id, MemorySegment size)
+ {
+ var mh$ = H5Dset_extent.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dset_extent", dset_id, size);
+ }
+ return (int)mh$.invokeExact(dset_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dset_extent_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dset_extent_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dset_extent_async$descriptor() { return H5Dset_extent_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dset_extent_async$handle() { return H5Dset_extent_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dset_extent_async$address() { return H5Dset_extent_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static int H5Dset_extent_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, MemorySegment size, long es_id)
+ {
+ var mh$ = H5Dset_extent_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dset_extent_async", app_file, app_func, app_line, dset_id, size, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, size, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dflush$descriptor() { return H5Dflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dflush$handle() { return H5Dflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dflush$address() { return H5Dflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static int H5Dflush(long dset_id)
+ {
+ var mh$ = H5Dflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dflush", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Drefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Drefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Drefresh$descriptor() { return H5Drefresh.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Drefresh$handle() { return H5Drefresh.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Drefresh$address() { return H5Drefresh.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static int H5Drefresh(long dset_id)
+ {
+ var mh$ = H5Drefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Drefresh", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dscatter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dscatter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dscatter$descriptor() { return H5Dscatter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static MethodHandle H5Dscatter$handle() { return H5Dscatter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static MemorySegment H5Dscatter$address() { return H5Dscatter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static int H5Dscatter(MemorySegment op, MemorySegment op_data, long type_id, long dst_space_id,
+ MemorySegment dst_buf)
+ {
+ var mh$ = H5Dscatter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dscatter", op, op_data, type_id, dst_space_id, dst_buf);
+ }
+ return (int)mh$.invokeExact(op, op_data, type_id, dst_space_id, dst_buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dgather {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dgather");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Dgather$descriptor() { return H5Dgather.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Dgather$handle() { return H5Dgather.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Dgather$address() { return H5Dgather.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static int H5Dgather(long src_space_id, MemorySegment src_buf, long type_id, long dst_buf_size,
+ MemorySegment dst_buf, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Dgather.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dgather", src_space_id, src_buf, type_id, dst_buf_size, dst_buf, op,
+ op_data);
+ }
+ return (int)mh$.invokeExact(src_space_id, src_buf, type_id, dst_buf_size, dst_buf, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dclose$descriptor() { return H5Dclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dclose$handle() { return H5Dclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dclose$address() { return H5Dclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static int H5Dclose(long dset_id)
+ {
+ var mh$ = H5Dclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dclose", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dclose_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dclose_async$descriptor() { return H5Dclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dclose_async$handle() { return H5Dclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dclose_async$address() { return H5Dclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Dclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long es_id)
+ {
+ var mh$ = H5Dclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dclose_async", app_file, app_func, app_line, dset_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ddebug {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ddebug");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ddebug$descriptor() { return H5Ddebug.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Ddebug$handle() { return H5Ddebug.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Ddebug$address() { return H5Ddebug.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static int H5Ddebug(long dset_id)
+ {
+ var mh$ = H5Ddebug.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ddebug", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dformat_convert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dformat_convert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dformat_convert$descriptor() { return H5Dformat_convert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dformat_convert$handle() { return H5Dformat_convert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dformat_convert$address() { return H5Dformat_convert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static int H5Dformat_convert(long dset_id)
+ {
+ var mh$ = H5Dformat_convert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dformat_convert", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_index_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_index_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_index_type$descriptor()
+ {
+ return H5Dget_chunk_index_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_index_type$handle() { return H5Dget_chunk_index_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_index_type$address() { return H5Dget_chunk_index_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static int H5Dget_chunk_index_type(long did, MemorySegment idx_type)
+ {
+ var mh$ = H5Dget_chunk_index_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_index_type", did, idx_type);
+ }
+ return (int)mh$.invokeExact(did, idx_type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dcreate1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate1$descriptor() { return H5Dcreate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate1$handle() { return H5Dcreate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate1$address() { return H5Dcreate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static long H5Dcreate1(long loc_id, MemorySegment name, long type_id, long space_id, long dcpl_id)
+ {
+ var mh$ = H5Dcreate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate1", loc_id, name, type_id, space_id, dcpl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, type_id, space_id, dcpl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dopen1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dopen1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Dopen1$descriptor() { return H5Dopen1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Dopen1$handle() { return H5Dopen1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Dopen1$address() { return H5Dopen1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Dopen1(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Dopen1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dopen1", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dextend {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dextend");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static FunctionDescriptor H5Dextend$descriptor() { return H5Dextend.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MethodHandle H5Dextend$handle() { return H5Dextend.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MemorySegment H5Dextend$address() { return H5Dextend.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static int H5Dextend(long dset_id, MemorySegment size)
+ {
+ var mh$ = H5Dextend.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dextend", dset_id, size);
+ }
+ return (int)mh$.invokeExact(dset_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dvlen_reclaim {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dvlen_reclaim");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dvlen_reclaim$descriptor() { return H5Dvlen_reclaim.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Dvlen_reclaim$handle() { return H5Dvlen_reclaim.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Dvlen_reclaim$address() { return H5Dvlen_reclaim.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static int H5Dvlen_reclaim(long type_id, long space_id, long dxpl_id, MemorySegment buf)
+ {
+ var mh$ = H5Dvlen_reclaim.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dvlen_reclaim", type_id, space_id, dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(type_id, space_id, dxpl_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_chunk1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_chunk1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_chunk1$descriptor() { return H5Dread_chunk1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static MethodHandle H5Dread_chunk1$handle() { return H5Dread_chunk1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static MemorySegment H5Dread_chunk1$address() { return H5Dread_chunk1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static int H5Dread_chunk1(long dset_id, long dxpl_id, MemorySegment offset, MemorySegment filters,
+ MemorySegment buf)
+ {
+ var mh$ = H5Dread_chunk1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_chunk1", dset_id, dxpl_id, offset, filters, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, offset, filters, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class renameat {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("renameat");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int renameat(int, const char *, int, const char *)
+ * }
+ */
+ public static FunctionDescriptor renameat$descriptor() { return renameat.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int renameat(int, const char *, int, const char *)
+ * }
+ */
+ public static MethodHandle renameat$handle() { return renameat.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int renameat(int, const char *, int, const char *)
+ * }
+ */
+ public static MemorySegment renameat$address() { return renameat.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int renameat(int, const char *, int, const char *)
+ * }
+ */
+ public static int renameat(int x0, MemorySegment x1, int x2, MemorySegment x3)
+ {
+ var mh$ = renameat.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("renameat", x0, x1, x2, x3);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2, x3);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class renamex_np {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("renamex_np");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int renamex_np(const char *, const char *, unsigned int)
+ * }
+ */
+ public static FunctionDescriptor renamex_np$descriptor() { return renamex_np.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int renamex_np(const char *, const char *, unsigned int)
+ * }
+ */
+ public static MethodHandle renamex_np$handle() { return renamex_np.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int renamex_np(const char *, const char *, unsigned int)
+ * }
+ */
+ public static MemorySegment renamex_np$address() { return renamex_np.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int renamex_np(const char *, const char *, unsigned int)
+ * }
+ */
+ public static int renamex_np(MemorySegment x0, MemorySegment x1, int x2)
+ {
+ var mh$ = renamex_np.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("renamex_np", x0, x1, x2);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class renameatx_np {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("renameatx_np");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int renameatx_np(int, const char *, int, const char *, unsigned int)
+ * }
+ */
+ public static FunctionDescriptor renameatx_np$descriptor() { return renameatx_np.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int renameatx_np(int, const char *, int, const char *, unsigned int)
+ * }
+ */
+ public static MethodHandle renameatx_np$handle() { return renameatx_np.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int renameatx_np(int, const char *, int, const char *, unsigned int)
+ * }
+ */
+ public static MemorySegment renameatx_np$address() { return renameatx_np.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int renameatx_np(int, const char *, int, const char *, unsigned int)
+ * }
+ */
+ public static int renameatx_np(int x0, MemorySegment x1, int x2, MemorySegment x3, int x4)
+ {
+ var mh$ = renameatx_np.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("renameatx_np", x0, x1, x2, x3, x4);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2, x3, x4);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * int printf(const char *restrict, ...)
+ * }
+ */
+ public static class printf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("printf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private printf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * int printf(const char *restrict, ...)
+ * }
+ */
+ public static printf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new printf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment x0, Object... x1)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("printf", x0, x1);
+ }
+ return (int)spreader.invokeExact(x0, x1);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_off_t fpos_t
+ * }
+ */
+ public static final OfLong fpos_t = hdf5_h.C_LONG_LONG;
+
+ private static class __stdinp$constants {
+ public static final AddressLayout LAYOUT = hdf5_h.C_POINTER;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("__stdinp").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stdinp
+ * }
+ */
+ public static AddressLayout __stdinp$layout() { return __stdinp$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stdinp
+ * }
+ */
+ public static MemorySegment __stdinp$segment() { return __stdinp$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stdinp
+ * }
+ */
+ public static MemorySegment __stdinp()
+ {
+ return __stdinp$constants.SEGMENT.get(__stdinp$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stdinp
+ * }
+ */
+ public static void __stdinp(MemorySegment varValue)
+ {
+ __stdinp$constants.SEGMENT.set(__stdinp$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class __stdoutp$constants {
+ public static final AddressLayout LAYOUT = hdf5_h.C_POINTER;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("__stdoutp").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stdoutp
+ * }
+ */
+ public static AddressLayout __stdoutp$layout() { return __stdoutp$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stdoutp
+ * }
+ */
+ public static MemorySegment __stdoutp$segment() { return __stdoutp$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stdoutp
+ * }
+ */
+ public static MemorySegment __stdoutp()
+ {
+ return __stdoutp$constants.SEGMENT.get(__stdoutp$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stdoutp
+ * }
+ */
+ public static void __stdoutp(MemorySegment varValue)
+ {
+ __stdoutp$constants.SEGMENT.set(__stdoutp$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class __stderrp$constants {
+ public static final AddressLayout LAYOUT = hdf5_h.C_POINTER;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("__stderrp").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stderrp
+ * }
+ */
+ public static AddressLayout __stderrp$layout() { return __stderrp$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stderrp
+ * }
+ */
+ public static MemorySegment __stderrp$segment() { return __stderrp$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stderrp
+ * }
+ */
+ public static MemorySegment __stderrp()
+ {
+ return __stderrp$constants.SEGMENT.get(__stderrp$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern FILE *__stderrp
+ * }
+ */
+ public static void __stderrp(MemorySegment varValue)
+ {
+ __stderrp$constants.SEGMENT.set(__stderrp$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class clearerr {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("clearerr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void clearerr(FILE *)
+ * }
+ */
+ public static FunctionDescriptor clearerr$descriptor() { return clearerr.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void clearerr(FILE *)
+ * }
+ */
+ public static MethodHandle clearerr$handle() { return clearerr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void clearerr(FILE *)
+ * }
+ */
+ public static MemorySegment clearerr$address() { return clearerr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void clearerr(FILE *)
+ * }
+ */
+ public static void clearerr(MemorySegment x0)
+ {
+ var mh$ = clearerr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("clearerr", x0);
+ }
+ mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fclose(FILE *)
+ * }
+ */
+ public static FunctionDescriptor fclose$descriptor() { return fclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fclose(FILE *)
+ * }
+ */
+ public static MethodHandle fclose$handle() { return fclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fclose(FILE *)
+ * }
+ */
+ public static MemorySegment fclose$address() { return fclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fclose(FILE *)
+ * }
+ */
+ public static int fclose(MemorySegment x0)
+ {
+ var mh$ = fclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fclose", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class feof {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("feof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int feof(FILE *)
+ * }
+ */
+ public static FunctionDescriptor feof$descriptor() { return feof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int feof(FILE *)
+ * }
+ */
+ public static MethodHandle feof$handle() { return feof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int feof(FILE *)
+ * }
+ */
+ public static MemorySegment feof$address() { return feof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int feof(FILE *)
+ * }
+ */
+ public static int feof(MemorySegment x0)
+ {
+ var mh$ = feof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("feof", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ferror {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ferror");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int ferror(FILE *)
+ * }
+ */
+ public static FunctionDescriptor ferror$descriptor() { return ferror.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int ferror(FILE *)
+ * }
+ */
+ public static MethodHandle ferror$handle() { return ferror.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int ferror(FILE *)
+ * }
+ */
+ public static MemorySegment ferror$address() { return ferror.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int ferror(FILE *)
+ * }
+ */
+ public static int ferror(MemorySegment x0)
+ {
+ var mh$ = ferror.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ferror", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fflush(FILE *)
+ * }
+ */
+ public static FunctionDescriptor fflush$descriptor() { return fflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fflush(FILE *)
+ * }
+ */
+ public static MethodHandle fflush$handle() { return fflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fflush(FILE *)
+ * }
+ */
+ public static MemorySegment fflush$address() { return fflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fflush(FILE *)
+ * }
+ */
+ public static int fflush(MemorySegment x0)
+ {
+ var mh$ = fflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fflush", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fgetc(FILE *)
+ * }
+ */
+ public static FunctionDescriptor fgetc$descriptor() { return fgetc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fgetc(FILE *)
+ * }
+ */
+ public static MethodHandle fgetc$handle() { return fgetc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fgetc(FILE *)
+ * }
+ */
+ public static MemorySegment fgetc$address() { return fgetc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fgetc(FILE *)
+ * }
+ */
+ public static int fgetc(MemorySegment x0)
+ {
+ var mh$ = fgetc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetc", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetpos {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetpos");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fgetpos(FILE *restrict, fpos_t *)
+ * }
+ */
+ public static FunctionDescriptor fgetpos$descriptor() { return fgetpos.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fgetpos(FILE *restrict, fpos_t *)
+ * }
+ */
+ public static MethodHandle fgetpos$handle() { return fgetpos.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fgetpos(FILE *restrict, fpos_t *)
+ * }
+ */
+ public static MemorySegment fgetpos$address() { return fgetpos.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fgetpos(FILE *restrict, fpos_t *)
+ * }
+ */
+ public static int fgetpos(MemorySegment x0, MemorySegment x1)
+ {
+ var mh$ = fgetpos.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetpos", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgets {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgets");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *fgets(char *restrict, int __size, FILE *)
+ * }
+ */
+ public static FunctionDescriptor fgets$descriptor() { return fgets.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *fgets(char *restrict, int __size, FILE *)
+ * }
+ */
+ public static MethodHandle fgets$handle() { return fgets.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *fgets(char *restrict, int __size, FILE *)
+ * }
+ */
+ public static MemorySegment fgets$address() { return fgets.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *fgets(char *restrict, int __size, FILE *)
+ * }
+ */
+ public static MemorySegment fgets(MemorySegment x0, int __size, MemorySegment x2)
+ {
+ var mh$ = fgets.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgets", x0, __size, x2);
+ }
+ return (MemorySegment)mh$.invokeExact(x0, __size, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *fopen(const char *restrict __filename, const char *restrict __mode)
+ * }
+ */
+ public static FunctionDescriptor fopen$descriptor() { return fopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *fopen(const char *restrict __filename, const char *restrict __mode)
+ * }
+ */
+ public static MethodHandle fopen$handle() { return fopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *fopen(const char *restrict __filename, const char *restrict __mode)
+ * }
+ */
+ public static MemorySegment fopen$address() { return fopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *fopen(const char *restrict __filename, const char *restrict __mode)
+ * }
+ */
+ public static MemorySegment fopen(MemorySegment __filename, MemorySegment __mode)
+ {
+ var mh$ = fopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fopen", __filename, __mode);
+ }
+ return (MemorySegment)mh$.invokeExact(__filename, __mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * int fprintf(FILE *restrict, const char *restrict, ...)
+ * }
+ */
+ public static class fprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("fprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private fprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * int fprintf(FILE *restrict, const char *restrict, ...)
+ * }
+ */
+ public static fprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new fprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment x0, MemorySegment x1, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fprintf", x0, x1, x2);
+ }
+ return (int)spreader.invokeExact(x0, x1, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class fputc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fputc(int, FILE *)
+ * }
+ */
+ public static FunctionDescriptor fputc$descriptor() { return fputc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fputc(int, FILE *)
+ * }
+ */
+ public static MethodHandle fputc$handle() { return fputc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fputc(int, FILE *)
+ * }
+ */
+ public static MemorySegment fputc$address() { return fputc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fputc(int, FILE *)
+ * }
+ */
+ public static int fputc(int x0, MemorySegment x1)
+ {
+ var mh$ = fputc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputc", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fputs {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fputs(const char *restrict, FILE *restrict)
+ * }
+ */
+ public static FunctionDescriptor fputs$descriptor() { return fputs.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fputs(const char *restrict, FILE *restrict)
+ * }
+ */
+ public static MethodHandle fputs$handle() { return fputs.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fputs(const char *restrict, FILE *restrict)
+ * }
+ */
+ public static MemorySegment fputs$address() { return fputs.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fputs(const char *restrict, FILE *restrict)
+ * }
+ */
+ public static int fputs(MemorySegment x0, MemorySegment x1)
+ {
+ var mh$ = fputs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputs", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fread {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * unsigned long fread(void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict __stream)
+ * }
+ */
+ public static FunctionDescriptor fread$descriptor() { return fread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * unsigned long fread(void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict __stream)
+ * }
+ */
+ public static MethodHandle fread$handle() { return fread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * unsigned long fread(void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict __stream)
+ * }
+ */
+ public static MemorySegment fread$address() { return fread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * unsigned long fread(void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict __stream)
+ * }
+ */
+ public static long fread(MemorySegment __ptr, long __size, long __nitems, MemorySegment __stream)
+ {
+ var mh$ = fread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fread", __ptr, __size, __nitems, __stream);
+ }
+ return (long)mh$.invokeExact(__ptr, __size, __nitems, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class freopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("freopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *freopen(const char *restrict, const char *restrict, FILE *restrict)
+ * }
+ */
+ public static FunctionDescriptor freopen$descriptor() { return freopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *freopen(const char *restrict, const char *restrict, FILE *restrict)
+ * }
+ */
+ public static MethodHandle freopen$handle() { return freopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *freopen(const char *restrict, const char *restrict, FILE *restrict)
+ * }
+ */
+ public static MemorySegment freopen$address() { return freopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *freopen(const char *restrict, const char *restrict, FILE *restrict)
+ * }
+ */
+ public static MemorySegment freopen(MemorySegment x0, MemorySegment x1, MemorySegment x2)
+ {
+ var mh$ = freopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("freopen", x0, x1, x2);
+ }
+ return (MemorySegment)mh$.invokeExact(x0, x1, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * int fscanf(FILE *restrict, const char *restrict, ...)
+ * }
+ */
+ public static class fscanf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("fscanf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private fscanf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * int fscanf(FILE *restrict, const char *restrict, ...)
+ * }
+ */
+ public static fscanf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new fscanf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment x0, MemorySegment x1, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fscanf", x0, x1, x2);
+ }
+ return (int)spreader.invokeExact(x0, x1, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class fseek {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fseek");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fseek(FILE *, long, int)
+ * }
+ */
+ public static FunctionDescriptor fseek$descriptor() { return fseek.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fseek(FILE *, long, int)
+ * }
+ */
+ public static MethodHandle fseek$handle() { return fseek.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fseek(FILE *, long, int)
+ * }
+ */
+ public static MemorySegment fseek$address() { return fseek.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fseek(FILE *, long, int)
+ * }
+ */
+ public static int fseek(MemorySegment x0, long x1, int x2)
+ {
+ var mh$ = fseek.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fseek", x0, x1, x2);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fsetpos {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fsetpos");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fsetpos(FILE *, const fpos_t *)
+ * }
+ */
+ public static FunctionDescriptor fsetpos$descriptor() { return fsetpos.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fsetpos(FILE *, const fpos_t *)
+ * }
+ */
+ public static MethodHandle fsetpos$handle() { return fsetpos.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fsetpos(FILE *, const fpos_t *)
+ * }
+ */
+ public static MemorySegment fsetpos$address() { return fsetpos.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fsetpos(FILE *, const fpos_t *)
+ * }
+ */
+ public static int fsetpos(MemorySegment x0, MemorySegment x1)
+ {
+ var mh$ = fsetpos.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fsetpos", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ftell {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ftell");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * long ftell(FILE *)
+ * }
+ */
+ public static FunctionDescriptor ftell$descriptor() { return ftell.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * long ftell(FILE *)
+ * }
+ */
+ public static MethodHandle ftell$handle() { return ftell.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * long ftell(FILE *)
+ * }
+ */
+ public static MemorySegment ftell$address() { return ftell.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * long ftell(FILE *)
+ * }
+ */
+ public static long ftell(MemorySegment x0)
+ {
+ var mh$ = ftell.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ftell", x0);
+ }
+ return (long)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fwrite {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fwrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static FunctionDescriptor fwrite$descriptor() { return fwrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static MethodHandle fwrite$handle() { return fwrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static MemorySegment fwrite$address() { return fwrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * unsigned long fwrite(const void *restrict __ptr, size_t __size, size_t __nitems, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static long fwrite(MemorySegment __ptr, long __size, long __nitems, MemorySegment __stream)
+ {
+ var mh$ = fwrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fwrite", __ptr, __size, __nitems, __stream);
+ }
+ return (long)mh$.invokeExact(__ptr, __size, __nitems, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int getc(FILE *)
+ * }
+ */
+ public static FunctionDescriptor getc$descriptor() { return getc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int getc(FILE *)
+ * }
+ */
+ public static MethodHandle getc$handle() { return getc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int getc(FILE *)
+ * }
+ */
+ public static MemorySegment getc$address() { return getc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int getc(FILE *)
+ * }
+ */
+ public static int getc(MemorySegment x0)
+ {
+ var mh$ = getc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getc", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int getchar()
+ * }
+ */
+ public static FunctionDescriptor getchar$descriptor() { return getchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int getchar()
+ * }
+ */
+ public static MethodHandle getchar$handle() { return getchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int getchar()
+ * }
+ */
+ public static MemorySegment getchar$address() { return getchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int getchar()
+ * }
+ */
+ public static int getchar()
+ {
+ var mh$ = getchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getchar");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class gets {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("gets");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *gets(char *)
+ * }
+ */
+ public static FunctionDescriptor gets$descriptor() { return gets.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *gets(char *)
+ * }
+ */
+ public static MethodHandle gets$handle() { return gets.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *gets(char *)
+ * }
+ */
+ public static MemorySegment gets$address() { return gets.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *gets(char *)
+ * }
+ */
+ public static MemorySegment gets(MemorySegment x0)
+ {
+ var mh$ = gets.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("gets", x0);
+ }
+ return (MemorySegment)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class perror {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("perror");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void perror(const char *)
+ * }
+ */
+ public static FunctionDescriptor perror$descriptor() { return perror.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void perror(const char *)
+ * }
+ */
+ public static MethodHandle perror$handle() { return perror.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void perror(const char *)
+ * }
+ */
+ public static MemorySegment perror$address() { return perror.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void perror(const char *)
+ * }
+ */
+ public static void perror(MemorySegment x0)
+ {
+ var mh$ = perror.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("perror", x0);
+ }
+ mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int putc(int, FILE *)
+ * }
+ */
+ public static FunctionDescriptor putc$descriptor() { return putc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int putc(int, FILE *)
+ * }
+ */
+ public static MethodHandle putc$handle() { return putc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int putc(int, FILE *)
+ * }
+ */
+ public static MemorySegment putc$address() { return putc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int putc(int, FILE *)
+ * }
+ */
+ public static int putc(int x0, MemorySegment x1)
+ {
+ var mh$ = putc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putc", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int putchar(int)
+ * }
+ */
+ public static FunctionDescriptor putchar$descriptor() { return putchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int putchar(int)
+ * }
+ */
+ public static MethodHandle putchar$handle() { return putchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int putchar(int)
+ * }
+ */
+ public static MemorySegment putchar$address() { return putchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int putchar(int)
+ * }
+ */
+ public static int putchar(int x0)
+ {
+ var mh$ = putchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putchar", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class puts {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("puts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int puts(const char *)
+ * }
+ */
+ public static FunctionDescriptor puts$descriptor() { return puts.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int puts(const char *)
+ * }
+ */
+ public static MethodHandle puts$handle() { return puts.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int puts(const char *)
+ * }
+ */
+ public static MemorySegment puts$address() { return puts.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int puts(const char *)
+ * }
+ */
+ public static int puts(MemorySegment x0)
+ {
+ var mh$ = puts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("puts", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class remove {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("remove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int remove(const char *)
+ * }
+ */
+ public static FunctionDescriptor remove$descriptor() { return remove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int remove(const char *)
+ * }
+ */
+ public static MethodHandle remove$handle() { return remove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int remove(const char *)
+ * }
+ */
+ public static MemorySegment remove$address() { return remove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int remove(const char *)
+ * }
+ */
+ public static int remove(MemorySegment x0)
+ {
+ var mh$ = remove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("remove", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class rename {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("rename");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int rename(const char *__old, const char *__new)
+ * }
+ */
+ public static FunctionDescriptor rename$descriptor() { return rename.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int rename(const char *__old, const char *__new)
+ * }
+ */
+ public static MethodHandle rename$handle() { return rename.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int rename(const char *__old, const char *__new)
+ * }
+ */
+ public static MemorySegment rename$address() { return rename.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int rename(const char *__old, const char *__new)
+ * }
+ */
+ public static int rename(MemorySegment __old, MemorySegment __new)
+ {
+ var mh$ = rename.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("rename", __old, __new);
+ }
+ return (int)mh$.invokeExact(__old, __new);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class rewind {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("rewind");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void rewind(FILE *)
+ * }
+ */
+ public static FunctionDescriptor rewind$descriptor() { return rewind.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void rewind(FILE *)
+ * }
+ */
+ public static MethodHandle rewind$handle() { return rewind.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void rewind(FILE *)
+ * }
+ */
+ public static MemorySegment rewind$address() { return rewind.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void rewind(FILE *)
+ * }
+ */
+ public static void rewind(MemorySegment x0)
+ {
+ var mh$ = rewind.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("rewind", x0);
+ }
+ mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * int scanf(const char *restrict, ...)
+ * }
+ */
+ public static class scanf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("scanf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private scanf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * int scanf(const char *restrict, ...)
+ * }
+ */
+ public static scanf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new scanf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment x0, Object... x1)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("scanf", x0, x1);
+ }
+ return (int)spreader.invokeExact(x0, x1);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class setbuf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.ofVoid(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setbuf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void setbuf(FILE *restrict, char *restrict)
+ * }
+ */
+ public static FunctionDescriptor setbuf$descriptor() { return setbuf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void setbuf(FILE *restrict, char *restrict)
+ * }
+ */
+ public static MethodHandle setbuf$handle() { return setbuf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void setbuf(FILE *restrict, char *restrict)
+ * }
+ */
+ public static MemorySegment setbuf$address() { return setbuf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void setbuf(FILE *restrict, char *restrict)
+ * }
+ */
+ public static void setbuf(MemorySegment x0, MemorySegment x1)
+ {
+ var mh$ = setbuf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setbuf", x0, x1);
+ }
+ mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class setvbuf {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setvbuf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int setvbuf(FILE *restrict, char *restrict, int, size_t __size)
+ * }
+ */
+ public static FunctionDescriptor setvbuf$descriptor() { return setvbuf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int setvbuf(FILE *restrict, char *restrict, int, size_t __size)
+ * }
+ */
+ public static MethodHandle setvbuf$handle() { return setvbuf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int setvbuf(FILE *restrict, char *restrict, int, size_t __size)
+ * }
+ */
+ public static MemorySegment setvbuf$address() { return setvbuf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int setvbuf(FILE *restrict, char *restrict, int, size_t __size)
+ * }
+ */
+ public static int setvbuf(MemorySegment x0, MemorySegment x1, int x2, long __size)
+ {
+ var mh$ = setvbuf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setvbuf", x0, x1, x2, __size);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2, __size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * int sprintf(char *restrict, const char *restrict, ...)
+ * }
+ */
+ public static class sprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("sprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private sprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * int sprintf(char *restrict, const char *restrict, ...)
+ * }
+ */
+ public static sprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new sprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment x0, MemorySegment x1, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("sprintf", x0, x1, x2);
+ }
+ return (int)spreader.invokeExact(x0, x1, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * int sscanf(const char *restrict, const char *restrict, ...)
+ * }
+ */
+ public static class sscanf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("sscanf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private sscanf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * int sscanf(const char *restrict, const char *restrict, ...)
+ * }
+ */
+ public static sscanf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new sscanf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment x0, MemorySegment x1, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("sscanf", x0, x1, x2);
+ }
+ return (int)spreader.invokeExact(x0, x1, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class tmpfile {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tmpfile");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *tmpfile()
+ * }
+ */
+ public static FunctionDescriptor tmpfile$descriptor() { return tmpfile.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *tmpfile()
+ * }
+ */
+ public static MethodHandle tmpfile$handle() { return tmpfile.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *tmpfile()
+ * }
+ */
+ public static MemorySegment tmpfile$address() { return tmpfile.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *tmpfile()
+ * }
+ */
+ public static MemorySegment tmpfile()
+ {
+ var mh$ = tmpfile.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tmpfile");
+ }
+ return (MemorySegment)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tmpnam {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tmpnam");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *tmpnam(char *)
+ * }
+ */
+ public static FunctionDescriptor tmpnam$descriptor() { return tmpnam.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *tmpnam(char *)
+ * }
+ */
+ public static MethodHandle tmpnam$handle() { return tmpnam.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *tmpnam(char *)
+ * }
+ */
+ public static MemorySegment tmpnam$address() { return tmpnam.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *tmpnam(char *)
+ * }
+ */
+ public static MemorySegment tmpnam(MemorySegment x0)
+ {
+ var mh$ = tmpnam.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tmpnam", x0);
+ }
+ return (MemorySegment)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ungetc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ungetc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int ungetc(int, FILE *)
+ * }
+ */
+ public static FunctionDescriptor ungetc$descriptor() { return ungetc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int ungetc(int, FILE *)
+ * }
+ */
+ public static MethodHandle ungetc$handle() { return ungetc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int ungetc(int, FILE *)
+ * }
+ */
+ public static MemorySegment ungetc$address() { return ungetc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int ungetc(int, FILE *)
+ * }
+ */
+ public static int ungetc(int x0, MemorySegment x1)
+ {
+ var mh$ = ungetc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ungetc", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vfprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vfprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int vfprintf(FILE *restrict, const char *restrict, va_list)
+ * }
+ */
+ public static FunctionDescriptor vfprintf$descriptor() { return vfprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int vfprintf(FILE *restrict, const char *restrict, va_list)
+ * }
+ */
+ public static MethodHandle vfprintf$handle() { return vfprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int vfprintf(FILE *restrict, const char *restrict, va_list)
+ * }
+ */
+ public static MemorySegment vfprintf$address() { return vfprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int vfprintf(FILE *restrict, const char *restrict, va_list)
+ * }
+ */
+ public static int vfprintf(MemorySegment x0, MemorySegment x1, MemorySegment x2)
+ {
+ var mh$ = vfprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vfprintf", x0, x1, x2);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int vprintf(const char *restrict, va_list)
+ * }
+ */
+ public static FunctionDescriptor vprintf$descriptor() { return vprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int vprintf(const char *restrict, va_list)
+ * }
+ */
+ public static MethodHandle vprintf$handle() { return vprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int vprintf(const char *restrict, va_list)
+ * }
+ */
+ public static MemorySegment vprintf$address() { return vprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int vprintf(const char *restrict, va_list)
+ * }
+ */
+ public static int vprintf(MemorySegment x0, MemorySegment x1)
+ {
+ var mh$ = vprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vprintf", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vsprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vsprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int vsprintf(char *restrict, const char *restrict, va_list)
+ * }
+ */
+ public static FunctionDescriptor vsprintf$descriptor() { return vsprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int vsprintf(char *restrict, const char *restrict, va_list)
+ * }
+ */
+ public static MethodHandle vsprintf$handle() { return vsprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int vsprintf(char *restrict, const char *restrict, va_list)
+ * }
+ */
+ public static MemorySegment vsprintf$address() { return vsprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int vsprintf(char *restrict, const char *restrict, va_list)
+ * }
+ */
+ public static int vsprintf(MemorySegment x0, MemorySegment x1, MemorySegment x2)
+ {
+ var mh$ = vsprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vsprintf", x0, x1, x2);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ctermid {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ctermid");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *ctermid(char *)
+ * }
+ */
+ public static FunctionDescriptor ctermid$descriptor() { return ctermid.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *ctermid(char *)
+ * }
+ */
+ public static MethodHandle ctermid$handle() { return ctermid.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *ctermid(char *)
+ * }
+ */
+ public static MemorySegment ctermid$address() { return ctermid.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *ctermid(char *)
+ * }
+ */
+ public static MemorySegment ctermid(MemorySegment x0)
+ {
+ var mh$ = ctermid.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ctermid", x0);
+ }
+ return (MemorySegment)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fdopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fdopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *fdopen(int, const char *)
+ * }
+ */
+ public static FunctionDescriptor fdopen$descriptor() { return fdopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *fdopen(int, const char *)
+ * }
+ */
+ public static MethodHandle fdopen$handle() { return fdopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *fdopen(int, const char *)
+ * }
+ */
+ public static MemorySegment fdopen$address() { return fdopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *fdopen(int, const char *)
+ * }
+ */
+ public static MemorySegment fdopen(int x0, MemorySegment x1)
+ {
+ var mh$ = fdopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fdopen", x0, x1);
+ }
+ return (MemorySegment)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fileno {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fileno");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fileno(FILE *)
+ * }
+ */
+ public static FunctionDescriptor fileno$descriptor() { return fileno.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fileno(FILE *)
+ * }
+ */
+ public static MethodHandle fileno$handle() { return fileno.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fileno(FILE *)
+ * }
+ */
+ public static MemorySegment fileno$address() { return fileno.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fileno(FILE *)
+ * }
+ */
+ public static int fileno(MemorySegment x0)
+ {
+ var mh$ = fileno.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fileno", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class pclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("pclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int pclose(FILE *)
+ * }
+ */
+ public static FunctionDescriptor pclose$descriptor() { return pclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int pclose(FILE *)
+ * }
+ */
+ public static MethodHandle pclose$handle() { return pclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int pclose(FILE *)
+ * }
+ */
+ public static MemorySegment pclose$address() { return pclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int pclose(FILE *)
+ * }
+ */
+ public static int pclose(MemorySegment x0)
+ {
+ var mh$ = pclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("pclose", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class popen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("popen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *popen(const char *, const char *)
+ * }
+ */
+ public static FunctionDescriptor popen$descriptor() { return popen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *popen(const char *, const char *)
+ * }
+ */
+ public static MethodHandle popen$handle() { return popen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *popen(const char *, const char *)
+ * }
+ */
+ public static MemorySegment popen$address() { return popen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *popen(const char *, const char *)
+ * }
+ */
+ public static MemorySegment popen(MemorySegment x0, MemorySegment x1)
+ {
+ var mh$ = popen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("popen", x0, x1);
+ }
+ return (MemorySegment)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __srget {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__srget");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __srget(FILE *)
+ * }
+ */
+ public static FunctionDescriptor __srget$descriptor() { return __srget.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __srget(FILE *)
+ * }
+ */
+ public static MethodHandle __srget$handle() { return __srget.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __srget(FILE *)
+ * }
+ */
+ public static MemorySegment __srget$address() { return __srget.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __srget(FILE *)
+ * }
+ */
+ public static int __srget(MemorySegment x0)
+ {
+ var mh$ = __srget.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__srget", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __svfscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__svfscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __svfscanf(FILE *, const char *, va_list)
+ * }
+ */
+ public static FunctionDescriptor __svfscanf$descriptor() { return __svfscanf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __svfscanf(FILE *, const char *, va_list)
+ * }
+ */
+ public static MethodHandle __svfscanf$handle() { return __svfscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __svfscanf(FILE *, const char *, va_list)
+ * }
+ */
+ public static MemorySegment __svfscanf$address() { return __svfscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __svfscanf(FILE *, const char *, va_list)
+ * }
+ */
+ public static int __svfscanf(MemorySegment x0, MemorySegment x1, MemorySegment x2)
+ {
+ var mh$ = __svfscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__svfscanf", x0, x1, x2);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __swbuf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__swbuf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __swbuf(int, FILE *)
+ * }
+ */
+ public static FunctionDescriptor __swbuf$descriptor() { return __swbuf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __swbuf(int, FILE *)
+ * }
+ */
+ public static MethodHandle __swbuf$handle() { return __swbuf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __swbuf(int, FILE *)
+ * }
+ */
+ public static MemorySegment __swbuf$address() { return __swbuf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __swbuf(int, FILE *)
+ * }
+ */
+ public static int __swbuf(int x0, MemorySegment x1)
+ {
+ var mh$ = __swbuf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__swbuf", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class flockfile {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("flockfile");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void flockfile(FILE *)
+ * }
+ */
+ public static FunctionDescriptor flockfile$descriptor() { return flockfile.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void flockfile(FILE *)
+ * }
+ */
+ public static MethodHandle flockfile$handle() { return flockfile.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void flockfile(FILE *)
+ * }
+ */
+ public static MemorySegment flockfile$address() { return flockfile.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void flockfile(FILE *)
+ * }
+ */
+ public static void flockfile(MemorySegment x0)
+ {
+ var mh$ = flockfile.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("flockfile", x0);
+ }
+ mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ftrylockfile {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ftrylockfile");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int ftrylockfile(FILE *)
+ * }
+ */
+ public static FunctionDescriptor ftrylockfile$descriptor() { return ftrylockfile.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int ftrylockfile(FILE *)
+ * }
+ */
+ public static MethodHandle ftrylockfile$handle() { return ftrylockfile.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int ftrylockfile(FILE *)
+ * }
+ */
+ public static MemorySegment ftrylockfile$address() { return ftrylockfile.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int ftrylockfile(FILE *)
+ * }
+ */
+ public static int ftrylockfile(MemorySegment x0)
+ {
+ var mh$ = ftrylockfile.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ftrylockfile", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class funlockfile {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("funlockfile");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void funlockfile(FILE *)
+ * }
+ */
+ public static FunctionDescriptor funlockfile$descriptor() { return funlockfile.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void funlockfile(FILE *)
+ * }
+ */
+ public static MethodHandle funlockfile$handle() { return funlockfile.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void funlockfile(FILE *)
+ * }
+ */
+ public static MemorySegment funlockfile$address() { return funlockfile.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void funlockfile(FILE *)
+ * }
+ */
+ public static void funlockfile(MemorySegment x0)
+ {
+ var mh$ = funlockfile.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("funlockfile", x0);
+ }
+ mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getc_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getc_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int getc_unlocked(FILE *)
+ * }
+ */
+ public static FunctionDescriptor getc_unlocked$descriptor() { return getc_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int getc_unlocked(FILE *)
+ * }
+ */
+ public static MethodHandle getc_unlocked$handle() { return getc_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int getc_unlocked(FILE *)
+ * }
+ */
+ public static MemorySegment getc_unlocked$address() { return getc_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int getc_unlocked(FILE *)
+ * }
+ */
+ public static int getc_unlocked(MemorySegment x0)
+ {
+ var mh$ = getc_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getc_unlocked", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getchar_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getchar_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int getchar_unlocked()
+ * }
+ */
+ public static FunctionDescriptor getchar_unlocked$descriptor() { return getchar_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int getchar_unlocked()
+ * }
+ */
+ public static MethodHandle getchar_unlocked$handle() { return getchar_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int getchar_unlocked()
+ * }
+ */
+ public static MemorySegment getchar_unlocked$address() { return getchar_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int getchar_unlocked()
+ * }
+ */
+ public static int getchar_unlocked()
+ {
+ var mh$ = getchar_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getchar_unlocked");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putc_unlocked {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putc_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int putc_unlocked(int, FILE *)
+ * }
+ */
+ public static FunctionDescriptor putc_unlocked$descriptor() { return putc_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int putc_unlocked(int, FILE *)
+ * }
+ */
+ public static MethodHandle putc_unlocked$handle() { return putc_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int putc_unlocked(int, FILE *)
+ * }
+ */
+ public static MemorySegment putc_unlocked$address() { return putc_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int putc_unlocked(int, FILE *)
+ * }
+ */
+ public static int putc_unlocked(int x0, MemorySegment x1)
+ {
+ var mh$ = putc_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putc_unlocked", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putchar_unlocked {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putchar_unlocked");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int putchar_unlocked(int)
+ * }
+ */
+ public static FunctionDescriptor putchar_unlocked$descriptor() { return putchar_unlocked.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int putchar_unlocked(int)
+ * }
+ */
+ public static MethodHandle putchar_unlocked$handle() { return putchar_unlocked.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int putchar_unlocked(int)
+ * }
+ */
+ public static MemorySegment putchar_unlocked$address() { return putchar_unlocked.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int putchar_unlocked(int)
+ * }
+ */
+ public static int putchar_unlocked(int x0)
+ {
+ var mh$ = putchar_unlocked.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putchar_unlocked", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getw {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getw");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int getw(FILE *)
+ * }
+ */
+ public static FunctionDescriptor getw$descriptor() { return getw.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int getw(FILE *)
+ * }
+ */
+ public static MethodHandle getw$handle() { return getw.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int getw(FILE *)
+ * }
+ */
+ public static MemorySegment getw$address() { return getw.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int getw(FILE *)
+ * }
+ */
+ public static int getw(MemorySegment x0)
+ {
+ var mh$ = getw.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getw", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putw {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putw");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int putw(int, FILE *)
+ * }
+ */
+ public static FunctionDescriptor putw$descriptor() { return putw.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int putw(int, FILE *)
+ * }
+ */
+ public static MethodHandle putw$handle() { return putw.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int putw(int, FILE *)
+ * }
+ */
+ public static MemorySegment putw$address() { return putw.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int putw(int, FILE *)
+ * }
+ */
+ public static int putw(int x0, MemorySegment x1)
+ {
+ var mh$ = putw.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putw", x0, x1);
+ }
+ return (int)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tempnam {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tempnam");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *tempnam(const char *__dir, const char *__prefix)
+ * }
+ */
+ public static FunctionDescriptor tempnam$descriptor() { return tempnam.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *tempnam(const char *__dir, const char *__prefix)
+ * }
+ */
+ public static MethodHandle tempnam$handle() { return tempnam.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *tempnam(const char *__dir, const char *__prefix)
+ * }
+ */
+ public static MemorySegment tempnam$address() { return tempnam.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *tempnam(const char *__dir, const char *__prefix)
+ * }
+ */
+ public static MemorySegment tempnam(MemorySegment __dir, MemorySegment __prefix)
+ {
+ var mh$ = tempnam.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tempnam", __dir, __prefix);
+ }
+ return (MemorySegment)mh$.invokeExact(__dir, __prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fseeko {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fseeko");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fseeko(FILE *__stream, off_t __offset, int __whence)
+ * }
+ */
+ public static FunctionDescriptor fseeko$descriptor() { return fseeko.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fseeko(FILE *__stream, off_t __offset, int __whence)
+ * }
+ */
+ public static MethodHandle fseeko$handle() { return fseeko.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fseeko(FILE *__stream, off_t __offset, int __whence)
+ * }
+ */
+ public static MemorySegment fseeko$address() { return fseeko.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fseeko(FILE *__stream, off_t __offset, int __whence)
+ * }
+ */
+ public static int fseeko(MemorySegment __stream, long __offset, int __whence)
+ {
+ var mh$ = fseeko.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fseeko", __stream, __offset, __whence);
+ }
+ return (int)mh$.invokeExact(__stream, __offset, __whence);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ftello {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ftello");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * off_t ftello(FILE *__stream)
+ * }
+ */
+ public static FunctionDescriptor ftello$descriptor() { return ftello.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * off_t ftello(FILE *__stream)
+ * }
+ */
+ public static MethodHandle ftello$handle() { return ftello.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * off_t ftello(FILE *__stream)
+ * }
+ */
+ public static MemorySegment ftello$address() { return ftello.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * off_t ftello(FILE *__stream)
+ * }
+ */
+ public static long ftello(MemorySegment __stream)
+ {
+ var mh$ = ftello.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ftello", __stream);
+ }
+ return (long)mh$.invokeExact(__stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * int snprintf(char *restrict __str, size_t __size, const char *restrict __format, ...)
+ * }
+ */
+ public static class snprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("snprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private snprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * int snprintf(char *restrict __str, size_t __size, const char *restrict __format, ...)
+ * }
+ */
+ public static snprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new snprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment __str, long __size, MemorySegment __format, Object... x3)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("snprintf", __str, __size, __format, x3);
+ }
+ return (int)spreader.invokeExact(__str, __size, __format, x3);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class vfscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vfscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int vfscanf(FILE *restrict __stream, const char *restrict __format, va_list)
+ * }
+ */
+ public static FunctionDescriptor vfscanf$descriptor() { return vfscanf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int vfscanf(FILE *restrict __stream, const char *restrict __format, va_list)
+ * }
+ */
+ public static MethodHandle vfscanf$handle() { return vfscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int vfscanf(FILE *restrict __stream, const char *restrict __format, va_list)
+ * }
+ */
+ public static MemorySegment vfscanf$address() { return vfscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int vfscanf(FILE *restrict __stream, const char *restrict __format, va_list)
+ * }
+ */
+ public static int vfscanf(MemorySegment __stream, MemorySegment __format, MemorySegment x2)
+ {
+ var mh$ = vfscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vfscanf", __stream, __format, x2);
+ }
+ return (int)mh$.invokeExact(__stream, __format, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int vscanf(const char *restrict __format, va_list)
+ * }
+ */
+ public static FunctionDescriptor vscanf$descriptor() { return vscanf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int vscanf(const char *restrict __format, va_list)
+ * }
+ */
+ public static MethodHandle vscanf$handle() { return vscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int vscanf(const char *restrict __format, va_list)
+ * }
+ */
+ public static MemorySegment vscanf$address() { return vscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int vscanf(const char *restrict __format, va_list)
+ * }
+ */
+ public static int vscanf(MemorySegment __format, MemorySegment x1)
+ {
+ var mh$ = vscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vscanf", __format, x1);
+ }
+ return (int)mh$.invokeExact(__format, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vsnprintf {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vsnprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int vsnprintf(char *restrict __str, size_t __size, const char *restrict __format, va_list)
+ * }
+ */
+ public static FunctionDescriptor vsnprintf$descriptor() { return vsnprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int vsnprintf(char *restrict __str, size_t __size, const char *restrict __format, va_list)
+ * }
+ */
+ public static MethodHandle vsnprintf$handle() { return vsnprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int vsnprintf(char *restrict __str, size_t __size, const char *restrict __format, va_list)
+ * }
+ */
+ public static MemorySegment vsnprintf$address() { return vsnprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int vsnprintf(char *restrict __str, size_t __size, const char *restrict __format, va_list)
+ * }
+ */
+ public static int vsnprintf(MemorySegment __str, long __size, MemorySegment __format, MemorySegment x3)
+ {
+ var mh$ = vsnprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vsnprintf", __str, __size, __format, x3);
+ }
+ return (int)mh$.invokeExact(__str, __size, __format, x3);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vsscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vsscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int vsscanf(const char *restrict __str, const char *restrict __format, va_list)
+ * }
+ */
+ public static FunctionDescriptor vsscanf$descriptor() { return vsscanf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int vsscanf(const char *restrict __str, const char *restrict __format, va_list)
+ * }
+ */
+ public static MethodHandle vsscanf$handle() { return vsscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int vsscanf(const char *restrict __str, const char *restrict __format, va_list)
+ * }
+ */
+ public static MemorySegment vsscanf$address() { return vsscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int vsscanf(const char *restrict __str, const char *restrict __format, va_list)
+ * }
+ */
+ public static int vsscanf(MemorySegment __str, MemorySegment __format, MemorySegment x2)
+ {
+ var mh$ = vsscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vsscanf", __str, __format, x2);
+ }
+ return (int)mh$.invokeExact(__str, __format, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * int dprintf(int, const char *restrict, ...)
+ * }
+ */
+ public static class dprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("dprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private dprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * int dprintf(int, const char *restrict, ...)
+ * }
+ */
+ public static dprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new dprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(int x0, MemorySegment x1, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("dprintf", x0, x1, x2);
+ }
+ return (int)spreader.invokeExact(x0, x1, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class vdprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vdprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int vdprintf(int, const char *restrict, va_list)
+ * }
+ */
+ public static FunctionDescriptor vdprintf$descriptor() { return vdprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int vdprintf(int, const char *restrict, va_list)
+ * }
+ */
+ public static MethodHandle vdprintf$handle() { return vdprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int vdprintf(int, const char *restrict, va_list)
+ * }
+ */
+ public static MemorySegment vdprintf$address() { return vdprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int vdprintf(int, const char *restrict, va_list)
+ * }
+ */
+ public static int vdprintf(int x0, MemorySegment x1, MemorySegment x2)
+ {
+ var mh$ = vdprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vdprintf", x0, x1, x2);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getdelim {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getdelim");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t getdelim(char **restrict __linep, size_t *restrict __linecapp, int __delimiter, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static FunctionDescriptor getdelim$descriptor() { return getdelim.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t getdelim(char **restrict __linep, size_t *restrict __linecapp, int __delimiter, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static MethodHandle getdelim$handle() { return getdelim.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t getdelim(char **restrict __linep, size_t *restrict __linecapp, int __delimiter, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static MemorySegment getdelim$address() { return getdelim.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t getdelim(char **restrict __linep, size_t *restrict __linecapp, int __delimiter, FILE *restrict
+ * __stream)
+ * }
+ */
+ public static long getdelim(MemorySegment __linep, MemorySegment __linecapp, int __delimiter,
+ MemorySegment __stream)
+ {
+ var mh$ = getdelim.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getdelim", __linep, __linecapp, __delimiter, __stream);
+ }
+ return (long)mh$.invokeExact(__linep, __linecapp, __delimiter, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getline {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getline");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t getline(char **restrict __linep, size_t *restrict __linecapp, FILE *restrict __stream)
+ * }
+ */
+ public static FunctionDescriptor getline$descriptor() { return getline.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t getline(char **restrict __linep, size_t *restrict __linecapp, FILE *restrict __stream)
+ * }
+ */
+ public static MethodHandle getline$handle() { return getline.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t getline(char **restrict __linep, size_t *restrict __linecapp, FILE *restrict __stream)
+ * }
+ */
+ public static MemorySegment getline$address() { return getline.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t getline(char **restrict __linep, size_t *restrict __linecapp, FILE *restrict __stream)
+ * }
+ */
+ public static long getline(MemorySegment __linep, MemorySegment __linecapp, MemorySegment __stream)
+ {
+ var mh$ = getline.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getline", __linep, __linecapp, __stream);
+ }
+ return (long)mh$.invokeExact(__linep, __linecapp, __stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fmemopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fmemopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *fmemopen(void *restrict __buf, size_t __size, const char *restrict __mode)
+ * }
+ */
+ public static FunctionDescriptor fmemopen$descriptor() { return fmemopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *fmemopen(void *restrict __buf, size_t __size, const char *restrict __mode)
+ * }
+ */
+ public static MethodHandle fmemopen$handle() { return fmemopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *fmemopen(void *restrict __buf, size_t __size, const char *restrict __mode)
+ * }
+ */
+ public static MemorySegment fmemopen$address() { return fmemopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *fmemopen(void *restrict __buf, size_t __size, const char *restrict __mode)
+ * }
+ */
+ public static MemorySegment fmemopen(MemorySegment __buf, long __size, MemorySegment __mode)
+ {
+ var mh$ = fmemopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fmemopen", __buf, __size, __mode);
+ }
+ return (MemorySegment)mh$.invokeExact(__buf, __size, __mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class open_memstream {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("open_memstream");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *open_memstream(char **__bufp, size_t *__sizep)
+ * }
+ */
+ public static FunctionDescriptor open_memstream$descriptor() { return open_memstream.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *open_memstream(char **__bufp, size_t *__sizep)
+ * }
+ */
+ public static MethodHandle open_memstream$handle() { return open_memstream.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *open_memstream(char **__bufp, size_t *__sizep)
+ * }
+ */
+ public static MemorySegment open_memstream$address() { return open_memstream.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *open_memstream(char **__bufp, size_t *__sizep)
+ * }
+ */
+ public static MemorySegment open_memstream(MemorySegment __bufp, MemorySegment __sizep)
+ {
+ var mh$ = open_memstream.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("open_memstream", __bufp, __sizep);
+ }
+ return (MemorySegment)mh$.invokeExact(__bufp, __sizep);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class sys_nerr$constants {
+ public static final OfInt LAYOUT = hdf5_h.C_INT;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("sys_nerr").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern const int sys_nerr
+ * }
+ */
+ public static OfInt sys_nerr$layout() { return sys_nerr$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern const int sys_nerr
+ * }
+ */
+ public static MemorySegment sys_nerr$segment() { return sys_nerr$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern const int sys_nerr
+ * }
+ */
+ public static int sys_nerr() { return sys_nerr$constants.SEGMENT.get(sys_nerr$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern const int sys_nerr
+ * }
+ */
+ public static void sys_nerr(int varValue)
+ {
+ sys_nerr$constants.SEGMENT.set(sys_nerr$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class sys_errlist$constants {
+ public static final SequenceLayout LAYOUT = MemoryLayout.sequenceLayout(0, hdf5_h.C_POINTER);
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("sys_errlist").reinterpret(LAYOUT.byteSize());
+ public static final VarHandle HANDLE = LAYOUT.varHandle();
+
+ public static final long[] DIMS = {};
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern const char *const sys_errlist[]
+ * }
+ */
+ public static SequenceLayout sys_errlist$layout() { return sys_errlist$constants.LAYOUT; }
+
+ /**
+ * Dimensions for array variable:
+ * {@snippet lang=c :
+ * extern const char *const sys_errlist[]
+ * }
+ */
+ public static long[] sys_errlist$dimensions() { return sys_errlist$constants.DIMS; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern const char *const sys_errlist[]
+ * }
+ */
+ public static MemorySegment sys_errlist() { return sys_errlist$constants.SEGMENT; }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern const char *const sys_errlist[]
+ * }
+ */
+ public static void sys_errlist(MemorySegment varValue)
+ {
+ MemorySegment.copy(varValue, 0L, sys_errlist$constants.SEGMENT, 0L,
+ sys_errlist$constants.LAYOUT.byteSize());
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * int asprintf(char **restrict, const char *restrict, ...)
+ * }
+ */
+ public static class asprintf {
+ private static final FunctionDescriptor BASE_DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("asprintf");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private asprintf(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * int asprintf(char **restrict, const char *restrict, ...)
+ * }
+ */
+ public static asprintf makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new asprintf(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment x0, MemorySegment x1, Object... x2)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("asprintf", x0, x1, x2);
+ }
+ return (int)spreader.invokeExact(x0, x1, x2);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class ctermid_r {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ctermid_r");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *ctermid_r(char *)
+ * }
+ */
+ public static FunctionDescriptor ctermid_r$descriptor() { return ctermid_r.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *ctermid_r(char *)
+ * }
+ */
+ public static MethodHandle ctermid_r$handle() { return ctermid_r.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *ctermid_r(char *)
+ * }
+ */
+ public static MemorySegment ctermid_r$address() { return ctermid_r.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *ctermid_r(char *)
+ * }
+ */
+ public static MemorySegment ctermid_r(MemorySegment x0)
+ {
+ var mh$ = ctermid_r.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ctermid_r", x0);
+ }
+ return (MemorySegment)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetln {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetln");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *fgetln(FILE *, size_t *__len)
+ * }
+ */
+ public static FunctionDescriptor fgetln$descriptor() { return fgetln.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *fgetln(FILE *, size_t *__len)
+ * }
+ */
+ public static MethodHandle fgetln$handle() { return fgetln.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *fgetln(FILE *, size_t *__len)
+ * }
+ */
+ public static MemorySegment fgetln$address() { return fgetln.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *fgetln(FILE *, size_t *__len)
+ * }
+ */
+ public static MemorySegment fgetln(MemorySegment x0, MemorySegment __len)
+ {
+ var mh$ = fgetln.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetln", x0, __len);
+ }
+ return (MemorySegment)mh$.invokeExact(x0, __len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fmtcheck {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fmtcheck");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * const char *fmtcheck(const char *, const char *)
+ * }
+ */
+ public static FunctionDescriptor fmtcheck$descriptor() { return fmtcheck.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * const char *fmtcheck(const char *, const char *)
+ * }
+ */
+ public static MethodHandle fmtcheck$handle() { return fmtcheck.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * const char *fmtcheck(const char *, const char *)
+ * }
+ */
+ public static MemorySegment fmtcheck$address() { return fmtcheck.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * const char *fmtcheck(const char *, const char *)
+ * }
+ */
+ public static MemorySegment fmtcheck(MemorySegment x0, MemorySegment x1)
+ {
+ var mh$ = fmtcheck.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fmtcheck", x0, x1);
+ }
+ return (MemorySegment)mh$.invokeExact(x0, x1);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fpurge {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fpurge");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fpurge(FILE *)
+ * }
+ */
+ public static FunctionDescriptor fpurge$descriptor() { return fpurge.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fpurge(FILE *)
+ * }
+ */
+ public static MethodHandle fpurge$handle() { return fpurge.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fpurge(FILE *)
+ * }
+ */
+ public static MemorySegment fpurge$address() { return fpurge.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fpurge(FILE *)
+ * }
+ */
+ public static int fpurge(MemorySegment x0)
+ {
+ var mh$ = fpurge.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fpurge", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class setbuffer {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.ofVoid(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setbuffer");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void setbuffer(FILE *, char *, int __size)
+ * }
+ */
+ public static FunctionDescriptor setbuffer$descriptor() { return setbuffer.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void setbuffer(FILE *, char *, int __size)
+ * }
+ */
+ public static MethodHandle setbuffer$handle() { return setbuffer.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void setbuffer(FILE *, char *, int __size)
+ * }
+ */
+ public static MemorySegment setbuffer$address() { return setbuffer.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void setbuffer(FILE *, char *, int __size)
+ * }
+ */
+ public static void setbuffer(MemorySegment x0, MemorySegment x1, int __size)
+ {
+ var mh$ = setbuffer.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setbuffer", x0, x1, __size);
+ }
+ mh$.invokeExact(x0, x1, __size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class setlinebuf {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setlinebuf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int setlinebuf(FILE *)
+ * }
+ */
+ public static FunctionDescriptor setlinebuf$descriptor() { return setlinebuf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int setlinebuf(FILE *)
+ * }
+ */
+ public static MethodHandle setlinebuf$handle() { return setlinebuf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int setlinebuf(FILE *)
+ * }
+ */
+ public static MemorySegment setlinebuf$address() { return setlinebuf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int setlinebuf(FILE *)
+ * }
+ */
+ public static int setlinebuf(MemorySegment x0)
+ {
+ var mh$ = setlinebuf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setlinebuf", x0);
+ }
+ return (int)mh$.invokeExact(x0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class vasprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("vasprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int vasprintf(char **restrict, const char *restrict, va_list)
+ * }
+ */
+ public static FunctionDescriptor vasprintf$descriptor() { return vasprintf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int vasprintf(char **restrict, const char *restrict, va_list)
+ * }
+ */
+ public static MethodHandle vasprintf$handle() { return vasprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int vasprintf(char **restrict, const char *restrict, va_list)
+ * }
+ */
+ public static MemorySegment vasprintf$address() { return vasprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int vasprintf(char **restrict, const char *restrict, va_list)
+ * }
+ */
+ public static int vasprintf(MemorySegment x0, MemorySegment x1, MemorySegment x2)
+ {
+ var mh$ = vasprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("vasprintf", x0, x1, x2);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class funopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("funopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *funopen(const void *, int (* _Nullable)(void *, char *, int), int (* _Nullable)(void *, const
+ * char *, int), fpos_t (* _Nullable)(void *, fpos_t, int), int (* _Nullable)(void *))
+ * }
+ */
+ public static FunctionDescriptor funopen$descriptor() { return funopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *funopen(const void *, int (* _Nullable)(void *, char *, int), int (* _Nullable)(void *, const
+ * char *, int), fpos_t (* _Nullable)(void *, fpos_t, int), int (* _Nullable)(void *))
+ * }
+ */
+ public static MethodHandle funopen$handle() { return funopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *funopen(const void *, int (* _Nullable)(void *, char *, int), int (* _Nullable)(void *, const
+ * char *, int), fpos_t (* _Nullable)(void *, fpos_t, int), int (* _Nullable)(void *))
+ * }
+ */
+ public static MemorySegment funopen$address() { return funopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *funopen(const void *, int (* _Nullable)(void *, char *, int), int (* _Nullable)(void *, const
+ * char *, int), fpos_t (* _Nullable)(void *, fpos_t, int), int (* _Nullable)(void *))
+ * }
+ */
+ public static MemorySegment funopen(MemorySegment x0, MemorySegment x1, MemorySegment x2,
+ MemorySegment x3, MemorySegment x4)
+ {
+ var mh$ = funopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("funopen", x0, x1, x2, x3, x4);
+ }
+ return (MemorySegment)mh$.invokeExact(x0, x1, x2, x3, x4);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int __sprintf_chk(char *restrict, int, size_t, const char *restrict, ...)
+ * }
+ */
+ public static class __sprintf_chk {
+ private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("__sprintf_chk");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private __sprintf_chk(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int __sprintf_chk(char *restrict, int, size_t, const char *restrict, ...)
+ * }
+ */
+ public static __sprintf_chk makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new __sprintf_chk(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment x0, int x1, long x2, MemorySegment x3, Object... x4)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__sprintf_chk", x0, x1, x2, x3, x4);
+ }
+ return (int)spreader.invokeExact(x0, x1, x2, x3, x4);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * extern int __snprintf_chk(char *restrict, size_t __maxlen, int, size_t, const char *restrict, ...)
+ * }
+ */
+ public static class __snprintf_chk {
+ private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("__snprintf_chk");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private __snprintf_chk(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * extern int __snprintf_chk(char *restrict, size_t __maxlen, int, size_t, const char *restrict, ...)
+ * }
+ */
+ public static __snprintf_chk makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new __snprintf_chk(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(MemorySegment x0, long __maxlen, int x2, long x3, MemorySegment x4, Object... x5)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__snprintf_chk", x0, __maxlen, x2, x3, x4, x5);
+ }
+ return (int)spreader.invokeExact(x0, __maxlen, x2, x3, x4, x5);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class __vsprintf_chk {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__vsprintf_chk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int __vsprintf_chk(char *restrict, int, size_t, const char *restrict, va_list)
+ * }
+ */
+ public static FunctionDescriptor __vsprintf_chk$descriptor() { return __vsprintf_chk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int __vsprintf_chk(char *restrict, int, size_t, const char *restrict, va_list)
+ * }
+ */
+ public static MethodHandle __vsprintf_chk$handle() { return __vsprintf_chk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int __vsprintf_chk(char *restrict, int, size_t, const char *restrict, va_list)
+ * }
+ */
+ public static MemorySegment __vsprintf_chk$address() { return __vsprintf_chk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int __vsprintf_chk(char *restrict, int, size_t, const char *restrict, va_list)
+ * }
+ */
+ public static int __vsprintf_chk(MemorySegment x0, int x1, long x2, MemorySegment x3, MemorySegment x4)
+ {
+ var mh$ = __vsprintf_chk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__vsprintf_chk", x0, x1, x2, x3, x4);
+ }
+ return (int)mh$.invokeExact(x0, x1, x2, x3, x4);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __vsnprintf_chk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT, hdf5_h.C_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__vsnprintf_chk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern int __vsnprintf_chk(char *restrict, size_t __maxlen, int, size_t, const char *restrict, va_list)
+ * }
+ */
+ public static FunctionDescriptor __vsnprintf_chk$descriptor() { return __vsnprintf_chk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern int __vsnprintf_chk(char *restrict, size_t __maxlen, int, size_t, const char *restrict, va_list)
+ * }
+ */
+ public static MethodHandle __vsnprintf_chk$handle() { return __vsnprintf_chk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern int __vsnprintf_chk(char *restrict, size_t __maxlen, int, size_t, const char *restrict, va_list)
+ * }
+ */
+ public static MemorySegment __vsnprintf_chk$address() { return __vsnprintf_chk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * extern int __vsnprintf_chk(char *restrict, size_t __maxlen, int, size_t, const char *restrict, va_list)
+ * }
+ */
+ public static int __vsnprintf_chk(MemorySegment x0, long __maxlen, int x2, long x3, MemorySegment x4,
+ MemorySegment x5)
+ {
+ var mh$ = __vsnprintf_chk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__vsnprintf_chk", x0, __maxlen, x2, x3, x4, x5);
+ }
+ return (int)mh$.invokeExact(x0, __maxlen, x2, x3, x4, x5);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5E_MAJOR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_type_t.H5E_MAJOR = 0
+ * }
+ */
+ public static int H5E_MAJOR() { return H5E_MAJOR; }
+ private static final int H5E_MINOR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_type_t.H5E_MINOR = 1
+ * }
+ */
+ public static int H5E_MINOR() { return H5E_MINOR; }
+
+ private static class H5E_ERR_CLS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ERR_CLS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static OfLong H5E_ERR_CLS_g$layout() { return H5E_ERR_CLS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static MemorySegment H5E_ERR_CLS_g$segment() { return H5E_ERR_CLS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static long H5E_ERR_CLS_g()
+ {
+ return H5E_ERR_CLS_g$constants.SEGMENT.get(H5E_ERR_CLS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static void H5E_ERR_CLS_g(long varValue)
+ {
+ H5E_ERR_CLS_g$constants.SEGMENT.set(H5E_ERR_CLS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ARGS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ARGS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static OfLong H5E_ARGS_g$layout() { return H5E_ARGS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static MemorySegment H5E_ARGS_g$segment() { return H5E_ARGS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static long H5E_ARGS_g()
+ {
+ return H5E_ARGS_g$constants.SEGMENT.get(H5E_ARGS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static void H5E_ARGS_g(long varValue)
+ {
+ H5E_ARGS_g$constants.SEGMENT.set(H5E_ARGS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ATTR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ATTR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static OfLong H5E_ATTR_g$layout() { return H5E_ATTR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static MemorySegment H5E_ATTR_g$segment() { return H5E_ATTR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static long H5E_ATTR_g()
+ {
+ return H5E_ATTR_g$constants.SEGMENT.get(H5E_ATTR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static void H5E_ATTR_g(long varValue)
+ {
+ H5E_ATTR_g$constants.SEGMENT.set(H5E_ATTR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BTREE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BTREE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static OfLong H5E_BTREE_g$layout() { return H5E_BTREE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static MemorySegment H5E_BTREE_g$segment() { return H5E_BTREE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static long H5E_BTREE_g()
+ {
+ return H5E_BTREE_g$constants.SEGMENT.get(H5E_BTREE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static void H5E_BTREE_g(long varValue)
+ {
+ H5E_BTREE_g$constants.SEGMENT.set(H5E_BTREE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CACHE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CACHE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static OfLong H5E_CACHE_g$layout() { return H5E_CACHE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static MemorySegment H5E_CACHE_g$segment() { return H5E_CACHE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static long H5E_CACHE_g()
+ {
+ return H5E_CACHE_g$constants.SEGMENT.get(H5E_CACHE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static void H5E_CACHE_g(long varValue)
+ {
+ H5E_CACHE_g$constants.SEGMENT.set(H5E_CACHE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CONTEXT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CONTEXT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static OfLong H5E_CONTEXT_g$layout() { return H5E_CONTEXT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static MemorySegment H5E_CONTEXT_g$segment() { return H5E_CONTEXT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static long H5E_CONTEXT_g()
+ {
+ return H5E_CONTEXT_g$constants.SEGMENT.get(H5E_CONTEXT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static void H5E_CONTEXT_g(long varValue)
+ {
+ H5E_CONTEXT_g$constants.SEGMENT.set(H5E_CONTEXT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DATASET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DATASET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static OfLong H5E_DATASET_g$layout() { return H5E_DATASET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static MemorySegment H5E_DATASET_g$segment() { return H5E_DATASET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static long H5E_DATASET_g()
+ {
+ return H5E_DATASET_g$constants.SEGMENT.get(H5E_DATASET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static void H5E_DATASET_g(long varValue)
+ {
+ H5E_DATASET_g$constants.SEGMENT.set(H5E_DATASET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DATASPACE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DATASPACE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static OfLong H5E_DATASPACE_g$layout() { return H5E_DATASPACE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static MemorySegment H5E_DATASPACE_g$segment() { return H5E_DATASPACE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static long H5E_DATASPACE_g()
+ {
+ return H5E_DATASPACE_g$constants.SEGMENT.get(H5E_DATASPACE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static void H5E_DATASPACE_g(long varValue)
+ {
+ H5E_DATASPACE_g$constants.SEGMENT.set(H5E_DATASPACE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DATATYPE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DATATYPE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static OfLong H5E_DATATYPE_g$layout() { return H5E_DATATYPE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static MemorySegment H5E_DATATYPE_g$segment() { return H5E_DATATYPE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static long H5E_DATATYPE_g()
+ {
+ return H5E_DATATYPE_g$constants.SEGMENT.get(H5E_DATATYPE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static void H5E_DATATYPE_g(long varValue)
+ {
+ H5E_DATATYPE_g$constants.SEGMENT.set(H5E_DATATYPE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EARRAY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EARRAY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static OfLong H5E_EARRAY_g$layout() { return H5E_EARRAY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static MemorySegment H5E_EARRAY_g$segment() { return H5E_EARRAY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static long H5E_EARRAY_g()
+ {
+ return H5E_EARRAY_g$constants.SEGMENT.get(H5E_EARRAY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static void H5E_EARRAY_g(long varValue)
+ {
+ H5E_EARRAY_g$constants.SEGMENT.set(H5E_EARRAY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EFL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EFL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static OfLong H5E_EFL_g$layout() { return H5E_EFL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static MemorySegment H5E_EFL_g$segment() { return H5E_EFL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static long H5E_EFL_g() { return H5E_EFL_g$constants.SEGMENT.get(H5E_EFL_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static void H5E_EFL_g(long varValue)
+ {
+ H5E_EFL_g$constants.SEGMENT.set(H5E_EFL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static OfLong H5E_ERROR_g$layout() { return H5E_ERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static MemorySegment H5E_ERROR_g$segment() { return H5E_ERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static long H5E_ERROR_g()
+ {
+ return H5E_ERROR_g$constants.SEGMENT.get(H5E_ERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static void H5E_ERROR_g(long varValue)
+ {
+ H5E_ERROR_g$constants.SEGMENT.set(H5E_ERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EVENTSET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EVENTSET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static OfLong H5E_EVENTSET_g$layout() { return H5E_EVENTSET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static MemorySegment H5E_EVENTSET_g$segment() { return H5E_EVENTSET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static long H5E_EVENTSET_g()
+ {
+ return H5E_EVENTSET_g$constants.SEGMENT.get(H5E_EVENTSET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static void H5E_EVENTSET_g(long varValue)
+ {
+ H5E_EVENTSET_g$constants.SEGMENT.set(H5E_EVENTSET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FARRAY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FARRAY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static OfLong H5E_FARRAY_g$layout() { return H5E_FARRAY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static MemorySegment H5E_FARRAY_g$segment() { return H5E_FARRAY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static long H5E_FARRAY_g()
+ {
+ return H5E_FARRAY_g$constants.SEGMENT.get(H5E_FARRAY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static void H5E_FARRAY_g(long varValue)
+ {
+ H5E_FARRAY_g$constants.SEGMENT.set(H5E_FARRAY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static OfLong H5E_FILE_g$layout() { return H5E_FILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static MemorySegment H5E_FILE_g$segment() { return H5E_FILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static long H5E_FILE_g()
+ {
+ return H5E_FILE_g$constants.SEGMENT.get(H5E_FILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static void H5E_FILE_g(long varValue)
+ {
+ H5E_FILE_g$constants.SEGMENT.set(H5E_FILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FSPACE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FSPACE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static OfLong H5E_FSPACE_g$layout() { return H5E_FSPACE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static MemorySegment H5E_FSPACE_g$segment() { return H5E_FSPACE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static long H5E_FSPACE_g()
+ {
+ return H5E_FSPACE_g$constants.SEGMENT.get(H5E_FSPACE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static void H5E_FSPACE_g(long varValue)
+ {
+ H5E_FSPACE_g$constants.SEGMENT.set(H5E_FSPACE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FUNC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FUNC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static OfLong H5E_FUNC_g$layout() { return H5E_FUNC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static MemorySegment H5E_FUNC_g$segment() { return H5E_FUNC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static long H5E_FUNC_g()
+ {
+ return H5E_FUNC_g$constants.SEGMENT.get(H5E_FUNC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static void H5E_FUNC_g(long varValue)
+ {
+ H5E_FUNC_g$constants.SEGMENT.set(H5E_FUNC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_HEAP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_HEAP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static OfLong H5E_HEAP_g$layout() { return H5E_HEAP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static MemorySegment H5E_HEAP_g$segment() { return H5E_HEAP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static long H5E_HEAP_g()
+ {
+ return H5E_HEAP_g$constants.SEGMENT.get(H5E_HEAP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static void H5E_HEAP_g(long varValue)
+ {
+ H5E_HEAP_g$constants.SEGMENT.set(H5E_HEAP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static OfLong H5E_ID_g$layout() { return H5E_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static MemorySegment H5E_ID_g$segment() { return H5E_ID_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static long H5E_ID_g() { return H5E_ID_g$constants.SEGMENT.get(H5E_ID_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static void H5E_ID_g(long varValue)
+ {
+ H5E_ID_g$constants.SEGMENT.set(H5E_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_INTERNAL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_INTERNAL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static OfLong H5E_INTERNAL_g$layout() { return H5E_INTERNAL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static MemorySegment H5E_INTERNAL_g$segment() { return H5E_INTERNAL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static long H5E_INTERNAL_g()
+ {
+ return H5E_INTERNAL_g$constants.SEGMENT.get(H5E_INTERNAL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static void H5E_INTERNAL_g(long varValue)
+ {
+ H5E_INTERNAL_g$constants.SEGMENT.set(H5E_INTERNAL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_IO_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_IO_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static OfLong H5E_IO_g$layout() { return H5E_IO_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static MemorySegment H5E_IO_g$segment() { return H5E_IO_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static long H5E_IO_g() { return H5E_IO_g$constants.SEGMENT.get(H5E_IO_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static void H5E_IO_g(long varValue)
+ {
+ H5E_IO_g$constants.SEGMENT.set(H5E_IO_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LIB_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LIB_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static OfLong H5E_LIB_g$layout() { return H5E_LIB_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static MemorySegment H5E_LIB_g$segment() { return H5E_LIB_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static long H5E_LIB_g() { return H5E_LIB_g$constants.SEGMENT.get(H5E_LIB_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static void H5E_LIB_g(long varValue)
+ {
+ H5E_LIB_g$constants.SEGMENT.set(H5E_LIB_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LINK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LINK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static OfLong H5E_LINK_g$layout() { return H5E_LINK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static MemorySegment H5E_LINK_g$segment() { return H5E_LINK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static long H5E_LINK_g()
+ {
+ return H5E_LINK_g$constants.SEGMENT.get(H5E_LINK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static void H5E_LINK_g(long varValue)
+ {
+ H5E_LINK_g$constants.SEGMENT.set(H5E_LINK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MAP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MAP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static OfLong H5E_MAP_g$layout() { return H5E_MAP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static MemorySegment H5E_MAP_g$segment() { return H5E_MAP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static long H5E_MAP_g() { return H5E_MAP_g$constants.SEGMENT.get(H5E_MAP_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static void H5E_MAP_g(long varValue)
+ {
+ H5E_MAP_g$constants.SEGMENT.set(H5E_MAP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NONE_MAJOR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NONE_MAJOR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static OfLong H5E_NONE_MAJOR_g$layout() { return H5E_NONE_MAJOR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static MemorySegment H5E_NONE_MAJOR_g$segment() { return H5E_NONE_MAJOR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static long H5E_NONE_MAJOR_g()
+ {
+ return H5E_NONE_MAJOR_g$constants.SEGMENT.get(H5E_NONE_MAJOR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static void H5E_NONE_MAJOR_g(long varValue)
+ {
+ H5E_NONE_MAJOR_g$constants.SEGMENT.set(H5E_NONE_MAJOR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OHDR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OHDR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static OfLong H5E_OHDR_g$layout() { return H5E_OHDR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static MemorySegment H5E_OHDR_g$segment() { return H5E_OHDR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static long H5E_OHDR_g()
+ {
+ return H5E_OHDR_g$constants.SEGMENT.get(H5E_OHDR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static void H5E_OHDR_g(long varValue)
+ {
+ H5E_OHDR_g$constants.SEGMENT.set(H5E_OHDR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PAGEBUF_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PAGEBUF_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static OfLong H5E_PAGEBUF_g$layout() { return H5E_PAGEBUF_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static MemorySegment H5E_PAGEBUF_g$segment() { return H5E_PAGEBUF_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static long H5E_PAGEBUF_g()
+ {
+ return H5E_PAGEBUF_g$constants.SEGMENT.get(H5E_PAGEBUF_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static void H5E_PAGEBUF_g(long varValue)
+ {
+ H5E_PAGEBUF_g$constants.SEGMENT.set(H5E_PAGEBUF_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PLINE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PLINE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static OfLong H5E_PLINE_g$layout() { return H5E_PLINE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static MemorySegment H5E_PLINE_g$segment() { return H5E_PLINE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static long H5E_PLINE_g()
+ {
+ return H5E_PLINE_g$constants.SEGMENT.get(H5E_PLINE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static void H5E_PLINE_g(long varValue)
+ {
+ H5E_PLINE_g$constants.SEGMENT.set(H5E_PLINE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PLIST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PLIST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static OfLong H5E_PLIST_g$layout() { return H5E_PLIST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static MemorySegment H5E_PLIST_g$segment() { return H5E_PLIST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static long H5E_PLIST_g()
+ {
+ return H5E_PLIST_g$constants.SEGMENT.get(H5E_PLIST_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static void H5E_PLIST_g(long varValue)
+ {
+ H5E_PLIST_g$constants.SEGMENT.set(H5E_PLIST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PLUGIN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PLUGIN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static OfLong H5E_PLUGIN_g$layout() { return H5E_PLUGIN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static MemorySegment H5E_PLUGIN_g$segment() { return H5E_PLUGIN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static long H5E_PLUGIN_g()
+ {
+ return H5E_PLUGIN_g$constants.SEGMENT.get(H5E_PLUGIN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static void H5E_PLUGIN_g(long varValue)
+ {
+ H5E_PLUGIN_g$constants.SEGMENT.set(H5E_PLUGIN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_REFERENCE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_REFERENCE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static OfLong H5E_REFERENCE_g$layout() { return H5E_REFERENCE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static MemorySegment H5E_REFERENCE_g$segment() { return H5E_REFERENCE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static long H5E_REFERENCE_g()
+ {
+ return H5E_REFERENCE_g$constants.SEGMENT.get(H5E_REFERENCE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static void H5E_REFERENCE_g(long varValue)
+ {
+ H5E_REFERENCE_g$constants.SEGMENT.set(H5E_REFERENCE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_RESOURCE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_RESOURCE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static OfLong H5E_RESOURCE_g$layout() { return H5E_RESOURCE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static MemorySegment H5E_RESOURCE_g$segment() { return H5E_RESOURCE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static long H5E_RESOURCE_g()
+ {
+ return H5E_RESOURCE_g$constants.SEGMENT.get(H5E_RESOURCE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static void H5E_RESOURCE_g(long varValue)
+ {
+ H5E_RESOURCE_g$constants.SEGMENT.set(H5E_RESOURCE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_RS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_RS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static OfLong H5E_RS_g$layout() { return H5E_RS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static MemorySegment H5E_RS_g$segment() { return H5E_RS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static long H5E_RS_g() { return H5E_RS_g$constants.SEGMENT.get(H5E_RS_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static void H5E_RS_g(long varValue)
+ {
+ H5E_RS_g$constants.SEGMENT.set(H5E_RS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_RTREE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_RTREE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static OfLong H5E_RTREE_g$layout() { return H5E_RTREE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static MemorySegment H5E_RTREE_g$segment() { return H5E_RTREE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static long H5E_RTREE_g()
+ {
+ return H5E_RTREE_g$constants.SEGMENT.get(H5E_RTREE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static void H5E_RTREE_g(long varValue)
+ {
+ H5E_RTREE_g$constants.SEGMENT.set(H5E_RTREE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SLIST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SLIST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static OfLong H5E_SLIST_g$layout() { return H5E_SLIST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static MemorySegment H5E_SLIST_g$segment() { return H5E_SLIST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static long H5E_SLIST_g()
+ {
+ return H5E_SLIST_g$constants.SEGMENT.get(H5E_SLIST_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static void H5E_SLIST_g(long varValue)
+ {
+ H5E_SLIST_g$constants.SEGMENT.set(H5E_SLIST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SOHM_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SOHM_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static OfLong H5E_SOHM_g$layout() { return H5E_SOHM_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static MemorySegment H5E_SOHM_g$segment() { return H5E_SOHM_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static long H5E_SOHM_g()
+ {
+ return H5E_SOHM_g$constants.SEGMENT.get(H5E_SOHM_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static void H5E_SOHM_g(long varValue)
+ {
+ H5E_SOHM_g$constants.SEGMENT.set(H5E_SOHM_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_STORAGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_STORAGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static OfLong H5E_STORAGE_g$layout() { return H5E_STORAGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static MemorySegment H5E_STORAGE_g$segment() { return H5E_STORAGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static long H5E_STORAGE_g()
+ {
+ return H5E_STORAGE_g$constants.SEGMENT.get(H5E_STORAGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static void H5E_STORAGE_g(long varValue)
+ {
+ H5E_STORAGE_g$constants.SEGMENT.set(H5E_STORAGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SYM_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SYM_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static OfLong H5E_SYM_g$layout() { return H5E_SYM_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static MemorySegment H5E_SYM_g$segment() { return H5E_SYM_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static long H5E_SYM_g() { return H5E_SYM_g$constants.SEGMENT.get(H5E_SYM_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static void H5E_SYM_g(long varValue)
+ {
+ H5E_SYM_g$constants.SEGMENT.set(H5E_SYM_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_THREADSAFE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_THREADSAFE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static OfLong H5E_THREADSAFE_g$layout() { return H5E_THREADSAFE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static MemorySegment H5E_THREADSAFE_g$segment() { return H5E_THREADSAFE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static long H5E_THREADSAFE_g()
+ {
+ return H5E_THREADSAFE_g$constants.SEGMENT.get(H5E_THREADSAFE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static void H5E_THREADSAFE_g(long varValue)
+ {
+ H5E_THREADSAFE_g$constants.SEGMENT.set(H5E_THREADSAFE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_TST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_TST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static OfLong H5E_TST_g$layout() { return H5E_TST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static MemorySegment H5E_TST_g$segment() { return H5E_TST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static long H5E_TST_g() { return H5E_TST_g$constants.SEGMENT.get(H5E_TST_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static void H5E_TST_g(long varValue)
+ {
+ H5E_TST_g$constants.SEGMENT.set(H5E_TST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_VFL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_VFL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static OfLong H5E_VFL_g$layout() { return H5E_VFL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static MemorySegment H5E_VFL_g$segment() { return H5E_VFL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static long H5E_VFL_g() { return H5E_VFL_g$constants.SEGMENT.get(H5E_VFL_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static void H5E_VFL_g(long varValue)
+ {
+ H5E_VFL_g$constants.SEGMENT.set(H5E_VFL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_VOL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_VOL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static OfLong H5E_VOL_g$layout() { return H5E_VOL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static MemorySegment H5E_VOL_g$segment() { return H5E_VOL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static long H5E_VOL_g() { return H5E_VOL_g$constants.SEGMENT.get(H5E_VOL_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static void H5E_VOL_g(long varValue)
+ {
+ H5E_VOL_g$constants.SEGMENT.set(H5E_VOL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADRANGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADRANGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static OfLong H5E_BADRANGE_g$layout() { return H5E_BADRANGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static MemorySegment H5E_BADRANGE_g$segment() { return H5E_BADRANGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static long H5E_BADRANGE_g()
+ {
+ return H5E_BADRANGE_g$constants.SEGMENT.get(H5E_BADRANGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static void H5E_BADRANGE_g(long varValue)
+ {
+ H5E_BADRANGE_g$constants.SEGMENT.set(H5E_BADRANGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADTYPE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADTYPE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static OfLong H5E_BADTYPE_g$layout() { return H5E_BADTYPE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static MemorySegment H5E_BADTYPE_g$segment() { return H5E_BADTYPE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static long H5E_BADTYPE_g()
+ {
+ return H5E_BADTYPE_g$constants.SEGMENT.get(H5E_BADTYPE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static void H5E_BADTYPE_g(long varValue)
+ {
+ H5E_BADTYPE_g$constants.SEGMENT.set(H5E_BADTYPE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADVALUE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADVALUE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static OfLong H5E_BADVALUE_g$layout() { return H5E_BADVALUE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static MemorySegment H5E_BADVALUE_g$segment() { return H5E_BADVALUE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static long H5E_BADVALUE_g()
+ {
+ return H5E_BADVALUE_g$constants.SEGMENT.get(H5E_BADVALUE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static void H5E_BADVALUE_g(long varValue)
+ {
+ H5E_BADVALUE_g$constants.SEGMENT.set(H5E_BADVALUE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_UNINITIALIZED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_UNINITIALIZED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static OfLong H5E_UNINITIALIZED_g$layout() { return H5E_UNINITIALIZED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static MemorySegment H5E_UNINITIALIZED_g$segment()
+ {
+ return H5E_UNINITIALIZED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static long H5E_UNINITIALIZED_g()
+ {
+ return H5E_UNINITIALIZED_g$constants.SEGMENT.get(H5E_UNINITIALIZED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static void H5E_UNINITIALIZED_g(long varValue)
+ {
+ H5E_UNINITIALIZED_g$constants.SEGMENT.set(H5E_UNINITIALIZED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_UNSUPPORTED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_UNSUPPORTED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static OfLong H5E_UNSUPPORTED_g$layout() { return H5E_UNSUPPORTED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static MemorySegment H5E_UNSUPPORTED_g$segment() { return H5E_UNSUPPORTED_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static long H5E_UNSUPPORTED_g()
+ {
+ return H5E_UNSUPPORTED_g$constants.SEGMENT.get(H5E_UNSUPPORTED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static void H5E_UNSUPPORTED_g(long varValue)
+ {
+ H5E_UNSUPPORTED_g$constants.SEGMENT.set(H5E_UNSUPPORTED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCANCEL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCANCEL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static OfLong H5E_CANTCANCEL_g$layout() { return H5E_CANTCANCEL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCANCEL_g$segment() { return H5E_CANTCANCEL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static long H5E_CANTCANCEL_g()
+ {
+ return H5E_CANTCANCEL_g$constants.SEGMENT.get(H5E_CANTCANCEL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static void H5E_CANTCANCEL_g(long varValue)
+ {
+ H5E_CANTCANCEL_g$constants.SEGMENT.set(H5E_CANTCANCEL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTWAIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTWAIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static OfLong H5E_CANTWAIT_g$layout() { return H5E_CANTWAIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTWAIT_g$segment() { return H5E_CANTWAIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static long H5E_CANTWAIT_g()
+ {
+ return H5E_CANTWAIT_g$constants.SEGMENT.get(H5E_CANTWAIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static void H5E_CANTWAIT_g(long varValue)
+ {
+ H5E_CANTWAIT_g$constants.SEGMENT.set(H5E_CANTWAIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDECODE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDECODE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static OfLong H5E_CANTDECODE_g$layout() { return H5E_CANTDECODE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDECODE_g$segment() { return H5E_CANTDECODE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static long H5E_CANTDECODE_g()
+ {
+ return H5E_CANTDECODE_g$constants.SEGMENT.get(H5E_CANTDECODE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static void H5E_CANTDECODE_g(long varValue)
+ {
+ H5E_CANTDECODE_g$constants.SEGMENT.set(H5E_CANTDECODE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTENCODE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTENCODE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static OfLong H5E_CANTENCODE_g$layout() { return H5E_CANTENCODE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTENCODE_g$segment() { return H5E_CANTENCODE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static long H5E_CANTENCODE_g()
+ {
+ return H5E_CANTENCODE_g$constants.SEGMENT.get(H5E_CANTENCODE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static void H5E_CANTENCODE_g(long varValue)
+ {
+ H5E_CANTENCODE_g$constants.SEGMENT.set(H5E_CANTENCODE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFIND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFIND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static OfLong H5E_CANTFIND_g$layout() { return H5E_CANTFIND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFIND_g$segment() { return H5E_CANTFIND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static long H5E_CANTFIND_g()
+ {
+ return H5E_CANTFIND_g$constants.SEGMENT.get(H5E_CANTFIND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static void H5E_CANTFIND_g(long varValue)
+ {
+ H5E_CANTFIND_g$constants.SEGMENT.set(H5E_CANTFIND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINSERT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINSERT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static OfLong H5E_CANTINSERT_g$layout() { return H5E_CANTINSERT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINSERT_g$segment() { return H5E_CANTINSERT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static long H5E_CANTINSERT_g()
+ {
+ return H5E_CANTINSERT_g$constants.SEGMENT.get(H5E_CANTINSERT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static void H5E_CANTINSERT_g(long varValue)
+ {
+ H5E_CANTINSERT_g$constants.SEGMENT.set(H5E_CANTINSERT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLIST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLIST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static OfLong H5E_CANTLIST_g$layout() { return H5E_CANTLIST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLIST_g$segment() { return H5E_CANTLIST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static long H5E_CANTLIST_g()
+ {
+ return H5E_CANTLIST_g$constants.SEGMENT.get(H5E_CANTLIST_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static void H5E_CANTLIST_g(long varValue)
+ {
+ H5E_CANTLIST_g$constants.SEGMENT.set(H5E_CANTLIST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMODIFY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMODIFY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static OfLong H5E_CANTMODIFY_g$layout() { return H5E_CANTMODIFY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMODIFY_g$segment() { return H5E_CANTMODIFY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static long H5E_CANTMODIFY_g()
+ {
+ return H5E_CANTMODIFY_g$constants.SEGMENT.get(H5E_CANTMODIFY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static void H5E_CANTMODIFY_g(long varValue)
+ {
+ H5E_CANTMODIFY_g$constants.SEGMENT.set(H5E_CANTMODIFY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREDISTRIBUTE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREDISTRIBUTE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static OfLong H5E_CANTREDISTRIBUTE_g$layout() { return H5E_CANTREDISTRIBUTE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREDISTRIBUTE_g$segment()
+ {
+ return H5E_CANTREDISTRIBUTE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static long H5E_CANTREDISTRIBUTE_g()
+ {
+ return H5E_CANTREDISTRIBUTE_g$constants.SEGMENT.get(H5E_CANTREDISTRIBUTE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static void H5E_CANTREDISTRIBUTE_g(long varValue)
+ {
+ H5E_CANTREDISTRIBUTE_g$constants.SEGMENT.set(H5E_CANTREDISTRIBUTE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREMOVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREMOVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static OfLong H5E_CANTREMOVE_g$layout() { return H5E_CANTREMOVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREMOVE_g$segment() { return H5E_CANTREMOVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static long H5E_CANTREMOVE_g()
+ {
+ return H5E_CANTREMOVE_g$constants.SEGMENT.get(H5E_CANTREMOVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static void H5E_CANTREMOVE_g(long varValue)
+ {
+ H5E_CANTREMOVE_g$constants.SEGMENT.set(H5E_CANTREMOVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSPLIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSPLIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static OfLong H5E_CANTSPLIT_g$layout() { return H5E_CANTSPLIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSPLIT_g$segment() { return H5E_CANTSPLIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static long H5E_CANTSPLIT_g()
+ {
+ return H5E_CANTSPLIT_g$constants.SEGMENT.get(H5E_CANTSPLIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static void H5E_CANTSPLIT_g(long varValue)
+ {
+ H5E_CANTSPLIT_g$constants.SEGMENT.set(H5E_CANTSPLIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSWAP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSWAP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static OfLong H5E_CANTSWAP_g$layout() { return H5E_CANTSWAP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSWAP_g$segment() { return H5E_CANTSWAP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static long H5E_CANTSWAP_g()
+ {
+ return H5E_CANTSWAP_g$constants.SEGMENT.get(H5E_CANTSWAP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static void H5E_CANTSWAP_g(long varValue)
+ {
+ H5E_CANTSWAP_g$constants.SEGMENT.set(H5E_CANTSWAP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EXISTS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EXISTS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static OfLong H5E_EXISTS_g$layout() { return H5E_EXISTS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static MemorySegment H5E_EXISTS_g$segment() { return H5E_EXISTS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static long H5E_EXISTS_g()
+ {
+ return H5E_EXISTS_g$constants.SEGMENT.get(H5E_EXISTS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static void H5E_EXISTS_g(long varValue)
+ {
+ H5E_EXISTS_g$constants.SEGMENT.set(H5E_EXISTS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTFOUND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTFOUND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static OfLong H5E_NOTFOUND_g$layout() { return H5E_NOTFOUND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static MemorySegment H5E_NOTFOUND_g$segment() { return H5E_NOTFOUND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static long H5E_NOTFOUND_g()
+ {
+ return H5E_NOTFOUND_g$constants.SEGMENT.get(H5E_NOTFOUND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static void H5E_NOTFOUND_g(long varValue)
+ {
+ H5E_NOTFOUND_g$constants.SEGMENT.set(H5E_NOTFOUND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLEAN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLEAN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static OfLong H5E_CANTCLEAN_g$layout() { return H5E_CANTCLEAN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLEAN_g$segment() { return H5E_CANTCLEAN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static long H5E_CANTCLEAN_g()
+ {
+ return H5E_CANTCLEAN_g$constants.SEGMENT.get(H5E_CANTCLEAN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static void H5E_CANTCLEAN_g(long varValue)
+ {
+ H5E_CANTCLEAN_g$constants.SEGMENT.set(H5E_CANTCLEAN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCORK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCORK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static OfLong H5E_CANTCORK_g$layout() { return H5E_CANTCORK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCORK_g$segment() { return H5E_CANTCORK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static long H5E_CANTCORK_g()
+ {
+ return H5E_CANTCORK_g$constants.SEGMENT.get(H5E_CANTCORK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static void H5E_CANTCORK_g(long varValue)
+ {
+ H5E_CANTCORK_g$constants.SEGMENT.set(H5E_CANTCORK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDEPEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDEPEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static OfLong H5E_CANTDEPEND_g$layout() { return H5E_CANTDEPEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDEPEND_g$segment() { return H5E_CANTDEPEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static long H5E_CANTDEPEND_g()
+ {
+ return H5E_CANTDEPEND_g$constants.SEGMENT.get(H5E_CANTDEPEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static void H5E_CANTDEPEND_g(long varValue)
+ {
+ H5E_CANTDEPEND_g$constants.SEGMENT.set(H5E_CANTDEPEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDIRTY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDIRTY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static OfLong H5E_CANTDIRTY_g$layout() { return H5E_CANTDIRTY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDIRTY_g$segment() { return H5E_CANTDIRTY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static long H5E_CANTDIRTY_g()
+ {
+ return H5E_CANTDIRTY_g$constants.SEGMENT.get(H5E_CANTDIRTY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static void H5E_CANTDIRTY_g(long varValue)
+ {
+ H5E_CANTDIRTY_g$constants.SEGMENT.set(H5E_CANTDIRTY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTEXPUNGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTEXPUNGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static OfLong H5E_CANTEXPUNGE_g$layout() { return H5E_CANTEXPUNGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTEXPUNGE_g$segment() { return H5E_CANTEXPUNGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static long H5E_CANTEXPUNGE_g()
+ {
+ return H5E_CANTEXPUNGE_g$constants.SEGMENT.get(H5E_CANTEXPUNGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static void H5E_CANTEXPUNGE_g(long varValue)
+ {
+ H5E_CANTEXPUNGE_g$constants.SEGMENT.set(H5E_CANTEXPUNGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFLUSH_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFLUSH_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static OfLong H5E_CANTFLUSH_g$layout() { return H5E_CANTFLUSH_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFLUSH_g$segment() { return H5E_CANTFLUSH_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static long H5E_CANTFLUSH_g()
+ {
+ return H5E_CANTFLUSH_g$constants.SEGMENT.get(H5E_CANTFLUSH_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static void H5E_CANTFLUSH_g(long varValue)
+ {
+ H5E_CANTFLUSH_g$constants.SEGMENT.set(H5E_CANTFLUSH_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static OfLong H5E_CANTINS_g$layout() { return H5E_CANTINS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINS_g$segment() { return H5E_CANTINS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static long H5E_CANTINS_g()
+ {
+ return H5E_CANTINS_g$constants.SEGMENT.get(H5E_CANTINS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static void H5E_CANTINS_g(long varValue)
+ {
+ H5E_CANTINS_g$constants.SEGMENT.set(H5E_CANTINS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLOAD_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLOAD_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static OfLong H5E_CANTLOAD_g$layout() { return H5E_CANTLOAD_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLOAD_g$segment() { return H5E_CANTLOAD_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static long H5E_CANTLOAD_g()
+ {
+ return H5E_CANTLOAD_g$constants.SEGMENT.get(H5E_CANTLOAD_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static void H5E_CANTLOAD_g(long varValue)
+ {
+ H5E_CANTLOAD_g$constants.SEGMENT.set(H5E_CANTLOAD_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMARKCLEAN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKCLEAN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKCLEAN_g$layout() { return H5E_CANTMARKCLEAN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKCLEAN_g$segment()
+ {
+ return H5E_CANTMARKCLEAN_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static long H5E_CANTMARKCLEAN_g()
+ {
+ return H5E_CANTMARKCLEAN_g$constants.SEGMENT.get(H5E_CANTMARKCLEAN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static void H5E_CANTMARKCLEAN_g(long varValue)
+ {
+ H5E_CANTMARKCLEAN_g$constants.SEGMENT.set(H5E_CANTMARKCLEAN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMARKDIRTY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKDIRTY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKDIRTY_g$layout() { return H5E_CANTMARKDIRTY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKDIRTY_g$segment()
+ {
+ return H5E_CANTMARKDIRTY_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static long H5E_CANTMARKDIRTY_g()
+ {
+ return H5E_CANTMARKDIRTY_g$constants.SEGMENT.get(H5E_CANTMARKDIRTY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static void H5E_CANTMARKDIRTY_g(long varValue)
+ {
+ H5E_CANTMARKDIRTY_g$constants.SEGMENT.set(H5E_CANTMARKDIRTY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMARKSERIALIZED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKSERIALIZED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKSERIALIZED_g$layout()
+ {
+ return H5E_CANTMARKSERIALIZED_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKSERIALIZED_g$segment()
+ {
+ return H5E_CANTMARKSERIALIZED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static long H5E_CANTMARKSERIALIZED_g()
+ {
+ return H5E_CANTMARKSERIALIZED_g$constants.SEGMENT.get(H5E_CANTMARKSERIALIZED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static void H5E_CANTMARKSERIALIZED_g(long varValue)
+ {
+ H5E_CANTMARKSERIALIZED_g$constants.SEGMENT.set(H5E_CANTMARKSERIALIZED_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5E_CANTMARKUNSERIALIZED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKUNSERIALIZED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKUNSERIALIZED_g$layout()
+ {
+ return H5E_CANTMARKUNSERIALIZED_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKUNSERIALIZED_g$segment()
+ {
+ return H5E_CANTMARKUNSERIALIZED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static long H5E_CANTMARKUNSERIALIZED_g()
+ {
+ return H5E_CANTMARKUNSERIALIZED_g$constants.SEGMENT.get(H5E_CANTMARKUNSERIALIZED_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static void H5E_CANTMARKUNSERIALIZED_g(long varValue)
+ {
+ H5E_CANTMARKUNSERIALIZED_g$constants.SEGMENT.set(H5E_CANTMARKUNSERIALIZED_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5E_CANTNOTIFY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTNOTIFY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static OfLong H5E_CANTNOTIFY_g$layout() { return H5E_CANTNOTIFY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTNOTIFY_g$segment() { return H5E_CANTNOTIFY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static long H5E_CANTNOTIFY_g()
+ {
+ return H5E_CANTNOTIFY_g$constants.SEGMENT.get(H5E_CANTNOTIFY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static void H5E_CANTNOTIFY_g(long varValue)
+ {
+ H5E_CANTNOTIFY_g$constants.SEGMENT.set(H5E_CANTNOTIFY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPIN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPIN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static OfLong H5E_CANTPIN_g$layout() { return H5E_CANTPIN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPIN_g$segment() { return H5E_CANTPIN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static long H5E_CANTPIN_g()
+ {
+ return H5E_CANTPIN_g$constants.SEGMENT.get(H5E_CANTPIN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static void H5E_CANTPIN_g(long varValue)
+ {
+ H5E_CANTPIN_g$constants.SEGMENT.set(H5E_CANTPIN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPROTECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPROTECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static OfLong H5E_CANTPROTECT_g$layout() { return H5E_CANTPROTECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPROTECT_g$segment() { return H5E_CANTPROTECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static long H5E_CANTPROTECT_g()
+ {
+ return H5E_CANTPROTECT_g$constants.SEGMENT.get(H5E_CANTPROTECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static void H5E_CANTPROTECT_g(long varValue)
+ {
+ H5E_CANTPROTECT_g$constants.SEGMENT.set(H5E_CANTPROTECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRESIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRESIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTRESIZE_g$layout() { return H5E_CANTRESIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRESIZE_g$segment() { return H5E_CANTRESIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static long H5E_CANTRESIZE_g()
+ {
+ return H5E_CANTRESIZE_g$constants.SEGMENT.get(H5E_CANTRESIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static void H5E_CANTRESIZE_g(long varValue)
+ {
+ H5E_CANTRESIZE_g$constants.SEGMENT.set(H5E_CANTRESIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSERIALIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSERIALIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTSERIALIZE_g$layout() { return H5E_CANTSERIALIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSERIALIZE_g$segment()
+ {
+ return H5E_CANTSERIALIZE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static long H5E_CANTSERIALIZE_g()
+ {
+ return H5E_CANTSERIALIZE_g$constants.SEGMENT.get(H5E_CANTSERIALIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static void H5E_CANTSERIALIZE_g(long varValue)
+ {
+ H5E_CANTSERIALIZE_g$constants.SEGMENT.set(H5E_CANTSERIALIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTTAG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTTAG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static OfLong H5E_CANTTAG_g$layout() { return H5E_CANTTAG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static MemorySegment H5E_CANTTAG_g$segment() { return H5E_CANTTAG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static long H5E_CANTTAG_g()
+ {
+ return H5E_CANTTAG_g$constants.SEGMENT.get(H5E_CANTTAG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static void H5E_CANTTAG_g(long varValue)
+ {
+ H5E_CANTTAG_g$constants.SEGMENT.set(H5E_CANTTAG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNCORK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNCORK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static OfLong H5E_CANTUNCORK_g$layout() { return H5E_CANTUNCORK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNCORK_g$segment() { return H5E_CANTUNCORK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static long H5E_CANTUNCORK_g()
+ {
+ return H5E_CANTUNCORK_g$constants.SEGMENT.get(H5E_CANTUNCORK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static void H5E_CANTUNCORK_g(long varValue)
+ {
+ H5E_CANTUNCORK_g$constants.SEGMENT.set(H5E_CANTUNCORK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNDEPEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNDEPEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static OfLong H5E_CANTUNDEPEND_g$layout() { return H5E_CANTUNDEPEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNDEPEND_g$segment() { return H5E_CANTUNDEPEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static long H5E_CANTUNDEPEND_g()
+ {
+ return H5E_CANTUNDEPEND_g$constants.SEGMENT.get(H5E_CANTUNDEPEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static void H5E_CANTUNDEPEND_g(long varValue)
+ {
+ H5E_CANTUNDEPEND_g$constants.SEGMENT.set(H5E_CANTUNDEPEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNPIN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNPIN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static OfLong H5E_CANTUNPIN_g$layout() { return H5E_CANTUNPIN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNPIN_g$segment() { return H5E_CANTUNPIN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static long H5E_CANTUNPIN_g()
+ {
+ return H5E_CANTUNPIN_g$constants.SEGMENT.get(H5E_CANTUNPIN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static void H5E_CANTUNPIN_g(long varValue)
+ {
+ H5E_CANTUNPIN_g$constants.SEGMENT.set(H5E_CANTUNPIN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNPROTECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNPROTECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static OfLong H5E_CANTUNPROTECT_g$layout() { return H5E_CANTUNPROTECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNPROTECT_g$segment()
+ {
+ return H5E_CANTUNPROTECT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static long H5E_CANTUNPROTECT_g()
+ {
+ return H5E_CANTUNPROTECT_g$constants.SEGMENT.get(H5E_CANTUNPROTECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static void H5E_CANTUNPROTECT_g(long varValue)
+ {
+ H5E_CANTUNPROTECT_g$constants.SEGMENT.set(H5E_CANTUNPROTECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNSERIALIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNSERIALIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTUNSERIALIZE_g$layout() { return H5E_CANTUNSERIALIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNSERIALIZE_g$segment()
+ {
+ return H5E_CANTUNSERIALIZE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static long H5E_CANTUNSERIALIZE_g()
+ {
+ return H5E_CANTUNSERIALIZE_g$constants.SEGMENT.get(H5E_CANTUNSERIALIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static void H5E_CANTUNSERIALIZE_g(long varValue)
+ {
+ H5E_CANTUNSERIALIZE_g$constants.SEGMENT.set(H5E_CANTUNSERIALIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LOGGING_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LOGGING_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static OfLong H5E_LOGGING_g$layout() { return H5E_LOGGING_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static MemorySegment H5E_LOGGING_g$segment() { return H5E_LOGGING_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static long H5E_LOGGING_g()
+ {
+ return H5E_LOGGING_g$constants.SEGMENT.get(H5E_LOGGING_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static void H5E_LOGGING_g(long varValue)
+ {
+ H5E_LOGGING_g$constants.SEGMENT.set(H5E_LOGGING_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTCACHED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTCACHED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static OfLong H5E_NOTCACHED_g$layout() { return H5E_NOTCACHED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static MemorySegment H5E_NOTCACHED_g$segment() { return H5E_NOTCACHED_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static long H5E_NOTCACHED_g()
+ {
+ return H5E_NOTCACHED_g$constants.SEGMENT.get(H5E_NOTCACHED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static void H5E_NOTCACHED_g(long varValue)
+ {
+ H5E_NOTCACHED_g$constants.SEGMENT.set(H5E_NOTCACHED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PROTECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PROTECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static OfLong H5E_PROTECT_g$layout() { return H5E_PROTECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static MemorySegment H5E_PROTECT_g$segment() { return H5E_PROTECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static long H5E_PROTECT_g()
+ {
+ return H5E_PROTECT_g$constants.SEGMENT.get(H5E_PROTECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static void H5E_PROTECT_g(long varValue)
+ {
+ H5E_PROTECT_g$constants.SEGMENT.set(H5E_PROTECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SYSTEM_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SYSTEM_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static OfLong H5E_SYSTEM_g$layout() { return H5E_SYSTEM_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static MemorySegment H5E_SYSTEM_g$segment() { return H5E_SYSTEM_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static long H5E_SYSTEM_g()
+ {
+ return H5E_SYSTEM_g$constants.SEGMENT.get(H5E_SYSTEM_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static void H5E_SYSTEM_g(long varValue)
+ {
+ H5E_SYSTEM_g$constants.SEGMENT.set(H5E_SYSTEM_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADSELECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADSELECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static OfLong H5E_BADSELECT_g$layout() { return H5E_BADSELECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static MemorySegment H5E_BADSELECT_g$segment() { return H5E_BADSELECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static long H5E_BADSELECT_g()
+ {
+ return H5E_BADSELECT_g$constants.SEGMENT.get(H5E_BADSELECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static void H5E_BADSELECT_g(long varValue)
+ {
+ H5E_BADSELECT_g$constants.SEGMENT.set(H5E_BADSELECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTAPPEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTAPPEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static OfLong H5E_CANTAPPEND_g$layout() { return H5E_CANTAPPEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTAPPEND_g$segment() { return H5E_CANTAPPEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static long H5E_CANTAPPEND_g()
+ {
+ return H5E_CANTAPPEND_g$constants.SEGMENT.get(H5E_CANTAPPEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static void H5E_CANTAPPEND_g(long varValue)
+ {
+ H5E_CANTAPPEND_g$constants.SEGMENT.set(H5E_CANTAPPEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLIP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLIP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static OfLong H5E_CANTCLIP_g$layout() { return H5E_CANTCLIP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLIP_g$segment() { return H5E_CANTCLIP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static long H5E_CANTCLIP_g()
+ {
+ return H5E_CANTCLIP_g$constants.SEGMENT.get(H5E_CANTCLIP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static void H5E_CANTCLIP_g(long varValue)
+ {
+ H5E_CANTCLIP_g$constants.SEGMENT.set(H5E_CANTCLIP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOMPARE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOMPARE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static OfLong H5E_CANTCOMPARE_g$layout() { return H5E_CANTCOMPARE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOMPARE_g$segment() { return H5E_CANTCOMPARE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static long H5E_CANTCOMPARE_g()
+ {
+ return H5E_CANTCOMPARE_g$constants.SEGMENT.get(H5E_CANTCOMPARE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static void H5E_CANTCOMPARE_g(long varValue)
+ {
+ H5E_CANTCOMPARE_g$constants.SEGMENT.set(H5E_CANTCOMPARE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static OfLong H5E_CANTCOUNT_g$layout() { return H5E_CANTCOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOUNT_g$segment() { return H5E_CANTCOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static long H5E_CANTCOUNT_g()
+ {
+ return H5E_CANTCOUNT_g$constants.SEGMENT.get(H5E_CANTCOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static void H5E_CANTCOUNT_g(long varValue)
+ {
+ H5E_CANTCOUNT_g$constants.SEGMENT.set(H5E_CANTCOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTNEXT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTNEXT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static OfLong H5E_CANTNEXT_g$layout() { return H5E_CANTNEXT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTNEXT_g$segment() { return H5E_CANTNEXT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static long H5E_CANTNEXT_g()
+ {
+ return H5E_CANTNEXT_g$constants.SEGMENT.get(H5E_CANTNEXT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static void H5E_CANTNEXT_g(long varValue)
+ {
+ H5E_CANTNEXT_g$constants.SEGMENT.set(H5E_CANTNEXT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSELECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSELECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static OfLong H5E_CANTSELECT_g$layout() { return H5E_CANTSELECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSELECT_g$segment() { return H5E_CANTSELECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static long H5E_CANTSELECT_g()
+ {
+ return H5E_CANTSELECT_g$constants.SEGMENT.get(H5E_CANTSELECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static void H5E_CANTSELECT_g(long varValue)
+ {
+ H5E_CANTSELECT_g$constants.SEGMENT.set(H5E_CANTSELECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_INCONSISTENTSTATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_INCONSISTENTSTATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static OfLong H5E_INCONSISTENTSTATE_g$layout() { return H5E_INCONSISTENTSTATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static MemorySegment H5E_INCONSISTENTSTATE_g$segment()
+ {
+ return H5E_INCONSISTENTSTATE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static long H5E_INCONSISTENTSTATE_g()
+ {
+ return H5E_INCONSISTENTSTATE_g$constants.SEGMENT.get(H5E_INCONSISTENTSTATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static void H5E_INCONSISTENTSTATE_g(long varValue)
+ {
+ H5E_INCONSISTENTSTATE_g$constants.SEGMENT.set(H5E_INCONSISTENTSTATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CLOSEERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CLOSEERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static OfLong H5E_CLOSEERROR_g$layout() { return H5E_CLOSEERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static MemorySegment H5E_CLOSEERROR_g$segment() { return H5E_CLOSEERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static long H5E_CLOSEERROR_g()
+ {
+ return H5E_CLOSEERROR_g$constants.SEGMENT.get(H5E_CLOSEERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static void H5E_CLOSEERROR_g(long varValue)
+ {
+ H5E_CLOSEERROR_g$constants.SEGMENT.set(H5E_CLOSEERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FCNTL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FCNTL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static OfLong H5E_FCNTL_g$layout() { return H5E_FCNTL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static MemorySegment H5E_FCNTL_g$segment() { return H5E_FCNTL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static long H5E_FCNTL_g()
+ {
+ return H5E_FCNTL_g$constants.SEGMENT.get(H5E_FCNTL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static void H5E_FCNTL_g(long varValue)
+ {
+ H5E_FCNTL_g$constants.SEGMENT.set(H5E_FCNTL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OVERFLOW_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OVERFLOW_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static OfLong H5E_OVERFLOW_g$layout() { return H5E_OVERFLOW_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static MemorySegment H5E_OVERFLOW_g$segment() { return H5E_OVERFLOW_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static long H5E_OVERFLOW_g()
+ {
+ return H5E_OVERFLOW_g$constants.SEGMENT.get(H5E_OVERFLOW_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static void H5E_OVERFLOW_g(long varValue)
+ {
+ H5E_OVERFLOW_g$constants.SEGMENT.set(H5E_OVERFLOW_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_READERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_READERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static OfLong H5E_READERROR_g$layout() { return H5E_READERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static MemorySegment H5E_READERROR_g$segment() { return H5E_READERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static long H5E_READERROR_g()
+ {
+ return H5E_READERROR_g$constants.SEGMENT.get(H5E_READERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static void H5E_READERROR_g(long varValue)
+ {
+ H5E_READERROR_g$constants.SEGMENT.set(H5E_READERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SEEKERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SEEKERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static OfLong H5E_SEEKERROR_g$layout() { return H5E_SEEKERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static MemorySegment H5E_SEEKERROR_g$segment() { return H5E_SEEKERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static long H5E_SEEKERROR_g()
+ {
+ return H5E_SEEKERROR_g$constants.SEGMENT.get(H5E_SEEKERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static void H5E_SEEKERROR_g(long varValue)
+ {
+ H5E_SEEKERROR_g$constants.SEGMENT.set(H5E_SEEKERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_WRITEERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_WRITEERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static OfLong H5E_WRITEERROR_g$layout() { return H5E_WRITEERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static MemorySegment H5E_WRITEERROR_g$segment() { return H5E_WRITEERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static long H5E_WRITEERROR_g()
+ {
+ return H5E_WRITEERROR_g$constants.SEGMENT.get(H5E_WRITEERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static void H5E_WRITEERROR_g(long varValue)
+ {
+ H5E_WRITEERROR_g$constants.SEGMENT.set(H5E_WRITEERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static OfLong H5E_BADFILE_g$layout() { return H5E_BADFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static MemorySegment H5E_BADFILE_g$segment() { return H5E_BADFILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static long H5E_BADFILE_g()
+ {
+ return H5E_BADFILE_g$constants.SEGMENT.get(H5E_BADFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static void H5E_BADFILE_g(long varValue)
+ {
+ H5E_BADFILE_g$constants.SEGMENT.set(H5E_BADFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLOSEFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLOSEFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTCLOSEFILE_g$layout() { return H5E_CANTCLOSEFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLOSEFILE_g$segment()
+ {
+ return H5E_CANTCLOSEFILE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static long H5E_CANTCLOSEFILE_g()
+ {
+ return H5E_CANTCLOSEFILE_g$constants.SEGMENT.get(H5E_CANTCLOSEFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static void H5E_CANTCLOSEFILE_g(long varValue)
+ {
+ H5E_CANTCLOSEFILE_g$constants.SEGMENT.set(H5E_CANTCLOSEFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCREATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCREATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static OfLong H5E_CANTCREATE_g$layout() { return H5E_CANTCREATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCREATE_g$segment() { return H5E_CANTCREATE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static long H5E_CANTCREATE_g()
+ {
+ return H5E_CANTCREATE_g$constants.SEGMENT.get(H5E_CANTCREATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static void H5E_CANTCREATE_g(long varValue)
+ {
+ H5E_CANTCREATE_g$constants.SEGMENT.set(H5E_CANTCREATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDELETEFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDELETEFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTDELETEFILE_g$layout() { return H5E_CANTDELETEFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDELETEFILE_g$segment()
+ {
+ return H5E_CANTDELETEFILE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static long H5E_CANTDELETEFILE_g()
+ {
+ return H5E_CANTDELETEFILE_g$constants.SEGMENT.get(H5E_CANTDELETEFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static void H5E_CANTDELETEFILE_g(long varValue)
+ {
+ H5E_CANTDELETEFILE_g$constants.SEGMENT.set(H5E_CANTDELETEFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLOCKFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLOCKFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTLOCKFILE_g$layout() { return H5E_CANTLOCKFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLOCKFILE_g$segment() { return H5E_CANTLOCKFILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static long H5E_CANTLOCKFILE_g()
+ {
+ return H5E_CANTLOCKFILE_g$constants.SEGMENT.get(H5E_CANTLOCKFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static void H5E_CANTLOCKFILE_g(long varValue)
+ {
+ H5E_CANTLOCKFILE_g$constants.SEGMENT.set(H5E_CANTLOCKFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTOPENFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTOPENFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTOPENFILE_g$layout() { return H5E_CANTOPENFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTOPENFILE_g$segment() { return H5E_CANTOPENFILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static long H5E_CANTOPENFILE_g()
+ {
+ return H5E_CANTOPENFILE_g$constants.SEGMENT.get(H5E_CANTOPENFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static void H5E_CANTOPENFILE_g(long varValue)
+ {
+ H5E_CANTOPENFILE_g$constants.SEGMENT.set(H5E_CANTOPENFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNLOCKFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNLOCKFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTUNLOCKFILE_g$layout() { return H5E_CANTUNLOCKFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNLOCKFILE_g$segment()
+ {
+ return H5E_CANTUNLOCKFILE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static long H5E_CANTUNLOCKFILE_g()
+ {
+ return H5E_CANTUNLOCKFILE_g$constants.SEGMENT.get(H5E_CANTUNLOCKFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static void H5E_CANTUNLOCKFILE_g(long varValue)
+ {
+ H5E_CANTUNLOCKFILE_g$constants.SEGMENT.set(H5E_CANTUNLOCKFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FILEEXISTS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FILEEXISTS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static OfLong H5E_FILEEXISTS_g$layout() { return H5E_FILEEXISTS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static MemorySegment H5E_FILEEXISTS_g$segment() { return H5E_FILEEXISTS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static long H5E_FILEEXISTS_g()
+ {
+ return H5E_FILEEXISTS_g$constants.SEGMENT.get(H5E_FILEEXISTS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static void H5E_FILEEXISTS_g(long varValue)
+ {
+ H5E_FILEEXISTS_g$constants.SEGMENT.set(H5E_FILEEXISTS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FILEOPEN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FILEOPEN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static OfLong H5E_FILEOPEN_g$layout() { return H5E_FILEOPEN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static MemorySegment H5E_FILEOPEN_g$segment() { return H5E_FILEOPEN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static long H5E_FILEOPEN_g()
+ {
+ return H5E_FILEOPEN_g$constants.SEGMENT.get(H5E_FILEOPEN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static void H5E_FILEOPEN_g(long varValue)
+ {
+ H5E_FILEOPEN_g$constants.SEGMENT.set(H5E_FILEOPEN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static OfLong H5E_MOUNT_g$layout() { return H5E_MOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_MOUNT_g$segment() { return H5E_MOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static long H5E_MOUNT_g()
+ {
+ return H5E_MOUNT_g$constants.SEGMENT.get(H5E_MOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static void H5E_MOUNT_g(long varValue)
+ {
+ H5E_MOUNT_g$constants.SEGMENT.set(H5E_MOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTHDF5_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTHDF5_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static OfLong H5E_NOTHDF5_g$layout() { return H5E_NOTHDF5_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static MemorySegment H5E_NOTHDF5_g$segment() { return H5E_NOTHDF5_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static long H5E_NOTHDF5_g()
+ {
+ return H5E_NOTHDF5_g$constants.SEGMENT.get(H5E_NOTHDF5_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static void H5E_NOTHDF5_g(long varValue)
+ {
+ H5E_NOTHDF5_g$constants.SEGMENT.set(H5E_NOTHDF5_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_TRUNCATED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_TRUNCATED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static OfLong H5E_TRUNCATED_g$layout() { return H5E_TRUNCATED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static MemorySegment H5E_TRUNCATED_g$segment() { return H5E_TRUNCATED_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static long H5E_TRUNCATED_g()
+ {
+ return H5E_TRUNCATED_g$constants.SEGMENT.get(H5E_TRUNCATED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static void H5E_TRUNCATED_g(long varValue)
+ {
+ H5E_TRUNCATED_g$constants.SEGMENT.set(H5E_TRUNCATED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_UNMOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_UNMOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static OfLong H5E_UNMOUNT_g$layout() { return H5E_UNMOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_UNMOUNT_g$segment() { return H5E_UNMOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static long H5E_UNMOUNT_g()
+ {
+ return H5E_UNMOUNT_g$constants.SEGMENT.get(H5E_UNMOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static void H5E_UNMOUNT_g(long varValue)
+ {
+ H5E_UNMOUNT_g$constants.SEGMENT.set(H5E_UNMOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMERGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMERGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static OfLong H5E_CANTMERGE_g$layout() { return H5E_CANTMERGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMERGE_g$segment() { return H5E_CANTMERGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static long H5E_CANTMERGE_g()
+ {
+ return H5E_CANTMERGE_g$constants.SEGMENT.get(H5E_CANTMERGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static void H5E_CANTMERGE_g(long varValue)
+ {
+ H5E_CANTMERGE_g$constants.SEGMENT.set(H5E_CANTMERGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREVIVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREVIVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static OfLong H5E_CANTREVIVE_g$layout() { return H5E_CANTREVIVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREVIVE_g$segment() { return H5E_CANTREVIVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static long H5E_CANTREVIVE_g()
+ {
+ return H5E_CANTREVIVE_g$constants.SEGMENT.get(H5E_CANTREVIVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static void H5E_CANTREVIVE_g(long varValue)
+ {
+ H5E_CANTREVIVE_g$constants.SEGMENT.set(H5E_CANTREVIVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSHRINK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSHRINK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static OfLong H5E_CANTSHRINK_g$layout() { return H5E_CANTSHRINK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSHRINK_g$segment() { return H5E_CANTSHRINK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static long H5E_CANTSHRINK_g()
+ {
+ return H5E_CANTSHRINK_g$constants.SEGMENT.get(H5E_CANTSHRINK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static void H5E_CANTSHRINK_g(long varValue)
+ {
+ H5E_CANTSHRINK_g$constants.SEGMENT.set(H5E_CANTSHRINK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ALREADYINIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ALREADYINIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static OfLong H5E_ALREADYINIT_g$layout() { return H5E_ALREADYINIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static MemorySegment H5E_ALREADYINIT_g$segment() { return H5E_ALREADYINIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static long H5E_ALREADYINIT_g()
+ {
+ return H5E_ALREADYINIT_g$constants.SEGMENT.get(H5E_ALREADYINIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static void H5E_ALREADYINIT_g(long varValue)
+ {
+ H5E_ALREADYINIT_g$constants.SEGMENT.set(H5E_ALREADYINIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static OfLong H5E_CANTINIT_g$layout() { return H5E_CANTINIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINIT_g$segment() { return H5E_CANTINIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static long H5E_CANTINIT_g()
+ {
+ return H5E_CANTINIT_g$constants.SEGMENT.get(H5E_CANTINIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static void H5E_CANTINIT_g(long varValue)
+ {
+ H5E_CANTINIT_g$constants.SEGMENT.set(H5E_CANTINIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRELEASE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRELEASE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static OfLong H5E_CANTRELEASE_g$layout() { return H5E_CANTRELEASE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRELEASE_g$segment() { return H5E_CANTRELEASE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static long H5E_CANTRELEASE_g()
+ {
+ return H5E_CANTRELEASE_g$constants.SEGMENT.get(H5E_CANTRELEASE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static void H5E_CANTRELEASE_g(long varValue)
+ {
+ H5E_CANTRELEASE_g$constants.SEGMENT.set(H5E_CANTRELEASE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLOSEOBJ_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLOSEOBJ_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static OfLong H5E_CANTCLOSEOBJ_g$layout() { return H5E_CANTCLOSEOBJ_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLOSEOBJ_g$segment() { return H5E_CANTCLOSEOBJ_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static long H5E_CANTCLOSEOBJ_g()
+ {
+ return H5E_CANTCLOSEOBJ_g$constants.SEGMENT.get(H5E_CANTCLOSEOBJ_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static void H5E_CANTCLOSEOBJ_g(long varValue)
+ {
+ H5E_CANTCLOSEOBJ_g$constants.SEGMENT.set(H5E_CANTCLOSEOBJ_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTOPENOBJ_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTOPENOBJ_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static OfLong H5E_CANTOPENOBJ_g$layout() { return H5E_CANTOPENOBJ_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static MemorySegment H5E_CANTOPENOBJ_g$segment() { return H5E_CANTOPENOBJ_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static long H5E_CANTOPENOBJ_g()
+ {
+ return H5E_CANTOPENOBJ_g$constants.SEGMENT.get(H5E_CANTOPENOBJ_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static void H5E_CANTOPENOBJ_g(long varValue)
+ {
+ H5E_CANTOPENOBJ_g$constants.SEGMENT.set(H5E_CANTOPENOBJ_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_COMPLEN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_COMPLEN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static OfLong H5E_COMPLEN_g$layout() { return H5E_COMPLEN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static MemorySegment H5E_COMPLEN_g$segment() { return H5E_COMPLEN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static long H5E_COMPLEN_g()
+ {
+ return H5E_COMPLEN_g$constants.SEGMENT.get(H5E_COMPLEN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static void H5E_COMPLEN_g(long varValue)
+ {
+ H5E_COMPLEN_g$constants.SEGMENT.set(H5E_COMPLEN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PATH_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PATH_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static OfLong H5E_PATH_g$layout() { return H5E_PATH_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static MemorySegment H5E_PATH_g$segment() { return H5E_PATH_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static long H5E_PATH_g()
+ {
+ return H5E_PATH_g$constants.SEGMENT.get(H5E_PATH_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static void H5E_PATH_g(long varValue)
+ {
+ H5E_PATH_g$constants.SEGMENT.set(H5E_PATH_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTATTACH_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTATTACH_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static OfLong H5E_CANTATTACH_g$layout() { return H5E_CANTATTACH_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static MemorySegment H5E_CANTATTACH_g$segment() { return H5E_CANTATTACH_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static long H5E_CANTATTACH_g()
+ {
+ return H5E_CANTATTACH_g$constants.SEGMENT.get(H5E_CANTATTACH_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static void H5E_CANTATTACH_g(long varValue)
+ {
+ H5E_CANTATTACH_g$constants.SEGMENT.set(H5E_CANTATTACH_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOMPUTE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOMPUTE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static OfLong H5E_CANTCOMPUTE_g$layout() { return H5E_CANTCOMPUTE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOMPUTE_g$segment() { return H5E_CANTCOMPUTE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static long H5E_CANTCOMPUTE_g()
+ {
+ return H5E_CANTCOMPUTE_g$constants.SEGMENT.get(H5E_CANTCOMPUTE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static void H5E_CANTCOMPUTE_g(long varValue)
+ {
+ H5E_CANTCOMPUTE_g$constants.SEGMENT.set(H5E_CANTCOMPUTE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTEXTEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTEXTEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static OfLong H5E_CANTEXTEND_g$layout() { return H5E_CANTEXTEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTEXTEND_g$segment() { return H5E_CANTEXTEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static long H5E_CANTEXTEND_g()
+ {
+ return H5E_CANTEXTEND_g$constants.SEGMENT.get(H5E_CANTEXTEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static void H5E_CANTEXTEND_g(long varValue)
+ {
+ H5E_CANTEXTEND_g$constants.SEGMENT.set(H5E_CANTEXTEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTOPERATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTOPERATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static OfLong H5E_CANTOPERATE_g$layout() { return H5E_CANTOPERATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTOPERATE_g$segment() { return H5E_CANTOPERATE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static long H5E_CANTOPERATE_g()
+ {
+ return H5E_CANTOPERATE_g$constants.SEGMENT.get(H5E_CANTOPERATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static void H5E_CANTOPERATE_g(long varValue)
+ {
+ H5E_CANTOPERATE_g$constants.SEGMENT.set(H5E_CANTOPERATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRESTORE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRESTORE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static OfLong H5E_CANTRESTORE_g$layout() { return H5E_CANTRESTORE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRESTORE_g$segment() { return H5E_CANTRESTORE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static long H5E_CANTRESTORE_g()
+ {
+ return H5E_CANTRESTORE_g$constants.SEGMENT.get(H5E_CANTRESTORE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static void H5E_CANTRESTORE_g(long varValue)
+ {
+ H5E_CANTRESTORE_g$constants.SEGMENT.set(H5E_CANTRESTORE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUPDATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUPDATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static OfLong H5E_CANTUPDATE_g$layout() { return H5E_CANTUPDATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUPDATE_g$segment() { return H5E_CANTUPDATE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static long H5E_CANTUPDATE_g()
+ {
+ return H5E_CANTUPDATE_g$constants.SEGMENT.get(H5E_CANTUPDATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static void H5E_CANTUPDATE_g(long varValue)
+ {
+ H5E_CANTUPDATE_g$constants.SEGMENT.set(H5E_CANTUPDATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADGROUP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADGROUP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static OfLong H5E_BADGROUP_g$layout() { return H5E_BADGROUP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static MemorySegment H5E_BADGROUP_g$segment() { return H5E_BADGROUP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static long H5E_BADGROUP_g()
+ {
+ return H5E_BADGROUP_g$constants.SEGMENT.get(H5E_BADGROUP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static void H5E_BADGROUP_g(long varValue)
+ {
+ H5E_BADGROUP_g$constants.SEGMENT.set(H5E_BADGROUP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static OfLong H5E_BADID_g$layout() { return H5E_BADID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static MemorySegment H5E_BADID_g$segment() { return H5E_BADID_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static long H5E_BADID_g()
+ {
+ return H5E_BADID_g$constants.SEGMENT.get(H5E_BADID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static void H5E_BADID_g(long varValue)
+ {
+ H5E_BADID_g$constants.SEGMENT.set(H5E_BADID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDEC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDEC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static OfLong H5E_CANTDEC_g$layout() { return H5E_CANTDEC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDEC_g$segment() { return H5E_CANTDEC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static long H5E_CANTDEC_g()
+ {
+ return H5E_CANTDEC_g$constants.SEGMENT.get(H5E_CANTDEC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static void H5E_CANTDEC_g(long varValue)
+ {
+ H5E_CANTDEC_g$constants.SEGMENT.set(H5E_CANTDEC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static OfLong H5E_CANTINC_g$layout() { return H5E_CANTINC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINC_g$segment() { return H5E_CANTINC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static long H5E_CANTINC_g()
+ {
+ return H5E_CANTINC_g$constants.SEGMENT.get(H5E_CANTINC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static void H5E_CANTINC_g(long varValue)
+ {
+ H5E_CANTINC_g$constants.SEGMENT.set(H5E_CANTINC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREGISTER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREGISTER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static OfLong H5E_CANTREGISTER_g$layout() { return H5E_CANTREGISTER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREGISTER_g$segment() { return H5E_CANTREGISTER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static long H5E_CANTREGISTER_g()
+ {
+ return H5E_CANTREGISTER_g$constants.SEGMENT.get(H5E_CANTREGISTER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static void H5E_CANTREGISTER_g(long varValue)
+ {
+ H5E_CANTREGISTER_g$constants.SEGMENT.set(H5E_CANTREGISTER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOIDS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOIDS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static OfLong H5E_NOIDS_g$layout() { return H5E_NOIDS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static MemorySegment H5E_NOIDS_g$segment() { return H5E_NOIDS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static long H5E_NOIDS_g()
+ {
+ return H5E_NOIDS_g$constants.SEGMENT.get(H5E_NOIDS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static void H5E_NOIDS_g(long varValue)
+ {
+ H5E_NOIDS_g$constants.SEGMENT.set(H5E_NOIDS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMOVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMOVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static OfLong H5E_CANTMOVE_g$layout() { return H5E_CANTMOVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMOVE_g$segment() { return H5E_CANTMOVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static long H5E_CANTMOVE_g()
+ {
+ return H5E_CANTMOVE_g$constants.SEGMENT.get(H5E_CANTMOVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static void H5E_CANTMOVE_g(long varValue)
+ {
+ H5E_CANTMOVE_g$constants.SEGMENT.set(H5E_CANTMOVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSORT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSORT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static OfLong H5E_CANTSORT_g$layout() { return H5E_CANTSORT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSORT_g$segment() { return H5E_CANTSORT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static long H5E_CANTSORT_g()
+ {
+ return H5E_CANTSORT_g$constants.SEGMENT.get(H5E_CANTSORT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static void H5E_CANTSORT_g(long varValue)
+ {
+ H5E_CANTSORT_g$constants.SEGMENT.set(H5E_CANTSORT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NLINKS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NLINKS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static OfLong H5E_NLINKS_g$layout() { return H5E_NLINKS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static MemorySegment H5E_NLINKS_g$segment() { return H5E_NLINKS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static long H5E_NLINKS_g()
+ {
+ return H5E_NLINKS_g$constants.SEGMENT.get(H5E_NLINKS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static void H5E_NLINKS_g(long varValue)
+ {
+ H5E_NLINKS_g$constants.SEGMENT.set(H5E_NLINKS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTREGISTERED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTREGISTERED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static OfLong H5E_NOTREGISTERED_g$layout() { return H5E_NOTREGISTERED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static MemorySegment H5E_NOTREGISTERED_g$segment()
+ {
+ return H5E_NOTREGISTERED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static long H5E_NOTREGISTERED_g()
+ {
+ return H5E_NOTREGISTERED_g$constants.SEGMENT.get(H5E_NOTREGISTERED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static void H5E_NOTREGISTERED_g(long varValue)
+ {
+ H5E_NOTREGISTERED_g$constants.SEGMENT.set(H5E_NOTREGISTERED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_TRAVERSE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_TRAVERSE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static OfLong H5E_TRAVERSE_g$layout() { return H5E_TRAVERSE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static MemorySegment H5E_TRAVERSE_g$segment() { return H5E_TRAVERSE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static long H5E_TRAVERSE_g()
+ {
+ return H5E_TRAVERSE_g$constants.SEGMENT.get(H5E_TRAVERSE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static void H5E_TRAVERSE_g(long varValue)
+ {
+ H5E_TRAVERSE_g$constants.SEGMENT.set(H5E_TRAVERSE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPUT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPUT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static OfLong H5E_CANTPUT_g$layout() { return H5E_CANTPUT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPUT_g$segment() { return H5E_CANTPUT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static long H5E_CANTPUT_g()
+ {
+ return H5E_CANTPUT_g$constants.SEGMENT.get(H5E_CANTPUT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static void H5E_CANTPUT_g(long varValue)
+ {
+ H5E_CANTPUT_g$constants.SEGMENT.set(H5E_CANTPUT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGATHER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGATHER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static OfLong H5E_CANTGATHER_g$layout() { return H5E_CANTGATHER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGATHER_g$segment() { return H5E_CANTGATHER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static long H5E_CANTGATHER_g()
+ {
+ return H5E_CANTGATHER_g$constants.SEGMENT.get(H5E_CANTGATHER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static void H5E_CANTGATHER_g(long varValue)
+ {
+ H5E_CANTGATHER_g$constants.SEGMENT.set(H5E_CANTGATHER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRECV_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRECV_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static OfLong H5E_CANTRECV_g$layout() { return H5E_CANTRECV_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRECV_g$segment() { return H5E_CANTRECV_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static long H5E_CANTRECV_g()
+ {
+ return H5E_CANTRECV_g$constants.SEGMENT.get(H5E_CANTRECV_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static void H5E_CANTRECV_g(long varValue)
+ {
+ H5E_CANTRECV_g$constants.SEGMENT.set(H5E_CANTRECV_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MPI_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MPI_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static OfLong H5E_MPI_g$layout() { return H5E_MPI_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static MemorySegment H5E_MPI_g$segment() { return H5E_MPI_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static long H5E_MPI_g() { return H5E_MPI_g$constants.SEGMENT.get(H5E_MPI_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static void H5E_MPI_g(long varValue)
+ {
+ H5E_MPI_g$constants.SEGMENT.set(H5E_MPI_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MPIERRSTR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MPIERRSTR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static OfLong H5E_MPIERRSTR_g$layout() { return H5E_MPIERRSTR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static MemorySegment H5E_MPIERRSTR_g$segment() { return H5E_MPIERRSTR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static long H5E_MPIERRSTR_g()
+ {
+ return H5E_MPIERRSTR_g$constants.SEGMENT.get(H5E_MPIERRSTR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static void H5E_MPIERRSTR_g(long varValue)
+ {
+ H5E_MPIERRSTR_g$constants.SEGMENT.set(H5E_MPIERRSTR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NO_INDEPENDENT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NO_INDEPENDENT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static OfLong H5E_NO_INDEPENDENT_g$layout() { return H5E_NO_INDEPENDENT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static MemorySegment H5E_NO_INDEPENDENT_g$segment()
+ {
+ return H5E_NO_INDEPENDENT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static long H5E_NO_INDEPENDENT_g()
+ {
+ return H5E_NO_INDEPENDENT_g$constants.SEGMENT.get(H5E_NO_INDEPENDENT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static void H5E_NO_INDEPENDENT_g(long varValue)
+ {
+ H5E_NO_INDEPENDENT_g$constants.SEGMENT.set(H5E_NO_INDEPENDENT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NONE_MINOR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NONE_MINOR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static OfLong H5E_NONE_MINOR_g$layout() { return H5E_NONE_MINOR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static MemorySegment H5E_NONE_MINOR_g$segment() { return H5E_NONE_MINOR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static long H5E_NONE_MINOR_g()
+ {
+ return H5E_NONE_MINOR_g$constants.SEGMENT.get(H5E_NONE_MINOR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static void H5E_NONE_MINOR_g(long varValue)
+ {
+ H5E_NONE_MINOR_g$constants.SEGMENT.set(H5E_NONE_MINOR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ALIGNMENT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ALIGNMENT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static OfLong H5E_ALIGNMENT_g$layout() { return H5E_ALIGNMENT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static MemorySegment H5E_ALIGNMENT_g$segment() { return H5E_ALIGNMENT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static long H5E_ALIGNMENT_g()
+ {
+ return H5E_ALIGNMENT_g$constants.SEGMENT.get(H5E_ALIGNMENT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static void H5E_ALIGNMENT_g(long varValue)
+ {
+ H5E_ALIGNMENT_g$constants.SEGMENT.set(H5E_ALIGNMENT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADITER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADITER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static OfLong H5E_BADITER_g$layout() { return H5E_BADITER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static MemorySegment H5E_BADITER_g$segment() { return H5E_BADITER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static long H5E_BADITER_g()
+ {
+ return H5E_BADITER_g$constants.SEGMENT.get(H5E_BADITER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static void H5E_BADITER_g(long varValue)
+ {
+ H5E_BADITER_g$constants.SEGMENT.set(H5E_BADITER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADMESG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADMESG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static OfLong H5E_BADMESG_g$layout() { return H5E_BADMESG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static MemorySegment H5E_BADMESG_g$segment() { return H5E_BADMESG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static long H5E_BADMESG_g()
+ {
+ return H5E_BADMESG_g$constants.SEGMENT.get(H5E_BADMESG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static void H5E_BADMESG_g(long varValue)
+ {
+ H5E_BADMESG_g$constants.SEGMENT.set(H5E_BADMESG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDELETE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDELETE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static OfLong H5E_CANTDELETE_g$layout() { return H5E_CANTDELETE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDELETE_g$segment() { return H5E_CANTDELETE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static long H5E_CANTDELETE_g()
+ {
+ return H5E_CANTDELETE_g$constants.SEGMENT.get(H5E_CANTDELETE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static void H5E_CANTDELETE_g(long varValue)
+ {
+ H5E_CANTDELETE_g$constants.SEGMENT.set(H5E_CANTDELETE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPACK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPACK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static OfLong H5E_CANTPACK_g$layout() { return H5E_CANTPACK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPACK_g$segment() { return H5E_CANTPACK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static long H5E_CANTPACK_g()
+ {
+ return H5E_CANTPACK_g$constants.SEGMENT.get(H5E_CANTPACK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static void H5E_CANTPACK_g(long varValue)
+ {
+ H5E_CANTPACK_g$constants.SEGMENT.set(H5E_CANTPACK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRENAME_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRENAME_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static OfLong H5E_CANTRENAME_g$layout() { return H5E_CANTRENAME_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRENAME_g$segment() { return H5E_CANTRENAME_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static long H5E_CANTRENAME_g()
+ {
+ return H5E_CANTRENAME_g$constants.SEGMENT.get(H5E_CANTRENAME_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static void H5E_CANTRENAME_g(long varValue)
+ {
+ H5E_CANTRENAME_g$constants.SEGMENT.set(H5E_CANTRENAME_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRESET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRESET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static OfLong H5E_CANTRESET_g$layout() { return H5E_CANTRESET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRESET_g$segment() { return H5E_CANTRESET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static long H5E_CANTRESET_g()
+ {
+ return H5E_CANTRESET_g$constants.SEGMENT.get(H5E_CANTRESET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static void H5E_CANTRESET_g(long varValue)
+ {
+ H5E_CANTRESET_g$constants.SEGMENT.set(H5E_CANTRESET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LINKCOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LINKCOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static OfLong H5E_LINKCOUNT_g$layout() { return H5E_LINKCOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_LINKCOUNT_g$segment() { return H5E_LINKCOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static long H5E_LINKCOUNT_g()
+ {
+ return H5E_LINKCOUNT_g$constants.SEGMENT.get(H5E_LINKCOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static void H5E_LINKCOUNT_g(long varValue)
+ {
+ H5E_LINKCOUNT_g$constants.SEGMENT.set(H5E_LINKCOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_VERSION_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_VERSION_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static OfLong H5E_VERSION_g$layout() { return H5E_VERSION_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static MemorySegment H5E_VERSION_g$segment() { return H5E_VERSION_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static long H5E_VERSION_g()
+ {
+ return H5E_VERSION_g$constants.SEGMENT.get(H5E_VERSION_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static void H5E_VERSION_g(long varValue)
+ {
+ H5E_VERSION_g$constants.SEGMENT.set(H5E_VERSION_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CALLBACK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CALLBACK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static OfLong H5E_CALLBACK_g$layout() { return H5E_CALLBACK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static MemorySegment H5E_CALLBACK_g$segment() { return H5E_CALLBACK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static long H5E_CALLBACK_g()
+ {
+ return H5E_CALLBACK_g$constants.SEGMENT.get(H5E_CALLBACK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static void H5E_CALLBACK_g(long varValue)
+ {
+ H5E_CALLBACK_g$constants.SEGMENT.set(H5E_CALLBACK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANAPPLY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANAPPLY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static OfLong H5E_CANAPPLY_g$layout() { return H5E_CANAPPLY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static MemorySegment H5E_CANAPPLY_g$segment() { return H5E_CANAPPLY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static long H5E_CANAPPLY_g()
+ {
+ return H5E_CANAPPLY_g$constants.SEGMENT.get(H5E_CANAPPLY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static void H5E_CANAPPLY_g(long varValue)
+ {
+ H5E_CANAPPLY_g$constants.SEGMENT.set(H5E_CANAPPLY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFILTER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFILTER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static OfLong H5E_CANTFILTER_g$layout() { return H5E_CANTFILTER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFILTER_g$segment() { return H5E_CANTFILTER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static long H5E_CANTFILTER_g()
+ {
+ return H5E_CANTFILTER_g$constants.SEGMENT.get(H5E_CANTFILTER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static void H5E_CANTFILTER_g(long varValue)
+ {
+ H5E_CANTFILTER_g$constants.SEGMENT.set(H5E_CANTFILTER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOENCODER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOENCODER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static OfLong H5E_NOENCODER_g$layout() { return H5E_NOENCODER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static MemorySegment H5E_NOENCODER_g$segment() { return H5E_NOENCODER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static long H5E_NOENCODER_g()
+ {
+ return H5E_NOENCODER_g$constants.SEGMENT.get(H5E_NOENCODER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static void H5E_NOENCODER_g(long varValue)
+ {
+ H5E_NOENCODER_g$constants.SEGMENT.set(H5E_NOENCODER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOFILTER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOFILTER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static OfLong H5E_NOFILTER_g$layout() { return H5E_NOFILTER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static MemorySegment H5E_NOFILTER_g$segment() { return H5E_NOFILTER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static long H5E_NOFILTER_g()
+ {
+ return H5E_NOFILTER_g$constants.SEGMENT.get(H5E_NOFILTER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static void H5E_NOFILTER_g(long varValue)
+ {
+ H5E_NOFILTER_g$constants.SEGMENT.set(H5E_NOFILTER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SETLOCAL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SETLOCAL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static OfLong H5E_SETLOCAL_g$layout() { return H5E_SETLOCAL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static MemorySegment H5E_SETLOCAL_g$segment() { return H5E_SETLOCAL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static long H5E_SETLOCAL_g()
+ {
+ return H5E_SETLOCAL_g$constants.SEGMENT.get(H5E_SETLOCAL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static void H5E_SETLOCAL_g(long varValue)
+ {
+ H5E_SETLOCAL_g$constants.SEGMENT.set(H5E_SETLOCAL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static OfLong H5E_CANTGET_g$layout() { return H5E_CANTGET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGET_g$segment() { return H5E_CANTGET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static long H5E_CANTGET_g()
+ {
+ return H5E_CANTGET_g$constants.SEGMENT.get(H5E_CANTGET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static void H5E_CANTGET_g(long varValue)
+ {
+ H5E_CANTGET_g$constants.SEGMENT.set(H5E_CANTGET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static OfLong H5E_CANTSET_g$layout() { return H5E_CANTSET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSET_g$segment() { return H5E_CANTSET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static long H5E_CANTSET_g()
+ {
+ return H5E_CANTSET_g$constants.SEGMENT.get(H5E_CANTSET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static void H5E_CANTSET_g(long varValue)
+ {
+ H5E_CANTSET_g$constants.SEGMENT.set(H5E_CANTSET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DUPCLASS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DUPCLASS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static OfLong H5E_DUPCLASS_g$layout() { return H5E_DUPCLASS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static MemorySegment H5E_DUPCLASS_g$segment() { return H5E_DUPCLASS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static long H5E_DUPCLASS_g()
+ {
+ return H5E_DUPCLASS_g$constants.SEGMENT.get(H5E_DUPCLASS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static void H5E_DUPCLASS_g(long varValue)
+ {
+ H5E_DUPCLASS_g$constants.SEGMENT.set(H5E_DUPCLASS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SETDISALLOWED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SETDISALLOWED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static OfLong H5E_SETDISALLOWED_g$layout() { return H5E_SETDISALLOWED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static MemorySegment H5E_SETDISALLOWED_g$segment()
+ {
+ return H5E_SETDISALLOWED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static long H5E_SETDISALLOWED_g()
+ {
+ return H5E_SETDISALLOWED_g$constants.SEGMENT.get(H5E_SETDISALLOWED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static void H5E_SETDISALLOWED_g(long varValue)
+ {
+ H5E_SETDISALLOWED_g$constants.SEGMENT.set(H5E_SETDISALLOWED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OPENERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OPENERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static OfLong H5E_OPENERROR_g$layout() { return H5E_OPENERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static MemorySegment H5E_OPENERROR_g$segment() { return H5E_OPENERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static long H5E_OPENERROR_g()
+ {
+ return H5E_OPENERROR_g$constants.SEGMENT.get(H5E_OPENERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static void H5E_OPENERROR_g(long varValue)
+ {
+ H5E_OPENERROR_g$constants.SEGMENT.set(H5E_OPENERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ALREADYEXISTS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ALREADYEXISTS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static OfLong H5E_ALREADYEXISTS_g$layout() { return H5E_ALREADYEXISTS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static MemorySegment H5E_ALREADYEXISTS_g$segment()
+ {
+ return H5E_ALREADYEXISTS_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static long H5E_ALREADYEXISTS_g()
+ {
+ return H5E_ALREADYEXISTS_g$constants.SEGMENT.get(H5E_ALREADYEXISTS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static void H5E_ALREADYEXISTS_g(long varValue)
+ {
+ H5E_ALREADYEXISTS_g$constants.SEGMENT.set(H5E_ALREADYEXISTS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTALLOC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTALLOC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static OfLong H5E_CANTALLOC_g$layout() { return H5E_CANTALLOC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTALLOC_g$segment() { return H5E_CANTALLOC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static long H5E_CANTALLOC_g()
+ {
+ return H5E_CANTALLOC_g$constants.SEGMENT.get(H5E_CANTALLOC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static void H5E_CANTALLOC_g(long varValue)
+ {
+ H5E_CANTALLOC_g$constants.SEGMENT.set(H5E_CANTALLOC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOPY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOPY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static OfLong H5E_CANTCOPY_g$layout() { return H5E_CANTCOPY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOPY_g$segment() { return H5E_CANTCOPY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static long H5E_CANTCOPY_g()
+ {
+ return H5E_CANTCOPY_g$constants.SEGMENT.get(H5E_CANTCOPY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static void H5E_CANTCOPY_g(long varValue)
+ {
+ H5E_CANTCOPY_g$constants.SEGMENT.set(H5E_CANTCOPY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFREE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFREE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static OfLong H5E_CANTFREE_g$layout() { return H5E_CANTFREE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFREE_g$segment() { return H5E_CANTFREE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static long H5E_CANTFREE_g()
+ {
+ return H5E_CANTFREE_g$constants.SEGMENT.get(H5E_CANTFREE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static void H5E_CANTFREE_g(long varValue)
+ {
+ H5E_CANTFREE_g$constants.SEGMENT.set(H5E_CANTFREE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static OfLong H5E_CANTGC_g$layout() { return H5E_CANTGC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGC_g$segment() { return H5E_CANTGC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static long H5E_CANTGC_g()
+ {
+ return H5E_CANTGC_g$constants.SEGMENT.get(H5E_CANTGC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static void H5E_CANTGC_g(long varValue)
+ {
+ H5E_CANTGC_g$constants.SEGMENT.set(H5E_CANTGC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGETSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGETSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTGETSIZE_g$layout() { return H5E_CANTGETSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGETSIZE_g$segment() { return H5E_CANTGETSIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static long H5E_CANTGETSIZE_g()
+ {
+ return H5E_CANTGETSIZE_g$constants.SEGMENT.get(H5E_CANTGETSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static void H5E_CANTGETSIZE_g(long varValue)
+ {
+ H5E_CANTGETSIZE_g$constants.SEGMENT.set(H5E_CANTGETSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLOCK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLOCK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static OfLong H5E_CANTLOCK_g$layout() { return H5E_CANTLOCK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLOCK_g$segment() { return H5E_CANTLOCK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static long H5E_CANTLOCK_g()
+ {
+ return H5E_CANTLOCK_g$constants.SEGMENT.get(H5E_CANTLOCK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static void H5E_CANTLOCK_g(long varValue)
+ {
+ H5E_CANTLOCK_g$constants.SEGMENT.set(H5E_CANTLOCK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNLOCK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNLOCK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static OfLong H5E_CANTUNLOCK_g$layout() { return H5E_CANTUNLOCK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNLOCK_g$segment() { return H5E_CANTUNLOCK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static long H5E_CANTUNLOCK_g()
+ {
+ return H5E_CANTUNLOCK_g$constants.SEGMENT.get(H5E_CANTUNLOCK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static void H5E_CANTUNLOCK_g(long varValue)
+ {
+ H5E_CANTUNLOCK_g$constants.SEGMENT.set(H5E_CANTUNLOCK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOSPACE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOSPACE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static OfLong H5E_NOSPACE_g$layout() { return H5E_NOSPACE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static MemorySegment H5E_NOSPACE_g$segment() { return H5E_NOSPACE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static long H5E_NOSPACE_g()
+ {
+ return H5E_NOSPACE_g$constants.SEGMENT.get(H5E_NOSPACE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static void H5E_NOSPACE_g(long varValue)
+ {
+ H5E_NOSPACE_g$constants.SEGMENT.set(H5E_NOSPACE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OBJOPEN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OBJOPEN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static OfLong H5E_OBJOPEN_g$layout() { return H5E_OBJOPEN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static MemorySegment H5E_OBJOPEN_g$segment() { return H5E_OBJOPEN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static long H5E_OBJOPEN_g()
+ {
+ return H5E_OBJOPEN_g$constants.SEGMENT.get(H5E_OBJOPEN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static void H5E_OBJOPEN_g(long varValue)
+ {
+ H5E_OBJOPEN_g$constants.SEGMENT.set(H5E_OBJOPEN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SYSERRSTR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SYSERRSTR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static OfLong H5E_SYSERRSTR_g$layout() { return H5E_SYSERRSTR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static MemorySegment H5E_SYSERRSTR_g$segment() { return H5E_SYSERRSTR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static long H5E_SYSERRSTR_g()
+ {
+ return H5E_SYSERRSTR_g$constants.SEGMENT.get(H5E_SYSERRSTR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static void H5E_SYSERRSTR_g(long varValue)
+ {
+ H5E_SYSERRSTR_g$constants.SEGMENT.set(H5E_SYSERRSTR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static OfLong H5E_BADSIZE_g$layout() { return H5E_BADSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static MemorySegment H5E_BADSIZE_g$segment() { return H5E_BADSIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static long H5E_BADSIZE_g()
+ {
+ return H5E_BADSIZE_g$constants.SEGMENT.get(H5E_BADSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static void H5E_BADSIZE_g(long varValue)
+ {
+ H5E_BADSIZE_g$constants.SEGMENT.set(H5E_BADSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCONVERT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCONVERT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static OfLong H5E_CANTCONVERT_g$layout() { return H5E_CANTCONVERT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCONVERT_g$segment() { return H5E_CANTCONVERT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static long H5E_CANTCONVERT_g()
+ {
+ return H5E_CANTCONVERT_g$constants.SEGMENT.get(H5E_CANTCONVERT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static void H5E_CANTCONVERT_g(long varValue)
+ {
+ H5E_CANTCONVERT_g$constants.SEGMENT.set(H5E_CANTCONVERT_g$constants.LAYOUT, 0L, varValue);
+ }
+ private static final int H5E_WALK_UPWARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_direction_t.H5E_WALK_UPWARD = 0
+ * }
+ */
+ public static int H5E_WALK_UPWARD() { return H5E_WALK_UPWARD; }
+ private static final int H5E_WALK_DOWNWARD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_direction_t.H5E_WALK_DOWNWARD = 1
+ * }
+ */
+ public static int H5E_WALK_DOWNWARD() { return H5E_WALK_DOWNWARD; }
+
+ private static class H5Eregister_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eregister_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static FunctionDescriptor H5Eregister_class$descriptor() { return H5Eregister_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static MethodHandle H5Eregister_class$handle() { return H5Eregister_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static MemorySegment H5Eregister_class$address() { return H5Eregister_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static long H5Eregister_class(MemorySegment cls_name, MemorySegment lib_name,
+ MemorySegment version)
+ {
+ var mh$ = H5Eregister_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eregister_class", cls_name, lib_name, version);
+ }
+ return (long)mh$.invokeExact(cls_name, lib_name, version);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eunregister_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eunregister_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eunregister_class$descriptor() { return H5Eunregister_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static MethodHandle H5Eunregister_class$handle() { return H5Eunregister_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static MemorySegment H5Eunregister_class$address() { return H5Eunregister_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static int H5Eunregister_class(long class_id)
+ {
+ var mh$ = H5Eunregister_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eunregister_class", class_id);
+ }
+ return (int)mh$.invokeExact(class_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eclose_msg {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclose_msg");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eclose_msg$descriptor() { return H5Eclose_msg.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static MethodHandle H5Eclose_msg$handle() { return H5Eclose_msg.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static MemorySegment H5Eclose_msg$address() { return H5Eclose_msg.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static int H5Eclose_msg(long err_id)
+ {
+ var mh$ = H5Eclose_msg.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclose_msg", err_id);
+ }
+ return (int)mh$.invokeExact(err_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ecreate_msg {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ecreate_msg");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static FunctionDescriptor H5Ecreate_msg$descriptor() { return H5Ecreate_msg.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static MethodHandle H5Ecreate_msg$handle() { return H5Ecreate_msg.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static MemorySegment H5Ecreate_msg$address() { return H5Ecreate_msg.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static long H5Ecreate_msg(long cls, int msg_type, MemorySegment msg)
+ {
+ var mh$ = H5Ecreate_msg.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ecreate_msg", cls, msg_type, msg);
+ }
+ return (long)mh$.invokeExact(cls, msg_type, msg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ecreate_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ecreate_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static FunctionDescriptor H5Ecreate_stack$descriptor() { return H5Ecreate_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static MethodHandle H5Ecreate_stack$handle() { return H5Ecreate_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static MemorySegment H5Ecreate_stack$address() { return H5Ecreate_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static long H5Ecreate_stack()
+ {
+ var mh$ = H5Ecreate_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ecreate_stack");
+ }
+ return (long)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_current_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_current_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static FunctionDescriptor H5Eget_current_stack$descriptor() { return H5Eget_current_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static MethodHandle H5Eget_current_stack$handle() { return H5Eget_current_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static MemorySegment H5Eget_current_stack$address() { return H5Eget_current_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static long H5Eget_current_stack()
+ {
+ var mh$ = H5Eget_current_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_current_stack");
+ }
+ return (long)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eappend_stack {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eappend_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static FunctionDescriptor H5Eappend_stack$descriptor() { return H5Eappend_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static MethodHandle H5Eappend_stack$handle() { return H5Eappend_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static MemorySegment H5Eappend_stack$address() { return H5Eappend_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static int H5Eappend_stack(long dst_stack_id, long src_stack_id, boolean close_source_stack)
+ {
+ var mh$ = H5Eappend_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eappend_stack", dst_stack_id, src_stack_id, close_source_stack);
+ }
+ return (int)mh$.invokeExact(dst_stack_id, src_stack_id, close_source_stack);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eis_paused {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eis_paused");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static FunctionDescriptor H5Eis_paused$descriptor() { return H5Eis_paused.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static MethodHandle H5Eis_paused$handle() { return H5Eis_paused.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static MemorySegment H5Eis_paused$address() { return H5Eis_paused.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static int H5Eis_paused(long stack_id, MemorySegment is_paused)
+ {
+ var mh$ = H5Eis_paused.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eis_paused", stack_id, is_paused);
+ }
+ return (int)mh$.invokeExact(stack_id, is_paused);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Epause_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epause_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Epause_stack$descriptor() { return H5Epause_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static MethodHandle H5Epause_stack$handle() { return H5Epause_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static MemorySegment H5Epause_stack$address() { return H5Epause_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static int H5Epause_stack(long stack_id)
+ {
+ var mh$ = H5Epause_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epause_stack", stack_id);
+ }
+ return (int)mh$.invokeExact(stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eresume_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eresume_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eresume_stack$descriptor() { return H5Eresume_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static MethodHandle H5Eresume_stack$handle() { return H5Eresume_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static MemorySegment H5Eresume_stack$address() { return H5Eresume_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static int H5Eresume_stack(long stack_id)
+ {
+ var mh$ = H5Eresume_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eresume_stack", stack_id);
+ }
+ return (int)mh$.invokeExact(stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eclose_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclose_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eclose_stack$descriptor() { return H5Eclose_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static MethodHandle H5Eclose_stack$handle() { return H5Eclose_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static MemorySegment H5Eclose_stack$address() { return H5Eclose_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static int H5Eclose_stack(long stack_id)
+ {
+ var mh$ = H5Eclose_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclose_stack", stack_id);
+ }
+ return (int)mh$.invokeExact(stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_class_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_class_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_class_name$descriptor() { return H5Eget_class_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Eget_class_name$handle() { return H5Eget_class_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Eget_class_name$address() { return H5Eget_class_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static long H5Eget_class_name(long class_id, MemorySegment name, long size)
+ {
+ var mh$ = H5Eget_class_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_class_name", class_id, name, size);
+ }
+ return (long)mh$.invokeExact(class_id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eset_current_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eset_current_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eset_current_stack$descriptor() { return H5Eset_current_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static MethodHandle H5Eset_current_stack$handle() { return H5Eset_current_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static MemorySegment H5Eset_current_stack$address() { return H5Eset_current_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static int H5Eset_current_stack(long err_stack_id)
+ {
+ var mh$ = H5Eset_current_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eset_current_stack", err_stack_id);
+ }
+ return (int)mh$.invokeExact(err_stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * herr_t H5Epush2(hid_t err_stack, const char *file, const char *func, unsigned int line, hid_t cls_id,
+ * hid_t maj_id, hid_t min_id, const char *msg, ...)
+ * }
+ */
+ public static class H5Epush2 {
+ private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epush2");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private H5Epush2(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * herr_t H5Epush2(hid_t err_stack, const char *file, const char *func, unsigned int line, hid_t
+ * cls_id, hid_t maj_id, hid_t min_id, const char *msg, ...)
+ * }
+ */
+ public static H5Epush2 makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new H5Epush2(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(long err_stack, MemorySegment file, MemorySegment func, int line, long cls_id,
+ long maj_id, long min_id, MemorySegment msg, Object... x8)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epush2", err_stack, file, func, line, cls_id, maj_id, min_id, msg, x8);
+ }
+ return (int)spreader.invokeExact(err_stack, file, func, line, cls_id, maj_id, min_id, msg,
+ x8);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class H5Epop {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epop");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static FunctionDescriptor H5Epop$descriptor() { return H5Epop.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static MethodHandle H5Epop$handle() { return H5Epop.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static MemorySegment H5Epop$address() { return H5Epop.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static int H5Epop(long err_stack, long count)
+ {
+ var mh$ = H5Epop.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epop", err_stack, count);
+ }
+ return (int)mh$.invokeExact(err_stack, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eprint2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eprint2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static FunctionDescriptor H5Eprint2$descriptor() { return H5Eprint2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static MethodHandle H5Eprint2$handle() { return H5Eprint2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static MemorySegment H5Eprint2$address() { return H5Eprint2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static int H5Eprint2(long err_stack, MemorySegment stream)
+ {
+ var mh$ = H5Eprint2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eprint2", err_stack, stream);
+ }
+ return (int)mh$.invokeExact(err_stack, stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ewalk2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ewalk2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Ewalk2$descriptor() { return H5Ewalk2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Ewalk2$handle() { return H5Ewalk2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Ewalk2$address() { return H5Ewalk2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static int H5Ewalk2(long err_stack, int direction, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Ewalk2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ewalk2", err_stack, direction, func, client_data);
+ }
+ return (int)mh$.invokeExact(err_stack, direction, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_auto2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_auto2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_auto2$descriptor() { return H5Eget_auto2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static MethodHandle H5Eget_auto2$handle() { return H5Eget_auto2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static MemorySegment H5Eget_auto2$address() { return H5Eget_auto2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static int H5Eget_auto2(long estack_id, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eget_auto2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_auto2", estack_id, func, client_data);
+ }
+ return (int)mh$.invokeExact(estack_id, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eset_auto2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eset_auto2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eset_auto2$descriptor() { return H5Eset_auto2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Eset_auto2$handle() { return H5Eset_auto2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Eset_auto2$address() { return H5Eset_auto2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static int H5Eset_auto2(long estack_id, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eset_auto2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eset_auto2", estack_id, func, client_data);
+ }
+ return (int)mh$.invokeExact(estack_id, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eclear2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclear2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static FunctionDescriptor H5Eclear2$descriptor() { return H5Eclear2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static MethodHandle H5Eclear2$handle() { return H5Eclear2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static MemorySegment H5Eclear2$address() { return H5Eclear2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static int H5Eclear2(long err_stack)
+ {
+ var mh$ = H5Eclear2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclear2", err_stack);
+ }
+ return (int)mh$.invokeExact(err_stack);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eauto_is_v2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eauto_is_v2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static FunctionDescriptor H5Eauto_is_v2$descriptor() { return H5Eauto_is_v2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static MethodHandle H5Eauto_is_v2$handle() { return H5Eauto_is_v2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static MemorySegment H5Eauto_is_v2$address() { return H5Eauto_is_v2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static int H5Eauto_is_v2(long err_stack, MemorySegment is_stack)
+ {
+ var mh$ = H5Eauto_is_v2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eauto_is_v2", err_stack, is_stack);
+ }
+ return (int)mh$.invokeExact(err_stack, is_stack);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_msg {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_msg");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_msg$descriptor() { return H5Eget_msg.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static MethodHandle H5Eget_msg$handle() { return H5Eget_msg.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static MemorySegment H5Eget_msg$address() { return H5Eget_msg.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static long H5Eget_msg(long msg_id, MemorySegment type, MemorySegment msg, long size)
+ {
+ var mh$ = H5Eget_msg.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_msg", msg_id, type, msg, size);
+ }
+ return (long)mh$.invokeExact(msg_id, type, msg, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_num {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_num");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_num$descriptor() { return H5Eget_num.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static MethodHandle H5Eget_num$handle() { return H5Eget_num.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static MemorySegment H5Eget_num$address() { return H5Eget_num.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static long H5Eget_num(long error_stack_id)
+ {
+ var mh$ = H5Eget_num.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_num", error_stack_id);
+ }
+ return (long)mh$.invokeExact(error_stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef hid_t H5E_major_t
+ * }
+ */
+ public static final OfLong H5E_major_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef hid_t H5E_minor_t
+ * }
+ */
+ public static final OfLong H5E_minor_t = hdf5_h.C_LONG_LONG;
+
+ private static class H5Eclear1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclear1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static FunctionDescriptor H5Eclear1$descriptor() { return H5Eclear1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static MethodHandle H5Eclear1$handle() { return H5Eclear1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static MemorySegment H5Eclear1$address() { return H5Eclear1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static int H5Eclear1()
+ {
+ var mh$ = H5Eclear1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclear1");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_auto1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_auto1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_auto1$descriptor() { return H5Eget_auto1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static MethodHandle H5Eget_auto1$handle() { return H5Eget_auto1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static MemorySegment H5Eget_auto1$address() { return H5Eget_auto1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static int H5Eget_auto1(MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eget_auto1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_auto1", func, client_data);
+ }
+ return (int)mh$.invokeExact(func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Epush1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epush1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static FunctionDescriptor H5Epush1$descriptor() { return H5Epush1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static MethodHandle H5Epush1$handle() { return H5Epush1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static MemorySegment H5Epush1$address() { return H5Epush1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static int H5Epush1(MemorySegment file, MemorySegment func, int line, long maj, long min,
+ MemorySegment str)
+ {
+ var mh$ = H5Epush1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epush1", file, func, line, maj, min, str);
+ }
+ return (int)mh$.invokeExact(file, func, line, maj, min, str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eprint1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eprint1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static FunctionDescriptor H5Eprint1$descriptor() { return H5Eprint1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static MethodHandle H5Eprint1$handle() { return H5Eprint1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static MemorySegment H5Eprint1$address() { return H5Eprint1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static int H5Eprint1(MemorySegment stream)
+ {
+ var mh$ = H5Eprint1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eprint1", stream);
+ }
+ return (int)mh$.invokeExact(stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eset_auto1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eset_auto1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eset_auto1$descriptor() { return H5Eset_auto1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Eset_auto1$handle() { return H5Eset_auto1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Eset_auto1$address() { return H5Eset_auto1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static int H5Eset_auto1(MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eset_auto1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eset_auto1", func, client_data);
+ }
+ return (int)mh$.invokeExact(func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ewalk1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ewalk1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Ewalk1$descriptor() { return H5Ewalk1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Ewalk1$handle() { return H5Ewalk1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Ewalk1$address() { return H5Ewalk1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static int H5Ewalk1(int direction, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Ewalk1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ewalk1", direction, func, client_data);
+ }
+ return (int)mh$.invokeExact(direction, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_major {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_major");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_major$descriptor() { return H5Eget_major.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static MethodHandle H5Eget_major$handle() { return H5Eget_major.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static MemorySegment H5Eget_major$address() { return H5Eget_major.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static MemorySegment H5Eget_major(long maj)
+ {
+ var mh$ = H5Eget_major.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_major", maj);
+ }
+ return (MemorySegment)mh$.invokeExact(maj);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_minor {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_minor");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_minor$descriptor() { return H5Eget_minor.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static MethodHandle H5Eget_minor$handle() { return H5Eget_minor.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static MemorySegment H5Eget_minor$address() { return H5Eget_minor.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static MemorySegment H5Eget_minor(long min)
+ {
+ var mh$ = H5Eget_minor.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_minor", min);
+ }
+ return (MemorySegment)mh$.invokeExact(min);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5ES_STATUS_IN_PROGRESS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_IN_PROGRESS = 0
+ * }
+ */
+ public static int H5ES_STATUS_IN_PROGRESS() { return H5ES_STATUS_IN_PROGRESS; }
+ private static final int H5ES_STATUS_SUCCEED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_SUCCEED = 1
+ * }
+ */
+ public static int H5ES_STATUS_SUCCEED() { return H5ES_STATUS_SUCCEED; }
+ private static final int H5ES_STATUS_CANCELED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_CANCELED = 2
+ * }
+ */
+ public static int H5ES_STATUS_CANCELED() { return H5ES_STATUS_CANCELED; }
+ private static final int H5ES_STATUS_FAIL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_FAIL = 3
+ * }
+ */
+ public static int H5ES_STATUS_FAIL() { return H5ES_STATUS_FAIL; }
+
+ private static class H5EScreate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5EScreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static FunctionDescriptor H5EScreate$descriptor() { return H5EScreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static MethodHandle H5EScreate$handle() { return H5EScreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static MemorySegment H5EScreate$address() { return H5EScreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static long H5EScreate()
+ {
+ var mh$ = H5EScreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5EScreate");
+ }
+ return (long)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESwait {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESwait");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static FunctionDescriptor H5ESwait$descriptor() { return H5ESwait.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static MethodHandle H5ESwait$handle() { return H5ESwait.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static MemorySegment H5ESwait$address() { return H5ESwait.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static int H5ESwait(long es_id, long timeout, MemorySegment num_in_progress,
+ MemorySegment err_occurred)
+ {
+ var mh$ = H5ESwait.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESwait", es_id, timeout, num_in_progress, err_occurred);
+ }
+ return (int)mh$.invokeExact(es_id, timeout, num_in_progress, err_occurred);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5EScancel {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5EScancel");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static FunctionDescriptor H5EScancel$descriptor() { return H5EScancel.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static MethodHandle H5EScancel$handle() { return H5EScancel.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static MemorySegment H5EScancel$address() { return H5EScancel.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static int H5EScancel(long es_id, MemorySegment num_not_canceled, MemorySegment err_occurred)
+ {
+ var mh$ = H5EScancel.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5EScancel", es_id, num_not_canceled, err_occurred);
+ }
+ return (int)mh$.invokeExact(es_id, num_not_canceled, err_occurred);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_count$descriptor() { return H5ESget_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static MethodHandle H5ESget_count$handle() { return H5ESget_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static MemorySegment H5ESget_count$address() { return H5ESget_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static int H5ESget_count(long es_id, MemorySegment count)
+ {
+ var mh$ = H5ESget_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_count", es_id, count);
+ }
+ return (int)mh$.invokeExact(es_id, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_op_counter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_op_counter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_op_counter$descriptor() { return H5ESget_op_counter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static MethodHandle H5ESget_op_counter$handle() { return H5ESget_op_counter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static MemorySegment H5ESget_op_counter$address() { return H5ESget_op_counter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static int H5ESget_op_counter(long es_id, MemorySegment counter)
+ {
+ var mh$ = H5ESget_op_counter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_op_counter", es_id, counter);
+ }
+ return (int)mh$.invokeExact(es_id, counter);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_err_status {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_err_status");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_err_status$descriptor() { return H5ESget_err_status.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static MethodHandle H5ESget_err_status$handle() { return H5ESget_err_status.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static MemorySegment H5ESget_err_status$address() { return H5ESget_err_status.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static int H5ESget_err_status(long es_id, MemorySegment err_occurred)
+ {
+ var mh$ = H5ESget_err_status.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_err_status", es_id, err_occurred);
+ }
+ return (int)mh$.invokeExact(es_id, err_occurred);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_err_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_err_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_err_count$descriptor() { return H5ESget_err_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static MethodHandle H5ESget_err_count$handle() { return H5ESget_err_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static MemorySegment H5ESget_err_count$address() { return H5ESget_err_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static int H5ESget_err_count(long es_id, MemorySegment num_errs)
+ {
+ var mh$ = H5ESget_err_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_err_count", es_id, num_errs);
+ }
+ return (int)mh$.invokeExact(es_id, num_errs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_err_info {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_err_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_err_info$descriptor() { return H5ESget_err_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static MethodHandle H5ESget_err_info$handle() { return H5ESget_err_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static MemorySegment H5ESget_err_info$address() { return H5ESget_err_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static int H5ESget_err_info(long es_id, long num_err_info, MemorySegment err_info,
+ MemorySegment err_cleared)
+ {
+ var mh$ = H5ESget_err_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_err_info", es_id, num_err_info, err_info, err_cleared);
+ }
+ return (int)mh$.invokeExact(es_id, num_err_info, err_info, err_cleared);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESfree_err_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESfree_err_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static FunctionDescriptor H5ESfree_err_info$descriptor() { return H5ESfree_err_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static MethodHandle H5ESfree_err_info$handle() { return H5ESfree_err_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static MemorySegment H5ESfree_err_info$address() { return H5ESfree_err_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static int H5ESfree_err_info(long num_err_info, MemorySegment err_info)
+ {
+ var mh$ = H5ESfree_err_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESfree_err_info", num_err_info, err_info);
+ }
+ return (int)mh$.invokeExact(num_err_info, err_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESregister_insert_func {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESregister_insert_func");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5ESregister_insert_func$descriptor()
+ {
+ return H5ESregister_insert_func.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static MethodHandle H5ESregister_insert_func$handle() { return H5ESregister_insert_func.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static MemorySegment H5ESregister_insert_func$address() { return H5ESregister_insert_func.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static int H5ESregister_insert_func(long es_id, MemorySegment func, MemorySegment ctx)
+ {
+ var mh$ = H5ESregister_insert_func.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESregister_insert_func", es_id, func, ctx);
+ }
+ return (int)mh$.invokeExact(es_id, func, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESregister_complete_func {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESregister_complete_func");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5ESregister_complete_func$descriptor()
+ {
+ return H5ESregister_complete_func.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static MethodHandle H5ESregister_complete_func$handle()
+ {
+ return H5ESregister_complete_func.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static MemorySegment H5ESregister_complete_func$address()
+ {
+ return H5ESregister_complete_func.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static int H5ESregister_complete_func(long es_id, MemorySegment func, MemorySegment ctx)
+ {
+ var mh$ = H5ESregister_complete_func.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESregister_complete_func", es_id, func, ctx);
+ }
+ return (int)mh$.invokeExact(es_id, func, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5ESclose$descriptor() { return H5ESclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5ESclose$handle() { return H5ESclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5ESclose$address() { return H5ESclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static int H5ESclose(long es_id)
+ {
+ var mh$ = H5ESclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESclose", es_id);
+ }
+ return (int)mh$.invokeExact(es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5F_SCOPE_LOCAL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_scope_t.H5F_SCOPE_LOCAL = 0
+ * }
+ */
+ public static int H5F_SCOPE_LOCAL() { return H5F_SCOPE_LOCAL; }
+ private static final int H5F_SCOPE_GLOBAL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_scope_t.H5F_SCOPE_GLOBAL = 1
+ * }
+ */
+ public static int H5F_SCOPE_GLOBAL() { return H5F_SCOPE_GLOBAL; }
+ private static final int H5F_CLOSE_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_DEFAULT = 0
+ * }
+ */
+ public static int H5F_CLOSE_DEFAULT() { return H5F_CLOSE_DEFAULT; }
+ private static final int H5F_CLOSE_WEAK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_WEAK = 1
+ * }
+ */
+ public static int H5F_CLOSE_WEAK() { return H5F_CLOSE_WEAK; }
+ private static final int H5F_CLOSE_SEMI = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_SEMI = 2
+ * }
+ */
+ public static int H5F_CLOSE_SEMI() { return H5F_CLOSE_SEMI; }
+ private static final int H5F_CLOSE_STRONG = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_STRONG = 3
+ * }
+ */
+ public static int H5F_CLOSE_STRONG() { return H5F_CLOSE_STRONG; }
+ private static final int H5FD_MEM_NOLIST = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_NOLIST = -1
+ * }
+ */
+ public static int H5FD_MEM_NOLIST() { return H5FD_MEM_NOLIST; }
+ private static final int H5FD_MEM_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_DEFAULT = 0
+ * }
+ */
+ public static int H5FD_MEM_DEFAULT() { return H5FD_MEM_DEFAULT; }
+ private static final int H5FD_MEM_SUPER = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_SUPER = 1
+ * }
+ */
+ public static int H5FD_MEM_SUPER() { return H5FD_MEM_SUPER; }
+ private static final int H5FD_MEM_BTREE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_BTREE = 2
+ * }
+ */
+ public static int H5FD_MEM_BTREE() { return H5FD_MEM_BTREE; }
+ private static final int H5FD_MEM_DRAW = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_DRAW = 3
+ * }
+ */
+ public static int H5FD_MEM_DRAW() { return H5FD_MEM_DRAW; }
+ private static final int H5FD_MEM_GHEAP = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_GHEAP = 4
+ * }
+ */
+ public static int H5FD_MEM_GHEAP() { return H5FD_MEM_GHEAP; }
+ private static final int H5FD_MEM_LHEAP = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_LHEAP = 5
+ * }
+ */
+ public static int H5FD_MEM_LHEAP() { return H5FD_MEM_LHEAP; }
+ private static final int H5FD_MEM_OHDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_OHDR = 6
+ * }
+ */
+ public static int H5FD_MEM_OHDR() { return H5FD_MEM_OHDR; }
+ private static final int H5FD_MEM_NTYPES = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_NTYPES = 7
+ * }
+ */
+ public static int H5FD_MEM_NTYPES() { return H5FD_MEM_NTYPES; }
+ private static final int H5F_LIBVER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_ERROR = -1
+ * }
+ */
+ public static int H5F_LIBVER_ERROR() { return H5F_LIBVER_ERROR; }
+ private static final int H5F_LIBVER_EARLIEST = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_EARLIEST = 0
+ * }
+ */
+ public static int H5F_LIBVER_EARLIEST() { return H5F_LIBVER_EARLIEST; }
+ private static final int H5F_LIBVER_V18 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V18 = 1
+ * }
+ */
+ public static int H5F_LIBVER_V18() { return H5F_LIBVER_V18; }
+ private static final int H5F_LIBVER_V110 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V110 = 2
+ * }
+ */
+ public static int H5F_LIBVER_V110() { return H5F_LIBVER_V110; }
+ private static final int H5F_LIBVER_V112 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V112 = 3
+ * }
+ */
+ public static int H5F_LIBVER_V112() { return H5F_LIBVER_V112; }
+ private static final int H5F_LIBVER_V114 = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V114 = 4
+ * }
+ */
+ public static int H5F_LIBVER_V114() { return H5F_LIBVER_V114; }
+ private static final int H5F_LIBVER_V200 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V200 = 5
+ * }
+ */
+ public static int H5F_LIBVER_V200() { return H5F_LIBVER_V200; }
+ private static final int H5F_LIBVER_LATEST = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_LATEST = 5
+ * }
+ */
+ public static int H5F_LIBVER_LATEST() { return H5F_LIBVER_LATEST; }
+ private static final int H5F_LIBVER_NBOUNDS = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_NBOUNDS = 6
+ * }
+ */
+ public static int H5F_LIBVER_NBOUNDS() { return H5F_LIBVER_NBOUNDS; }
+ private static final int H5F_FSPACE_STRATEGY_FSM_AGGR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_FSM_AGGR = 0
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_FSM_AGGR() { return H5F_FSPACE_STRATEGY_FSM_AGGR; }
+ private static final int H5F_FSPACE_STRATEGY_PAGE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_PAGE = 1
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_PAGE() { return H5F_FSPACE_STRATEGY_PAGE; }
+ private static final int H5F_FSPACE_STRATEGY_AGGR = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_AGGR = 2
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_AGGR() { return H5F_FSPACE_STRATEGY_AGGR; }
+ private static final int H5F_FSPACE_STRATEGY_NONE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_NONE = 3
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_NONE() { return H5F_FSPACE_STRATEGY_NONE; }
+ private static final int H5F_FSPACE_STRATEGY_NTYPES = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_NTYPES = 4
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_NTYPES() { return H5F_FSPACE_STRATEGY_NTYPES; }
+ private static final int H5F_FILE_SPACE_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_DEFAULT = 0
+ * }
+ */
+ public static int H5F_FILE_SPACE_DEFAULT() { return H5F_FILE_SPACE_DEFAULT; }
+ private static final int H5F_FILE_SPACE_ALL_PERSIST = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_ALL_PERSIST = 1
+ * }
+ */
+ public static int H5F_FILE_SPACE_ALL_PERSIST() { return H5F_FILE_SPACE_ALL_PERSIST; }
+ private static final int H5F_FILE_SPACE_ALL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_ALL = 2
+ * }
+ */
+ public static int H5F_FILE_SPACE_ALL() { return H5F_FILE_SPACE_ALL; }
+ private static final int H5F_FILE_SPACE_AGGR_VFD = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_AGGR_VFD = 3
+ * }
+ */
+ public static int H5F_FILE_SPACE_AGGR_VFD() { return H5F_FILE_SPACE_AGGR_VFD; }
+ private static final int H5F_FILE_SPACE_VFD = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_VFD = 4
+ * }
+ */
+ public static int H5F_FILE_SPACE_VFD() { return H5F_FILE_SPACE_VFD; }
+ private static final int H5F_FILE_SPACE_NTYPES = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_NTYPES = 5
+ * }
+ */
+ public static int H5F_FILE_SPACE_NTYPES() { return H5F_FILE_SPACE_NTYPES; }
+
+ private static class H5Fis_accessible {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fis_accessible");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fis_accessible$descriptor() { return H5Fis_accessible.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fis_accessible$handle() { return H5Fis_accessible.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fis_accessible$address() { return H5Fis_accessible.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static int H5Fis_accessible(MemorySegment container_name, long fapl_id)
+ {
+ var mh$ = H5Fis_accessible.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fis_accessible", container_name, fapl_id);
+ }
+ return (int)mh$.invokeExact(container_name, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fcreate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fcreate$descriptor() { return H5Fcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fcreate$handle() { return H5Fcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fcreate$address() { return H5Fcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static long H5Fcreate(MemorySegment filename, int flags, long fcpl_id, long fapl_id)
+ {
+ var mh$ = H5Fcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fcreate", filename, flags, fcpl_id, fapl_id);
+ }
+ return (long)mh$.invokeExact(filename, flags, fcpl_id, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fcreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fcreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fcreate_async$descriptor() { return H5Fcreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fcreate_async$handle() { return H5Fcreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fcreate_async$address() { return H5Fcreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Fcreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment filename, int flags, long fcpl_id, long fapl_id,
+ long es_id)
+ {
+ var mh$ = H5Fcreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fcreate_async", app_file, app_func, app_line, filename, flags, fcpl_id,
+ fapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, filename, flags, fcpl_id, fapl_id,
+ es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fopen$descriptor() { return H5Fopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fopen$handle() { return H5Fopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fopen$address() { return H5Fopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static long H5Fopen(MemorySegment filename, int flags, long fapl_id)
+ {
+ var mh$ = H5Fopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fopen", filename, flags, fapl_id);
+ }
+ return (long)mh$.invokeExact(filename, flags, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fopen_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fopen_async$descriptor() { return H5Fopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fopen_async$handle() { return H5Fopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fopen_async$address() { return H5Fopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static long H5Fopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment filename, int flags, long access_plist, long es_id)
+ {
+ var mh$ = H5Fopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fopen_async", app_file, app_func, app_line, filename, flags, access_plist,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, filename, flags, access_plist, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freopen$descriptor() { return H5Freopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Freopen$handle() { return H5Freopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Freopen$address() { return H5Freopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static long H5Freopen(long file_id)
+ {
+ var mh$ = H5Freopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freopen", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freopen_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freopen_async$descriptor() { return H5Freopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Freopen_async$handle() { return H5Freopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Freopen_async$address() { return H5Freopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static long H5Freopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long file_id, long es_id)
+ {
+ var mh$ = H5Freopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freopen_async", app_file, app_func, app_line, file_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, file_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fflush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static FunctionDescriptor H5Fflush$descriptor() { return H5Fflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static MethodHandle H5Fflush$handle() { return H5Fflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static MemorySegment H5Fflush$address() { return H5Fflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static int H5Fflush(long object_id, int scope)
+ {
+ var mh$ = H5Fflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fflush", object_id, scope);
+ }
+ return (int)mh$.invokeExact(object_id, scope);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fflush_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fflush_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fflush_async$descriptor() { return H5Fflush_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fflush_async$handle() { return H5Fflush_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fflush_async$address() { return H5Fflush_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static int H5Fflush_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long object_id, int scope, long es_id)
+ {
+ var mh$ = H5Fflush_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fflush_async", app_file, app_func, app_line, object_id, scope, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, object_id, scope, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fclose$descriptor() { return H5Fclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fclose$handle() { return H5Fclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fclose$address() { return H5Fclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static int H5Fclose(long file_id)
+ {
+ var mh$ = H5Fclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fclose", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fclose_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fclose_async$descriptor() { return H5Fclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fclose_async$handle() { return H5Fclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fclose_async$address() { return H5Fclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Fclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long file_id, long es_id)
+ {
+ var mh$ = H5Fclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fclose_async", app_file, app_func, app_line, file_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, file_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fdelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fdelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fdelete$descriptor() { return H5Fdelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fdelete$handle() { return H5Fdelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fdelete$address() { return H5Fdelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static int H5Fdelete(MemorySegment filename, long fapl_id)
+ {
+ var mh$ = H5Fdelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fdelete", filename, fapl_id);
+ }
+ return (int)mh$.invokeExact(filename, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_create_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_create_plist$descriptor() { return H5Fget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fget_create_plist$handle() { return H5Fget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fget_create_plist$address() { return H5Fget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static long H5Fget_create_plist(long file_id)
+ {
+ var mh$ = H5Fget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_create_plist", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_access_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_access_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_access_plist$descriptor() { return H5Fget_access_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fget_access_plist$handle() { return H5Fget_access_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fget_access_plist$address() { return H5Fget_access_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static long H5Fget_access_plist(long file_id)
+ {
+ var mh$ = H5Fget_access_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_access_plist", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_intent {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_intent");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_intent$descriptor() { return H5Fget_intent.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static MethodHandle H5Fget_intent$handle() { return H5Fget_intent.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static MemorySegment H5Fget_intent$address() { return H5Fget_intent.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static int H5Fget_intent(long file_id, MemorySegment intent)
+ {
+ var mh$ = H5Fget_intent.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_intent", file_id, intent);
+ }
+ return (int)mh$.invokeExact(file_id, intent);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_fileno {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_fileno");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_fileno$descriptor() { return H5Fget_fileno.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static MethodHandle H5Fget_fileno$handle() { return H5Fget_fileno.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static MemorySegment H5Fget_fileno$address() { return H5Fget_fileno.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static int H5Fget_fileno(long file_id, MemorySegment fileno)
+ {
+ var mh$ = H5Fget_fileno.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_fileno", file_id, fileno);
+ }
+ return (int)mh$.invokeExact(file_id, fileno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_obj_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_obj_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_obj_count$descriptor() { return H5Fget_obj_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static MethodHandle H5Fget_obj_count$handle() { return H5Fget_obj_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static MemorySegment H5Fget_obj_count$address() { return H5Fget_obj_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static long H5Fget_obj_count(long file_id, int types)
+ {
+ var mh$ = H5Fget_obj_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_obj_count", file_id, types);
+ }
+ return (long)mh$.invokeExact(file_id, types);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_obj_ids {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_obj_ids");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_obj_ids$descriptor() { return H5Fget_obj_ids.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static MethodHandle H5Fget_obj_ids$handle() { return H5Fget_obj_ids.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static MemorySegment H5Fget_obj_ids$address() { return H5Fget_obj_ids.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static long H5Fget_obj_ids(long file_id, int types, long max_objs, MemorySegment obj_id_list)
+ {
+ var mh$ = H5Fget_obj_ids.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_obj_ids", file_id, types, max_objs, obj_id_list);
+ }
+ return (long)mh$.invokeExact(file_id, types, max_objs, obj_id_list);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_vfd_handle {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_vfd_handle");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_vfd_handle$descriptor() { return H5Fget_vfd_handle.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MethodHandle H5Fget_vfd_handle$handle() { return H5Fget_vfd_handle.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MemorySegment H5Fget_vfd_handle$address() { return H5Fget_vfd_handle.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static int H5Fget_vfd_handle(long file_id, long fapl, MemorySegment file_handle)
+ {
+ var mh$ = H5Fget_vfd_handle.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_vfd_handle", file_id, fapl, file_handle);
+ }
+ return (int)mh$.invokeExact(file_id, fapl, file_handle);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fmount {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fmount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static FunctionDescriptor H5Fmount$descriptor() { return H5Fmount.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static MethodHandle H5Fmount$handle() { return H5Fmount.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static MemorySegment H5Fmount$address() { return H5Fmount.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static int H5Fmount(long loc_id, MemorySegment name, long child, long plist)
+ {
+ var mh$ = H5Fmount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fmount", loc_id, name, child, plist);
+ }
+ return (int)mh$.invokeExact(loc_id, name, child, plist);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Funmount {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Funmount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Funmount$descriptor() { return H5Funmount.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Funmount$handle() { return H5Funmount.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Funmount$address() { return H5Funmount.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static int H5Funmount(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Funmount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Funmount", loc_id, name);
+ }
+ return (int)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_freespace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_freespace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_freespace$descriptor() { return H5Fget_freespace.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fget_freespace$handle() { return H5Fget_freespace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fget_freespace$address() { return H5Fget_freespace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static long H5Fget_freespace(long file_id)
+ {
+ var mh$ = H5Fget_freespace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_freespace", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_filesize {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_filesize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_filesize$descriptor() { return H5Fget_filesize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Fget_filesize$handle() { return H5Fget_filesize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Fget_filesize$address() { return H5Fget_filesize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static int H5Fget_filesize(long file_id, MemorySegment size)
+ {
+ var mh$ = H5Fget_filesize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_filesize", file_id, size);
+ }
+ return (int)mh$.invokeExact(file_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_eoa {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_eoa");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_eoa$descriptor() { return H5Fget_eoa.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static MethodHandle H5Fget_eoa$handle() { return H5Fget_eoa.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static MemorySegment H5Fget_eoa$address() { return H5Fget_eoa.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static int H5Fget_eoa(long file_id, MemorySegment eoa)
+ {
+ var mh$ = H5Fget_eoa.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_eoa", file_id, eoa);
+ }
+ return (int)mh$.invokeExact(file_id, eoa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fincrement_filesize {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fincrement_filesize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static FunctionDescriptor H5Fincrement_filesize$descriptor() { return H5Fincrement_filesize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static MethodHandle H5Fincrement_filesize$handle() { return H5Fincrement_filesize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static MemorySegment H5Fincrement_filesize$address() { return H5Fincrement_filesize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static int H5Fincrement_filesize(long file_id, long increment)
+ {
+ var mh$ = H5Fincrement_filesize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fincrement_filesize", file_id, increment);
+ }
+ return (int)mh$.invokeExact(file_id, increment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_file_image {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_file_image");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_file_image$descriptor() { return H5Fget_file_image.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MethodHandle H5Fget_file_image$handle() { return H5Fget_file_image.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MemorySegment H5Fget_file_image$address() { return H5Fget_file_image.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static long H5Fget_file_image(long file_id, MemorySegment buf_ptr, long buf_len)
+ {
+ var mh$ = H5Fget_file_image.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_file_image", file_id, buf_ptr, buf_len);
+ }
+ return (long)mh$.invokeExact(file_id, buf_ptr, buf_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_config$descriptor() { return H5Fget_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_config$handle() { return H5Fget_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_config$address() { return H5Fget_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Fget_mdc_config(long file_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Fget_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_config", file_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_mdc_config$descriptor() { return H5Fset_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Fset_mdc_config$handle() { return H5Fset_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Fset_mdc_config$address() { return H5Fset_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Fset_mdc_config(long file_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Fset_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_mdc_config", file_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_hit_rate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_hit_rate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_hit_rate$descriptor() { return H5Fget_mdc_hit_rate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_hit_rate$handle() { return H5Fget_mdc_hit_rate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_hit_rate$address() { return H5Fget_mdc_hit_rate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static int H5Fget_mdc_hit_rate(long file_id, MemorySegment hit_rate_ptr)
+ {
+ var mh$ = H5Fget_mdc_hit_rate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_hit_rate", file_id, hit_rate_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, hit_rate_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_size$descriptor() { return H5Fget_mdc_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_size$handle() { return H5Fget_mdc_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_size$address() { return H5Fget_mdc_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static int H5Fget_mdc_size(long file_id, MemorySegment max_size_ptr,
+ MemorySegment min_clean_size_ptr, MemorySegment cur_size_ptr,
+ MemorySegment cur_num_entries_ptr)
+ {
+ var mh$ = H5Fget_mdc_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_size", file_id, max_size_ptr, min_clean_size_ptr, cur_size_ptr,
+ cur_num_entries_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, max_size_ptr, min_clean_size_ptr, cur_size_ptr,
+ cur_num_entries_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freset_mdc_hit_rate_stats {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freset_mdc_hit_rate_stats");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freset_mdc_hit_rate_stats$descriptor()
+ {
+ return H5Freset_mdc_hit_rate_stats.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Freset_mdc_hit_rate_stats$handle()
+ {
+ return H5Freset_mdc_hit_rate_stats.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Freset_mdc_hit_rate_stats$address()
+ {
+ return H5Freset_mdc_hit_rate_stats.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static int H5Freset_mdc_hit_rate_stats(long file_id)
+ {
+ var mh$ = H5Freset_mdc_hit_rate_stats.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freset_mdc_hit_rate_stats", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_name {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_name$descriptor() { return H5Fget_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Fget_name$handle() { return H5Fget_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Fget_name$address() { return H5Fget_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static long H5Fget_name(long obj_id, MemorySegment name, long size)
+ {
+ var mh$ = H5Fget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_name", obj_id, name, size);
+ }
+ return (long)mh$.invokeExact(obj_id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_info2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_info2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_info2$descriptor() { return H5Fget_info2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static MethodHandle H5Fget_info2$handle() { return H5Fget_info2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static MemorySegment H5Fget_info2$address() { return H5Fget_info2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static int H5Fget_info2(long obj_id, MemorySegment file_info)
+ {
+ var mh$ = H5Fget_info2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_info2", obj_id, file_info);
+ }
+ return (int)mh$.invokeExact(obj_id, file_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_metadata_read_retry_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_metadata_read_retry_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_metadata_read_retry_info$descriptor()
+ {
+ return H5Fget_metadata_read_retry_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static MethodHandle H5Fget_metadata_read_retry_info$handle()
+ {
+ return H5Fget_metadata_read_retry_info.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static MemorySegment H5Fget_metadata_read_retry_info$address()
+ {
+ return H5Fget_metadata_read_retry_info.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static int H5Fget_metadata_read_retry_info(long file_id, MemorySegment info)
+ {
+ var mh$ = H5Fget_metadata_read_retry_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_metadata_read_retry_info", file_id, info);
+ }
+ return (int)mh$.invokeExact(file_id, info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fstart_swmr_write {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fstart_swmr_write");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fstart_swmr_write$descriptor() { return H5Fstart_swmr_write.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fstart_swmr_write$handle() { return H5Fstart_swmr_write.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fstart_swmr_write$address() { return H5Fstart_swmr_write.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static int H5Fstart_swmr_write(long file_id)
+ {
+ var mh$ = H5Fstart_swmr_write.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fstart_swmr_write", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_free_sections {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_free_sections");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_free_sections$descriptor() { return H5Fget_free_sections.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static MethodHandle H5Fget_free_sections$handle() { return H5Fget_free_sections.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static MemorySegment H5Fget_free_sections$address() { return H5Fget_free_sections.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static long H5Fget_free_sections(long file_id, int type, long nsects, MemorySegment sect_info)
+ {
+ var mh$ = H5Fget_free_sections.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_free_sections", file_id, type, nsects, sect_info);
+ }
+ return (long)mh$.invokeExact(file_id, type, nsects, sect_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fclear_elink_file_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fclear_elink_file_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fclear_elink_file_cache$descriptor()
+ {
+ return H5Fclear_elink_file_cache.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fclear_elink_file_cache$handle() { return H5Fclear_elink_file_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fclear_elink_file_cache$address() { return H5Fclear_elink_file_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static int H5Fclear_elink_file_cache(long file_id)
+ {
+ var mh$ = H5Fclear_elink_file_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fclear_elink_file_cache", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_libver_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_libver_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_libver_bounds$descriptor() { return H5Fset_libver_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MethodHandle H5Fset_libver_bounds$handle() { return H5Fset_libver_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MemorySegment H5Fset_libver_bounds$address() { return H5Fset_libver_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static int H5Fset_libver_bounds(long file_id, int low, int high)
+ {
+ var mh$ = H5Fset_libver_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_libver_bounds", file_id, low, high);
+ }
+ return (int)mh$.invokeExact(file_id, low, high);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fstart_mdc_logging {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fstart_mdc_logging");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fstart_mdc_logging$descriptor() { return H5Fstart_mdc_logging.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fstart_mdc_logging$handle() { return H5Fstart_mdc_logging.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fstart_mdc_logging$address() { return H5Fstart_mdc_logging.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static int H5Fstart_mdc_logging(long file_id)
+ {
+ var mh$ = H5Fstart_mdc_logging.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fstart_mdc_logging", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fstop_mdc_logging {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fstop_mdc_logging");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fstop_mdc_logging$descriptor() { return H5Fstop_mdc_logging.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fstop_mdc_logging$handle() { return H5Fstop_mdc_logging.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fstop_mdc_logging$address() { return H5Fstop_mdc_logging.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static int H5Fstop_mdc_logging(long file_id)
+ {
+ var mh$ = H5Fstop_mdc_logging.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fstop_mdc_logging", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_logging_status {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_logging_status");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_logging_status$descriptor()
+ {
+ return H5Fget_mdc_logging_status.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_logging_status$handle() { return H5Fget_mdc_logging_status.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_logging_status$address() { return H5Fget_mdc_logging_status.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static int H5Fget_mdc_logging_status(long file_id, MemorySegment is_enabled,
+ MemorySegment is_currently_logging)
+ {
+ var mh$ = H5Fget_mdc_logging_status.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_logging_status", file_id, is_enabled, is_currently_logging);
+ }
+ return (int)mh$.invokeExact(file_id, is_enabled, is_currently_logging);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freset_page_buffering_stats {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freset_page_buffering_stats");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freset_page_buffering_stats$descriptor()
+ {
+ return H5Freset_page_buffering_stats.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Freset_page_buffering_stats$handle()
+ {
+ return H5Freset_page_buffering_stats.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Freset_page_buffering_stats$address()
+ {
+ return H5Freset_page_buffering_stats.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static int H5Freset_page_buffering_stats(long file_id)
+ {
+ var mh$ = H5Freset_page_buffering_stats.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freset_page_buffering_stats", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_page_buffering_stats {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_page_buffering_stats");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static FunctionDescriptor H5Fget_page_buffering_stats$descriptor()
+ {
+ return H5Fget_page_buffering_stats.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static MethodHandle H5Fget_page_buffering_stats$handle()
+ {
+ return H5Fget_page_buffering_stats.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static MemorySegment H5Fget_page_buffering_stats$address()
+ {
+ return H5Fget_page_buffering_stats.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static int H5Fget_page_buffering_stats(long file_id, MemorySegment accesses, MemorySegment hits,
+ MemorySegment misses, MemorySegment evictions,
+ MemorySegment bypasses)
+ {
+ var mh$ = H5Fget_page_buffering_stats.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_page_buffering_stats", file_id, accesses, hits, misses, evictions,
+ bypasses);
+ }
+ return (int)mh$.invokeExact(file_id, accesses, hits, misses, evictions, bypasses);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_image_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_image_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_image_info$descriptor() { return H5Fget_mdc_image_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_image_info$handle() { return H5Fget_mdc_image_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_image_info$address() { return H5Fget_mdc_image_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static int H5Fget_mdc_image_info(long file_id, MemorySegment image_addr, MemorySegment image_size)
+ {
+ var mh$ = H5Fget_mdc_image_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_image_info", file_id, image_addr, image_size);
+ }
+ return (int)mh$.invokeExact(file_id, image_addr, image_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_dset_no_attrs_hint$descriptor()
+ {
+ return H5Fget_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static MethodHandle H5Fget_dset_no_attrs_hint$handle() { return H5Fget_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static MemorySegment H5Fget_dset_no_attrs_hint$address() { return H5Fget_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static int H5Fget_dset_no_attrs_hint(long file_id, MemorySegment minimize)
+ {
+ var mh$ = H5Fget_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_dset_no_attrs_hint", file_id, minimize);
+ }
+ return (int)mh$.invokeExact(file_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_dset_no_attrs_hint$descriptor()
+ {
+ return H5Fset_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static MethodHandle H5Fset_dset_no_attrs_hint$handle() { return H5Fset_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static MemorySegment H5Fset_dset_no_attrs_hint$address() { return H5Fset_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static int H5Fset_dset_no_attrs_hint(long file_id, boolean minimize)
+ {
+ var mh$ = H5Fset_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_dset_no_attrs_hint", file_id, minimize);
+ }
+ return (int)mh$.invokeExact(file_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fformat_convert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fformat_convert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static FunctionDescriptor H5Fformat_convert$descriptor() { return H5Fformat_convert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static MethodHandle H5Fformat_convert$handle() { return H5Fformat_convert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static MemorySegment H5Fformat_convert$address() { return H5Fformat_convert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static int H5Fformat_convert(long fid)
+ {
+ var mh$ = H5Fformat_convert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fformat_convert", fid);
+ }
+ return (int)mh$.invokeExact(fid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_info1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_info1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_info1$descriptor() { return H5Fget_info1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static MethodHandle H5Fget_info1$handle() { return H5Fget_info1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static MemorySegment H5Fget_info1$address() { return H5Fget_info1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static int H5Fget_info1(long obj_id, MemorySegment file_info)
+ {
+ var mh$ = H5Fget_info1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_info1", obj_id, file_info);
+ }
+ return (int)mh$.invokeExact(obj_id, file_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_latest_format {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_latest_format");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_latest_format$descriptor() { return H5Fset_latest_format.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static MethodHandle H5Fset_latest_format$handle() { return H5Fset_latest_format.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static MemorySegment H5Fset_latest_format$address() { return H5Fset_latest_format.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static int H5Fset_latest_format(long file_id, boolean latest_format)
+ {
+ var mh$ = H5Fset_latest_format.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_latest_format", file_id, latest_format);
+ }
+ return (int)mh$.invokeExact(file_id, latest_format);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fis_hdf5 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fis_hdf5");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static FunctionDescriptor H5Fis_hdf5$descriptor() { return H5Fis_hdf5.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static MethodHandle H5Fis_hdf5$handle() { return H5Fis_hdf5.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static MemorySegment H5Fis_hdf5$address() { return H5Fis_hdf5.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static int H5Fis_hdf5(MemorySegment file_name)
+ {
+ var mh$ = H5Fis_hdf5.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fis_hdf5", file_name);
+ }
+ return (int)mh$.invokeExact(file_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5FD_class_value_t
+ * }
+ */
+ public static final OfInt H5FD_class_value_t = hdf5_h.C_INT;
+ private static final int H5FD_FILE_IMAGE_OP_NO_OP = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_NO_OP = 0
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_NO_OP() { return H5FD_FILE_IMAGE_OP_NO_OP; }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET = 1
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET() { return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET; }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY = 2
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY()
+ {
+ return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_COPY;
+ }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET = 3
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET() { return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_GET; }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE = 4
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE()
+ {
+ return H5FD_FILE_IMAGE_OP_PROPERTY_LIST_CLOSE;
+ }
+ private static final int H5FD_FILE_IMAGE_OP_FILE_OPEN = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_FILE_OPEN = 5
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_FILE_OPEN() { return H5FD_FILE_IMAGE_OP_FILE_OPEN; }
+ private static final int H5FD_FILE_IMAGE_OP_FILE_RESIZE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_FILE_RESIZE = 6
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_FILE_RESIZE() { return H5FD_FILE_IMAGE_OP_FILE_RESIZE; }
+ private static final int H5FD_FILE_IMAGE_OP_FILE_CLOSE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_FILE_CLOSE = 7
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_FILE_CLOSE() { return H5FD_FILE_IMAGE_OP_FILE_CLOSE; }
+
+ private static class H5FDdriver_query {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDdriver_query");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static FunctionDescriptor H5FDdriver_query$descriptor() { return H5FDdriver_query.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static MethodHandle H5FDdriver_query$handle() { return H5FDdriver_query.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static MemorySegment H5FDdriver_query$address() { return H5FDdriver_query.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDdriver_query(hid_t driver_id, unsigned long *flags)
+ * }
+ */
+ public static int H5FDdriver_query(long driver_id, MemorySegment flags)
+ {
+ var mh$ = H5FDdriver_query.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDdriver_query", driver_id, flags);
+ }
+ return (int)mh$.invokeExact(driver_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5L_TYPE_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_ERROR = -1
+ * }
+ */
+ public static int H5L_TYPE_ERROR() { return H5L_TYPE_ERROR; }
+ private static final int H5L_TYPE_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_HARD = 0
+ * }
+ */
+ public static int H5L_TYPE_HARD() { return H5L_TYPE_HARD; }
+ private static final int H5L_TYPE_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_SOFT = 1
+ * }
+ */
+ public static int H5L_TYPE_SOFT() { return H5L_TYPE_SOFT; }
+ private static final int H5L_TYPE_EXTERNAL = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_EXTERNAL = 64
+ * }
+ */
+ public static int H5L_TYPE_EXTERNAL() { return H5L_TYPE_EXTERNAL; }
+ private static final int H5L_TYPE_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5L_TYPE_MAX = 255
+ * }
+ */
+ public static int H5L_TYPE_MAX() { return H5L_TYPE_MAX; }
+
+ private static class H5Lmove {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lmove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lmove$descriptor() { return H5Lmove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lmove$handle() { return H5Lmove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lmove$address() { return H5Lmove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lmove(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Lmove(long src_loc, MemorySegment src_name, long dst_loc, MemorySegment dst_name,
+ long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lmove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lmove", src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcopy {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcopy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcopy$descriptor() { return H5Lcopy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcopy$handle() { return H5Lcopy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcopy$address() { return H5Lcopy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcopy(hid_t src_loc, const char *src_name, hid_t dst_loc, const char *dst_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcopy(long src_loc, MemorySegment src_name, long dst_loc, MemorySegment dst_name,
+ long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcopy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcopy", src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(src_loc, src_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_hard {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_hard");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_hard$descriptor() { return H5Lcreate_hard.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_hard$handle() { return H5Lcreate_hard.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_hard$address() { return H5Lcreate_hard.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard(hid_t cur_loc, const char *cur_name, hid_t dst_loc, const char *dst_name, hid_t
+ * lcpl_id, hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_hard(long cur_loc, MemorySegment cur_name, long dst_loc,
+ MemorySegment dst_name, long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_hard.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_hard", cur_loc, cur_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(cur_loc, cur_name, dst_loc, dst_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_hard_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_hard_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_hard_async$descriptor() { return H5Lcreate_hard_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_hard_async$handle() { return H5Lcreate_hard_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_hard_async$address() { return H5Lcreate_hard_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_hard_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * cur_loc_id, const char *cur_name, hid_t new_loc_id, const char *new_name, hid_t lcpl_id, hid_t lapl_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Lcreate_hard_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long cur_loc_id, MemorySegment cur_name, long new_loc_id,
+ MemorySegment new_name, long lcpl_id, long lapl_id, long es_id)
+ {
+ var mh$ = H5Lcreate_hard_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_hard_async", app_file, app_func, app_line, cur_loc_id, cur_name,
+ new_loc_id, new_name, lcpl_id, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, cur_loc_id, cur_name, new_loc_id,
+ new_name, lcpl_id, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_soft {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_soft");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_soft$descriptor() { return H5Lcreate_soft.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_soft$handle() { return H5Lcreate_soft.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_soft$address() { return H5Lcreate_soft.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft(const char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id,
+ * hid_t lapl_id)
+ * }
+ */
+ public static int H5Lcreate_soft(MemorySegment link_target, long link_loc_id, MemorySegment link_name,
+ long lcpl_id, long lapl_id)
+ {
+ var mh$ = H5Lcreate_soft.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_soft", link_target, link_loc_id, link_name, lcpl_id, lapl_id);
+ }
+ return (int)mh$.invokeExact(link_target, link_loc_id, link_name, lcpl_id, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lcreate_soft_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lcreate_soft_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Lcreate_soft_async$descriptor() { return H5Lcreate_soft_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Lcreate_soft_async$handle() { return H5Lcreate_soft_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Lcreate_soft_async$address() { return H5Lcreate_soft_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lcreate_soft_async(const char *app_file, const char *app_func, unsigned int app_line, const
+ * char *link_target, hid_t link_loc_id, const char *link_name, hid_t lcpl_id, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Lcreate_soft_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment link_target, long link_loc_id,
+ MemorySegment link_name, long lcpl_id, long lapl_id, long es_id)
+ {
+ var mh$ = H5Lcreate_soft_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lcreate_soft_async", app_file, app_func, app_line, link_target, link_loc_id,
+ link_name, lcpl_id, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, link_target, link_loc_id, link_name,
+ lcpl_id, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete$descriptor() { return H5Ldelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete$handle() { return H5Ldelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete$address() { return H5Ldelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete(hid_t loc_id, const char *name, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ldelete(long loc_id, MemorySegment name, long lapl_id)
+ {
+ var mh$ = H5Ldelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete", loc_id, name, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, name, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete_async$descriptor() { return H5Ldelete_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete_async$handle() { return H5Ldelete_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete_async$address() { return H5Ldelete_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t lapl_id, hid_t es_id)
+ * }
+ */
+ public static int H5Ldelete_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long lapl_id, long es_id)
+ {
+ var mh$ = H5Ldelete_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete_async", app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, lapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ldelete_by_idx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ldelete_by_idx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ldelete_by_idx$descriptor() { return H5Ldelete_by_idx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Ldelete_by_idx$handle() { return H5Ldelete_by_idx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Ldelete_by_idx$address() { return H5Ldelete_by_idx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ldelete_by_idx(hid_t loc_id, const char *group_name, H5_index_t idx_type, H5_iter_order_t
+ * order, hsize_t n, hid_t lapl_id)
+ * }
+ */
+ public static int H5Ldelete_by_idx(long loc_id, MemorySegment group_name, int idx_type, int order, long n,
+ long lapl_id)
+ {
+ var mh$ = H5Ldelete_by_idx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ldelete_by_idx", loc_id, group_name, idx_type, order, n, lapl_id);
+ }
+ return (int)mh$.invokeExact(loc_id, group_name, idx_type, order, n, lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+}
diff --git a/java/jsrc/features/ros3/macos/hdf5_h_3.java b/java/jsrc/features/ros3/macos/hdf5_h_3.java
new file mode 100644
index 00000000000..f0cc3f786a9
--- /dev/null
+++ b/java/jsrc/features/ros3/macos/hdf5_h_3.java
@@ -0,0 +1,9137 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h_3 {
+
+ hdf5_h_3()
+ {
+ // Should not be called directly
+ }
+
+ static final Arena LIBRARY_ARENA = Arena.ofAuto();
+ static final boolean TRACE_DOWNCALLS = Boolean.getBoolean("jextract.trace.downcalls");
+
+ static void traceDowncall(String name, Object... args)
+ {
+ String traceArgs = Arrays.stream(args).map(Object::toString).collect(Collectors.joining(", "));
+ System.out.printf("%s(%s)\n", name, traceArgs);
+ }
+
+ static MemorySegment findOrThrow(String symbol)
+ {
+ return SYMBOL_LOOKUP.find(symbol).orElseThrow(
+ () -> new UnsatisfiedLinkError("unresolved symbol: " + symbol));
+ }
+
+ static MethodHandle upcallHandle(Class> fi, String name, FunctionDescriptor fdesc)
+ {
+ try {
+ return MethodHandles.lookup().findVirtual(fi, name, fdesc.toMethodType());
+ }
+ catch (ReflectiveOperationException ex) {
+ throw new AssertionError(ex);
+ }
+ }
+
+ static MemoryLayout align(MemoryLayout layout, long align)
+ {
+ return switch (layout)
+ {
+ case PaddingLayout p -> p; case ValueLayout v -> v.withByteAlignment(align);
+ case GroupLayout g
+ -> { MemoryLayout[] alignedMembers =
+ g.memberLayouts().stream().map(m -> align(m, align)).toArray(MemoryLayout[] ::new);
+ yield g instanceof StructLayout ? MemoryLayout.structLayout(alignedMembers):
+ MemoryLayout.unionLayout(alignedMembers);
+ }
+ case SequenceLayout s -> MemoryLayout.sequenceLayout(s.elementCount(), align(s.elementLayout(), align));
+ };
+ }
+
+ static final SymbolLookup SYMBOL_LOOKUP = SymbolLookup.libraryLookup(System.mapLibraryName("hdf5"), LIBRARY_ARENA)
+ .or(SymbolLookup.loaderLookup())
+ .or(Linker.nativeLinker().defaultLookup());
+
+ public static final ValueLayout.OfBoolean C_BOOL = ValueLayout.JAVA_BOOLEAN;
+ public static final ValueLayout.OfByte C_CHAR = ValueLayout.JAVA_BYTE;
+ public static final ValueLayout.OfShort C_SHORT = ValueLayout.JAVA_SHORT;
+ public static final ValueLayout.OfInt C_INT = ValueLayout.JAVA_INT;
+ public static final ValueLayout.OfLong C_LONG_LONG = ValueLayout.JAVA_LONG;
+ public static final ValueLayout.OfFloat C_FLOAT = ValueLayout.JAVA_FLOAT;
+ public static final ValueLayout.OfDouble C_DOUBLE = ValueLayout.JAVA_DOUBLE;
+ public static final AddressLayout C_POINTER = ValueLayout.ADDRESS
+ .withTargetLayout(MemoryLayout.sequenceLayout(java.lang.Long.MAX_VALUE, JAVA_BYTE));
+ public static final ValueLayout.OfLong C_LONG = ValueLayout.JAVA_LONG;
+ private static final int H5_HAVE_ALARM = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_ALARM 1
+ * }
+ */
+ public static int H5_HAVE_ALARM() {
+ return H5_HAVE_ALARM;
+ }
+ private static final int H5_HAVE_ARPA_INET_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_ARPA_INET_H 1
+ * }
+ */
+ public static int H5_HAVE_ARPA_INET_H() {
+ return H5_HAVE_ARPA_INET_H;
+ }
+ private static final int H5_HAVE_ASPRINTF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_ASPRINTF 1
+ * }
+ */
+ public static int H5_HAVE_ASPRINTF() {
+ return H5_HAVE_ASPRINTF;
+ }
+ private static final int H5_HAVE_ATTRIBUTE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_ATTRIBUTE 1
+ * }
+ */
+ public static int H5_HAVE_ATTRIBUTE() {
+ return H5_HAVE_ATTRIBUTE;
+ }
+ private static final int H5_HAVE_C99_COMPLEX_NUMBERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_C99_COMPLEX_NUMBERS 1
+ * }
+ */
+ public static int H5_HAVE_C99_COMPLEX_NUMBERS() {
+ return H5_HAVE_C99_COMPLEX_NUMBERS;
+ }
+ private static final int H5_HAVE_CLOCK_GETTIME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_CLOCK_GETTIME 1
+ * }
+ */
+ public static int H5_HAVE_CLOCK_GETTIME() {
+ return H5_HAVE_CLOCK_GETTIME;
+ }
+ private static final int H5_HAVE_COMPLEX_NUMBERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_COMPLEX_NUMBERS 1
+ * }
+ */
+ public static int H5_HAVE_COMPLEX_NUMBERS() {
+ return H5_HAVE_COMPLEX_NUMBERS;
+ }
+ private static final int H5_HAVE_DARWIN = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_DARWIN 1
+ * }
+ */
+ public static int H5_HAVE_DARWIN() {
+ return H5_HAVE_DARWIN;
+ }
+ private static final int H5_HAVE_DIRENT_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_DIRENT_H 1
+ * }
+ */
+ public static int H5_HAVE_DIRENT_H() {
+ return H5_HAVE_DIRENT_H;
+ }
+ private static final int H5_HAVE_DLFCN_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_DLFCN_H 1
+ * }
+ */
+ public static int H5_HAVE_DLFCN_H() {
+ return H5_HAVE_DLFCN_H;
+ }
+ private static final int H5_HAVE_EMBEDDED_LIBINFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_EMBEDDED_LIBINFO 1
+ * }
+ */
+ public static int H5_HAVE_EMBEDDED_LIBINFO() {
+ return H5_HAVE_EMBEDDED_LIBINFO;
+ }
+ private static final int H5_HAVE_FCNTL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_FCNTL 1
+ * }
+ */
+ public static int H5_HAVE_FCNTL() {
+ return H5_HAVE_FCNTL;
+ }
+ private static final int H5_HAVE__FLOAT16 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE__FLOAT16 1
+ * }
+ */
+ public static int H5_HAVE__FLOAT16() {
+ return H5_HAVE__FLOAT16;
+ }
+ private static final int H5_HAVE_FLOCK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_FLOCK 1
+ * }
+ */
+ public static int H5_HAVE_FLOCK() {
+ return H5_HAVE_FLOCK;
+ }
+ private static final int H5_HAVE_FORK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_FORK 1
+ * }
+ */
+ public static int H5_HAVE_FORK() {
+ return H5_HAVE_FORK;
+ }
+ private static final int H5_HAVE_GETHOSTNAME = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_GETHOSTNAME 1
+ * }
+ */
+ public static int H5_HAVE_GETHOSTNAME() {
+ return H5_HAVE_GETHOSTNAME;
+ }
+ private static final int H5_HAVE_GETRUSAGE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_GETRUSAGE 1
+ * }
+ */
+ public static int H5_HAVE_GETRUSAGE() {
+ return H5_HAVE_GETRUSAGE;
+ }
+ private static final int H5_HAVE_GETTIMEOFDAY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_GETTIMEOFDAY 1
+ * }
+ */
+ public static int H5_HAVE_GETTIMEOFDAY() {
+ return H5_HAVE_GETTIMEOFDAY;
+ }
+ private static final int H5_HAVE_IOCTL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_IOCTL 1
+ * }
+ */
+ public static int H5_HAVE_IOCTL() {
+ return H5_HAVE_IOCTL;
+ }
+ private static final int H5_HAVE_LIBDL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_LIBDL 1
+ * }
+ */
+ public static int H5_HAVE_LIBDL() {
+ return H5_HAVE_LIBDL;
+ }
+ private static final int H5_HAVE_LIBM = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_LIBM 1
+ * }
+ */
+ public static int H5_HAVE_LIBM() {
+ return H5_HAVE_LIBM;
+ }
+ private static final int H5_HAVE_NETDB_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_NETDB_H 1
+ * }
+ */
+ public static int H5_HAVE_NETDB_H() {
+ return H5_HAVE_NETDB_H;
+ }
+ private static final int H5_HAVE_NETINET_IN_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_NETINET_IN_H 1
+ * }
+ */
+ public static int H5_HAVE_NETINET_IN_H() {
+ return H5_HAVE_NETINET_IN_H;
+ }
+ private static final int H5_HAVE_PREADWRITE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_PREADWRITE 1
+ * }
+ */
+ public static int H5_HAVE_PREADWRITE() {
+ return H5_HAVE_PREADWRITE;
+ }
+ private static final int H5_HAVE_PTHREAD_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_PTHREAD_H 1
+ * }
+ */
+ public static int H5_HAVE_PTHREAD_H() {
+ return H5_HAVE_PTHREAD_H;
+ }
+ private static final int H5_HAVE_PWD_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_PWD_H 1
+ * }
+ */
+ public static int H5_HAVE_PWD_H() {
+ return H5_HAVE_PWD_H;
+ }
+ private static final int H5_HAVE_ROS3_VFD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_ROS3_VFD 1
+ * }
+ */
+ public static int H5_HAVE_ROS3_VFD() {
+ return H5_HAVE_ROS3_VFD;
+ }
+ private static final int H5_HAVE_STAT_ST_BLOCKS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_STAT_ST_BLOCKS 1
+ * }
+ */
+ public static int H5_HAVE_STAT_ST_BLOCKS() {
+ return H5_HAVE_STAT_ST_BLOCKS;
+ }
+ private static final int H5_HAVE_STRCASESTR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_STRCASESTR 1
+ * }
+ */
+ public static int H5_HAVE_STRCASESTR() {
+ return H5_HAVE_STRCASESTR;
+ }
+ private static final int H5_HAVE_STRDUP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_STRDUP 1
+ * }
+ */
+ public static int H5_HAVE_STRDUP() {
+ return H5_HAVE_STRDUP;
+ }
+ private static final int H5_HAVE_STDATOMIC_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_STDATOMIC_H 1
+ * }
+ */
+ public static int H5_HAVE_STDATOMIC_H() {
+ return H5_HAVE_STDATOMIC_H;
+ }
+ private static final int H5_HAVE_SYMLINK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYMLINK 1
+ * }
+ */
+ public static int H5_HAVE_SYMLINK() {
+ return H5_HAVE_SYMLINK;
+ }
+ private static final int H5_HAVE_SYS_FILE_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_FILE_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_FILE_H() {
+ return H5_HAVE_SYS_FILE_H;
+ }
+ private static final int H5_HAVE_SYS_IOCTL_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_IOCTL_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_IOCTL_H() {
+ return H5_HAVE_SYS_IOCTL_H;
+ }
+ private static final int H5_HAVE_SYS_RESOURCE_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_RESOURCE_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_RESOURCE_H() {
+ return H5_HAVE_SYS_RESOURCE_H;
+ }
+ private static final int H5_HAVE_SYS_SOCKET_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_SOCKET_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_SOCKET_H() {
+ return H5_HAVE_SYS_SOCKET_H;
+ }
+ private static final int H5_HAVE_SYS_STAT_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_STAT_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_STAT_H() {
+ return H5_HAVE_SYS_STAT_H;
+ }
+ private static final int H5_HAVE_SYS_TIME_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_SYS_TIME_H 1
+ * }
+ */
+ public static int H5_HAVE_SYS_TIME_H() {
+ return H5_HAVE_SYS_TIME_H;
+ }
+ private static final int H5_HAVE_THREADS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_THREADS 1
+ * }
+ */
+ public static int H5_HAVE_THREADS() {
+ return H5_HAVE_THREADS;
+ }
+ private static final int H5_HAVE_TIMEZONE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TIMEZONE 1
+ * }
+ */
+ public static int H5_HAVE_TIMEZONE() {
+ return H5_HAVE_TIMEZONE;
+ }
+ private static final int H5_HAVE_TIOCGETD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TIOCGETD 1
+ * }
+ */
+ public static int H5_HAVE_TIOCGETD() {
+ return H5_HAVE_TIOCGETD;
+ }
+ private static final int H5_HAVE_TIOCGWINSZ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TIOCGWINSZ 1
+ * }
+ */
+ public static int H5_HAVE_TIOCGWINSZ() {
+ return H5_HAVE_TIOCGWINSZ;
+ }
+ private static final int H5_HAVE_TMPFILE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TMPFILE 1
+ * }
+ */
+ public static int H5_HAVE_TMPFILE() {
+ return H5_HAVE_TMPFILE;
+ }
+ private static final int H5_HAVE_TM_GMTOFF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_TM_GMTOFF 1
+ * }
+ */
+ public static int H5_HAVE_TM_GMTOFF() {
+ return H5_HAVE_TM_GMTOFF;
+ }
+ private static final int H5_HAVE_UNISTD_H = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_UNISTD_H 1
+ * }
+ */
+ public static int H5_HAVE_UNISTD_H() {
+ return H5_HAVE_UNISTD_H;
+ }
+ private static final int H5_HAVE_VASPRINTF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_VASPRINTF 1
+ * }
+ */
+ public static int H5_HAVE_VASPRINTF() {
+ return H5_HAVE_VASPRINTF;
+ }
+ private static final int H5_HAVE_WAITPID = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_WAITPID 1
+ * }
+ */
+ public static int H5_HAVE_WAITPID() {
+ return H5_HAVE_WAITPID;
+ }
+ private static final int H5_IGNORE_DISABLED_FILE_LOCKS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_IGNORE_DISABLED_FILE_LOCKS 1
+ * }
+ */
+ public static int H5_IGNORE_DISABLED_FILE_LOCKS() {
+ return H5_IGNORE_DISABLED_FILE_LOCKS;
+ }
+ private static final int H5_INCLUDE_HL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_INCLUDE_HL 1
+ * }
+ */
+ public static int H5_INCLUDE_HL() {
+ return H5_INCLUDE_HL;
+ }
+ private static final int H5_LDOUBLE_TO_FLOAT16_CORRECT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_LDOUBLE_TO_FLOAT16_CORRECT 1
+ * }
+ */
+ public static int H5_LDOUBLE_TO_FLOAT16_CORRECT() {
+ return H5_LDOUBLE_TO_FLOAT16_CORRECT;
+ }
+ private static final int H5_LDOUBLE_TO_LLONG_ACCURATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_LDOUBLE_TO_LLONG_ACCURATE 1
+ * }
+ */
+ public static int H5_LDOUBLE_TO_LLONG_ACCURATE() {
+ return H5_LDOUBLE_TO_LLONG_ACCURATE;
+ }
+ private static final int H5_LLONG_TO_LDOUBLE_CORRECT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_LLONG_TO_LDOUBLE_CORRECT 1
+ * }
+ */
+ public static int H5_LLONG_TO_LDOUBLE_CORRECT() {
+ return H5_LLONG_TO_LDOUBLE_CORRECT;
+ }
+ private static final int H5_SIZEOF_BOOL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_BOOL 1
+ * }
+ */
+ public static int H5_SIZEOF_BOOL() {
+ return H5_SIZEOF_BOOL;
+ }
+ private static final int H5_SIZEOF_CHAR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_CHAR 1
+ * }
+ */
+ public static int H5_SIZEOF_CHAR() {
+ return H5_SIZEOF_CHAR;
+ }
+ private static final int H5_SIZEOF_DOUBLE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_DOUBLE 8
+ * }
+ */
+ public static int H5_SIZEOF_DOUBLE() {
+ return H5_SIZEOF_DOUBLE;
+ }
+ private static final int H5_SIZEOF_DOUBLE_COMPLEX = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_DOUBLE_COMPLEX 16
+ * }
+ */
+ public static int H5_SIZEOF_DOUBLE_COMPLEX() {
+ return H5_SIZEOF_DOUBLE_COMPLEX;
+ }
+ private static final int H5_SIZEOF_FLOAT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_FLOAT 4
+ * }
+ */
+ public static int H5_SIZEOF_FLOAT() {
+ return H5_SIZEOF_FLOAT;
+ }
+ private static final int H5_SIZEOF_FLOAT_COMPLEX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_FLOAT_COMPLEX 8
+ * }
+ */
+ public static int H5_SIZEOF_FLOAT_COMPLEX() {
+ return H5_SIZEOF_FLOAT_COMPLEX;
+ }
+ private static final int H5_SIZEOF_INT = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT 4
+ * }
+ */
+ public static int H5_SIZEOF_INT() {
+ return H5_SIZEOF_INT;
+ }
+ private static final int H5_SIZEOF_INT16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_INT16_T() {
+ return H5_SIZEOF_INT16_T;
+ }
+ private static final int H5_SIZEOF_INT32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_INT32_T() {
+ return H5_SIZEOF_INT32_T;
+ }
+ private static final int H5_SIZEOF_INT64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT64_T() {
+ return H5_SIZEOF_INT64_T;
+ }
+ private static final int H5_SIZEOF_INT8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_INT8_T() {
+ return H5_SIZEOF_INT8_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST16_T() {
+ return H5_SIZEOF_INT_FAST16_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST32_T() {
+ return H5_SIZEOF_INT_FAST32_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST64_T() {
+ return H5_SIZEOF_INT_FAST64_T;
+ }
+ private static final int H5_SIZEOF_INT_FAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_FAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_INT_FAST8_T() {
+ return H5_SIZEOF_INT_FAST8_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST16_T() {
+ return H5_SIZEOF_INT_LEAST16_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST32_T() {
+ return H5_SIZEOF_INT_LEAST32_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST64_T() {
+ return H5_SIZEOF_INT_LEAST64_T;
+ }
+ private static final int H5_SIZEOF_INT_LEAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_INT_LEAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_INT_LEAST8_T() {
+ return H5_SIZEOF_INT_LEAST8_T;
+ }
+ private static final int H5_SIZEOF_LONG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG 8
+ * }
+ */
+ public static int H5_SIZEOF_LONG() {
+ return H5_SIZEOF_LONG;
+ }
+ private static final int H5_SIZEOF_SIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_SIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_SIZE_T() {
+ return H5_SIZEOF_SIZE_T;
+ }
+ private static final int H5_SIZEOF_SSIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_SSIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_SSIZE_T() {
+ return H5_SIZEOF_SSIZE_T;
+ }
+ private static final int H5_SIZEOF_LONG_DOUBLE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG_DOUBLE 16
+ * }
+ */
+ public static int H5_SIZEOF_LONG_DOUBLE() {
+ return H5_SIZEOF_LONG_DOUBLE;
+ }
+ private static final int H5_SIZEOF_LONG_DOUBLE_COMPLEX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG_DOUBLE_COMPLEX 32
+ * }
+ */
+ public static int H5_SIZEOF_LONG_DOUBLE_COMPLEX() {
+ return H5_SIZEOF_LONG_DOUBLE_COMPLEX;
+ }
+ private static final int H5_SIZEOF_LONG_LONG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_LONG_LONG 8
+ * }
+ */
+ public static int H5_SIZEOF_LONG_LONG() {
+ return H5_SIZEOF_LONG_LONG;
+ }
+ private static final int H5_SIZEOF_OFF_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_OFF_T 8
+ * }
+ */
+ public static int H5_SIZEOF_OFF_T() {
+ return H5_SIZEOF_OFF_T;
+ }
+ private static final int H5_SIZEOF_PTRDIFF_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_PTRDIFF_T 8
+ * }
+ */
+ public static int H5_SIZEOF_PTRDIFF_T() {
+ return H5_SIZEOF_PTRDIFF_T;
+ }
+ private static final int H5_SIZEOF_SHORT = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_SHORT 2
+ * }
+ */
+ public static int H5_SIZEOF_SHORT() {
+ return H5_SIZEOF_SHORT;
+ }
+ private static final int H5_SIZEOF_TIME_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_TIME_T 8
+ * }
+ */
+ public static int H5_SIZEOF_TIME_T() {
+ return H5_SIZEOF_TIME_T;
+ }
+ private static final int H5_SIZEOF_UINT16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_UINT16_T() {
+ return H5_SIZEOF_UINT16_T;
+ }
+ private static final int H5_SIZEOF_UINT32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_UINT32_T() {
+ return H5_SIZEOF_UINT32_T;
+ }
+ private static final int H5_SIZEOF_UINT64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT64_T() {
+ return H5_SIZEOF_UINT64_T;
+ }
+ private static final int H5_SIZEOF_UINT8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_UINT8_T() {
+ return H5_SIZEOF_UINT8_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST16_T() {
+ return H5_SIZEOF_UINT_FAST16_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST32_T() {
+ return H5_SIZEOF_UINT_FAST32_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST64_T() {
+ return H5_SIZEOF_UINT_FAST64_T;
+ }
+ private static final int H5_SIZEOF_UINT_FAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_FAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_UINT_FAST8_T() {
+ return H5_SIZEOF_UINT_FAST8_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST16_T = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST16_T 2
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST16_T() {
+ return H5_SIZEOF_UINT_LEAST16_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST32_T = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST32_T 4
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST32_T() {
+ return H5_SIZEOF_UINT_LEAST32_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST64_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST64_T 8
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST64_T() {
+ return H5_SIZEOF_UINT_LEAST64_T;
+ }
+ private static final int H5_SIZEOF_UINT_LEAST8_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UINT_LEAST8_T 1
+ * }
+ */
+ public static int H5_SIZEOF_UINT_LEAST8_T() {
+ return H5_SIZEOF_UINT_LEAST8_T;
+ }
+ private static final int H5_SIZEOF_UNSIGNED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_UNSIGNED 4
+ * }
+ */
+ public static int H5_SIZEOF_UNSIGNED() {
+ return H5_SIZEOF_UNSIGNED;
+ }
+ private static final int H5_SIZEOF__FLOAT16 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF__FLOAT16 2
+ * }
+ */
+ public static int H5_SIZEOF__FLOAT16() {
+ return H5_SIZEOF__FLOAT16;
+ }
+ private static final int H5_USE_FILE_LOCKING = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_USE_FILE_LOCKING 1
+ * }
+ */
+ public static int H5_USE_FILE_LOCKING() {
+ return H5_USE_FILE_LOCKING;
+ }
+ private static final int H5_WANT_DATA_ACCURACY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_WANT_DATA_ACCURACY 1
+ * }
+ */
+ public static int H5_WANT_DATA_ACCURACY() {
+ return H5_WANT_DATA_ACCURACY;
+ }
+ private static final int H5_WANT_DCONV_EXCEPTION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_WANT_DCONV_EXCEPTION 1
+ * }
+ */
+ public static int H5_WANT_DCONV_EXCEPTION() {
+ return H5_WANT_DCONV_EXCEPTION;
+ }
+ private static final int H5Acreate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Acreate_vers 2
+ * }
+ */
+ public static int H5Acreate_vers() {
+ return H5Acreate_vers;
+ }
+ private static final int H5Aiterate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Aiterate_vers 2
+ * }
+ */
+ public static int H5Aiterate_vers() {
+ return H5Aiterate_vers;
+ }
+ private static final int H5Dcreate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Dcreate_vers 2
+ * }
+ */
+ public static int H5Dcreate_vers() {
+ return H5Dcreate_vers;
+ }
+ private static final int H5Dopen_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Dopen_vers 2
+ * }
+ */
+ public static int H5Dopen_vers() {
+ return H5Dopen_vers;
+ }
+ private static final int H5Dread_chunk_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Dread_chunk_vers 2
+ * }
+ */
+ public static int H5Dread_chunk_vers() {
+ return H5Dread_chunk_vers;
+ }
+ private static final int H5Eclear_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eclear_vers 2
+ * }
+ */
+ public static int H5Eclear_vers() {
+ return H5Eclear_vers;
+ }
+ private static final int H5Eget_auto_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eget_auto_vers 2
+ * }
+ */
+ public static int H5Eget_auto_vers() {
+ return H5Eget_auto_vers;
+ }
+ private static final int H5Eprint_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eprint_vers 2
+ * }
+ */
+ public static int H5Eprint_vers() {
+ return H5Eprint_vers;
+ }
+ private static final int H5Epush_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Epush_vers 2
+ * }
+ */
+ public static int H5Epush_vers() {
+ return H5Epush_vers;
+ }
+ private static final int H5Eset_auto_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Eset_auto_vers 2
+ * }
+ */
+ public static int H5Eset_auto_vers() {
+ return H5Eset_auto_vers;
+ }
+ private static final int H5Ewalk_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Ewalk_vers 2
+ * }
+ */
+ public static int H5Ewalk_vers() {
+ return H5Ewalk_vers;
+ }
+ private static final int H5Fget_info_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Fget_info_vers 2
+ * }
+ */
+ public static int H5Fget_info_vers() {
+ return H5Fget_info_vers;
+ }
+ private static final int H5Gcreate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Gcreate_vers 2
+ * }
+ */
+ public static int H5Gcreate_vers() {
+ return H5Gcreate_vers;
+ }
+ private static final int H5Gopen_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Gopen_vers 2
+ * }
+ */
+ public static int H5Gopen_vers() {
+ return H5Gopen_vers;
+ }
+ private static final int H5Iregister_type_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Iregister_type_vers 2
+ * }
+ */
+ public static int H5Iregister_type_vers() {
+ return H5Iregister_type_vers;
+ }
+ private static final int H5Lget_info_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lget_info_vers 2
+ * }
+ */
+ public static int H5Lget_info_vers() {
+ return H5Lget_info_vers;
+ }
+ private static final int H5Lget_info_by_idx_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lget_info_by_idx_vers 2
+ * }
+ */
+ public static int H5Lget_info_by_idx_vers() {
+ return H5Lget_info_by_idx_vers;
+ }
+ private static final int H5Literate_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Literate_vers 2
+ * }
+ */
+ public static int H5Literate_vers() {
+ return H5Literate_vers;
+ }
+ private static final int H5Literate_by_name_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Literate_by_name_vers 2
+ * }
+ */
+ public static int H5Literate_by_name_vers() {
+ return H5Literate_by_name_vers;
+ }
+ private static final int H5Lvisit_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lvisit_vers 2
+ * }
+ */
+ public static int H5Lvisit_vers() {
+ return H5Lvisit_vers;
+ }
+ private static final int H5Lvisit_by_name_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Lvisit_by_name_vers 2
+ * }
+ */
+ public static int H5Lvisit_by_name_vers() {
+ return H5Lvisit_by_name_vers;
+ }
+ private static final int H5Oget_info_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Oget_info_vers 3
+ * }
+ */
+ public static int H5Oget_info_vers() {
+ return H5Oget_info_vers;
+ }
+ private static final int H5Oget_info_by_idx_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Oget_info_by_idx_vers 3
+ * }
+ */
+ public static int H5Oget_info_by_idx_vers() {
+ return H5Oget_info_by_idx_vers;
+ }
+ private static final int H5Oget_info_by_name_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Oget_info_by_name_vers 3
+ * }
+ */
+ public static int H5Oget_info_by_name_vers() {
+ return H5Oget_info_by_name_vers;
+ }
+ private static final int H5Ovisit_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Ovisit_vers 3
+ * }
+ */
+ public static int H5Ovisit_vers() {
+ return H5Ovisit_vers;
+ }
+ private static final int H5Ovisit_by_name_vers = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Ovisit_by_name_vers 3
+ * }
+ */
+ public static int H5Ovisit_by_name_vers() {
+ return H5Ovisit_by_name_vers;
+ }
+ private static final int H5Pencode_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pencode_vers 2
+ * }
+ */
+ public static int H5Pencode_vers() {
+ return H5Pencode_vers;
+ }
+ private static final int H5Pget_filter_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pget_filter_vers 2
+ * }
+ */
+ public static int H5Pget_filter_vers() {
+ return H5Pget_filter_vers;
+ }
+ private static final int H5Pget_filter_by_id_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pget_filter_by_id_vers 2
+ * }
+ */
+ public static int H5Pget_filter_by_id_vers() {
+ return H5Pget_filter_by_id_vers;
+ }
+ private static final int H5Pinsert_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pinsert_vers 2
+ * }
+ */
+ public static int H5Pinsert_vers() {
+ return H5Pinsert_vers;
+ }
+ private static final int H5Pregister_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Pregister_vers 2
+ * }
+ */
+ public static int H5Pregister_vers() {
+ return H5Pregister_vers;
+ }
+ private static final int H5Rdereference_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Rdereference_vers 2
+ * }
+ */
+ public static int H5Rdereference_vers() {
+ return H5Rdereference_vers;
+ }
+ private static final int H5Rget_obj_type_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Rget_obj_type_vers 2
+ * }
+ */
+ public static int H5Rget_obj_type_vers() {
+ return H5Rget_obj_type_vers;
+ }
+ private static final int H5Sencode_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Sencode_vers 2
+ * }
+ */
+ public static int H5Sencode_vers() {
+ return H5Sencode_vers;
+ }
+ private static final int H5Tarray_create_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tarray_create_vers 2
+ * }
+ */
+ public static int H5Tarray_create_vers() {
+ return H5Tarray_create_vers;
+ }
+ private static final int H5Tcommit_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tcommit_vers 2
+ * }
+ */
+ public static int H5Tcommit_vers() {
+ return H5Tcommit_vers;
+ }
+ private static final int H5Tdecode_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tdecode_vers 2
+ * }
+ */
+ public static int H5Tdecode_vers() {
+ return H5Tdecode_vers;
+ }
+ private static final int H5Tget_array_dims_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Tget_array_dims_vers 2
+ * }
+ */
+ public static int H5Tget_array_dims_vers() {
+ return H5Tget_array_dims_vers;
+ }
+ private static final int H5Topen_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Topen_vers 2
+ * }
+ */
+ public static int H5Topen_vers() {
+ return H5Topen_vers;
+ }
+ private static final int H5E_auto_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5E_auto_t_vers 2
+ * }
+ */
+ public static int H5E_auto_t_vers() {
+ return H5E_auto_t_vers;
+ }
+ private static final int H5O_info_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_info_t_vers 2
+ * }
+ */
+ public static int H5O_info_t_vers() {
+ return H5O_info_t_vers;
+ }
+ private static final int H5O_iterate_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_iterate_t_vers 2
+ * }
+ */
+ public static int H5O_iterate_t_vers() {
+ return H5O_iterate_t_vers;
+ }
+ private static final int H5Z_class_t_vers = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_class_t_vers 2
+ * }
+ */
+ public static int H5Z_class_t_vers() {
+ return H5Z_class_t_vers;
+ }
+ private static final int __has_safe_buffers = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __has_safe_buffers 0
+ * }
+ */
+ public static int __has_safe_buffers() {
+ return __has_safe_buffers;
+ }
+ private static final int __DARWIN_ONLY_64_BIT_INO_T = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_ONLY_64_BIT_INO_T 0
+ * }
+ */
+ public static int __DARWIN_ONLY_64_BIT_INO_T() {
+ return __DARWIN_ONLY_64_BIT_INO_T;
+ }
+ private static final int __DARWIN_ONLY_UNIX_CONFORMANCE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_ONLY_UNIX_CONFORMANCE 1
+ * }
+ */
+ public static int __DARWIN_ONLY_UNIX_CONFORMANCE() {
+ return __DARWIN_ONLY_UNIX_CONFORMANCE;
+ }
+ private static final int __DARWIN_ONLY_VERS_1050 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_ONLY_VERS_1050 0
+ * }
+ */
+ public static int __DARWIN_ONLY_VERS_1050() {
+ return __DARWIN_ONLY_VERS_1050;
+ }
+ private static final int __DARWIN_UNIX03 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_UNIX03 1
+ * }
+ */
+ public static int __DARWIN_UNIX03() {
+ return __DARWIN_UNIX03;
+ }
+ private static final int __DARWIN_64_BIT_INO_T = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_64_BIT_INO_T 1
+ * }
+ */
+ public static int __DARWIN_64_BIT_INO_T() {
+ return __DARWIN_64_BIT_INO_T;
+ }
+ private static final int __DARWIN_VERS_1050 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_VERS_1050 1
+ * }
+ */
+ public static int __DARWIN_VERS_1050() {
+ return __DARWIN_VERS_1050;
+ }
+ private static final int __DARWIN_NON_CANCELABLE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_NON_CANCELABLE 0
+ * }
+ */
+ public static int __DARWIN_NON_CANCELABLE() {
+ return __DARWIN_NON_CANCELABLE;
+ }
+ private static final int __STDC_WANT_LIB_EXT1__ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __STDC_WANT_LIB_EXT1__ 1
+ * }
+ */
+ public static int __STDC_WANT_LIB_EXT1__() {
+ return __STDC_WANT_LIB_EXT1__;
+ }
+ private static final int __DARWIN_NO_LONG_LONG = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_NO_LONG_LONG 0
+ * }
+ */
+ public static int __DARWIN_NO_LONG_LONG() {
+ return __DARWIN_NO_LONG_LONG;
+ }
+ private static final int _DARWIN_FEATURE_64_BIT_INODE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _DARWIN_FEATURE_64_BIT_INODE 1
+ * }
+ */
+ public static int _DARWIN_FEATURE_64_BIT_INODE() {
+ return _DARWIN_FEATURE_64_BIT_INODE;
+ }
+ private static final int _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE 1
+ * }
+ */
+ public static int _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE() {
+ return _DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE;
+ }
+ private static final int _DARWIN_FEATURE_UNIX_CONFORMANCE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define _DARWIN_FEATURE_UNIX_CONFORMANCE 3
+ * }
+ */
+ public static int _DARWIN_FEATURE_UNIX_CONFORMANCE() {
+ return _DARWIN_FEATURE_UNIX_CONFORMANCE;
+ }
+ private static final int __has_ptrcheck = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define __has_ptrcheck 0
+ * }
+ */
+ public static int __has_ptrcheck() {
+ return __has_ptrcheck;
+ }
+ private static final int __API_TO_BE_DEPRECATED = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED() {
+ return __API_TO_BE_DEPRECATED;
+ }
+ private static final int __API_TO_BE_DEPRECATED_MACOS = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_MACOS 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_MACOS() {
+ return __API_TO_BE_DEPRECATED_MACOS;
+ }
+ private static final int __API_TO_BE_DEPRECATED_MACOSAPPLICATIONEXTENSION = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_MACOSAPPLICATIONEXTENSION 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_MACOSAPPLICATIONEXTENSION() {
+ return __API_TO_BE_DEPRECATED_MACOSAPPLICATIONEXTENSION;
+ }
+ private static final int __API_TO_BE_DEPRECATED_IOS = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_IOS 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_IOS() {
+ return __API_TO_BE_DEPRECATED_IOS;
+ }
+ private static final int __API_TO_BE_DEPRECATED_IOSAPPLICATIONEXTENSION = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_IOSAPPLICATIONEXTENSION 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_IOSAPPLICATIONEXTENSION() {
+ return __API_TO_BE_DEPRECATED_IOSAPPLICATIONEXTENSION;
+ }
+ private static final int __API_TO_BE_DEPRECATED_MACCATALYST = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_MACCATALYST 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_MACCATALYST() {
+ return __API_TO_BE_DEPRECATED_MACCATALYST;
+ }
+ private static final int __API_TO_BE_DEPRECATED_MACCATALYSTAPPLICATIONEXTENSION = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_MACCATALYSTAPPLICATIONEXTENSION 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_MACCATALYSTAPPLICATIONEXTENSION() {
+ return __API_TO_BE_DEPRECATED_MACCATALYSTAPPLICATIONEXTENSION;
+ }
+ private static final int __API_TO_BE_DEPRECATED_WATCHOS = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_WATCHOS 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_WATCHOS() {
+ return __API_TO_BE_DEPRECATED_WATCHOS;
+ }
+ private static final int __API_TO_BE_DEPRECATED_WATCHOSAPPLICATIONEXTENSION = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_WATCHOSAPPLICATIONEXTENSION 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_WATCHOSAPPLICATIONEXTENSION() {
+ return __API_TO_BE_DEPRECATED_WATCHOSAPPLICATIONEXTENSION;
+ }
+ private static final int __API_TO_BE_DEPRECATED_TVOS = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_TVOS 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_TVOS() {
+ return __API_TO_BE_DEPRECATED_TVOS;
+ }
+ private static final int __API_TO_BE_DEPRECATED_TVOSAPPLICATIONEXTENSION = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_TVOSAPPLICATIONEXTENSION 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_TVOSAPPLICATIONEXTENSION() {
+ return __API_TO_BE_DEPRECATED_TVOSAPPLICATIONEXTENSION;
+ }
+ private static final int __API_TO_BE_DEPRECATED_DRIVERKIT = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_DRIVERKIT 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_DRIVERKIT() {
+ return __API_TO_BE_DEPRECATED_DRIVERKIT;
+ }
+ private static final int __API_TO_BE_DEPRECATED_VISIONOS = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_VISIONOS 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_VISIONOS() {
+ return __API_TO_BE_DEPRECATED_VISIONOS;
+ }
+ private static final int __API_TO_BE_DEPRECATED_VISIONOSAPPLICATIONEXTENSION = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_VISIONOSAPPLICATIONEXTENSION 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_VISIONOSAPPLICATIONEXTENSION() {
+ return __API_TO_BE_DEPRECATED_VISIONOSAPPLICATIONEXTENSION;
+ }
+ private static final int __API_TO_BE_DEPRECATED_KERNELKIT = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __API_TO_BE_DEPRECATED_KERNELKIT 100000
+ * }
+ */
+ public static int __API_TO_BE_DEPRECATED_KERNELKIT() {
+ return __API_TO_BE_DEPRECATED_KERNELKIT;
+ }
+ private static final int __MAC_10_0 = (int)1000L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_0 1000
+ * }
+ */
+ public static int __MAC_10_0() {
+ return __MAC_10_0;
+ }
+ private static final int __MAC_10_1 = (int)1010L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_1 1010
+ * }
+ */
+ public static int __MAC_10_1() {
+ return __MAC_10_1;
+ }
+ private static final int __MAC_10_2 = (int)1020L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_2 1020
+ * }
+ */
+ public static int __MAC_10_2() {
+ return __MAC_10_2;
+ }
+ private static final int __MAC_10_3 = (int)1030L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_3 1030
+ * }
+ */
+ public static int __MAC_10_3() {
+ return __MAC_10_3;
+ }
+ private static final int __MAC_10_4 = (int)1040L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_4 1040
+ * }
+ */
+ public static int __MAC_10_4() {
+ return __MAC_10_4;
+ }
+ private static final int __MAC_10_5 = (int)1050L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_5 1050
+ * }
+ */
+ public static int __MAC_10_5() {
+ return __MAC_10_5;
+ }
+ private static final int __MAC_10_6 = (int)1060L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_6 1060
+ * }
+ */
+ public static int __MAC_10_6() {
+ return __MAC_10_6;
+ }
+ private static final int __MAC_10_7 = (int)1070L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_7 1070
+ * }
+ */
+ public static int __MAC_10_7() {
+ return __MAC_10_7;
+ }
+ private static final int __MAC_10_8 = (int)1080L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_8 1080
+ * }
+ */
+ public static int __MAC_10_8() {
+ return __MAC_10_8;
+ }
+ private static final int __MAC_10_9 = (int)1090L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_9 1090
+ * }
+ */
+ public static int __MAC_10_9() {
+ return __MAC_10_9;
+ }
+ private static final int __MAC_10_10 = (int)101000L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_10 101000
+ * }
+ */
+ public static int __MAC_10_10() {
+ return __MAC_10_10;
+ }
+ private static final int __MAC_10_10_2 = (int)101002L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_10_2 101002
+ * }
+ */
+ public static int __MAC_10_10_2() {
+ return __MAC_10_10_2;
+ }
+ private static final int __MAC_10_10_3 = (int)101003L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_10_3 101003
+ * }
+ */
+ public static int __MAC_10_10_3() {
+ return __MAC_10_10_3;
+ }
+ private static final int __MAC_10_11 = (int)101100L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_11 101100
+ * }
+ */
+ public static int __MAC_10_11() {
+ return __MAC_10_11;
+ }
+ private static final int __MAC_10_11_2 = (int)101102L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_11_2 101102
+ * }
+ */
+ public static int __MAC_10_11_2() {
+ return __MAC_10_11_2;
+ }
+ private static final int __MAC_10_11_3 = (int)101103L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_11_3 101103
+ * }
+ */
+ public static int __MAC_10_11_3() {
+ return __MAC_10_11_3;
+ }
+ private static final int __MAC_10_11_4 = (int)101104L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_11_4 101104
+ * }
+ */
+ public static int __MAC_10_11_4() {
+ return __MAC_10_11_4;
+ }
+ private static final int __MAC_10_12 = (int)101200L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_12 101200
+ * }
+ */
+ public static int __MAC_10_12() {
+ return __MAC_10_12;
+ }
+ private static final int __MAC_10_12_1 = (int)101201L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_12_1 101201
+ * }
+ */
+ public static int __MAC_10_12_1() {
+ return __MAC_10_12_1;
+ }
+ private static final int __MAC_10_12_2 = (int)101202L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_12_2 101202
+ * }
+ */
+ public static int __MAC_10_12_2() {
+ return __MAC_10_12_2;
+ }
+ private static final int __MAC_10_12_4 = (int)101204L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_12_4 101204
+ * }
+ */
+ public static int __MAC_10_12_4() {
+ return __MAC_10_12_4;
+ }
+ private static final int __MAC_10_13 = (int)101300L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_13 101300
+ * }
+ */
+ public static int __MAC_10_13() {
+ return __MAC_10_13;
+ }
+ private static final int __MAC_10_13_1 = (int)101301L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_13_1 101301
+ * }
+ */
+ public static int __MAC_10_13_1() {
+ return __MAC_10_13_1;
+ }
+ private static final int __MAC_10_13_2 = (int)101302L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_13_2 101302
+ * }
+ */
+ public static int __MAC_10_13_2() {
+ return __MAC_10_13_2;
+ }
+ private static final int __MAC_10_13_4 = (int)101304L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_13_4 101304
+ * }
+ */
+ public static int __MAC_10_13_4() {
+ return __MAC_10_13_4;
+ }
+ private static final int __MAC_10_14 = (int)101400L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_14 101400
+ * }
+ */
+ public static int __MAC_10_14() {
+ return __MAC_10_14;
+ }
+ private static final int __MAC_10_14_1 = (int)101401L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_14_1 101401
+ * }
+ */
+ public static int __MAC_10_14_1() {
+ return __MAC_10_14_1;
+ }
+ private static final int __MAC_10_14_4 = (int)101404L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_14_4 101404
+ * }
+ */
+ public static int __MAC_10_14_4() {
+ return __MAC_10_14_4;
+ }
+ private static final int __MAC_10_14_5 = (int)101405L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_14_5 101405
+ * }
+ */
+ public static int __MAC_10_14_5() {
+ return __MAC_10_14_5;
+ }
+ private static final int __MAC_10_14_6 = (int)101406L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_14_6 101406
+ * }
+ */
+ public static int __MAC_10_14_6() {
+ return __MAC_10_14_6;
+ }
+ private static final int __MAC_10_15 = (int)101500L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_15 101500
+ * }
+ */
+ public static int __MAC_10_15() {
+ return __MAC_10_15;
+ }
+ private static final int __MAC_10_15_1 = (int)101501L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_15_1 101501
+ * }
+ */
+ public static int __MAC_10_15_1() {
+ return __MAC_10_15_1;
+ }
+ private static final int __MAC_10_15_4 = (int)101504L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_15_4 101504
+ * }
+ */
+ public static int __MAC_10_15_4() {
+ return __MAC_10_15_4;
+ }
+ private static final int __MAC_10_16 = (int)101600L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_10_16 101600
+ * }
+ */
+ public static int __MAC_10_16() {
+ return __MAC_10_16;
+ }
+ private static final int __MAC_11_0 = (int)110000L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_11_0 110000
+ * }
+ */
+ public static int __MAC_11_0() {
+ return __MAC_11_0;
+ }
+ private static final int __MAC_11_1 = (int)110100L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_11_1 110100
+ * }
+ */
+ public static int __MAC_11_1() {
+ return __MAC_11_1;
+ }
+ private static final int __MAC_11_3 = (int)110300L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_11_3 110300
+ * }
+ */
+ public static int __MAC_11_3() {
+ return __MAC_11_3;
+ }
+ private static final int __MAC_11_4 = (int)110400L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_11_4 110400
+ * }
+ */
+ public static int __MAC_11_4() {
+ return __MAC_11_4;
+ }
+ private static final int __MAC_11_5 = (int)110500L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_11_5 110500
+ * }
+ */
+ public static int __MAC_11_5() {
+ return __MAC_11_5;
+ }
+ private static final int __MAC_11_6 = (int)110600L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_11_6 110600
+ * }
+ */
+ public static int __MAC_11_6() {
+ return __MAC_11_6;
+ }
+ private static final int __MAC_12_0 = (int)120000L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_12_0 120000
+ * }
+ */
+ public static int __MAC_12_0() {
+ return __MAC_12_0;
+ }
+ private static final int __MAC_12_1 = (int)120100L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_12_1 120100
+ * }
+ */
+ public static int __MAC_12_1() {
+ return __MAC_12_1;
+ }
+ private static final int __MAC_12_2 = (int)120200L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_12_2 120200
+ * }
+ */
+ public static int __MAC_12_2() {
+ return __MAC_12_2;
+ }
+ private static final int __MAC_12_3 = (int)120300L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_12_3 120300
+ * }
+ */
+ public static int __MAC_12_3() {
+ return __MAC_12_3;
+ }
+ private static final int __MAC_12_4 = (int)120400L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_12_4 120400
+ * }
+ */
+ public static int __MAC_12_4() {
+ return __MAC_12_4;
+ }
+ private static final int __MAC_12_5 = (int)120500L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_12_5 120500
+ * }
+ */
+ public static int __MAC_12_5() {
+ return __MAC_12_5;
+ }
+ private static final int __MAC_12_6 = (int)120600L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_12_6 120600
+ * }
+ */
+ public static int __MAC_12_6() {
+ return __MAC_12_6;
+ }
+ private static final int __MAC_12_7 = (int)120700L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_12_7 120700
+ * }
+ */
+ public static int __MAC_12_7() {
+ return __MAC_12_7;
+ }
+ private static final int __MAC_13_0 = (int)130000L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_13_0 130000
+ * }
+ */
+ public static int __MAC_13_0() {
+ return __MAC_13_0;
+ }
+ private static final int __MAC_13_1 = (int)130100L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_13_1 130100
+ * }
+ */
+ public static int __MAC_13_1() {
+ return __MAC_13_1;
+ }
+ private static final int __MAC_13_2 = (int)130200L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_13_2 130200
+ * }
+ */
+ public static int __MAC_13_2() {
+ return __MAC_13_2;
+ }
+ private static final int __MAC_13_3 = (int)130300L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_13_3 130300
+ * }
+ */
+ public static int __MAC_13_3() {
+ return __MAC_13_3;
+ }
+ private static final int __MAC_13_4 = (int)130400L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_13_4 130400
+ * }
+ */
+ public static int __MAC_13_4() {
+ return __MAC_13_4;
+ }
+ private static final int __MAC_13_5 = (int)130500L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_13_5 130500
+ * }
+ */
+ public static int __MAC_13_5() {
+ return __MAC_13_5;
+ }
+ private static final int __MAC_13_6 = (int)130600L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_13_6 130600
+ * }
+ */
+ public static int __MAC_13_6() {
+ return __MAC_13_6;
+ }
+ private static final int __MAC_13_7 = (int)130700L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_13_7 130700
+ * }
+ */
+ public static int __MAC_13_7() {
+ return __MAC_13_7;
+ }
+ private static final int __MAC_14_0 = (int)140000L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_14_0 140000
+ * }
+ */
+ public static int __MAC_14_0() {
+ return __MAC_14_0;
+ }
+ private static final int __MAC_14_1 = (int)140100L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_14_1 140100
+ * }
+ */
+ public static int __MAC_14_1() {
+ return __MAC_14_1;
+ }
+ private static final int __MAC_14_2 = (int)140200L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_14_2 140200
+ * }
+ */
+ public static int __MAC_14_2() {
+ return __MAC_14_2;
+ }
+ private static final int __MAC_14_3 = (int)140300L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_14_3 140300
+ * }
+ */
+ public static int __MAC_14_3() {
+ return __MAC_14_3;
+ }
+ private static final int __MAC_14_4 = (int)140400L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_14_4 140400
+ * }
+ */
+ public static int __MAC_14_4() {
+ return __MAC_14_4;
+ }
+ private static final int __MAC_14_5 = (int)140500L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_14_5 140500
+ * }
+ */
+ public static int __MAC_14_5() {
+ return __MAC_14_5;
+ }
+ private static final int __MAC_14_6 = (int)140600L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_14_6 140600
+ * }
+ */
+ public static int __MAC_14_6() {
+ return __MAC_14_6;
+ }
+ private static final int __MAC_14_7 = (int)140700L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_14_7 140700
+ * }
+ */
+ public static int __MAC_14_7() {
+ return __MAC_14_7;
+ }
+ private static final int __MAC_15_0 = (int)150000L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_15_0 150000
+ * }
+ */
+ public static int __MAC_15_0() {
+ return __MAC_15_0;
+ }
+ private static final int __MAC_15_1 = (int)150100L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_15_1 150100
+ * }
+ */
+ public static int __MAC_15_1() {
+ return __MAC_15_1;
+ }
+ private static final int __MAC_15_2 = (int)150200L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_15_2 150200
+ * }
+ */
+ public static int __MAC_15_2() {
+ return __MAC_15_2;
+ }
+ private static final int __MAC_15_3 = (int)150300L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_15_3 150300
+ * }
+ */
+ public static int __MAC_15_3() {
+ return __MAC_15_3;
+ }
+ private static final int __MAC_15_4 = (int)150400L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_15_4 150400
+ * }
+ */
+ public static int __MAC_15_4() {
+ return __MAC_15_4;
+ }
+ private static final int __MAC_15_5 = (int)150500L;
+ /**
+ * {@snippet lang=c :
+ * #define __MAC_15_5 150500
+ * }
+ */
+ public static int __MAC_15_5() {
+ return __MAC_15_5;
+ }
+ private static final int __IPHONE_2_0 = (int)20000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_2_0 20000
+ * }
+ */
+ public static int __IPHONE_2_0() {
+ return __IPHONE_2_0;
+ }
+ private static final int __IPHONE_2_1 = (int)20100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_2_1 20100
+ * }
+ */
+ public static int __IPHONE_2_1() {
+ return __IPHONE_2_1;
+ }
+ private static final int __IPHONE_2_2 = (int)20200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_2_2 20200
+ * }
+ */
+ public static int __IPHONE_2_2() {
+ return __IPHONE_2_2;
+ }
+ private static final int __IPHONE_3_0 = (int)30000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_3_0 30000
+ * }
+ */
+ public static int __IPHONE_3_0() {
+ return __IPHONE_3_0;
+ }
+ private static final int __IPHONE_3_1 = (int)30100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_3_1 30100
+ * }
+ */
+ public static int __IPHONE_3_1() {
+ return __IPHONE_3_1;
+ }
+ private static final int __IPHONE_3_2 = (int)30200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_3_2 30200
+ * }
+ */
+ public static int __IPHONE_3_2() {
+ return __IPHONE_3_2;
+ }
+ private static final int __IPHONE_4_0 = (int)40000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_4_0 40000
+ * }
+ */
+ public static int __IPHONE_4_0() {
+ return __IPHONE_4_0;
+ }
+ private static final int __IPHONE_4_1 = (int)40100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_4_1 40100
+ * }
+ */
+ public static int __IPHONE_4_1() {
+ return __IPHONE_4_1;
+ }
+ private static final int __IPHONE_4_2 = (int)40200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_4_2 40200
+ * }
+ */
+ public static int __IPHONE_4_2() {
+ return __IPHONE_4_2;
+ }
+ private static final int __IPHONE_4_3 = (int)40300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_4_3 40300
+ * }
+ */
+ public static int __IPHONE_4_3() {
+ return __IPHONE_4_3;
+ }
+ private static final int __IPHONE_5_0 = (int)50000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_5_0 50000
+ * }
+ */
+ public static int __IPHONE_5_0() {
+ return __IPHONE_5_0;
+ }
+ private static final int __IPHONE_5_1 = (int)50100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_5_1 50100
+ * }
+ */
+ public static int __IPHONE_5_1() {
+ return __IPHONE_5_1;
+ }
+ private static final int __IPHONE_6_0 = (int)60000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_6_0 60000
+ * }
+ */
+ public static int __IPHONE_6_0() {
+ return __IPHONE_6_0;
+ }
+ private static final int __IPHONE_6_1 = (int)60100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_6_1 60100
+ * }
+ */
+ public static int __IPHONE_6_1() {
+ return __IPHONE_6_1;
+ }
+ private static final int __IPHONE_7_0 = (int)70000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_7_0 70000
+ * }
+ */
+ public static int __IPHONE_7_0() {
+ return __IPHONE_7_0;
+ }
+ private static final int __IPHONE_7_1 = (int)70100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_7_1 70100
+ * }
+ */
+ public static int __IPHONE_7_1() {
+ return __IPHONE_7_1;
+ }
+ private static final int __IPHONE_8_0 = (int)80000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_8_0 80000
+ * }
+ */
+ public static int __IPHONE_8_0() {
+ return __IPHONE_8_0;
+ }
+ private static final int __IPHONE_8_1 = (int)80100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_8_1 80100
+ * }
+ */
+ public static int __IPHONE_8_1() {
+ return __IPHONE_8_1;
+ }
+ private static final int __IPHONE_8_2 = (int)80200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_8_2 80200
+ * }
+ */
+ public static int __IPHONE_8_2() {
+ return __IPHONE_8_2;
+ }
+ private static final int __IPHONE_8_3 = (int)80300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_8_3 80300
+ * }
+ */
+ public static int __IPHONE_8_3() {
+ return __IPHONE_8_3;
+ }
+ private static final int __IPHONE_8_4 = (int)80400L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_8_4 80400
+ * }
+ */
+ public static int __IPHONE_8_4() {
+ return __IPHONE_8_4;
+ }
+ private static final int __IPHONE_9_0 = (int)90000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_9_0 90000
+ * }
+ */
+ public static int __IPHONE_9_0() {
+ return __IPHONE_9_0;
+ }
+ private static final int __IPHONE_9_1 = (int)90100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_9_1 90100
+ * }
+ */
+ public static int __IPHONE_9_1() {
+ return __IPHONE_9_1;
+ }
+ private static final int __IPHONE_9_2 = (int)90200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_9_2 90200
+ * }
+ */
+ public static int __IPHONE_9_2() {
+ return __IPHONE_9_2;
+ }
+ private static final int __IPHONE_9_3 = (int)90300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_9_3 90300
+ * }
+ */
+ public static int __IPHONE_9_3() {
+ return __IPHONE_9_3;
+ }
+ private static final int __IPHONE_10_0 = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_10_0 100000
+ * }
+ */
+ public static int __IPHONE_10_0() {
+ return __IPHONE_10_0;
+ }
+ private static final int __IPHONE_10_1 = (int)100100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_10_1 100100
+ * }
+ */
+ public static int __IPHONE_10_1() {
+ return __IPHONE_10_1;
+ }
+ private static final int __IPHONE_10_2 = (int)100200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_10_2 100200
+ * }
+ */
+ public static int __IPHONE_10_2() {
+ return __IPHONE_10_2;
+ }
+ private static final int __IPHONE_10_3 = (int)100300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_10_3 100300
+ * }
+ */
+ public static int __IPHONE_10_3() {
+ return __IPHONE_10_3;
+ }
+ private static final int __IPHONE_11_0 = (int)110000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_11_0 110000
+ * }
+ */
+ public static int __IPHONE_11_0() {
+ return __IPHONE_11_0;
+ }
+ private static final int __IPHONE_11_1 = (int)110100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_11_1 110100
+ * }
+ */
+ public static int __IPHONE_11_1() {
+ return __IPHONE_11_1;
+ }
+ private static final int __IPHONE_11_2 = (int)110200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_11_2 110200
+ * }
+ */
+ public static int __IPHONE_11_2() {
+ return __IPHONE_11_2;
+ }
+ private static final int __IPHONE_11_3 = (int)110300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_11_3 110300
+ * }
+ */
+ public static int __IPHONE_11_3() {
+ return __IPHONE_11_3;
+ }
+ private static final int __IPHONE_11_4 = (int)110400L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_11_4 110400
+ * }
+ */
+ public static int __IPHONE_11_4() {
+ return __IPHONE_11_4;
+ }
+ private static final int __IPHONE_12_0 = (int)120000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_12_0 120000
+ * }
+ */
+ public static int __IPHONE_12_0() {
+ return __IPHONE_12_0;
+ }
+ private static final int __IPHONE_12_1 = (int)120100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_12_1 120100
+ * }
+ */
+ public static int __IPHONE_12_1() {
+ return __IPHONE_12_1;
+ }
+ private static final int __IPHONE_12_2 = (int)120200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_12_2 120200
+ * }
+ */
+ public static int __IPHONE_12_2() {
+ return __IPHONE_12_2;
+ }
+ private static final int __IPHONE_12_3 = (int)120300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_12_3 120300
+ * }
+ */
+ public static int __IPHONE_12_3() {
+ return __IPHONE_12_3;
+ }
+ private static final int __IPHONE_12_4 = (int)120400L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_12_4 120400
+ * }
+ */
+ public static int __IPHONE_12_4() {
+ return __IPHONE_12_4;
+ }
+ private static final int __IPHONE_13_0 = (int)130000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_13_0 130000
+ * }
+ */
+ public static int __IPHONE_13_0() {
+ return __IPHONE_13_0;
+ }
+ private static final int __IPHONE_13_1 = (int)130100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_13_1 130100
+ * }
+ */
+ public static int __IPHONE_13_1() {
+ return __IPHONE_13_1;
+ }
+ private static final int __IPHONE_13_2 = (int)130200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_13_2 130200
+ * }
+ */
+ public static int __IPHONE_13_2() {
+ return __IPHONE_13_2;
+ }
+ private static final int __IPHONE_13_3 = (int)130300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_13_3 130300
+ * }
+ */
+ public static int __IPHONE_13_3() {
+ return __IPHONE_13_3;
+ }
+ private static final int __IPHONE_13_4 = (int)130400L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_13_4 130400
+ * }
+ */
+ public static int __IPHONE_13_4() {
+ return __IPHONE_13_4;
+ }
+ private static final int __IPHONE_13_5 = (int)130500L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_13_5 130500
+ * }
+ */
+ public static int __IPHONE_13_5() {
+ return __IPHONE_13_5;
+ }
+ private static final int __IPHONE_13_6 = (int)130600L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_13_6 130600
+ * }
+ */
+ public static int __IPHONE_13_6() {
+ return __IPHONE_13_6;
+ }
+ private static final int __IPHONE_13_7 = (int)130700L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_13_7 130700
+ * }
+ */
+ public static int __IPHONE_13_7() {
+ return __IPHONE_13_7;
+ }
+ private static final int __IPHONE_14_0 = (int)140000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_14_0 140000
+ * }
+ */
+ public static int __IPHONE_14_0() {
+ return __IPHONE_14_0;
+ }
+ private static final int __IPHONE_14_1 = (int)140100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_14_1 140100
+ * }
+ */
+ public static int __IPHONE_14_1() {
+ return __IPHONE_14_1;
+ }
+ private static final int __IPHONE_14_2 = (int)140200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_14_2 140200
+ * }
+ */
+ public static int __IPHONE_14_2() {
+ return __IPHONE_14_2;
+ }
+ private static final int __IPHONE_14_3 = (int)140300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_14_3 140300
+ * }
+ */
+ public static int __IPHONE_14_3() {
+ return __IPHONE_14_3;
+ }
+ private static final int __IPHONE_14_5 = (int)140500L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_14_5 140500
+ * }
+ */
+ public static int __IPHONE_14_5() {
+ return __IPHONE_14_5;
+ }
+ private static final int __IPHONE_14_4 = (int)140400L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_14_4 140400
+ * }
+ */
+ public static int __IPHONE_14_4() {
+ return __IPHONE_14_4;
+ }
+ private static final int __IPHONE_14_6 = (int)140600L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_14_6 140600
+ * }
+ */
+ public static int __IPHONE_14_6() {
+ return __IPHONE_14_6;
+ }
+ private static final int __IPHONE_14_7 = (int)140700L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_14_7 140700
+ * }
+ */
+ public static int __IPHONE_14_7() {
+ return __IPHONE_14_7;
+ }
+ private static final int __IPHONE_14_8 = (int)140800L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_14_8 140800
+ * }
+ */
+ public static int __IPHONE_14_8() {
+ return __IPHONE_14_8;
+ }
+ private static final int __IPHONE_15_0 = (int)150000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_15_0 150000
+ * }
+ */
+ public static int __IPHONE_15_0() {
+ return __IPHONE_15_0;
+ }
+ private static final int __IPHONE_15_1 = (int)150100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_15_1 150100
+ * }
+ */
+ public static int __IPHONE_15_1() {
+ return __IPHONE_15_1;
+ }
+ private static final int __IPHONE_15_2 = (int)150200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_15_2 150200
+ * }
+ */
+ public static int __IPHONE_15_2() {
+ return __IPHONE_15_2;
+ }
+ private static final int __IPHONE_15_3 = (int)150300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_15_3 150300
+ * }
+ */
+ public static int __IPHONE_15_3() {
+ return __IPHONE_15_3;
+ }
+ private static final int __IPHONE_15_4 = (int)150400L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_15_4 150400
+ * }
+ */
+ public static int __IPHONE_15_4() {
+ return __IPHONE_15_4;
+ }
+ private static final int __IPHONE_15_5 = (int)150500L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_15_5 150500
+ * }
+ */
+ public static int __IPHONE_15_5() {
+ return __IPHONE_15_5;
+ }
+ private static final int __IPHONE_15_6 = (int)150600L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_15_6 150600
+ * }
+ */
+ public static int __IPHONE_15_6() {
+ return __IPHONE_15_6;
+ }
+ private static final int __IPHONE_15_7 = (int)150700L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_15_7 150700
+ * }
+ */
+ public static int __IPHONE_15_7() {
+ return __IPHONE_15_7;
+ }
+ private static final int __IPHONE_15_8 = (int)150800L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_15_8 150800
+ * }
+ */
+ public static int __IPHONE_15_8() {
+ return __IPHONE_15_8;
+ }
+ private static final int __IPHONE_16_0 = (int)160000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_16_0 160000
+ * }
+ */
+ public static int __IPHONE_16_0() {
+ return __IPHONE_16_0;
+ }
+ private static final int __IPHONE_16_1 = (int)160100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_16_1 160100
+ * }
+ */
+ public static int __IPHONE_16_1() {
+ return __IPHONE_16_1;
+ }
+ private static final int __IPHONE_16_2 = (int)160200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_16_2 160200
+ * }
+ */
+ public static int __IPHONE_16_2() {
+ return __IPHONE_16_2;
+ }
+ private static final int __IPHONE_16_3 = (int)160300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_16_3 160300
+ * }
+ */
+ public static int __IPHONE_16_3() {
+ return __IPHONE_16_3;
+ }
+ private static final int __IPHONE_16_4 = (int)160400L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_16_4 160400
+ * }
+ */
+ public static int __IPHONE_16_4() {
+ return __IPHONE_16_4;
+ }
+ private static final int __IPHONE_16_5 = (int)160500L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_16_5 160500
+ * }
+ */
+ public static int __IPHONE_16_5() {
+ return __IPHONE_16_5;
+ }
+ private static final int __IPHONE_16_6 = (int)160600L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_16_6 160600
+ * }
+ */
+ public static int __IPHONE_16_6() {
+ return __IPHONE_16_6;
+ }
+ private static final int __IPHONE_16_7 = (int)160700L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_16_7 160700
+ * }
+ */
+ public static int __IPHONE_16_7() {
+ return __IPHONE_16_7;
+ }
+ private static final int __IPHONE_17_0 = (int)170000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_17_0 170000
+ * }
+ */
+ public static int __IPHONE_17_0() {
+ return __IPHONE_17_0;
+ }
+ private static final int __IPHONE_17_1 = (int)170100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_17_1 170100
+ * }
+ */
+ public static int __IPHONE_17_1() {
+ return __IPHONE_17_1;
+ }
+ private static final int __IPHONE_17_2 = (int)170200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_17_2 170200
+ * }
+ */
+ public static int __IPHONE_17_2() {
+ return __IPHONE_17_2;
+ }
+ private static final int __IPHONE_17_3 = (int)170300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_17_3 170300
+ * }
+ */
+ public static int __IPHONE_17_3() {
+ return __IPHONE_17_3;
+ }
+ private static final int __IPHONE_17_4 = (int)170400L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_17_4 170400
+ * }
+ */
+ public static int __IPHONE_17_4() {
+ return __IPHONE_17_4;
+ }
+ private static final int __IPHONE_17_5 = (int)170500L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_17_5 170500
+ * }
+ */
+ public static int __IPHONE_17_5() {
+ return __IPHONE_17_5;
+ }
+ private static final int __IPHONE_17_6 = (int)170600L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_17_6 170600
+ * }
+ */
+ public static int __IPHONE_17_6() {
+ return __IPHONE_17_6;
+ }
+ private static final int __IPHONE_17_7 = (int)170700L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_17_7 170700
+ * }
+ */
+ public static int __IPHONE_17_7() {
+ return __IPHONE_17_7;
+ }
+ private static final int __IPHONE_18_0 = (int)180000L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_18_0 180000
+ * }
+ */
+ public static int __IPHONE_18_0() {
+ return __IPHONE_18_0;
+ }
+ private static final int __IPHONE_18_1 = (int)180100L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_18_1 180100
+ * }
+ */
+ public static int __IPHONE_18_1() {
+ return __IPHONE_18_1;
+ }
+ private static final int __IPHONE_18_2 = (int)180200L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_18_2 180200
+ * }
+ */
+ public static int __IPHONE_18_2() {
+ return __IPHONE_18_2;
+ }
+ private static final int __IPHONE_18_3 = (int)180300L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_18_3 180300
+ * }
+ */
+ public static int __IPHONE_18_3() {
+ return __IPHONE_18_3;
+ }
+ private static final int __IPHONE_18_4 = (int)180400L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_18_4 180400
+ * }
+ */
+ public static int __IPHONE_18_4() {
+ return __IPHONE_18_4;
+ }
+ private static final int __IPHONE_18_5 = (int)180500L;
+ /**
+ * {@snippet lang=c :
+ * #define __IPHONE_18_5 180500
+ * }
+ */
+ public static int __IPHONE_18_5() {
+ return __IPHONE_18_5;
+ }
+ private static final int __WATCHOS_1_0 = (int)10000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_1_0 10000
+ * }
+ */
+ public static int __WATCHOS_1_0() {
+ return __WATCHOS_1_0;
+ }
+ private static final int __WATCHOS_2_0 = (int)20000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_2_0 20000
+ * }
+ */
+ public static int __WATCHOS_2_0() {
+ return __WATCHOS_2_0;
+ }
+ private static final int __WATCHOS_2_1 = (int)20100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_2_1 20100
+ * }
+ */
+ public static int __WATCHOS_2_1() {
+ return __WATCHOS_2_1;
+ }
+ private static final int __WATCHOS_2_2 = (int)20200L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_2_2 20200
+ * }
+ */
+ public static int __WATCHOS_2_2() {
+ return __WATCHOS_2_2;
+ }
+ private static final int __WATCHOS_3_0 = (int)30000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_3_0 30000
+ * }
+ */
+ public static int __WATCHOS_3_0() {
+ return __WATCHOS_3_0;
+ }
+ private static final int __WATCHOS_3_1 = (int)30100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_3_1 30100
+ * }
+ */
+ public static int __WATCHOS_3_1() {
+ return __WATCHOS_3_1;
+ }
+ private static final int __WATCHOS_3_1_1 = (int)30101L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_3_1_1 30101
+ * }
+ */
+ public static int __WATCHOS_3_1_1() {
+ return __WATCHOS_3_1_1;
+ }
+ private static final int __WATCHOS_3_2 = (int)30200L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_3_2 30200
+ * }
+ */
+ public static int __WATCHOS_3_2() {
+ return __WATCHOS_3_2;
+ }
+ private static final int __WATCHOS_4_0 = (int)40000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_4_0 40000
+ * }
+ */
+ public static int __WATCHOS_4_0() {
+ return __WATCHOS_4_0;
+ }
+ private static final int __WATCHOS_4_1 = (int)40100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_4_1 40100
+ * }
+ */
+ public static int __WATCHOS_4_1() {
+ return __WATCHOS_4_1;
+ }
+ private static final int __WATCHOS_4_2 = (int)40200L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_4_2 40200
+ * }
+ */
+ public static int __WATCHOS_4_2() {
+ return __WATCHOS_4_2;
+ }
+ private static final int __WATCHOS_4_3 = (int)40300L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_4_3 40300
+ * }
+ */
+ public static int __WATCHOS_4_3() {
+ return __WATCHOS_4_3;
+ }
+ private static final int __WATCHOS_5_0 = (int)50000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_5_0 50000
+ * }
+ */
+ public static int __WATCHOS_5_0() {
+ return __WATCHOS_5_0;
+ }
+ private static final int __WATCHOS_5_1 = (int)50100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_5_1 50100
+ * }
+ */
+ public static int __WATCHOS_5_1() {
+ return __WATCHOS_5_1;
+ }
+ private static final int __WATCHOS_5_2 = (int)50200L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_5_2 50200
+ * }
+ */
+ public static int __WATCHOS_5_2() {
+ return __WATCHOS_5_2;
+ }
+ private static final int __WATCHOS_5_3 = (int)50300L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_5_3 50300
+ * }
+ */
+ public static int __WATCHOS_5_3() {
+ return __WATCHOS_5_3;
+ }
+ private static final int __WATCHOS_6_0 = (int)60000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_6_0 60000
+ * }
+ */
+ public static int __WATCHOS_6_0() {
+ return __WATCHOS_6_0;
+ }
+ private static final int __WATCHOS_6_1 = (int)60100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_6_1 60100
+ * }
+ */
+ public static int __WATCHOS_6_1() {
+ return __WATCHOS_6_1;
+ }
+ private static final int __WATCHOS_6_2 = (int)60200L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_6_2 60200
+ * }
+ */
+ public static int __WATCHOS_6_2() {
+ return __WATCHOS_6_2;
+ }
+ private static final int __WATCHOS_7_0 = (int)70000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_7_0 70000
+ * }
+ */
+ public static int __WATCHOS_7_0() {
+ return __WATCHOS_7_0;
+ }
+ private static final int __WATCHOS_7_1 = (int)70100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_7_1 70100
+ * }
+ */
+ public static int __WATCHOS_7_1() {
+ return __WATCHOS_7_1;
+ }
+ private static final int __WATCHOS_7_2 = (int)70200L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_7_2 70200
+ * }
+ */
+ public static int __WATCHOS_7_2() {
+ return __WATCHOS_7_2;
+ }
+ private static final int __WATCHOS_7_3 = (int)70300L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_7_3 70300
+ * }
+ */
+ public static int __WATCHOS_7_3() {
+ return __WATCHOS_7_3;
+ }
+ private static final int __WATCHOS_7_4 = (int)70400L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_7_4 70400
+ * }
+ */
+ public static int __WATCHOS_7_4() {
+ return __WATCHOS_7_4;
+ }
+ private static final int __WATCHOS_7_5 = (int)70500L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_7_5 70500
+ * }
+ */
+ public static int __WATCHOS_7_5() {
+ return __WATCHOS_7_5;
+ }
+ private static final int __WATCHOS_7_6 = (int)70600L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_7_6 70600
+ * }
+ */
+ public static int __WATCHOS_7_6() {
+ return __WATCHOS_7_6;
+ }
+ private static final int __WATCHOS_8_0 = (int)80000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_8_0 80000
+ * }
+ */
+ public static int __WATCHOS_8_0() {
+ return __WATCHOS_8_0;
+ }
+ private static final int __WATCHOS_8_1 = (int)80100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_8_1 80100
+ * }
+ */
+ public static int __WATCHOS_8_1() {
+ return __WATCHOS_8_1;
+ }
+ private static final int __WATCHOS_8_3 = (int)80300L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_8_3 80300
+ * }
+ */
+ public static int __WATCHOS_8_3() {
+ return __WATCHOS_8_3;
+ }
+ private static final int __WATCHOS_8_4 = (int)80400L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_8_4 80400
+ * }
+ */
+ public static int __WATCHOS_8_4() {
+ return __WATCHOS_8_4;
+ }
+ private static final int __WATCHOS_8_5 = (int)80500L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_8_5 80500
+ * }
+ */
+ public static int __WATCHOS_8_5() {
+ return __WATCHOS_8_5;
+ }
+ private static final int __WATCHOS_8_6 = (int)80600L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_8_6 80600
+ * }
+ */
+ public static int __WATCHOS_8_6() {
+ return __WATCHOS_8_6;
+ }
+ private static final int __WATCHOS_8_7 = (int)80700L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_8_7 80700
+ * }
+ */
+ public static int __WATCHOS_8_7() {
+ return __WATCHOS_8_7;
+ }
+ private static final int __WATCHOS_8_8 = (int)80800L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_8_8 80800
+ * }
+ */
+ public static int __WATCHOS_8_8() {
+ return __WATCHOS_8_8;
+ }
+ private static final int __WATCHOS_9_0 = (int)90000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_9_0 90000
+ * }
+ */
+ public static int __WATCHOS_9_0() {
+ return __WATCHOS_9_0;
+ }
+ private static final int __WATCHOS_9_1 = (int)90100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_9_1 90100
+ * }
+ */
+ public static int __WATCHOS_9_1() {
+ return __WATCHOS_9_1;
+ }
+ private static final int __WATCHOS_9_2 = (int)90200L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_9_2 90200
+ * }
+ */
+ public static int __WATCHOS_9_2() {
+ return __WATCHOS_9_2;
+ }
+ private static final int __WATCHOS_9_3 = (int)90300L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_9_3 90300
+ * }
+ */
+ public static int __WATCHOS_9_3() {
+ return __WATCHOS_9_3;
+ }
+ private static final int __WATCHOS_9_4 = (int)90400L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_9_4 90400
+ * }
+ */
+ public static int __WATCHOS_9_4() {
+ return __WATCHOS_9_4;
+ }
+ private static final int __WATCHOS_9_5 = (int)90500L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_9_5 90500
+ * }
+ */
+ public static int __WATCHOS_9_5() {
+ return __WATCHOS_9_5;
+ }
+ private static final int __WATCHOS_9_6 = (int)90600L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_9_6 90600
+ * }
+ */
+ public static int __WATCHOS_9_6() {
+ return __WATCHOS_9_6;
+ }
+ private static final int __WATCHOS_10_0 = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_10_0 100000
+ * }
+ */
+ public static int __WATCHOS_10_0() {
+ return __WATCHOS_10_0;
+ }
+ private static final int __WATCHOS_10_1 = (int)100100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_10_1 100100
+ * }
+ */
+ public static int __WATCHOS_10_1() {
+ return __WATCHOS_10_1;
+ }
+ private static final int __WATCHOS_10_2 = (int)100200L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_10_2 100200
+ * }
+ */
+ public static int __WATCHOS_10_2() {
+ return __WATCHOS_10_2;
+ }
+ private static final int __WATCHOS_10_3 = (int)100300L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_10_3 100300
+ * }
+ */
+ public static int __WATCHOS_10_3() {
+ return __WATCHOS_10_3;
+ }
+ private static final int __WATCHOS_10_4 = (int)100400L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_10_4 100400
+ * }
+ */
+ public static int __WATCHOS_10_4() {
+ return __WATCHOS_10_4;
+ }
+ private static final int __WATCHOS_10_5 = (int)100500L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_10_5 100500
+ * }
+ */
+ public static int __WATCHOS_10_5() {
+ return __WATCHOS_10_5;
+ }
+ private static final int __WATCHOS_10_6 = (int)100600L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_10_6 100600
+ * }
+ */
+ public static int __WATCHOS_10_6() {
+ return __WATCHOS_10_6;
+ }
+ private static final int __WATCHOS_10_7 = (int)100700L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_10_7 100700
+ * }
+ */
+ public static int __WATCHOS_10_7() {
+ return __WATCHOS_10_7;
+ }
+ private static final int __WATCHOS_11_0 = (int)110000L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_11_0 110000
+ * }
+ */
+ public static int __WATCHOS_11_0() {
+ return __WATCHOS_11_0;
+ }
+ private static final int __WATCHOS_11_1 = (int)110100L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_11_1 110100
+ * }
+ */
+ public static int __WATCHOS_11_1() {
+ return __WATCHOS_11_1;
+ }
+ private static final int __WATCHOS_11_2 = (int)110200L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_11_2 110200
+ * }
+ */
+ public static int __WATCHOS_11_2() {
+ return __WATCHOS_11_2;
+ }
+ private static final int __WATCHOS_11_3 = (int)110300L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_11_3 110300
+ * }
+ */
+ public static int __WATCHOS_11_3() {
+ return __WATCHOS_11_3;
+ }
+ private static final int __WATCHOS_11_4 = (int)110400L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_11_4 110400
+ * }
+ */
+ public static int __WATCHOS_11_4() {
+ return __WATCHOS_11_4;
+ }
+ private static final int __WATCHOS_11_5 = (int)110500L;
+ /**
+ * {@snippet lang=c :
+ * #define __WATCHOS_11_5 110500
+ * }
+ */
+ public static int __WATCHOS_11_5() {
+ return __WATCHOS_11_5;
+ }
+ private static final int __TVOS_9_0 = (int)90000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_9_0 90000
+ * }
+ */
+ public static int __TVOS_9_0() {
+ return __TVOS_9_0;
+ }
+ private static final int __TVOS_9_1 = (int)90100L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_9_1 90100
+ * }
+ */
+ public static int __TVOS_9_1() {
+ return __TVOS_9_1;
+ }
+ private static final int __TVOS_9_2 = (int)90200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_9_2 90200
+ * }
+ */
+ public static int __TVOS_9_2() {
+ return __TVOS_9_2;
+ }
+ private static final int __TVOS_10_0 = (int)100000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_10_0 100000
+ * }
+ */
+ public static int __TVOS_10_0() {
+ return __TVOS_10_0;
+ }
+ private static final int __TVOS_10_0_1 = (int)100001L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_10_0_1 100001
+ * }
+ */
+ public static int __TVOS_10_0_1() {
+ return __TVOS_10_0_1;
+ }
+ private static final int __TVOS_10_1 = (int)100100L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_10_1 100100
+ * }
+ */
+ public static int __TVOS_10_1() {
+ return __TVOS_10_1;
+ }
+ private static final int __TVOS_10_2 = (int)100200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_10_2 100200
+ * }
+ */
+ public static int __TVOS_10_2() {
+ return __TVOS_10_2;
+ }
+ private static final int __TVOS_11_0 = (int)110000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_11_0 110000
+ * }
+ */
+ public static int __TVOS_11_0() {
+ return __TVOS_11_0;
+ }
+ private static final int __TVOS_11_1 = (int)110100L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_11_1 110100
+ * }
+ */
+ public static int __TVOS_11_1() {
+ return __TVOS_11_1;
+ }
+ private static final int __TVOS_11_2 = (int)110200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_11_2 110200
+ * }
+ */
+ public static int __TVOS_11_2() {
+ return __TVOS_11_2;
+ }
+ private static final int __TVOS_11_3 = (int)110300L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_11_3 110300
+ * }
+ */
+ public static int __TVOS_11_3() {
+ return __TVOS_11_3;
+ }
+ private static final int __TVOS_11_4 = (int)110400L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_11_4 110400
+ * }
+ */
+ public static int __TVOS_11_4() {
+ return __TVOS_11_4;
+ }
+ private static final int __TVOS_12_0 = (int)120000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_12_0 120000
+ * }
+ */
+ public static int __TVOS_12_0() {
+ return __TVOS_12_0;
+ }
+ private static final int __TVOS_12_1 = (int)120100L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_12_1 120100
+ * }
+ */
+ public static int __TVOS_12_1() {
+ return __TVOS_12_1;
+ }
+ private static final int __TVOS_12_2 = (int)120200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_12_2 120200
+ * }
+ */
+ public static int __TVOS_12_2() {
+ return __TVOS_12_2;
+ }
+ private static final int __TVOS_12_3 = (int)120300L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_12_3 120300
+ * }
+ */
+ public static int __TVOS_12_3() {
+ return __TVOS_12_3;
+ }
+ private static final int __TVOS_12_4 = (int)120400L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_12_4 120400
+ * }
+ */
+ public static int __TVOS_12_4() {
+ return __TVOS_12_4;
+ }
+ private static final int __TVOS_13_0 = (int)130000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_13_0 130000
+ * }
+ */
+ public static int __TVOS_13_0() {
+ return __TVOS_13_0;
+ }
+ private static final int __TVOS_13_2 = (int)130200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_13_2 130200
+ * }
+ */
+ public static int __TVOS_13_2() {
+ return __TVOS_13_2;
+ }
+ private static final int __TVOS_13_3 = (int)130300L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_13_3 130300
+ * }
+ */
+ public static int __TVOS_13_3() {
+ return __TVOS_13_3;
+ }
+ private static final int __TVOS_13_4 = (int)130400L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_13_4 130400
+ * }
+ */
+ public static int __TVOS_13_4() {
+ return __TVOS_13_4;
+ }
+ private static final int __TVOS_14_0 = (int)140000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_14_0 140000
+ * }
+ */
+ public static int __TVOS_14_0() {
+ return __TVOS_14_0;
+ }
+ private static final int __TVOS_14_1 = (int)140100L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_14_1 140100
+ * }
+ */
+ public static int __TVOS_14_1() {
+ return __TVOS_14_1;
+ }
+ private static final int __TVOS_14_2 = (int)140200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_14_2 140200
+ * }
+ */
+ public static int __TVOS_14_2() {
+ return __TVOS_14_2;
+ }
+ private static final int __TVOS_14_3 = (int)140300L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_14_3 140300
+ * }
+ */
+ public static int __TVOS_14_3() {
+ return __TVOS_14_3;
+ }
+ private static final int __TVOS_14_5 = (int)140500L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_14_5 140500
+ * }
+ */
+ public static int __TVOS_14_5() {
+ return __TVOS_14_5;
+ }
+ private static final int __TVOS_14_6 = (int)140600L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_14_6 140600
+ * }
+ */
+ public static int __TVOS_14_6() {
+ return __TVOS_14_6;
+ }
+ private static final int __TVOS_14_7 = (int)140700L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_14_7 140700
+ * }
+ */
+ public static int __TVOS_14_7() {
+ return __TVOS_14_7;
+ }
+ private static final int __TVOS_15_0 = (int)150000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_15_0 150000
+ * }
+ */
+ public static int __TVOS_15_0() {
+ return __TVOS_15_0;
+ }
+ private static final int __TVOS_15_1 = (int)150100L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_15_1 150100
+ * }
+ */
+ public static int __TVOS_15_1() {
+ return __TVOS_15_1;
+ }
+ private static final int __TVOS_15_2 = (int)150200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_15_2 150200
+ * }
+ */
+ public static int __TVOS_15_2() {
+ return __TVOS_15_2;
+ }
+ private static final int __TVOS_15_3 = (int)150300L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_15_3 150300
+ * }
+ */
+ public static int __TVOS_15_3() {
+ return __TVOS_15_3;
+ }
+ private static final int __TVOS_15_4 = (int)150400L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_15_4 150400
+ * }
+ */
+ public static int __TVOS_15_4() {
+ return __TVOS_15_4;
+ }
+ private static final int __TVOS_15_5 = (int)150500L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_15_5 150500
+ * }
+ */
+ public static int __TVOS_15_5() {
+ return __TVOS_15_5;
+ }
+ private static final int __TVOS_15_6 = (int)150600L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_15_6 150600
+ * }
+ */
+ public static int __TVOS_15_6() {
+ return __TVOS_15_6;
+ }
+ private static final int __TVOS_16_0 = (int)160000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_16_0 160000
+ * }
+ */
+ public static int __TVOS_16_0() {
+ return __TVOS_16_0;
+ }
+ private static final int __TVOS_16_1 = (int)160100L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_16_1 160100
+ * }
+ */
+ public static int __TVOS_16_1() {
+ return __TVOS_16_1;
+ }
+ private static final int __TVOS_16_2 = (int)160200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_16_2 160200
+ * }
+ */
+ public static int __TVOS_16_2() {
+ return __TVOS_16_2;
+ }
+ private static final int __TVOS_16_3 = (int)160300L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_16_3 160300
+ * }
+ */
+ public static int __TVOS_16_3() {
+ return __TVOS_16_3;
+ }
+ private static final int __TVOS_16_4 = (int)160400L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_16_4 160400
+ * }
+ */
+ public static int __TVOS_16_4() {
+ return __TVOS_16_4;
+ }
+ private static final int __TVOS_16_5 = (int)160500L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_16_5 160500
+ * }
+ */
+ public static int __TVOS_16_5() {
+ return __TVOS_16_5;
+ }
+ private static final int __TVOS_16_6 = (int)160600L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_16_6 160600
+ * }
+ */
+ public static int __TVOS_16_6() {
+ return __TVOS_16_6;
+ }
+ private static final int __TVOS_17_0 = (int)170000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_17_0 170000
+ * }
+ */
+ public static int __TVOS_17_0() {
+ return __TVOS_17_0;
+ }
+ private static final int __TVOS_17_1 = (int)170100L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_17_1 170100
+ * }
+ */
+ public static int __TVOS_17_1() {
+ return __TVOS_17_1;
+ }
+ private static final int __TVOS_17_2 = (int)170200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_17_2 170200
+ * }
+ */
+ public static int __TVOS_17_2() {
+ return __TVOS_17_2;
+ }
+ private static final int __TVOS_17_3 = (int)170300L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_17_3 170300
+ * }
+ */
+ public static int __TVOS_17_3() {
+ return __TVOS_17_3;
+ }
+ private static final int __TVOS_17_4 = (int)170400L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_17_4 170400
+ * }
+ */
+ public static int __TVOS_17_4() {
+ return __TVOS_17_4;
+ }
+ private static final int __TVOS_17_5 = (int)170500L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_17_5 170500
+ * }
+ */
+ public static int __TVOS_17_5() {
+ return __TVOS_17_5;
+ }
+ private static final int __TVOS_17_6 = (int)170600L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_17_6 170600
+ * }
+ */
+ public static int __TVOS_17_6() {
+ return __TVOS_17_6;
+ }
+ private static final int __TVOS_18_0 = (int)180000L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_18_0 180000
+ * }
+ */
+ public static int __TVOS_18_0() {
+ return __TVOS_18_0;
+ }
+ private static final int __TVOS_18_1 = (int)180100L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_18_1 180100
+ * }
+ */
+ public static int __TVOS_18_1() {
+ return __TVOS_18_1;
+ }
+ private static final int __TVOS_18_2 = (int)180200L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_18_2 180200
+ * }
+ */
+ public static int __TVOS_18_2() {
+ return __TVOS_18_2;
+ }
+ private static final int __TVOS_18_3 = (int)180300L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_18_3 180300
+ * }
+ */
+ public static int __TVOS_18_3() {
+ return __TVOS_18_3;
+ }
+ private static final int __TVOS_18_4 = (int)180400L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_18_4 180400
+ * }
+ */
+ public static int __TVOS_18_4() {
+ return __TVOS_18_4;
+ }
+ private static final int __TVOS_18_5 = (int)180500L;
+ /**
+ * {@snippet lang=c :
+ * #define __TVOS_18_5 180500
+ * }
+ */
+ public static int __TVOS_18_5() {
+ return __TVOS_18_5;
+ }
+ private static final int __BRIDGEOS_2_0 = (int)20000L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_2_0 20000
+ * }
+ */
+ public static int __BRIDGEOS_2_0() {
+ return __BRIDGEOS_2_0;
+ }
+ private static final int __BRIDGEOS_3_0 = (int)30000L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_3_0 30000
+ * }
+ */
+ public static int __BRIDGEOS_3_0() {
+ return __BRIDGEOS_3_0;
+ }
+ private static final int __BRIDGEOS_3_1 = (int)30100L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_3_1 30100
+ * }
+ */
+ public static int __BRIDGEOS_3_1() {
+ return __BRIDGEOS_3_1;
+ }
+ private static final int __BRIDGEOS_3_4 = (int)30400L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_3_4 30400
+ * }
+ */
+ public static int __BRIDGEOS_3_4() {
+ return __BRIDGEOS_3_4;
+ }
+ private static final int __BRIDGEOS_4_0 = (int)40000L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_4_0 40000
+ * }
+ */
+ public static int __BRIDGEOS_4_0() {
+ return __BRIDGEOS_4_0;
+ }
+ private static final int __BRIDGEOS_4_1 = (int)40100L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_4_1 40100
+ * }
+ */
+ public static int __BRIDGEOS_4_1() {
+ return __BRIDGEOS_4_1;
+ }
+ private static final int __BRIDGEOS_5_0 = (int)50000L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_5_0 50000
+ * }
+ */
+ public static int __BRIDGEOS_5_0() {
+ return __BRIDGEOS_5_0;
+ }
+ private static final int __BRIDGEOS_5_1 = (int)50100L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_5_1 50100
+ * }
+ */
+ public static int __BRIDGEOS_5_1() {
+ return __BRIDGEOS_5_1;
+ }
+ private static final int __BRIDGEOS_5_3 = (int)50300L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_5_3 50300
+ * }
+ */
+ public static int __BRIDGEOS_5_3() {
+ return __BRIDGEOS_5_3;
+ }
+ private static final int __BRIDGEOS_6_0 = (int)60000L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_6_0 60000
+ * }
+ */
+ public static int __BRIDGEOS_6_0() {
+ return __BRIDGEOS_6_0;
+ }
+ private static final int __BRIDGEOS_6_2 = (int)60200L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_6_2 60200
+ * }
+ */
+ public static int __BRIDGEOS_6_2() {
+ return __BRIDGEOS_6_2;
+ }
+ private static final int __BRIDGEOS_6_4 = (int)60400L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_6_4 60400
+ * }
+ */
+ public static int __BRIDGEOS_6_4() {
+ return __BRIDGEOS_6_4;
+ }
+ private static final int __BRIDGEOS_6_5 = (int)60500L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_6_5 60500
+ * }
+ */
+ public static int __BRIDGEOS_6_5() {
+ return __BRIDGEOS_6_5;
+ }
+ private static final int __BRIDGEOS_6_6 = (int)60600L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_6_6 60600
+ * }
+ */
+ public static int __BRIDGEOS_6_6() {
+ return __BRIDGEOS_6_6;
+ }
+ private static final int __BRIDGEOS_7_0 = (int)70000L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_7_0 70000
+ * }
+ */
+ public static int __BRIDGEOS_7_0() {
+ return __BRIDGEOS_7_0;
+ }
+ private static final int __BRIDGEOS_7_1 = (int)70100L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_7_1 70100
+ * }
+ */
+ public static int __BRIDGEOS_7_1() {
+ return __BRIDGEOS_7_1;
+ }
+ private static final int __BRIDGEOS_7_2 = (int)70200L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_7_2 70200
+ * }
+ */
+ public static int __BRIDGEOS_7_2() {
+ return __BRIDGEOS_7_2;
+ }
+ private static final int __BRIDGEOS_7_3 = (int)70300L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_7_3 70300
+ * }
+ */
+ public static int __BRIDGEOS_7_3() {
+ return __BRIDGEOS_7_3;
+ }
+ private static final int __BRIDGEOS_7_4 = (int)70400L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_7_4 70400
+ * }
+ */
+ public static int __BRIDGEOS_7_4() {
+ return __BRIDGEOS_7_4;
+ }
+ private static final int __BRIDGEOS_7_6 = (int)70600L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_7_6 70600
+ * }
+ */
+ public static int __BRIDGEOS_7_6() {
+ return __BRIDGEOS_7_6;
+ }
+ private static final int __BRIDGEOS_8_0 = (int)80000L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_8_0 80000
+ * }
+ */
+ public static int __BRIDGEOS_8_0() {
+ return __BRIDGEOS_8_0;
+ }
+ private static final int __BRIDGEOS_8_1 = (int)80100L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_8_1 80100
+ * }
+ */
+ public static int __BRIDGEOS_8_1() {
+ return __BRIDGEOS_8_1;
+ }
+ private static final int __BRIDGEOS_8_2 = (int)80200L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_8_2 80200
+ * }
+ */
+ public static int __BRIDGEOS_8_2() {
+ return __BRIDGEOS_8_2;
+ }
+ private static final int __BRIDGEOS_8_3 = (int)80300L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_8_3 80300
+ * }
+ */
+ public static int __BRIDGEOS_8_3() {
+ return __BRIDGEOS_8_3;
+ }
+ private static final int __BRIDGEOS_8_4 = (int)80400L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_8_4 80400
+ * }
+ */
+ public static int __BRIDGEOS_8_4() {
+ return __BRIDGEOS_8_4;
+ }
+ private static final int __BRIDGEOS_8_5 = (int)80500L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_8_5 80500
+ * }
+ */
+ public static int __BRIDGEOS_8_5() {
+ return __BRIDGEOS_8_5;
+ }
+ private static final int __BRIDGEOS_8_6 = (int)80600L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_8_6 80600
+ * }
+ */
+ public static int __BRIDGEOS_8_6() {
+ return __BRIDGEOS_8_6;
+ }
+ private static final int __BRIDGEOS_9_0 = (int)90000L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_9_0 90000
+ * }
+ */
+ public static int __BRIDGEOS_9_0() {
+ return __BRIDGEOS_9_0;
+ }
+ private static final int __BRIDGEOS_9_1 = (int)90100L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_9_1 90100
+ * }
+ */
+ public static int __BRIDGEOS_9_1() {
+ return __BRIDGEOS_9_1;
+ }
+ private static final int __BRIDGEOS_9_2 = (int)90200L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_9_2 90200
+ * }
+ */
+ public static int __BRIDGEOS_9_2() {
+ return __BRIDGEOS_9_2;
+ }
+ private static final int __BRIDGEOS_9_3 = (int)90300L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_9_3 90300
+ * }
+ */
+ public static int __BRIDGEOS_9_3() {
+ return __BRIDGEOS_9_3;
+ }
+ private static final int __BRIDGEOS_9_4 = (int)90400L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_9_4 90400
+ * }
+ */
+ public static int __BRIDGEOS_9_4() {
+ return __BRIDGEOS_9_4;
+ }
+ private static final int __BRIDGEOS_9_5 = (int)90500L;
+ /**
+ * {@snippet lang=c :
+ * #define __BRIDGEOS_9_5 90500
+ * }
+ */
+ public static int __BRIDGEOS_9_5() {
+ return __BRIDGEOS_9_5;
+ }
+ private static final int __DRIVERKIT_19_0 = (int)190000L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_19_0 190000
+ * }
+ */
+ public static int __DRIVERKIT_19_0() {
+ return __DRIVERKIT_19_0;
+ }
+ private static final int __DRIVERKIT_20_0 = (int)200000L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_20_0 200000
+ * }
+ */
+ public static int __DRIVERKIT_20_0() {
+ return __DRIVERKIT_20_0;
+ }
+ private static final int __DRIVERKIT_21_0 = (int)210000L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_21_0 210000
+ * }
+ */
+ public static int __DRIVERKIT_21_0() {
+ return __DRIVERKIT_21_0;
+ }
+ private static final int __DRIVERKIT_22_0 = (int)220000L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_22_0 220000
+ * }
+ */
+ public static int __DRIVERKIT_22_0() {
+ return __DRIVERKIT_22_0;
+ }
+ private static final int __DRIVERKIT_22_4 = (int)220400L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_22_4 220400
+ * }
+ */
+ public static int __DRIVERKIT_22_4() {
+ return __DRIVERKIT_22_4;
+ }
+ private static final int __DRIVERKIT_22_5 = (int)220500L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_22_5 220500
+ * }
+ */
+ public static int __DRIVERKIT_22_5() {
+ return __DRIVERKIT_22_5;
+ }
+ private static final int __DRIVERKIT_22_6 = (int)220600L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_22_6 220600
+ * }
+ */
+ public static int __DRIVERKIT_22_6() {
+ return __DRIVERKIT_22_6;
+ }
+ private static final int __DRIVERKIT_23_0 = (int)230000L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_23_0 230000
+ * }
+ */
+ public static int __DRIVERKIT_23_0() {
+ return __DRIVERKIT_23_0;
+ }
+ private static final int __DRIVERKIT_23_1 = (int)230100L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_23_1 230100
+ * }
+ */
+ public static int __DRIVERKIT_23_1() {
+ return __DRIVERKIT_23_1;
+ }
+ private static final int __DRIVERKIT_23_2 = (int)230200L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_23_2 230200
+ * }
+ */
+ public static int __DRIVERKIT_23_2() {
+ return __DRIVERKIT_23_2;
+ }
+ private static final int __DRIVERKIT_23_3 = (int)230300L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_23_3 230300
+ * }
+ */
+ public static int __DRIVERKIT_23_3() {
+ return __DRIVERKIT_23_3;
+ }
+ private static final int __DRIVERKIT_23_4 = (int)230400L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_23_4 230400
+ * }
+ */
+ public static int __DRIVERKIT_23_4() {
+ return __DRIVERKIT_23_4;
+ }
+ private static final int __DRIVERKIT_23_5 = (int)230500L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_23_5 230500
+ * }
+ */
+ public static int __DRIVERKIT_23_5() {
+ return __DRIVERKIT_23_5;
+ }
+ private static final int __DRIVERKIT_23_6 = (int)230600L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_23_6 230600
+ * }
+ */
+ public static int __DRIVERKIT_23_6() {
+ return __DRIVERKIT_23_6;
+ }
+ private static final int __DRIVERKIT_24_0 = (int)240000L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_24_0 240000
+ * }
+ */
+ public static int __DRIVERKIT_24_0() {
+ return __DRIVERKIT_24_0;
+ }
+ private static final int __DRIVERKIT_24_1 = (int)240100L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_24_1 240100
+ * }
+ */
+ public static int __DRIVERKIT_24_1() {
+ return __DRIVERKIT_24_1;
+ }
+ private static final int __DRIVERKIT_24_2 = (int)240200L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_24_2 240200
+ * }
+ */
+ public static int __DRIVERKIT_24_2() {
+ return __DRIVERKIT_24_2;
+ }
+ private static final int __DRIVERKIT_24_3 = (int)240300L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_24_3 240300
+ * }
+ */
+ public static int __DRIVERKIT_24_3() {
+ return __DRIVERKIT_24_3;
+ }
+ private static final int __DRIVERKIT_24_4 = (int)240400L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_24_4 240400
+ * }
+ */
+ public static int __DRIVERKIT_24_4() {
+ return __DRIVERKIT_24_4;
+ }
+ private static final int __DRIVERKIT_24_5 = (int)240500L;
+ /**
+ * {@snippet lang=c :
+ * #define __DRIVERKIT_24_5 240500
+ * }
+ */
+ public static int __DRIVERKIT_24_5() {
+ return __DRIVERKIT_24_5;
+ }
+ private static final int __VISIONOS_1_0 = (int)10000L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_1_0 10000
+ * }
+ */
+ public static int __VISIONOS_1_0() {
+ return __VISIONOS_1_0;
+ }
+ private static final int __VISIONOS_1_1 = (int)10100L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_1_1 10100
+ * }
+ */
+ public static int __VISIONOS_1_1() {
+ return __VISIONOS_1_1;
+ }
+ private static final int __VISIONOS_1_2 = (int)10200L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_1_2 10200
+ * }
+ */
+ public static int __VISIONOS_1_2() {
+ return __VISIONOS_1_2;
+ }
+ private static final int __VISIONOS_1_3 = (int)10300L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_1_3 10300
+ * }
+ */
+ public static int __VISIONOS_1_3() {
+ return __VISIONOS_1_3;
+ }
+ private static final int __VISIONOS_2_0 = (int)20000L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_2_0 20000
+ * }
+ */
+ public static int __VISIONOS_2_0() {
+ return __VISIONOS_2_0;
+ }
+ private static final int __VISIONOS_2_1 = (int)20100L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_2_1 20100
+ * }
+ */
+ public static int __VISIONOS_2_1() {
+ return __VISIONOS_2_1;
+ }
+ private static final int __VISIONOS_2_2 = (int)20200L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_2_2 20200
+ * }
+ */
+ public static int __VISIONOS_2_2() {
+ return __VISIONOS_2_2;
+ }
+ private static final int __VISIONOS_2_3 = (int)20300L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_2_3 20300
+ * }
+ */
+ public static int __VISIONOS_2_3() {
+ return __VISIONOS_2_3;
+ }
+ private static final int __VISIONOS_2_4 = (int)20400L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_2_4 20400
+ * }
+ */
+ public static int __VISIONOS_2_4() {
+ return __VISIONOS_2_4;
+ }
+ private static final int __VISIONOS_2_5 = (int)20500L;
+ /**
+ * {@snippet lang=c :
+ * #define __VISIONOS_2_5 20500
+ * }
+ */
+ public static int __VISIONOS_2_5() {
+ return __VISIONOS_2_5;
+ }
+ private static final int __ENABLE_LEGACY_MAC_AVAILABILITY = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __ENABLE_LEGACY_MAC_AVAILABILITY 1
+ * }
+ */
+ public static int __ENABLE_LEGACY_MAC_AVAILABILITY() {
+ return __ENABLE_LEGACY_MAC_AVAILABILITY;
+ }
+ private static final int USE_CLANG_TYPES = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define USE_CLANG_TYPES 0
+ * }
+ */
+ public static int USE_CLANG_TYPES() {
+ return USE_CLANG_TYPES;
+ }
+ private static final int __PTHREAD_SIZE__ = (int)8176L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_SIZE__ 8176
+ * }
+ */
+ public static int __PTHREAD_SIZE__() {
+ return __PTHREAD_SIZE__;
+ }
+ private static final int __PTHREAD_ATTR_SIZE__ = (int)56L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_ATTR_SIZE__ 56
+ * }
+ */
+ public static int __PTHREAD_ATTR_SIZE__() {
+ return __PTHREAD_ATTR_SIZE__;
+ }
+ private static final int __PTHREAD_MUTEXATTR_SIZE__ = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_MUTEXATTR_SIZE__ 8
+ * }
+ */
+ public static int __PTHREAD_MUTEXATTR_SIZE__() {
+ return __PTHREAD_MUTEXATTR_SIZE__;
+ }
+ private static final int __PTHREAD_MUTEX_SIZE__ = (int)56L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_MUTEX_SIZE__ 56
+ * }
+ */
+ public static int __PTHREAD_MUTEX_SIZE__() {
+ return __PTHREAD_MUTEX_SIZE__;
+ }
+ private static final int __PTHREAD_CONDATTR_SIZE__ = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_CONDATTR_SIZE__ 8
+ * }
+ */
+ public static int __PTHREAD_CONDATTR_SIZE__() {
+ return __PTHREAD_CONDATTR_SIZE__;
+ }
+ private static final int __PTHREAD_COND_SIZE__ = (int)40L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_COND_SIZE__ 40
+ * }
+ */
+ public static int __PTHREAD_COND_SIZE__() {
+ return __PTHREAD_COND_SIZE__;
+ }
+ private static final int __PTHREAD_ONCE_SIZE__ = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_ONCE_SIZE__ 8
+ * }
+ */
+ public static int __PTHREAD_ONCE_SIZE__() {
+ return __PTHREAD_ONCE_SIZE__;
+ }
+ private static final int __PTHREAD_RWLOCK_SIZE__ = (int)192L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_RWLOCK_SIZE__ 192
+ * }
+ */
+ public static int __PTHREAD_RWLOCK_SIZE__() {
+ return __PTHREAD_RWLOCK_SIZE__;
+ }
+ private static final int __PTHREAD_RWLOCKATTR_SIZE__ = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define __PTHREAD_RWLOCKATTR_SIZE__ 16
+ * }
+ */
+ public static int __PTHREAD_RWLOCKATTR_SIZE__() {
+ return __PTHREAD_RWLOCKATTR_SIZE__;
+ }
+ private static final int _FORTIFY_SOURCE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define _FORTIFY_SOURCE 2
+ * }
+ */
+ public static int _FORTIFY_SOURCE() {
+ return _FORTIFY_SOURCE;
+ }
+ private static final int USE_CLANG_STDDEF = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define USE_CLANG_STDDEF 0
+ * }
+ */
+ public static int USE_CLANG_STDDEF() {
+ return USE_CLANG_STDDEF;
+ }
+ private static final int __WORDSIZE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define __WORDSIZE 64
+ * }
+ */
+ public static int __WORDSIZE() {
+ return __WORDSIZE;
+ }
+ private static final int INT8_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define INT8_MAX 127
+ * }
+ */
+ public static int INT8_MAX() {
+ return INT8_MAX;
+ }
+ private static final int INT16_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define INT16_MAX 32767
+ * }
+ */
+ public static int INT16_MAX() {
+ return INT16_MAX;
+ }
+ private static final int INT32_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT32_MAX 2147483647
+ * }
+ */
+ public static int INT32_MAX() {
+ return INT32_MAX;
+ }
+ private static final int UINT8_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT8_MAX 255
+ * }
+ */
+ public static int UINT8_MAX() {
+ return UINT8_MAX;
+ }
+ private static final int UINT16_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT16_MAX 65535
+ * }
+ */
+ public static int UINT16_MAX() {
+ return UINT16_MAX;
+ }
+ private static final int __DARWIN_CLK_TCK = (int)100L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_CLK_TCK 100
+ * }
+ */
+ public static int __DARWIN_CLK_TCK() {
+ return __DARWIN_CLK_TCK;
+ }
+ private static final int USE_CLANG_LIMITS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define USE_CLANG_LIMITS 0
+ * }
+ */
+ public static int USE_CLANG_LIMITS() {
+ return USE_CLANG_LIMITS;
+ }
+ private static final int MB_LEN_MAX = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define MB_LEN_MAX 6
+ * }
+ */
+ public static int MB_LEN_MAX() {
+ return MB_LEN_MAX;
+ }
+ private static final int CHAR_BIT = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define CHAR_BIT 8
+ * }
+ */
+ public static int CHAR_BIT() {
+ return CHAR_BIT;
+ }
+ private static final int SCHAR_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define SCHAR_MAX 127
+ * }
+ */
+ public static int SCHAR_MAX() {
+ return SCHAR_MAX;
+ }
+ private static final int UCHAR_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UCHAR_MAX 255
+ * }
+ */
+ public static int UCHAR_MAX() {
+ return UCHAR_MAX;
+ }
+ private static final int CHAR_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define CHAR_MAX 127
+ * }
+ */
+ public static int CHAR_MAX() {
+ return CHAR_MAX;
+ }
+ private static final int USHRT_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define USHRT_MAX 65535
+ * }
+ */
+ public static int USHRT_MAX() {
+ return USHRT_MAX;
+ }
+ private static final int SHRT_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define SHRT_MAX 32767
+ * }
+ */
+ public static int SHRT_MAX() {
+ return SHRT_MAX;
+ }
+ private static final int INT_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_MAX 2147483647
+ * }
+ */
+ public static int INT_MAX() {
+ return INT_MAX;
+ }
+ private static final int LONG_BIT = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_BIT 64
+ * }
+ */
+ public static int LONG_BIT() {
+ return LONG_BIT;
+ }
+ private static final int WORD_BIT = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define WORD_BIT 32
+ * }
+ */
+ public static int WORD_BIT() {
+ return WORD_BIT;
+ }
+ private static final int CHILD_MAX = (int)266L;
+ /**
+ * {@snippet lang=c :
+ * #define CHILD_MAX 266
+ * }
+ */
+ public static int CHILD_MAX() {
+ return CHILD_MAX;
+ }
+ private static final int LINK_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define LINK_MAX 32767
+ * }
+ */
+ public static int LINK_MAX() {
+ return LINK_MAX;
+ }
+ private static final int MAX_CANON = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define MAX_CANON 1024
+ * }
+ */
+ public static int MAX_CANON() {
+ return MAX_CANON;
+ }
+ private static final int MAX_INPUT = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define MAX_INPUT 1024
+ * }
+ */
+ public static int MAX_INPUT() {
+ return MAX_INPUT;
+ }
+ private static final int NAME_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define NAME_MAX 255
+ * }
+ */
+ public static int NAME_MAX() {
+ return NAME_MAX;
+ }
+ private static final int NGROUPS_MAX = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define NGROUPS_MAX 16
+ * }
+ */
+ public static int NGROUPS_MAX() {
+ return NGROUPS_MAX;
+ }
+ private static final int OPEN_MAX = (int)10240L;
+ /**
+ * {@snippet lang=c :
+ * #define OPEN_MAX 10240
+ * }
+ */
+ public static int OPEN_MAX() {
+ return OPEN_MAX;
+ }
+ private static final int PATH_MAX = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define PATH_MAX 1024
+ * }
+ */
+ public static int PATH_MAX() {
+ return PATH_MAX;
+ }
+ private static final int PIPE_BUF = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define PIPE_BUF 512
+ * }
+ */
+ public static int PIPE_BUF() {
+ return PIPE_BUF;
+ }
+ private static final int BC_BASE_MAX = (int)99L;
+ /**
+ * {@snippet lang=c :
+ * #define BC_BASE_MAX 99
+ * }
+ */
+ public static int BC_BASE_MAX() {
+ return BC_BASE_MAX;
+ }
+ private static final int BC_DIM_MAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define BC_DIM_MAX 2048
+ * }
+ */
+ public static int BC_DIM_MAX() {
+ return BC_DIM_MAX;
+ }
+ private static final int BC_SCALE_MAX = (int)99L;
+ /**
+ * {@snippet lang=c :
+ * #define BC_SCALE_MAX 99
+ * }
+ */
+ public static int BC_SCALE_MAX() {
+ return BC_SCALE_MAX;
+ }
+ private static final int BC_STRING_MAX = (int)1000L;
+ /**
+ * {@snippet lang=c :
+ * #define BC_STRING_MAX 1000
+ * }
+ */
+ public static int BC_STRING_MAX() {
+ return BC_STRING_MAX;
+ }
+ private static final int CHARCLASS_NAME_MAX = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define CHARCLASS_NAME_MAX 14
+ * }
+ */
+ public static int CHARCLASS_NAME_MAX() {
+ return CHARCLASS_NAME_MAX;
+ }
+ private static final int COLL_WEIGHTS_MAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define COLL_WEIGHTS_MAX 2
+ * }
+ */
+ public static int COLL_WEIGHTS_MAX() {
+ return COLL_WEIGHTS_MAX;
+ }
+ private static final int EQUIV_CLASS_MAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define EQUIV_CLASS_MAX 2
+ * }
+ */
+ public static int EQUIV_CLASS_MAX() {
+ return EQUIV_CLASS_MAX;
+ }
+ private static final int EXPR_NEST_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define EXPR_NEST_MAX 32
+ * }
+ */
+ public static int EXPR_NEST_MAX() {
+ return EXPR_NEST_MAX;
+ }
+ private static final int LINE_MAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define LINE_MAX 2048
+ * }
+ */
+ public static int LINE_MAX() {
+ return LINE_MAX;
+ }
+ private static final int RE_DUP_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define RE_DUP_MAX 255
+ * }
+ */
+ public static int RE_DUP_MAX() {
+ return RE_DUP_MAX;
+ }
+ private static final int NZERO = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define NZERO 20
+ * }
+ */
+ public static int NZERO() {
+ return NZERO;
+ }
+ private static final int _POSIX_ARG_MAX = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_ARG_MAX 4096
+ * }
+ */
+ public static int _POSIX_ARG_MAX() {
+ return _POSIX_ARG_MAX;
+ }
+ private static final int _POSIX_CHILD_MAX = (int)25L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_CHILD_MAX 25
+ * }
+ */
+ public static int _POSIX_CHILD_MAX() {
+ return _POSIX_CHILD_MAX;
+ }
+ private static final int _POSIX_LINK_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_LINK_MAX 8
+ * }
+ */
+ public static int _POSIX_LINK_MAX() {
+ return _POSIX_LINK_MAX;
+ }
+ private static final int _POSIX_MAX_CANON = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_MAX_CANON 255
+ * }
+ */
+ public static int _POSIX_MAX_CANON() {
+ return _POSIX_MAX_CANON;
+ }
+ private static final int _POSIX_MAX_INPUT = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_MAX_INPUT 255
+ * }
+ */
+ public static int _POSIX_MAX_INPUT() {
+ return _POSIX_MAX_INPUT;
+ }
+ private static final int _POSIX_NAME_MAX = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_NAME_MAX 14
+ * }
+ */
+ public static int _POSIX_NAME_MAX() {
+ return _POSIX_NAME_MAX;
+ }
+ private static final int _POSIX_NGROUPS_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_NGROUPS_MAX 8
+ * }
+ */
+ public static int _POSIX_NGROUPS_MAX() {
+ return _POSIX_NGROUPS_MAX;
+ }
+ private static final int _POSIX_OPEN_MAX = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_OPEN_MAX 20
+ * }
+ */
+ public static int _POSIX_OPEN_MAX() {
+ return _POSIX_OPEN_MAX;
+ }
+ private static final int _POSIX_PATH_MAX = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_PATH_MAX 256
+ * }
+ */
+ public static int _POSIX_PATH_MAX() {
+ return _POSIX_PATH_MAX;
+ }
+ private static final int _POSIX_PIPE_BUF = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_PIPE_BUF 512
+ * }
+ */
+ public static int _POSIX_PIPE_BUF() {
+ return _POSIX_PIPE_BUF;
+ }
+ private static final int _POSIX_SSIZE_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SSIZE_MAX 32767
+ * }
+ */
+ public static int _POSIX_SSIZE_MAX() {
+ return _POSIX_SSIZE_MAX;
+ }
+ private static final int _POSIX_STREAM_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_STREAM_MAX 8
+ * }
+ */
+ public static int _POSIX_STREAM_MAX() {
+ return _POSIX_STREAM_MAX;
+ }
+ private static final int _POSIX_TZNAME_MAX = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TZNAME_MAX 6
+ * }
+ */
+ public static int _POSIX_TZNAME_MAX() {
+ return _POSIX_TZNAME_MAX;
+ }
+ private static final int _POSIX2_BC_BASE_MAX = (int)99L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_BC_BASE_MAX 99
+ * }
+ */
+ public static int _POSIX2_BC_BASE_MAX() {
+ return _POSIX2_BC_BASE_MAX;
+ }
+ private static final int _POSIX2_BC_DIM_MAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_BC_DIM_MAX 2048
+ * }
+ */
+ public static int _POSIX2_BC_DIM_MAX() {
+ return _POSIX2_BC_DIM_MAX;
+ }
+ private static final int _POSIX2_BC_SCALE_MAX = (int)99L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_BC_SCALE_MAX 99
+ * }
+ */
+ public static int _POSIX2_BC_SCALE_MAX() {
+ return _POSIX2_BC_SCALE_MAX;
+ }
+ private static final int _POSIX2_BC_STRING_MAX = (int)1000L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_BC_STRING_MAX 1000
+ * }
+ */
+ public static int _POSIX2_BC_STRING_MAX() {
+ return _POSIX2_BC_STRING_MAX;
+ }
+ private static final int _POSIX2_EQUIV_CLASS_MAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_EQUIV_CLASS_MAX 2
+ * }
+ */
+ public static int _POSIX2_EQUIV_CLASS_MAX() {
+ return _POSIX2_EQUIV_CLASS_MAX;
+ }
+ private static final int _POSIX2_EXPR_NEST_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_EXPR_NEST_MAX 32
+ * }
+ */
+ public static int _POSIX2_EXPR_NEST_MAX() {
+ return _POSIX2_EXPR_NEST_MAX;
+ }
+ private static final int _POSIX2_LINE_MAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_LINE_MAX 2048
+ * }
+ */
+ public static int _POSIX2_LINE_MAX() {
+ return _POSIX2_LINE_MAX;
+ }
+ private static final int _POSIX2_RE_DUP_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_RE_DUP_MAX 255
+ * }
+ */
+ public static int _POSIX2_RE_DUP_MAX() {
+ return _POSIX2_RE_DUP_MAX;
+ }
+ private static final int _POSIX_AIO_LISTIO_MAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_AIO_LISTIO_MAX 2
+ * }
+ */
+ public static int _POSIX_AIO_LISTIO_MAX() {
+ return _POSIX_AIO_LISTIO_MAX;
+ }
+ private static final int _POSIX_AIO_MAX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_AIO_MAX 1
+ * }
+ */
+ public static int _POSIX_AIO_MAX() {
+ return _POSIX_AIO_MAX;
+ }
+ private static final int _POSIX_DELAYTIMER_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_DELAYTIMER_MAX 32
+ * }
+ */
+ public static int _POSIX_DELAYTIMER_MAX() {
+ return _POSIX_DELAYTIMER_MAX;
+ }
+ private static final int _POSIX_MQ_OPEN_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_MQ_OPEN_MAX 8
+ * }
+ */
+ public static int _POSIX_MQ_OPEN_MAX() {
+ return _POSIX_MQ_OPEN_MAX;
+ }
+ private static final int _POSIX_MQ_PRIO_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_MQ_PRIO_MAX 32
+ * }
+ */
+ public static int _POSIX_MQ_PRIO_MAX() {
+ return _POSIX_MQ_PRIO_MAX;
+ }
+ private static final int _POSIX_RTSIG_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_RTSIG_MAX 8
+ * }
+ */
+ public static int _POSIX_RTSIG_MAX() {
+ return _POSIX_RTSIG_MAX;
+ }
+ private static final int _POSIX_SEM_NSEMS_MAX = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SEM_NSEMS_MAX 256
+ * }
+ */
+ public static int _POSIX_SEM_NSEMS_MAX() {
+ return _POSIX_SEM_NSEMS_MAX;
+ }
+ private static final int _POSIX_SEM_VALUE_MAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SEM_VALUE_MAX 32767
+ * }
+ */
+ public static int _POSIX_SEM_VALUE_MAX() {
+ return _POSIX_SEM_VALUE_MAX;
+ }
+ private static final int _POSIX_SIGQUEUE_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SIGQUEUE_MAX 32
+ * }
+ */
+ public static int _POSIX_SIGQUEUE_MAX() {
+ return _POSIX_SIGQUEUE_MAX;
+ }
+ private static final int _POSIX_TIMER_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TIMER_MAX 32
+ * }
+ */
+ public static int _POSIX_TIMER_MAX() {
+ return _POSIX_TIMER_MAX;
+ }
+ private static final int _POSIX_CLOCKRES_MIN = (int)20000000L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_CLOCKRES_MIN 20000000
+ * }
+ */
+ public static int _POSIX_CLOCKRES_MIN() {
+ return _POSIX_CLOCKRES_MIN;
+ }
+ private static final int _POSIX_THREAD_DESTRUCTOR_ITERATIONS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4
+ * }
+ */
+ public static int _POSIX_THREAD_DESTRUCTOR_ITERATIONS() {
+ return _POSIX_THREAD_DESTRUCTOR_ITERATIONS;
+ }
+ private static final int _POSIX_THREAD_KEYS_MAX = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_THREAD_KEYS_MAX 128
+ * }
+ */
+ public static int _POSIX_THREAD_KEYS_MAX() {
+ return _POSIX_THREAD_KEYS_MAX;
+ }
+ private static final int _POSIX_THREAD_THREADS_MAX = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_THREAD_THREADS_MAX 64
+ * }
+ */
+ public static int _POSIX_THREAD_THREADS_MAX() {
+ return _POSIX_THREAD_THREADS_MAX;
+ }
+ private static final int PTHREAD_DESTRUCTOR_ITERATIONS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define PTHREAD_DESTRUCTOR_ITERATIONS 4
+ * }
+ */
+ public static int PTHREAD_DESTRUCTOR_ITERATIONS() {
+ return PTHREAD_DESTRUCTOR_ITERATIONS;
+ }
+ private static final int PTHREAD_KEYS_MAX = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define PTHREAD_KEYS_MAX 512
+ * }
+ */
+ public static int PTHREAD_KEYS_MAX() {
+ return PTHREAD_KEYS_MAX;
+ }
+ private static final int PTHREAD_STACK_MIN = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define PTHREAD_STACK_MIN 8192
+ * }
+ */
+ public static int PTHREAD_STACK_MIN() {
+ return PTHREAD_STACK_MIN;
+ }
+ private static final int _POSIX_HOST_NAME_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_HOST_NAME_MAX 255
+ * }
+ */
+ public static int _POSIX_HOST_NAME_MAX() {
+ return _POSIX_HOST_NAME_MAX;
+ }
+ private static final int _POSIX_LOGIN_NAME_MAX = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_LOGIN_NAME_MAX 9
+ * }
+ */
+ public static int _POSIX_LOGIN_NAME_MAX() {
+ return _POSIX_LOGIN_NAME_MAX;
+ }
+ private static final int _POSIX_SS_REPL_MAX = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SS_REPL_MAX 4
+ * }
+ */
+ public static int _POSIX_SS_REPL_MAX() {
+ return _POSIX_SS_REPL_MAX;
+ }
+ private static final int _POSIX_SYMLINK_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SYMLINK_MAX 255
+ * }
+ */
+ public static int _POSIX_SYMLINK_MAX() {
+ return _POSIX_SYMLINK_MAX;
+ }
+ private static final int _POSIX_SYMLOOP_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_SYMLOOP_MAX 8
+ * }
+ */
+ public static int _POSIX_SYMLOOP_MAX() {
+ return _POSIX_SYMLOOP_MAX;
+ }
+ private static final int _POSIX_TRACE_EVENT_NAME_MAX = (int)30L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TRACE_EVENT_NAME_MAX 30
+ * }
+ */
+ public static int _POSIX_TRACE_EVENT_NAME_MAX() {
+ return _POSIX_TRACE_EVENT_NAME_MAX;
+ }
+ private static final int _POSIX_TRACE_NAME_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TRACE_NAME_MAX 8
+ * }
+ */
+ public static int _POSIX_TRACE_NAME_MAX() {
+ return _POSIX_TRACE_NAME_MAX;
+ }
+ private static final int _POSIX_TRACE_SYS_MAX = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TRACE_SYS_MAX 8
+ * }
+ */
+ public static int _POSIX_TRACE_SYS_MAX() {
+ return _POSIX_TRACE_SYS_MAX;
+ }
+ private static final int _POSIX_TRACE_USER_EVENT_MAX = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TRACE_USER_EVENT_MAX 32
+ * }
+ */
+ public static int _POSIX_TRACE_USER_EVENT_MAX() {
+ return _POSIX_TRACE_USER_EVENT_MAX;
+ }
+ private static final int _POSIX_TTY_NAME_MAX = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX_TTY_NAME_MAX 9
+ * }
+ */
+ public static int _POSIX_TTY_NAME_MAX() {
+ return _POSIX_TTY_NAME_MAX;
+ }
+ private static final int _POSIX2_CHARCLASS_NAME_MAX = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_CHARCLASS_NAME_MAX 14
+ * }
+ */
+ public static int _POSIX2_CHARCLASS_NAME_MAX() {
+ return _POSIX2_CHARCLASS_NAME_MAX;
+ }
+ private static final int _POSIX2_COLL_WEIGHTS_MAX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define _POSIX2_COLL_WEIGHTS_MAX 2
+ * }
+ */
+ public static int _POSIX2_COLL_WEIGHTS_MAX() {
+ return _POSIX2_COLL_WEIGHTS_MAX;
+ }
+ private static final int PASS_MAX = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define PASS_MAX 128
+ * }
+ */
+ public static int PASS_MAX() {
+ return PASS_MAX;
+ }
+ private static final int NL_ARGMAX = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define NL_ARGMAX 9
+ * }
+ */
+ public static int NL_ARGMAX() {
+ return NL_ARGMAX;
+ }
+ private static final int NL_LANGMAX = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define NL_LANGMAX 14
+ * }
+ */
+ public static int NL_LANGMAX() {
+ return NL_LANGMAX;
+ }
+ private static final int NL_MSGMAX = (int)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define NL_MSGMAX 32767
+ * }
+ */
+ public static int NL_MSGMAX() {
+ return NL_MSGMAX;
+ }
+ private static final int NL_NMAX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define NL_NMAX 1
+ * }
+ */
+ public static int NL_NMAX() {
+ return NL_NMAX;
+ }
+ private static final int NL_SETMAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define NL_SETMAX 255
+ * }
+ */
+ public static int NL_SETMAX() {
+ return NL_SETMAX;
+ }
+ private static final int NL_TEXTMAX = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define NL_TEXTMAX 2048
+ * }
+ */
+ public static int NL_TEXTMAX() {
+ return NL_TEXTMAX;
+ }
+ private static final int _XOPEN_IOV_MAX = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define _XOPEN_IOV_MAX 16
+ * }
+ */
+ public static int _XOPEN_IOV_MAX() {
+ return _XOPEN_IOV_MAX;
+ }
+ private static final int IOV_MAX = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define IOV_MAX 1024
+ * }
+ */
+ public static int IOV_MAX() {
+ return IOV_MAX;
+ }
+ private static final int _XOPEN_NAME_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _XOPEN_NAME_MAX 255
+ * }
+ */
+ public static int _XOPEN_NAME_MAX() {
+ return _XOPEN_NAME_MAX;
+ }
+ private static final int _XOPEN_PATH_MAX = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define _XOPEN_PATH_MAX 1024
+ * }
+ */
+ public static int _XOPEN_PATH_MAX() {
+ return _XOPEN_PATH_MAX;
+ }
+ private static final int __GNUC_VA_LIST = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __GNUC_VA_LIST 1
+ * }
+ */
+ public static int __GNUC_VA_LIST() {
+ return __GNUC_VA_LIST;
+ }
+ private static final int true_ = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define true 1
+ * }
+ */
+ public static int true_() {
+ return true_;
+ }
+ private static final int false_ = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define false 0
+ * }
+ */
+ public static int false_() {
+ return false_;
+ }
+ private static final int __bool_true_false_are_defined = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __bool_true_false_are_defined 1
+ * }
+ */
+ public static int __bool_true_false_are_defined() {
+ return __bool_true_false_are_defined;
+ }
+ private static final int _QUAD_HIGHWORD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _QUAD_HIGHWORD 1
+ * }
+ */
+ public static int _QUAD_HIGHWORD() {
+ return _QUAD_HIGHWORD;
+ }
+ private static final int _QUAD_LOWWORD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _QUAD_LOWWORD 0
+ * }
+ */
+ public static int _QUAD_LOWWORD() {
+ return _QUAD_LOWWORD;
+ }
+ private static final int __DARWIN_LITTLE_ENDIAN = (int)1234L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_LITTLE_ENDIAN 1234
+ * }
+ */
+ public static int __DARWIN_LITTLE_ENDIAN() {
+ return __DARWIN_LITTLE_ENDIAN;
+ }
+ private static final int __DARWIN_BIG_ENDIAN = (int)4321L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_BIG_ENDIAN 4321
+ * }
+ */
+ public static int __DARWIN_BIG_ENDIAN() {
+ return __DARWIN_BIG_ENDIAN;
+ }
+ private static final int __DARWIN_PDP_ENDIAN = (int)3412L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_PDP_ENDIAN 3412
+ * }
+ */
+ public static int __DARWIN_PDP_ENDIAN() {
+ return __DARWIN_PDP_ENDIAN;
+ }
+ private static final int __DARWIN_FD_SETSIZE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_FD_SETSIZE 1024
+ * }
+ */
+ public static int __DARWIN_FD_SETSIZE() {
+ return __DARWIN_FD_SETSIZE;
+ }
+ private static final int __DARWIN_NBBY = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define __DARWIN_NBBY 8
+ * }
+ */
+ public static int __DARWIN_NBBY() {
+ return __DARWIN_NBBY;
+ }
+ private static final int H5_VERS_MAJOR = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_MAJOR 2
+ * }
+ */
+ public static int H5_VERS_MAJOR() {
+ return H5_VERS_MAJOR;
+ }
+ private static final int H5_VERS_MINOR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_MINOR 0
+ * }
+ */
+ public static int H5_VERS_MINOR() {
+ return H5_VERS_MINOR;
+ }
+ private static final int H5_VERS_RELEASE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_RELEASE 0
+ * }
+ */
+ public static int H5_VERS_RELEASE() {
+ return H5_VERS_RELEASE;
+ }
+ private static final int H5_SIZEOF_HSIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HSIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HSIZE_T() {
+ return H5_SIZEOF_HSIZE_T;
+ }
+ private static final int H5_SIZEOF_HSSIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HSSIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HSSIZE_T() {
+ return H5_SIZEOF_HSSIZE_T;
+ }
+ private static final int H5_SIZEOF_HADDR_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HADDR_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HADDR_T() {
+ return H5_SIZEOF_HADDR_T;
+ }
+ private static final int H5_HAVE_BUILTIN_EXPECT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_HAVE_BUILTIN_EXPECT 1
+ * }
+ */
+ public static int H5_HAVE_BUILTIN_EXPECT() {
+ return H5_HAVE_BUILTIN_EXPECT;
+ }
+ private static final int H5O_SHMESG_NONE_FLAG = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_NONE_FLAG 0
+ * }
+ */
+ public static int H5O_SHMESG_NONE_FLAG() {
+ return H5O_SHMESG_NONE_FLAG;
+ }
+ private static final int H5O_HDR_CHUNK0_SIZE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_CHUNK0_SIZE 3
+ * }
+ */
+ public static int H5O_HDR_CHUNK0_SIZE() {
+ return H5O_HDR_CHUNK0_SIZE;
+ }
+ private static final int H5O_HDR_ATTR_CRT_ORDER_TRACKED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ATTR_CRT_ORDER_TRACKED 4
+ * }
+ */
+ public static int H5O_HDR_ATTR_CRT_ORDER_TRACKED() {
+ return H5O_HDR_ATTR_CRT_ORDER_TRACKED;
+ }
+ private static final int H5O_HDR_ATTR_CRT_ORDER_INDEXED = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ATTR_CRT_ORDER_INDEXED 8
+ * }
+ */
+ public static int H5O_HDR_ATTR_CRT_ORDER_INDEXED() {
+ return H5O_HDR_ATTR_CRT_ORDER_INDEXED;
+ }
+ private static final int H5O_HDR_ATTR_STORE_PHASE_CHANGE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ATTR_STORE_PHASE_CHANGE 16
+ * }
+ */
+ public static int H5O_HDR_ATTR_STORE_PHASE_CHANGE() {
+ return H5O_HDR_ATTR_STORE_PHASE_CHANGE;
+ }
+ private static final int H5O_HDR_STORE_TIMES = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_STORE_TIMES 32
+ * }
+ */
+ public static int H5O_HDR_STORE_TIMES() {
+ return H5O_HDR_STORE_TIMES;
+ }
+ private static final int H5O_SHMESG_MAX_NINDEXES = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_MAX_NINDEXES 8
+ * }
+ */
+ public static int H5O_SHMESG_MAX_NINDEXES() {
+ return H5O_SHMESG_MAX_NINDEXES;
+ }
+ private static final int H5O_SHMESG_MAX_LIST_SIZE = (int)5000L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_MAX_LIST_SIZE 5000
+ * }
+ */
+ public static int H5O_SHMESG_MAX_LIST_SIZE() {
+ return H5O_SHMESG_MAX_LIST_SIZE;
+ }
+ private static final int H5T_OPAQUE_TAG_MAX = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_OPAQUE_TAG_MAX 256
+ * }
+ */
+ public static int H5T_OPAQUE_TAG_MAX() {
+ return H5T_OPAQUE_TAG_MAX;
+ }
+ private static final int H5AC__CURR_CACHE_CONFIG_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CURR_CACHE_CONFIG_VERSION 1
+ * }
+ */
+ public static int H5AC__CURR_CACHE_CONFIG_VERSION() {
+ return H5AC__CURR_CACHE_CONFIG_VERSION;
+ }
+ private static final int H5AC__MAX_TRACE_FILE_NAME_LEN = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__MAX_TRACE_FILE_NAME_LEN 1024
+ * }
+ */
+ public static int H5AC__MAX_TRACE_FILE_NAME_LEN() {
+ return H5AC__MAX_TRACE_FILE_NAME_LEN;
+ }
+ private static final int H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY 0
+ * }
+ */
+ public static int H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY() {
+ return H5AC_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY;
+ }
+ private static final int H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED 1
+ * }
+ */
+ public static int H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED() {
+ return H5AC_METADATA_WRITE_STRATEGY__DISTRIBUTED;
+ }
+ private static final int H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION 1
+ * }
+ */
+ public static int H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION() {
+ return H5AC__CURR_CACHE_IMAGE_CONFIG_VERSION;
+ }
+ private static final int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX = (int)100L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX 100
+ * }
+ */
+ public static int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX() {
+ return H5AC__CACHE_IMAGE__ENTRY_AGEOUT__MAX;
+ }
+ private static final int USE_CLANG_STDARG = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define USE_CLANG_STDARG 0
+ * }
+ */
+ public static int USE_CLANG_STDARG() {
+ return USE_CLANG_STDARG;
+ }
+ private static final int RENAME_SECLUDE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define RENAME_SECLUDE 1
+ * }
+ */
+ public static int RENAME_SECLUDE() {
+ return RENAME_SECLUDE;
+ }
+ private static final int RENAME_SWAP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define RENAME_SWAP 2
+ * }
+ */
+ public static int RENAME_SWAP() {
+ return RENAME_SWAP;
+ }
+ private static final int RENAME_EXCL = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define RENAME_EXCL 4
+ * }
+ */
+ public static int RENAME_EXCL() {
+ return RENAME_EXCL;
+ }
+ private static final int RENAME_RESERVED1 = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define RENAME_RESERVED1 8
+ * }
+ */
+ public static int RENAME_RESERVED1() {
+ return RENAME_RESERVED1;
+ }
+ private static final int RENAME_NOFOLLOW_ANY = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define RENAME_NOFOLLOW_ANY 16
+ * }
+ */
+ public static int RENAME_NOFOLLOW_ANY() {
+ return RENAME_NOFOLLOW_ANY;
+ }
+ private static final int SEEK_SET = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_SET 0
+ * }
+ */
+ public static int SEEK_SET() {
+ return SEEK_SET;
+ }
+ private static final int SEEK_CUR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_CUR 1
+ * }
+ */
+ public static int SEEK_CUR() {
+ return SEEK_CUR;
+ }
+ private static final int SEEK_END = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_END 2
+ * }
+ */
+ public static int SEEK_END() {
+ return SEEK_END;
+ }
+ private static final int SEEK_HOLE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_HOLE 3
+ * }
+ */
+ public static int SEEK_HOLE() {
+ return SEEK_HOLE;
+ }
+ private static final int SEEK_DATA = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define SEEK_DATA 4
+ * }
+ */
+ public static int SEEK_DATA() {
+ return SEEK_DATA;
+ }
+ private static final int __SLBF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define __SLBF 1
+ * }
+ */
+ public static int __SLBF() {
+ return __SLBF;
+ }
+ private static final int __SNBF = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define __SNBF 2
+ * }
+ */
+ public static int __SNBF() {
+ return __SNBF;
+ }
+ private static final int __SRD = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define __SRD 4
+ * }
+ */
+ public static int __SRD() {
+ return __SRD;
+ }
+ private static final int __SWR = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define __SWR 8
+ * }
+ */
+ public static int __SWR() {
+ return __SWR;
+ }
+ private static final int __SRW = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define __SRW 16
+ * }
+ */
+ public static int __SRW() {
+ return __SRW;
+ }
+ private static final int __SEOF = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define __SEOF 32
+ * }
+ */
+ public static int __SEOF() {
+ return __SEOF;
+ }
+ private static final int __SERR = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define __SERR 64
+ * }
+ */
+ public static int __SERR() {
+ return __SERR;
+ }
+ private static final int __SMBF = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define __SMBF 128
+ * }
+ */
+ public static int __SMBF() {
+ return __SMBF;
+ }
+ private static final int __SAPP = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define __SAPP 256
+ * }
+ */
+ public static int __SAPP() {
+ return __SAPP;
+ }
+ private static final int __SSTR = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define __SSTR 512
+ * }
+ */
+ public static int __SSTR() {
+ return __SSTR;
+ }
+ private static final int __SOPT = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define __SOPT 1024
+ * }
+ */
+ public static int __SOPT() {
+ return __SOPT;
+ }
+ private static final int __SNPT = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define __SNPT 2048
+ * }
+ */
+ public static int __SNPT() {
+ return __SNPT;
+ }
+ private static final int __SOFF = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define __SOFF 4096
+ * }
+ */
+ public static int __SOFF() {
+ return __SOFF;
+ }
+ private static final int __SMOD = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define __SMOD 8192
+ * }
+ */
+ public static int __SMOD() {
+ return __SMOD;
+ }
+ private static final int __SALC = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define __SALC 16384
+ * }
+ */
+ public static int __SALC() {
+ return __SALC;
+ }
+ private static final int __SIGN = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define __SIGN 32768
+ * }
+ */
+ public static int __SIGN() {
+ return __SIGN;
+ }
+ private static final int _IOFBF = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define _IOFBF 0
+ * }
+ */
+ public static int _IOFBF() {
+ return _IOFBF;
+ }
+ private static final int _IOLBF = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define _IOLBF 1
+ * }
+ */
+ public static int _IOLBF() {
+ return _IOLBF;
+ }
+ private static final int _IONBF = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define _IONBF 2
+ * }
+ */
+ public static int _IONBF() {
+ return _IONBF;
+ }
+ private static final int BUFSIZ = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define BUFSIZ 1024
+ * }
+ */
+ public static int BUFSIZ() {
+ return BUFSIZ;
+ }
+ private static final int FOPEN_MAX = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define FOPEN_MAX 20
+ * }
+ */
+ public static int FOPEN_MAX() {
+ return FOPEN_MAX;
+ }
+ private static final int FILENAME_MAX = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define FILENAME_MAX 1024
+ * }
+ */
+ public static int FILENAME_MAX() {
+ return FILENAME_MAX;
+ }
+ private static final int L_tmpnam = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define L_tmpnam 1024
+ * }
+ */
+ public static int L_tmpnam() {
+ return L_tmpnam;
+ }
+ private static final int TMP_MAX = (int)308915776L;
+ /**
+ * {@snippet lang=c :
+ * #define TMP_MAX 308915776
+ * }
+ */
+ public static int TMP_MAX() {
+ return TMP_MAX;
+ }
+ private static final int L_ctermid = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define L_ctermid 1024
+ * }
+ */
+ public static int L_ctermid() {
+ return L_ctermid;
+ }
+ private static final int _USE_FORTIFY_LEVEL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define _USE_FORTIFY_LEVEL 2
+ * }
+ */
+ public static int _USE_FORTIFY_LEVEL() {
+ return _USE_FORTIFY_LEVEL;
+ }
+ private static final int H5E_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5E_DEFAULT 0
+ * }
+ */
+ public static int H5E_DEFAULT() {
+ return H5E_DEFAULT;
+ }
+ private static final int H5ES_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5ES_NONE 0
+ * }
+ */
+ public static int H5ES_NONE() {
+ return H5ES_NONE;
+ }
+ private static final int H5F_FAMILY_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_FAMILY_DEFAULT 0
+ * }
+ */
+ public static int H5F_FAMILY_DEFAULT() {
+ return H5F_FAMILY_DEFAULT;
+ }
+ private static final int H5F_NUM_METADATA_READ_RETRY_TYPES = (int)21L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_NUM_METADATA_READ_RETRY_TYPES 21
+ * }
+ */
+ public static int H5F_NUM_METADATA_READ_RETRY_TYPES() {
+ return H5F_NUM_METADATA_READ_RETRY_TYPES;
+ }
+ private static final int H5FD_VFD_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_VFD_DEFAULT 0
+ * }
+ */
+ public static int H5FD_VFD_DEFAULT() {
+ return H5FD_VFD_DEFAULT;
+ }
+ private static final int H5_VFD_RESERVED = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_RESERVED 256
+ * }
+ */
+ public static int H5_VFD_RESERVED() {
+ return H5_VFD_RESERVED;
+ }
+ private static final int H5_VFD_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MAX 65535
+ * }
+ */
+ public static int H5_VFD_MAX() {
+ return H5_VFD_MAX;
+ }
+ private static final int H5FD_FEAT_AGGREGATE_METADATA = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_AGGREGATE_METADATA 1
+ * }
+ */
+ public static int H5FD_FEAT_AGGREGATE_METADATA() {
+ return H5FD_FEAT_AGGREGATE_METADATA;
+ }
+ private static final int H5FD_FEAT_ACCUMULATE_METADATA_WRITE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ACCUMULATE_METADATA_WRITE 2
+ * }
+ */
+ public static int H5FD_FEAT_ACCUMULATE_METADATA_WRITE() {
+ return H5FD_FEAT_ACCUMULATE_METADATA_WRITE;
+ }
+ private static final int H5FD_FEAT_ACCUMULATE_METADATA_READ = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ACCUMULATE_METADATA_READ 4
+ * }
+ */
+ public static int H5FD_FEAT_ACCUMULATE_METADATA_READ() {
+ return H5FD_FEAT_ACCUMULATE_METADATA_READ;
+ }
+ private static final int H5FD_FEAT_DATA_SIEVE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_DATA_SIEVE 8
+ * }
+ */
+ public static int H5FD_FEAT_DATA_SIEVE() {
+ return H5FD_FEAT_DATA_SIEVE;
+ }
+ private static final int H5FD_FEAT_AGGREGATE_SMALLDATA = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_AGGREGATE_SMALLDATA 16
+ * }
+ */
+ public static int H5FD_FEAT_AGGREGATE_SMALLDATA() {
+ return H5FD_FEAT_AGGREGATE_SMALLDATA;
+ }
+ private static final int H5FD_FEAT_IGNORE_DRVRINFO = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_IGNORE_DRVRINFO 32
+ * }
+ */
+ public static int H5FD_FEAT_IGNORE_DRVRINFO() {
+ return H5FD_FEAT_IGNORE_DRVRINFO;
+ }
+ private static final int H5FD_FEAT_DIRTY_DRVRINFO_LOAD = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_DIRTY_DRVRINFO_LOAD 64
+ * }
+ */
+ public static int H5FD_FEAT_DIRTY_DRVRINFO_LOAD() {
+ return H5FD_FEAT_DIRTY_DRVRINFO_LOAD;
+ }
+ private static final int H5FD_FEAT_POSIX_COMPAT_HANDLE = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_POSIX_COMPAT_HANDLE 128
+ * }
+ */
+ public static int H5FD_FEAT_POSIX_COMPAT_HANDLE() {
+ return H5FD_FEAT_POSIX_COMPAT_HANDLE;
+ }
+ private static final int H5FD_FEAT_HAS_MPI = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_HAS_MPI 256
+ * }
+ */
+ public static int H5FD_FEAT_HAS_MPI() {
+ return H5FD_FEAT_HAS_MPI;
+ }
+ private static final int H5FD_FEAT_ALLOCATE_EARLY = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ALLOCATE_EARLY 512
+ * }
+ */
+ public static int H5FD_FEAT_ALLOCATE_EARLY() {
+ return H5FD_FEAT_ALLOCATE_EARLY;
+ }
+ private static final int H5FD_FEAT_ALLOW_FILE_IMAGE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ALLOW_FILE_IMAGE 1024
+ * }
+ */
+ public static int H5FD_FEAT_ALLOW_FILE_IMAGE() {
+ return H5FD_FEAT_ALLOW_FILE_IMAGE;
+ }
+ private static final int H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS 2048
+ * }
+ */
+ public static int H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS() {
+ return H5FD_FEAT_CAN_USE_FILE_IMAGE_CALLBACKS;
+ }
+ private static final int H5FD_FEAT_SUPPORTS_SWMR_IO = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_SUPPORTS_SWMR_IO 4096
+ * }
+ */
+ public static int H5FD_FEAT_SUPPORTS_SWMR_IO() {
+ return H5FD_FEAT_SUPPORTS_SWMR_IO;
+ }
+ private static final int H5FD_FEAT_USE_ALLOC_SIZE = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_USE_ALLOC_SIZE 8192
+ * }
+ */
+ public static int H5FD_FEAT_USE_ALLOC_SIZE() {
+ return H5FD_FEAT_USE_ALLOC_SIZE;
+ }
+ private static final int H5FD_FEAT_PAGED_AGGR = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_PAGED_AGGR 16384
+ * }
+ */
+ public static int H5FD_FEAT_PAGED_AGGR() {
+ return H5FD_FEAT_PAGED_AGGR;
+ }
+ private static final int H5FD_FEAT_DEFAULT_VFD_COMPATIBLE = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_DEFAULT_VFD_COMPATIBLE 32768
+ * }
+ */
+ public static int H5FD_FEAT_DEFAULT_VFD_COMPATIBLE() {
+ return H5FD_FEAT_DEFAULT_VFD_COMPATIBLE;
+ }
+ private static final int H5FD_FEAT_MEMMANAGE = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_MEMMANAGE 65536
+ * }
+ */
+ public static int H5FD_FEAT_MEMMANAGE() {
+ return H5FD_FEAT_MEMMANAGE;
+ }
+ private static final int H5FD_CTL_OPC_RESERVED = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_OPC_RESERVED 512
+ * }
+ */
+ public static int H5FD_CTL_OPC_RESERVED() {
+ return H5FD_CTL_OPC_RESERVED;
+ }
+ private static final int H5FD_CTL_INVALID_OPCODE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_INVALID_OPCODE 0
+ * }
+ */
+ public static int H5FD_CTL_INVALID_OPCODE() {
+ return H5FD_CTL_INVALID_OPCODE;
+ }
+ private static final int H5FD_CTL_TEST_OPCODE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_TEST_OPCODE 1
+ * }
+ */
+ public static int H5FD_CTL_TEST_OPCODE() {
+ return H5FD_CTL_TEST_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE 2
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE() {
+ return H5FD_CTL_GET_MPI_COMMUNICATOR_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_INFO_OPCODE = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_INFO_OPCODE 9
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_INFO_OPCODE() {
+ return H5FD_CTL_GET_MPI_INFO_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_RANK_OPCODE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_RANK_OPCODE 3
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_RANK_OPCODE() {
+ return H5FD_CTL_GET_MPI_RANK_OPCODE;
+ }
+ private static final int H5FD_CTL_GET_MPI_SIZE_OPCODE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_SIZE_OPCODE 4
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_SIZE_OPCODE() {
+ return H5FD_CTL_GET_MPI_SIZE_OPCODE;
+ }
+ private static final int H5FD_CTL_MEM_ALLOC = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_MEM_ALLOC 5
+ * }
+ */
+ public static int H5FD_CTL_MEM_ALLOC() {
+ return H5FD_CTL_MEM_ALLOC;
+ }
+ private static final int H5FD_CTL_MEM_FREE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_MEM_FREE 6
+ * }
+ */
+ public static int H5FD_CTL_MEM_FREE() {
+ return H5FD_CTL_MEM_FREE;
+ }
+ private static final int H5FD_CTL_MEM_COPY = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_MEM_COPY 7
+ * }
+ */
+ public static int H5FD_CTL_MEM_COPY() {
+ return H5FD_CTL_MEM_COPY;
+ }
+ private static final int H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE 8
+ * }
+ */
+ public static int H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE() {
+ return H5FD_CTL_GET_MPI_FILE_SYNC_OPCODE;
+ }
+ private static final int H5FD_CTL_FAIL_IF_UNKNOWN_FLAG = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_FAIL_IF_UNKNOWN_FLAG 1
+ * }
+ */
+ public static int H5FD_CTL_FAIL_IF_UNKNOWN_FLAG() {
+ return H5FD_CTL_FAIL_IF_UNKNOWN_FLAG;
+ }
+ private static final int H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG 2
+ * }
+ */
+ public static int H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG() {
+ return H5FD_CTL_ROUTE_TO_TERMINAL_VFD_FLAG;
+ }
+ private static final int H5L_SAME_LOC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_SAME_LOC 0
+ * }
+ */
+ public static int H5L_SAME_LOC() {
+ return H5L_SAME_LOC;
+ }
+ private static final int H5G_NTYPES = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_NTYPES 256
+ * }
+ */
+ public static int H5G_NTYPES() {
+ return H5G_NTYPES;
+ }
+ private static final int H5G_NLIBTYPES = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_NLIBTYPES 8
+ * }
+ */
+ public static int H5G_NLIBTYPES() {
+ return H5G_NLIBTYPES;
+ }
+ private static final int H5VL_VERSION = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_VERSION 3
+ * }
+ */
+ public static int H5VL_VERSION() {
+ return H5VL_VERSION;
+ }
+ private static final int H5_VOL_NATIVE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_NATIVE 0
+ * }
+ */
+ public static int H5_VOL_NATIVE() {
+ return H5_VOL_NATIVE;
+ }
+ private static final int H5_VOL_RESERVED = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_RESERVED 256
+ * }
+ */
+ public static int H5_VOL_RESERVED() {
+ return H5_VOL_RESERVED;
+ }
+ private static final int H5_VOL_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_MAX 65535
+ * }
+ */
+ public static int H5_VOL_MAX() {
+ return H5_VOL_MAX;
+ }
+ private static final int H5VL_CAP_FLAG_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_NONE 0
+ * }
+ */
+ public static int H5VL_CAP_FLAG_NONE() {
+ return H5VL_CAP_FLAG_NONE;
+ }
+ private static final int H5VL_CAP_FLAG_THREADSAFE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_THREADSAFE 1
+ * }
+ */
+ public static int H5VL_CAP_FLAG_THREADSAFE() {
+ return H5VL_CAP_FLAG_THREADSAFE;
+ }
+ private static final int H5VL_CAP_FLAG_ASYNC = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ASYNC 2
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ASYNC() {
+ return H5VL_CAP_FLAG_ASYNC;
+ }
+ private static final int H5VL_CAP_FLAG_NATIVE_FILES = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_NATIVE_FILES 4
+ * }
+ */
+ public static int H5VL_CAP_FLAG_NATIVE_FILES() {
+ return H5VL_CAP_FLAG_NATIVE_FILES;
+ }
+ private static final int H5VL_CAP_FLAG_ATTR_BASIC = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ATTR_BASIC 8
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ATTR_BASIC() {
+ return H5VL_CAP_FLAG_ATTR_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_ATTR_MORE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ATTR_MORE 16
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ATTR_MORE() {
+ return H5VL_CAP_FLAG_ATTR_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_DATASET_BASIC = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_DATASET_BASIC 32
+ * }
+ */
+ public static int H5VL_CAP_FLAG_DATASET_BASIC() {
+ return H5VL_CAP_FLAG_DATASET_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_DATASET_MORE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_DATASET_MORE 64
+ * }
+ */
+ public static int H5VL_CAP_FLAG_DATASET_MORE() {
+ return H5VL_CAP_FLAG_DATASET_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_FILE_BASIC = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILE_BASIC 128
+ * }
+ */
+ public static int H5VL_CAP_FLAG_FILE_BASIC() {
+ return H5VL_CAP_FLAG_FILE_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_FILE_MORE = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILE_MORE 256
+ * }
+ */
+ public static int H5VL_CAP_FLAG_FILE_MORE() {
+ return H5VL_CAP_FLAG_FILE_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_GROUP_BASIC = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_GROUP_BASIC 512
+ * }
+ */
+ public static int H5VL_CAP_FLAG_GROUP_BASIC() {
+ return H5VL_CAP_FLAG_GROUP_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_GROUP_MORE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_GROUP_MORE 1024
+ * }
+ */
+ public static int H5VL_CAP_FLAG_GROUP_MORE() {
+ return H5VL_CAP_FLAG_GROUP_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_LINK_BASIC = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_LINK_BASIC 2048
+ * }
+ */
+ public static int H5VL_CAP_FLAG_LINK_BASIC() {
+ return H5VL_CAP_FLAG_LINK_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_LINK_MORE = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_LINK_MORE 4096
+ * }
+ */
+ public static int H5VL_CAP_FLAG_LINK_MORE() {
+ return H5VL_CAP_FLAG_LINK_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_MAP_BASIC = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_MAP_BASIC 8192
+ * }
+ */
+ public static int H5VL_CAP_FLAG_MAP_BASIC() {
+ return H5VL_CAP_FLAG_MAP_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_MAP_MORE = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_MAP_MORE 16384
+ * }
+ */
+ public static int H5VL_CAP_FLAG_MAP_MORE() {
+ return H5VL_CAP_FLAG_MAP_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_OBJECT_BASIC = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_OBJECT_BASIC 32768
+ * }
+ */
+ public static int H5VL_CAP_FLAG_OBJECT_BASIC() {
+ return H5VL_CAP_FLAG_OBJECT_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_OBJECT_MORE = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_OBJECT_MORE 65536
+ * }
+ */
+ public static int H5VL_CAP_FLAG_OBJECT_MORE() {
+ return H5VL_CAP_FLAG_OBJECT_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_REF_BASIC = (int)131072L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_REF_BASIC 131072
+ * }
+ */
+ public static int H5VL_CAP_FLAG_REF_BASIC() {
+ return H5VL_CAP_FLAG_REF_BASIC;
+ }
+ private static final int H5VL_CAP_FLAG_REF_MORE = (int)262144L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_REF_MORE 262144
+ * }
+ */
+ public static int H5VL_CAP_FLAG_REF_MORE() {
+ return H5VL_CAP_FLAG_REF_MORE;
+ }
+ private static final int H5VL_CAP_FLAG_OBJ_REF = (int)524288L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_OBJ_REF 524288
+ * }
+ */
+ public static int H5VL_CAP_FLAG_OBJ_REF() {
+ return H5VL_CAP_FLAG_OBJ_REF;
+ }
+ private static final int H5VL_CAP_FLAG_REG_REF = (int)1048576L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_REG_REF 1048576
+ * }
+ */
+ public static int H5VL_CAP_FLAG_REG_REF() {
+ return H5VL_CAP_FLAG_REG_REF;
+ }
+ private static final int H5VL_CAP_FLAG_ATTR_REF = (int)2097152L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ATTR_REF 2097152
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ATTR_REF() {
+ return H5VL_CAP_FLAG_ATTR_REF;
+ }
+ private static final int H5VL_CAP_FLAG_STORED_DATATYPES = (int)4194304L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_STORED_DATATYPES 4194304
+ * }
+ */
+ public static int H5VL_CAP_FLAG_STORED_DATATYPES() {
+ return H5VL_CAP_FLAG_STORED_DATATYPES;
+ }
+ private static final int H5VL_CAP_FLAG_CREATION_ORDER = (int)8388608L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_CREATION_ORDER 8388608
+ * }
+ */
+ public static int H5VL_CAP_FLAG_CREATION_ORDER() {
+ return H5VL_CAP_FLAG_CREATION_ORDER;
+ }
+ private static final int H5VL_CAP_FLAG_ITERATE = (int)16777216L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_ITERATE 16777216
+ * }
+ */
+ public static int H5VL_CAP_FLAG_ITERATE() {
+ return H5VL_CAP_FLAG_ITERATE;
+ }
+ private static final int H5VL_CAP_FLAG_STORAGE_SIZE = (int)33554432L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_STORAGE_SIZE 33554432
+ * }
+ */
+ public static int H5VL_CAP_FLAG_STORAGE_SIZE() {
+ return H5VL_CAP_FLAG_STORAGE_SIZE;
+ }
+ private static final int H5VL_CAP_FLAG_BY_IDX = (int)67108864L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_BY_IDX 67108864
+ * }
+ */
+ public static int H5VL_CAP_FLAG_BY_IDX() {
+ return H5VL_CAP_FLAG_BY_IDX;
+ }
+ private static final int H5VL_CAP_FLAG_GET_PLIST = (int)134217728L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_GET_PLIST 134217728
+ * }
+ */
+ public static int H5VL_CAP_FLAG_GET_PLIST() {
+ return H5VL_CAP_FLAG_GET_PLIST;
+ }
+ private static final int H5VL_CAP_FLAG_FLUSH_REFRESH = (int)268435456L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FLUSH_REFRESH 268435456
+ * }
+ */
+ public static int H5VL_CAP_FLAG_FLUSH_REFRESH() {
+ return H5VL_CAP_FLAG_FLUSH_REFRESH;
+ }
+ private static final int H5VL_CAP_FLAG_EXTERNAL_LINKS = (int)536870912L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_EXTERNAL_LINKS 536870912
+ * }
+ */
+ public static int H5VL_CAP_FLAG_EXTERNAL_LINKS() {
+ return H5VL_CAP_FLAG_EXTERNAL_LINKS;
+ }
+ private static final int H5VL_CAP_FLAG_HARD_LINKS = (int)1073741824L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_HARD_LINKS 1073741824
+ * }
+ */
+ public static int H5VL_CAP_FLAG_HARD_LINKS() {
+ return H5VL_CAP_FLAG_HARD_LINKS;
+ }
+ private static final int H5VL_OPT_QUERY_SUPPORTED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_SUPPORTED 1
+ * }
+ */
+ public static int H5VL_OPT_QUERY_SUPPORTED() {
+ return H5VL_OPT_QUERY_SUPPORTED;
+ }
+ private static final int H5VL_OPT_QUERY_READ_DATA = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_READ_DATA 2
+ * }
+ */
+ public static int H5VL_OPT_QUERY_READ_DATA() {
+ return H5VL_OPT_QUERY_READ_DATA;
+ }
+ private static final int H5VL_OPT_QUERY_WRITE_DATA = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_WRITE_DATA 4
+ * }
+ */
+ public static int H5VL_OPT_QUERY_WRITE_DATA() {
+ return H5VL_OPT_QUERY_WRITE_DATA;
+ }
+ private static final int H5VL_OPT_QUERY_QUERY_METADATA = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_QUERY_METADATA 8
+ * }
+ */
+ public static int H5VL_OPT_QUERY_QUERY_METADATA() {
+ return H5VL_OPT_QUERY_QUERY_METADATA;
+ }
+ private static final int H5VL_OPT_QUERY_MODIFY_METADATA = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_MODIFY_METADATA 16
+ * }
+ */
+ public static int H5VL_OPT_QUERY_MODIFY_METADATA() {
+ return H5VL_OPT_QUERY_MODIFY_METADATA;
+ }
+ private static final int H5VL_OPT_QUERY_COLLECTIVE = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_COLLECTIVE 32
+ * }
+ */
+ public static int H5VL_OPT_QUERY_COLLECTIVE() {
+ return H5VL_OPT_QUERY_COLLECTIVE;
+ }
+ private static final int H5VL_OPT_QUERY_NO_ASYNC = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_NO_ASYNC 64
+ * }
+ */
+ public static int H5VL_OPT_QUERY_NO_ASYNC() {
+ return H5VL_OPT_QUERY_NO_ASYNC;
+ }
+ private static final int H5VL_OPT_QUERY_MULTI_OBJ = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_OPT_QUERY_MULTI_OBJ 128
+ * }
+ */
+ public static int H5VL_OPT_QUERY_MULTI_OBJ() {
+ return H5VL_OPT_QUERY_MULTI_OBJ;
+ }
+ private static final int H5VL_CONTAINER_INFO_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CONTAINER_INFO_VERSION 1
+ * }
+ */
+ public static int H5VL_CONTAINER_INFO_VERSION() {
+ return H5VL_CONTAINER_INFO_VERSION;
+ }
+ private static final int H5VL_RESERVED_NATIVE_OPTIONAL = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_RESERVED_NATIVE_OPTIONAL 1024
+ * }
+ */
+ public static int H5VL_RESERVED_NATIVE_OPTIONAL() {
+ return H5VL_RESERVED_NATIVE_OPTIONAL;
+ }
+ private static final int H5VL_MAP_CREATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_CREATE 1
+ * }
+ */
+ public static int H5VL_MAP_CREATE() {
+ return H5VL_MAP_CREATE;
+ }
+ private static final int H5VL_MAP_OPEN = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_OPEN 2
+ * }
+ */
+ public static int H5VL_MAP_OPEN() {
+ return H5VL_MAP_OPEN;
+ }
+ private static final int H5VL_MAP_GET_VAL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_GET_VAL 3
+ * }
+ */
+ public static int H5VL_MAP_GET_VAL() {
+ return H5VL_MAP_GET_VAL;
+ }
+ private static final int H5VL_MAP_EXISTS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_EXISTS 4
+ * }
+ */
+ public static int H5VL_MAP_EXISTS() {
+ return H5VL_MAP_EXISTS;
+ }
+ private static final int H5VL_MAP_PUT = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_PUT 5
+ * }
+ */
+ public static int H5VL_MAP_PUT() {
+ return H5VL_MAP_PUT;
+ }
+ private static final int H5VL_MAP_GET = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_GET 6
+ * }
+ */
+ public static int H5VL_MAP_GET() {
+ return H5VL_MAP_GET;
+ }
+ private static final int H5VL_MAP_SPECIFIC = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_SPECIFIC 7
+ * }
+ */
+ public static int H5VL_MAP_SPECIFIC() {
+ return H5VL_MAP_SPECIFIC;
+ }
+ private static final int H5VL_MAP_OPTIONAL = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_OPTIONAL 8
+ * }
+ */
+ public static int H5VL_MAP_OPTIONAL() {
+ return H5VL_MAP_OPTIONAL;
+ }
+ private static final int H5VL_MAP_CLOSE = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAP_CLOSE 9
+ * }
+ */
+ public static int H5VL_MAP_CLOSE() {
+ return H5VL_MAP_CLOSE;
+ }
+ private static final int H5S_ALL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_ALL 0
+ * }
+ */
+ public static int H5S_ALL() {
+ return H5S_ALL;
+ }
+ private static final int H5S_BLOCK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_BLOCK 1
+ * }
+ */
+ public static int H5S_BLOCK() {
+ return H5S_BLOCK;
+ }
+ private static final int H5S_PLIST = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_PLIST 2
+ * }
+ */
+ public static int H5S_PLIST() {
+ return H5S_PLIST;
+ }
+ private static final int H5S_MAX_RANK = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_MAX_RANK 32
+ * }
+ */
+ public static int H5S_MAX_RANK() {
+ return H5S_MAX_RANK;
+ }
+ private static final int H5S_SEL_ITER_GET_SEQ_LIST_SORTED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_SEL_ITER_GET_SEQ_LIST_SORTED 1
+ * }
+ */
+ public static int H5S_SEL_ITER_GET_SEQ_LIST_SORTED() {
+ return H5S_SEL_ITER_GET_SEQ_LIST_SORTED;
+ }
+ private static final int H5S_SEL_ITER_SHARE_WITH_DATASPACE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_SEL_ITER_SHARE_WITH_DATASPACE 2
+ * }
+ */
+ public static int H5S_SEL_ITER_SHARE_WITH_DATASPACE() {
+ return H5S_SEL_ITER_SHARE_WITH_DATASPACE;
+ }
+ private static final int H5Z_FILTER_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_NONE 0
+ * }
+ */
+ public static int H5Z_FILTER_NONE() {
+ return H5Z_FILTER_NONE;
+ }
+ private static final int H5Z_FILTER_DEFLATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_DEFLATE 1
+ * }
+ */
+ public static int H5Z_FILTER_DEFLATE() {
+ return H5Z_FILTER_DEFLATE;
+ }
+ private static final int H5Z_FILTER_SHUFFLE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_SHUFFLE 2
+ * }
+ */
+ public static int H5Z_FILTER_SHUFFLE() {
+ return H5Z_FILTER_SHUFFLE;
+ }
+ private static final int H5Z_FILTER_FLETCHER32 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_FLETCHER32 3
+ * }
+ */
+ public static int H5Z_FILTER_FLETCHER32() {
+ return H5Z_FILTER_FLETCHER32;
+ }
+ private static final int H5Z_FILTER_SZIP = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_SZIP 4
+ * }
+ */
+ public static int H5Z_FILTER_SZIP() {
+ return H5Z_FILTER_SZIP;
+ }
+ private static final int H5Z_FILTER_NBIT = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_NBIT 5
+ * }
+ */
+ public static int H5Z_FILTER_NBIT() {
+ return H5Z_FILTER_NBIT;
+ }
+ private static final int H5Z_FILTER_SCALEOFFSET = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_SCALEOFFSET 6
+ * }
+ */
+ public static int H5Z_FILTER_SCALEOFFSET() {
+ return H5Z_FILTER_SCALEOFFSET;
+ }
+ private static final int H5Z_FILTER_RESERVED = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_RESERVED 256
+ * }
+ */
+ public static int H5Z_FILTER_RESERVED() {
+ return H5Z_FILTER_RESERVED;
+ }
+ private static final int H5Z_FILTER_MAX = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_MAX 65535
+ * }
+ */
+ public static int H5Z_FILTER_MAX() {
+ return H5Z_FILTER_MAX;
+ }
+ private static final int H5Z_FILTER_ALL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_ALL 0
+ * }
+ */
+ public static int H5Z_FILTER_ALL() {
+ return H5Z_FILTER_ALL;
+ }
+ private static final int H5Z_MAX_NFILTERS = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_MAX_NFILTERS 32
+ * }
+ */
+ public static int H5Z_MAX_NFILTERS() {
+ return H5Z_MAX_NFILTERS;
+ }
+ private static final int H5Z_FLAG_DEFMASK = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_DEFMASK 255
+ * }
+ */
+ public static int H5Z_FLAG_DEFMASK() {
+ return H5Z_FLAG_DEFMASK;
+ }
+ private static final int H5Z_FLAG_MANDATORY = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_MANDATORY 0
+ * }
+ */
+ public static int H5Z_FLAG_MANDATORY() {
+ return H5Z_FLAG_MANDATORY;
+ }
+ private static final int H5Z_FLAG_OPTIONAL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_OPTIONAL 1
+ * }
+ */
+ public static int H5Z_FLAG_OPTIONAL() {
+ return H5Z_FLAG_OPTIONAL;
+ }
+ private static final int H5Z_FLAG_INVMASK = (int)65280L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_INVMASK 65280
+ * }
+ */
+ public static int H5Z_FLAG_INVMASK() {
+ return H5Z_FLAG_INVMASK;
+ }
+ private static final int H5Z_FLAG_REVERSE = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_REVERSE 256
+ * }
+ */
+ public static int H5Z_FLAG_REVERSE() {
+ return H5Z_FLAG_REVERSE;
+ }
+ private static final int H5Z_FLAG_SKIP_EDC = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FLAG_SKIP_EDC 512
+ * }
+ */
+ public static int H5Z_FLAG_SKIP_EDC() {
+ return H5Z_FLAG_SKIP_EDC;
+ }
+ private static final int H5_SZIP_ALLOW_K13_OPTION_MASK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_ALLOW_K13_OPTION_MASK 1
+ * }
+ */
+ public static int H5_SZIP_ALLOW_K13_OPTION_MASK() {
+ return H5_SZIP_ALLOW_K13_OPTION_MASK;
+ }
+ private static final int H5_SZIP_CHIP_OPTION_MASK = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_CHIP_OPTION_MASK 2
+ * }
+ */
+ public static int H5_SZIP_CHIP_OPTION_MASK() {
+ return H5_SZIP_CHIP_OPTION_MASK;
+ }
+ private static final int H5_SZIP_EC_OPTION_MASK = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_EC_OPTION_MASK 4
+ * }
+ */
+ public static int H5_SZIP_EC_OPTION_MASK() {
+ return H5_SZIP_EC_OPTION_MASK;
+ }
+ private static final int H5_SZIP_NN_OPTION_MASK = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_NN_OPTION_MASK 32
+ * }
+ */
+ public static int H5_SZIP_NN_OPTION_MASK() {
+ return H5_SZIP_NN_OPTION_MASK;
+ }
+ private static final int H5_SZIP_MAX_PIXELS_PER_BLOCK = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SZIP_MAX_PIXELS_PER_BLOCK 32
+ * }
+ */
+ public static int H5_SZIP_MAX_PIXELS_PER_BLOCK() {
+ return H5_SZIP_MAX_PIXELS_PER_BLOCK;
+ }
+ private static final int H5Z_SHUFFLE_USER_NPARMS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SHUFFLE_USER_NPARMS 0
+ * }
+ */
+ public static int H5Z_SHUFFLE_USER_NPARMS() {
+ return H5Z_SHUFFLE_USER_NPARMS;
+ }
+ private static final int H5Z_SHUFFLE_TOTAL_NPARMS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SHUFFLE_TOTAL_NPARMS 1
+ * }
+ */
+ public static int H5Z_SHUFFLE_TOTAL_NPARMS() {
+ return H5Z_SHUFFLE_TOTAL_NPARMS;
+ }
+ private static final int H5Z_SZIP_USER_NPARMS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_USER_NPARMS 2
+ * }
+ */
+ public static int H5Z_SZIP_USER_NPARMS() {
+ return H5Z_SZIP_USER_NPARMS;
+ }
+ private static final int H5Z_SZIP_TOTAL_NPARMS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_TOTAL_NPARMS 4
+ * }
+ */
+ public static int H5Z_SZIP_TOTAL_NPARMS() {
+ return H5Z_SZIP_TOTAL_NPARMS;
+ }
+ private static final int H5Z_SZIP_PARM_MASK = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_MASK 0
+ * }
+ */
+ public static int H5Z_SZIP_PARM_MASK() {
+ return H5Z_SZIP_PARM_MASK;
+ }
+ private static final int H5Z_SZIP_PARM_PPB = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_PPB 1
+ * }
+ */
+ public static int H5Z_SZIP_PARM_PPB() {
+ return H5Z_SZIP_PARM_PPB;
+ }
+ private static final int H5Z_SZIP_PARM_BPP = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_BPP 2
+ * }
+ */
+ public static int H5Z_SZIP_PARM_BPP() {
+ return H5Z_SZIP_PARM_BPP;
+ }
+ private static final int H5Z_SZIP_PARM_PPS = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SZIP_PARM_PPS 3
+ * }
+ */
+ public static int H5Z_SZIP_PARM_PPS() {
+ return H5Z_SZIP_PARM_PPS;
+ }
+ private static final int H5Z_NBIT_USER_NPARMS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_NBIT_USER_NPARMS 0
+ * }
+ */
+ public static int H5Z_NBIT_USER_NPARMS() {
+ return H5Z_NBIT_USER_NPARMS;
+ }
+ private static final int H5Z_SCALEOFFSET_USER_NPARMS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SCALEOFFSET_USER_NPARMS 2
+ * }
+ */
+ public static int H5Z_SCALEOFFSET_USER_NPARMS() {
+ return H5Z_SCALEOFFSET_USER_NPARMS;
+ }
+ private static final int H5Z_SO_INT_MINBITS_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_SO_INT_MINBITS_DEFAULT 0
+ * }
+ */
+ public static int H5Z_SO_INT_MINBITS_DEFAULT() {
+ return H5Z_SO_INT_MINBITS_DEFAULT;
+ }
+ private static final int H5P_CRT_ORDER_TRACKED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5P_CRT_ORDER_TRACKED 1
+ * }
+ */
+ public static int H5P_CRT_ORDER_TRACKED() {
+ return H5P_CRT_ORDER_TRACKED;
+ }
+ private static final int H5P_CRT_ORDER_INDEXED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5P_CRT_ORDER_INDEXED 2
+ * }
+ */
+ public static int H5P_CRT_ORDER_INDEXED() {
+ return H5P_CRT_ORDER_INDEXED;
+ }
+ private static final int H5P_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5P_DEFAULT 0
+ * }
+ */
+ public static int H5P_DEFAULT() {
+ return H5P_DEFAULT;
+ }
+ private static final int H5PL_FILTER_PLUGIN = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_FILTER_PLUGIN 1
+ * }
+ */
+ public static int H5PL_FILTER_PLUGIN() {
+ return H5PL_FILTER_PLUGIN;
+ }
+ private static final int H5PL_VOL_PLUGIN = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_VOL_PLUGIN 2
+ * }
+ */
+ public static int H5PL_VOL_PLUGIN() {
+ return H5PL_VOL_PLUGIN;
+ }
+ private static final int H5PL_VFD_PLUGIN = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_VFD_PLUGIN 4
+ * }
+ */
+ public static int H5PL_VFD_PLUGIN() {
+ return H5PL_VFD_PLUGIN;
+ }
+ private static final int H5PL_ALL_PLUGIN = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_ALL_PLUGIN 65535
+ * }
+ */
+ public static int H5PL_ALL_PLUGIN() {
+ return H5PL_ALL_PLUGIN;
+ }
+ private static final int H5FD_CLASS_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CLASS_VERSION 1
+ * }
+ */
+ public static int H5FD_CLASS_VERSION() {
+ return H5FD_CLASS_VERSION;
+ }
+ private static final int H5L_LINK_CLASS_T_VERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_LINK_CLASS_T_VERS 1
+ * }
+ */
+ public static int H5L_LINK_CLASS_T_VERS() {
+ return H5L_LINK_CLASS_T_VERS;
+ }
+ private static final int H5L_EXT_VERSION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_EXT_VERSION 0
+ * }
+ */
+ public static int H5L_EXT_VERSION() {
+ return H5L_EXT_VERSION;
+ }
+ private static final int H5L_EXT_FLAGS_ALL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_EXT_FLAGS_ALL 0
+ * }
+ */
+ public static int H5L_EXT_FLAGS_ALL() {
+ return H5L_EXT_FLAGS_ALL;
+ }
+ private static final int H5L_LINK_CLASS_T_VERS_0 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_LINK_CLASS_T_VERS_0 0
+ * }
+ */
+ public static int H5L_LINK_CLASS_T_VERS_0() {
+ return H5L_LINK_CLASS_T_VERS_0;
+ }
+ private static final int H5VL_NATIVE_VERSION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_VERSION 0
+ * }
+ */
+ public static int H5VL_NATIVE_VERSION() {
+ return H5VL_NATIVE_VERSION;
+ }
+ private static final int H5VL_NATIVE_ATTR_ITERATE_OLD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_ATTR_ITERATE_OLD 0
+ * }
+ */
+ public static int H5VL_NATIVE_ATTR_ITERATE_OLD() {
+ return H5VL_NATIVE_ATTR_ITERATE_OLD;
+ }
+ private static final int H5VL_NATIVE_DATASET_FORMAT_CONVERT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_FORMAT_CONVERT 0
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_FORMAT_CONVERT() {
+ return H5VL_NATIVE_DATASET_FORMAT_CONVERT;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE 1
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_INDEX_TYPE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE 2
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_STORAGE_SIZE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_NUM_CHUNKS = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_NUM_CHUNKS 3
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_NUM_CHUNKS() {
+ return H5VL_NATIVE_DATASET_GET_NUM_CHUNKS;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX 4
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_IDX;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD 5
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD() {
+ return H5VL_NATIVE_DATASET_GET_CHUNK_INFO_BY_COORD;
+ }
+ private static final int H5VL_NATIVE_DATASET_CHUNK_READ = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_CHUNK_READ 6
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_CHUNK_READ() {
+ return H5VL_NATIVE_DATASET_CHUNK_READ;
+ }
+ private static final int H5VL_NATIVE_DATASET_CHUNK_WRITE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_CHUNK_WRITE 7
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_CHUNK_WRITE() {
+ return H5VL_NATIVE_DATASET_CHUNK_WRITE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE 8
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE() {
+ return H5VL_NATIVE_DATASET_GET_VLEN_BUF_SIZE;
+ }
+ private static final int H5VL_NATIVE_DATASET_GET_OFFSET = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_GET_OFFSET 9
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_GET_OFFSET() {
+ return H5VL_NATIVE_DATASET_GET_OFFSET;
+ }
+ private static final int H5VL_NATIVE_DATASET_CHUNK_ITER = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_DATASET_CHUNK_ITER 10
+ * }
+ */
+ public static int H5VL_NATIVE_DATASET_CHUNK_ITER() {
+ return H5VL_NATIVE_DATASET_CHUNK_ITER;
+ }
+ private static final int H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE 0
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE() {
+ return H5VL_NATIVE_FILE_CLEAR_ELINK_CACHE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_FILE_IMAGE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_FILE_IMAGE 1
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_FILE_IMAGE() {
+ return H5VL_NATIVE_FILE_GET_FILE_IMAGE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_FREE_SECTIONS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_FREE_SECTIONS 2
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_FREE_SECTIONS() {
+ return H5VL_NATIVE_FILE_GET_FREE_SECTIONS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_FREE_SPACE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_FREE_SPACE 3
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_FREE_SPACE() {
+ return H5VL_NATIVE_FILE_GET_FREE_SPACE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_INFO = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_INFO 4
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_INFO() {
+ return H5VL_NATIVE_FILE_GET_INFO;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_CONF = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_CONF 5
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_CONF() {
+ return H5VL_NATIVE_FILE_GET_MDC_CONF;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_HR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_HR 6
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_HR() {
+ return H5VL_NATIVE_FILE_GET_MDC_HR;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_SIZE = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_SIZE 7
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_SIZE() {
+ return H5VL_NATIVE_FILE_GET_MDC_SIZE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_SIZE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_SIZE 8
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_SIZE() {
+ return H5VL_NATIVE_FILE_GET_SIZE;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_VFD_HANDLE = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_VFD_HANDLE 9
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_VFD_HANDLE() {
+ return H5VL_NATIVE_FILE_GET_VFD_HANDLE;
+ }
+ private static final int H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE 10
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE() {
+ return H5VL_NATIVE_FILE_RESET_MDC_HIT_RATE;
+ }
+ private static final int H5VL_NATIVE_FILE_SET_MDC_CONFIG = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_SET_MDC_CONFIG 11
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_SET_MDC_CONFIG() {
+ return H5VL_NATIVE_FILE_SET_MDC_CONFIG;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO 12
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO() {
+ return H5VL_NATIVE_FILE_GET_METADATA_READ_RETRY_INFO;
+ }
+ private static final int H5VL_NATIVE_FILE_START_SWMR_WRITE = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_START_SWMR_WRITE 13
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_START_SWMR_WRITE() {
+ return H5VL_NATIVE_FILE_START_SWMR_WRITE;
+ }
+ private static final int H5VL_NATIVE_FILE_START_MDC_LOGGING = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_START_MDC_LOGGING 14
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_START_MDC_LOGGING() {
+ return H5VL_NATIVE_FILE_START_MDC_LOGGING;
+ }
+ private static final int H5VL_NATIVE_FILE_STOP_MDC_LOGGING = (int)15L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_STOP_MDC_LOGGING 15
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_STOP_MDC_LOGGING() {
+ return H5VL_NATIVE_FILE_STOP_MDC_LOGGING;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS 16
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS() {
+ return H5VL_NATIVE_FILE_GET_MDC_LOGGING_STATUS;
+ }
+ private static final int H5VL_NATIVE_FILE_FORMAT_CONVERT = (int)17L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_FORMAT_CONVERT 17
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_FORMAT_CONVERT() {
+ return H5VL_NATIVE_FILE_FORMAT_CONVERT;
+ }
+ private static final int H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS = (int)18L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS 18
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS() {
+ return H5VL_NATIVE_FILE_RESET_PAGE_BUFFERING_STATS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS = (int)19L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS 19
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS() {
+ return H5VL_NATIVE_FILE_GET_PAGE_BUFFERING_STATS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO 20
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO() {
+ return H5VL_NATIVE_FILE_GET_MDC_IMAGE_INFO;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_EOA = (int)21L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_EOA 21
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_EOA() {
+ return H5VL_NATIVE_FILE_GET_EOA;
+ }
+ private static final int H5VL_NATIVE_FILE_INCR_FILESIZE = (int)22L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_INCR_FILESIZE 22
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_INCR_FILESIZE() {
+ return H5VL_NATIVE_FILE_INCR_FILESIZE;
+ }
+ private static final int H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS = (int)23L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS 23
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS() {
+ return H5VL_NATIVE_FILE_SET_LIBVER_BOUNDS;
+ }
+ private static final int H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG = (int)24L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG 24
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG() {
+ return H5VL_NATIVE_FILE_GET_MIN_DSET_OHDR_FLAG;
+ }
+ private static final int H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG = (int)25L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG 25
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG() {
+ return H5VL_NATIVE_FILE_SET_MIN_DSET_OHDR_FLAG;
+ }
+ private static final int H5VL_NATIVE_FILE_POST_OPEN = (int)28L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_FILE_POST_OPEN 28
+ * }
+ */
+ public static int H5VL_NATIVE_FILE_POST_OPEN() {
+ return H5VL_NATIVE_FILE_POST_OPEN;
+ }
+ private static final int H5VL_NATIVE_GROUP_ITERATE_OLD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_GROUP_ITERATE_OLD 0
+ * }
+ */
+ public static int H5VL_NATIVE_GROUP_ITERATE_OLD() {
+ return H5VL_NATIVE_GROUP_ITERATE_OLD;
+ }
+ private static final int H5VL_NATIVE_GROUP_GET_OBJINFO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_GROUP_GET_OBJINFO 1
+ * }
+ */
+ public static int H5VL_NATIVE_GROUP_GET_OBJINFO() {
+ return H5VL_NATIVE_GROUP_GET_OBJINFO;
+ }
+ private static final int H5VL_NATIVE_OBJECT_GET_COMMENT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_GET_COMMENT 0
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_GET_COMMENT() {
+ return H5VL_NATIVE_OBJECT_GET_COMMENT;
+ }
+ private static final int H5VL_NATIVE_OBJECT_SET_COMMENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_SET_COMMENT 1
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_SET_COMMENT() {
+ return H5VL_NATIVE_OBJECT_SET_COMMENT;
+ }
+ private static final int H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES 2
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES() {
+ return H5VL_NATIVE_OBJECT_DISABLE_MDC_FLUSHES;
+ }
+ private static final int H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES 3
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES() {
+ return H5VL_NATIVE_OBJECT_ENABLE_MDC_FLUSHES;
+ }
+ private static final int H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED 4
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED() {
+ return H5VL_NATIVE_OBJECT_ARE_MDC_FLUSHES_DISABLED;
+ }
+ private static final int H5VL_NATIVE_OBJECT_GET_NATIVE_INFO = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_OBJECT_GET_NATIVE_INFO 5
+ * }
+ */
+ public static int H5VL_NATIVE_OBJECT_GET_NATIVE_INFO() {
+ return H5VL_NATIVE_OBJECT_GET_NATIVE_INFO;
+ }
+ private static final int MBOUNDARY_DEF = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define MBOUNDARY_DEF 4096
+ * }
+ */
+ public static int MBOUNDARY_DEF() {
+ return MBOUNDARY_DEF;
+ }
+ private static final int FBSIZE_DEF = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define FBSIZE_DEF 4096
+ * }
+ */
+ public static int FBSIZE_DEF() {
+ return FBSIZE_DEF;
+ }
+ private static final int H5FD_LOG_TRUNCATE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TRUNCATE 1
+ * }
+ */
+ public static int H5FD_LOG_TRUNCATE() {
+ return H5FD_LOG_TRUNCATE;
+ }
+ private static final int H5FD_LOG_LOC_READ = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_READ 2
+ * }
+ */
+ public static int H5FD_LOG_LOC_READ() {
+ return H5FD_LOG_LOC_READ;
+ }
+ private static final int H5FD_LOG_LOC_WRITE = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_WRITE 4
+ * }
+ */
+ public static int H5FD_LOG_LOC_WRITE() {
+ return H5FD_LOG_LOC_WRITE;
+ }
+ private static final int H5FD_LOG_LOC_SEEK = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_SEEK 8
+ * }
+ */
+ public static int H5FD_LOG_LOC_SEEK() {
+ return H5FD_LOG_LOC_SEEK;
+ }
+ private static final int H5FD_LOG_FILE_READ = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FILE_READ 16
+ * }
+ */
+ public static int H5FD_LOG_FILE_READ() {
+ return H5FD_LOG_FILE_READ;
+ }
+ private static final int H5FD_LOG_FILE_WRITE = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FILE_WRITE 32
+ * }
+ */
+ public static int H5FD_LOG_FILE_WRITE() {
+ return H5FD_LOG_FILE_WRITE;
+ }
+ private static final int H5FD_LOG_FLAVOR = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FLAVOR 64
+ * }
+ */
+ public static int H5FD_LOG_FLAVOR() {
+ return H5FD_LOG_FLAVOR;
+ }
+ private static final int H5FD_LOG_NUM_READ = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_READ 128
+ * }
+ */
+ public static int H5FD_LOG_NUM_READ() {
+ return H5FD_LOG_NUM_READ;
+ }
+ private static final int H5FD_LOG_NUM_WRITE = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_WRITE 256
+ * }
+ */
+ public static int H5FD_LOG_NUM_WRITE() {
+ return H5FD_LOG_NUM_WRITE;
+ }
+ private static final int H5FD_LOG_NUM_SEEK = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_SEEK 512
+ * }
+ */
+ public static int H5FD_LOG_NUM_SEEK() {
+ return H5FD_LOG_NUM_SEEK;
+ }
+ private static final int H5FD_LOG_NUM_TRUNCATE = (int)1024L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_TRUNCATE 1024
+ * }
+ */
+ public static int H5FD_LOG_NUM_TRUNCATE() {
+ return H5FD_LOG_NUM_TRUNCATE;
+ }
+ private static final int H5FD_LOG_TIME_OPEN = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_OPEN 2048
+ * }
+ */
+ public static int H5FD_LOG_TIME_OPEN() {
+ return H5FD_LOG_TIME_OPEN;
+ }
+ private static final int H5FD_LOG_TIME_STAT = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_STAT 4096
+ * }
+ */
+ public static int H5FD_LOG_TIME_STAT() {
+ return H5FD_LOG_TIME_STAT;
+ }
+ private static final int H5FD_LOG_TIME_READ = (int)8192L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_READ 8192
+ * }
+ */
+ public static int H5FD_LOG_TIME_READ() {
+ return H5FD_LOG_TIME_READ;
+ }
+ private static final int H5FD_LOG_TIME_WRITE = (int)16384L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_WRITE 16384
+ * }
+ */
+ public static int H5FD_LOG_TIME_WRITE() {
+ return H5FD_LOG_TIME_WRITE;
+ }
+ private static final int H5FD_LOG_TIME_SEEK = (int)32768L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_SEEK 32768
+ * }
+ */
+ public static int H5FD_LOG_TIME_SEEK() {
+ return H5FD_LOG_TIME_SEEK;
+ }
+ private static final int H5FD_LOG_TIME_TRUNCATE = (int)65536L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_TRUNCATE 65536
+ * }
+ */
+ public static int H5FD_LOG_TIME_TRUNCATE() {
+ return H5FD_LOG_TIME_TRUNCATE;
+ }
+ private static final int H5FD_LOG_TIME_CLOSE = (int)131072L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_CLOSE 131072
+ * }
+ */
+ public static int H5FD_LOG_TIME_CLOSE() {
+ return H5FD_LOG_TIME_CLOSE;
+ }
+ private static final int H5FD_LOG_ALLOC = (int)262144L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_ALLOC 262144
+ * }
+ */
+ public static int H5FD_LOG_ALLOC() {
+ return H5FD_LOG_ALLOC;
+ }
+ private static final int H5FD_LOG_FREE = (int)524288L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FREE 524288
+ * }
+ */
+ public static int H5FD_LOG_FREE() {
+ return H5FD_LOG_FREE;
+ }
+ private static final int H5D_ONE_LINK_CHUNK_IO_THRESHOLD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_ONE_LINK_CHUNK_IO_THRESHOLD 0
+ * }
+ */
+ public static int H5D_ONE_LINK_CHUNK_IO_THRESHOLD() {
+ return H5D_ONE_LINK_CHUNK_IO_THRESHOLD;
+ }
+ private static final int H5D_MULTI_CHUNK_IO_COL_THRESHOLD = (int)60L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_MULTI_CHUNK_IO_COL_THRESHOLD 60
+ * }
+ */
+ public static int H5D_MULTI_CHUNK_IO_COL_THRESHOLD() {
+ return H5D_MULTI_CHUNK_IO_COL_THRESHOLD;
+ }
+ private static final int H5FD_ONION_FAPL_INFO_VERSION_CURR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_VERSION_CURR 1
+ * }
+ */
+ public static int H5FD_ONION_FAPL_INFO_VERSION_CURR() {
+ return H5FD_ONION_FAPL_INFO_VERSION_CURR;
+ }
+ private static final int H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN 255
+ * }
+ */
+ public static int H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN() {
+ return H5FD_ONION_FAPL_INFO_COMMENT_MAX_LEN;
+ }
+ private static final int H5FD_CURR_ROS3_FAPL_T_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CURR_ROS3_FAPL_T_VERSION 1
+ * }
+ */
+ public static int H5FD_CURR_ROS3_FAPL_T_VERSION() {
+ return H5FD_CURR_ROS3_FAPL_T_VERSION;
+ }
+ private static final int H5FD_ROS3_MAX_REGION_LEN = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3_MAX_REGION_LEN 32
+ * }
+ */
+ public static int H5FD_ROS3_MAX_REGION_LEN() {
+ return H5FD_ROS3_MAX_REGION_LEN;
+ }
+ private static final int H5FD_ROS3_MAX_SECRET_ID_LEN = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3_MAX_SECRET_ID_LEN 128
+ * }
+ */
+ public static int H5FD_ROS3_MAX_SECRET_ID_LEN() {
+ return H5FD_ROS3_MAX_SECRET_ID_LEN;
+ }
+ private static final int H5FD_ROS3_MAX_SECRET_KEY_LEN = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3_MAX_SECRET_KEY_LEN 128
+ * }
+ */
+ public static int H5FD_ROS3_MAX_SECRET_KEY_LEN() {
+ return H5FD_ROS3_MAX_SECRET_KEY_LEN;
+ }
+ private static final int H5FD_ROS3_MAX_SECRET_TOK_LEN = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3_MAX_SECRET_TOK_LEN 4096
+ * }
+ */
+ public static int H5FD_ROS3_MAX_SECRET_TOK_LEN() {
+ return H5FD_ROS3_MAX_SECRET_TOK_LEN;
+ }
+ private static final int H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION 1
+ * }
+ */
+ public static int H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION() {
+ return H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION;
+ }
+ private static final int H5FD_SPLITTER_PATH_MAX = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SPLITTER_PATH_MAX 4096
+ * }
+ */
+ public static int H5FD_SPLITTER_PATH_MAX() {
+ return H5FD_SPLITTER_PATH_MAX;
+ }
+ private static final int H5FD_SPLITTER_MAGIC = (int)730949760L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SPLITTER_MAGIC 730949760
+ * }
+ */
+ public static int H5FD_SPLITTER_MAGIC() {
+ return H5FD_SPLITTER_MAGIC;
+ }
+ private static final int H5VL_PASSTHRU_VALUE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_PASSTHRU_VALUE 1
+ * }
+ */
+ public static int H5VL_PASSTHRU_VALUE() {
+ return H5VL_PASSTHRU_VALUE;
+ }
+ private static final int H5VL_PASSTHRU_VERSION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_PASSTHRU_VERSION 0
+ * }
+ */
+ public static int H5VL_PASSTHRU_VERSION() {
+ return H5VL_PASSTHRU_VERSION;
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef signed char __int8_t
+ * }
+ */
+ public static final OfByte __int8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char __uint8_t
+ * }
+ */
+ public static final OfByte __uint8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef short __int16_t
+ * }
+ */
+ public static final OfShort __int16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short __uint16_t
+ * }
+ */
+ public static final OfShort __uint16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef int __int32_t
+ * }
+ */
+ public static final OfInt __int32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __uint32_t
+ * }
+ */
+ public static final OfInt __uint32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long long __int64_t
+ * }
+ */
+ public static final OfLong __int64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long __uint64_t
+ * }
+ */
+ public static final OfLong __uint64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __darwin_intptr_t
+ * }
+ */
+ public static final OfLong __darwin_intptr_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __darwin_natural_t
+ * }
+ */
+ public static final OfInt __darwin_natural_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int __darwin_ct_rune_t
+ * }
+ */
+ public static final OfInt __darwin_ct_rune_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long __darwin_ptrdiff_t
+ * }
+ */
+ public static final OfLong __darwin_ptrdiff_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __darwin_size_t
+ * }
+ */
+ public static final OfLong __darwin_size_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int __darwin_wchar_t
+ * }
+ */
+ public static final OfInt __darwin_wchar_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_wchar_t __darwin_rune_t
+ * }
+ */
+ public static final OfInt __darwin_rune_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int __darwin_wint_t
+ * }
+ */
+ public static final OfInt __darwin_wint_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __darwin_clock_t
+ * }
+ */
+ public static final OfLong __darwin_clock_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t __darwin_socklen_t
+ * }
+ */
+ public static final OfInt __darwin_socklen_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long __darwin_ssize_t
+ * }
+ */
+ public static final OfLong __darwin_ssize_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long __darwin_time_t
+ * }
+ */
+ public static final OfLong __darwin_time_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __int64_t __darwin_blkcnt_t
+ * }
+ */
+ public static final OfLong __darwin_blkcnt_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __int32_t __darwin_blksize_t
+ * }
+ */
+ public static final OfInt __darwin_blksize_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int32_t __darwin_dev_t
+ * }
+ */
+ public static final OfInt __darwin_dev_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __darwin_fsblkcnt_t
+ * }
+ */
+ public static final OfInt __darwin_fsblkcnt_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int __darwin_fsfilcnt_t
+ * }
+ */
+ public static final OfInt __darwin_fsfilcnt_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t __darwin_gid_t
+ * }
+ */
+ public static final OfInt __darwin_gid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t __darwin_id_t
+ * }
+ */
+ public static final OfInt __darwin_id_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint64_t __darwin_ino64_t
+ * }
+ */
+ public static final OfLong __darwin_ino64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_ino64_t __darwin_ino_t
+ * }
+ */
+ public static final OfLong __darwin_ino_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_natural_t __darwin_mach_port_name_t
+ * }
+ */
+ public static final OfInt __darwin_mach_port_name_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_mach_port_name_t __darwin_mach_port_t
+ * }
+ */
+ public static final OfInt __darwin_mach_port_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint16_t __darwin_mode_t
+ * }
+ */
+ public static final OfShort __darwin_mode_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int64_t __darwin_off_t
+ * }
+ */
+ public static final OfLong __darwin_off_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __int32_t __darwin_pid_t
+ * }
+ */
+ public static final OfInt __darwin_pid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t __darwin_sigset_t
+ * }
+ */
+ public static final OfInt __darwin_sigset_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __int32_t __darwin_suseconds_t
+ * }
+ */
+ public static final OfInt __darwin_suseconds_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t __darwin_uid_t
+ * }
+ */
+ public static final OfInt __darwin_uid_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t __darwin_useconds_t
+ * }
+ */
+ public static final OfInt __darwin_useconds_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long __darwin_pthread_key_t
+ * }
+ */
+ public static final OfLong __darwin_pthread_key_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef struct _opaque_pthread_t {
+ * long __sig;
+ * struct __darwin_pthread_handler_rec *__cleanup_stack;
+ * char __opaque[8176];
+ * } *__darwin_pthread_t
+ * }
+ */
+ public static final AddressLayout __darwin_pthread_t = hdf5_h.C_POINTER;
+ /**
+ * {@snippet lang=c :
+ * typedef int __darwin_nl_item
+ * }
+ */
+ public static final OfInt __darwin_nl_item = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int __darwin_wctrans_t
+ * }
+ */
+ public static final OfInt __darwin_wctrans_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __uint32_t __darwin_wctype_t
+ * }
+ */
+ public static final OfInt __darwin_wctype_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_wchar_t wchar_t
+ * }
+ */
+ public static final OfInt wchar_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef signed char int8_t
+ * }
+ */
+ public static final OfByte int8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef short int16_t
+ * }
+ */
+ public static final OfShort int16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef int int32_t
+ * }
+ */
+ public static final OfInt int32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef long long int64_t
+ * }
+ */
+ public static final OfLong int64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char uint8_t
+ * }
+ */
+ public static final OfByte uint8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short uint16_t
+ * }
+ */
+ public static final OfShort uint16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int uint32_t
+ * }
+ */
+ public static final OfInt uint32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long uint64_t
+ * }
+ */
+ public static final OfLong uint64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int8_t int_least8_t
+ * }
+ */
+ public static final OfByte int_least8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef int16_t int_least16_t
+ * }
+ */
+ public static final OfShort int_least16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef int32_t int_least32_t
+ * }
+ */
+ public static final OfInt int_least32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t int_least64_t
+ * }
+ */
+ public static final OfLong int_least64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef uint8_t uint_least8_t
+ * }
+ */
+ public static final OfByte uint_least8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef uint16_t uint_least16_t
+ * }
+ */
+ public static final OfShort uint_least16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef uint32_t uint_least32_t
+ * }
+ */
+ public static final OfInt uint_least32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef uint64_t uint_least64_t
+ * }
+ */
+ public static final OfLong uint_least64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int8_t int_fast8_t
+ * }
+ */
+ public static final OfByte int_fast8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef int16_t int_fast16_t
+ * }
+ */
+ public static final OfShort int_fast16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef int32_t int_fast32_t
+ * }
+ */
+ public static final OfInt int_fast32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t int_fast64_t
+ * }
+ */
+ public static final OfLong int_fast64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef uint8_t uint_fast8_t
+ * }
+ */
+ public static final OfByte uint_fast8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef uint16_t uint_fast16_t
+ * }
+ */
+ public static final OfShort uint_fast16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef uint32_t uint_fast32_t
+ * }
+ */
+ public static final OfInt uint_fast32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef uint64_t uint_fast64_t
+ * }
+ */
+ public static final OfLong uint_fast64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef __darwin_intptr_t intptr_t
+ * }
+ */
+ public static final OfLong intptr_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long uintptr_t
+ * }
+ */
+ public static final OfLong uintptr_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef long intmax_t
+ * }
+ */
+ public static final OfLong intmax_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long uintmax_t
+ * }
+ */
+ public static final OfLong uintmax_t = hdf5_h.C_LONG;
+
+ private static class imaxabs {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("imaxabs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern intmax_t imaxabs(intmax_t j)
+ * }
+ */
+ public static FunctionDescriptor imaxabs$descriptor() {
+ return imaxabs.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern intmax_t imaxabs(intmax_t j)
+ * }
+ */
+ public static MethodHandle imaxabs$handle() {
+ return imaxabs.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern intmax_t imaxabs(intmax_t j)
+ * }
+ */
+ public static MemorySegment imaxabs$address() {
+ return imaxabs.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern intmax_t imaxabs(intmax_t j)
+ * }
+ */
+ public static long imaxabs(long j) {
+ var mh$ = imaxabs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("imaxabs", j);
+ }
+ return (long)mh$.invokeExact(j);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class imaxdiv {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ imaxdiv_t.layout(),
+ hdf5_h.C_LONG,
+ hdf5_h.C_LONG
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("imaxdiv");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denom)
+ * }
+ */
+ public static FunctionDescriptor imaxdiv$descriptor() {
+ return imaxdiv.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denom)
+ * }
+ */
+ public static MethodHandle imaxdiv$handle() {
+ return imaxdiv.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denom)
+ * }
+ */
+ public static MemorySegment imaxdiv$address() {
+ return imaxdiv.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern imaxdiv_t imaxdiv(intmax_t __numer, intmax_t __denom)
+ * }
+ */
+ public static MemorySegment imaxdiv(SegmentAllocator allocator, long __numer, long __denom) {
+ var mh$ = imaxdiv.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("imaxdiv", allocator, __numer, __denom);
+ }
+ return (MemorySegment)mh$.invokeExact(allocator, __numer, __denom);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class strtoimax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("strtoimax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern intmax_t strtoimax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static FunctionDescriptor strtoimax$descriptor() {
+ return strtoimax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern intmax_t strtoimax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static MethodHandle strtoimax$handle() {
+ return strtoimax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern intmax_t strtoimax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static MemorySegment strtoimax$address() {
+ return strtoimax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern intmax_t strtoimax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static long strtoimax(MemorySegment __nptr, MemorySegment __endptr, int __base) {
+ var mh$ = strtoimax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("strtoimax", __nptr, __endptr, __base);
+ }
+ return (long)mh$.invokeExact(__nptr, __endptr, __base);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class strtoumax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("strtoumax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern uintmax_t strtoumax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static FunctionDescriptor strtoumax$descriptor() {
+ return strtoumax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern uintmax_t strtoumax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static MethodHandle strtoumax$handle() {
+ return strtoumax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern uintmax_t strtoumax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static MemorySegment strtoumax$address() {
+ return strtoumax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern uintmax_t strtoumax(const char *restrict __nptr, char **restrict __endptr, int __base)
+ * }
+ */
+ public static long strtoumax(MemorySegment __nptr, MemorySegment __endptr, int __base) {
+ var mh$ = strtoumax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("strtoumax", __nptr, __endptr, __base);
+ }
+ return (long)mh$.invokeExact(__nptr, __endptr, __base);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class wcstoimax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("wcstoimax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern intmax_t wcstoimax(const wchar_t *restrict __nptr, wchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static FunctionDescriptor wcstoimax$descriptor() {
+ return wcstoimax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern intmax_t wcstoimax(const wchar_t *restrict __nptr, wchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static MethodHandle wcstoimax$handle() {
+ return wcstoimax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern intmax_t wcstoimax(const wchar_t *restrict __nptr, wchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static MemorySegment wcstoimax$address() {
+ return wcstoimax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern intmax_t wcstoimax(const wchar_t *restrict __nptr, wchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static long wcstoimax(MemorySegment __nptr, MemorySegment __endptr, int __base) {
+ var mh$ = wcstoimax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("wcstoimax", __nptr, __endptr, __base);
+ }
+ return (long)mh$.invokeExact(__nptr, __endptr, __base);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class wcstoumax {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER,
+ hdf5_h.C_INT
+ );
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("wcstoumax");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * extern uintmax_t wcstoumax(const wchar_t *restrict __nptr, wchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static FunctionDescriptor wcstoumax$descriptor() {
+ return wcstoumax.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * extern uintmax_t wcstoumax(const wchar_t *restrict __nptr, wchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static MethodHandle wcstoumax$handle() {
+ return wcstoumax.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * extern uintmax_t wcstoumax(const wchar_t *restrict __nptr, wchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static MemorySegment wcstoumax$address() {
+ return wcstoumax.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * extern uintmax_t wcstoumax(const wchar_t *restrict __nptr, wchar_t **restrict __endptr, int __base)
+ * }
+ */
+ public static long wcstoumax(MemorySegment __nptr, MemorySegment __endptr, int __base) {
+ var mh$ = wcstoumax.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("wcstoumax", __nptr, __endptr, __base);
+ }
+ return (long)mh$.invokeExact(__nptr, __endptr, __base);
+ } catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef long ptrdiff_t
+ * }
+ */
+ public static final OfLong ptrdiff_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long size_t
+ * }
+ */
+ public static final OfLong size_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long rsize_t
+ * }
+ */
+ public static final OfLong rsize_t = hdf5_h.C_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned char u_int8_t
+ * }
+ */
+ public static final OfByte u_int8_t = hdf5_h.C_CHAR;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned short u_int16_t
+ * }
+ */
+ public static final OfShort u_int16_t = hdf5_h.C_SHORT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned int u_int32_t
+ * }
+ */
+ public static final OfInt u_int32_t = hdf5_h.C_INT;
+ /**
+ * {@snippet lang=c :
+ * typedef unsigned long long u_int64_t
+ * }
+ */
+ public static final OfLong u_int64_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef int64_t register_t
+ * }
+ */
+ public static final OfLong register_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef u_int64_t user_addr_t
+ * }
+ */
+ public static final OfLong user_addr_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef u_int64_t user_size_t
+ * }
+ */
+ public static final OfLong user_size_t = hdf5_h.C_LONG_LONG;
+}
diff --git a/java/jsrc/features/ros3/windows/H5FD_ros3_fapl_t.java b/java/jsrc/features/ros3/windows/H5FD_ros3_fapl_t.java
new file mode 100644
index 00000000000..c16dd432a9f
--- /dev/null
+++ b/java/jsrc/features/ros3/windows/H5FD_ros3_fapl_t.java
@@ -0,0 +1,402 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+/**
+ * {@snippet lang=c :
+ * struct H5FD_ros3_fapl_t {
+ * int32_t version;
+ * bool authenticate;
+ * char aws_region[33];
+ * char secret_id[129];
+ * char secret_key[129];
+ * }
+ * }
+ */
+public class H5FD_ros3_fapl_t {
+
+ H5FD_ros3_fapl_t()
+ {
+ // Should not be called directly
+ }
+
+ private static final GroupLayout $LAYOUT =
+ MemoryLayout
+ .structLayout(hdf5_h.C_INT.withName("version"), hdf5_h.C_BOOL.withName("authenticate"),
+ MemoryLayout.sequenceLayout(33, hdf5_h.C_CHAR).withName("aws_region"),
+ MemoryLayout.sequenceLayout(129, hdf5_h.C_CHAR).withName("secret_id"),
+ MemoryLayout.sequenceLayout(129, hdf5_h.C_CHAR).withName("secret_key"))
+ .withName("H5FD_ros3_fapl_t");
+
+ /**
+ * The layout of this struct
+ */
+ public static final GroupLayout layout() { return $LAYOUT; }
+
+ private static final OfInt version$LAYOUT = (OfInt)$LAYOUT.select(groupElement("version"));
+
+ /**
+ * Layout for field:
+ * {@snippet lang=c :
+ * int32_t version
+ * }
+ */
+ public static final OfInt version$layout() { return version$LAYOUT; }
+
+ private static final long version$OFFSET = 0;
+
+ /**
+ * Offset for field:
+ * {@snippet lang=c :
+ * int32_t version
+ * }
+ */
+ public static final long version$offset() { return version$OFFSET; }
+
+ /**
+ * Getter for field:
+ * {@snippet lang=c :
+ * int32_t version
+ * }
+ */
+ public static int version(MemorySegment struct) { return struct.get(version$LAYOUT, version$OFFSET); }
+
+ /**
+ * Setter for field:
+ * {@snippet lang=c :
+ * int32_t version
+ * }
+ */
+ public static void version(MemorySegment struct, int fieldValue)
+ {
+ struct.set(version$LAYOUT, version$OFFSET, fieldValue);
+ }
+
+ private static final OfBoolean authenticate$LAYOUT =
+ (OfBoolean)$LAYOUT.select(groupElement("authenticate"));
+
+ /**
+ * Layout for field:
+ * {@snippet lang=c :
+ * bool authenticate
+ * }
+ */
+ public static final OfBoolean authenticate$layout() { return authenticate$LAYOUT; }
+
+ private static final long authenticate$OFFSET = 4;
+
+ /**
+ * Offset for field:
+ * {@snippet lang=c :
+ * bool authenticate
+ * }
+ */
+ public static final long authenticate$offset() { return authenticate$OFFSET; }
+
+ /**
+ * Getter for field:
+ * {@snippet lang=c :
+ * bool authenticate
+ * }
+ */
+ public static boolean authenticate(MemorySegment struct)
+ {
+ return struct.get(authenticate$LAYOUT, authenticate$OFFSET);
+ }
+
+ /**
+ * Setter for field:
+ * {@snippet lang=c :
+ * bool authenticate
+ * }
+ */
+ public static void authenticate(MemorySegment struct, boolean fieldValue)
+ {
+ struct.set(authenticate$LAYOUT, authenticate$OFFSET, fieldValue);
+ }
+
+ private static final SequenceLayout aws_region$LAYOUT =
+ (SequenceLayout)$LAYOUT.select(groupElement("aws_region"));
+
+ /**
+ * Layout for field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static final SequenceLayout aws_region$layout() { return aws_region$LAYOUT; }
+
+ private static final long aws_region$OFFSET = 5;
+
+ /**
+ * Offset for field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static final long aws_region$offset() { return aws_region$OFFSET; }
+
+ /**
+ * Getter for field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static MemorySegment aws_region(MemorySegment struct)
+ {
+ return struct.asSlice(aws_region$OFFSET, aws_region$LAYOUT.byteSize());
+ }
+
+ /**
+ * Setter for field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static void aws_region(MemorySegment struct, MemorySegment fieldValue)
+ {
+ MemorySegment.copy(fieldValue, 0L, struct, aws_region$OFFSET, aws_region$LAYOUT.byteSize());
+ }
+
+ private static long[] aws_region$DIMS = {33};
+
+ /**
+ * Dimensions for array field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static long[] aws_region$dimensions() { return aws_region$DIMS; }
+ private static final VarHandle aws_region$ELEM_HANDLE = aws_region$LAYOUT.varHandle(sequenceElement());
+
+ /**
+ * Indexed getter for field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static byte aws_region(MemorySegment struct, long index0)
+ {
+ return (byte)aws_region$ELEM_HANDLE.get(struct, 0L, index0);
+ }
+
+ /**
+ * Indexed setter for field:
+ * {@snippet lang=c :
+ * char aws_region[33]
+ * }
+ */
+ public static void aws_region(MemorySegment struct, long index0, byte fieldValue)
+ {
+ aws_region$ELEM_HANDLE.set(struct, 0L, index0, fieldValue);
+ }
+
+ private static final SequenceLayout secret_id$LAYOUT =
+ (SequenceLayout)$LAYOUT.select(groupElement("secret_id"));
+
+ /**
+ * Layout for field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static final SequenceLayout secret_id$layout() { return secret_id$LAYOUT; }
+
+ private static final long secret_id$OFFSET = 38;
+
+ /**
+ * Offset for field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static final long secret_id$offset() { return secret_id$OFFSET; }
+
+ /**
+ * Getter for field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static MemorySegment secret_id(MemorySegment struct)
+ {
+ return struct.asSlice(secret_id$OFFSET, secret_id$LAYOUT.byteSize());
+ }
+
+ /**
+ * Setter for field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static void secret_id(MemorySegment struct, MemorySegment fieldValue)
+ {
+ MemorySegment.copy(fieldValue, 0L, struct, secret_id$OFFSET, secret_id$LAYOUT.byteSize());
+ }
+
+ private static long[] secret_id$DIMS = {129};
+
+ /**
+ * Dimensions for array field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static long[] secret_id$dimensions() { return secret_id$DIMS; }
+ private static final VarHandle secret_id$ELEM_HANDLE = secret_id$LAYOUT.varHandle(sequenceElement());
+
+ /**
+ * Indexed getter for field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static byte secret_id(MemorySegment struct, long index0)
+ {
+ return (byte)secret_id$ELEM_HANDLE.get(struct, 0L, index0);
+ }
+
+ /**
+ * Indexed setter for field:
+ * {@snippet lang=c :
+ * char secret_id[129]
+ * }
+ */
+ public static void secret_id(MemorySegment struct, long index0, byte fieldValue)
+ {
+ secret_id$ELEM_HANDLE.set(struct, 0L, index0, fieldValue);
+ }
+
+ private static final SequenceLayout secret_key$LAYOUT =
+ (SequenceLayout)$LAYOUT.select(groupElement("secret_key"));
+
+ /**
+ * Layout for field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static final SequenceLayout secret_key$layout() { return secret_key$LAYOUT; }
+
+ private static final long secret_key$OFFSET = 167;
+
+ /**
+ * Offset for field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static final long secret_key$offset() { return secret_key$OFFSET; }
+
+ /**
+ * Getter for field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static MemorySegment secret_key(MemorySegment struct)
+ {
+ return struct.asSlice(secret_key$OFFSET, secret_key$LAYOUT.byteSize());
+ }
+
+ /**
+ * Setter for field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static void secret_key(MemorySegment struct, MemorySegment fieldValue)
+ {
+ MemorySegment.copy(fieldValue, 0L, struct, secret_key$OFFSET, secret_key$LAYOUT.byteSize());
+ }
+
+ private static long[] secret_key$DIMS = {129};
+
+ /**
+ * Dimensions for array field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static long[] secret_key$dimensions() { return secret_key$DIMS; }
+ private static final VarHandle secret_key$ELEM_HANDLE = secret_key$LAYOUT.varHandle(sequenceElement());
+
+ /**
+ * Indexed getter for field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static byte secret_key(MemorySegment struct, long index0)
+ {
+ return (byte)secret_key$ELEM_HANDLE.get(struct, 0L, index0);
+ }
+
+ /**
+ * Indexed setter for field:
+ * {@snippet lang=c :
+ * char secret_key[129]
+ * }
+ */
+ public static void secret_key(MemorySegment struct, long index0, byte fieldValue)
+ {
+ secret_key$ELEM_HANDLE.set(struct, 0L, index0, fieldValue);
+ }
+
+ /**
+ * Obtains a slice of {@code arrayParam} which selects the array element at {@code index}.
+ * The returned segment has address {@code arrayParam.address() + index * layout().byteSize()}
+ */
+ public static MemorySegment asSlice(MemorySegment array, long index)
+ {
+ return array.asSlice(layout().byteSize() * index);
+ }
+
+ /**
+ * The size (in bytes) of this struct
+ */
+ public static long sizeof() { return layout().byteSize(); }
+
+ /**
+ * Allocate a segment of size {@code layout().byteSize()} using {@code allocator}
+ */
+ public static MemorySegment allocate(SegmentAllocator allocator) { return allocator.allocate(layout()); }
+
+ /**
+ * Allocate an array of size {@code elementCount} using {@code allocator}.
+ * The returned segment has size {@code elementCount * layout().byteSize()}.
+ */
+ public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator)
+ {
+ return allocator.allocate(MemoryLayout.sequenceLayout(elementCount, layout()));
+ }
+
+ /**
+ * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any).
+ * The returned segment has size {@code layout().byteSize()}
+ */
+ public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer cleanup)
+ {
+ return reinterpret(addr, 1, arena, cleanup);
+ }
+
+ /**
+ * Reinterprets {@code addr} using target {@code arena} and {@code cleanupAction} (if any).
+ * The returned segment has size {@code elementCount * layout().byteSize()}
+ */
+ public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena,
+ Consumer cleanup)
+ {
+ return addr.reinterpret(layout().byteSize() * elementCount, arena, cleanup);
+ }
+}
diff --git a/java/jsrc/features/ros3/windows/hdf5_h.java b/java/jsrc/features/ros3/windows/hdf5_h.java
new file mode 100644
index 00000000000..29b2bc344fc
--- /dev/null
+++ b/java/jsrc/features/ros3/windows/hdf5_h.java
@@ -0,0 +1,20707 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h extends hdf5_h_1 {
+
+ hdf5_h()
+ {
+ // Should not be called directly
+ }
+
+ private static class H5Pset_fclose_degree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fclose_degree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fclose_degree$descriptor() { return H5Pset_fclose_degree.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static MethodHandle H5Pset_fclose_degree$handle() { return H5Pset_fclose_degree.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static MemorySegment H5Pset_fclose_degree$address() { return H5Pset_fclose_degree.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fclose_degree(hid_t fapl_id, H5F_close_degree_t degree)
+ * }
+ */
+ public static int H5Pset_fclose_degree(long fapl_id, int degree)
+ {
+ var mh$ = H5Pset_fclose_degree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fclose_degree", fapl_id, degree);
+ }
+ return (int)mh$.invokeExact(fapl_id, degree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_image {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_image");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_image$descriptor() { return H5Pset_file_image.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MethodHandle H5Pset_file_image$handle() { return H5Pset_file_image.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MemorySegment H5Pset_file_image$address() { return H5Pset_file_image.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image(hid_t fapl_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static int H5Pset_file_image(long fapl_id, MemorySegment buf_ptr, long buf_len)
+ {
+ var mh$ = H5Pset_file_image.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_image", fapl_id, buf_ptr, buf_len);
+ }
+ return (int)mh$.invokeExact(fapl_id, buf_ptr, buf_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_image_callbacks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_image_callbacks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_image_callbacks$descriptor()
+ {
+ return H5Pset_file_image_callbacks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_file_image_callbacks$handle()
+ {
+ return H5Pset_file_image_callbacks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_file_image_callbacks$address()
+ {
+ return H5Pset_file_image_callbacks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_image_callbacks(hid_t fapl_id, H5FD_file_image_callbacks_t *callbacks_ptr)
+ * }
+ */
+ public static int H5Pset_file_image_callbacks(long fapl_id, MemorySegment callbacks_ptr)
+ {
+ var mh$ = H5Pset_file_image_callbacks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_image_callbacks", fapl_id, callbacks_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, callbacks_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_locking {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_locking");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_locking$descriptor() { return H5Pset_file_locking.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static MethodHandle H5Pset_file_locking$handle() { return H5Pset_file_locking.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static MemorySegment H5Pset_file_locking$address() { return H5Pset_file_locking.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_locking(hid_t fapl_id, bool use_file_locking, bool ignore_when_disabled)
+ * }
+ */
+ public static int H5Pset_file_locking(long fapl_id, boolean use_file_locking,
+ boolean ignore_when_disabled)
+ {
+ var mh$ = H5Pset_file_locking.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_locking", fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ return (int)mh$.invokeExact(fapl_id, use_file_locking, ignore_when_disabled);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_gc_references {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_gc_references");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_gc_references$descriptor() { return H5Pset_gc_references.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static MethodHandle H5Pset_gc_references$handle() { return H5Pset_gc_references.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static MemorySegment H5Pset_gc_references$address() { return H5Pset_gc_references.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_gc_references(hid_t fapl_id, unsigned int gc_ref)
+ * }
+ */
+ public static int H5Pset_gc_references(long fapl_id, int gc_ref)
+ {
+ var mh$ = H5Pset_gc_references.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_gc_references", fapl_id, gc_ref);
+ }
+ return (int)mh$.invokeExact(fapl_id, gc_ref);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_libver_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_libver_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_libver_bounds$descriptor() { return H5Pset_libver_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MethodHandle H5Pset_libver_bounds$handle() { return H5Pset_libver_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MemorySegment H5Pset_libver_bounds$address() { return H5Pset_libver_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_libver_bounds(hid_t plist_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static int H5Pset_libver_bounds(long plist_id, int low, int high)
+ {
+ var mh$ = H5Pset_libver_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_libver_bounds", plist_id, low, high);
+ }
+ return (int)mh$.invokeExact(plist_id, low, high);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mdc_config$descriptor() { return H5Pset_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_mdc_config$handle() { return H5Pset_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_mdc_config$address() { return H5Pset_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_config(hid_t plist_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pset_mdc_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pset_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mdc_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mdc_log_options {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL, hdf5_h.C_POINTER, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mdc_log_options");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mdc_log_options$descriptor()
+ {
+ return H5Pset_mdc_log_options.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static MethodHandle H5Pset_mdc_log_options$handle() { return H5Pset_mdc_log_options.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static MemorySegment H5Pset_mdc_log_options$address() { return H5Pset_mdc_log_options.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_log_options(hid_t plist_id, bool is_enabled, const char *location, bool
+ * start_on_access)
+ * }
+ */
+ public static int H5Pset_mdc_log_options(long plist_id, boolean is_enabled, MemorySegment location,
+ boolean start_on_access)
+ {
+ var mh$ = H5Pset_mdc_log_options.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mdc_log_options", plist_id, is_enabled, location, start_on_access);
+ }
+ return (int)mh$.invokeExact(plist_id, is_enabled, location, start_on_access);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_meta_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_meta_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_meta_block_size$descriptor()
+ {
+ return H5Pset_meta_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_meta_block_size$handle() { return H5Pset_meta_block_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_meta_block_size$address() { return H5Pset_meta_block_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_meta_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static int H5Pset_meta_block_size(long fapl_id, long size)
+ {
+ var mh$ = H5Pset_meta_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_meta_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_metadata_read_attempts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_metadata_read_attempts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_metadata_read_attempts$descriptor()
+ {
+ return H5Pset_metadata_read_attempts.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static MethodHandle H5Pset_metadata_read_attempts$handle()
+ {
+ return H5Pset_metadata_read_attempts.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static MemorySegment H5Pset_metadata_read_attempts$address()
+ {
+ return H5Pset_metadata_read_attempts.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_metadata_read_attempts(hid_t plist_id, unsigned int attempts)
+ * }
+ */
+ public static int H5Pset_metadata_read_attempts(long plist_id, int attempts)
+ {
+ var mh$ = H5Pset_metadata_read_attempts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_metadata_read_attempts", plist_id, attempts);
+ }
+ return (int)mh$.invokeExact(plist_id, attempts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_multi_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_multi_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_multi_type$descriptor() { return H5Pset_multi_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static MethodHandle H5Pset_multi_type$handle() { return H5Pset_multi_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static MemorySegment H5Pset_multi_type$address() { return H5Pset_multi_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_multi_type(hid_t fapl_id, H5FD_mem_t type)
+ * }
+ */
+ public static int H5Pset_multi_type(long fapl_id, int type)
+ {
+ var mh$ = H5Pset_multi_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_multi_type", fapl_id, type);
+ }
+ return (int)mh$.invokeExact(fapl_id, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_object_flush_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_object_flush_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_object_flush_cb$descriptor()
+ {
+ return H5Pset_object_flush_cb.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static MethodHandle H5Pset_object_flush_cb$handle() { return H5Pset_object_flush_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static MemorySegment H5Pset_object_flush_cb$address() { return H5Pset_object_flush_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_object_flush_cb(hid_t plist_id, H5F_flush_cb_t func, void *udata)
+ * }
+ */
+ public static int H5Pset_object_flush_cb(long plist_id, MemorySegment func, MemorySegment udata)
+ {
+ var mh$ = H5Pset_object_flush_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_object_flush_cb", plist_id, func, udata);
+ }
+ return (int)mh$.invokeExact(plist_id, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_sieve_buf_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_sieve_buf_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_sieve_buf_size$descriptor() { return H5Pset_sieve_buf_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_sieve_buf_size$handle() { return H5Pset_sieve_buf_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_sieve_buf_size$address() { return H5Pset_sieve_buf_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_sieve_buf_size(hid_t fapl_id, size_t size)
+ * }
+ */
+ public static int H5Pset_sieve_buf_size(long fapl_id, long size)
+ {
+ var mh$ = H5Pset_sieve_buf_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_sieve_buf_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_small_data_block_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_small_data_block_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_small_data_block_size$descriptor()
+ {
+ return H5Pset_small_data_block_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_small_data_block_size$handle()
+ {
+ return H5Pset_small_data_block_size.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_small_data_block_size$address()
+ {
+ return H5Pset_small_data_block_size.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_small_data_block_size(hid_t fapl_id, hsize_t size)
+ * }
+ */
+ public static int H5Pset_small_data_block_size(long fapl_id, long size)
+ {
+ var mh$ = H5Pset_small_data_block_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_small_data_block_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_vol {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_vol");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_vol$descriptor() { return H5Pset_vol.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static MethodHandle H5Pset_vol$handle() { return H5Pset_vol.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static MemorySegment H5Pset_vol$address() { return H5Pset_vol.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_vol(hid_t plist_id, hid_t new_vol_id, const void *new_vol_info)
+ * }
+ */
+ public static int H5Pset_vol(long plist_id, long new_vol_id, MemorySegment new_vol_info)
+ {
+ var mh$ = H5Pset_vol.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_vol", plist_id, new_vol_id, new_vol_info);
+ }
+ return (int)mh$.invokeExact(plist_id, new_vol_id, new_vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vol_cap_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vol_cap_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vol_cap_flags$descriptor() { return H5Pget_vol_cap_flags.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MethodHandle H5Pget_vol_cap_flags$handle() { return H5Pget_vol_cap_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MemorySegment H5Pget_vol_cap_flags$address() { return H5Pget_vol_cap_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vol_cap_flags(hid_t plist_id, uint64_t *cap_flags)
+ * }
+ */
+ public static int H5Pget_vol_cap_flags(long plist_id, MemorySegment cap_flags)
+ {
+ var mh$ = H5Pget_vol_cap_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vol_cap_flags", plist_id, cap_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, cap_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mdc_image_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mdc_image_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mdc_image_config$descriptor()
+ {
+ return H5Pset_mdc_image_config.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_mdc_image_config$handle() { return H5Pset_mdc_image_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_mdc_image_config$address() { return H5Pset_mdc_image_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mdc_image_config(hid_t plist_id, H5AC_cache_image_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pset_mdc_image_config(long plist_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pset_mdc_image_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mdc_image_config", plist_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(plist_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_page_buffer_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_page_buffer_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_page_buffer_size$descriptor()
+ {
+ return H5Pset_page_buffer_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static MethodHandle H5Pset_page_buffer_size$handle() { return H5Pset_page_buffer_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static MemorySegment H5Pset_page_buffer_size$address() { return H5Pset_page_buffer_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_page_buffer_size(hid_t plist_id, size_t buf_size, unsigned int min_meta_per, unsigned int
+ * min_raw_per)
+ * }
+ */
+ public static int H5Pset_page_buffer_size(long plist_id, long buf_size, int min_meta_per, int min_raw_per)
+ {
+ var mh$ = H5Pset_page_buffer_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_page_buffer_size", plist_id, buf_size, min_meta_per, min_raw_per);
+ }
+ return (int)mh$.invokeExact(plist_id, buf_size, min_meta_per, min_raw_per);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_relax_file_integrity_checks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_relax_file_integrity_checks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_relax_file_integrity_checks$descriptor()
+ {
+ return H5Pset_relax_file_integrity_checks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static MethodHandle H5Pset_relax_file_integrity_checks$handle()
+ {
+ return H5Pset_relax_file_integrity_checks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static MemorySegment H5Pset_relax_file_integrity_checks$address()
+ {
+ return H5Pset_relax_file_integrity_checks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_relax_file_integrity_checks(hid_t plist_id, uint64_t flags)
+ * }
+ */
+ public static int H5Pset_relax_file_integrity_checks(long plist_id, long flags)
+ {
+ var mh$ = H5Pset_relax_file_integrity_checks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_relax_file_integrity_checks", plist_id, flags);
+ }
+ return (int)mh$.invokeExact(plist_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_relax_file_integrity_checks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_relax_file_integrity_checks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_relax_file_integrity_checks$descriptor()
+ {
+ return H5Pget_relax_file_integrity_checks.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static MethodHandle H5Pget_relax_file_integrity_checks$handle()
+ {
+ return H5Pget_relax_file_integrity_checks.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static MemorySegment H5Pget_relax_file_integrity_checks$address()
+ {
+ return H5Pget_relax_file_integrity_checks.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_relax_file_integrity_checks(hid_t plist_id, uint64_t *flags)
+ * }
+ */
+ public static int H5Pget_relax_file_integrity_checks(long plist_id, MemorySegment flags)
+ {
+ var mh$ = H5Pget_relax_file_integrity_checks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_relax_file_integrity_checks", plist_id, flags);
+ }
+ return (int)mh$.invokeExact(plist_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pfill_value_defined {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pfill_value_defined");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static FunctionDescriptor H5Pfill_value_defined$descriptor() { return H5Pfill_value_defined.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static MethodHandle H5Pfill_value_defined$handle() { return H5Pfill_value_defined.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static MemorySegment H5Pfill_value_defined$address() { return H5Pfill_value_defined.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pfill_value_defined(hid_t plist, H5D_fill_value_t *status)
+ * }
+ */
+ public static int H5Pfill_value_defined(long plist, MemorySegment status)
+ {
+ var mh$ = H5Pfill_value_defined.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pfill_value_defined", plist, status);
+ }
+ return (int)mh$.invokeExact(plist, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_alloc_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_alloc_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_alloc_time$descriptor() { return H5Pget_alloc_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static MethodHandle H5Pget_alloc_time$handle() { return H5Pget_alloc_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static MemorySegment H5Pget_alloc_time$address() { return H5Pget_alloc_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_alloc_time(hid_t plist_id, H5D_alloc_time_t *alloc_time)
+ * }
+ */
+ public static int H5Pget_alloc_time(long plist_id, MemorySegment alloc_time)
+ {
+ var mh$ = H5Pget_alloc_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_alloc_time", plist_id, alloc_time);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_chunk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_chunk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static FunctionDescriptor H5Pget_chunk$descriptor() { return H5Pget_chunk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static MethodHandle H5Pget_chunk$handle() { return H5Pget_chunk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static MemorySegment H5Pget_chunk$address() { return H5Pget_chunk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_chunk(hid_t plist_id, int max_ndims, hsize_t dim[])
+ * }
+ */
+ public static int H5Pget_chunk(long plist_id, int max_ndims, MemorySegment dim)
+ {
+ var mh$ = H5Pget_chunk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_chunk", plist_id, max_ndims, dim);
+ }
+ return (int)mh$.invokeExact(plist_id, max_ndims, dim);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_chunk_opts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_chunk_opts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_chunk_opts$descriptor() { return H5Pget_chunk_opts.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static MethodHandle H5Pget_chunk_opts$handle() { return H5Pget_chunk_opts.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static MemorySegment H5Pget_chunk_opts$address() { return H5Pget_chunk_opts.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_opts(hid_t plist_id, unsigned int *opts)
+ * }
+ */
+ public static int H5Pget_chunk_opts(long plist_id, MemorySegment opts)
+ {
+ var mh$ = H5Pget_chunk_opts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_chunk_opts", plist_id, opts);
+ }
+ return (int)mh$.invokeExact(plist_id, opts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_dset_no_attrs_hint$descriptor()
+ {
+ return H5Pget_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static MethodHandle H5Pget_dset_no_attrs_hint$handle() { return H5Pget_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static MemorySegment H5Pget_dset_no_attrs_hint$address() { return H5Pget_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_dset_no_attrs_hint(hid_t dcpl_id, bool *minimize)
+ * }
+ */
+ public static int H5Pget_dset_no_attrs_hint(long dcpl_id, MemorySegment minimize)
+ {
+ var mh$ = H5Pget_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_dset_no_attrs_hint", dcpl_id, minimize);
+ }
+ return (int)mh$.invokeExact(dcpl_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_spatial_tree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_spatial_tree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_spatial_tree$descriptor()
+ {
+ return H5Pget_virtual_spatial_tree.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_spatial_tree$handle()
+ {
+ return H5Pget_virtual_spatial_tree.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_spatial_tree$address()
+ {
+ return H5Pget_virtual_spatial_tree.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_spatial_tree(hid_t dcpl_id, bool *use_tree)
+ * }
+ */
+ public static int H5Pget_virtual_spatial_tree(long dcpl_id, MemorySegment use_tree)
+ {
+ var mh$ = H5Pget_virtual_spatial_tree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_spatial_tree", dcpl_id, use_tree);
+ }
+ return (int)mh$.invokeExact(dcpl_id, use_tree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_external {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_external");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_external$descriptor() { return H5Pget_external.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_external$handle() { return H5Pget_external.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_external$address() { return H5Pget_external.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_external(hid_t plist_id, unsigned int idx, size_t name_size, char *name, HDoff_t *offset,
+ * hsize_t *size)
+ * }
+ */
+ public static int H5Pget_external(long plist_id, int idx, long name_size, MemorySegment name,
+ MemorySegment offset, MemorySegment size)
+ {
+ var mh$ = H5Pget_external.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_external", plist_id, idx, name_size, name, offset, size);
+ }
+ return (int)mh$.invokeExact(plist_id, idx, name_size, name, offset, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_external_count {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_external_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_external_count$descriptor() { return H5Pget_external_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_external_count$handle() { return H5Pget_external_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_external_count$address() { return H5Pget_external_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_external_count(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_external_count(long plist_id)
+ {
+ var mh$ = H5Pget_external_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_external_count", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fill_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fill_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fill_time$descriptor() { return H5Pget_fill_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static MethodHandle H5Pget_fill_time$handle() { return H5Pget_fill_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static MemorySegment H5Pget_fill_time$address() { return H5Pget_fill_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_time(hid_t plist_id, H5D_fill_time_t *fill_time)
+ * }
+ */
+ public static int H5Pget_fill_time(long plist_id, MemorySegment fill_time)
+ {
+ var mh$ = H5Pget_fill_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fill_time", plist_id, fill_time);
+ }
+ return (int)mh$.invokeExact(plist_id, fill_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fill_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fill_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fill_value$descriptor() { return H5Pget_fill_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static MethodHandle H5Pget_fill_value$handle() { return H5Pget_fill_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static MemorySegment H5Pget_fill_value$address() { return H5Pget_fill_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fill_value(hid_t plist_id, hid_t type_id, void *value)
+ * }
+ */
+ public static int H5Pget_fill_value(long plist_id, long type_id, MemorySegment value)
+ {
+ var mh$ = H5Pget_fill_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fill_value", plist_id, type_id, value);
+ }
+ return (int)mh$.invokeExact(plist_id, type_id, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_layout {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_layout");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_layout$descriptor() { return H5Pget_layout.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_layout$handle() { return H5Pget_layout.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_layout$address() { return H5Pget_layout.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5D_layout_t H5Pget_layout(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_layout(long plist_id)
+ {
+ var mh$ = H5Pget_layout.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_layout", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_count$descriptor() { return H5Pget_virtual_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_count$handle() { return H5Pget_virtual_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_count$address() { return H5Pget_virtual_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_count(hid_t dcpl_id, size_t *count)
+ * }
+ */
+ public static int H5Pget_virtual_count(long dcpl_id, MemorySegment count)
+ {
+ var mh$ = H5Pget_virtual_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_count", dcpl_id, count);
+ }
+ return (int)mh$.invokeExact(dcpl_id, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_dsetname {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_dsetname");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_dsetname$descriptor()
+ {
+ return H5Pget_virtual_dsetname.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_dsetname$handle() { return H5Pget_virtual_dsetname.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_dsetname$address() { return H5Pget_virtual_dsetname.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_dsetname(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static long H5Pget_virtual_dsetname(long dcpl_id, long index, MemorySegment name, long size)
+ {
+ var mh$ = H5Pget_virtual_dsetname.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_dsetname", dcpl_id, index, name, size);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_filename {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_filename");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_filename$descriptor()
+ {
+ return H5Pget_virtual_filename.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_filename$handle() { return H5Pget_virtual_filename.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_filename$address() { return H5Pget_virtual_filename.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_filename(hid_t dcpl_id, size_t index, char *name, size_t size)
+ * }
+ */
+ public static long H5Pget_virtual_filename(long dcpl_id, long index, MemorySegment name, long size)
+ {
+ var mh$ = H5Pget_virtual_filename.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_filename", dcpl_id, index, name, size);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_srcspace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_srcspace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_srcspace$descriptor()
+ {
+ return H5Pget_virtual_srcspace.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_srcspace$handle() { return H5Pget_virtual_srcspace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_srcspace$address() { return H5Pget_virtual_srcspace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_srcspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static long H5Pget_virtual_srcspace(long dcpl_id, long index)
+ {
+ var mh$ = H5Pget_virtual_srcspace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_srcspace", dcpl_id, index);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_vspace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_vspace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_vspace$descriptor() { return H5Pget_virtual_vspace.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_vspace$handle() { return H5Pget_virtual_vspace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_vspace$address() { return H5Pget_virtual_vspace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_virtual_vspace(hid_t dcpl_id, size_t index)
+ * }
+ */
+ public static long H5Pget_virtual_vspace(long dcpl_id, long index)
+ {
+ var mh$ = H5Pget_virtual_vspace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_vspace", dcpl_id, index);
+ }
+ return (long)mh$.invokeExact(dcpl_id, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_alloc_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_alloc_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_alloc_time$descriptor() { return H5Pset_alloc_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static MethodHandle H5Pset_alloc_time$handle() { return H5Pset_alloc_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static MemorySegment H5Pset_alloc_time$address() { return H5Pset_alloc_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_alloc_time(hid_t plist_id, H5D_alloc_time_t alloc_time)
+ * }
+ */
+ public static int H5Pset_alloc_time(long plist_id, int alloc_time)
+ {
+ var mh$ = H5Pset_alloc_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_alloc_time", plist_id, alloc_time);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_chunk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_chunk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static FunctionDescriptor H5Pset_chunk$descriptor() { return H5Pset_chunk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MethodHandle H5Pset_chunk$handle() { return H5Pset_chunk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static MemorySegment H5Pset_chunk$address() { return H5Pset_chunk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk(hid_t plist_id, int ndims, const hsize_t dim[])
+ * }
+ */
+ public static int H5Pset_chunk(long plist_id, int ndims, MemorySegment dim)
+ {
+ var mh$ = H5Pset_chunk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_chunk", plist_id, ndims, dim);
+ }
+ return (int)mh$.invokeExact(plist_id, ndims, dim);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_chunk_opts {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_chunk_opts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_chunk_opts$descriptor() { return H5Pset_chunk_opts.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static MethodHandle H5Pset_chunk_opts$handle() { return H5Pset_chunk_opts.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static MemorySegment H5Pset_chunk_opts$address() { return H5Pset_chunk_opts.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_opts(hid_t plist_id, unsigned int opts)
+ * }
+ */
+ public static int H5Pset_chunk_opts(long plist_id, int opts)
+ {
+ var mh$ = H5Pset_chunk_opts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_chunk_opts", plist_id, opts);
+ }
+ return (int)mh$.invokeExact(plist_id, opts);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_dset_no_attrs_hint$descriptor()
+ {
+ return H5Pset_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static MethodHandle H5Pset_dset_no_attrs_hint$handle() { return H5Pset_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static MemorySegment H5Pset_dset_no_attrs_hint$address() { return H5Pset_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_dset_no_attrs_hint(hid_t dcpl_id, bool minimize)
+ * }
+ */
+ public static int H5Pset_dset_no_attrs_hint(long dcpl_id, boolean minimize)
+ {
+ var mh$ = H5Pset_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_dset_no_attrs_hint", dcpl_id, minimize);
+ }
+ return (int)mh$.invokeExact(dcpl_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_spatial_tree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_spatial_tree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_spatial_tree$descriptor()
+ {
+ return H5Pset_virtual_spatial_tree.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_spatial_tree$handle()
+ {
+ return H5Pset_virtual_spatial_tree.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_spatial_tree$address()
+ {
+ return H5Pset_virtual_spatial_tree.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_spatial_tree(hid_t dcpl_id, bool use_tree)
+ * }
+ */
+ public static int H5Pset_virtual_spatial_tree(long dcpl_id, boolean use_tree)
+ {
+ var mh$ = H5Pset_virtual_spatial_tree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_spatial_tree", dcpl_id, use_tree);
+ }
+ return (int)mh$.invokeExact(dcpl_id, use_tree);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_external {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_external");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_external$descriptor() { return H5Pset_external.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_external$handle() { return H5Pset_external.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_external$address() { return H5Pset_external.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_external(hid_t plist_id, const char *name, HDoff_t offset, hsize_t size)
+ * }
+ */
+ public static int H5Pset_external(long plist_id, MemorySegment name, long offset, long size)
+ {
+ var mh$ = H5Pset_external.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_external", plist_id, name, offset, size);
+ }
+ return (int)mh$.invokeExact(plist_id, name, offset, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fill_time {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fill_time");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fill_time$descriptor() { return H5Pset_fill_time.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static MethodHandle H5Pset_fill_time$handle() { return H5Pset_fill_time.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static MemorySegment H5Pset_fill_time$address() { return H5Pset_fill_time.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_time(hid_t plist_id, H5D_fill_time_t fill_time)
+ * }
+ */
+ public static int H5Pset_fill_time(long plist_id, int fill_time)
+ {
+ var mh$ = H5Pset_fill_time.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fill_time", plist_id, fill_time);
+ }
+ return (int)mh$.invokeExact(plist_id, fill_time);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fill_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fill_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fill_value$descriptor() { return H5Pset_fill_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static MethodHandle H5Pset_fill_value$handle() { return H5Pset_fill_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static MemorySegment H5Pset_fill_value$address() { return H5Pset_fill_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fill_value(hid_t plist_id, hid_t type_id, const void *value)
+ * }
+ */
+ public static int H5Pset_fill_value(long plist_id, long type_id, MemorySegment value)
+ {
+ var mh$ = H5Pset_fill_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fill_value", plist_id, type_id, value);
+ }
+ return (int)mh$.invokeExact(plist_id, type_id, value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_shuffle {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_shuffle");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_shuffle$descriptor() { return H5Pset_shuffle.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_shuffle$handle() { return H5Pset_shuffle.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_shuffle$address() { return H5Pset_shuffle.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_shuffle(hid_t plist_id)
+ * }
+ */
+ public static int H5Pset_shuffle(long plist_id)
+ {
+ var mh$ = H5Pset_shuffle.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_shuffle", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_layout {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_layout");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_layout$descriptor() { return H5Pset_layout.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static MethodHandle H5Pset_layout$handle() { return H5Pset_layout.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static MemorySegment H5Pset_layout$address() { return H5Pset_layout.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_layout(hid_t plist_id, H5D_layout_t layout)
+ * }
+ */
+ public static int H5Pset_layout(long plist_id, int layout)
+ {
+ var mh$ = H5Pset_layout.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_layout", plist_id, layout);
+ }
+ return (int)mh$.invokeExact(plist_id, layout);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_nbit {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_nbit");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_nbit$descriptor() { return H5Pset_nbit.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_nbit$handle() { return H5Pset_nbit.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_nbit$address() { return H5Pset_nbit.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_nbit(hid_t plist_id)
+ * }
+ */
+ public static int H5Pset_nbit(long plist_id)
+ {
+ var mh$ = H5Pset_nbit.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_nbit", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_scaleoffset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_scaleoffset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_scaleoffset$descriptor() { return H5Pset_scaleoffset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static MethodHandle H5Pset_scaleoffset$handle() { return H5Pset_scaleoffset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static MemorySegment H5Pset_scaleoffset$address() { return H5Pset_scaleoffset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_scaleoffset(hid_t plist_id, H5Z_SO_scale_type_t scale_type, int scale_factor)
+ * }
+ */
+ public static int H5Pset_scaleoffset(long plist_id, int scale_type, int scale_factor)
+ {
+ var mh$ = H5Pset_scaleoffset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_scaleoffset", plist_id, scale_type, scale_factor);
+ }
+ return (int)mh$.invokeExact(plist_id, scale_type, scale_factor);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_szip {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_szip");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_szip$descriptor() { return H5Pset_szip.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static MethodHandle H5Pset_szip$handle() { return H5Pset_szip.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static MemorySegment H5Pset_szip$address() { return H5Pset_szip.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_szip(hid_t plist_id, unsigned int options_mask, unsigned int pixels_per_block)
+ * }
+ */
+ public static int H5Pset_szip(long plist_id, int options_mask, int pixels_per_block)
+ {
+ var mh$ = H5Pset_szip.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_szip", plist_id, options_mask, pixels_per_block);
+ }
+ return (int)mh$.invokeExact(plist_id, options_mask, pixels_per_block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual$descriptor() { return H5Pset_virtual.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual$handle() { return H5Pset_virtual.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual$address() { return H5Pset_virtual.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual(hid_t dcpl_id, hid_t vspace_id, const char *src_file_name, const char
+ * *src_dset_name, hid_t src_space_id)
+ * }
+ */
+ public static int H5Pset_virtual(long dcpl_id, long vspace_id, MemorySegment src_file_name,
+ MemorySegment src_dset_name, long src_space_id)
+ {
+ var mh$ = H5Pset_virtual.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual", dcpl_id, vspace_id, src_file_name, src_dset_name,
+ src_space_id);
+ }
+ return (int)mh$.invokeExact(dcpl_id, vspace_id, src_file_name, src_dset_name, src_space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_append_flush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_append_flush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_append_flush$descriptor() { return H5Pget_append_flush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static MethodHandle H5Pget_append_flush$handle() { return H5Pget_append_flush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static MemorySegment H5Pget_append_flush$address() { return H5Pget_append_flush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_append_flush(hid_t dapl_id, unsigned int dims, hsize_t boundary[], H5D_append_cb_t *func,
+ * void **udata)
+ * }
+ */
+ public static int H5Pget_append_flush(long dapl_id, int dims, MemorySegment boundary, MemorySegment func,
+ MemorySegment udata)
+ {
+ var mh$ = H5Pget_append_flush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_append_flush", dapl_id, dims, boundary, func, udata);
+ }
+ return (int)mh$.invokeExact(dapl_id, dims, boundary, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_chunk_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_chunk_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_chunk_cache$descriptor() { return H5Pget_chunk_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pget_chunk_cache$handle() { return H5Pget_chunk_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pget_chunk_cache$address() { return H5Pget_chunk_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_chunk_cache(hid_t dapl_id, size_t *rdcc_nslots, size_t *rdcc_nbytes, double *rdcc_w0)
+ * }
+ */
+ public static int H5Pget_chunk_cache(long dapl_id, MemorySegment rdcc_nslots, MemorySegment rdcc_nbytes,
+ MemorySegment rdcc_w0)
+ {
+ var mh$ = H5Pget_chunk_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_chunk_cache", dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_efile_prefix {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_efile_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_efile_prefix$descriptor() { return H5Pget_efile_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_efile_prefix$handle() { return H5Pget_efile_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_efile_prefix$address() { return H5Pget_efile_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_efile_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static long H5Pget_efile_prefix(long dapl_id, MemorySegment prefix, long size)
+ {
+ var mh$ = H5Pget_efile_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_efile_prefix", dapl_id, prefix, size);
+ }
+ return (long)mh$.invokeExact(dapl_id, prefix, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_prefix {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_prefix$descriptor() { return H5Pget_virtual_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_prefix$handle() { return H5Pget_virtual_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_prefix$address() { return H5Pget_virtual_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_virtual_prefix(hid_t dapl_id, char *prefix, size_t size)
+ * }
+ */
+ public static long H5Pget_virtual_prefix(long dapl_id, MemorySegment prefix, long size)
+ {
+ var mh$ = H5Pget_virtual_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_prefix", dapl_id, prefix, size);
+ }
+ return (long)mh$.invokeExact(dapl_id, prefix, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_printf_gap {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_printf_gap");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_printf_gap$descriptor()
+ {
+ return H5Pget_virtual_printf_gap.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_printf_gap$handle() { return H5Pget_virtual_printf_gap.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_printf_gap$address() { return H5Pget_virtual_printf_gap.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_printf_gap(hid_t dapl_id, hsize_t *gap_size)
+ * }
+ */
+ public static int H5Pget_virtual_printf_gap(long dapl_id, MemorySegment gap_size)
+ {
+ var mh$ = H5Pget_virtual_printf_gap.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_printf_gap", dapl_id, gap_size);
+ }
+ return (int)mh$.invokeExact(dapl_id, gap_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_virtual_view {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_virtual_view");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_virtual_view$descriptor() { return H5Pget_virtual_view.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static MethodHandle H5Pget_virtual_view$handle() { return H5Pget_virtual_view.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static MemorySegment H5Pget_virtual_view$address() { return H5Pget_virtual_view.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_virtual_view(hid_t dapl_id, H5D_vds_view_t *view)
+ * }
+ */
+ public static int H5Pget_virtual_view(long dapl_id, MemorySegment view)
+ {
+ var mh$ = H5Pget_virtual_view.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_virtual_view", dapl_id, view);
+ }
+ return (int)mh$.invokeExact(dapl_id, view);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_append_flush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_append_flush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_append_flush$descriptor() { return H5Pset_append_flush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static MethodHandle H5Pset_append_flush$handle() { return H5Pset_append_flush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static MemorySegment H5Pset_append_flush$address() { return H5Pset_append_flush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_append_flush(hid_t dapl_id, unsigned int ndims, const hsize_t boundary[], H5D_append_cb_t
+ * func, void *udata)
+ * }
+ */
+ public static int H5Pset_append_flush(long dapl_id, int ndims, MemorySegment boundary, MemorySegment func,
+ MemorySegment udata)
+ {
+ var mh$ = H5Pset_append_flush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_append_flush", dapl_id, ndims, boundary, func, udata);
+ }
+ return (int)mh$.invokeExact(dapl_id, ndims, boundary, func, udata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_chunk_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_DOUBLE);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_chunk_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_chunk_cache$descriptor() { return H5Pset_chunk_cache.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static MethodHandle H5Pset_chunk_cache$handle() { return H5Pset_chunk_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static MemorySegment H5Pset_chunk_cache$address() { return H5Pset_chunk_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_chunk_cache(hid_t dapl_id, size_t rdcc_nslots, size_t rdcc_nbytes, double rdcc_w0)
+ * }
+ */
+ public static int H5Pset_chunk_cache(long dapl_id, long rdcc_nslots, long rdcc_nbytes, double rdcc_w0)
+ {
+ var mh$ = H5Pset_chunk_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_chunk_cache", dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ return (int)mh$.invokeExact(dapl_id, rdcc_nslots, rdcc_nbytes, rdcc_w0);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_efile_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_efile_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_efile_prefix$descriptor() { return H5Pset_efile_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MethodHandle H5Pset_efile_prefix$handle() { return H5Pset_efile_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MemorySegment H5Pset_efile_prefix$address() { return H5Pset_efile_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_efile_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static int H5Pset_efile_prefix(long dapl_id, MemorySegment prefix)
+ {
+ var mh$ = H5Pset_efile_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_efile_prefix", dapl_id, prefix);
+ }
+ return (int)mh$.invokeExact(dapl_id, prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_prefix$descriptor() { return H5Pset_virtual_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_prefix$handle() { return H5Pset_virtual_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_prefix$address() { return H5Pset_virtual_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_prefix(hid_t dapl_id, const char *prefix)
+ * }
+ */
+ public static int H5Pset_virtual_prefix(long dapl_id, MemorySegment prefix)
+ {
+ var mh$ = H5Pset_virtual_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_prefix", dapl_id, prefix);
+ }
+ return (int)mh$.invokeExact(dapl_id, prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_printf_gap {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_printf_gap");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_printf_gap$descriptor()
+ {
+ return H5Pset_virtual_printf_gap.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_printf_gap$handle() { return H5Pset_virtual_printf_gap.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_printf_gap$address() { return H5Pset_virtual_printf_gap.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_printf_gap(hid_t dapl_id, hsize_t gap_size)
+ * }
+ */
+ public static int H5Pset_virtual_printf_gap(long dapl_id, long gap_size)
+ {
+ var mh$ = H5Pset_virtual_printf_gap.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_printf_gap", dapl_id, gap_size);
+ }
+ return (int)mh$.invokeExact(dapl_id, gap_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_virtual_view {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_virtual_view");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_virtual_view$descriptor() { return H5Pset_virtual_view.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static MethodHandle H5Pset_virtual_view$handle() { return H5Pset_virtual_view.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static MemorySegment H5Pset_virtual_view$address() { return H5Pset_virtual_view.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_virtual_view(hid_t dapl_id, H5D_vds_view_t view)
+ * }
+ */
+ public static int H5Pset_virtual_view(long dapl_id, int view)
+ {
+ var mh$ = H5Pset_virtual_view.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_virtual_view", dapl_id, view);
+ }
+ return (int)mh$.invokeExact(dapl_id, view);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_btree_ratios {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_btree_ratios");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_btree_ratios$descriptor() { return H5Pget_btree_ratios.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static MethodHandle H5Pget_btree_ratios$handle() { return H5Pget_btree_ratios.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static MemorySegment H5Pget_btree_ratios$address() { return H5Pget_btree_ratios.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_btree_ratios(hid_t plist_id, double *left, double *middle, double *right)
+ * }
+ */
+ public static int H5Pget_btree_ratios(long plist_id, MemorySegment left, MemorySegment middle,
+ MemorySegment right)
+ {
+ var mh$ = H5Pget_btree_ratios.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_btree_ratios", plist_id, left, middle, right);
+ }
+ return (int)mh$.invokeExact(plist_id, left, middle, right);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_buffer {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_buffer");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_buffer$descriptor() { return H5Pget_buffer.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static MethodHandle H5Pget_buffer$handle() { return H5Pget_buffer.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static MemorySegment H5Pget_buffer$address() { return H5Pget_buffer.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t H5Pget_buffer(hid_t plist_id, void **tconv, void **bkg)
+ * }
+ */
+ public static long H5Pget_buffer(long plist_id, MemorySegment tconv, MemorySegment bkg)
+ {
+ var mh$ = H5Pget_buffer.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_buffer", plist_id, tconv, bkg);
+ }
+ return (long)mh$.invokeExact(plist_id, tconv, bkg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_data_transform {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_data_transform");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_data_transform$descriptor() { return H5Pget_data_transform.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_data_transform$handle() { return H5Pget_data_transform.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_data_transform$address() { return H5Pget_data_transform.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_data_transform(hid_t plist_id, char *expression, size_t size)
+ * }
+ */
+ public static long H5Pget_data_transform(long plist_id, MemorySegment expression, long size)
+ {
+ var mh$ = H5Pget_data_transform.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_data_transform", plist_id, expression, size);
+ }
+ return (long)mh$.invokeExact(plist_id, expression, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_edc_check {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_edc_check");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_edc_check$descriptor() { return H5Pget_edc_check.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_edc_check$handle() { return H5Pget_edc_check.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_edc_check$address() { return H5Pget_edc_check.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5Z_EDC_t H5Pget_edc_check(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_edc_check(long plist_id)
+ {
+ var mh$ = H5Pget_edc_check.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_edc_check", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_hyper_vector_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_hyper_vector_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_hyper_vector_size$descriptor()
+ {
+ return H5Pget_hyper_vector_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MethodHandle H5Pget_hyper_vector_size$handle() { return H5Pget_hyper_vector_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static MemorySegment H5Pget_hyper_vector_size$address() { return H5Pget_hyper_vector_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_hyper_vector_size(hid_t fapl_id, size_t *size)
+ * }
+ */
+ public static int H5Pget_hyper_vector_size(long fapl_id, MemorySegment size)
+ {
+ var mh$ = H5Pget_hyper_vector_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_hyper_vector_size", fapl_id, size);
+ }
+ return (int)mh$.invokeExact(fapl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_preserve {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_preserve");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_preserve$descriptor() { return H5Pget_preserve.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pget_preserve$handle() { return H5Pget_preserve.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pget_preserve$address() { return H5Pget_preserve.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5Pget_preserve(hid_t plist_id)
+ * }
+ */
+ public static int H5Pget_preserve(long plist_id)
+ {
+ var mh$ = H5Pget_preserve.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_preserve", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_type_conv_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_type_conv_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_type_conv_cb$descriptor() { return H5Pget_type_conv_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static MethodHandle H5Pget_type_conv_cb$handle() { return H5Pget_type_conv_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static MemorySegment H5Pget_type_conv_cb$address() { return H5Pget_type_conv_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t *op, void **operate_data)
+ * }
+ */
+ public static int H5Pget_type_conv_cb(long dxpl_id, MemorySegment op, MemorySegment operate_data)
+ {
+ var mh$ = H5Pget_type_conv_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_type_conv_cb", dxpl_id, op, operate_data);
+ }
+ return (int)mh$.invokeExact(dxpl_id, op, operate_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_vlen_mem_manager {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_vlen_mem_manager");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_vlen_mem_manager$descriptor()
+ {
+ return H5Pget_vlen_mem_manager.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static MethodHandle H5Pget_vlen_mem_manager$handle() { return H5Pget_vlen_mem_manager.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static MemorySegment H5Pget_vlen_mem_manager$address() { return H5Pget_vlen_mem_manager.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t *alloc_func, void **alloc_info,
+ * H5MM_free_t *free_func, void **free_info)
+ * }
+ */
+ public static int H5Pget_vlen_mem_manager(long plist_id, MemorySegment alloc_func,
+ MemorySegment alloc_info, MemorySegment free_func,
+ MemorySegment free_info)
+ {
+ var mh$ = H5Pget_vlen_mem_manager.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_vlen_mem_manager", plist_id, alloc_func, alloc_info, free_func,
+ free_info);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_func, alloc_info, free_func, free_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_btree_ratios {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_DOUBLE, hdf5_h.C_DOUBLE, hdf5_h.C_DOUBLE);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_btree_ratios");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_btree_ratios$descriptor() { return H5Pset_btree_ratios.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static MethodHandle H5Pset_btree_ratios$handle() { return H5Pset_btree_ratios.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static MemorySegment H5Pset_btree_ratios$address() { return H5Pset_btree_ratios.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, double right)
+ * }
+ */
+ public static int H5Pset_btree_ratios(long plist_id, double left, double middle, double right)
+ {
+ var mh$ = H5Pset_btree_ratios.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_btree_ratios", plist_id, left, middle, right);
+ }
+ return (int)mh$.invokeExact(plist_id, left, middle, right);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_buffer {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_buffer");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_buffer$descriptor() { return H5Pset_buffer.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static MethodHandle H5Pset_buffer$handle() { return H5Pset_buffer.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static MemorySegment H5Pset_buffer$address() { return H5Pset_buffer.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
+ * }
+ */
+ public static int H5Pset_buffer(long plist_id, long size, MemorySegment tconv, MemorySegment bkg)
+ {
+ var mh$ = H5Pset_buffer.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_buffer", plist_id, size, tconv, bkg);
+ }
+ return (int)mh$.invokeExact(plist_id, size, tconv, bkg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_data_transform {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_data_transform");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_data_transform$descriptor() { return H5Pset_data_transform.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static MethodHandle H5Pset_data_transform$handle() { return H5Pset_data_transform.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static MemorySegment H5Pset_data_transform$address() { return H5Pset_data_transform.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_data_transform(hid_t plist_id, const char *expression)
+ * }
+ */
+ public static int H5Pset_data_transform(long plist_id, MemorySegment expression)
+ {
+ var mh$ = H5Pset_data_transform.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_data_transform", plist_id, expression);
+ }
+ return (int)mh$.invokeExact(plist_id, expression);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_edc_check {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_edc_check");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_edc_check$descriptor() { return H5Pset_edc_check.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static MethodHandle H5Pset_edc_check$handle() { return H5Pset_edc_check.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static MemorySegment H5Pset_edc_check$address() { return H5Pset_edc_check.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_edc_check(hid_t plist_id, H5Z_EDC_t check)
+ * }
+ */
+ public static int H5Pset_edc_check(long plist_id, int check)
+ {
+ var mh$ = H5Pset_edc_check.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_edc_check", plist_id, check);
+ }
+ return (int)mh$.invokeExact(plist_id, check);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_filter_callback {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_filter_callback");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_filter_callback$descriptor()
+ {
+ return H5Pset_filter_callback.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Pset_filter_callback$handle() { return H5Pset_filter_callback.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Pset_filter_callback$address() { return H5Pset_filter_callback.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_filter_callback(hid_t plist_id, H5Z_filter_func_t func, void *op_data)
+ * }
+ */
+ public static int H5Pset_filter_callback(long plist_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pset_filter_callback.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_filter_callback", plist_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(plist_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_hyper_vector_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_hyper_vector_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_hyper_vector_size$descriptor()
+ {
+ return H5Pset_hyper_vector_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pset_hyper_vector_size$handle() { return H5Pset_hyper_vector_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pset_hyper_vector_size$address() { return H5Pset_hyper_vector_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_hyper_vector_size(hid_t plist_id, size_t size)
+ * }
+ */
+ public static int H5Pset_hyper_vector_size(long plist_id, long size)
+ {
+ var mh$ = H5Pset_hyper_vector_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_hyper_vector_size", plist_id, size);
+ }
+ return (int)mh$.invokeExact(plist_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_preserve {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_preserve");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_preserve$descriptor() { return H5Pset_preserve.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static MethodHandle H5Pset_preserve$handle() { return H5Pset_preserve.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static MemorySegment H5Pset_preserve$address() { return H5Pset_preserve.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_preserve(hid_t plist_id, bool status)
+ * }
+ */
+ public static int H5Pset_preserve(long plist_id, boolean status)
+ {
+ var mh$ = H5Pset_preserve.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_preserve", plist_id, status);
+ }
+ return (int)mh$.invokeExact(plist_id, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_type_conv_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_type_conv_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_type_conv_cb$descriptor() { return H5Pset_type_conv_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static MethodHandle H5Pset_type_conv_cb$handle() { return H5Pset_type_conv_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static MemorySegment H5Pset_type_conv_cb$address() { return H5Pset_type_conv_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_type_conv_cb(hid_t dxpl_id, H5T_conv_except_func_t op, void *operate_data)
+ * }
+ */
+ public static int H5Pset_type_conv_cb(long dxpl_id, MemorySegment op, MemorySegment operate_data)
+ {
+ var mh$ = H5Pset_type_conv_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_type_conv_cb", dxpl_id, op, operate_data);
+ }
+ return (int)mh$.invokeExact(dxpl_id, op, operate_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_vlen_mem_manager {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_vlen_mem_manager");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_vlen_mem_manager$descriptor()
+ {
+ return H5Pset_vlen_mem_manager.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static MethodHandle H5Pset_vlen_mem_manager$handle() { return H5Pset_vlen_mem_manager.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static MemorySegment H5Pset_vlen_mem_manager$address() { return H5Pset_vlen_mem_manager.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_vlen_mem_manager(hid_t plist_id, H5MM_allocate_t alloc_func, void *alloc_info,
+ * H5MM_free_t free_func, void *free_info)
+ * }
+ */
+ public static int H5Pset_vlen_mem_manager(long plist_id, MemorySegment alloc_func,
+ MemorySegment alloc_info, MemorySegment free_func,
+ MemorySegment free_info)
+ {
+ var mh$ = H5Pset_vlen_mem_manager.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_vlen_mem_manager", plist_id, alloc_func, alloc_info, free_func,
+ free_info);
+ }
+ return (int)mh$.invokeExact(plist_id, alloc_func, alloc_info, free_func, free_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_dataset_io_hyperslab_selection {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_dataset_io_hyperslab_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static FunctionDescriptor H5Pset_dataset_io_hyperslab_selection$descriptor()
+ {
+ return H5Pset_dataset_io_hyperslab_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MethodHandle H5Pset_dataset_io_hyperslab_selection$handle()
+ {
+ return H5Pset_dataset_io_hyperslab_selection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static MemorySegment H5Pset_dataset_io_hyperslab_selection$address()
+ {
+ return H5Pset_dataset_io_hyperslab_selection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_dataset_io_hyperslab_selection(hid_t plist_id, unsigned int rank, H5S_seloper_t op, const
+ * hsize_t start[], const hsize_t stride[], const hsize_t count[], const hsize_t block[])
+ * }
+ */
+ public static int H5Pset_dataset_io_hyperslab_selection(long plist_id, int rank, int op,
+ MemorySegment start, MemorySegment stride,
+ MemorySegment count, MemorySegment block)
+ {
+ var mh$ = H5Pset_dataset_io_hyperslab_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_dataset_io_hyperslab_selection", plist_id, rank, op, start, stride,
+ count, block);
+ }
+ return (int)mh$.invokeExact(plist_id, rank, op, start, stride, count, block);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_selection_io {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_selection_io");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_selection_io$descriptor() { return H5Pset_selection_io.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static MethodHandle H5Pset_selection_io$handle() { return H5Pset_selection_io.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static MemorySegment H5Pset_selection_io$address() { return H5Pset_selection_io.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_selection_io(hid_t plist_id, H5D_selection_io_mode_t selection_io_mode)
+ * }
+ */
+ public static int H5Pset_selection_io(long plist_id, int selection_io_mode)
+ {
+ var mh$ = H5Pset_selection_io.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_selection_io", plist_id, selection_io_mode);
+ }
+ return (int)mh$.invokeExact(plist_id, selection_io_mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_selection_io {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_selection_io");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_selection_io$descriptor() { return H5Pget_selection_io.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static MethodHandle H5Pget_selection_io$handle() { return H5Pget_selection_io.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static MemorySegment H5Pget_selection_io$address() { return H5Pget_selection_io.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_selection_io(hid_t plist_id, H5D_selection_io_mode_t *selection_io_mode)
+ * }
+ */
+ public static int H5Pget_selection_io(long plist_id, MemorySegment selection_io_mode)
+ {
+ var mh$ = H5Pget_selection_io.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_selection_io", plist_id, selection_io_mode);
+ }
+ return (int)mh$.invokeExact(plist_id, selection_io_mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_no_selection_io_cause {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_no_selection_io_cause");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_no_selection_io_cause$descriptor()
+ {
+ return H5Pget_no_selection_io_cause.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static MethodHandle H5Pget_no_selection_io_cause$handle()
+ {
+ return H5Pget_no_selection_io_cause.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static MemorySegment H5Pget_no_selection_io_cause$address()
+ {
+ return H5Pget_no_selection_io_cause.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_no_selection_io_cause(hid_t plist_id, uint32_t *no_selection_io_cause)
+ * }
+ */
+ public static int H5Pget_no_selection_io_cause(long plist_id, MemorySegment no_selection_io_cause)
+ {
+ var mh$ = H5Pget_no_selection_io_cause.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_no_selection_io_cause", plist_id, no_selection_io_cause);
+ }
+ return (int)mh$.invokeExact(plist_id, no_selection_io_cause);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_actual_selection_io_mode {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_actual_selection_io_mode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_actual_selection_io_mode$descriptor()
+ {
+ return H5Pget_actual_selection_io_mode.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static MethodHandle H5Pget_actual_selection_io_mode$handle()
+ {
+ return H5Pget_actual_selection_io_mode.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static MemorySegment H5Pget_actual_selection_io_mode$address()
+ {
+ return H5Pget_actual_selection_io_mode.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_actual_selection_io_mode(hid_t plist_id, uint32_t *actual_selection_io_mode)
+ * }
+ */
+ public static int H5Pget_actual_selection_io_mode(long plist_id, MemorySegment actual_selection_io_mode)
+ {
+ var mh$ = H5Pget_actual_selection_io_mode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_actual_selection_io_mode", plist_id, actual_selection_io_mode);
+ }
+ return (int)mh$.invokeExact(plist_id, actual_selection_io_mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_modify_write_buf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_modify_write_buf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_modify_write_buf$descriptor()
+ {
+ return H5Pset_modify_write_buf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static MethodHandle H5Pset_modify_write_buf$handle() { return H5Pset_modify_write_buf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static MemorySegment H5Pset_modify_write_buf$address() { return H5Pset_modify_write_buf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_modify_write_buf(hid_t plist_id, bool modify_write_buf)
+ * }
+ */
+ public static int H5Pset_modify_write_buf(long plist_id, boolean modify_write_buf)
+ {
+ var mh$ = H5Pset_modify_write_buf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_modify_write_buf", plist_id, modify_write_buf);
+ }
+ return (int)mh$.invokeExact(plist_id, modify_write_buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_modify_write_buf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_modify_write_buf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_modify_write_buf$descriptor()
+ {
+ return H5Pget_modify_write_buf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static MethodHandle H5Pget_modify_write_buf$handle() { return H5Pget_modify_write_buf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static MemorySegment H5Pget_modify_write_buf$address() { return H5Pget_modify_write_buf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_modify_write_buf(hid_t plist_id, bool *modify_write_buf)
+ * }
+ */
+ public static int H5Pget_modify_write_buf(long plist_id, MemorySegment modify_write_buf)
+ {
+ var mh$ = H5Pget_modify_write_buf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_modify_write_buf", plist_id, modify_write_buf);
+ }
+ return (int)mh$.invokeExact(plist_id, modify_write_buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_create_intermediate_group {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_create_intermediate_group");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_create_intermediate_group$descriptor()
+ {
+ return H5Pget_create_intermediate_group.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static MethodHandle H5Pget_create_intermediate_group$handle()
+ {
+ return H5Pget_create_intermediate_group.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static MemorySegment H5Pget_create_intermediate_group$address()
+ {
+ return H5Pget_create_intermediate_group.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_create_intermediate_group(hid_t plist_id, unsigned int *crt_intmd)
+ * }
+ */
+ public static int H5Pget_create_intermediate_group(long plist_id, MemorySegment crt_intmd)
+ {
+ var mh$ = H5Pget_create_intermediate_group.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_create_intermediate_group", plist_id, crt_intmd);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_intmd);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_create_intermediate_group {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_create_intermediate_group");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_create_intermediate_group$descriptor()
+ {
+ return H5Pset_create_intermediate_group.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static MethodHandle H5Pset_create_intermediate_group$handle()
+ {
+ return H5Pset_create_intermediate_group.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static MemorySegment H5Pset_create_intermediate_group$address()
+ {
+ return H5Pset_create_intermediate_group.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_create_intermediate_group(hid_t plist_id, unsigned int crt_intmd)
+ * }
+ */
+ public static int H5Pset_create_intermediate_group(long plist_id, int crt_intmd)
+ {
+ var mh$ = H5Pset_create_intermediate_group.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_create_intermediate_group", plist_id, crt_intmd);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_intmd);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_est_link_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_est_link_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_est_link_info$descriptor() { return H5Pget_est_link_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static MethodHandle H5Pget_est_link_info$handle() { return H5Pget_est_link_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static MemorySegment H5Pget_est_link_info$address() { return H5Pget_est_link_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_est_link_info(hid_t plist_id, unsigned int *est_num_entries, unsigned int *est_name_len)
+ * }
+ */
+ public static int H5Pget_est_link_info(long plist_id, MemorySegment est_num_entries,
+ MemorySegment est_name_len)
+ {
+ var mh$ = H5Pget_est_link_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_est_link_info", plist_id, est_num_entries, est_name_len);
+ }
+ return (int)mh$.invokeExact(plist_id, est_num_entries, est_name_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_link_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_link_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_link_creation_order$descriptor()
+ {
+ return H5Pget_link_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pget_link_creation_order$handle()
+ {
+ return H5Pget_link_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pget_link_creation_order$address()
+ {
+ return H5Pget_link_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_creation_order(hid_t plist_id, unsigned int *crt_order_flags)
+ * }
+ */
+ public static int H5Pget_link_creation_order(long plist_id, MemorySegment crt_order_flags)
+ {
+ var mh$ = H5Pget_link_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_link_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_link_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_link_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_link_phase_change$descriptor()
+ {
+ return H5Pget_link_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MethodHandle H5Pget_link_phase_change$handle() { return H5Pget_link_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static MemorySegment H5Pget_link_phase_change$address() { return H5Pget_link_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_link_phase_change(hid_t plist_id, unsigned int *max_compact, unsigned int *min_dense)
+ * }
+ */
+ public static int H5Pget_link_phase_change(long plist_id, MemorySegment max_compact,
+ MemorySegment min_dense)
+ {
+ var mh$ = H5Pget_link_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_link_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_local_heap_size_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_local_heap_size_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_local_heap_size_hint$descriptor()
+ {
+ return H5Pget_local_heap_size_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static MethodHandle H5Pget_local_heap_size_hint$handle()
+ {
+ return H5Pget_local_heap_size_hint.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static MemorySegment H5Pget_local_heap_size_hint$address()
+ {
+ return H5Pget_local_heap_size_hint.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_local_heap_size_hint(hid_t plist_id, size_t *size_hint)
+ * }
+ */
+ public static int H5Pget_local_heap_size_hint(long plist_id, MemorySegment size_hint)
+ {
+ var mh$ = H5Pget_local_heap_size_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_local_heap_size_hint", plist_id, size_hint);
+ }
+ return (int)mh$.invokeExact(plist_id, size_hint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_est_link_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_est_link_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_est_link_info$descriptor() { return H5Pset_est_link_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static MethodHandle H5Pset_est_link_info$handle() { return H5Pset_est_link_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static MemorySegment H5Pset_est_link_info$address() { return H5Pset_est_link_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_est_link_info(hid_t plist_id, unsigned int est_num_entries, unsigned int est_name_len)
+ * }
+ */
+ public static int H5Pset_est_link_info(long plist_id, int est_num_entries, int est_name_len)
+ {
+ var mh$ = H5Pset_est_link_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_est_link_info", plist_id, est_num_entries, est_name_len);
+ }
+ return (int)mh$.invokeExact(plist_id, est_num_entries, est_name_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_link_creation_order {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_link_creation_order");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_link_creation_order$descriptor()
+ {
+ return H5Pset_link_creation_order.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MethodHandle H5Pset_link_creation_order$handle()
+ {
+ return H5Pset_link_creation_order.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static MemorySegment H5Pset_link_creation_order$address()
+ {
+ return H5Pset_link_creation_order.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_creation_order(hid_t plist_id, unsigned int crt_order_flags)
+ * }
+ */
+ public static int H5Pset_link_creation_order(long plist_id, int crt_order_flags)
+ {
+ var mh$ = H5Pset_link_creation_order.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_link_creation_order", plist_id, crt_order_flags);
+ }
+ return (int)mh$.invokeExact(plist_id, crt_order_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_link_phase_change {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_link_phase_change");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_link_phase_change$descriptor()
+ {
+ return H5Pset_link_phase_change.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MethodHandle H5Pset_link_phase_change$handle() { return H5Pset_link_phase_change.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static MemorySegment H5Pset_link_phase_change$address() { return H5Pset_link_phase_change.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_link_phase_change(hid_t plist_id, unsigned int max_compact, unsigned int min_dense)
+ * }
+ */
+ public static int H5Pset_link_phase_change(long plist_id, int max_compact, int min_dense)
+ {
+ var mh$ = H5Pset_link_phase_change.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_link_phase_change", plist_id, max_compact, min_dense);
+ }
+ return (int)mh$.invokeExact(plist_id, max_compact, min_dense);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_local_heap_size_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_local_heap_size_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_local_heap_size_hint$descriptor()
+ {
+ return H5Pset_local_heap_size_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static MethodHandle H5Pset_local_heap_size_hint$handle()
+ {
+ return H5Pset_local_heap_size_hint.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static MemorySegment H5Pset_local_heap_size_hint$address()
+ {
+ return H5Pset_local_heap_size_hint.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_local_heap_size_hint(hid_t plist_id, size_t size_hint)
+ * }
+ */
+ public static int H5Pset_local_heap_size_hint(long plist_id, long size_hint)
+ {
+ var mh$ = H5Pset_local_heap_size_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_local_heap_size_hint", plist_id, size_hint);
+ }
+ return (int)mh$.invokeExact(plist_id, size_hint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_char_encoding {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_char_encoding");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_char_encoding$descriptor() { return H5Pget_char_encoding.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static MethodHandle H5Pget_char_encoding$handle() { return H5Pget_char_encoding.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static MemorySegment H5Pget_char_encoding$address() { return H5Pget_char_encoding.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_char_encoding(hid_t plist_id, H5T_cset_t *encoding)
+ * }
+ */
+ public static int H5Pget_char_encoding(long plist_id, MemorySegment encoding)
+ {
+ var mh$ = H5Pget_char_encoding.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_char_encoding", plist_id, encoding);
+ }
+ return (int)mh$.invokeExact(plist_id, encoding);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_char_encoding {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_char_encoding");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_char_encoding$descriptor() { return H5Pset_char_encoding.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static MethodHandle H5Pset_char_encoding$handle() { return H5Pset_char_encoding.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static MemorySegment H5Pset_char_encoding$address() { return H5Pset_char_encoding.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_char_encoding(hid_t plist_id, H5T_cset_t encoding)
+ * }
+ */
+ public static int H5Pset_char_encoding(long plist_id, int encoding)
+ {
+ var mh$ = H5Pset_char_encoding.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_char_encoding", plist_id, encoding);
+ }
+ return (int)mh$.invokeExact(plist_id, encoding);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_acc_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_acc_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_acc_flags$descriptor()
+ {
+ return H5Pget_elink_acc_flags.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_acc_flags$handle() { return H5Pget_elink_acc_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_acc_flags$address() { return H5Pget_elink_acc_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_acc_flags(hid_t lapl_id, unsigned int *flags)
+ * }
+ */
+ public static int H5Pget_elink_acc_flags(long lapl_id, MemorySegment flags)
+ {
+ var mh$ = H5Pget_elink_acc_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_acc_flags", lapl_id, flags);
+ }
+ return (int)mh$.invokeExact(lapl_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_cb$descriptor() { return H5Pget_elink_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_cb$handle() { return H5Pget_elink_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_cb$address() { return H5Pget_elink_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_elink_cb(hid_t lapl_id, H5L_elink_traverse_t *func, void **op_data)
+ * }
+ */
+ public static int H5Pget_elink_cb(long lapl_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pget_elink_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_cb", lapl_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(lapl_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_fapl {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_fapl");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_fapl$descriptor() { return H5Pget_elink_fapl.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_fapl$handle() { return H5Pget_elink_fapl.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_fapl$address() { return H5Pget_elink_fapl.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Pget_elink_fapl(hid_t lapl_id)
+ * }
+ */
+ public static long H5Pget_elink_fapl(long lapl_id)
+ {
+ var mh$ = H5Pget_elink_fapl.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_fapl", lapl_id);
+ }
+ return (long)mh$.invokeExact(lapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_elink_prefix {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_elink_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_elink_prefix$descriptor() { return H5Pget_elink_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static MethodHandle H5Pget_elink_prefix$handle() { return H5Pget_elink_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static MemorySegment H5Pget_elink_prefix$address() { return H5Pget_elink_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Pget_elink_prefix(hid_t plist_id, char *prefix, size_t size)
+ * }
+ */
+ public static long H5Pget_elink_prefix(long plist_id, MemorySegment prefix, long size)
+ {
+ var mh$ = H5Pget_elink_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_elink_prefix", plist_id, prefix, size);
+ }
+ return (long)mh$.invokeExact(plist_id, prefix, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_nlinks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_nlinks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_nlinks$descriptor() { return H5Pget_nlinks.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static MethodHandle H5Pget_nlinks$handle() { return H5Pget_nlinks.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static MemorySegment H5Pget_nlinks$address() { return H5Pget_nlinks.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_nlinks(hid_t plist_id, size_t *nlinks)
+ * }
+ */
+ public static int H5Pget_nlinks(long plist_id, MemorySegment nlinks)
+ {
+ var mh$ = H5Pget_nlinks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_nlinks", plist_id, nlinks);
+ }
+ return (int)mh$.invokeExact(plist_id, nlinks);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_acc_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_acc_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_acc_flags$descriptor()
+ {
+ return H5Pset_elink_acc_flags.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_acc_flags$handle() { return H5Pset_elink_acc_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_acc_flags$address() { return H5Pset_elink_acc_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_acc_flags(hid_t lapl_id, unsigned int flags)
+ * }
+ */
+ public static int H5Pset_elink_acc_flags(long lapl_id, int flags)
+ {
+ var mh$ = H5Pset_elink_acc_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_acc_flags", lapl_id, flags);
+ }
+ return (int)mh$.invokeExact(lapl_id, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_cb$descriptor() { return H5Pset_elink_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_cb$handle() { return H5Pset_elink_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_cb$address() { return H5Pset_elink_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_cb(hid_t lapl_id, H5L_elink_traverse_t func, void *op_data)
+ * }
+ */
+ public static int H5Pset_elink_cb(long lapl_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pset_elink_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_cb", lapl_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(lapl_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_fapl {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_fapl");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_fapl$descriptor() { return H5Pset_elink_fapl.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_fapl$handle() { return H5Pset_elink_fapl.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_fapl$address() { return H5Pset_elink_fapl.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_fapl(hid_t lapl_id, hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_elink_fapl(long lapl_id, long fapl_id)
+ {
+ var mh$ = H5Pset_elink_fapl.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_fapl", lapl_id, fapl_id);
+ }
+ return (int)mh$.invokeExact(lapl_id, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_elink_prefix {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_elink_prefix");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_elink_prefix$descriptor() { return H5Pset_elink_prefix.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static MethodHandle H5Pset_elink_prefix$handle() { return H5Pset_elink_prefix.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static MemorySegment H5Pset_elink_prefix$address() { return H5Pset_elink_prefix.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_elink_prefix(hid_t plist_id, const char *prefix)
+ * }
+ */
+ public static int H5Pset_elink_prefix(long plist_id, MemorySegment prefix)
+ {
+ var mh$ = H5Pset_elink_prefix.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_elink_prefix", plist_id, prefix);
+ }
+ return (int)mh$.invokeExact(plist_id, prefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_nlinks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_nlinks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_nlinks$descriptor() { return H5Pset_nlinks.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static MethodHandle H5Pset_nlinks$handle() { return H5Pset_nlinks.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static MemorySegment H5Pset_nlinks$address() { return H5Pset_nlinks.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_nlinks(hid_t plist_id, size_t nlinks)
+ * }
+ */
+ public static int H5Pset_nlinks(long plist_id, long nlinks)
+ {
+ var mh$ = H5Pset_nlinks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_nlinks", plist_id, nlinks);
+ }
+ return (int)mh$.invokeExact(plist_id, nlinks);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Padd_merge_committed_dtype_path {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Padd_merge_committed_dtype_path");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static FunctionDescriptor H5Padd_merge_committed_dtype_path$descriptor()
+ {
+ return H5Padd_merge_committed_dtype_path.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static MethodHandle H5Padd_merge_committed_dtype_path$handle()
+ {
+ return H5Padd_merge_committed_dtype_path.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static MemorySegment H5Padd_merge_committed_dtype_path$address()
+ {
+ return H5Padd_merge_committed_dtype_path.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Padd_merge_committed_dtype_path(hid_t plist_id, const char *path)
+ * }
+ */
+ public static int H5Padd_merge_committed_dtype_path(long plist_id, MemorySegment path)
+ {
+ var mh$ = H5Padd_merge_committed_dtype_path.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Padd_merge_committed_dtype_path", plist_id, path);
+ }
+ return (int)mh$.invokeExact(plist_id, path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pfree_merge_committed_dtype_paths {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pfree_merge_committed_dtype_paths");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pfree_merge_committed_dtype_paths$descriptor()
+ {
+ return H5Pfree_merge_committed_dtype_paths.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static MethodHandle H5Pfree_merge_committed_dtype_paths$handle()
+ {
+ return H5Pfree_merge_committed_dtype_paths.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static MemorySegment H5Pfree_merge_committed_dtype_paths$address()
+ {
+ return H5Pfree_merge_committed_dtype_paths.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pfree_merge_committed_dtype_paths(hid_t plist_id)
+ * }
+ */
+ public static int H5Pfree_merge_committed_dtype_paths(long plist_id)
+ {
+ var mh$ = H5Pfree_merge_committed_dtype_paths.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pfree_merge_committed_dtype_paths", plist_id);
+ }
+ return (int)mh$.invokeExact(plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_copy_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_copy_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_copy_object$descriptor() { return H5Pget_copy_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static MethodHandle H5Pget_copy_object$handle() { return H5Pget_copy_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static MemorySegment H5Pget_copy_object$address() { return H5Pget_copy_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_copy_object(hid_t plist_id, unsigned int *copy_options)
+ * }
+ */
+ public static int H5Pget_copy_object(long plist_id, MemorySegment copy_options)
+ {
+ var mh$ = H5Pget_copy_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_copy_object", plist_id, copy_options);
+ }
+ return (int)mh$.invokeExact(plist_id, copy_options);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_mcdt_search_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_mcdt_search_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_mcdt_search_cb$descriptor() { return H5Pget_mcdt_search_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static MethodHandle H5Pget_mcdt_search_cb$handle() { return H5Pget_mcdt_search_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static MemorySegment H5Pget_mcdt_search_cb$address() { return H5Pget_mcdt_search_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t *func, void **op_data)
+ * }
+ */
+ public static int H5Pget_mcdt_search_cb(long plist_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pget_mcdt_search_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_mcdt_search_cb", plist_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(plist_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_copy_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_copy_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_copy_object$descriptor() { return H5Pset_copy_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static MethodHandle H5Pset_copy_object$handle() { return H5Pset_copy_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static MemorySegment H5Pset_copy_object$address() { return H5Pset_copy_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_copy_object(hid_t plist_id, unsigned int copy_options)
+ * }
+ */
+ public static int H5Pset_copy_object(long plist_id, int copy_options)
+ {
+ var mh$ = H5Pset_copy_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_copy_object", plist_id, copy_options);
+ }
+ return (int)mh$.invokeExact(plist_id, copy_options);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_mcdt_search_cb {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_mcdt_search_cb");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_mcdt_search_cb$descriptor() { return H5Pset_mcdt_search_cb.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Pset_mcdt_search_cb$handle() { return H5Pset_mcdt_search_cb.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Pset_mcdt_search_cb$address() { return H5Pset_mcdt_search_cb.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_mcdt_search_cb(hid_t plist_id, H5O_mcdt_search_cb_t func, void *op_data)
+ * }
+ */
+ public static int H5Pset_mcdt_search_cb(long plist_id, MemorySegment func, MemorySegment op_data)
+ {
+ var mh$ = H5Pset_mcdt_search_cb.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_mcdt_search_cb", plist_id, func, op_data);
+ }
+ return (int)mh$.invokeExact(plist_id, func, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pregister1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pregister1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pregister1$descriptor() { return H5Pregister1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MethodHandle H5Pregister1$handle() { return H5Pregister1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MemorySegment H5Pregister1$address() { return H5Pregister1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pregister1(hid_t cls_id, const char *name, size_t size, void *def_value, H5P_prp_create_func_t
+ * prp_create, H5P_prp_set_func_t prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_del,
+ * H5P_prp_copy_func_t prp_copy, H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static int H5Pregister1(long cls_id, MemorySegment name, long size, MemorySegment def_value,
+ MemorySegment prp_create, MemorySegment prp_set, MemorySegment prp_get,
+ MemorySegment prp_del, MemorySegment prp_copy, MemorySegment prp_close)
+ {
+ var mh$ = H5Pregister1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pregister1", cls_id, name, size, def_value, prp_create, prp_set, prp_get,
+ prp_del, prp_copy, prp_close);
+ }
+ return (int)mh$.invokeExact(cls_id, name, size, def_value, prp_create, prp_set, prp_get, prp_del,
+ prp_copy, prp_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pinsert1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pinsert1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static FunctionDescriptor H5Pinsert1$descriptor() { return H5Pinsert1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MethodHandle H5Pinsert1$handle() { return H5Pinsert1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static MemorySegment H5Pinsert1$address() { return H5Pinsert1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pinsert1(hid_t plist_id, const char *name, size_t size, void *value, H5P_prp_set_func_t
+ * prp_set, H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete, H5P_prp_copy_func_t prp_copy,
+ * H5P_prp_close_func_t prp_close)
+ * }
+ */
+ public static int H5Pinsert1(long plist_id, MemorySegment name, long size, MemorySegment value,
+ MemorySegment prp_set, MemorySegment prp_get, MemorySegment prp_delete,
+ MemorySegment prp_copy, MemorySegment prp_close)
+ {
+ var mh$ = H5Pinsert1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pinsert1", plist_id, name, size, value, prp_set, prp_get, prp_delete,
+ prp_copy, prp_close);
+ }
+ return (int)mh$.invokeExact(plist_id, name, size, value, prp_set, prp_get, prp_delete, prp_copy,
+ prp_close);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pencode1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pencode1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static FunctionDescriptor H5Pencode1$descriptor() { return H5Pencode1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MethodHandle H5Pencode1$handle() { return H5Pencode1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static MemorySegment H5Pencode1$address() { return H5Pencode1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pencode1(hid_t plist_id, void *buf, size_t *nalloc)
+ * }
+ */
+ public static int H5Pencode1(long plist_id, MemorySegment buf, MemorySegment nalloc)
+ {
+ var mh$ = H5Pencode1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pencode1", plist_id, buf, nalloc);
+ }
+ return (int)mh$.invokeExact(plist_id, buf, nalloc);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter1$descriptor() { return H5Pget_filter1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MethodHandle H5Pget_filter1$handle() { return H5Pget_filter1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MemorySegment H5Pget_filter1$address() { return H5Pget_filter1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5Z_filter_t H5Pget_filter1(hid_t plist_id, unsigned int filter, unsigned int *flags, size_t
+ * *cd_nelmts, unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static int H5Pget_filter1(long plist_id, int filter, MemorySegment flags, MemorySegment cd_nelmts,
+ MemorySegment cd_values, long namelen, MemorySegment name)
+ {
+ var mh$ = H5Pget_filter1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter1", plist_id, filter, flags, cd_nelmts, cd_values, namelen, name);
+ }
+ return (int)mh$.invokeExact(plist_id, filter, flags, cd_nelmts, cd_values, namelen, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_filter_by_id1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_filter_by_id1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static FunctionDescriptor H5Pget_filter_by_id1$descriptor() { return H5Pget_filter_by_id1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MethodHandle H5Pget_filter_by_id1$handle() { return H5Pget_filter_by_id1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static MemorySegment H5Pget_filter_by_id1$address() { return H5Pget_filter_by_id1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_filter_by_id1(hid_t plist_id, H5Z_filter_t id, unsigned int *flags, size_t *cd_nelmts,
+ * unsigned int cd_values[], size_t namelen, char name[])
+ * }
+ */
+ public static int H5Pget_filter_by_id1(long plist_id, int id, MemorySegment flags,
+ MemorySegment cd_nelmts, MemorySegment cd_values, long namelen,
+ MemorySegment name)
+ {
+ var mh$ = H5Pget_filter_by_id1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_filter_by_id1", plist_id, id, flags, cd_nelmts, cd_values, namelen,
+ name);
+ }
+ return (int)mh$.invokeExact(plist_id, id, flags, cd_nelmts, cd_values, namelen, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_version {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_version");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_version$descriptor() { return H5Pget_version.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static MethodHandle H5Pget_version$handle() { return H5Pget_version.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static MemorySegment H5Pget_version$address() { return H5Pget_version.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_version(hid_t plist_id, unsigned int *boot, unsigned int *freelist, unsigned int *stab,
+ * unsigned int *shhdr)
+ * }
+ */
+ public static int H5Pget_version(long plist_id, MemorySegment boot, MemorySegment freelist,
+ MemorySegment stab, MemorySegment shhdr)
+ {
+ var mh$ = H5Pget_version.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_version", plist_id, boot, freelist, stab, shhdr);
+ }
+ return (int)mh$.invokeExact(plist_id, boot, freelist, stab, shhdr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_file_space {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_file_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_file_space$descriptor() { return H5Pset_file_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static MethodHandle H5Pset_file_space$handle() { return H5Pset_file_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static MemorySegment H5Pset_file_space$address() { return H5Pset_file_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_file_space(hid_t plist_id, H5F_file_space_type_t strategy, hsize_t threshold)
+ * }
+ */
+ public static int H5Pset_file_space(long plist_id, int strategy, long threshold)
+ {
+ var mh$ = H5Pset_file_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_file_space", plist_id, strategy, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_file_space {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_file_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_file_space$descriptor() { return H5Pget_file_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static MethodHandle H5Pget_file_space$handle() { return H5Pget_file_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static MemorySegment H5Pget_file_space$address() { return H5Pget_file_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_file_space(hid_t plist_id, H5F_file_space_type_t *strategy, hsize_t *threshold)
+ * }
+ */
+ public static int H5Pget_file_space(long plist_id, MemorySegment strategy, MemorySegment threshold)
+ {
+ var mh$ = H5Pget_file_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_file_space", plist_id, strategy, threshold);
+ }
+ return (int)mh$.invokeExact(plist_id, strategy, threshold);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5PL_TYPE_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_ERROR = -1
+ * }
+ */
+ public static int H5PL_TYPE_ERROR() { return H5PL_TYPE_ERROR; }
+ private static final int H5PL_TYPE_FILTER = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_FILTER = 0
+ * }
+ */
+ public static int H5PL_TYPE_FILTER() { return H5PL_TYPE_FILTER; }
+ private static final int H5PL_TYPE_VOL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_VOL = 1
+ * }
+ */
+ public static int H5PL_TYPE_VOL() { return H5PL_TYPE_VOL; }
+ private static final int H5PL_TYPE_VFD = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_VFD = 2
+ * }
+ */
+ public static int H5PL_TYPE_VFD() { return H5PL_TYPE_VFD; }
+ private static final int H5PL_TYPE_NONE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5PL_type_t.H5PL_TYPE_NONE = 3
+ * }
+ */
+ public static int H5PL_TYPE_NONE() { return H5PL_TYPE_NONE; }
+
+ private static class H5PLset_loading_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLset_loading_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static FunctionDescriptor H5PLset_loading_state$descriptor() { return H5PLset_loading_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static MethodHandle H5PLset_loading_state$handle() { return H5PLset_loading_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static MemorySegment H5PLset_loading_state$address() { return H5PLset_loading_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLset_loading_state(unsigned int plugin_control_mask)
+ * }
+ */
+ public static int H5PLset_loading_state(int plugin_control_mask)
+ {
+ var mh$ = H5PLset_loading_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLset_loading_state", plugin_control_mask);
+ }
+ return (int)mh$.invokeExact(plugin_control_mask);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLget_loading_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLget_loading_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static FunctionDescriptor H5PLget_loading_state$descriptor() { return H5PLget_loading_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static MethodHandle H5PLget_loading_state$handle() { return H5PLget_loading_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static MemorySegment H5PLget_loading_state$address() { return H5PLget_loading_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLget_loading_state(unsigned int *plugin_control_mask)
+ * }
+ */
+ public static int H5PLget_loading_state(MemorySegment plugin_control_mask)
+ {
+ var mh$ = H5PLget_loading_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLget_loading_state", plugin_control_mask);
+ }
+ return (int)mh$.invokeExact(plugin_control_mask);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLappend {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLappend");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static FunctionDescriptor H5PLappend$descriptor() { return H5PLappend.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static MethodHandle H5PLappend$handle() { return H5PLappend.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static MemorySegment H5PLappend$address() { return H5PLappend.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLappend(const char *search_path)
+ * }
+ */
+ public static int H5PLappend(MemorySegment search_path)
+ {
+ var mh$ = H5PLappend.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLappend", search_path);
+ }
+ return (int)mh$.invokeExact(search_path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLprepend {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLprepend");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static FunctionDescriptor H5PLprepend$descriptor() { return H5PLprepend.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static MethodHandle H5PLprepend$handle() { return H5PLprepend.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static MemorySegment H5PLprepend$address() { return H5PLprepend.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLprepend(const char *search_path)
+ * }
+ */
+ public static int H5PLprepend(MemorySegment search_path)
+ {
+ var mh$ = H5PLprepend.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLprepend", search_path);
+ }
+ return (int)mh$.invokeExact(search_path);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLreplace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLreplace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static FunctionDescriptor H5PLreplace$descriptor() { return H5PLreplace.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MethodHandle H5PLreplace$handle() { return H5PLreplace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MemorySegment H5PLreplace$address() { return H5PLreplace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLreplace(const char *search_path, unsigned int index)
+ * }
+ */
+ public static int H5PLreplace(MemorySegment search_path, int index)
+ {
+ var mh$ = H5PLreplace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLreplace", search_path, index);
+ }
+ return (int)mh$.invokeExact(search_path, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLinsert {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLinsert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static FunctionDescriptor H5PLinsert$descriptor() { return H5PLinsert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MethodHandle H5PLinsert$handle() { return H5PLinsert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static MemorySegment H5PLinsert$address() { return H5PLinsert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLinsert(const char *search_path, unsigned int index)
+ * }
+ */
+ public static int H5PLinsert(MemorySegment search_path, int index)
+ {
+ var mh$ = H5PLinsert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLinsert", search_path, index);
+ }
+ return (int)mh$.invokeExact(search_path, index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLremove {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLremove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static FunctionDescriptor H5PLremove$descriptor() { return H5PLremove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static MethodHandle H5PLremove$handle() { return H5PLremove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static MemorySegment H5PLremove$address() { return H5PLremove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLremove(unsigned int index)
+ * }
+ */
+ public static int H5PLremove(int index)
+ {
+ var mh$ = H5PLremove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLremove", index);
+ }
+ return (int)mh$.invokeExact(index);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLget {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLget");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5PLget$descriptor() { return H5PLget.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5PLget$handle() { return H5PLget.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5PLget$address() { return H5PLget.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5PLget(unsigned int index, char *path_buf, size_t buf_size)
+ * }
+ */
+ public static long H5PLget(int index, MemorySegment path_buf, long buf_size)
+ {
+ var mh$ = H5PLget.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLget", index, path_buf, buf_size);
+ }
+ return (long)mh$.invokeExact(index, path_buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5PLsize {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5PLsize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static FunctionDescriptor H5PLsize$descriptor() { return H5PLsize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static MethodHandle H5PLsize$handle() { return H5PLsize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static MemorySegment H5PLsize$address() { return H5PLsize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5PLsize(unsigned int *num_paths)
+ * }
+ */
+ public static int H5PLsize(MemorySegment num_paths)
+ {
+ var mh$ = H5PLsize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5PLsize", num_paths);
+ }
+ return (int)mh$.invokeExact(num_paths);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESinsert_request {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESinsert_request");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static FunctionDescriptor H5ESinsert_request$descriptor() { return H5ESinsert_request.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static MethodHandle H5ESinsert_request$handle() { return H5ESinsert_request.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static MemorySegment H5ESinsert_request$address() { return H5ESinsert_request.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESinsert_request(hid_t es_id, hid_t connector_id, void *request)
+ * }
+ */
+ public static int H5ESinsert_request(long es_id, long connector_id, MemorySegment request)
+ {
+ var mh$ = H5ESinsert_request.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESinsert_request", es_id, connector_id, request);
+ }
+ return (int)mh$.invokeExact(es_id, connector_id, request);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_requests {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_requests");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_requests$descriptor() { return H5ESget_requests.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static MethodHandle H5ESget_requests$handle() { return H5ESget_requests.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static MemorySegment H5ESget_requests$address() { return H5ESget_requests.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_requests(hid_t es_id, H5_iter_order_t order, hid_t *connector_ids, void **requests,
+ * size_t array_len, size_t *count)
+ * }
+ */
+ public static int H5ESget_requests(long es_id, int order, MemorySegment connector_ids,
+ MemorySegment requests, long array_len, MemorySegment count)
+ {
+ var mh$ = H5ESget_requests.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_requests", es_id, order, connector_ids, requests, array_len, count);
+ }
+ return (int)mh$.invokeExact(es_id, order, connector_ids, requests, array_len, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static FunctionDescriptor H5FDregister$descriptor() { return H5FDregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static MethodHandle H5FDregister$handle() { return H5FDregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static MemorySegment H5FDregister$address() { return H5FDregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5FDregister(const H5FD_class_t *cls)
+ * }
+ */
+ public static long H5FDregister(MemorySegment cls)
+ {
+ var mh$ = H5FDregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDregister", cls);
+ }
+ return (long)mh$.invokeExact(cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDis_driver_registered_by_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDis_driver_registered_by_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static FunctionDescriptor H5FDis_driver_registered_by_name$descriptor()
+ {
+ return H5FDis_driver_registered_by_name.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static MethodHandle H5FDis_driver_registered_by_name$handle()
+ {
+ return H5FDis_driver_registered_by_name.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static MemorySegment H5FDis_driver_registered_by_name$address()
+ {
+ return H5FDis_driver_registered_by_name.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_name(const char *driver_name)
+ * }
+ */
+ public static int H5FDis_driver_registered_by_name(MemorySegment driver_name)
+ {
+ var mh$ = H5FDis_driver_registered_by_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDis_driver_registered_by_name", driver_name);
+ }
+ return (int)mh$.invokeExact(driver_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDis_driver_registered_by_value {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDis_driver_registered_by_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static FunctionDescriptor H5FDis_driver_registered_by_value$descriptor()
+ {
+ return H5FDis_driver_registered_by_value.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static MethodHandle H5FDis_driver_registered_by_value$handle()
+ {
+ return H5FDis_driver_registered_by_value.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static MemorySegment H5FDis_driver_registered_by_value$address()
+ {
+ return H5FDis_driver_registered_by_value.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5FDis_driver_registered_by_value(H5FD_class_value_t driver_value)
+ * }
+ */
+ public static int H5FDis_driver_registered_by_value(int driver_value)
+ {
+ var mh$ = H5FDis_driver_registered_by_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDis_driver_registered_by_value", driver_value);
+ }
+ return (int)mh$.invokeExact(driver_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static FunctionDescriptor H5FDunregister$descriptor() { return H5FDunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static MethodHandle H5FDunregister$handle() { return H5FDunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static MemorySegment H5FDunregister$address() { return H5FDunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDunregister(hid_t driver_id)
+ * }
+ */
+ public static int H5FDunregister(long driver_id)
+ {
+ var mh$ = H5FDunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDunregister", driver_id);
+ }
+ return (int)mh$.invokeExact(driver_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDopen {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static FunctionDescriptor H5FDopen$descriptor() { return H5FDopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static MethodHandle H5FDopen$handle() { return H5FDopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static MemorySegment H5FDopen$address() { return H5FDopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5FD_t *H5FDopen(const char *name, unsigned int flags, hid_t fapl_id, haddr_t maxaddr)
+ * }
+ */
+ public static MemorySegment H5FDopen(MemorySegment name, int flags, long fapl_id, long maxaddr)
+ {
+ var mh$ = H5FDopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDopen", name, flags, fapl_id, maxaddr);
+ }
+ return (MemorySegment)mh$.invokeExact(name, flags, fapl_id, maxaddr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static FunctionDescriptor H5FDclose$descriptor() { return H5FDclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static MethodHandle H5FDclose$handle() { return H5FDclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static MemorySegment H5FDclose$address() { return H5FDclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDclose(H5FD_t *file)
+ * }
+ */
+ public static int H5FDclose(MemorySegment file)
+ {
+ var mh$ = H5FDclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDclose", file);
+ }
+ return (int)mh$.invokeExact(file);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDcmp {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDcmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static FunctionDescriptor H5FDcmp$descriptor() { return H5FDcmp.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static MethodHandle H5FDcmp$handle() { return H5FDcmp.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static MemorySegment H5FDcmp$address() { return H5FDcmp.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2)
+ * }
+ */
+ public static int H5FDcmp(MemorySegment f1, MemorySegment f2)
+ {
+ var mh$ = H5FDcmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDcmp", f1, f2);
+ }
+ return (int)mh$.invokeExact(f1, f2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDquery {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDquery");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static FunctionDescriptor H5FDquery$descriptor() { return H5FDquery.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static MethodHandle H5FDquery$handle() { return H5FDquery.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static MemorySegment H5FDquery$address() { return H5FDquery.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDquery(const H5FD_t *f, unsigned long *flags)
+ * }
+ */
+ public static int H5FDquery(MemorySegment f, MemorySegment flags)
+ {
+ var mh$ = H5FDquery.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDquery", f, flags);
+ }
+ return (int)mh$.invokeExact(f, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDalloc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDalloc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5FDalloc$descriptor() { return H5FDalloc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5FDalloc$handle() { return H5FDalloc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5FDalloc$address() { return H5FDalloc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size)
+ * }
+ */
+ public static long H5FDalloc(MemorySegment file, int type, long dxpl_id, long size)
+ {
+ var mh$ = H5FDalloc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDalloc", file, type, dxpl_id, size);
+ }
+ return (long)mh$.invokeExact(file, type, dxpl_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDfree {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDfree");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static FunctionDescriptor H5FDfree$descriptor() { return H5FDfree.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static MethodHandle H5FDfree$handle() { return H5FDfree.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static MemorySegment H5FDfree$address() { return H5FDfree.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size)
+ * }
+ */
+ public static int H5FDfree(MemorySegment file, int type, long dxpl_id, long addr, long size)
+ {
+ var mh$ = H5FDfree.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDfree", file, type, dxpl_id, addr, size);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, addr, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDget_eoa {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDget_eoa");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static FunctionDescriptor H5FDget_eoa$descriptor() { return H5FDget_eoa.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MethodHandle H5FDget_eoa$handle() { return H5FDget_eoa.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MemorySegment H5FDget_eoa$address() { return H5FDget_eoa.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eoa(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static long H5FDget_eoa(MemorySegment file, int type)
+ {
+ var mh$ = H5FDget_eoa.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDget_eoa", file, type);
+ }
+ return (long)mh$.invokeExact(file, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDset_eoa {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDset_eoa");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static FunctionDescriptor H5FDset_eoa$descriptor() { return H5FDset_eoa.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static MethodHandle H5FDset_eoa$handle() { return H5FDset_eoa.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static MemorySegment H5FDset_eoa$address() { return H5FDset_eoa.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDset_eoa(H5FD_t *file, H5FD_mem_t type, haddr_t eoa)
+ * }
+ */
+ public static int H5FDset_eoa(MemorySegment file, int type, long eoa)
+ {
+ var mh$ = H5FDset_eoa.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDset_eoa", file, type, eoa);
+ }
+ return (int)mh$.invokeExact(file, type, eoa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDget_eof {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDget_eof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static FunctionDescriptor H5FDget_eof$descriptor() { return H5FDget_eof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MethodHandle H5FDget_eof$handle() { return H5FDget_eof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static MemorySegment H5FDget_eof$address() { return H5FDget_eof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5FDget_eof(H5FD_t *file, H5FD_mem_t type)
+ * }
+ */
+ public static long H5FDget_eof(MemorySegment file, int type)
+ {
+ var mh$ = H5FDget_eof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDget_eof", file, type);
+ }
+ return (long)mh$.invokeExact(file, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDget_vfd_handle {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDget_vfd_handle");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static FunctionDescriptor H5FDget_vfd_handle$descriptor() { return H5FDget_vfd_handle.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MethodHandle H5FDget_vfd_handle$handle() { return H5FDget_vfd_handle.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MemorySegment H5FDget_vfd_handle$address() { return H5FDget_vfd_handle.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDget_vfd_handle(H5FD_t *file, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static int H5FDget_vfd_handle(MemorySegment file, long fapl, MemorySegment file_handle)
+ {
+ var mh$ = H5FDget_vfd_handle.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDget_vfd_handle", file, fapl, file_handle);
+ }
+ return (int)mh$.invokeExact(file, fapl, file_handle);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5FDread$descriptor() { return H5FDread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static MethodHandle H5FDread$handle() { return H5FDread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static MemorySegment H5FDread$address() { return H5FDread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf)
+ * }
+ */
+ public static int H5FDread(MemorySegment file, int type, long dxpl_id, long addr, long size,
+ MemorySegment buf)
+ {
+ var mh$ = H5FDread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread", file, type, dxpl_id, addr, size, buf);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, addr, size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite$descriptor() { return H5FDwrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static MethodHandle H5FDwrite$handle() { return H5FDwrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static MemorySegment H5FDwrite$address() { return H5FDwrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void
+ * *buf)
+ * }
+ */
+ public static int H5FDwrite(MemorySegment file, int type, long dxpl_id, long addr, long size,
+ MemorySegment buf)
+ {
+ var mh$ = H5FDwrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite", file, type, dxpl_id, addr, size, buf);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, addr, size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_vector {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_vector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_vector$descriptor() { return H5FDread_vector.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_vector$handle() { return H5FDread_vector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_vector$address() { return H5FDread_vector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_vector(MemorySegment file, long dxpl_id, int count, MemorySegment types,
+ MemorySegment addrs, MemorySegment sizes, MemorySegment bufs)
+ {
+ var mh$ = H5FDread_vector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_vector", file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_vector {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_vector");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_vector$descriptor() { return H5FDwrite_vector.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_vector$handle() { return H5FDwrite_vector.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_vector$address() { return H5FDwrite_vector.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector(H5FD_t *file, hid_t dxpl_id, uint32_t count, H5FD_mem_t types[], haddr_t
+ * addrs[], size_t sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_vector(MemorySegment file, long dxpl_id, int count, MemorySegment types,
+ MemorySegment addrs, MemorySegment sizes, MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_vector.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_vector", file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, count, types, addrs, sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_selection$descriptor() { return H5FDread_selection.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_selection$handle() { return H5FDread_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_selection$address() { return H5FDread_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDread_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_selection", file, type, dxpl_id, count, mem_spaces, file_spaces,
+ offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_selection$descriptor() { return H5FDwrite_selection.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_selection$handle() { return H5FDwrite_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_selection$address() { return H5FDwrite_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_selection", file, type, dxpl_id, count, mem_spaces, file_spaces,
+ offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_vector_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_vector_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_vector_from_selection$descriptor()
+ {
+ return H5FDread_vector_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_vector_from_selection$handle()
+ {
+ return H5FDread_vector_from_selection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_vector_from_selection$address()
+ {
+ return H5FDread_vector_from_selection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_vector_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDread_vector_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_vector_from_selection", file, type, dxpl_id, count, mem_spaces,
+ file_spaces, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_vector_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_vector_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_vector_from_selection$descriptor()
+ {
+ return H5FDwrite_vector_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_vector_from_selection$handle()
+ {
+ return H5FDwrite_vector_from_selection.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_vector_from_selection$address()
+ {
+ return H5FDwrite_vector_from_selection.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_vector_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count,
+ * hid_t mem_spaces[], hid_t file_spaces[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_vector_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_spaces, MemorySegment file_spaces,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_vector_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_vector_from_selection", file, type, dxpl_id, count, mem_spaces,
+ file_spaces, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_spaces, file_spaces, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDread_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDread_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDread_from_selection$descriptor()
+ {
+ return H5FDread_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDread_from_selection$handle() { return H5FDread_from_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDread_from_selection$address() { return H5FDread_from_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDread_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], void *bufs[])
+ * }
+ */
+ public static int H5FDread_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_space_ids, MemorySegment file_space_ids,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDread_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDread_from_selection", file, type, dxpl_id, count, mem_space_ids,
+ file_space_ids, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_space_ids, file_space_ids, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDwrite_from_selection {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDwrite_from_selection");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static FunctionDescriptor H5FDwrite_from_selection$descriptor()
+ {
+ return H5FDwrite_from_selection.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MethodHandle H5FDwrite_from_selection$handle() { return H5FDwrite_from_selection.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static MemorySegment H5FDwrite_from_selection$address() { return H5FDwrite_from_selection.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDwrite_from_selection(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, uint32_t count, hid_t
+ * mem_space_ids[], hid_t file_space_ids[], haddr_t offsets[], size_t element_sizes[], const void *bufs[])
+ * }
+ */
+ public static int H5FDwrite_from_selection(MemorySegment file, int type, long dxpl_id, int count,
+ MemorySegment mem_space_ids, MemorySegment file_space_ids,
+ MemorySegment offsets, MemorySegment element_sizes,
+ MemorySegment bufs)
+ {
+ var mh$ = H5FDwrite_from_selection.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDwrite_from_selection", file, type, dxpl_id, count, mem_space_ids,
+ file_space_ids, offsets, element_sizes, bufs);
+ }
+ return (int)mh$.invokeExact(file, type, dxpl_id, count, mem_space_ids, file_space_ids, offsets,
+ element_sizes, bufs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDflush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static FunctionDescriptor H5FDflush$descriptor() { return H5FDflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MethodHandle H5FDflush$handle() { return H5FDflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MemorySegment H5FDflush$address() { return H5FDflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDflush(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static int H5FDflush(MemorySegment file, long dxpl_id, boolean closing)
+ {
+ var mh$ = H5FDflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDflush", file, dxpl_id, closing);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, closing);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDtruncate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDtruncate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static FunctionDescriptor H5FDtruncate$descriptor() { return H5FDtruncate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MethodHandle H5FDtruncate$handle() { return H5FDtruncate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static MemorySegment H5FDtruncate$address() { return H5FDtruncate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDtruncate(H5FD_t *file, hid_t dxpl_id, bool closing)
+ * }
+ */
+ public static int H5FDtruncate(MemorySegment file, long dxpl_id, boolean closing)
+ {
+ var mh$ = H5FDtruncate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDtruncate", file, dxpl_id, closing);
+ }
+ return (int)mh$.invokeExact(file, dxpl_id, closing);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDlock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDlock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static FunctionDescriptor H5FDlock$descriptor() { return H5FDlock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static MethodHandle H5FDlock$handle() { return H5FDlock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static MemorySegment H5FDlock$address() { return H5FDlock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDlock(H5FD_t *file, bool rw)
+ * }
+ */
+ public static int H5FDlock(MemorySegment file, boolean rw)
+ {
+ var mh$ = H5FDlock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDlock", file, rw);
+ }
+ return (int)mh$.invokeExact(file, rw);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDunlock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDunlock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static FunctionDescriptor H5FDunlock$descriptor() { return H5FDunlock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static MethodHandle H5FDunlock$handle() { return H5FDunlock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static MemorySegment H5FDunlock$address() { return H5FDunlock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDunlock(H5FD_t *file)
+ * }
+ */
+ public static int H5FDunlock(MemorySegment file)
+ {
+ var mh$ = H5FDunlock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDunlock", file);
+ }
+ return (int)mh$.invokeExact(file);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDdelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDdelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5FDdelete$descriptor() { return H5FDdelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5FDdelete$handle() { return H5FDdelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5FDdelete$address() { return H5FDdelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDdelete(const char *name, hid_t fapl_id)
+ * }
+ */
+ public static int H5FDdelete(MemorySegment name, long fapl_id)
+ {
+ var mh$ = H5FDdelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDdelete", name, fapl_id);
+ }
+ return (int)mh$.invokeExact(name, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDctl {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDctl");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static FunctionDescriptor H5FDctl$descriptor() { return H5FDctl.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static MethodHandle H5FDctl$handle() { return H5FDctl.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static MemorySegment H5FDctl$address() { return H5FDctl.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDctl(H5FD_t *file, uint64_t op_code, uint64_t flags, const void *input, void **output)
+ * }
+ */
+ public static int H5FDctl(MemorySegment file, long op_code, long flags, MemorySegment input,
+ MemorySegment output)
+ {
+ var mh$ = H5FDctl.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDctl", file, op_code, flags, input, output);
+ }
+ return (int)mh$.invokeExact(file, op_code, flags, input, output);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Iregister_future {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Iregister_future");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static FunctionDescriptor H5Iregister_future$descriptor() { return H5Iregister_future.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static MethodHandle H5Iregister_future$handle() { return H5Iregister_future.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static MemorySegment H5Iregister_future$address() { return H5Iregister_future.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Iregister_future(H5I_type_t type, const void *object, H5I_future_realize_func_t realize_cb,
+ * H5I_future_discard_func_t discard_cb)
+ * }
+ */
+ public static long H5Iregister_future(int type, MemorySegment object, MemorySegment realize_cb,
+ MemorySegment discard_cb)
+ {
+ var mh$ = H5Iregister_future.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Iregister_future", type, object, realize_cb, discard_cb);
+ }
+ return (long)mh$.invokeExact(type, object, realize_cb, discard_cb);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static FunctionDescriptor H5Lregister$descriptor() { return H5Lregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static MethodHandle H5Lregister$handle() { return H5Lregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static MemorySegment H5Lregister$address() { return H5Lregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lregister(const H5L_class_t *cls)
+ * }
+ */
+ public static int H5Lregister(MemorySegment cls)
+ {
+ var mh$ = H5Lregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lregister", cls);
+ }
+ return (int)mh$.invokeExact(cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Lunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Lunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Lunregister$descriptor() { return H5Lunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static MethodHandle H5Lunregister$handle() { return H5Lunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static MemorySegment H5Lunregister$address() { return H5Lunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Lunregister(H5L_type_t id)
+ * }
+ */
+ public static int H5Lunregister(int id)
+ {
+ var mh$ = H5Lunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Lunregister", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5T_CONV_INIT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cmd_t.H5T_CONV_INIT = 0
+ * }
+ */
+ public static int H5T_CONV_INIT() { return H5T_CONV_INIT; }
+ private static final int H5T_CONV_CONV = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cmd_t.H5T_CONV_CONV = 1
+ * }
+ */
+ public static int H5T_CONV_CONV() { return H5T_CONV_CONV; }
+ private static final int H5T_CONV_FREE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_cmd_t.H5T_CONV_FREE = 2
+ * }
+ */
+ public static int H5T_CONV_FREE() { return H5T_CONV_FREE; }
+ private static final int H5T_BKG_NO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_bkg_t.H5T_BKG_NO = 0
+ * }
+ */
+ public static int H5T_BKG_NO() { return H5T_BKG_NO; }
+ private static final int H5T_BKG_TEMP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_bkg_t.H5T_BKG_TEMP = 1
+ * }
+ */
+ public static int H5T_BKG_TEMP() { return H5T_BKG_TEMP; }
+ private static final int H5T_BKG_YES = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_bkg_t.H5T_BKG_YES = 2
+ * }
+ */
+ public static int H5T_BKG_YES() { return H5T_BKG_YES; }
+ private static final int H5T_PERS_DONTCARE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pers_t.H5T_PERS_DONTCARE = -1
+ * }
+ */
+ public static int H5T_PERS_DONTCARE() { return H5T_PERS_DONTCARE; }
+ private static final int H5T_PERS_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pers_t.H5T_PERS_HARD = 0
+ * }
+ */
+ public static int H5T_PERS_HARD() { return H5T_PERS_HARD; }
+ private static final int H5T_PERS_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5T_pers_t.H5T_PERS_SOFT = 1
+ * }
+ */
+ public static int H5T_PERS_SOFT() { return H5T_PERS_SOFT; }
+
+ private static class H5Tregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static FunctionDescriptor H5Tregister$descriptor() { return H5Tregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MethodHandle H5Tregister$handle() { return H5Tregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MemorySegment H5Tregister$address() { return H5Tregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static int H5Tregister(int pers, MemorySegment name, long src_id, long dst_id, MemorySegment func)
+ {
+ var mh$ = H5Tregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tregister", pers, name, src_id, dst_id, func);
+ }
+ return (int)mh$.invokeExact(pers, name, src_id, dst_id, func);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tunregister {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static FunctionDescriptor H5Tunregister$descriptor() { return H5Tunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MethodHandle H5Tunregister$handle() { return H5Tunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static MemorySegment H5Tunregister$address() { return H5Tunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id, H5T_conv_t func)
+ * }
+ */
+ public static int H5Tunregister(int pers, MemorySegment name, long src_id, long dst_id,
+ MemorySegment func)
+ {
+ var mh$ = H5Tunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tunregister", pers, name, src_id, dst_id, func);
+ }
+ return (int)mh$.invokeExact(pers, name, src_id, dst_id, func);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tfind {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tfind");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static FunctionDescriptor H5Tfind$descriptor() { return H5Tfind.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static MethodHandle H5Tfind$handle() { return H5Tfind.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static MemorySegment H5Tfind$address() { return H5Tfind.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * H5T_conv_t H5Tfind(hid_t src_id, hid_t dst_id, H5T_cdata_t **pcdata)
+ * }
+ */
+ public static MemorySegment H5Tfind(long src_id, long dst_id, MemorySegment pcdata)
+ {
+ var mh$ = H5Tfind.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tfind", src_id, dst_id, pcdata);
+ }
+ return (MemorySegment)mh$.invokeExact(src_id, dst_id, pcdata);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Tcompiler_conv {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Tcompiler_conv");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static FunctionDescriptor H5Tcompiler_conv$descriptor() { return H5Tcompiler_conv.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static MethodHandle H5Tcompiler_conv$handle() { return H5Tcompiler_conv.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static MemorySegment H5Tcompiler_conv$address() { return H5Tcompiler_conv.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Tcompiler_conv(hid_t src_id, hid_t dst_id)
+ * }
+ */
+ public static int H5Tcompiler_conv(long src_id, long dst_id)
+ {
+ var mh$ = H5Tcompiler_conv.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Tcompiler_conv", src_id, dst_id);
+ }
+ return (int)mh$.invokeExact(src_id, dst_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5TSmutex_acquire {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5TSmutex_acquire");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static FunctionDescriptor H5TSmutex_acquire$descriptor() { return H5TSmutex_acquire.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static MethodHandle H5TSmutex_acquire$handle() { return H5TSmutex_acquire.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static MemorySegment H5TSmutex_acquire$address() { return H5TSmutex_acquire.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_acquire(unsigned int lock_count, bool *acquired)
+ * }
+ */
+ public static int H5TSmutex_acquire(int lock_count, MemorySegment acquired)
+ {
+ var mh$ = H5TSmutex_acquire.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5TSmutex_acquire", lock_count, acquired);
+ }
+ return (int)mh$.invokeExact(lock_count, acquired);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5TSmutex_release {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5TSmutex_release");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static FunctionDescriptor H5TSmutex_release$descriptor() { return H5TSmutex_release.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static MethodHandle H5TSmutex_release$handle() { return H5TSmutex_release.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static MemorySegment H5TSmutex_release$address() { return H5TSmutex_release.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_release(unsigned int *lock_count)
+ * }
+ */
+ public static int H5TSmutex_release(MemorySegment lock_count)
+ {
+ var mh$ = H5TSmutex_release.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5TSmutex_release", lock_count);
+ }
+ return (int)mh$.invokeExact(lock_count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5TSmutex_get_attempt_count {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5TSmutex_get_attempt_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static FunctionDescriptor H5TSmutex_get_attempt_count$descriptor()
+ {
+ return H5TSmutex_get_attempt_count.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static MethodHandle H5TSmutex_get_attempt_count$handle()
+ {
+ return H5TSmutex_get_attempt_count.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static MemorySegment H5TSmutex_get_attempt_count$address()
+ {
+ return H5TSmutex_get_attempt_count.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5TSmutex_get_attempt_count(unsigned int *count)
+ * }
+ */
+ public static int H5TSmutex_get_attempt_count(MemorySegment count)
+ {
+ var mh$ = H5TSmutex_get_attempt_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5TSmutex_get_attempt_count", count);
+ }
+ return (int)mh$.invokeExact(count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Zregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static FunctionDescriptor H5Zregister$descriptor() { return H5Zregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static MethodHandle H5Zregister$handle() { return H5Zregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static MemorySegment H5Zregister$address() { return H5Zregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Zregister(const void *cls)
+ * }
+ */
+ public static int H5Zregister(MemorySegment cls)
+ {
+ var mh$ = H5Zregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zregister", cls);
+ }
+ return (int)mh$.invokeExact(cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Zunregister {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Zunregister");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static FunctionDescriptor H5Zunregister$descriptor() { return H5Zunregister.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static MethodHandle H5Zunregister$handle() { return H5Zunregister.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static MemorySegment H5Zunregister$address() { return H5Zunregister.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Zunregister(H5Z_filter_t id)
+ * }
+ */
+ public static int H5Zunregister(int id)
+ {
+ var mh$ = H5Zunregister.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Zunregister", id);
+ }
+ return (int)mh$.invokeExact(id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLcmp_connector_cls {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLcmp_connector_cls");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static FunctionDescriptor H5VLcmp_connector_cls$descriptor() { return H5VLcmp_connector_cls.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static MethodHandle H5VLcmp_connector_cls$handle() { return H5VLcmp_connector_cls.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static MemorySegment H5VLcmp_connector_cls$address() { return H5VLcmp_connector_cls.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_cls(int *cmp, hid_t connector_id1, hid_t connector_id2)
+ * }
+ */
+ public static int H5VLcmp_connector_cls(MemorySegment cmp, long connector_id1, long connector_id2)
+ {
+ var mh$ = H5VLcmp_connector_cls.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLcmp_connector_cls", cmp, connector_id1, connector_id2);
+ }
+ return (int)mh$.invokeExact(cmp, connector_id1, connector_id2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLwrap_register {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLwrap_register");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static FunctionDescriptor H5VLwrap_register$descriptor() { return H5VLwrap_register.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static MethodHandle H5VLwrap_register$handle() { return H5VLwrap_register.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static MemorySegment H5VLwrap_register$address() { return H5VLwrap_register.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5VLwrap_register(void *obj, H5I_type_t type)
+ * }
+ */
+ public static long H5VLwrap_register(MemorySegment obj, int type)
+ {
+ var mh$ = H5VLwrap_register.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLwrap_register", obj, type);
+ }
+ return (long)mh$.invokeExact(obj, type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLretrieve_lib_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLretrieve_lib_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static FunctionDescriptor H5VLretrieve_lib_state$descriptor()
+ {
+ return H5VLretrieve_lib_state.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static MethodHandle H5VLretrieve_lib_state$handle() { return H5VLretrieve_lib_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static MemorySegment H5VLretrieve_lib_state$address() { return H5VLretrieve_lib_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLretrieve_lib_state(void **state)
+ * }
+ */
+ public static int H5VLretrieve_lib_state(MemorySegment state)
+ {
+ var mh$ = H5VLretrieve_lib_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLretrieve_lib_state", state);
+ }
+ return (int)mh$.invokeExact(state);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLopen_lib_context {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLopen_lib_context");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static FunctionDescriptor H5VLopen_lib_context$descriptor() { return H5VLopen_lib_context.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static MethodHandle H5VLopen_lib_context$handle() { return H5VLopen_lib_context.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static MemorySegment H5VLopen_lib_context$address() { return H5VLopen_lib_context.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLopen_lib_context(void **context)
+ * }
+ */
+ public static int H5VLopen_lib_context(MemorySegment context)
+ {
+ var mh$ = H5VLopen_lib_context.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLopen_lib_context", context);
+ }
+ return (int)mh$.invokeExact(context);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrestore_lib_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrestore_lib_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static FunctionDescriptor H5VLrestore_lib_state$descriptor() { return H5VLrestore_lib_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static MethodHandle H5VLrestore_lib_state$handle() { return H5VLrestore_lib_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static MemorySegment H5VLrestore_lib_state$address() { return H5VLrestore_lib_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrestore_lib_state(const void *state)
+ * }
+ */
+ public static int H5VLrestore_lib_state(MemorySegment state)
+ {
+ var mh$ = H5VLrestore_lib_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrestore_lib_state", state);
+ }
+ return (int)mh$.invokeExact(state);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLclose_lib_context {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLclose_lib_context");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static FunctionDescriptor H5VLclose_lib_context$descriptor() { return H5VLclose_lib_context.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static MethodHandle H5VLclose_lib_context$handle() { return H5VLclose_lib_context.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static MemorySegment H5VLclose_lib_context$address() { return H5VLclose_lib_context.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLclose_lib_context(void *context)
+ * }
+ */
+ public static int H5VLclose_lib_context(MemorySegment context)
+ {
+ var mh$ = H5VLclose_lib_context.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLclose_lib_context", context);
+ }
+ return (int)mh$.invokeExact(context);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfree_lib_state {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfree_lib_state");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static FunctionDescriptor H5VLfree_lib_state$descriptor() { return H5VLfree_lib_state.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static MethodHandle H5VLfree_lib_state$handle() { return H5VLfree_lib_state.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static MemorySegment H5VLfree_lib_state$address() { return H5VLfree_lib_state.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfree_lib_state(void *state)
+ * }
+ */
+ public static int H5VLfree_lib_state(MemorySegment state)
+ {
+ var mh$ = H5VLfree_lib_state.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfree_lib_state", state);
+ }
+ return (int)mh$.invokeExact(state);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_object$descriptor() { return H5VLget_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLget_object$handle() { return H5VLget_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLget_object$address() { return H5VLget_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLget_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLget_object(MemorySegment obj, long connector_id)
+ {
+ var mh$ = H5VLget_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_object", obj, connector_id);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_wrap_ctx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_wrap_ctx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_wrap_ctx$descriptor() { return H5VLget_wrap_ctx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static MethodHandle H5VLget_wrap_ctx$handle() { return H5VLget_wrap_ctx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static MemorySegment H5VLget_wrap_ctx$address() { return H5VLget_wrap_ctx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLget_wrap_ctx(void *obj, hid_t connector_id, void **wrap_ctx)
+ * }
+ */
+ public static int H5VLget_wrap_ctx(MemorySegment obj, long connector_id, MemorySegment wrap_ctx)
+ {
+ var mh$ = H5VLget_wrap_ctx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_wrap_ctx", obj, connector_id, wrap_ctx);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, wrap_ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLwrap_object {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLwrap_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLwrap_object$descriptor() { return H5VLwrap_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static MethodHandle H5VLwrap_object$handle() { return H5VLwrap_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static MemorySegment H5VLwrap_object$address() { return H5VLwrap_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLwrap_object(void *obj, H5I_type_t obj_type, hid_t connector_id, void *wrap_ctx)
+ * }
+ */
+ public static MemorySegment H5VLwrap_object(MemorySegment obj, int obj_type, long connector_id,
+ MemorySegment wrap_ctx)
+ {
+ var mh$ = H5VLwrap_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLwrap_object", obj, obj_type, connector_id, wrap_ctx);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, obj_type, connector_id, wrap_ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLunwrap_object {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLunwrap_object");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLunwrap_object$descriptor() { return H5VLunwrap_object.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLunwrap_object$handle() { return H5VLunwrap_object.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLunwrap_object$address() { return H5VLunwrap_object.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLunwrap_object(void *obj, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLunwrap_object(MemorySegment obj, long connector_id)
+ {
+ var mh$ = H5VLunwrap_object.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLunwrap_object", obj, connector_id);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfree_wrap_ctx {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfree_wrap_ctx");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLfree_wrap_ctx$descriptor() { return H5VLfree_wrap_ctx.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLfree_wrap_ctx$handle() { return H5VLfree_wrap_ctx.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLfree_wrap_ctx$address() { return H5VLfree_wrap_ctx.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfree_wrap_ctx(void *wrap_ctx, hid_t connector_id)
+ * }
+ */
+ public static int H5VLfree_wrap_ctx(MemorySegment wrap_ctx, long connector_id)
+ {
+ var mh$ = H5VLfree_wrap_ctx.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfree_wrap_ctx", wrap_ctx, connector_id);
+ }
+ return (int)mh$.invokeExact(wrap_ctx, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLinitialize {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLinitialize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLinitialize$descriptor() { return H5VLinitialize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static MethodHandle H5VLinitialize$handle() { return H5VLinitialize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static MemorySegment H5VLinitialize$address() { return H5VLinitialize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLinitialize(hid_t connector_id, hid_t vipl_id)
+ * }
+ */
+ public static int H5VLinitialize(long connector_id, long vipl_id)
+ {
+ var mh$ = H5VLinitialize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLinitialize", connector_id, vipl_id);
+ }
+ return (int)mh$.invokeExact(connector_id, vipl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLterminate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLterminate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLterminate$descriptor() { return H5VLterminate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLterminate$handle() { return H5VLterminate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLterminate$address() { return H5VLterminate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLterminate(hid_t connector_id)
+ * }
+ */
+ public static int H5VLterminate(long connector_id)
+ {
+ var mh$ = H5VLterminate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLterminate", connector_id);
+ }
+ return (int)mh$.invokeExact(connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_cap_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_cap_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_cap_flags$descriptor() { return H5VLget_cap_flags.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MethodHandle H5VLget_cap_flags$handle() { return H5VLget_cap_flags.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MemorySegment H5VLget_cap_flags$address() { return H5VLget_cap_flags.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLget_cap_flags(hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static int H5VLget_cap_flags(long connector_id, MemorySegment cap_flags)
+ {
+ var mh$ = H5VLget_cap_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_cap_flags", connector_id, cap_flags);
+ }
+ return (int)mh$.invokeExact(connector_id, cap_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLget_value {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLget_value");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLget_value$descriptor() { return H5VLget_value.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static MethodHandle H5VLget_value$handle() { return H5VLget_value.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static MemorySegment H5VLget_value$address() { return H5VLget_value.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLget_value(hid_t connector_id, H5VL_class_value_t *conn_value)
+ * }
+ */
+ public static int H5VLget_value(long connector_id, MemorySegment conn_value)
+ {
+ var mh$ = H5VLget_value.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLget_value", connector_id, conn_value);
+ }
+ return (int)mh$.invokeExact(connector_id, conn_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLcopy_connector_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLcopy_connector_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5VLcopy_connector_info$descriptor()
+ {
+ return H5VLcopy_connector_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static MethodHandle H5VLcopy_connector_info$handle() { return H5VLcopy_connector_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static MemorySegment H5VLcopy_connector_info$address() { return H5VLcopy_connector_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLcopy_connector_info(hid_t connector_id, void **dst_vol_info, void *src_vol_info)
+ * }
+ */
+ public static int H5VLcopy_connector_info(long connector_id, MemorySegment dst_vol_info,
+ MemorySegment src_vol_info)
+ {
+ var mh$ = H5VLcopy_connector_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLcopy_connector_info", connector_id, dst_vol_info, src_vol_info);
+ }
+ return (int)mh$.invokeExact(connector_id, dst_vol_info, src_vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLcmp_connector_info {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLcmp_connector_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static FunctionDescriptor H5VLcmp_connector_info$descriptor()
+ {
+ return H5VLcmp_connector_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static MethodHandle H5VLcmp_connector_info$handle() { return H5VLcmp_connector_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static MemorySegment H5VLcmp_connector_info$address() { return H5VLcmp_connector_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLcmp_connector_info(int *cmp, hid_t connector_id, const void *info1, const void *info2)
+ * }
+ */
+ public static int H5VLcmp_connector_info(MemorySegment cmp, long connector_id, MemorySegment info1,
+ MemorySegment info2)
+ {
+ var mh$ = H5VLcmp_connector_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLcmp_connector_info", cmp, connector_id, info1, info2);
+ }
+ return (int)mh$.invokeExact(cmp, connector_id, info1, info2);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfree_connector_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfree_connector_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static FunctionDescriptor H5VLfree_connector_info$descriptor()
+ {
+ return H5VLfree_connector_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static MethodHandle H5VLfree_connector_info$handle() { return H5VLfree_connector_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static MemorySegment H5VLfree_connector_info$address() { return H5VLfree_connector_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfree_connector_info(hid_t connector_id, void *vol_info)
+ * }
+ */
+ public static int H5VLfree_connector_info(long connector_id, MemorySegment vol_info)
+ {
+ var mh$ = H5VLfree_connector_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfree_connector_info", connector_id, vol_info);
+ }
+ return (int)mh$.invokeExact(connector_id, vol_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLconnector_info_to_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLconnector_info_to_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static FunctionDescriptor H5VLconnector_info_to_str$descriptor()
+ {
+ return H5VLconnector_info_to_str.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static MethodHandle H5VLconnector_info_to_str$handle() { return H5VLconnector_info_to_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static MemorySegment H5VLconnector_info_to_str$address() { return H5VLconnector_info_to_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_info_to_str(const void *info, hid_t connector_id, char **str)
+ * }
+ */
+ public static int H5VLconnector_info_to_str(MemorySegment info, long connector_id, MemorySegment str)
+ {
+ var mh$ = H5VLconnector_info_to_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLconnector_info_to_str", info, connector_id, str);
+ }
+ return (int)mh$.invokeExact(info, connector_id, str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLconnector_str_to_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLconnector_str_to_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static FunctionDescriptor H5VLconnector_str_to_info$descriptor()
+ {
+ return H5VLconnector_str_to_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static MethodHandle H5VLconnector_str_to_info$handle() { return H5VLconnector_str_to_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static MemorySegment H5VLconnector_str_to_info$address() { return H5VLconnector_str_to_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLconnector_str_to_info(const char *str, hid_t connector_id, void **info)
+ * }
+ */
+ public static int H5VLconnector_str_to_info(MemorySegment str, long connector_id, MemorySegment info)
+ {
+ var mh$ = H5VLconnector_str_to_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLconnector_str_to_info", str, connector_id, info);
+ }
+ return (int)mh$.invokeExact(str, connector_id, info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_create$descriptor() { return H5VLattr_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_create$handle() { return H5VLattr_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_create$address() { return H5VLattr_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLattr_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *attr_name, hid_t type_id, hid_t space_id, hid_t acpl_id, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_create(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment attr_name, long type_id,
+ long space_id, long acpl_id, long aapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLattr_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_create", obj, loc_params, connector_id, attr_name, type_id, space_id,
+ acpl_id, aapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, attr_name, type_id, space_id,
+ acpl_id, aapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_open$descriptor() { return H5VLattr_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_open$handle() { return H5VLattr_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_open$address() { return H5VLattr_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLattr_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t aapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_open(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment name, long aapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLattr_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_open", obj, loc_params, connector_id, name, aapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, aapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_read {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_read");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_read$descriptor() { return H5VLattr_read.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_read$handle() { return H5VLattr_read.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_read$address() { return H5VLattr_read.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_read(void *attr, hid_t connector_id, hid_t dtype_id, void *buf, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLattr_read(MemorySegment attr, long connector_id, long dtype_id, MemorySegment buf,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_read.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_read", attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_write {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_write");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_write$descriptor() { return H5VLattr_write.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_write$handle() { return H5VLattr_write.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_write$address() { return H5VLattr_write.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_write(void *attr, hid_t connector_id, hid_t dtype_id, const void *buf, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLattr_write(MemorySegment attr, long connector_id, long dtype_id, MemorySegment buf,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_write.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_write", attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(attr, connector_id, dtype_id, buf, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_get$descriptor() { return H5VLattr_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_get$handle() { return H5VLattr_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_get$address() { return H5VLattr_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_get(void *obj, hid_t connector_id, H5VL_attr_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLattr_get(MemorySegment obj, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLattr_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_get", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_specific$descriptor() { return H5VLattr_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_specific$handle() { return H5VLattr_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_specific$address() { return H5VLattr_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_attr_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLattr_specific(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_specific", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_optional$descriptor() { return H5VLattr_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_optional$handle() { return H5VLattr_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_optional$address() { return H5VLattr_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLattr_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLattr_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLattr_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLattr_close$descriptor() { return H5VLattr_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLattr_close$handle() { return H5VLattr_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLattr_close$address() { return H5VLattr_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLattr_close(void *attr, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLattr_close(MemorySegment attr, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLattr_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLattr_close", attr, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(attr, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_create$descriptor() { return H5VLdataset_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_create$handle() { return H5VLdataset_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_create$address() { return H5VLdataset_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdataset_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_create(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long lcpl_id,
+ long type_id, long space_id, long dcpl_id, long dapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_create", obj, loc_params, connector_id, name, lcpl_id, type_id,
+ space_id, dcpl_id, dapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, lcpl_id, type_id,
+ space_id, dcpl_id, dapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_open$descriptor() { return H5VLdataset_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_open$handle() { return H5VLdataset_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_open$address() { return H5VLdataset_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdataset_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t dapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_open(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long dapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_open", obj, loc_params, connector_id, name, dapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, dapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_read {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_read");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_read$descriptor() { return H5VLdataset_read.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_read$handle() { return H5VLdataset_read.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_read$address() { return H5VLdataset_read.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_read(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, void *buf[], void **req)
+ * }
+ */
+ public static int H5VLdataset_read(long count, MemorySegment dset, long connector_id,
+ MemorySegment mem_type_id, MemorySegment mem_space_id,
+ MemorySegment file_space_id, long plist_id, MemorySegment buf,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_read.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_read", count, dset, connector_id, mem_type_id, mem_space_id,
+ file_space_id, plist_id, buf, req);
+ }
+ return (int)mh$.invokeExact(count, dset, connector_id, mem_type_id, mem_space_id, file_space_id,
+ plist_id, buf, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_write {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_write");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_write$descriptor() { return H5VLdataset_write.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_write$handle() { return H5VLdataset_write.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_write$address() { return H5VLdataset_write.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_write(size_t count, void *dset[], hid_t connector_id, hid_t mem_type_id[], hid_t
+ * mem_space_id[], hid_t file_space_id[], hid_t plist_id, const void *buf[], void **req)
+ * }
+ */
+ public static int H5VLdataset_write(long count, MemorySegment dset, long connector_id,
+ MemorySegment mem_type_id, MemorySegment mem_space_id,
+ MemorySegment file_space_id, long plist_id, MemorySegment buf,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_write.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_write", count, dset, connector_id, mem_type_id, mem_space_id,
+ file_space_id, plist_id, buf, req);
+ }
+ return (int)mh$.invokeExact(count, dset, connector_id, mem_type_id, mem_space_id, file_space_id,
+ plist_id, buf, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_get$descriptor() { return H5VLdataset_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_get$handle() { return H5VLdataset_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_get$address() { return H5VLdataset_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_get(void *dset, hid_t connector_id, H5VL_dataset_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdataset_get(MemorySegment dset, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_get", dset, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dset, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_specific$descriptor() { return H5VLdataset_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_specific$handle() { return H5VLdataset_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_specific$address() { return H5VLdataset_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_specific(void *obj, hid_t connector_id, H5VL_dataset_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdataset_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_optional$descriptor() { return H5VLdataset_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_optional$handle() { return H5VLdataset_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_optional$address() { return H5VLdataset_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdataset_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdataset_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdataset_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdataset_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdataset_close$descriptor() { return H5VLdataset_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdataset_close$handle() { return H5VLdataset_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdataset_close$address() { return H5VLdataset_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdataset_close(void *dset, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdataset_close(MemorySegment dset, long connector_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdataset_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdataset_close", dset, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dset, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_commit {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_commit");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_commit$descriptor() { return H5VLdatatype_commit.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_commit$handle() { return H5VLdatatype_commit.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_commit$address() { return H5VLdatatype_commit.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdatatype_commit(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const
+ * char *name, hid_t type_id, hid_t lcpl_id, hid_t tcpl_id, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_commit(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long type_id,
+ long lcpl_id, long tcpl_id, long tapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_commit.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_commit", obj, loc_params, connector_id, name, type_id, lcpl_id,
+ tcpl_id, tapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, type_id, lcpl_id,
+ tcpl_id, tapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_open$descriptor() { return H5VLdatatype_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_open$handle() { return H5VLdatatype_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_open$address() { return H5VLdatatype_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLdatatype_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t tapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_open(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long tapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_open", obj, loc_params, connector_id, name, tapl_id, dxpl_id,
+ req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, tapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_get$descriptor() { return H5VLdatatype_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_get$handle() { return H5VLdatatype_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_get$address() { return H5VLdatatype_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_get(void *dt, hid_t connector_id, H5VL_datatype_get_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdatatype_get(MemorySegment dt, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_get", dt, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dt, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_specific$descriptor() { return H5VLdatatype_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_specific$handle() { return H5VLdatatype_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_specific$address() { return H5VLdatatype_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_specific(void *obj, hid_t connector_id, H5VL_datatype_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdatatype_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_optional$descriptor() { return H5VLdatatype_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_optional$handle() { return H5VLdatatype_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_optional$address() { return H5VLdatatype_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLdatatype_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLdatatype_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLdatatype_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLdatatype_close$descriptor() { return H5VLdatatype_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLdatatype_close$handle() { return H5VLdatatype_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLdatatype_close$address() { return H5VLdatatype_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLdatatype_close(void *dt, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLdatatype_close(MemorySegment dt, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLdatatype_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLdatatype_close", dt, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(dt, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_create {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_create$descriptor() { return H5VLfile_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_create$handle() { return H5VLfile_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_create$address() { return H5VLfile_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLfile_create(const char *name, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_create(MemorySegment name, int flags, long fcpl_id, long fapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_create", name, flags, fcpl_id, fapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(name, flags, fcpl_id, fapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_open$descriptor() { return H5VLfile_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_open$handle() { return H5VLfile_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_open$address() { return H5VLfile_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLfile_open(const char *name, unsigned int flags, hid_t fapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_open(MemorySegment name, int flags, long fapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLfile_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_open", name, flags, fapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(name, flags, fapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_get$descriptor() { return H5VLfile_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_get$handle() { return H5VLfile_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_get$address() { return H5VLfile_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_get(void *file, hid_t connector_id, H5VL_file_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLfile_get(MemorySegment file, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLfile_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_get", file, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(file, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_specific$descriptor() { return H5VLfile_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_specific$handle() { return H5VLfile_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_specific$address() { return H5VLfile_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_specific(void *obj, hid_t connector_id, H5VL_file_specific_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLfile_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_optional$descriptor() { return H5VLfile_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_optional$handle() { return H5VLfile_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_optional$address() { return H5VLfile_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLfile_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLfile_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLfile_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLfile_close$descriptor() { return H5VLfile_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLfile_close$handle() { return H5VLfile_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLfile_close$address() { return H5VLfile_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLfile_close(void *file, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLfile_close(MemorySegment file, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLfile_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLfile_close", file, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(file, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_create$descriptor() { return H5VLgroup_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_create$handle() { return H5VLgroup_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_create$address() { return H5VLgroup_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLgroup_create(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t lcpl_id, hid_t gcpl_id, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_create(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment name, long lcpl_id,
+ long gcpl_id, long gapl_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_create", obj, loc_params, connector_id, name, lcpl_id, gcpl_id,
+ gapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, lcpl_id, gcpl_id,
+ gapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_open$descriptor() { return H5VLgroup_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_open$handle() { return H5VLgroup_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_open$address() { return H5VLgroup_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLgroup_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, const char
+ * *name, hid_t gapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_open(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment name, long gapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLgroup_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_open", obj, loc_params, connector_id, name, gapl_id, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, name, gapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_get$descriptor() { return H5VLgroup_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_get$handle() { return H5VLgroup_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_get$address() { return H5VLgroup_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_get(void *obj, hid_t connector_id, H5VL_group_get_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLgroup_get(MemorySegment obj, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLgroup_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_get", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_specific$descriptor() { return H5VLgroup_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_specific$handle() { return H5VLgroup_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_specific$address() { return H5VLgroup_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_specific(void *obj, hid_t connector_id, H5VL_group_specific_args_t *args, hid_t
+ * dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLgroup_specific(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_specific", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_optional$descriptor() { return H5VLgroup_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_optional$handle() { return H5VLgroup_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_optional$address() { return H5VLgroup_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_optional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id,
+ * void **req)
+ * }
+ */
+ public static int H5VLgroup_optional(MemorySegment obj, long connector_id, MemorySegment args,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_optional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLgroup_close {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLgroup_close");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLgroup_close$descriptor() { return H5VLgroup_close.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLgroup_close$handle() { return H5VLgroup_close.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLgroup_close$address() { return H5VLgroup_close.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLgroup_close(void *grp, hid_t connector_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLgroup_close(MemorySegment grp, long connector_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLgroup_close.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLgroup_close", grp, connector_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(grp, connector_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_create {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_create");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_create$descriptor() { return H5VLlink_create.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_create$handle() { return H5VLlink_create.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_create$address() { return H5VLlink_create.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_create(H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params,
+ * hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_create(MemorySegment args, MemorySegment obj, MemorySegment loc_params,
+ long connector_id, long lcpl_id, long lapl_id, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLlink_create.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_create", args, obj, loc_params, connector_id, lcpl_id, lapl_id,
+ dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(args, obj, loc_params, connector_id, lcpl_id, lapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_copy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_copy$descriptor() { return H5VLlink_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_copy$handle() { return H5VLlink_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_copy$address() { return H5VLlink_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLlink_copy(MemorySegment src_obj, MemorySegment loc_params1, MemorySegment dst_obj,
+ MemorySegment loc_params2, long connector_id, long lcpl_id, long lapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_copy", src_obj, loc_params1, dst_obj, loc_params2, connector_id,
+ lcpl_id, lapl_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(src_obj, loc_params1, dst_obj, loc_params2, connector_id, lcpl_id,
+ lapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_move {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_move");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_move$descriptor() { return H5VLlink_move.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_move$handle() { return H5VLlink_move.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_move$address() { return H5VLlink_move.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_move(void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const
+ * H5VL_loc_params_t *loc_params2, hid_t connector_id, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLlink_move(MemorySegment src_obj, MemorySegment loc_params1, MemorySegment dst_obj,
+ MemorySegment loc_params2, long connector_id, long lcpl_id, long lapl_id,
+ long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_move.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_move", src_obj, loc_params1, dst_obj, loc_params2, connector_id,
+ lcpl_id, lapl_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(src_obj, loc_params1, dst_obj, loc_params2, connector_id, lcpl_id,
+ lapl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_get$descriptor() { return H5VLlink_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_get$handle() { return H5VLlink_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_get$address() { return H5VLlink_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_get(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_get", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_specific$descriptor() { return H5VLlink_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_specific$handle() { return H5VLlink_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_specific$address() { return H5VLlink_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_specific(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_specific", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLlink_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLlink_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLlink_optional$descriptor() { return H5VLlink_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLlink_optional$handle() { return H5VLlink_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLlink_optional$address() { return H5VLlink_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLlink_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLlink_optional(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLlink_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLlink_optional", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_open {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_open");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_open$descriptor() { return H5VLobject_open.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_open$handle() { return H5VLobject_open.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_open$address() { return H5VLobject_open.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void *H5VLobject_open(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id, H5I_type_t
+ * *opened_type, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_open(MemorySegment obj, MemorySegment loc_params,
+ long connector_id, MemorySegment opened_type, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLobject_open.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_open", obj, loc_params, connector_id, opened_type, dxpl_id, req);
+ }
+ return (MemorySegment)mh$.invokeExact(obj, loc_params, connector_id, opened_type, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_copy {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_copy");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_copy$descriptor() { return H5VLobject_copy.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_copy$handle() { return H5VLobject_copy.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_copy$address() { return H5VLobject_copy.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_copy(void *src_obj, const H5VL_loc_params_t *loc_params1, const char *src_name, void
+ * *dst_obj, const H5VL_loc_params_t *loc_params2, const char *dst_name, hid_t connector_id, hid_t
+ * ocpypl_id, hid_t lcpl_id, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_copy(MemorySegment src_obj, MemorySegment loc_params1,
+ MemorySegment src_name, MemorySegment dst_obj,
+ MemorySegment loc_params2, MemorySegment dst_name, long connector_id,
+ long ocpypl_id, long lcpl_id, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_copy.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_copy", src_obj, loc_params1, src_name, dst_obj, loc_params2,
+ dst_name, connector_id, ocpypl_id, lcpl_id, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(src_obj, loc_params1, src_name, dst_obj, loc_params2, dst_name,
+ connector_id, ocpypl_id, lcpl_id, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_get$descriptor() { return H5VLobject_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_get$handle() { return H5VLobject_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_get$address() { return H5VLobject_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_get(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_get_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_get(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_get", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_specific$descriptor() { return H5VLobject_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_specific$handle() { return H5VLobject_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_specific$address() { return H5VLobject_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_specific(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_object_specific_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_specific(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_specific", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLobject_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLobject_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLobject_optional$descriptor() { return H5VLobject_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MethodHandle H5VLobject_optional$handle() { return H5VLobject_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static MemorySegment H5VLobject_optional$address() { return H5VLobject_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLobject_optional(void *obj, const H5VL_loc_params_t *loc_params, hid_t connector_id,
+ * H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
+ * }
+ */
+ public static int H5VLobject_optional(MemorySegment obj, MemorySegment loc_params, long connector_id,
+ MemorySegment args, long dxpl_id, MemorySegment req)
+ {
+ var mh$ = H5VLobject_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLobject_optional", obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, loc_params, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLintrospect_get_conn_cls {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLintrospect_get_conn_cls");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static FunctionDescriptor H5VLintrospect_get_conn_cls$descriptor()
+ {
+ return H5VLintrospect_get_conn_cls.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static MethodHandle H5VLintrospect_get_conn_cls$handle()
+ {
+ return H5VLintrospect_get_conn_cls.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static MemorySegment H5VLintrospect_get_conn_cls$address()
+ {
+ return H5VLintrospect_get_conn_cls.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_conn_cls(void *obj, hid_t connector_id, H5VL_get_conn_lvl_t lvl, const
+ * H5VL_class_t **conn_cls)
+ * }
+ */
+ public static int H5VLintrospect_get_conn_cls(MemorySegment obj, long connector_id, int lvl,
+ MemorySegment conn_cls)
+ {
+ var mh$ = H5VLintrospect_get_conn_cls.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLintrospect_get_conn_cls", obj, connector_id, lvl, conn_cls);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, lvl, conn_cls);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLintrospect_get_cap_flags {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLintrospect_get_cap_flags");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLintrospect_get_cap_flags$descriptor()
+ {
+ return H5VLintrospect_get_cap_flags.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MethodHandle H5VLintrospect_get_cap_flags$handle()
+ {
+ return H5VLintrospect_get_cap_flags.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static MemorySegment H5VLintrospect_get_cap_flags$address()
+ {
+ return H5VLintrospect_get_cap_flags.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_get_cap_flags(const void *info, hid_t connector_id, uint64_t *cap_flags)
+ * }
+ */
+ public static int H5VLintrospect_get_cap_flags(MemorySegment info, long connector_id,
+ MemorySegment cap_flags)
+ {
+ var mh$ = H5VLintrospect_get_cap_flags.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLintrospect_get_cap_flags", info, connector_id, cap_flags);
+ }
+ return (int)mh$.invokeExact(info, connector_id, cap_flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLintrospect_opt_query {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLintrospect_opt_query");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static FunctionDescriptor H5VLintrospect_opt_query$descriptor()
+ {
+ return H5VLintrospect_opt_query.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static MethodHandle H5VLintrospect_opt_query$handle() { return H5VLintrospect_opt_query.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static MemorySegment H5VLintrospect_opt_query$address() { return H5VLintrospect_opt_query.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLintrospect_opt_query(void *obj, hid_t connector_id, H5VL_subclass_t subcls, int opt_type,
+ * uint64_t *flags)
+ * }
+ */
+ public static int H5VLintrospect_opt_query(MemorySegment obj, long connector_id, int subcls, int opt_type,
+ MemorySegment flags)
+ {
+ var mh$ = H5VLintrospect_opt_query.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLintrospect_opt_query", obj, connector_id, subcls, opt_type, flags);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, subcls, opt_type, flags);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_wait {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_wait");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_wait$descriptor() { return H5VLrequest_wait.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static MethodHandle H5VLrequest_wait$handle() { return H5VLrequest_wait.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static MemorySegment H5VLrequest_wait$address() { return H5VLrequest_wait.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_wait(void *req, hid_t connector_id, uint64_t timeout, H5VL_request_status_t *status)
+ * }
+ */
+ public static int H5VLrequest_wait(MemorySegment req, long connector_id, long timeout,
+ MemorySegment status)
+ {
+ var mh$ = H5VLrequest_wait.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_wait", req, connector_id, timeout, status);
+ }
+ return (int)mh$.invokeExact(req, connector_id, timeout, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_notify {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_notify");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_notify$descriptor() { return H5VLrequest_notify.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static MethodHandle H5VLrequest_notify$handle() { return H5VLrequest_notify.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static MemorySegment H5VLrequest_notify$address() { return H5VLrequest_notify.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_notify(void *req, hid_t connector_id, H5VL_request_notify_t cb, void *ctx)
+ * }
+ */
+ public static int H5VLrequest_notify(MemorySegment req, long connector_id, MemorySegment cb,
+ MemorySegment ctx)
+ {
+ var mh$ = H5VLrequest_notify.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_notify", req, connector_id, cb, ctx);
+ }
+ return (int)mh$.invokeExact(req, connector_id, cb, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_cancel {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_cancel");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_cancel$descriptor() { return H5VLrequest_cancel.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static MethodHandle H5VLrequest_cancel$handle() { return H5VLrequest_cancel.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static MemorySegment H5VLrequest_cancel$address() { return H5VLrequest_cancel.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_cancel(void *req, hid_t connector_id, H5VL_request_status_t *status)
+ * }
+ */
+ public static int H5VLrequest_cancel(MemorySegment req, long connector_id, MemorySegment status)
+ {
+ var mh$ = H5VLrequest_cancel.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_cancel", req, connector_id, status);
+ }
+ return (int)mh$.invokeExact(req, connector_id, status);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_specific {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_specific$descriptor() { return H5VLrequest_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLrequest_specific$handle() { return H5VLrequest_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLrequest_specific$address() { return H5VLrequest_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_specific(void *req, hid_t connector_id, H5VL_request_specific_args_t *args)
+ * }
+ */
+ public static int H5VLrequest_specific(MemorySegment req, long connector_id, MemorySegment args)
+ {
+ var mh$ = H5VLrequest_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_specific", req, connector_id, args);
+ }
+ return (int)mh$.invokeExact(req, connector_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_optional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_optional$descriptor() { return H5VLrequest_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLrequest_optional$handle() { return H5VLrequest_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLrequest_optional$address() { return H5VLrequest_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_optional(void *req, hid_t connector_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static int H5VLrequest_optional(MemorySegment req, long connector_id, MemorySegment args)
+ {
+ var mh$ = H5VLrequest_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_optional", req, connector_id, args);
+ }
+ return (int)mh$.invokeExact(req, connector_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLrequest_free {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLrequest_free");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static FunctionDescriptor H5VLrequest_free$descriptor() { return H5VLrequest_free.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static MethodHandle H5VLrequest_free$handle() { return H5VLrequest_free.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static MemorySegment H5VLrequest_free$address() { return H5VLrequest_free.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLrequest_free(void *req, hid_t connector_id)
+ * }
+ */
+ public static int H5VLrequest_free(MemorySegment req, long connector_id)
+ {
+ var mh$ = H5VLrequest_free.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLrequest_free", req, connector_id);
+ }
+ return (int)mh$.invokeExact(req, connector_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_put {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_put");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_put$descriptor() { return H5VLblob_put.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static MethodHandle H5VLblob_put$handle() { return H5VLblob_put.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static MemorySegment H5VLblob_put$address() { return H5VLblob_put.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_put(void *obj, hid_t connector_id, const void *buf, size_t size, void *blob_id, void
+ * *ctx)
+ * }
+ */
+ public static int H5VLblob_put(MemorySegment obj, long connector_id, MemorySegment buf, long size,
+ MemorySegment blob_id, MemorySegment ctx)
+ {
+ var mh$ = H5VLblob_put.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_put", obj, connector_id, buf, size, blob_id, ctx);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, buf, size, blob_id, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_get {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_get");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_get$descriptor() { return H5VLblob_get.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static MethodHandle H5VLblob_get$handle() { return H5VLblob_get.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static MemorySegment H5VLblob_get$address() { return H5VLblob_get.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_get(void *obj, hid_t connector_id, const void *blob_id, void *buf, size_t size, void
+ * *ctx)
+ * }
+ */
+ public static int H5VLblob_get(MemorySegment obj, long connector_id, MemorySegment blob_id,
+ MemorySegment buf, long size, MemorySegment ctx)
+ {
+ var mh$ = H5VLblob_get.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_get", obj, connector_id, blob_id, buf, size, ctx);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, blob_id, buf, size, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_specific {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_specific");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_specific$descriptor() { return H5VLblob_specific.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLblob_specific$handle() { return H5VLblob_specific.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLblob_specific$address() { return H5VLblob_specific.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_specific(void *obj, hid_t connector_id, void *blob_id, H5VL_blob_specific_args_t *args)
+ * }
+ */
+ public static int H5VLblob_specific(MemorySegment obj, long connector_id, MemorySegment blob_id,
+ MemorySegment args)
+ {
+ var mh$ = H5VLblob_specific.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_specific", obj, connector_id, blob_id, args);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, blob_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLblob_optional {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLblob_optional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static FunctionDescriptor H5VLblob_optional$descriptor() { return H5VLblob_optional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MethodHandle H5VLblob_optional$handle() { return H5VLblob_optional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static MemorySegment H5VLblob_optional$address() { return H5VLblob_optional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLblob_optional(void *obj, hid_t connector_id, void *blob_id, H5VL_optional_args_t *args)
+ * }
+ */
+ public static int H5VLblob_optional(MemorySegment obj, long connector_id, MemorySegment blob_id,
+ MemorySegment args)
+ {
+ var mh$ = H5VLblob_optional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLblob_optional", obj, connector_id, blob_id, args);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, blob_id, args);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLtoken_cmp {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLtoken_cmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static FunctionDescriptor H5VLtoken_cmp$descriptor() { return H5VLtoken_cmp.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static MethodHandle H5VLtoken_cmp$handle() { return H5VLtoken_cmp.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static MemorySegment H5VLtoken_cmp$address() { return H5VLtoken_cmp.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_cmp(void *obj, hid_t connector_id, const H5O_token_t *token1, const H5O_token_t
+ * *token2, int *cmp_value)
+ * }
+ */
+ public static int H5VLtoken_cmp(MemorySegment obj, long connector_id, MemorySegment token1,
+ MemorySegment token2, MemorySegment cmp_value)
+ {
+ var mh$ = H5VLtoken_cmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLtoken_cmp", obj, connector_id, token1, token2, cmp_value);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, token1, token2, cmp_value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLtoken_to_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLtoken_to_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static FunctionDescriptor H5VLtoken_to_str$descriptor() { return H5VLtoken_to_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static MethodHandle H5VLtoken_to_str$handle() { return H5VLtoken_to_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static MemorySegment H5VLtoken_to_str$address() { return H5VLtoken_to_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_to_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const H5O_token_t *token,
+ * char **token_str)
+ * }
+ */
+ public static int H5VLtoken_to_str(MemorySegment obj, int obj_type, long connector_id,
+ MemorySegment token, MemorySegment token_str)
+ {
+ var mh$ = H5VLtoken_to_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLtoken_to_str", obj, obj_type, connector_id, token, token_str);
+ }
+ return (int)mh$.invokeExact(obj, obj_type, connector_id, token, token_str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLtoken_from_str {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLtoken_from_str");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static FunctionDescriptor H5VLtoken_from_str$descriptor() { return H5VLtoken_from_str.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static MethodHandle H5VLtoken_from_str$handle() { return H5VLtoken_from_str.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static MemorySegment H5VLtoken_from_str$address() { return H5VLtoken_from_str.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLtoken_from_str(void *obj, H5I_type_t obj_type, hid_t connector_id, const char *token_str,
+ * H5O_token_t *token)
+ * }
+ */
+ public static int H5VLtoken_from_str(MemorySegment obj, int obj_type, long connector_id,
+ MemorySegment token_str, MemorySegment token)
+ {
+ var mh$ = H5VLtoken_from_str.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLtoken_from_str", obj, obj_type, connector_id, token_str, token);
+ }
+ return (int)mh$.invokeExact(obj, obj_type, connector_id, token_str, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLoptional {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLoptional");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static FunctionDescriptor H5VLoptional$descriptor() { return H5VLoptional.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MethodHandle H5VLoptional$handle() { return H5VLoptional.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static MemorySegment H5VLoptional$address() { return H5VLoptional.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLoptional(void *obj, hid_t connector_id, H5VL_optional_args_t *args, hid_t dxpl_id, void
+ * **req)
+ * }
+ */
+ public static int H5VLoptional(MemorySegment obj, long connector_id, MemorySegment args, long dxpl_id,
+ MemorySegment req)
+ {
+ var mh$ = H5VLoptional.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLoptional", obj, connector_id, args, dxpl_id, req);
+ }
+ return (int)mh$.invokeExact(obj, connector_id, args, dxpl_id, req);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VL_NATIVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5VL_NATIVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static OfLong H5VL_NATIVE_g$layout() { return H5VL_NATIVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static MemorySegment H5VL_NATIVE_g$segment() { return H5VL_NATIVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static long H5VL_NATIVE_g()
+ {
+ return H5VL_NATIVE_g$constants.SEGMENT.get(H5VL_NATIVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_NATIVE_g
+ * }
+ */
+ public static void H5VL_NATIVE_g(long varValue)
+ {
+ H5VL_NATIVE_g$constants.SEGMENT.set(H5VL_NATIVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5VLnative_addr_to_token {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLnative_addr_to_token");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static FunctionDescriptor H5VLnative_addr_to_token$descriptor()
+ {
+ return H5VLnative_addr_to_token.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static MethodHandle H5VLnative_addr_to_token$handle() { return H5VLnative_addr_to_token.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static MemorySegment H5VLnative_addr_to_token$address() { return H5VLnative_addr_to_token.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLnative_addr_to_token(hid_t loc_id, haddr_t addr, H5O_token_t *token)
+ * }
+ */
+ public static int H5VLnative_addr_to_token(long loc_id, long addr, MemorySegment token)
+ {
+ var mh$ = H5VLnative_addr_to_token.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLnative_addr_to_token", loc_id, addr, token);
+ }
+ return (int)mh$.invokeExact(loc_id, addr, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VLnative_token_to_addr {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, H5O_token_t.layout(), hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5VLnative_token_to_addr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static FunctionDescriptor H5VLnative_token_to_addr$descriptor()
+ {
+ return H5VLnative_token_to_addr.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static MethodHandle H5VLnative_token_to_addr$handle() { return H5VLnative_token_to_addr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static MemorySegment H5VLnative_token_to_addr$address() { return H5VLnative_token_to_addr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5VLnative_token_to_addr(hid_t loc_id, H5O_token_t token, haddr_t *addr)
+ * }
+ */
+ public static int H5VLnative_token_to_addr(long loc_id, MemorySegment token, MemorySegment addr)
+ {
+ var mh$ = H5VLnative_token_to_addr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5VLnative_token_to_addr", loc_id, token, addr);
+ }
+ return (int)mh$.invokeExact(loc_id, token, addr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_CORE_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_CORE_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static OfLong H5FD_CORE_id_g$layout() { return H5FD_CORE_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static MemorySegment H5FD_CORE_id_g$segment() { return H5FD_CORE_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static long H5FD_CORE_id_g()
+ {
+ return H5FD_CORE_id_g$constants.SEGMENT.get(H5FD_CORE_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_CORE_id_g
+ * }
+ */
+ public static void H5FD_CORE_id_g(long varValue)
+ {
+ H5FD_CORE_id_g$constants.SEGMENT.set(H5FD_CORE_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_core {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_core");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_core$descriptor() { return H5Pset_fapl_core.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_core$handle() { return H5Pset_fapl_core.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_core$address() { return H5Pset_fapl_core.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment, bool backing_store)
+ * }
+ */
+ public static int H5Pset_fapl_core(long fapl_id, long increment, boolean backing_store)
+ {
+ var mh$ = H5Pset_fapl_core.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_core", fapl_id, increment, backing_store);
+ }
+ return (int)mh$.invokeExact(fapl_id, increment, backing_store);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_core {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_core");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_core$descriptor() { return H5Pget_fapl_core.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_core$handle() { return H5Pget_fapl_core.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_core$address() { return H5Pget_fapl_core.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment, bool *backing_store)
+ * }
+ */
+ public static int H5Pget_fapl_core(long fapl_id, MemorySegment increment, MemorySegment backing_store)
+ {
+ var mh$ = H5Pget_fapl_core.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_core", fapl_id, increment, backing_store);
+ }
+ return (int)mh$.invokeExact(fapl_id, increment, backing_store);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_FAMILY_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_FAMILY_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static OfLong H5FD_FAMILY_id_g$layout() { return H5FD_FAMILY_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static MemorySegment H5FD_FAMILY_id_g$segment() { return H5FD_FAMILY_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static long H5FD_FAMILY_id_g()
+ {
+ return H5FD_FAMILY_id_g$constants.SEGMENT.get(H5FD_FAMILY_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_FAMILY_id_g
+ * }
+ */
+ public static void H5FD_FAMILY_id_g(long varValue)
+ {
+ H5FD_FAMILY_id_g$constants.SEGMENT.set(H5FD_FAMILY_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_family {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_family");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_family$descriptor() { return H5Pset_fapl_family.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_family$handle() { return H5Pset_fapl_family.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_family$address() { return H5Pset_fapl_family.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_family(long fapl_id, long memb_size, long memb_fapl_id)
+ {
+ var mh$ = H5Pset_fapl_family.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_family", fapl_id, memb_size, memb_fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_size, memb_fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_family {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_family");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_family$descriptor() { return H5Pget_fapl_family.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_family$handle() { return H5Pget_fapl_family.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_family$address() { return H5Pget_fapl_family.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size, hid_t *memb_fapl_id)
+ * }
+ */
+ public static int H5Pget_fapl_family(long fapl_id, MemorySegment memb_size, MemorySegment memb_fapl_id)
+ {
+ var mh$ = H5Pget_fapl_family.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_family", fapl_id, memb_size, memb_fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_size, memb_fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_LOG_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_LOG_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static OfLong H5FD_LOG_id_g$layout() { return H5FD_LOG_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static MemorySegment H5FD_LOG_id_g$segment() { return H5FD_LOG_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static long H5FD_LOG_id_g()
+ {
+ return H5FD_LOG_id_g$constants.SEGMENT.get(H5FD_LOG_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_LOG_id_g
+ * }
+ */
+ public static void H5FD_LOG_id_g(long varValue)
+ {
+ H5FD_LOG_id_g$constants.SEGMENT.set(H5FD_LOG_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_log {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_log");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_log$descriptor() { return H5Pset_fapl_log.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_log$handle() { return H5Pset_fapl_log.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_log$address() { return H5Pset_fapl_log.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_log(hid_t fapl_id, const char *logfile, unsigned long long flags, size_t buf_size)
+ * }
+ */
+ public static int H5Pset_fapl_log(long fapl_id, MemorySegment logfile, long flags, long buf_size)
+ {
+ var mh$ = H5Pset_fapl_log.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_log", fapl_id, logfile, flags, buf_size);
+ }
+ return (int)mh$.invokeExact(fapl_id, logfile, flags, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5FD_MPIO_INDEPENDENT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_xfer_t.H5FD_MPIO_INDEPENDENT = 0
+ * }
+ */
+ public static int H5FD_MPIO_INDEPENDENT() { return H5FD_MPIO_INDEPENDENT; }
+ private static final int H5FD_MPIO_COLLECTIVE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_xfer_t.H5FD_MPIO_COLLECTIVE = 1
+ * }
+ */
+ public static int H5FD_MPIO_COLLECTIVE() { return H5FD_MPIO_COLLECTIVE; }
+ private static final int H5FD_MPIO_CHUNK_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_chunk_opt_t.H5FD_MPIO_CHUNK_DEFAULT = 0
+ * }
+ */
+ public static int H5FD_MPIO_CHUNK_DEFAULT() { return H5FD_MPIO_CHUNK_DEFAULT; }
+ private static final int H5FD_MPIO_CHUNK_ONE_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_chunk_opt_t.H5FD_MPIO_CHUNK_ONE_IO = 1
+ * }
+ */
+ public static int H5FD_MPIO_CHUNK_ONE_IO() { return H5FD_MPIO_CHUNK_ONE_IO; }
+ private static final int H5FD_MPIO_CHUNK_MULTI_IO = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_chunk_opt_t.H5FD_MPIO_CHUNK_MULTI_IO = 2
+ * }
+ */
+ public static int H5FD_MPIO_CHUNK_MULTI_IO() { return H5FD_MPIO_CHUNK_MULTI_IO; }
+ private static final int H5FD_MPIO_COLLECTIVE_IO = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_collective_opt_t.H5FD_MPIO_COLLECTIVE_IO = 0
+ * }
+ */
+ public static int H5FD_MPIO_COLLECTIVE_IO() { return H5FD_MPIO_COLLECTIVE_IO; }
+ private static final int H5FD_MPIO_INDIVIDUAL_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_mpio_collective_opt_t.H5FD_MPIO_INDIVIDUAL_IO = 1
+ * }
+ */
+ public static int H5FD_MPIO_INDIVIDUAL_IO() { return H5FD_MPIO_INDIVIDUAL_IO; }
+
+ private static class H5FD_MULTI_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_MULTI_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static OfLong H5FD_MULTI_id_g$layout() { return H5FD_MULTI_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static MemorySegment H5FD_MULTI_id_g$segment() { return H5FD_MULTI_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static long H5FD_MULTI_id_g()
+ {
+ return H5FD_MULTI_id_g$constants.SEGMENT.get(H5FD_MULTI_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_MULTI_id_g
+ * }
+ */
+ public static void H5FD_MULTI_id_g(long varValue)
+ {
+ H5FD_MULTI_id_g$constants.SEGMENT.set(H5FD_MULTI_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_multi$descriptor() { return H5Pset_fapl_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_multi$handle() { return H5Pset_fapl_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_multi$address() { return H5Pset_fapl_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char
+ * *const *memb_name, const haddr_t *memb_addr, bool relax)
+ * }
+ */
+ public static int H5Pset_fapl_multi(long fapl_id, MemorySegment memb_map, MemorySegment memb_fapl,
+ MemorySegment memb_name, MemorySegment memb_addr, boolean relax)
+ {
+ var mh$ = H5Pset_fapl_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_multi", fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_multi$descriptor() { return H5Pget_fapl_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_multi$handle() { return H5Pget_fapl_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_multi$address() { return H5Pget_fapl_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map, hid_t *memb_fapl, char **memb_name,
+ * haddr_t *memb_addr, bool *relax)
+ * }
+ */
+ public static int H5Pget_fapl_multi(long fapl_id, MemorySegment memb_map, MemorySegment memb_fapl,
+ MemorySegment memb_name, MemorySegment memb_addr, MemorySegment relax)
+ {
+ var mh$ = H5Pget_fapl_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_multi", fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ return (int)mh$.invokeExact(fapl_id, memb_map, memb_fapl, memb_name, memb_addr, relax);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_split {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_split");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_split$descriptor() { return H5Pset_fapl_split.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_split$handle() { return H5Pset_fapl_split.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_split$address() { return H5Pset_fapl_split.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext,
+ * hid_t raw_plist_id)
+ * }
+ */
+ public static int H5Pset_fapl_split(long fapl, MemorySegment meta_ext, long meta_plist_id,
+ MemorySegment raw_ext, long raw_plist_id)
+ {
+ var mh$ = H5Pset_fapl_split.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_split", fapl, meta_ext, meta_plist_id, raw_ext, raw_plist_id);
+ }
+ return (int)mh$.invokeExact(fapl, meta_ext, meta_plist_id, raw_ext, raw_plist_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5FD_ONION_STORE_TARGET_ONION = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5FD_onion_target_file_constant_t.H5FD_ONION_STORE_TARGET_ONION = 0
+ * }
+ */
+ public static int H5FD_ONION_STORE_TARGET_ONION() { return H5FD_ONION_STORE_TARGET_ONION; }
+
+ private static class H5FD_ONION_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_ONION_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static OfLong H5FD_ONION_id_g$layout() { return H5FD_ONION_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static MemorySegment H5FD_ONION_id_g$segment() { return H5FD_ONION_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static long H5FD_ONION_id_g()
+ {
+ return H5FD_ONION_id_g$constants.SEGMENT.get(H5FD_ONION_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ONION_id_g
+ * }
+ */
+ public static void H5FD_ONION_id_g(long varValue)
+ {
+ H5FD_ONION_id_g$constants.SEGMENT.set(H5FD_ONION_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pget_fapl_onion {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_onion");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_onion$descriptor() { return H5Pget_fapl_onion.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_onion$handle() { return H5Pget_fapl_onion.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_onion$address() { return H5Pget_fapl_onion.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_onion(hid_t fapl_id, H5FD_onion_fapl_info_t *fa_out)
+ * }
+ */
+ public static int H5Pget_fapl_onion(long fapl_id, MemorySegment fa_out)
+ {
+ var mh$ = H5Pget_fapl_onion.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_onion", fapl_id, fa_out);
+ }
+ return (int)mh$.invokeExact(fapl_id, fa_out);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_onion {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_onion");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_onion$descriptor() { return H5Pset_fapl_onion.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_onion$handle() { return H5Pset_fapl_onion.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_onion$address() { return H5Pset_fapl_onion.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_onion(hid_t fapl_id, const H5FD_onion_fapl_info_t *fa)
+ * }
+ */
+ public static int H5Pset_fapl_onion(long fapl_id, MemorySegment fa)
+ {
+ var mh$ = H5Pset_fapl_onion.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_onion", fapl_id, fa);
+ }
+ return (int)mh$.invokeExact(fapl_id, fa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FDonion_get_revision_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5FDonion_get_revision_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static FunctionDescriptor H5FDonion_get_revision_count$descriptor()
+ {
+ return H5FDonion_get_revision_count.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static MethodHandle H5FDonion_get_revision_count$handle()
+ {
+ return H5FDonion_get_revision_count.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static MemorySegment H5FDonion_get_revision_count$address()
+ {
+ return H5FDonion_get_revision_count.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5FDonion_get_revision_count(const char *filename, hid_t fapl_id, uint64_t *revision_count)
+ * }
+ */
+ public static int H5FDonion_get_revision_count(MemorySegment filename, long fapl_id,
+ MemorySegment revision_count)
+ {
+ var mh$ = H5FDonion_get_revision_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5FDonion_get_revision_count", filename, fapl_id, revision_count);
+ }
+ return (int)mh$.invokeExact(filename, fapl_id, revision_count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_ROS3_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_ROS3_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ROS3_id_g
+ * }
+ */
+ public static OfLong H5FD_ROS3_id_g$layout() { return H5FD_ROS3_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ROS3_id_g
+ * }
+ */
+ public static MemorySegment H5FD_ROS3_id_g$segment() { return H5FD_ROS3_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ROS3_id_g
+ * }
+ */
+ public static long H5FD_ROS3_id_g()
+ {
+ return H5FD_ROS3_id_g$constants.SEGMENT.get(H5FD_ROS3_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_ROS3_id_g
+ * }
+ */
+ public static void H5FD_ROS3_id_g(long varValue)
+ {
+ H5FD_ROS3_id_g$constants.SEGMENT.set(H5FD_ROS3_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pget_fapl_ros3 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_ros3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3(hid_t fapl_id, H5FD_ros3_fapl_t *fa_out)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_ros3$descriptor() { return H5Pget_fapl_ros3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3(hid_t fapl_id, H5FD_ros3_fapl_t *fa_out)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_ros3$handle() { return H5Pget_fapl_ros3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3(hid_t fapl_id, H5FD_ros3_fapl_t *fa_out)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_ros3$address() { return H5Pget_fapl_ros3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3(hid_t fapl_id, H5FD_ros3_fapl_t *fa_out)
+ * }
+ */
+ public static int H5Pget_fapl_ros3(long fapl_id, MemorySegment fa_out)
+ {
+ var mh$ = H5Pget_fapl_ros3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_ros3", fapl_id, fa_out);
+ }
+ return (int)mh$.invokeExact(fapl_id, fa_out);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_ros3 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_ros3");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3(hid_t fapl_id, const H5FD_ros3_fapl_t *fa)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_ros3$descriptor() { return H5Pset_fapl_ros3.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3(hid_t fapl_id, const H5FD_ros3_fapl_t *fa)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_ros3$handle() { return H5Pset_fapl_ros3.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3(hid_t fapl_id, const H5FD_ros3_fapl_t *fa)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_ros3$address() { return H5Pset_fapl_ros3.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3(hid_t fapl_id, const H5FD_ros3_fapl_t *fa)
+ * }
+ */
+ public static int H5Pset_fapl_ros3(long fapl_id, MemorySegment fa)
+ {
+ var mh$ = H5Pset_fapl_ros3.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_ros3", fapl_id, fa);
+ }
+ return (int)mh$.invokeExact(fapl_id, fa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_ros3_token {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_ros3_token");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_token(hid_t fapl_id, size_t size, char *token)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_ros3_token$descriptor()
+ {
+ return H5Pget_fapl_ros3_token.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_token(hid_t fapl_id, size_t size, char *token)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_ros3_token$handle() { return H5Pget_fapl_ros3_token.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_token(hid_t fapl_id, size_t size, char *token)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_ros3_token$address() { return H5Pget_fapl_ros3_token.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_token(hid_t fapl_id, size_t size, char *token)
+ * }
+ */
+ public static int H5Pget_fapl_ros3_token(long fapl_id, long size, MemorySegment token)
+ {
+ var mh$ = H5Pget_fapl_ros3_token.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_ros3_token", fapl_id, size, token);
+ }
+ return (int)mh$.invokeExact(fapl_id, size, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_ros3_token {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_ros3_token");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_token(hid_t fapl_id, const char *token)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_ros3_token$descriptor()
+ {
+ return H5Pset_fapl_ros3_token.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_token(hid_t fapl_id, const char *token)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_ros3_token$handle() { return H5Pset_fapl_ros3_token.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_token(hid_t fapl_id, const char *token)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_ros3_token$address() { return H5Pset_fapl_ros3_token.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_token(hid_t fapl_id, const char *token)
+ * }
+ */
+ public static int H5Pset_fapl_ros3_token(long fapl_id, MemorySegment token)
+ {
+ var mh$ = H5Pset_fapl_ros3_token.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_ros3_token", fapl_id, token);
+ }
+ return (int)mh$.invokeExact(fapl_id, token);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_ros3_endpoint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_ros3_endpoint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_endpoint(hid_t fapl_id, size_t size, char *endpoint)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_ros3_endpoint$descriptor()
+ {
+ return H5Pget_fapl_ros3_endpoint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_endpoint(hid_t fapl_id, size_t size, char *endpoint)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_ros3_endpoint$handle() { return H5Pget_fapl_ros3_endpoint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_endpoint(hid_t fapl_id, size_t size, char *endpoint)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_ros3_endpoint$address() { return H5Pget_fapl_ros3_endpoint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_ros3_endpoint(hid_t fapl_id, size_t size, char *endpoint)
+ * }
+ */
+ public static int H5Pget_fapl_ros3_endpoint(long fapl_id, long size, MemorySegment endpoint)
+ {
+ var mh$ = H5Pget_fapl_ros3_endpoint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_ros3_endpoint", fapl_id, size, endpoint);
+ }
+ return (int)mh$.invokeExact(fapl_id, size, endpoint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_ros3_endpoint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_ros3_endpoint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_endpoint(hid_t fapl_id, const char *endpoint)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_ros3_endpoint$descriptor()
+ {
+ return H5Pset_fapl_ros3_endpoint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_endpoint(hid_t fapl_id, const char *endpoint)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_ros3_endpoint$handle() { return H5Pset_fapl_ros3_endpoint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_endpoint(hid_t fapl_id, const char *endpoint)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_ros3_endpoint$address() { return H5Pset_fapl_ros3_endpoint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_ros3_endpoint(hid_t fapl_id, const char *endpoint)
+ * }
+ */
+ public static int H5Pset_fapl_ros3_endpoint(long fapl_id, MemorySegment endpoint)
+ {
+ var mh$ = H5Pset_fapl_ros3_endpoint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_ros3_endpoint", fapl_id, endpoint);
+ }
+ return (int)mh$.invokeExact(fapl_id, endpoint);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_SEC2_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_SEC2_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static OfLong H5FD_SEC2_id_g$layout() { return H5FD_SEC2_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static MemorySegment H5FD_SEC2_id_g$segment() { return H5FD_SEC2_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static long H5FD_SEC2_id_g()
+ {
+ return H5FD_SEC2_id_g$constants.SEGMENT.get(H5FD_SEC2_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SEC2_id_g
+ * }
+ */
+ public static void H5FD_SEC2_id_g(long varValue)
+ {
+ H5FD_SEC2_id_g$constants.SEGMENT.set(H5FD_SEC2_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_sec2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_sec2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_sec2$descriptor() { return H5Pset_fapl_sec2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_sec2$handle() { return H5Pset_fapl_sec2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_sec2$address() { return H5Pset_fapl_sec2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_sec2(hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_sec2(long fapl_id)
+ {
+ var mh$ = H5Pset_fapl_sec2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_sec2", fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_SPLITTER_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_SPLITTER_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static OfLong H5FD_SPLITTER_id_g$layout() { return H5FD_SPLITTER_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static MemorySegment H5FD_SPLITTER_id_g$segment() { return H5FD_SPLITTER_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static long H5FD_SPLITTER_id_g()
+ {
+ return H5FD_SPLITTER_id_g$constants.SEGMENT.get(H5FD_SPLITTER_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_SPLITTER_id_g
+ * }
+ */
+ public static void H5FD_SPLITTER_id_g(long varValue)
+ {
+ H5FD_SPLITTER_id_g$constants.SEGMENT.set(H5FD_SPLITTER_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_splitter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_splitter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_splitter$descriptor() { return H5Pset_fapl_splitter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_splitter$handle() { return H5Pset_fapl_splitter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_splitter$address() { return H5Pset_fapl_splitter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pset_fapl_splitter(long fapl_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pset_fapl_splitter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_splitter", fapl_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pget_fapl_splitter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pget_fapl_splitter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Pget_fapl_splitter$descriptor() { return H5Pget_fapl_splitter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Pget_fapl_splitter$handle() { return H5Pget_fapl_splitter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Pget_fapl_splitter$address() { return H5Pget_fapl_splitter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pget_fapl_splitter(hid_t fapl_id, H5FD_splitter_vfd_config_t *config_ptr)
+ * }
+ */
+ public static int H5Pget_fapl_splitter(long fapl_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Pget_fapl_splitter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pget_fapl_splitter", fapl_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(fapl_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5FD_STDIO_id_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5FD_STDIO_id_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static OfLong H5FD_STDIO_id_g$layout() { return H5FD_STDIO_id_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static MemorySegment H5FD_STDIO_id_g$segment() { return H5FD_STDIO_id_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static long H5FD_STDIO_id_g()
+ {
+ return H5FD_STDIO_id_g$constants.SEGMENT.get(H5FD_STDIO_id_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5FD_STDIO_id_g
+ * }
+ */
+ public static void H5FD_STDIO_id_g(long varValue)
+ {
+ H5FD_STDIO_id_g$constants.SEGMENT.set(H5FD_STDIO_id_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5Pset_fapl_stdio {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_stdio");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_stdio$descriptor() { return H5Pset_fapl_stdio.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_stdio$handle() { return H5Pset_fapl_stdio.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_stdio$address() { return H5Pset_fapl_stdio.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_stdio(hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_stdio(long fapl_id)
+ {
+ var mh$ = H5Pset_fapl_stdio.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_stdio", fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Pset_fapl_windows {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Pset_fapl_windows");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_windows(hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Pset_fapl_windows$descriptor() { return H5Pset_fapl_windows.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_windows(hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Pset_fapl_windows$handle() { return H5Pset_fapl_windows.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_windows(hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Pset_fapl_windows$address() { return H5Pset_fapl_windows.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Pset_fapl_windows(hid_t fapl_id)
+ * }
+ */
+ public static int H5Pset_fapl_windows(long fapl_id)
+ {
+ var mh$ = H5Pset_fapl_windows.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Pset_fapl_windows", fapl_id);
+ }
+ return (int)mh$.invokeExact(fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5VL_PASSTHRU_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5VL_PASSTHRU_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static OfLong H5VL_PASSTHRU_g$layout() { return H5VL_PASSTHRU_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static MemorySegment H5VL_PASSTHRU_g$segment() { return H5VL_PASSTHRU_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static long H5VL_PASSTHRU_g()
+ {
+ return H5VL_PASSTHRU_g$constants.SEGMENT.get(H5VL_PASSTHRU_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5VL_PASSTHRU_g
+ * }
+ */
+ public static void H5VL_PASSTHRU_g(long varValue)
+ {
+ H5VL_PASSTHRU_g$constants.SEGMENT.set(H5VL_PASSTHRU_g$constants.LAYOUT, 0L, varValue);
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_DEFAULT_PLUGINDIR "D:/a/hdf5/hdf5/install\lib\plugin;%ALLUSERSPROFILE%\hdf5\lib\plugin"
+ * }
+ */
+ public static MemorySegment H5_DEFAULT_PLUGINDIR()
+ {
+ class Holder {
+ static final MemorySegment H5_DEFAULT_PLUGINDIR = hdf5_h.LIBRARY_ARENA.allocateFrom(
+ "D:/a/hdf5/hdf5/install\\lib\\plugin;%ALLUSERSPROFILE%\\hdf5\\lib\\plugin");
+ }
+ return Holder.H5_DEFAULT_PLUGINDIR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE "hdf5"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE = hdf5_h.LIBRARY_ARENA.allocateFrom("hdf5");
+ }
+ return Holder.H5_PACKAGE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_BUGREPORT "help@hdfgroup.org"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_BUGREPORT()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_BUGREPORT =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("help@hdfgroup.org");
+ }
+ return Holder.H5_PACKAGE_BUGREPORT;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_NAME "HDF5"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5");
+ }
+ return Holder.H5_PACKAGE_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_STRING "HDF5 2.0.0.4"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_STRING()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_STRING = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5 2.0.0.4");
+ }
+ return Holder.H5_PACKAGE_STRING;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_TARNAME "hdf5"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_TARNAME()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_TARNAME = hdf5_h.LIBRARY_ARENA.allocateFrom("hdf5");
+ }
+ return Holder.H5_PACKAGE_TARNAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_URL "https://www.hdfgroup.org"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_URL()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_URL =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("https://www.hdfgroup.org");
+ }
+ return Holder.H5_PACKAGE_URL;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PACKAGE_VERSION "2.0.0.4"
+ * }
+ */
+ public static MemorySegment H5_PACKAGE_VERSION()
+ {
+ class Holder {
+ static final MemorySegment H5_PACKAGE_VERSION = hdf5_h.LIBRARY_ARENA.allocateFrom("2.0.0.4");
+ }
+ return Holder.H5_PACKAGE_VERSION;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERSION "2.0.0.4"
+ * }
+ */
+ public static MemorySegment H5_VERSION()
+ {
+ class Holder {
+ static final MemorySegment H5_VERSION = hdf5_h.LIBRARY_ARENA.allocateFrom("2.0.0.4");
+ }
+ return Holder.H5_VERSION;
+ }
+ private static final int _VCRUNTIME_DISABLED_WARNINGS = (int)4514L;
+ /**
+ * {@snippet lang=c :
+ * #define _VCRUNTIME_DISABLED_WARNINGS 4514
+ * }
+ */
+ public static int _VCRUNTIME_DISABLED_WARNINGS() { return _VCRUNTIME_DISABLED_WARNINGS; }
+ private static final MemorySegment NULL = MemorySegment.ofAddress(0L);
+ /**
+ * {@snippet lang=c :
+ * #define NULL (void*) 0
+ * }
+ */
+ public static MemorySegment NULL() { return NULL; }
+ private static final int _UCRT_DISABLED_WARNINGS = (int)4324L;
+ /**
+ * {@snippet lang=c :
+ * #define _UCRT_DISABLED_WARNINGS 4324
+ * }
+ */
+ public static int _UCRT_DISABLED_WARNINGS() { return _UCRT_DISABLED_WARNINGS; }
+ private static final long _TRUNCATE = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define _TRUNCATE -1
+ * }
+ */
+ public static long _TRUNCATE() { return _TRUNCATE; }
+ private static final long _CRT_SIZE_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_SIZE_MAX -1
+ * }
+ */
+ public static long _CRT_SIZE_MAX() { return _CRT_SIZE_MAX; }
+ /**
+ * {@snippet lang=c :
+ * #define __FILEW__ "j"
+ * }
+ */
+ public static MemorySegment __FILEW__()
+ {
+ class Holder {
+ static final MemorySegment __FILEW__ = hdf5_h.LIBRARY_ARENA.allocateFrom("j");
+ }
+ return Holder.__FILEW__;
+ }
+ private static final int __STDC_SECURE_LIB__ = (int)200411L;
+ /**
+ * {@snippet lang=c :
+ * #define __STDC_SECURE_LIB__ 200411
+ * }
+ */
+ public static int __STDC_SECURE_LIB__() { return __STDC_SECURE_LIB__; }
+ private static final int __GOT_SECURE_LIB__ = (int)200411L;
+ /**
+ * {@snippet lang=c :
+ * #define __GOT_SECURE_LIB__ 200411
+ * }
+ */
+ public static int __GOT_SECURE_LIB__() { return __GOT_SECURE_LIB__; }
+ private static final int INT8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define INT8_MIN -128
+ * }
+ */
+ public static int INT8_MIN() { return INT8_MIN; }
+ private static final int INT16_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define INT16_MIN -32768
+ * }
+ */
+ public static int INT16_MIN() { return INT16_MIN; }
+ private static final int INT32_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT32_MIN -2147483648
+ * }
+ */
+ public static int INT32_MIN() { return INT32_MIN; }
+ private static final long INT64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT64_MIN -9223372036854775808
+ * }
+ */
+ public static long INT64_MIN() { return INT64_MIN; }
+ private static final byte INT8_MAX = (byte)127L;
+ /**
+ * {@snippet lang=c :
+ * #define INT8_MAX 127
+ * }
+ */
+ public static byte INT8_MAX() { return INT8_MAX; }
+ private static final short INT16_MAX = (short)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define INT16_MAX 32767
+ * }
+ */
+ public static short INT16_MAX() { return INT16_MAX; }
+ private static final int INT32_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT32_MAX 2147483647
+ * }
+ */
+ public static int INT32_MAX() { return INT32_MAX; }
+ private static final long INT64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT64_MAX 9223372036854775807
+ * }
+ */
+ public static long INT64_MAX() { return INT64_MAX; }
+ private static final byte UINT8_MAX = (byte)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT8_MAX 255
+ * }
+ */
+ public static byte UINT8_MAX() { return UINT8_MAX; }
+ private static final short UINT16_MAX = (short)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT16_MAX 65535
+ * }
+ */
+ public static short UINT16_MAX() { return UINT16_MAX; }
+ private static final int UINT32_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT32_MAX 4294967295
+ * }
+ */
+ public static int UINT32_MAX() { return UINT32_MAX; }
+ private static final long UINT64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT64_MAX -1
+ * }
+ */
+ public static long UINT64_MAX() { return UINT64_MAX; }
+ private static final int INT_LEAST8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST8_MIN -128
+ * }
+ */
+ public static int INT_LEAST8_MIN() { return INT_LEAST8_MIN; }
+ private static final int INT_LEAST16_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST16_MIN -32768
+ * }
+ */
+ public static int INT_LEAST16_MIN() { return INT_LEAST16_MIN; }
+ private static final int INT_LEAST32_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST32_MIN -2147483648
+ * }
+ */
+ public static int INT_LEAST32_MIN() { return INT_LEAST32_MIN; }
+ private static final long INT_LEAST64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST64_MIN -9223372036854775808
+ * }
+ */
+ public static long INT_LEAST64_MIN() { return INT_LEAST64_MIN; }
+ private static final byte INT_LEAST8_MAX = (byte)127L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST8_MAX 127
+ * }
+ */
+ public static byte INT_LEAST8_MAX() { return INT_LEAST8_MAX; }
+ private static final short INT_LEAST16_MAX = (short)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST16_MAX 32767
+ * }
+ */
+ public static short INT_LEAST16_MAX() { return INT_LEAST16_MAX; }
+ private static final int INT_LEAST32_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST32_MAX 2147483647
+ * }
+ */
+ public static int INT_LEAST32_MAX() { return INT_LEAST32_MAX; }
+ private static final long INT_LEAST64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_LEAST64_MAX 9223372036854775807
+ * }
+ */
+ public static long INT_LEAST64_MAX() { return INT_LEAST64_MAX; }
+ private static final byte UINT_LEAST8_MAX = (byte)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST8_MAX 255
+ * }
+ */
+ public static byte UINT_LEAST8_MAX() { return UINT_LEAST8_MAX; }
+ private static final short UINT_LEAST16_MAX = (short)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST16_MAX 65535
+ * }
+ */
+ public static short UINT_LEAST16_MAX() { return UINT_LEAST16_MAX; }
+ private static final int UINT_LEAST32_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST32_MAX 4294967295
+ * }
+ */
+ public static int UINT_LEAST32_MAX() { return UINT_LEAST32_MAX; }
+ private static final long UINT_LEAST64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_LEAST64_MAX -1
+ * }
+ */
+ public static long UINT_LEAST64_MAX() { return UINT_LEAST64_MAX; }
+ private static final int INT_FAST8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST8_MIN -128
+ * }
+ */
+ public static int INT_FAST8_MIN() { return INT_FAST8_MIN; }
+ private static final int INT_FAST16_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST16_MIN -2147483648
+ * }
+ */
+ public static int INT_FAST16_MIN() { return INT_FAST16_MIN; }
+ private static final int INT_FAST32_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST32_MIN -2147483648
+ * }
+ */
+ public static int INT_FAST32_MIN() { return INT_FAST32_MIN; }
+ private static final long INT_FAST64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST64_MIN -9223372036854775808
+ * }
+ */
+ public static long INT_FAST64_MIN() { return INT_FAST64_MIN; }
+ private static final byte INT_FAST8_MAX = (byte)127L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST8_MAX 127
+ * }
+ */
+ public static byte INT_FAST8_MAX() { return INT_FAST8_MAX; }
+ private static final int INT_FAST16_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST16_MAX 2147483647
+ * }
+ */
+ public static int INT_FAST16_MAX() { return INT_FAST16_MAX; }
+ private static final int INT_FAST32_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST32_MAX 2147483647
+ * }
+ */
+ public static int INT_FAST32_MAX() { return INT_FAST32_MAX; }
+ private static final long INT_FAST64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_FAST64_MAX 9223372036854775807
+ * }
+ */
+ public static long INT_FAST64_MAX() { return INT_FAST64_MAX; }
+ private static final byte UINT_FAST8_MAX = (byte)255L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST8_MAX 255
+ * }
+ */
+ public static byte UINT_FAST8_MAX() { return UINT_FAST8_MAX; }
+ private static final int UINT_FAST16_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST16_MAX 4294967295
+ * }
+ */
+ public static int UINT_FAST16_MAX() { return UINT_FAST16_MAX; }
+ private static final int UINT_FAST32_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST32_MAX 4294967295
+ * }
+ */
+ public static int UINT_FAST32_MAX() { return UINT_FAST32_MAX; }
+ private static final long UINT_FAST64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_FAST64_MAX -1
+ * }
+ */
+ public static long UINT_FAST64_MAX() { return UINT_FAST64_MAX; }
+ private static final long INTPTR_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INTPTR_MIN -9223372036854775808
+ * }
+ */
+ public static long INTPTR_MIN() { return INTPTR_MIN; }
+ private static final long INTPTR_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INTPTR_MAX 9223372036854775807
+ * }
+ */
+ public static long INTPTR_MAX() { return INTPTR_MAX; }
+ private static final long UINTPTR_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINTPTR_MAX -1
+ * }
+ */
+ public static long UINTPTR_MAX() { return UINTPTR_MAX; }
+ private static final long INTMAX_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define INTMAX_MIN -9223372036854775808
+ * }
+ */
+ public static long INTMAX_MIN() { return INTMAX_MIN; }
+ private static final long INTMAX_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define INTMAX_MAX 9223372036854775807
+ * }
+ */
+ public static long INTMAX_MAX() { return INTMAX_MAX; }
+ private static final long UINTMAX_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define UINTMAX_MAX -1
+ * }
+ */
+ public static long UINTMAX_MAX() { return UINTMAX_MAX; }
+ private static final long PTRDIFF_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define PTRDIFF_MIN -9223372036854775808
+ * }
+ */
+ public static long PTRDIFF_MIN() { return PTRDIFF_MIN; }
+ private static final long PTRDIFF_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define PTRDIFF_MAX 9223372036854775807
+ * }
+ */
+ public static long PTRDIFF_MAX() { return PTRDIFF_MAX; }
+ private static final long SIZE_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define SIZE_MAX -1
+ * }
+ */
+ public static long SIZE_MAX() { return SIZE_MAX; }
+ private static final int SIG_ATOMIC_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define SIG_ATOMIC_MIN -2147483648
+ * }
+ */
+ public static int SIG_ATOMIC_MIN() { return SIG_ATOMIC_MIN; }
+ private static final int SIG_ATOMIC_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define SIG_ATOMIC_MAX 2147483647
+ * }
+ */
+ public static int SIG_ATOMIC_MAX() { return SIG_ATOMIC_MAX; }
+ /**
+ * {@snippet lang=c :
+ * #define PRId8 "hhd"
+ * }
+ */
+ public static MemorySegment PRId8()
+ {
+ class Holder {
+ static final MemorySegment PRId8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.PRId8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId16 "hd"
+ * }
+ */
+ public static MemorySegment PRId16()
+ {
+ class Holder {
+ static final MemorySegment PRId16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.PRId16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId32 "d"
+ * }
+ */
+ public static MemorySegment PRId32()
+ {
+ class Holder {
+ static final MemorySegment PRId32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRId32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRId64 "lld"
+ * }
+ */
+ public static MemorySegment PRId64()
+ {
+ class Holder {
+ static final MemorySegment PRId64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRId64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST8 "hhd"
+ * }
+ */
+ public static MemorySegment PRIdLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.PRIdLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST16 "hd"
+ * }
+ */
+ public static MemorySegment PRIdLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.PRIdLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST32 "d"
+ * }
+ */
+ public static MemorySegment PRIdLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRIdLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdLEAST64 "lld"
+ * }
+ */
+ public static MemorySegment PRIdLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIdLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST8 "hhd"
+ * }
+ */
+ public static MemorySegment PRIdFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.PRIdFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST16 "d"
+ * }
+ */
+ public static MemorySegment PRIdFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRIdFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST32 "d"
+ * }
+ */
+ public static MemorySegment PRIdFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.PRIdFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdFAST64 "lld"
+ * }
+ */
+ public static MemorySegment PRIdFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIdFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdMAX "lld"
+ * }
+ */
+ public static MemorySegment PRIdMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIdMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdPTR "lld"
+ * }
+ */
+ public static MemorySegment PRIdPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIdPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi8 "hhi"
+ * }
+ */
+ public static MemorySegment PRIi8()
+ {
+ class Holder {
+ static final MemorySegment PRIi8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.PRIi8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi16 "hi"
+ * }
+ */
+ public static MemorySegment PRIi16()
+ {
+ class Holder {
+ static final MemorySegment PRIi16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.PRIi16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi32 "i"
+ * }
+ */
+ public static MemorySegment PRIi32()
+ {
+ class Holder {
+ static final MemorySegment PRIi32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIi32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIi64 "lli"
+ * }
+ */
+ public static MemorySegment PRIi64()
+ {
+ class Holder {
+ static final MemorySegment PRIi64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIi64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST8 "hhi"
+ * }
+ */
+ public static MemorySegment PRIiLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.PRIiLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST16 "hi"
+ * }
+ */
+ public static MemorySegment PRIiLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.PRIiLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST32 "i"
+ * }
+ */
+ public static MemorySegment PRIiLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIiLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiLEAST64 "lli"
+ * }
+ */
+ public static MemorySegment PRIiLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIiLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIiLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST8 "hhi"
+ * }
+ */
+ public static MemorySegment PRIiFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.PRIiFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST16 "i"
+ * }
+ */
+ public static MemorySegment PRIiFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIiFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST32 "i"
+ * }
+ */
+ public static MemorySegment PRIiFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.PRIiFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiFAST64 "lli"
+ * }
+ */
+ public static MemorySegment PRIiFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIiFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIiFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiMAX "lli"
+ * }
+ */
+ public static MemorySegment PRIiMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIiMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIiMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiPTR "lli"
+ * }
+ */
+ public static MemorySegment PRIiPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIiPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIiPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo8 "hho"
+ * }
+ */
+ public static MemorySegment PRIo8()
+ {
+ class Holder {
+ static final MemorySegment PRIo8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.PRIo8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo16 "ho"
+ * }
+ */
+ public static MemorySegment PRIo16()
+ {
+ class Holder {
+ static final MemorySegment PRIo16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.PRIo16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo32 "o"
+ * }
+ */
+ public static MemorySegment PRIo32()
+ {
+ class Holder {
+ static final MemorySegment PRIo32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIo32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIo64 "llo"
+ * }
+ */
+ public static MemorySegment PRIo64()
+ {
+ class Holder {
+ static final MemorySegment PRIo64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIo64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST8 "hho"
+ * }
+ */
+ public static MemorySegment PRIoLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.PRIoLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST16 "ho"
+ * }
+ */
+ public static MemorySegment PRIoLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.PRIoLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST32 "o"
+ * }
+ */
+ public static MemorySegment PRIoLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIoLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoLEAST64 "llo"
+ * }
+ */
+ public static MemorySegment PRIoLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIoLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST8 "hho"
+ * }
+ */
+ public static MemorySegment PRIoFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.PRIoFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST16 "o"
+ * }
+ */
+ public static MemorySegment PRIoFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIoFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST32 "o"
+ * }
+ */
+ public static MemorySegment PRIoFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.PRIoFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoFAST64 "llo"
+ * }
+ */
+ public static MemorySegment PRIoFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIoFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoMAX "llo"
+ * }
+ */
+ public static MemorySegment PRIoMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIoMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoPTR "llo"
+ * }
+ */
+ public static MemorySegment PRIoPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIoPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu8 "hhu"
+ * }
+ */
+ public static MemorySegment PRIu8()
+ {
+ class Holder {
+ static final MemorySegment PRIu8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.PRIu8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu16 "hu"
+ * }
+ */
+ public static MemorySegment PRIu16()
+ {
+ class Holder {
+ static final MemorySegment PRIu16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.PRIu16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu32 "u"
+ * }
+ */
+ public static MemorySegment PRIu32()
+ {
+ class Holder {
+ static final MemorySegment PRIu32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIu32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIu64 "llu"
+ * }
+ */
+ public static MemorySegment PRIu64()
+ {
+ class Holder {
+ static final MemorySegment PRIu64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIu64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST8 "hhu"
+ * }
+ */
+ public static MemorySegment PRIuLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.PRIuLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST16 "hu"
+ * }
+ */
+ public static MemorySegment PRIuLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.PRIuLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST32 "u"
+ * }
+ */
+ public static MemorySegment PRIuLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIuLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuLEAST64 "llu"
+ * }
+ */
+ public static MemorySegment PRIuLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIuLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST8 "hhu"
+ * }
+ */
+ public static MemorySegment PRIuFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.PRIuFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST16 "u"
+ * }
+ */
+ public static MemorySegment PRIuFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIuFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST32 "u"
+ * }
+ */
+ public static MemorySegment PRIuFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.PRIuFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuFAST64 "llu"
+ * }
+ */
+ public static MemorySegment PRIuFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIuFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuMAX "llu"
+ * }
+ */
+ public static MemorySegment PRIuMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIuMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuPTR "llu"
+ * }
+ */
+ public static MemorySegment PRIuPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIuPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx8 "hhx"
+ * }
+ */
+ public static MemorySegment PRIx8()
+ {
+ class Holder {
+ static final MemorySegment PRIx8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.PRIx8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx16 "hx"
+ * }
+ */
+ public static MemorySegment PRIx16()
+ {
+ class Holder {
+ static final MemorySegment PRIx16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.PRIx16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx32 "x"
+ * }
+ */
+ public static MemorySegment PRIx32()
+ {
+ class Holder {
+ static final MemorySegment PRIx32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIx32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIx64 "llx"
+ * }
+ */
+ public static MemorySegment PRIx64()
+ {
+ class Holder {
+ static final MemorySegment PRIx64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIx64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST8 "hhx"
+ * }
+ */
+ public static MemorySegment PRIxLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.PRIxLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST16 "hx"
+ * }
+ */
+ public static MemorySegment PRIxLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.PRIxLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST32 "x"
+ * }
+ */
+ public static MemorySegment PRIxLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIxLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxLEAST64 "llx"
+ * }
+ */
+ public static MemorySegment PRIxLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIxLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST8 "hhx"
+ * }
+ */
+ public static MemorySegment PRIxFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.PRIxFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST16 "x"
+ * }
+ */
+ public static MemorySegment PRIxFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIxFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST32 "x"
+ * }
+ */
+ public static MemorySegment PRIxFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.PRIxFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxFAST64 "llx"
+ * }
+ */
+ public static MemorySegment PRIxFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIxFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxMAX "llx"
+ * }
+ */
+ public static MemorySegment PRIxMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIxMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxPTR "llx"
+ * }
+ */
+ public static MemorySegment PRIxPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIxPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX8 "hhX"
+ * }
+ */
+ public static MemorySegment PRIX8()
+ {
+ class Holder {
+ static final MemorySegment PRIX8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhX");
+ }
+ return Holder.PRIX8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX16 "hX"
+ * }
+ */
+ public static MemorySegment PRIX16()
+ {
+ class Holder {
+ static final MemorySegment PRIX16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hX");
+ }
+ return Holder.PRIX16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX32 "X"
+ * }
+ */
+ public static MemorySegment PRIX32()
+ {
+ class Holder {
+ static final MemorySegment PRIX32 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIX32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIX64 "llX"
+ * }
+ */
+ public static MemorySegment PRIX64()
+ {
+ class Holder {
+ static final MemorySegment PRIX64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIX64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST8 "hhX"
+ * }
+ */
+ public static MemorySegment PRIXLEAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhX");
+ }
+ return Holder.PRIXLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST16 "hX"
+ * }
+ */
+ public static MemorySegment PRIXLEAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hX");
+ }
+ return Holder.PRIXLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST32 "X"
+ * }
+ */
+ public static MemorySegment PRIXLEAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIXLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXLEAST64 "llX"
+ * }
+ */
+ public static MemorySegment PRIXLEAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIXLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST8 "hhX"
+ * }
+ */
+ public static MemorySegment PRIXFAST8()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhX");
+ }
+ return Holder.PRIXFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST16 "X"
+ * }
+ */
+ public static MemorySegment PRIXFAST16()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIXFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST32 "X"
+ * }
+ */
+ public static MemorySegment PRIXFAST32()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("X");
+ }
+ return Holder.PRIXFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXFAST64 "llX"
+ * }
+ */
+ public static MemorySegment PRIXFAST64()
+ {
+ class Holder {
+ static final MemorySegment PRIXFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXMAX "llX"
+ * }
+ */
+ public static MemorySegment PRIXMAX()
+ {
+ class Holder {
+ static final MemorySegment PRIXMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXPTR "llX"
+ * }
+ */
+ public static MemorySegment PRIXPTR()
+ {
+ class Holder {
+ static final MemorySegment PRIXPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd8 "hhd"
+ * }
+ */
+ public static MemorySegment SCNd8()
+ {
+ class Holder {
+ static final MemorySegment SCNd8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.SCNd8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd16 "hd"
+ * }
+ */
+ public static MemorySegment SCNd16()
+ {
+ class Holder {
+ static final MemorySegment SCNd16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.SCNd16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd32 "d"
+ * }
+ */
+ public static MemorySegment SCNd32()
+ {
+ class Holder {
+ static final MemorySegment SCNd32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.SCNd32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNd64 "lld"
+ * }
+ */
+ public static MemorySegment SCNd64()
+ {
+ class Holder {
+ static final MemorySegment SCNd64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.SCNd64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST8 "hhd"
+ * }
+ */
+ public static MemorySegment SCNdLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.SCNdLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST16 "hd"
+ * }
+ */
+ public static MemorySegment SCNdLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hd");
+ }
+ return Holder.SCNdLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST32 "d"
+ * }
+ */
+ public static MemorySegment SCNdLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.SCNdLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdLEAST64 "lld"
+ * }
+ */
+ public static MemorySegment SCNdLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNdLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.SCNdLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST8 "hhd"
+ * }
+ */
+ public static MemorySegment SCNdFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhd");
+ }
+ return Holder.SCNdFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST16 "d"
+ * }
+ */
+ public static MemorySegment SCNdFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.SCNdFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST32 "d"
+ * }
+ */
+ public static MemorySegment SCNdFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("d");
+ }
+ return Holder.SCNdFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdFAST64 "lld"
+ * }
+ */
+ public static MemorySegment SCNdFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNdFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.SCNdFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdMAX "lld"
+ * }
+ */
+ public static MemorySegment SCNdMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNdMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.SCNdMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNdPTR "lld"
+ * }
+ */
+ public static MemorySegment SCNdPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNdPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.SCNdPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi8 "hhi"
+ * }
+ */
+ public static MemorySegment SCNi8()
+ {
+ class Holder {
+ static final MemorySegment SCNi8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.SCNi8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi16 "hi"
+ * }
+ */
+ public static MemorySegment SCNi16()
+ {
+ class Holder {
+ static final MemorySegment SCNi16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.SCNi16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi32 "i"
+ * }
+ */
+ public static MemorySegment SCNi32()
+ {
+ class Holder {
+ static final MemorySegment SCNi32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.SCNi32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNi64 "lli"
+ * }
+ */
+ public static MemorySegment SCNi64()
+ {
+ class Holder {
+ static final MemorySegment SCNi64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.SCNi64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST8 "hhi"
+ * }
+ */
+ public static MemorySegment SCNiLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.SCNiLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST16 "hi"
+ * }
+ */
+ public static MemorySegment SCNiLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hi");
+ }
+ return Holder.SCNiLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST32 "i"
+ * }
+ */
+ public static MemorySegment SCNiLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.SCNiLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiLEAST64 "lli"
+ * }
+ */
+ public static MemorySegment SCNiLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNiLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.SCNiLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST8 "hhi"
+ * }
+ */
+ public static MemorySegment SCNiFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhi");
+ }
+ return Holder.SCNiFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST16 "i"
+ * }
+ */
+ public static MemorySegment SCNiFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.SCNiFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST32 "i"
+ * }
+ */
+ public static MemorySegment SCNiFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("i");
+ }
+ return Holder.SCNiFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiFAST64 "lli"
+ * }
+ */
+ public static MemorySegment SCNiFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNiFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.SCNiFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiMAX "lli"
+ * }
+ */
+ public static MemorySegment SCNiMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNiMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.SCNiMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNiPTR "lli"
+ * }
+ */
+ public static MemorySegment SCNiPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNiPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.SCNiPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo8 "hho"
+ * }
+ */
+ public static MemorySegment SCNo8()
+ {
+ class Holder {
+ static final MemorySegment SCNo8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.SCNo8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo16 "ho"
+ * }
+ */
+ public static MemorySegment SCNo16()
+ {
+ class Holder {
+ static final MemorySegment SCNo16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.SCNo16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo32 "o"
+ * }
+ */
+ public static MemorySegment SCNo32()
+ {
+ class Holder {
+ static final MemorySegment SCNo32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.SCNo32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNo64 "llo"
+ * }
+ */
+ public static MemorySegment SCNo64()
+ {
+ class Holder {
+ static final MemorySegment SCNo64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.SCNo64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST8 "hho"
+ * }
+ */
+ public static MemorySegment SCNoLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.SCNoLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST16 "ho"
+ * }
+ */
+ public static MemorySegment SCNoLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("ho");
+ }
+ return Holder.SCNoLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST32 "o"
+ * }
+ */
+ public static MemorySegment SCNoLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.SCNoLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoLEAST64 "llo"
+ * }
+ */
+ public static MemorySegment SCNoLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNoLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.SCNoLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST8 "hho"
+ * }
+ */
+ public static MemorySegment SCNoFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hho");
+ }
+ return Holder.SCNoFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST16 "o"
+ * }
+ */
+ public static MemorySegment SCNoFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.SCNoFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST32 "o"
+ * }
+ */
+ public static MemorySegment SCNoFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("o");
+ }
+ return Holder.SCNoFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoFAST64 "llo"
+ * }
+ */
+ public static MemorySegment SCNoFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNoFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.SCNoFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoMAX "llo"
+ * }
+ */
+ public static MemorySegment SCNoMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNoMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.SCNoMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNoPTR "llo"
+ * }
+ */
+ public static MemorySegment SCNoPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNoPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.SCNoPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu8 "hhu"
+ * }
+ */
+ public static MemorySegment SCNu8()
+ {
+ class Holder {
+ static final MemorySegment SCNu8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.SCNu8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu16 "hu"
+ * }
+ */
+ public static MemorySegment SCNu16()
+ {
+ class Holder {
+ static final MemorySegment SCNu16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.SCNu16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu32 "u"
+ * }
+ */
+ public static MemorySegment SCNu32()
+ {
+ class Holder {
+ static final MemorySegment SCNu32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.SCNu32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNu64 "llu"
+ * }
+ */
+ public static MemorySegment SCNu64()
+ {
+ class Holder {
+ static final MemorySegment SCNu64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.SCNu64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST8 "hhu"
+ * }
+ */
+ public static MemorySegment SCNuLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.SCNuLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST16 "hu"
+ * }
+ */
+ public static MemorySegment SCNuLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hu");
+ }
+ return Holder.SCNuLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST32 "u"
+ * }
+ */
+ public static MemorySegment SCNuLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.SCNuLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuLEAST64 "llu"
+ * }
+ */
+ public static MemorySegment SCNuLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNuLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.SCNuLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST8 "hhu"
+ * }
+ */
+ public static MemorySegment SCNuFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhu");
+ }
+ return Holder.SCNuFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST16 "u"
+ * }
+ */
+ public static MemorySegment SCNuFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.SCNuFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST32 "u"
+ * }
+ */
+ public static MemorySegment SCNuFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("u");
+ }
+ return Holder.SCNuFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuFAST64 "llu"
+ * }
+ */
+ public static MemorySegment SCNuFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNuFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.SCNuFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuMAX "llu"
+ * }
+ */
+ public static MemorySegment SCNuMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNuMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.SCNuMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNuPTR "llu"
+ * }
+ */
+ public static MemorySegment SCNuPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNuPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.SCNuPTR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx8 "hhx"
+ * }
+ */
+ public static MemorySegment SCNx8()
+ {
+ class Holder {
+ static final MemorySegment SCNx8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.SCNx8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx16 "hx"
+ * }
+ */
+ public static MemorySegment SCNx16()
+ {
+ class Holder {
+ static final MemorySegment SCNx16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.SCNx16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx32 "x"
+ * }
+ */
+ public static MemorySegment SCNx32()
+ {
+ class Holder {
+ static final MemorySegment SCNx32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.SCNx32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNx64 "llx"
+ * }
+ */
+ public static MemorySegment SCNx64()
+ {
+ class Holder {
+ static final MemorySegment SCNx64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.SCNx64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST8 "hhx"
+ * }
+ */
+ public static MemorySegment SCNxLEAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.SCNxLEAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST16 "hx"
+ * }
+ */
+ public static MemorySegment SCNxLEAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("hx");
+ }
+ return Holder.SCNxLEAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST32 "x"
+ * }
+ */
+ public static MemorySegment SCNxLEAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.SCNxLEAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxLEAST64 "llx"
+ * }
+ */
+ public static MemorySegment SCNxLEAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNxLEAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.SCNxLEAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST8 "hhx"
+ * }
+ */
+ public static MemorySegment SCNxFAST8()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST8 = hdf5_h.LIBRARY_ARENA.allocateFrom("hhx");
+ }
+ return Holder.SCNxFAST8;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST16 "x"
+ * }
+ */
+ public static MemorySegment SCNxFAST16()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST16 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.SCNxFAST16;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST32 "x"
+ * }
+ */
+ public static MemorySegment SCNxFAST32()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST32 = hdf5_h.LIBRARY_ARENA.allocateFrom("x");
+ }
+ return Holder.SCNxFAST32;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxFAST64 "llx"
+ * }
+ */
+ public static MemorySegment SCNxFAST64()
+ {
+ class Holder {
+ static final MemorySegment SCNxFAST64 = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.SCNxFAST64;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxMAX "llx"
+ * }
+ */
+ public static MemorySegment SCNxMAX()
+ {
+ class Holder {
+ static final MemorySegment SCNxMAX = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.SCNxMAX;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define SCNxPTR "llx"
+ * }
+ */
+ public static MemorySegment SCNxPTR()
+ {
+ class Holder {
+ static final MemorySegment SCNxPTR = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.SCNxPTR;
+ }
+ private static final int SCHAR_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define SCHAR_MIN -128
+ * }
+ */
+ public static int SCHAR_MIN() { return SCHAR_MIN; }
+ private static final int CHAR_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define CHAR_MIN -128
+ * }
+ */
+ public static int CHAR_MIN() { return CHAR_MIN; }
+ private static final int CHAR_MAX = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define CHAR_MAX 127
+ * }
+ */
+ public static int CHAR_MAX() { return CHAR_MAX; }
+ private static final int SHRT_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define SHRT_MIN -32768
+ * }
+ */
+ public static int SHRT_MIN() { return SHRT_MIN; }
+ private static final int INT_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define INT_MIN -2147483648
+ * }
+ */
+ public static int INT_MIN() { return INT_MIN; }
+ private static final int UINT_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define UINT_MAX 4294967295
+ * }
+ */
+ public static int UINT_MAX() { return UINT_MAX; }
+ private static final int LONG_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_MIN -2147483648
+ * }
+ */
+ public static int LONG_MIN() { return LONG_MIN; }
+ private static final int LONG_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_MAX 2147483647
+ * }
+ */
+ public static int LONG_MAX() { return LONG_MAX; }
+ private static final int ULONG_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define ULONG_MAX 4294967295
+ * }
+ */
+ public static int ULONG_MAX() { return ULONG_MAX; }
+ private static final long LLONG_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define LLONG_MAX 9223372036854775807
+ * }
+ */
+ public static long LLONG_MAX() { return LLONG_MAX; }
+ private static final long LLONG_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define LLONG_MIN -9223372036854775808
+ * }
+ */
+ public static long LLONG_MIN() { return LLONG_MIN; }
+ private static final long ULLONG_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define ULLONG_MAX -1
+ * }
+ */
+ public static long ULLONG_MAX() { return ULLONG_MAX; }
+ private static final int _I8_MIN = (int)-128L;
+ /**
+ * {@snippet lang=c :
+ * #define _I8_MIN -128
+ * }
+ */
+ public static int _I8_MIN() { return _I8_MIN; }
+ private static final byte _I8_MAX = (byte)127L;
+ /**
+ * {@snippet lang=c :
+ * #define _I8_MAX 127
+ * }
+ */
+ public static byte _I8_MAX() { return _I8_MAX; }
+ private static final byte _UI8_MAX = (byte)255L;
+ /**
+ * {@snippet lang=c :
+ * #define _UI8_MAX 255
+ * }
+ */
+ public static byte _UI8_MAX() { return _UI8_MAX; }
+ private static final int _I16_MIN = (int)-32768L;
+ /**
+ * {@snippet lang=c :
+ * #define _I16_MIN -32768
+ * }
+ */
+ public static int _I16_MIN() { return _I16_MIN; }
+ private static final short _I16_MAX = (short)32767L;
+ /**
+ * {@snippet lang=c :
+ * #define _I16_MAX 32767
+ * }
+ */
+ public static short _I16_MAX() { return _I16_MAX; }
+ private static final short _UI16_MAX = (short)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define _UI16_MAX 65535
+ * }
+ */
+ public static short _UI16_MAX() { return _UI16_MAX; }
+ private static final int _I32_MIN = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define _I32_MIN -2147483648
+ * }
+ */
+ public static int _I32_MIN() { return _I32_MIN; }
+ private static final int _I32_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define _I32_MAX 2147483647
+ * }
+ */
+ public static int _I32_MAX() { return _I32_MAX; }
+ private static final int _UI32_MAX = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define _UI32_MAX 4294967295
+ * }
+ */
+ public static int _UI32_MAX() { return _UI32_MAX; }
+ private static final long _I64_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define _I64_MIN -9223372036854775808
+ * }
+ */
+ public static long _I64_MIN() { return _I64_MIN; }
+ private static final long _I64_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define _I64_MAX 9223372036854775807
+ * }
+ */
+ public static long _I64_MAX() { return _I64_MAX; }
+ private static final long _UI64_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define _UI64_MAX -1
+ * }
+ */
+ public static long _UI64_MAX() { return _UI64_MAX; }
+ private static final long RSIZE_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define RSIZE_MAX 9223372036854775807
+ * }
+ */
+ public static long RSIZE_MAX() { return RSIZE_MAX; }
+ private static final long LONG_LONG_MAX = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_LONG_MAX 9223372036854775807
+ * }
+ */
+ public static long LONG_LONG_MAX() { return LONG_LONG_MAX; }
+ private static final long LONG_LONG_MIN = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define LONG_LONG_MIN -9223372036854775808
+ * }
+ */
+ public static long LONG_LONG_MIN() { return LONG_LONG_MIN; }
+ private static final long ULONG_LONG_MAX = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define ULONG_LONG_MAX -1
+ * }
+ */
+ public static long ULONG_LONG_MAX() { return ULONG_LONG_MAX; }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_SUBRELEASE "4"
+ * }
+ */
+ public static MemorySegment H5_VERS_SUBRELEASE()
+ {
+ class Holder {
+ static final MemorySegment H5_VERS_SUBRELEASE = hdf5_h.LIBRARY_ARENA.allocateFrom("4");
+ }
+ return Holder.H5_VERS_SUBRELEASE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_STR "2.0.0-4"
+ * }
+ */
+ public static MemorySegment H5_VERS_STR()
+ {
+ class Holder {
+ static final MemorySegment H5_VERS_STR = hdf5_h.LIBRARY_ARENA.allocateFrom("2.0.0-4");
+ }
+ return Holder.H5_VERS_STR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5_VERS_INFO "HDF5 library version: 2.0.0-4"
+ * }
+ */
+ public static MemorySegment H5_VERS_INFO()
+ {
+ class Holder {
+ static final MemorySegment H5_VERS_INFO =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5 library version: 2.0.0-4");
+ }
+ return Holder.H5_VERS_INFO;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_DRIVER "HDF5_DRIVER"
+ * }
+ */
+ public static MemorySegment HDF5_DRIVER()
+ {
+ class Holder {
+ static final MemorySegment HDF5_DRIVER = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_DRIVER");
+ }
+ return Holder.HDF5_DRIVER;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_DRIVER_CONFIG "HDF5_DRIVER_CONFIG"
+ * }
+ */
+ public static MemorySegment HDF5_DRIVER_CONFIG()
+ {
+ class Holder {
+ static final MemorySegment HDF5_DRIVER_CONFIG =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_DRIVER_CONFIG");
+ }
+ return Holder.HDF5_DRIVER_CONFIG;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_VOL_CONNECTOR "HDF5_VOL_CONNECTOR"
+ * }
+ */
+ public static MemorySegment HDF5_VOL_CONNECTOR()
+ {
+ class Holder {
+ static final MemorySegment HDF5_VOL_CONNECTOR =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_VOL_CONNECTOR");
+ }
+ return Holder.HDF5_VOL_CONNECTOR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_PLUGIN_PATH "HDF5_PLUGIN_PATH"
+ * }
+ */
+ public static MemorySegment HDF5_PLUGIN_PATH()
+ {
+ class Holder {
+ static final MemorySegment HDF5_PLUGIN_PATH =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_PLUGIN_PATH");
+ }
+ return Holder.HDF5_PLUGIN_PATH;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_PLUGIN_PRELOAD "HDF5_PLUGIN_PRELOAD"
+ * }
+ */
+ public static MemorySegment HDF5_PLUGIN_PRELOAD()
+ {
+ class Holder {
+ static final MemorySegment HDF5_PLUGIN_PRELOAD =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_PLUGIN_PRELOAD");
+ }
+ return Holder.HDF5_PLUGIN_PRELOAD;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_USE_FILE_LOCKING "HDF5_USE_FILE_LOCKING"
+ * }
+ */
+ public static MemorySegment HDF5_USE_FILE_LOCKING()
+ {
+ class Holder {
+ static final MemorySegment HDF5_USE_FILE_LOCKING =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_USE_FILE_LOCKING");
+ }
+ return Holder.HDF5_USE_FILE_LOCKING;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_NOCLEANUP "HDF5_NOCLEANUP"
+ * }
+ */
+ public static MemorySegment HDF5_NOCLEANUP()
+ {
+ class Holder {
+ static final MemorySegment HDF5_NOCLEANUP = hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_NOCLEANUP");
+ }
+ return Holder.HDF5_NOCLEANUP;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_PREFER_WINDOWS_CODE_PAGE "HDF5_PREFER_WINDOWS_CODE_PAGE"
+ * }
+ */
+ public static MemorySegment HDF5_PREFER_WINDOWS_CODE_PAGE()
+ {
+ class Holder {
+ static final MemorySegment HDF5_PREFER_WINDOWS_CODE_PAGE =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_PREFER_WINDOWS_CODE_PAGE");
+ }
+ return Holder.HDF5_PREFER_WINDOWS_CODE_PAGE;
+ }
+ private static final long ADDRESS_TAG_BIT = 4398046511104L;
+ /**
+ * {@snippet lang=c :
+ * #define ADDRESS_TAG_BIT 4398046511104
+ * }
+ */
+ public static long ADDRESS_TAG_BIT() { return ADDRESS_TAG_BIT; }
+ private static final long MAXUINT_PTR = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define MAXUINT_PTR -1
+ * }
+ */
+ public static long MAXUINT_PTR() { return MAXUINT_PTR; }
+ private static final long MAXINT_PTR = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define MAXINT_PTR 9223372036854775807
+ * }
+ */
+ public static long MAXINT_PTR() { return MAXINT_PTR; }
+ private static final long MININT_PTR = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define MININT_PTR -9223372036854775808
+ * }
+ */
+ public static long MININT_PTR() { return MININT_PTR; }
+ private static final long MAXULONG_PTR = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define MAXULONG_PTR -1
+ * }
+ */
+ public static long MAXULONG_PTR() { return MAXULONG_PTR; }
+ private static final long MAXLONG_PTR = 9223372036854775807L;
+ /**
+ * {@snippet lang=c :
+ * #define MAXLONG_PTR 9223372036854775807
+ * }
+ */
+ public static long MAXLONG_PTR() { return MAXLONG_PTR; }
+ private static final long MINLONG_PTR = -9223372036854775808L;
+ /**
+ * {@snippet lang=c :
+ * #define MINLONG_PTR -9223372036854775808
+ * }
+ */
+ public static long MINLONG_PTR() { return MINLONG_PTR; }
+ private static final int MAXUHALF_PTR = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define MAXUHALF_PTR 4294967295
+ * }
+ */
+ public static int MAXUHALF_PTR() { return MAXUHALF_PTR; }
+ private static final int MAXHALF_PTR = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define MAXHALF_PTR 2147483647
+ * }
+ */
+ public static int MAXHALF_PTR() { return MAXHALF_PTR; }
+ private static final int MINHALF_PTR = (int)-2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define MINHALF_PTR -2147483648
+ * }
+ */
+ public static int MINHALF_PTR() { return MINHALF_PTR; }
+ private static final int H5_SIZEOF_SSIZE_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_SSIZE_T 8
+ * }
+ */
+ public static int H5_SIZEOF_SSIZE_T() { return H5_SIZEOF_SSIZE_T; }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdHSIZE "lld"
+ * }
+ */
+ public static MemorySegment PRIdHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIdHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIiHSIZE "lli"
+ * }
+ */
+ public static MemorySegment PRIiHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIiHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("lli");
+ }
+ return Holder.PRIiHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoHSIZE "llo"
+ * }
+ */
+ public static MemorySegment PRIoHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIoHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuHSIZE "llu"
+ * }
+ */
+ public static MemorySegment PRIuHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIuHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxHSIZE "llx"
+ * }
+ */
+ public static MemorySegment PRIxHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIxHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxHSIZE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXHSIZE "llX"
+ * }
+ */
+ public static MemorySegment PRIXHSIZE()
+ {
+ class Holder {
+ static final MemorySegment PRIXHSIZE = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXHSIZE;
+ }
+ private static final long HSIZE_UNDEF = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define HSIZE_UNDEF -1
+ * }
+ */
+ public static long HSIZE_UNDEF() { return HSIZE_UNDEF; }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdHADDR "lld"
+ * }
+ */
+ public static MemorySegment PRIdHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIdHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoHADDR "llo"
+ * }
+ */
+ public static MemorySegment PRIoHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIoHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIuHADDR "llu"
+ * }
+ */
+ public static MemorySegment PRIuHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIuHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("llu");
+ }
+ return Holder.PRIuHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxHADDR "llx"
+ * }
+ */
+ public static MemorySegment PRIxHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIxHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxHADDR;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXHADDR "llX"
+ * }
+ */
+ public static MemorySegment PRIXHADDR()
+ {
+ class Holder {
+ static final MemorySegment PRIXHADDR = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXHADDR;
+ }
+ private static final long HADDR_UNDEF = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define HADDR_UNDEF -1
+ * }
+ */
+ public static long HADDR_UNDEF() { return HADDR_UNDEF; }
+ /**
+ * {@snippet lang=c :
+ * #define H5_PRINTF_HADDR_FMT "%llu"
+ * }
+ */
+ public static MemorySegment H5_PRINTF_HADDR_FMT()
+ {
+ class Holder {
+ static final MemorySegment H5_PRINTF_HADDR_FMT = hdf5_h.LIBRARY_ARENA.allocateFrom("%llu");
+ }
+ return Holder.H5_PRINTF_HADDR_FMT;
+ }
+ private static final long HADDR_MAX = -2L;
+ /**
+ * {@snippet lang=c :
+ * #define HADDR_MAX -2
+ * }
+ */
+ public static long HADDR_MAX() { return HADDR_MAX; }
+ private static final int H5_ITER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_ITER_ERROR -1
+ * }
+ */
+ public static int H5_ITER_ERROR() { return H5_ITER_ERROR; }
+ private static final int H5_ITER_CONT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_ITER_CONT 0
+ * }
+ */
+ public static int H5_ITER_CONT() { return H5_ITER_CONT; }
+ private static final int H5_ITER_STOP = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_ITER_STOP 1
+ * }
+ */
+ public static int H5_ITER_STOP() { return H5_ITER_STOP; }
+ private static final int H5O_MAX_TOKEN_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_MAX_TOKEN_SIZE 16
+ * }
+ */
+ public static int H5O_MAX_TOKEN_SIZE() { return H5O_MAX_TOKEN_SIZE; }
+ /**
+ * {@snippet lang=c :
+ * #define PRIdHID "lld"
+ * }
+ */
+ public static MemorySegment PRIdHID()
+ {
+ class Holder {
+ static final MemorySegment PRIdHID = hdf5_h.LIBRARY_ARENA.allocateFrom("lld");
+ }
+ return Holder.PRIdHID;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIxHID "llx"
+ * }
+ */
+ public static MemorySegment PRIxHID()
+ {
+ class Holder {
+ static final MemorySegment PRIxHID = hdf5_h.LIBRARY_ARENA.allocateFrom("llx");
+ }
+ return Holder.PRIxHID;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIXHID "llX"
+ * }
+ */
+ public static MemorySegment PRIXHID()
+ {
+ class Holder {
+ static final MemorySegment PRIXHID = hdf5_h.LIBRARY_ARENA.allocateFrom("llX");
+ }
+ return Holder.PRIXHID;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define PRIoHID "llo"
+ * }
+ */
+ public static MemorySegment PRIoHID()
+ {
+ class Holder {
+ static final MemorySegment PRIoHID = hdf5_h.LIBRARY_ARENA.allocateFrom("llo");
+ }
+ return Holder.PRIoHID;
+ }
+ private static final int H5_SIZEOF_HID_T = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_SIZEOF_HID_T 8
+ * }
+ */
+ public static int H5_SIZEOF_HID_T() { return H5_SIZEOF_HID_T; }
+ private static final int H5I_INVALID_HID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5I_INVALID_HID -1
+ * }
+ */
+ public static int H5I_INVALID_HID() { return H5I_INVALID_HID; }
+ private static final int H5O_COPY_SHALLOW_HIERARCHY_FLAG = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_SHALLOW_HIERARCHY_FLAG 1
+ * }
+ */
+ public static int H5O_COPY_SHALLOW_HIERARCHY_FLAG() { return H5O_COPY_SHALLOW_HIERARCHY_FLAG; }
+ private static final int H5O_COPY_EXPAND_SOFT_LINK_FLAG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_EXPAND_SOFT_LINK_FLAG 2
+ * }
+ */
+ public static int H5O_COPY_EXPAND_SOFT_LINK_FLAG() { return H5O_COPY_EXPAND_SOFT_LINK_FLAG; }
+ private static final int H5O_COPY_EXPAND_EXT_LINK_FLAG = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_EXPAND_EXT_LINK_FLAG 4
+ * }
+ */
+ public static int H5O_COPY_EXPAND_EXT_LINK_FLAG() { return H5O_COPY_EXPAND_EXT_LINK_FLAG; }
+ private static final int H5O_COPY_EXPAND_REFERENCE_FLAG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_EXPAND_REFERENCE_FLAG 8
+ * }
+ */
+ public static int H5O_COPY_EXPAND_REFERENCE_FLAG() { return H5O_COPY_EXPAND_REFERENCE_FLAG; }
+ private static final int H5O_COPY_WITHOUT_ATTR_FLAG = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_WITHOUT_ATTR_FLAG 16
+ * }
+ */
+ public static int H5O_COPY_WITHOUT_ATTR_FLAG() { return H5O_COPY_WITHOUT_ATTR_FLAG; }
+ private static final int H5O_COPY_PRESERVE_NULL_FLAG = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_PRESERVE_NULL_FLAG 32
+ * }
+ */
+ public static int H5O_COPY_PRESERVE_NULL_FLAG() { return H5O_COPY_PRESERVE_NULL_FLAG; }
+ private static final int H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG 64
+ * }
+ */
+ public static int H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG() { return H5O_COPY_MERGE_COMMITTED_DTYPE_FLAG; }
+ private static final int H5O_COPY_ALL = (int)127L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_COPY_ALL 127
+ * }
+ */
+ public static int H5O_COPY_ALL() { return H5O_COPY_ALL; }
+ private static final int H5O_SHMESG_SDSPACE_FLAG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_SDSPACE_FLAG 2
+ * }
+ */
+ public static int H5O_SHMESG_SDSPACE_FLAG() { return H5O_SHMESG_SDSPACE_FLAG; }
+ private static final int H5O_SHMESG_DTYPE_FLAG = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_DTYPE_FLAG 8
+ * }
+ */
+ public static int H5O_SHMESG_DTYPE_FLAG() { return H5O_SHMESG_DTYPE_FLAG; }
+ private static final int H5O_SHMESG_FILL_FLAG = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_FILL_FLAG 32
+ * }
+ */
+ public static int H5O_SHMESG_FILL_FLAG() { return H5O_SHMESG_FILL_FLAG; }
+ private static final int H5O_SHMESG_PLINE_FLAG = (int)2048L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_PLINE_FLAG 2048
+ * }
+ */
+ public static int H5O_SHMESG_PLINE_FLAG() { return H5O_SHMESG_PLINE_FLAG; }
+ private static final int H5O_SHMESG_ATTR_FLAG = (int)4096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_ATTR_FLAG 4096
+ * }
+ */
+ public static int H5O_SHMESG_ATTR_FLAG() { return H5O_SHMESG_ATTR_FLAG; }
+ private static final int H5O_SHMESG_ALL_FLAG = (int)6186L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_SHMESG_ALL_FLAG 6186
+ * }
+ */
+ public static int H5O_SHMESG_ALL_FLAG() { return H5O_SHMESG_ALL_FLAG; }
+ private static final int H5O_HDR_ALL_FLAGS = (int)63L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_HDR_ALL_FLAGS 63
+ * }
+ */
+ public static int H5O_HDR_ALL_FLAGS() { return H5O_HDR_ALL_FLAGS; }
+ private static final int H5O_INFO_BASIC = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_BASIC 1
+ * }
+ */
+ public static int H5O_INFO_BASIC() { return H5O_INFO_BASIC; }
+ private static final int H5O_INFO_TIME = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_TIME 2
+ * }
+ */
+ public static int H5O_INFO_TIME() { return H5O_INFO_TIME; }
+ private static final int H5O_INFO_NUM_ATTRS = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_NUM_ATTRS 4
+ * }
+ */
+ public static int H5O_INFO_NUM_ATTRS() { return H5O_INFO_NUM_ATTRS; }
+ private static final int H5O_INFO_ALL = (int)31L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_ALL 31
+ * }
+ */
+ public static int H5O_INFO_ALL() { return H5O_INFO_ALL; }
+ private static final int H5O_NATIVE_INFO_HDR = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_NATIVE_INFO_HDR 8
+ * }
+ */
+ public static int H5O_NATIVE_INFO_HDR() { return H5O_NATIVE_INFO_HDR; }
+ private static final int H5O_NATIVE_INFO_META_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_NATIVE_INFO_META_SIZE 16
+ * }
+ */
+ public static int H5O_NATIVE_INFO_META_SIZE() { return H5O_NATIVE_INFO_META_SIZE; }
+ private static final int H5O_NATIVE_INFO_ALL = (int)24L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_NATIVE_INFO_ALL 24
+ * }
+ */
+ public static int H5O_NATIVE_INFO_ALL() { return H5O_NATIVE_INFO_ALL; }
+ private static final int H5O_INFO_HDR = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_HDR 8
+ * }
+ */
+ public static int H5O_INFO_HDR() { return H5O_INFO_HDR; }
+ private static final int H5O_INFO_META_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5O_INFO_META_SIZE 16
+ * }
+ */
+ public static int H5O_INFO_META_SIZE() { return H5O_INFO_META_SIZE; }
+ private static final int H5T_NCSET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_NCSET 2
+ * }
+ */
+ public static int H5T_NCSET() { return H5T_NCSET; }
+ private static final int H5T_NSTR = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_NSTR 3
+ * }
+ */
+ public static int H5T_NSTR() { return H5T_NSTR; }
+ private static final long H5T_VARIABLE = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5T_VARIABLE -1
+ * }
+ */
+ public static long H5T_VARIABLE() { return H5T_VARIABLE; }
+ private static final int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE -1
+ * }
+ */
+ public static int H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE()
+ {
+ return H5AC__CACHE_IMAGE__ENTRY_AGEOUT__NONE;
+ }
+ private static final long H5D_CHUNK_CACHE_NSLOTS_DEFAULT = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_CACHE_NSLOTS_DEFAULT -1
+ * }
+ */
+ public static long H5D_CHUNK_CACHE_NSLOTS_DEFAULT() { return H5D_CHUNK_CACHE_NSLOTS_DEFAULT; }
+ private static final long H5D_CHUNK_CACHE_NBYTES_DEFAULT = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_CACHE_NBYTES_DEFAULT -1
+ * }
+ */
+ public static long H5D_CHUNK_CACHE_NBYTES_DEFAULT() { return H5D_CHUNK_CACHE_NBYTES_DEFAULT; }
+ private static final double H5D_CHUNK_CACHE_W0_DEFAULT = -1.0d;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_CACHE_W0_DEFAULT -1.0
+ * }
+ */
+ public static double H5D_CHUNK_CACHE_W0_DEFAULT() { return H5D_CHUNK_CACHE_W0_DEFAULT; }
+ private static final int H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS 2
+ * }
+ */
+ public static int H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS() { return H5D_CHUNK_DONT_FILTER_PARTIAL_CHUNKS; }
+ private static final int H5D_CHUNK_BTREE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_CHUNK_BTREE 0
+ * }
+ */
+ public static int H5D_CHUNK_BTREE() { return H5D_CHUNK_BTREE; }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME "direct_chunk_flag"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_flag");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_FLAG_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME "direct_chunk_filters"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_filters");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_FILTERS_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME "direct_chunk_offset"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_offset");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_OFFSET_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME "direct_chunk_datasize"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_datasize");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_WRITE_DATASIZE_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME "direct_chunk_read_flag"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_read_flag");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_READ_FLAG_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME "direct_chunk_read_offset"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_read_offset");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_READ_OFFSET_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME "direct_chunk_read_filters"
+ * }
+ */
+ public static MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("direct_chunk_read_filters");
+ }
+ return Holder.H5D_XFER_DIRECT_CHUNK_READ_FILTERS_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_STDIO_SYMBOL_PREFIX ""
+ * }
+ */
+ public static MemorySegment _CRT_INTERNAL_STDIO_SYMBOL_PREFIX()
+ {
+ class Holder {
+ static final MemorySegment _CRT_INTERNAL_STDIO_SYMBOL_PREFIX =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("");
+ }
+ return Holder._CRT_INTERNAL_STDIO_SYMBOL_PREFIX;
+ }
+ private static final long _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION = 1L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION 1
+ * }
+ */
+ public static long _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION()
+ {
+ return _CRT_INTERNAL_PRINTF_LEGACY_VSPRINTF_NULL_TERMINATION;
+ }
+ private static final long _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR = 2L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR 2
+ * }
+ */
+ public static long _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR()
+ {
+ return _CRT_INTERNAL_PRINTF_STANDARD_SNPRINTF_BEHAVIOR;
+ }
+ private static final long _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS = 4L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS 4
+ * }
+ */
+ public static long _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS()
+ {
+ return _CRT_INTERNAL_PRINTF_LEGACY_WIDE_SPECIFIERS;
+ }
+ private static final long _CRT_INTERNAL_PRINTF_LEGACY_MSVCRT_COMPATIBILITY = 8L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_PRINTF_LEGACY_MSVCRT_COMPATIBILITY 8
+ * }
+ */
+ public static long _CRT_INTERNAL_PRINTF_LEGACY_MSVCRT_COMPATIBILITY()
+ {
+ return _CRT_INTERNAL_PRINTF_LEGACY_MSVCRT_COMPATIBILITY;
+ }
+ private static final long _CRT_INTERNAL_PRINTF_LEGACY_THREE_DIGIT_EXPONENTS = 16L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_PRINTF_LEGACY_THREE_DIGIT_EXPONENTS 16
+ * }
+ */
+ public static long _CRT_INTERNAL_PRINTF_LEGACY_THREE_DIGIT_EXPONENTS()
+ {
+ return _CRT_INTERNAL_PRINTF_LEGACY_THREE_DIGIT_EXPONENTS;
+ }
+ private static final long _CRT_INTERNAL_PRINTF_STANDARD_ROUNDING = 32L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_PRINTF_STANDARD_ROUNDING 32
+ * }
+ */
+ public static long _CRT_INTERNAL_PRINTF_STANDARD_ROUNDING()
+ {
+ return _CRT_INTERNAL_PRINTF_STANDARD_ROUNDING;
+ }
+ private static final long _CRT_INTERNAL_SCANF_SECURECRT = 1L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_SCANF_SECURECRT 1
+ * }
+ */
+ public static long _CRT_INTERNAL_SCANF_SECURECRT() { return _CRT_INTERNAL_SCANF_SECURECRT; }
+ private static final long _CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS = 2L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS 2
+ * }
+ */
+ public static long _CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS()
+ {
+ return _CRT_INTERNAL_SCANF_LEGACY_WIDE_SPECIFIERS;
+ }
+ private static final long _CRT_INTERNAL_SCANF_LEGACY_MSVCRT_COMPATIBILITY = 4L;
+ /**
+ * {@snippet lang=c :
+ * #define _CRT_INTERNAL_SCANF_LEGACY_MSVCRT_COMPATIBILITY 4
+ * }
+ */
+ public static long _CRT_INTERNAL_SCANF_LEGACY_MSVCRT_COMPATIBILITY()
+ {
+ return _CRT_INTERNAL_SCANF_LEGACY_MSVCRT_COMPATIBILITY;
+ }
+ private static final short WEOF = (short)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define WEOF 65535
+ * }
+ */
+ public static short WEOF() { return WEOF; }
+ private static final int _NFILE = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define _NFILE 512
+ * }
+ */
+ public static int _NFILE() { return _NFILE; }
+ private static final int EOF = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define EOF -1
+ * }
+ */
+ public static int EOF() { return EOF; }
+ private static final int L_tmpnam_s = (int)260L;
+ /**
+ * {@snippet lang=c :
+ * #define L_tmpnam_s 260
+ * }
+ */
+ public static int L_tmpnam_s() { return L_tmpnam_s; }
+ private static final int TMP_MAX = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define TMP_MAX 2147483647
+ * }
+ */
+ public static int TMP_MAX() { return TMP_MAX; }
+ private static final int TMP_MAX_S = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define TMP_MAX_S 2147483647
+ * }
+ */
+ public static int TMP_MAX_S() { return TMP_MAX_S; }
+ private static final int _TMP_MAX_S = (int)2147483647L;
+ /**
+ * {@snippet lang=c :
+ * #define _TMP_MAX_S 2147483647
+ * }
+ */
+ public static int _TMP_MAX_S() { return _TMP_MAX_S; }
+ private static final int SYS_OPEN = (int)20L;
+ /**
+ * {@snippet lang=c :
+ * #define SYS_OPEN 20
+ * }
+ */
+ public static int SYS_OPEN() { return SYS_OPEN; }
+ private static final long H5ES_WAIT_FOREVER = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5ES_WAIT_FOREVER -1
+ * }
+ */
+ public static long H5ES_WAIT_FOREVER() { return H5ES_WAIT_FOREVER; }
+ private static final int H5ES_WAIT_NONE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5ES_WAIT_NONE 0
+ * }
+ */
+ public static int H5ES_WAIT_NONE() { return H5ES_WAIT_NONE; }
+ private static final int H5F_ACC_RDONLY = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_RDONLY 0
+ * }
+ */
+ public static int H5F_ACC_RDONLY() { return H5F_ACC_RDONLY; }
+ private static final int H5F_ACC_RDWR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_RDWR 1
+ * }
+ */
+ public static int H5F_ACC_RDWR() { return H5F_ACC_RDWR; }
+ private static final int H5F_ACC_TRUNC = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_TRUNC 2
+ * }
+ */
+ public static int H5F_ACC_TRUNC() { return H5F_ACC_TRUNC; }
+ private static final int H5F_ACC_EXCL = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_EXCL 4
+ * }
+ */
+ public static int H5F_ACC_EXCL() { return H5F_ACC_EXCL; }
+ private static final int H5F_ACC_CREAT = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_CREAT 16
+ * }
+ */
+ public static int H5F_ACC_CREAT() { return H5F_ACC_CREAT; }
+ private static final int H5F_ACC_SWMR_WRITE = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_SWMR_WRITE 32
+ * }
+ */
+ public static int H5F_ACC_SWMR_WRITE() { return H5F_ACC_SWMR_WRITE; }
+ private static final int H5F_ACC_SWMR_READ = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_SWMR_READ 64
+ * }
+ */
+ public static int H5F_ACC_SWMR_READ() { return H5F_ACC_SWMR_READ; }
+ private static final int H5F_ACC_DEFAULT = (int)65535L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_DEFAULT 65535
+ * }
+ */
+ public static int H5F_ACC_DEFAULT() { return H5F_ACC_DEFAULT; }
+ private static final int H5F_OBJ_FILE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_FILE 1
+ * }
+ */
+ public static int H5F_OBJ_FILE() { return H5F_OBJ_FILE; }
+ private static final int H5F_OBJ_DATASET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_DATASET 2
+ * }
+ */
+ public static int H5F_OBJ_DATASET() { return H5F_OBJ_DATASET; }
+ private static final int H5F_OBJ_GROUP = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_GROUP 4
+ * }
+ */
+ public static int H5F_OBJ_GROUP() { return H5F_OBJ_GROUP; }
+ private static final int H5F_OBJ_DATATYPE = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_DATATYPE 8
+ * }
+ */
+ public static int H5F_OBJ_DATATYPE() { return H5F_OBJ_DATATYPE; }
+ private static final int H5F_OBJ_ATTR = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_ATTR 16
+ * }
+ */
+ public static int H5F_OBJ_ATTR() { return H5F_OBJ_ATTR; }
+ private static final int H5F_OBJ_ALL = (int)31L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_ALL 31
+ * }
+ */
+ public static int H5F_OBJ_ALL() { return H5F_OBJ_ALL; }
+ private static final int H5F_OBJ_LOCAL = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_OBJ_LOCAL 32
+ * }
+ */
+ public static int H5F_OBJ_LOCAL() { return H5F_OBJ_LOCAL; }
+ private static final long H5F_PAGE_BUFFER_SIZE_DEFAULT = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_PAGE_BUFFER_SIZE_DEFAULT -1
+ * }
+ */
+ public static long H5F_PAGE_BUFFER_SIZE_DEFAULT() { return H5F_PAGE_BUFFER_SIZE_DEFAULT; }
+ private static final long H5F_UNLIMITED = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_UNLIMITED -1
+ * }
+ */
+ public static long H5F_UNLIMITED() { return H5F_UNLIMITED; }
+ private static final int H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS 1
+ * }
+ */
+ public static int H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS()
+ {
+ return H5F_RFIC_UNUSUAL_NUM_UNUSED_NUMERIC_BITS;
+ }
+ private static final int H5F_RFIC_ALL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_RFIC_ALL 1
+ * }
+ */
+ public static int H5F_RFIC_ALL() { return H5F_RFIC_ALL; }
+ private static final int H5F_ACC_DEBUG = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5F_ACC_DEBUG 0
+ * }
+ */
+ public static int H5F_ACC_DEBUG() { return H5F_ACC_DEBUG; }
+ private static final int H5_VFD_INVALID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_INVALID -1
+ * }
+ */
+ public static int H5_VFD_INVALID() { return H5_VFD_INVALID; }
+ private static final int H5_VFD_SEC2 = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_SEC2 0
+ * }
+ */
+ public static int H5_VFD_SEC2() { return H5_VFD_SEC2; }
+ private static final int H5_VFD_CORE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_CORE 1
+ * }
+ */
+ public static int H5_VFD_CORE() { return H5_VFD_CORE; }
+ private static final int H5_VFD_LOG = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_LOG 2
+ * }
+ */
+ public static int H5_VFD_LOG() { return H5_VFD_LOG; }
+ private static final int H5_VFD_FAMILY = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_FAMILY 3
+ * }
+ */
+ public static int H5_VFD_FAMILY() { return H5_VFD_FAMILY; }
+ private static final int H5_VFD_MULTI = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MULTI 4
+ * }
+ */
+ public static int H5_VFD_MULTI() { return H5_VFD_MULTI; }
+ private static final int H5_VFD_STDIO = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_STDIO 5
+ * }
+ */
+ public static int H5_VFD_STDIO() { return H5_VFD_STDIO; }
+ private static final int H5_VFD_SPLITTER = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_SPLITTER 6
+ * }
+ */
+ public static int H5_VFD_SPLITTER() { return H5_VFD_SPLITTER; }
+ private static final int H5_VFD_MPIO = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MPIO 7
+ * }
+ */
+ public static int H5_VFD_MPIO() { return H5_VFD_MPIO; }
+ private static final int H5_VFD_DIRECT = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_DIRECT 8
+ * }
+ */
+ public static int H5_VFD_DIRECT() { return H5_VFD_DIRECT; }
+ private static final int H5_VFD_MIRROR = (int)9L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_MIRROR 9
+ * }
+ */
+ public static int H5_VFD_MIRROR() { return H5_VFD_MIRROR; }
+ private static final int H5_VFD_HDFS = (int)10L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_HDFS 10
+ * }
+ */
+ public static int H5_VFD_HDFS() { return H5_VFD_HDFS; }
+ private static final int H5_VFD_ROS3 = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_ROS3 11
+ * }
+ */
+ public static int H5_VFD_ROS3() { return H5_VFD_ROS3; }
+ private static final int H5_VFD_SUBFILING = (int)12L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_SUBFILING 12
+ * }
+ */
+ public static int H5_VFD_SUBFILING() { return H5_VFD_SUBFILING; }
+ private static final int H5_VFD_IOC = (int)13L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_IOC 13
+ * }
+ */
+ public static int H5_VFD_IOC() { return H5_VFD_IOC; }
+ private static final int H5_VFD_ONION = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VFD_ONION 14
+ * }
+ */
+ public static int H5_VFD_ONION() { return H5_VFD_ONION; }
+ private static final int H5FD_FEAT_ACCUMULATE_METADATA = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FEAT_ACCUMULATE_METADATA 6
+ * }
+ */
+ public static int H5FD_FEAT_ACCUMULATE_METADATA() { return H5FD_FEAT_ACCUMULATE_METADATA; }
+ private static final int H5FD_CTL_OPC_EXPER_MIN = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_OPC_EXPER_MIN 512
+ * }
+ */
+ public static int H5FD_CTL_OPC_EXPER_MIN() { return H5FD_CTL_OPC_EXPER_MIN; }
+ private static final int H5FD_CTL_OPC_EXPER_MAX = (int)1023L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CTL_OPC_EXPER_MAX 1023
+ * }
+ */
+ public static int H5FD_CTL_OPC_EXPER_MAX() { return H5FD_CTL_OPC_EXPER_MAX; }
+ private static final int H5L_MAX_LINK_NAME_LEN = (int)4294967295L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_MAX_LINK_NAME_LEN 4294967295
+ * }
+ */
+ public static int H5L_MAX_LINK_NAME_LEN() { return H5L_MAX_LINK_NAME_LEN; }
+ private static final int H5L_TYPE_BUILTIN_MAX = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_TYPE_BUILTIN_MAX 1
+ * }
+ */
+ public static int H5L_TYPE_BUILTIN_MAX() { return H5L_TYPE_BUILTIN_MAX; }
+ private static final int H5L_TYPE_UD_MIN = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_TYPE_UD_MIN 64
+ * }
+ */
+ public static int H5L_TYPE_UD_MIN() { return H5L_TYPE_UD_MIN; }
+ private static final int H5L_TYPE_UD_MAX = (int)255L;
+ /**
+ * {@snippet lang=c :
+ * #define H5L_TYPE_UD_MAX 255
+ * }
+ */
+ public static int H5L_TYPE_UD_MAX() { return H5L_TYPE_UD_MAX; }
+ private static final int H5G_SAME_LOC = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_SAME_LOC 0
+ * }
+ */
+ public static int H5G_SAME_LOC() { return H5G_SAME_LOC; }
+ private static final int H5G_LINK_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_LINK_ERROR -1
+ * }
+ */
+ public static int H5G_LINK_ERROR() { return H5G_LINK_ERROR; }
+ private static final int H5G_LINK_HARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_LINK_HARD 0
+ * }
+ */
+ public static int H5G_LINK_HARD() { return H5G_LINK_HARD; }
+ private static final int H5G_LINK_SOFT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_LINK_SOFT 1
+ * }
+ */
+ public static int H5G_LINK_SOFT() { return H5G_LINK_SOFT; }
+ private static final int H5G_NUSERTYPES = (int)248L;
+ /**
+ * {@snippet lang=c :
+ * #define H5G_NUSERTYPES 248
+ * }
+ */
+ public static int H5G_NUSERTYPES() { return H5G_NUSERTYPES; }
+ private static final int H5_VOL_INVALID = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5_VOL_INVALID -1
+ * }
+ */
+ public static int H5_VOL_INVALID() { return H5_VOL_INVALID; }
+ private static final int H5VL_CAP_FLAG_SOFT_LINKS = (int)2147483648L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_SOFT_LINKS 2147483648
+ * }
+ */
+ public static int H5VL_CAP_FLAG_SOFT_LINKS() { return H5VL_CAP_FLAG_SOFT_LINKS; }
+ private static final long H5VL_CAP_FLAG_UD_LINKS = 4294967296L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_UD_LINKS 4294967296
+ * }
+ */
+ public static long H5VL_CAP_FLAG_UD_LINKS() { return H5VL_CAP_FLAG_UD_LINKS; }
+ private static final long H5VL_CAP_FLAG_TRACK_TIMES = 8589934592L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_TRACK_TIMES 8589934592
+ * }
+ */
+ public static long H5VL_CAP_FLAG_TRACK_TIMES() { return H5VL_CAP_FLAG_TRACK_TIMES; }
+ private static final long H5VL_CAP_FLAG_MOUNT = 17179869184L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_MOUNT 17179869184
+ * }
+ */
+ public static long H5VL_CAP_FLAG_MOUNT() { return H5VL_CAP_FLAG_MOUNT; }
+ private static final long H5VL_CAP_FLAG_FILTERS = 34359738368L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILTERS 34359738368
+ * }
+ */
+ public static long H5VL_CAP_FLAG_FILTERS() { return H5VL_CAP_FLAG_FILTERS; }
+ private static final long H5VL_CAP_FLAG_FILL_VALUES = 68719476736L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_CAP_FLAG_FILL_VALUES 68719476736
+ * }
+ */
+ public static long H5VL_CAP_FLAG_FILL_VALUES() { return H5VL_CAP_FLAG_FILL_VALUES; }
+ private static final long H5R_OBJ_REF_BUF_SIZE = 8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_OBJ_REF_BUF_SIZE 8
+ * }
+ */
+ public static long H5R_OBJ_REF_BUF_SIZE() { return H5R_OBJ_REF_BUF_SIZE; }
+ private static final long H5R_DSET_REG_REF_BUF_SIZE = 12L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_DSET_REG_REF_BUF_SIZE 12
+ * }
+ */
+ public static long H5R_DSET_REG_REF_BUF_SIZE() { return H5R_DSET_REG_REF_BUF_SIZE; }
+ private static final int H5R_REF_BUF_SIZE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_REF_BUF_SIZE 64
+ * }
+ */
+ public static int H5R_REF_BUF_SIZE() { return H5R_REF_BUF_SIZE; }
+ private static final int H5R_OBJECT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_OBJECT 0
+ * }
+ */
+ public static int H5R_OBJECT() { return H5R_OBJECT; }
+ private static final int H5R_DATASET_REGION = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5R_DATASET_REGION 1
+ * }
+ */
+ public static int H5R_DATASET_REGION() { return H5R_DATASET_REGION; }
+ private static final int H5VL_MAX_BLOB_ID_SIZE = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_MAX_BLOB_ID_SIZE 16
+ * }
+ */
+ public static int H5VL_MAX_BLOB_ID_SIZE() { return H5VL_MAX_BLOB_ID_SIZE; }
+ private static final long H5S_UNLIMITED = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5S_UNLIMITED -1
+ * }
+ */
+ public static long H5S_UNLIMITED() { return H5S_UNLIMITED; }
+ private static final int H5Z_FILTER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_ERROR -1
+ * }
+ */
+ public static int H5Z_FILTER_ERROR() { return H5Z_FILTER_ERROR; }
+ private static final int H5Z_FILTER_CONFIG_ENCODE_ENABLED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_CONFIG_ENCODE_ENABLED 1
+ * }
+ */
+ public static int H5Z_FILTER_CONFIG_ENCODE_ENABLED() { return H5Z_FILTER_CONFIG_ENCODE_ENABLED; }
+ private static final int H5Z_FILTER_CONFIG_DECODE_ENABLED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_FILTER_CONFIG_DECODE_ENABLED 2
+ * }
+ */
+ public static int H5Z_FILTER_CONFIG_DECODE_ENABLED() { return H5Z_FILTER_CONFIG_DECODE_ENABLED; }
+ private static final int H5D_SEL_IO_DISABLE_BY_API = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_DISABLE_BY_API 1
+ * }
+ */
+ public static int H5D_SEL_IO_DISABLE_BY_API() { return H5D_SEL_IO_DISABLE_BY_API; }
+ private static final int H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET 2
+ * }
+ */
+ public static int H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET()
+ {
+ return H5D_SEL_IO_NOT_CONTIGUOUS_OR_CHUNKED_DATASET;
+ }
+ private static final int H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER 4
+ * }
+ */
+ public static int H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER() { return H5D_SEL_IO_CONTIGUOUS_SIEVE_BUFFER; }
+ private static final int H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB = (int)8L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB 8
+ * }
+ */
+ public static int H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB()
+ {
+ return H5D_SEL_IO_NO_VECTOR_OR_SELECTION_IO_CB;
+ }
+ private static final int H5D_SEL_IO_PAGE_BUFFER = (int)16L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_PAGE_BUFFER 16
+ * }
+ */
+ public static int H5D_SEL_IO_PAGE_BUFFER() { return H5D_SEL_IO_PAGE_BUFFER; }
+ private static final int H5D_SEL_IO_DATASET_FILTER = (int)32L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_DATASET_FILTER 32
+ * }
+ */
+ public static int H5D_SEL_IO_DATASET_FILTER() { return H5D_SEL_IO_DATASET_FILTER; }
+ private static final int H5D_SEL_IO_CHUNK_CACHE = (int)64L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_CHUNK_CACHE 64
+ * }
+ */
+ public static int H5D_SEL_IO_CHUNK_CACHE() { return H5D_SEL_IO_CHUNK_CACHE; }
+ private static final int H5D_SEL_IO_TCONV_BUF_TOO_SMALL = (int)128L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_TCONV_BUF_TOO_SMALL 128
+ * }
+ */
+ public static int H5D_SEL_IO_TCONV_BUF_TOO_SMALL() { return H5D_SEL_IO_TCONV_BUF_TOO_SMALL; }
+ private static final int H5D_SEL_IO_BKG_BUF_TOO_SMALL = (int)256L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_BKG_BUF_TOO_SMALL 256
+ * }
+ */
+ public static int H5D_SEL_IO_BKG_BUF_TOO_SMALL() { return H5D_SEL_IO_BKG_BUF_TOO_SMALL; }
+ private static final int H5D_SEL_IO_DEFAULT_OFF = (int)512L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SEL_IO_DEFAULT_OFF 512
+ * }
+ */
+ public static int H5D_SEL_IO_DEFAULT_OFF() { return H5D_SEL_IO_DEFAULT_OFF; }
+ private static final int H5D_MPIO_NO_SELECTION_IO_CAUSES = (int)481L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_MPIO_NO_SELECTION_IO_CAUSES 481
+ * }
+ */
+ public static int H5D_MPIO_NO_SELECTION_IO_CAUSES() { return H5D_MPIO_NO_SELECTION_IO_CAUSES; }
+ private static final int H5D_SCALAR_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SCALAR_IO 1
+ * }
+ */
+ public static int H5D_SCALAR_IO() { return H5D_SCALAR_IO; }
+ private static final int H5D_VECTOR_IO = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_VECTOR_IO 2
+ * }
+ */
+ public static int H5D_VECTOR_IO() { return H5D_VECTOR_IO; }
+ private static final int H5D_SELECTION_IO = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * #define H5D_SELECTION_IO 4
+ * }
+ */
+ public static int H5D_SELECTION_IO() { return H5D_SELECTION_IO; }
+ /**
+ * {@snippet lang=c :
+ * #define H5PL_NO_PLUGIN "::"
+ * }
+ */
+ public static MemorySegment H5PL_NO_PLUGIN()
+ {
+ class Holder {
+ static final MemorySegment H5PL_NO_PLUGIN = hdf5_h.LIBRARY_ARENA.allocateFrom("::");
+ }
+ return Holder.H5PL_NO_PLUGIN;
+ }
+ private static final int H5FD_MEM_FHEAP_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_HDR() { return H5FD_MEM_FHEAP_HDR; }
+ private static final int H5FD_MEM_FHEAP_IBLOCK = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_IBLOCK 6
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_IBLOCK() { return H5FD_MEM_FHEAP_IBLOCK; }
+ private static final int H5FD_MEM_FHEAP_DBLOCK = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_DBLOCK 5
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_DBLOCK() { return H5FD_MEM_FHEAP_DBLOCK; }
+ private static final int H5FD_MEM_FHEAP_HUGE_OBJ = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FHEAP_HUGE_OBJ 3
+ * }
+ */
+ public static int H5FD_MEM_FHEAP_HUGE_OBJ() { return H5FD_MEM_FHEAP_HUGE_OBJ; }
+ private static final int H5FD_MEM_FSPACE_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FSPACE_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_FSPACE_HDR() { return H5FD_MEM_FSPACE_HDR; }
+ private static final int H5FD_MEM_FSPACE_SINFO = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FSPACE_SINFO 5
+ * }
+ */
+ public static int H5FD_MEM_FSPACE_SINFO() { return H5FD_MEM_FSPACE_SINFO; }
+ private static final int H5FD_MEM_SOHM_TABLE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_SOHM_TABLE 6
+ * }
+ */
+ public static int H5FD_MEM_SOHM_TABLE() { return H5FD_MEM_SOHM_TABLE; }
+ private static final int H5FD_MEM_SOHM_INDEX = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_SOHM_INDEX 2
+ * }
+ */
+ public static int H5FD_MEM_SOHM_INDEX() { return H5FD_MEM_SOHM_INDEX; }
+ private static final int H5FD_MEM_EARRAY_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_HDR() { return H5FD_MEM_EARRAY_HDR; }
+ private static final int H5FD_MEM_EARRAY_IBLOCK = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_IBLOCK 6
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_IBLOCK() { return H5FD_MEM_EARRAY_IBLOCK; }
+ private static final int H5FD_MEM_EARRAY_SBLOCK = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_SBLOCK 2
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_SBLOCK() { return H5FD_MEM_EARRAY_SBLOCK; }
+ private static final int H5FD_MEM_EARRAY_DBLOCK = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_DBLOCK 5
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_DBLOCK() { return H5FD_MEM_EARRAY_DBLOCK; }
+ private static final int H5FD_MEM_EARRAY_DBLK_PAGE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_EARRAY_DBLK_PAGE 5
+ * }
+ */
+ public static int H5FD_MEM_EARRAY_DBLK_PAGE() { return H5FD_MEM_EARRAY_DBLK_PAGE; }
+ private static final int H5FD_MEM_FARRAY_HDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FARRAY_HDR 6
+ * }
+ */
+ public static int H5FD_MEM_FARRAY_HDR() { return H5FD_MEM_FARRAY_HDR; }
+ private static final int H5FD_MEM_FARRAY_DBLOCK = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FARRAY_DBLOCK 5
+ * }
+ */
+ public static int H5FD_MEM_FARRAY_DBLOCK() { return H5FD_MEM_FARRAY_DBLOCK; }
+ private static final int H5FD_MEM_FARRAY_DBLK_PAGE = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MEM_FARRAY_DBLK_PAGE 5
+ * }
+ */
+ public static int H5FD_MEM_FARRAY_DBLK_PAGE() { return H5FD_MEM_FARRAY_DBLK_PAGE; }
+ private static final int H5Z_CLASS_T_VERS = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5Z_CLASS_T_VERS 1
+ * }
+ */
+ public static int H5Z_CLASS_T_VERS() { return H5Z_CLASS_T_VERS; }
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_NAME "native"
+ * }
+ */
+ public static MemorySegment H5VL_NATIVE_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5VL_NATIVE_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("native");
+ }
+ return Holder.H5VL_NATIVE_NAME;
+ }
+ private static final int H5VL_NATIVE_VALUE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_NATIVE_VALUE 0
+ * }
+ */
+ public static int H5VL_NATIVE_VALUE() { return H5VL_NATIVE_VALUE; }
+ private static final int H5FD_CORE_VALUE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_CORE_VALUE 1
+ * }
+ */
+ public static int H5FD_CORE_VALUE() { return H5FD_CORE_VALUE; }
+ private static final int H5FD_DIRECT = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_DIRECT -1
+ * }
+ */
+ public static int H5FD_DIRECT() { return H5FD_DIRECT; }
+ private static final int H5FD_DIRECT_VALUE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_DIRECT_VALUE -1
+ * }
+ */
+ public static int H5FD_DIRECT_VALUE() { return H5FD_DIRECT_VALUE; }
+ private static final int CBSIZE_DEF = (int)16777216L;
+ /**
+ * {@snippet lang=c :
+ * #define CBSIZE_DEF 16777216
+ * }
+ */
+ public static int CBSIZE_DEF() { return CBSIZE_DEF; }
+ private static final int H5FD_FAMILY_VALUE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_FAMILY_VALUE 3
+ * }
+ */
+ public static int H5FD_FAMILY_VALUE() { return H5FD_FAMILY_VALUE; }
+ private static final int H5FD_HDFS = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_HDFS -1
+ * }
+ */
+ public static int H5FD_HDFS() { return H5FD_HDFS; }
+ private static final int H5FD_HDFS_VALUE = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_HDFS_VALUE -1
+ * }
+ */
+ public static int H5FD_HDFS_VALUE() { return H5FD_HDFS_VALUE; }
+ private static final int H5FD_LOG_VALUE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_VALUE 2
+ * }
+ */
+ public static int H5FD_LOG_VALUE() { return H5FD_LOG_VALUE; }
+ private static final int H5FD_LOG_META_IO = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_META_IO 1
+ * }
+ */
+ public static int H5FD_LOG_META_IO() { return H5FD_LOG_META_IO; }
+ private static final int H5FD_LOG_LOC_IO = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_LOC_IO 14
+ * }
+ */
+ public static int H5FD_LOG_LOC_IO() { return H5FD_LOG_LOC_IO; }
+ private static final int H5FD_LOG_FILE_IO = (int)48L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_FILE_IO 48
+ * }
+ */
+ public static int H5FD_LOG_FILE_IO() { return H5FD_LOG_FILE_IO; }
+ private static final int H5FD_LOG_NUM_IO = (int)1920L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_NUM_IO 1920
+ * }
+ */
+ public static int H5FD_LOG_NUM_IO() { return H5FD_LOG_NUM_IO; }
+ private static final int H5FD_LOG_TIME_IO = (int)260096L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_TIME_IO 260096
+ * }
+ */
+ public static int H5FD_LOG_TIME_IO() { return H5FD_LOG_TIME_IO; }
+ private static final int H5FD_LOG_ALL = (int)1048575L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_LOG_ALL 1048575
+ * }
+ */
+ public static int H5FD_LOG_ALL() { return H5FD_LOG_ALL; }
+ private static final int H5FD_MPIO = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_MPIO -1
+ * }
+ */
+ public static int H5FD_MPIO() { return H5FD_MPIO; }
+ private static final int H5FD_ONION_VALUE = (int)14L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_VALUE 14
+ * }
+ */
+ public static int H5FD_ONION_VALUE() { return H5FD_ONION_VALUE; }
+ private static final int H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT 1
+ * }
+ */
+ public static int H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT()
+ {
+ return H5FD_ONION_FAPL_INFO_CREATE_FLAG_ENABLE_PAGE_ALIGNMENT;
+ }
+ private static final long H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST = -1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST -1
+ * }
+ */
+ public static long H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST()
+ {
+ return H5FD_ONION_FAPL_INFO_REVISION_ID_LATEST;
+ }
+ private static final int H5FD_ROS3_VALUE = (int)11L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3_VALUE 11
+ * }
+ */
+ public static int H5FD_ROS3_VALUE() { return H5FD_ROS3_VALUE; }
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_ROS3_VFD_DEFAULT_LOG_FILE "hdf5_ros3_vfd.log"
+ * }
+ */
+ public static MemorySegment H5FD_ROS3_VFD_DEFAULT_LOG_FILE()
+ {
+ class Holder {
+ static final MemorySegment H5FD_ROS3_VFD_DEFAULT_LOG_FILE =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("hdf5_ros3_vfd.log");
+ }
+ return Holder.H5FD_ROS3_VFD_DEFAULT_LOG_FILE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_ROS3_VFD_DEBUG "HDF5_ROS3_VFD_DEBUG"
+ * }
+ */
+ public static MemorySegment HDF5_ROS3_VFD_DEBUG()
+ {
+ class Holder {
+ static final MemorySegment HDF5_ROS3_VFD_DEBUG =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_ROS3_VFD_DEBUG");
+ }
+ return Holder.HDF5_ROS3_VFD_DEBUG;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_ROS3_VFD_LOG_LEVEL "HDF5_ROS3_VFD_LOG_LEVEL"
+ * }
+ */
+ public static MemorySegment HDF5_ROS3_VFD_LOG_LEVEL()
+ {
+ class Holder {
+ static final MemorySegment HDF5_ROS3_VFD_LOG_LEVEL =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_ROS3_VFD_LOG_LEVEL");
+ }
+ return Holder.HDF5_ROS3_VFD_LOG_LEVEL;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_ROS3_VFD_LOG_FILE "HDF5_ROS3_VFD_LOG_FILE"
+ * }
+ */
+ public static MemorySegment HDF5_ROS3_VFD_LOG_FILE()
+ {
+ class Holder {
+ static final MemorySegment HDF5_ROS3_VFD_LOG_FILE =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_ROS3_VFD_LOG_FILE");
+ }
+ return Holder.HDF5_ROS3_VFD_LOG_FILE;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define HDF5_ROS3_VFD_FORCE_PATH_STYLE "HDF5_ROS3_VFD_FORCE_PATH_STYLE"
+ * }
+ */
+ public static MemorySegment HDF5_ROS3_VFD_FORCE_PATH_STYLE()
+ {
+ class Holder {
+ static final MemorySegment HDF5_ROS3_VFD_FORCE_PATH_STYLE =
+ hdf5_h.LIBRARY_ARENA.allocateFrom("HDF5_ROS3_VFD_FORCE_PATH_STYLE");
+ }
+ return Holder.HDF5_ROS3_VFD_FORCE_PATH_STYLE;
+ }
+ private static final int H5FD_SEC2_VALUE = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SEC2_VALUE 0
+ * }
+ */
+ public static int H5FD_SEC2_VALUE() { return H5FD_SEC2_VALUE; }
+ private static final int H5FD_SPLITTER_VALUE = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SPLITTER_VALUE 6
+ * }
+ */
+ public static int H5FD_SPLITTER_VALUE() { return H5FD_SPLITTER_VALUE; }
+ private static final int H5FD_SUBFILING = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SUBFILING -1
+ * }
+ */
+ public static int H5FD_SUBFILING() { return H5FD_SUBFILING; }
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_SUBFILING_NAME "subfiling"
+ * }
+ */
+ public static MemorySegment H5FD_SUBFILING_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5FD_SUBFILING_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("subfiling");
+ }
+ return Holder.H5FD_SUBFILING_NAME;
+ }
+ private static final int H5FD_IOC = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_IOC -1
+ * }
+ */
+ public static int H5FD_IOC() { return H5FD_IOC; }
+ /**
+ * {@snippet lang=c :
+ * #define H5FD_IOC_NAME "ioc"
+ * }
+ */
+ public static MemorySegment H5FD_IOC_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5FD_IOC_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("ioc");
+ }
+ return Holder.H5FD_IOC_NAME;
+ }
+ /**
+ * {@snippet lang=c :
+ * #define H5VL_PASSTHRU_NAME "pass_through"
+ * }
+ */
+ public static MemorySegment H5VL_PASSTHRU_NAME()
+ {
+ class Holder {
+ static final MemorySegment H5VL_PASSTHRU_NAME = hdf5_h.LIBRARY_ARENA.allocateFrom("pass_through");
+ }
+ return Holder.H5VL_PASSTHRU_NAME;
+ }
+}
diff --git a/java/jsrc/features/ros3/windows/hdf5_h_1.java b/java/jsrc/features/ros3/windows/hdf5_h_1.java
new file mode 100644
index 00000000000..2f7407fb612
--- /dev/null
+++ b/java/jsrc/features/ros3/windows/hdf5_h_1.java
@@ -0,0 +1,40672 @@
+// Generated by jextract
+
+package org.hdfgroup.javahdf5;
+
+import static java.lang.foreign.MemoryLayout.PathElement.*;
+import static java.lang.foreign.ValueLayout.*;
+
+import java.lang.foreign.*;
+import java.lang.invoke.*;
+import java.nio.ByteOrder;
+import java.util.*;
+import java.util.function.*;
+import java.util.stream.*;
+
+public class hdf5_h_1 extends hdf5_h_2 {
+
+ hdf5_h_1()
+ {
+ // Should not be called directly
+ }
+ private static final int H5D_FILL_VALUE_UNDEFINED = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_UNDEFINED = 0
+ * }
+ */
+ public static int H5D_FILL_VALUE_UNDEFINED() { return H5D_FILL_VALUE_UNDEFINED; }
+ private static final int H5D_FILL_VALUE_DEFAULT = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_DEFAULT = 1
+ * }
+ */
+ public static int H5D_FILL_VALUE_DEFAULT() { return H5D_FILL_VALUE_DEFAULT; }
+ private static final int H5D_FILL_VALUE_USER_DEFINED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_fill_value_t.H5D_FILL_VALUE_USER_DEFINED = 2
+ * }
+ */
+ public static int H5D_FILL_VALUE_USER_DEFINED() { return H5D_FILL_VALUE_USER_DEFINED; }
+ private static final int H5D_VDS_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_vds_view_t.H5D_VDS_ERROR = -1
+ * }
+ */
+ public static int H5D_VDS_ERROR() { return H5D_VDS_ERROR; }
+ private static final int H5D_VDS_FIRST_MISSING = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_vds_view_t.H5D_VDS_FIRST_MISSING = 0
+ * }
+ */
+ public static int H5D_VDS_FIRST_MISSING() { return H5D_VDS_FIRST_MISSING; }
+ private static final int H5D_VDS_LAST_AVAILABLE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5D_vds_view_t.H5D_VDS_LAST_AVAILABLE = 1
+ * }
+ */
+ public static int H5D_VDS_LAST_AVAILABLE() { return H5D_VDS_LAST_AVAILABLE; }
+
+ private static class H5Dcreate2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate2$descriptor() { return H5Dcreate2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate2$handle() { return H5Dcreate2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate2$address() { return H5Dcreate2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate2(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t
+ * dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static long H5Dcreate2(long loc_id, MemorySegment name, long type_id, long space_id, long lcpl_id,
+ long dcpl_id, long dapl_id)
+ {
+ var mh$ = H5Dcreate2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate2", loc_id, name, type_id, space_id, lcpl_id, dcpl_id, dapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, type_id, space_id, lcpl_id, dcpl_id, dapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dcreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate_async$descriptor() { return H5Dcreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate_async$handle() { return H5Dcreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate_async$address() { return H5Dcreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t type_id, hid_t space_id, hid_t lcpl_id, hid_t dcpl_id, hid_t dapl_id, hid_t
+ * es_id)
+ * }
+ */
+ public static long H5Dcreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long type_id, long space_id,
+ long lcpl_id, long dcpl_id, long dapl_id, long es_id)
+ {
+ var mh$ = H5Dcreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate_async", app_file, app_func, app_line, loc_id, name, type_id,
+ space_id, lcpl_id, dcpl_id, dapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, type_id, space_id,
+ lcpl_id, dcpl_id, dapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dcreate_anon {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate_anon");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate_anon$descriptor() { return H5Dcreate_anon.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate_anon$handle() { return H5Dcreate_anon.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate_anon$address() { return H5Dcreate_anon.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate_anon(hid_t loc_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id)
+ * }
+ */
+ public static long H5Dcreate_anon(long loc_id, long type_id, long space_id, long dcpl_id, long dapl_id)
+ {
+ var mh$ = H5Dcreate_anon.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate_anon", loc_id, type_id, space_id, dcpl_id, dapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, type_id, space_id, dcpl_id, dapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dopen2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dopen2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dopen2$descriptor() { return H5Dopen2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static MethodHandle H5Dopen2$handle() { return H5Dopen2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static MemorySegment H5Dopen2$address() { return H5Dopen2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dopen2(hid_t loc_id, const char *name, hid_t dapl_id)
+ * }
+ */
+ public static long H5Dopen2(long loc_id, MemorySegment name, long dapl_id)
+ {
+ var mh$ = H5Dopen2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dopen2", loc_id, name, dapl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, dapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dopen_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dopen_async$descriptor() { return H5Dopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dopen_async$handle() { return H5Dopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dopen_async$address() { return H5Dopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t loc_id,
+ * const char *name, hid_t dapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Dopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long loc_id, MemorySegment name, long dapl_id, long es_id)
+ {
+ var mh$ = H5Dopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dopen_async", app_file, app_func, app_line, loc_id, name, dapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, loc_id, name, dapl_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_space {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_space");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_space$descriptor() { return H5Dget_space.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_space$handle() { return H5Dget_space.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_space$address() { return H5Dget_space.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_space(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_space(long dset_id)
+ {
+ var mh$ = H5Dget_space.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_space", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_space_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_space_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_space_async$descriptor() { return H5Dget_space_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dget_space_async$handle() { return H5Dget_space_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dget_space_async$address() { return H5Dget_space_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_space_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, hid_t es_id)
+ * }
+ */
+ public static long H5Dget_space_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long es_id)
+ {
+ var mh$ = H5Dget_space_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_space_async", app_file, app_func, app_line, dset_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, dset_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_space_status {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_space_status");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_space_status$descriptor() { return H5Dget_space_status.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static MethodHandle H5Dget_space_status$handle() { return H5Dget_space_status.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static MemorySegment H5Dget_space_status$address() { return H5Dget_space_status.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_space_status(hid_t dset_id, H5D_space_status_t *allocation)
+ * }
+ */
+ public static int H5Dget_space_status(long dset_id, MemorySegment allocation)
+ {
+ var mh$ = H5Dget_space_status.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_space_status", dset_id, allocation);
+ }
+ return (int)mh$.invokeExact(dset_id, allocation);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_type$descriptor() { return H5Dget_type.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_type$handle() { return H5Dget_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_type$address() { return H5Dget_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_type(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_type(long dset_id)
+ {
+ var mh$ = H5Dget_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_type", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_create_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_create_plist$descriptor() { return H5Dget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_create_plist$handle() { return H5Dget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_create_plist$address() { return H5Dget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_create_plist(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_create_plist(long dset_id)
+ {
+ var mh$ = H5Dget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_create_plist", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_access_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_access_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_access_plist$descriptor() { return H5Dget_access_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_access_plist$handle() { return H5Dget_access_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_access_plist$address() { return H5Dget_access_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dget_access_plist(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_access_plist(long dset_id)
+ {
+ var mh$ = H5Dget_access_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_access_plist", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_storage_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_storage_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_storage_size$descriptor() { return H5Dget_storage_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_storage_size$handle() { return H5Dget_storage_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_storage_size$address() { return H5Dget_storage_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hsize_t H5Dget_storage_size(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_storage_size(long dset_id)
+ {
+ var mh$ = H5Dget_storage_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_storage_size", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_storage_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_storage_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_storage_size$descriptor()
+ {
+ return H5Dget_chunk_storage_size.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_storage_size$handle() { return H5Dget_chunk_storage_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_storage_size$address() { return H5Dget_chunk_storage_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_storage_size(hid_t dset_id, const hsize_t *offset, hsize_t *chunk_bytes)
+ * }
+ */
+ public static int H5Dget_chunk_storage_size(long dset_id, MemorySegment offset, MemorySegment chunk_bytes)
+ {
+ var mh$ = H5Dget_chunk_storage_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_storage_size", dset_id, offset, chunk_bytes);
+ }
+ return (int)mh$.invokeExact(dset_id, offset, chunk_bytes);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_num_chunks {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_num_chunks");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_num_chunks$descriptor() { return H5Dget_num_chunks.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static MethodHandle H5Dget_num_chunks$handle() { return H5Dget_num_chunks.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static MemorySegment H5Dget_num_chunks$address() { return H5Dget_num_chunks.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_num_chunks(hid_t dset_id, hid_t fspace_id, hsize_t *nchunks)
+ * }
+ */
+ public static int H5Dget_num_chunks(long dset_id, long fspace_id, MemorySegment nchunks)
+ {
+ var mh$ = H5Dget_num_chunks.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_num_chunks", dset_id, fspace_id, nchunks);
+ }
+ return (int)mh$.invokeExact(dset_id, fspace_id, nchunks);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_info_by_coord {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_info_by_coord");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_info_by_coord$descriptor()
+ {
+ return H5Dget_chunk_info_by_coord.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_info_by_coord$handle()
+ {
+ return H5Dget_chunk_info_by_coord.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_info_by_coord$address()
+ {
+ return H5Dget_chunk_info_by_coord.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info_by_coord(hid_t dset_id, const hsize_t *offset, unsigned int *filter_mask,
+ * haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static int H5Dget_chunk_info_by_coord(long dset_id, MemorySegment offset,
+ MemorySegment filter_mask, MemorySegment addr,
+ MemorySegment size)
+ {
+ var mh$ = H5Dget_chunk_info_by_coord.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_info_by_coord", dset_id, offset, filter_mask, addr, size);
+ }
+ return (int)mh$.invokeExact(dset_id, offset, filter_mask, addr, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dchunk_iter {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dchunk_iter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Dchunk_iter$descriptor() { return H5Dchunk_iter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Dchunk_iter$handle() { return H5Dchunk_iter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Dchunk_iter$address() { return H5Dchunk_iter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dchunk_iter(hid_t dset_id, hid_t dxpl_id, H5D_chunk_iter_op_t cb, void *op_data)
+ * }
+ */
+ public static int H5Dchunk_iter(long dset_id, long dxpl_id, MemorySegment cb, MemorySegment op_data)
+ {
+ var mh$ = H5Dchunk_iter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dchunk_iter", dset_id, dxpl_id, cb, op_data);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, cb, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_info$descriptor() { return H5Dget_chunk_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_info$handle() { return H5Dget_chunk_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_info$address() { return H5Dget_chunk_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t chk_idx, hsize_t *offset, unsigned int
+ * *filter_mask, haddr_t *addr, hsize_t *size)
+ * }
+ */
+ public static int H5Dget_chunk_info(long dset_id, long fspace_id, long chk_idx, MemorySegment offset,
+ MemorySegment filter_mask, MemorySegment addr, MemorySegment size)
+ {
+ var mh$ = H5Dget_chunk_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_info", dset_id, fspace_id, chk_idx, offset, filter_mask, addr,
+ size);
+ }
+ return (int)mh$.invokeExact(dset_id, fspace_id, chk_idx, offset, filter_mask, addr, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_offset {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_offset");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_offset$descriptor() { return H5Dget_offset.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dget_offset$handle() { return H5Dget_offset.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dget_offset$address() { return H5Dget_offset.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * haddr_t H5Dget_offset(hid_t dset_id)
+ * }
+ */
+ public static long H5Dget_offset(long dset_id)
+ {
+ var mh$ = H5Dget_offset.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_offset", dset_id);
+ }
+ return (long)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dread$descriptor() { return H5Dread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Dread$handle() { return H5Dread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Dread$address() { return H5Dread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, void *buf)
+ * }
+ */
+ public static int H5Dread(long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf)
+ {
+ var mh$ = H5Dread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread", dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Dread_multi$descriptor() { return H5Dread_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static MethodHandle H5Dread_multi$handle() { return H5Dread_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static MemorySegment H5Dread_multi$address() { return H5Dread_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, void *buf[])
+ * }
+ */
+ public static int H5Dread_multi(long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id, long dxpl_id,
+ MemorySegment buf)
+ {
+ var mh$ = H5Dread_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_multi", count, dset_id, mem_type_id, mem_space_id, file_space_id,
+ dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(count, dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id,
+ buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_async$descriptor() { return H5Dread_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dread_async$handle() { return H5Dread_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dread_async$address() { return H5Dread_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, void *buf, hid_t es_id)
+ * }
+ */
+ public static int H5Dread_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dread_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_async", app_file, app_func, app_line, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, mem_type_id, mem_space_id,
+ file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_multi_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_multi_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_multi_async$descriptor() { return H5Dread_multi_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dread_multi_async$handle() { return H5Dread_multi_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dread_multi_async$address() { return H5Dread_multi_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, void *buf[], hid_t es_id)
+ * }
+ */
+ public static int H5Dread_multi_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dread_multi_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_multi_async", app_file, app_func, app_line, count, dset_id,
+ mem_type_id, mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, count, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite$descriptor() { return H5Dwrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static MethodHandle H5Dwrite$handle() { return H5Dwrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static MemorySegment H5Dwrite$address() { return H5Dwrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite(hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t
+ * dxpl_id, const void *buf)
+ * }
+ */
+ public static int H5Dwrite(long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf)
+ {
+ var mh$ = H5Dwrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite", dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_multi {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_multi");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_multi$descriptor() { return H5Dwrite_multi.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static MethodHandle H5Dwrite_multi$handle() { return H5Dwrite_multi.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static MemorySegment H5Dwrite_multi$address() { return H5Dwrite_multi.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi(size_t count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t
+ * file_space_id[], hid_t dxpl_id, const void *buf[])
+ * }
+ */
+ public static int H5Dwrite_multi(long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id, long dxpl_id,
+ MemorySegment buf)
+ {
+ var mh$ = H5Dwrite_multi.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_multi", count, dset_id, mem_type_id, mem_space_id, file_space_id,
+ dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(count, dset_id, mem_type_id, mem_space_id, file_space_id, dxpl_id,
+ buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_async$descriptor() { return H5Dwrite_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static MethodHandle H5Dwrite_async$handle() { return H5Dwrite_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static MemorySegment H5Dwrite_async$address() { return H5Dwrite_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t mem_type_id, hid_t mem_space_id, hid_t file_space_id, hid_t dxpl_id, const void *buf, hid_t
+ * es_id)
+ * }
+ */
+ public static int H5Dwrite_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long mem_type_id, long mem_space_id, long file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dwrite_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_async", app_file, app_func, app_line, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, mem_type_id, mem_space_id,
+ file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_multi_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_multi_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_multi_async$descriptor() { return H5Dwrite_multi_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dwrite_multi_async$handle() { return H5Dwrite_multi_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dwrite_multi_async$address() { return H5Dwrite_multi_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_multi_async(const char *app_file, const char *app_func, unsigned int app_line, size_t
+ * count, hid_t dset_id[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t
+ * dxpl_id, const void *buf[], hid_t es_id)
+ * }
+ */
+ public static int H5Dwrite_multi_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long count, MemorySegment dset_id, MemorySegment mem_type_id,
+ MemorySegment mem_space_id, MemorySegment file_space_id,
+ long dxpl_id, MemorySegment buf, long es_id)
+ {
+ var mh$ = H5Dwrite_multi_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_multi_async", app_file, app_func, app_line, count, dset_id,
+ mem_type_id, mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, count, dset_id, mem_type_id,
+ mem_space_id, file_space_id, dxpl_id, buf, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dwrite_chunk {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dwrite_chunk");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dwrite_chunk$descriptor() { return H5Dwrite_chunk.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static MethodHandle H5Dwrite_chunk$handle() { return H5Dwrite_chunk.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static MemorySegment H5Dwrite_chunk$address() { return H5Dwrite_chunk.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dwrite_chunk(hid_t dset_id, hid_t dxpl_id, uint32_t filters, const hsize_t *offset, size_t
+ * data_size, const void *buf)
+ * }
+ */
+ public static int H5Dwrite_chunk(long dset_id, long dxpl_id, int filters, MemorySegment offset,
+ long data_size, MemorySegment buf)
+ {
+ var mh$ = H5Dwrite_chunk.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dwrite_chunk", dset_id, dxpl_id, filters, offset, data_size, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, filters, offset, data_size, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_chunk2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_chunk2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_chunk2$descriptor() { return H5Dread_chunk2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static MethodHandle H5Dread_chunk2$handle() { return H5Dread_chunk2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static MemorySegment H5Dread_chunk2$address() { return H5Dread_chunk2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk2(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf, size_t *buf_size)
+ * }
+ */
+ public static int H5Dread_chunk2(long dset_id, long dxpl_id, MemorySegment offset, MemorySegment filters,
+ MemorySegment buf, MemorySegment buf_size)
+ {
+ var mh$ = H5Dread_chunk2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_chunk2", dset_id, dxpl_id, offset, filters, buf, buf_size);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, offset, filters, buf, buf_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Diterate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Diterate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static FunctionDescriptor H5Diterate$descriptor() { return H5Diterate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static MethodHandle H5Diterate$handle() { return H5Diterate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static MemorySegment H5Diterate$address() { return H5Diterate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Diterate(void *buf, hid_t type_id, hid_t space_id, H5D_operator_t op, void *operator_data)
+ * }
+ */
+ public static int H5Diterate(MemorySegment buf, long type_id, long space_id, MemorySegment op,
+ MemorySegment operator_data)
+ {
+ var mh$ = H5Diterate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Diterate", buf, type_id, space_id, op, operator_data);
+ }
+ return (int)mh$.invokeExact(buf, type_id, space_id, op, operator_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dvlen_get_buf_size {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dvlen_get_buf_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Dvlen_get_buf_size$descriptor() { return H5Dvlen_get_buf_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Dvlen_get_buf_size$handle() { return H5Dvlen_get_buf_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Dvlen_get_buf_size$address() { return H5Dvlen_get_buf_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_get_buf_size(hid_t dset_id, hid_t type_id, hid_t space_id, hsize_t *size)
+ * }
+ */
+ public static int H5Dvlen_get_buf_size(long dset_id, long type_id, long space_id, MemorySegment size)
+ {
+ var mh$ = H5Dvlen_get_buf_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dvlen_get_buf_size", dset_id, type_id, space_id, size);
+ }
+ return (int)mh$.invokeExact(dset_id, type_id, space_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dfill {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dfill");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dfill$descriptor() { return H5Dfill.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static MethodHandle H5Dfill$handle() { return H5Dfill.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static MemorySegment H5Dfill$address() { return H5Dfill.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dfill(const void *fill, hid_t fill_type_id, void *buf, hid_t buf_type_id, hid_t space_id)
+ * }
+ */
+ public static int H5Dfill(MemorySegment fill, long fill_type_id, MemorySegment buf, long buf_type_id,
+ long space_id)
+ {
+ var mh$ = H5Dfill.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dfill", fill, fill_type_id, buf, buf_type_id, space_id);
+ }
+ return (int)mh$.invokeExact(fill, fill_type_id, buf, buf_type_id, space_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dset_extent {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dset_extent");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static FunctionDescriptor H5Dset_extent$descriptor() { return H5Dset_extent.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MethodHandle H5Dset_extent$handle() { return H5Dset_extent.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MemorySegment H5Dset_extent$address() { return H5Dset_extent.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static int H5Dset_extent(long dset_id, MemorySegment size)
+ {
+ var mh$ = H5Dset_extent.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dset_extent", dset_id, size);
+ }
+ return (int)mh$.invokeExact(dset_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dset_extent_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dset_extent_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dset_extent_async$descriptor() { return H5Dset_extent_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dset_extent_async$handle() { return H5Dset_extent_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dset_extent_async$address() { return H5Dset_extent_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dset_extent_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * dset_id, const hsize_t size[], hid_t es_id)
+ * }
+ */
+ public static int H5Dset_extent_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, MemorySegment size, long es_id)
+ {
+ var mh$ = H5Dset_extent_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dset_extent_async", app_file, app_func, app_line, dset_id, size, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, size, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dflush$descriptor() { return H5Dflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dflush$handle() { return H5Dflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dflush$address() { return H5Dflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dflush(hid_t dset_id)
+ * }
+ */
+ public static int H5Dflush(long dset_id)
+ {
+ var mh$ = H5Dflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dflush", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Drefresh {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Drefresh");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Drefresh$descriptor() { return H5Drefresh.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Drefresh$handle() { return H5Drefresh.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Drefresh$address() { return H5Drefresh.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Drefresh(hid_t dset_id)
+ * }
+ */
+ public static int H5Drefresh(long dset_id)
+ {
+ var mh$ = H5Drefresh.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Drefresh", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dscatter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dscatter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dscatter$descriptor() { return H5Dscatter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static MethodHandle H5Dscatter$handle() { return H5Dscatter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static MemorySegment H5Dscatter$address() { return H5Dscatter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dscatter(H5D_scatter_func_t op, void *op_data, hid_t type_id, hid_t dst_space_id, void
+ * *dst_buf)
+ * }
+ */
+ public static int H5Dscatter(MemorySegment op, MemorySegment op_data, long type_id, long dst_space_id,
+ MemorySegment dst_buf)
+ {
+ var mh$ = H5Dscatter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dscatter", op, op_data, type_id, dst_space_id, dst_buf);
+ }
+ return (int)mh$.invokeExact(op, op_data, type_id, dst_space_id, dst_buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dgather {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dgather");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static FunctionDescriptor H5Dgather$descriptor() { return H5Dgather.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static MethodHandle H5Dgather$handle() { return H5Dgather.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static MemorySegment H5Dgather$address() { return H5Dgather.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dgather(hid_t src_space_id, const void *src_buf, hid_t type_id, size_t dst_buf_size, void
+ * *dst_buf, H5D_gather_func_t op, void *op_data)
+ * }
+ */
+ public static int H5Dgather(long src_space_id, MemorySegment src_buf, long type_id, long dst_buf_size,
+ MemorySegment dst_buf, MemorySegment op, MemorySegment op_data)
+ {
+ var mh$ = H5Dgather.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dgather", src_space_id, src_buf, type_id, dst_buf_size, dst_buf, op,
+ op_data);
+ }
+ return (int)mh$.invokeExact(src_space_id, src_buf, type_id, dst_buf_size, dst_buf, op, op_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dclose$descriptor() { return H5Dclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dclose$handle() { return H5Dclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dclose$address() { return H5Dclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dclose(hid_t dset_id)
+ * }
+ */
+ public static int H5Dclose(long dset_id)
+ {
+ var mh$ = H5Dclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dclose", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dclose_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dclose_async$descriptor() { return H5Dclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Dclose_async$handle() { return H5Dclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Dclose_async$address() { return H5Dclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t dset_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Dclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long dset_id, long es_id)
+ {
+ var mh$ = H5Dclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dclose_async", app_file, app_func, app_line, dset_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, dset_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ddebug {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ddebug");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Ddebug$descriptor() { return H5Ddebug.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Ddebug$handle() { return H5Ddebug.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Ddebug$address() { return H5Ddebug.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ddebug(hid_t dset_id)
+ * }
+ */
+ public static int H5Ddebug(long dset_id)
+ {
+ var mh$ = H5Ddebug.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ddebug", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dformat_convert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dformat_convert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dformat_convert$descriptor() { return H5Dformat_convert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static MethodHandle H5Dformat_convert$handle() { return H5Dformat_convert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static MemorySegment H5Dformat_convert$address() { return H5Dformat_convert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dformat_convert(hid_t dset_id)
+ * }
+ */
+ public static int H5Dformat_convert(long dset_id)
+ {
+ var mh$ = H5Dformat_convert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dformat_convert", dset_id);
+ }
+ return (int)mh$.invokeExact(dset_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dget_chunk_index_type {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dget_chunk_index_type");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static FunctionDescriptor H5Dget_chunk_index_type$descriptor()
+ {
+ return H5Dget_chunk_index_type.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static MethodHandle H5Dget_chunk_index_type$handle() { return H5Dget_chunk_index_type.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static MemorySegment H5Dget_chunk_index_type$address() { return H5Dget_chunk_index_type.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dget_chunk_index_type(hid_t did, H5D_chunk_index_t *idx_type)
+ * }
+ */
+ public static int H5Dget_chunk_index_type(long did, MemorySegment idx_type)
+ {
+ var mh$ = H5Dget_chunk_index_type.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dget_chunk_index_type", did, idx_type);
+ }
+ return (int)mh$.invokeExact(did, idx_type);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dcreate1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dcreate1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Dcreate1$descriptor() { return H5Dcreate1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static MethodHandle H5Dcreate1$handle() { return H5Dcreate1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static MemorySegment H5Dcreate1$address() { return H5Dcreate1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dcreate1(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id, hid_t dcpl_id)
+ * }
+ */
+ public static long H5Dcreate1(long loc_id, MemorySegment name, long type_id, long space_id, long dcpl_id)
+ {
+ var mh$ = H5Dcreate1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dcreate1", loc_id, name, type_id, space_id, dcpl_id);
+ }
+ return (long)mh$.invokeExact(loc_id, name, type_id, space_id, dcpl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dopen1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dopen1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Dopen1$descriptor() { return H5Dopen1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Dopen1$handle() { return H5Dopen1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Dopen1$address() { return H5Dopen1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Dopen1(hid_t loc_id, const char *name)
+ * }
+ */
+ public static long H5Dopen1(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Dopen1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dopen1", loc_id, name);
+ }
+ return (long)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dextend {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dextend");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static FunctionDescriptor H5Dextend$descriptor() { return H5Dextend.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MethodHandle H5Dextend$handle() { return H5Dextend.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static MemorySegment H5Dextend$address() { return H5Dextend.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dextend(hid_t dset_id, const hsize_t size[])
+ * }
+ */
+ public static int H5Dextend(long dset_id, MemorySegment size)
+ {
+ var mh$ = H5Dextend.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dextend", dset_id, size);
+ }
+ return (int)mh$.invokeExact(dset_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dvlen_reclaim {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dvlen_reclaim");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dvlen_reclaim$descriptor() { return H5Dvlen_reclaim.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static MethodHandle H5Dvlen_reclaim$handle() { return H5Dvlen_reclaim.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static MemorySegment H5Dvlen_reclaim$address() { return H5Dvlen_reclaim.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dvlen_reclaim(hid_t type_id, hid_t space_id, hid_t dxpl_id, void *buf)
+ * }
+ */
+ public static int H5Dvlen_reclaim(long type_id, long space_id, long dxpl_id, MemorySegment buf)
+ {
+ var mh$ = H5Dvlen_reclaim.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dvlen_reclaim", type_id, space_id, dxpl_id, buf);
+ }
+ return (int)mh$.invokeExact(type_id, space_id, dxpl_id, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Dread_chunk1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Dread_chunk1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static FunctionDescriptor H5Dread_chunk1$descriptor() { return H5Dread_chunk1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static MethodHandle H5Dread_chunk1$handle() { return H5Dread_chunk1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static MemorySegment H5Dread_chunk1$address() { return H5Dread_chunk1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Dread_chunk1(hid_t dset_id, hid_t dxpl_id, const hsize_t *offset, uint32_t *filters, void
+ * *buf)
+ * }
+ */
+ public static int H5Dread_chunk1(long dset_id, long dxpl_id, MemorySegment offset, MemorySegment filters,
+ MemorySegment buf)
+ {
+ var mh$ = H5Dread_chunk1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Dread_chunk1", dset_id, dxpl_id, offset, filters, buf);
+ }
+ return (int)mh$.invokeExact(dset_id, dxpl_id, offset, filters, buf);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __acrt_iob_func {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__acrt_iob_func");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *__acrt_iob_func(unsigned int _Ix)
+ * }
+ */
+ public static FunctionDescriptor __acrt_iob_func$descriptor() { return __acrt_iob_func.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *__acrt_iob_func(unsigned int _Ix)
+ * }
+ */
+ public static MethodHandle __acrt_iob_func$handle() { return __acrt_iob_func.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *__acrt_iob_func(unsigned int _Ix)
+ * }
+ */
+ public static MemorySegment __acrt_iob_func$address() { return __acrt_iob_func.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *__acrt_iob_func(unsigned int _Ix)
+ * }
+ */
+ public static MemorySegment __acrt_iob_func(int _Ix)
+ {
+ var mh$ = __acrt_iob_func.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__acrt_iob_func", _Ix);
+ }
+ return (MemorySegment)mh$.invokeExact(_Ix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetwc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetwc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t fgetwc(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fgetwc$descriptor() { return fgetwc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t fgetwc(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fgetwc$handle() { return fgetwc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t fgetwc(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fgetwc$address() { return fgetwc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t fgetwc(FILE *_Stream)
+ * }
+ */
+ public static short fgetwc(MemorySegment _Stream)
+ {
+ var mh$ = fgetwc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetwc", _Stream);
+ }
+ return (short)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fgetwchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_SHORT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fgetwchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t _fgetwchar()
+ * }
+ */
+ public static FunctionDescriptor _fgetwchar$descriptor() { return _fgetwchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t _fgetwchar()
+ * }
+ */
+ public static MethodHandle _fgetwchar$handle() { return _fgetwchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t _fgetwchar()
+ * }
+ */
+ public static MemorySegment _fgetwchar$address() { return _fgetwchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t _fgetwchar()
+ * }
+ */
+ public static short _fgetwchar()
+ {
+ var mh$ = _fgetwchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fgetwchar");
+ }
+ return (short)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fputwc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputwc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t fputwc(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fputwc$descriptor() { return fputwc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t fputwc(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fputwc$handle() { return fputwc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t fputwc(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fputwc$address() { return fputwc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t fputwc(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static short fputwc(short _Character, MemorySegment _Stream)
+ {
+ var mh$ = fputwc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputwc", _Character, _Stream);
+ }
+ return (short)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fputwchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_SHORT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fputwchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t _fputwchar(wchar_t _Character)
+ * }
+ */
+ public static FunctionDescriptor _fputwchar$descriptor() { return _fputwchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t _fputwchar(wchar_t _Character)
+ * }
+ */
+ public static MethodHandle _fputwchar$handle() { return _fputwchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t _fputwchar(wchar_t _Character)
+ * }
+ */
+ public static MemorySegment _fputwchar$address() { return _fputwchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t _fputwchar(wchar_t _Character)
+ * }
+ */
+ public static short _fputwchar(short _Character)
+ {
+ var mh$ = _fputwchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fputwchar", _Character);
+ }
+ return (short)mh$.invokeExact(_Character);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getwc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getwc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t getwc(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor getwc$descriptor() { return getwc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t getwc(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle getwc$handle() { return getwc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t getwc(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment getwc$address() { return getwc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t getwc(FILE *_Stream)
+ * }
+ */
+ public static short getwc(MemorySegment _Stream)
+ {
+ var mh$ = getwc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getwc", _Stream);
+ }
+ return (short)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getwchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_SHORT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getwchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t getwchar()
+ * }
+ */
+ public static FunctionDescriptor getwchar$descriptor() { return getwchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t getwchar()
+ * }
+ */
+ public static MethodHandle getwchar$handle() { return getwchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t getwchar()
+ * }
+ */
+ public static MemorySegment getwchar$address() { return getwchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t getwchar()
+ * }
+ */
+ public static short getwchar()
+ {
+ var mh$ = getwchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getwchar");
+ }
+ return (short)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetws {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetws");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wchar_t *fgetws(wchar_t *_Buffer, int _BufferCount, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fgetws$descriptor() { return fgetws.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wchar_t *fgetws(wchar_t *_Buffer, int _BufferCount, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fgetws$handle() { return fgetws.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wchar_t *fgetws(wchar_t *_Buffer, int _BufferCount, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fgetws$address() { return fgetws.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wchar_t *fgetws(wchar_t *_Buffer, int _BufferCount, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fgetws(MemorySegment _Buffer, int _BufferCount, MemorySegment _Stream)
+ {
+ var mh$ = fgetws.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetws", _Buffer, _BufferCount, _Stream);
+ }
+ return (MemorySegment)mh$.invokeExact(_Buffer, _BufferCount, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fputws {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputws");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fputws(const wchar_t *_Buffer, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fputws$descriptor() { return fputws.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fputws(const wchar_t *_Buffer, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fputws$handle() { return fputws.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fputws(const wchar_t *_Buffer, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fputws$address() { return fputws.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fputws(const wchar_t *_Buffer, FILE *_Stream)
+ * }
+ */
+ public static int fputws(MemorySegment _Buffer, MemorySegment _Stream)
+ {
+ var mh$ = fputws.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputws", _Buffer, _Stream);
+ }
+ return (int)mh$.invokeExact(_Buffer, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _getws_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_getws_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wchar_t *_getws_s(wchar_t *_Buffer, size_t _BufferCount)
+ * }
+ */
+ public static FunctionDescriptor _getws_s$descriptor() { return _getws_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wchar_t *_getws_s(wchar_t *_Buffer, size_t _BufferCount)
+ * }
+ */
+ public static MethodHandle _getws_s$handle() { return _getws_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wchar_t *_getws_s(wchar_t *_Buffer, size_t _BufferCount)
+ * }
+ */
+ public static MemorySegment _getws_s$address() { return _getws_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wchar_t *_getws_s(wchar_t *_Buffer, size_t _BufferCount)
+ * }
+ */
+ public static MemorySegment _getws_s(MemorySegment _Buffer, long _BufferCount)
+ {
+ var mh$ = _getws_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_getws_s", _Buffer, _BufferCount);
+ }
+ return (MemorySegment)mh$.invokeExact(_Buffer, _BufferCount);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putwc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putwc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t putwc(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor putwc$descriptor() { return putwc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t putwc(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle putwc$handle() { return putwc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t putwc(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment putwc$address() { return putwc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t putwc(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static short putwc(short _Character, MemorySegment _Stream)
+ {
+ var mh$ = putwc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putwc", _Character, _Stream);
+ }
+ return (short)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putwchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_SHORT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putwchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t putwchar(wchar_t _Character)
+ * }
+ */
+ public static FunctionDescriptor putwchar$descriptor() { return putwchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t putwchar(wchar_t _Character)
+ * }
+ */
+ public static MethodHandle putwchar$handle() { return putwchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t putwchar(wchar_t _Character)
+ * }
+ */
+ public static MemorySegment putwchar$address() { return putwchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t putwchar(wchar_t _Character)
+ * }
+ */
+ public static short putwchar(short _Character)
+ {
+ var mh$ = putwchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putwchar", _Character);
+ }
+ return (short)mh$.invokeExact(_Character);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _putws {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_putws");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _putws(const wchar_t *_Buffer)
+ * }
+ */
+ public static FunctionDescriptor _putws$descriptor() { return _putws.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _putws(const wchar_t *_Buffer)
+ * }
+ */
+ public static MethodHandle _putws$handle() { return _putws.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _putws(const wchar_t *_Buffer)
+ * }
+ */
+ public static MemorySegment _putws$address() { return _putws.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _putws(const wchar_t *_Buffer)
+ * }
+ */
+ public static int _putws(MemorySegment _Buffer)
+ {
+ var mh$ = _putws.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_putws", _Buffer);
+ }
+ return (int)mh$.invokeExact(_Buffer);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ungetwc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ungetwc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t ungetwc(wint_t _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor ungetwc$descriptor() { return ungetwc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t ungetwc(wint_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle ungetwc$handle() { return ungetwc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t ungetwc(wint_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment ungetwc$address() { return ungetwc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t ungetwc(wint_t _Character, FILE *_Stream)
+ * }
+ */
+ public static short ungetwc(short _Character, MemorySegment _Stream)
+ {
+ var mh$ = ungetwc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ungetwc", _Character, _Stream);
+ }
+ return (short)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wfdopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wfdopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *_wfdopen(int _FileHandle, const wchar_t *_Mode)
+ * }
+ */
+ public static FunctionDescriptor _wfdopen$descriptor() { return _wfdopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *_wfdopen(int _FileHandle, const wchar_t *_Mode)
+ * }
+ */
+ public static MethodHandle _wfdopen$handle() { return _wfdopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *_wfdopen(int _FileHandle, const wchar_t *_Mode)
+ * }
+ */
+ public static MemorySegment _wfdopen$address() { return _wfdopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *_wfdopen(int _FileHandle, const wchar_t *_Mode)
+ * }
+ */
+ public static MemorySegment _wfdopen(int _FileHandle, MemorySegment _Mode)
+ {
+ var mh$ = _wfdopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wfdopen", _FileHandle, _Mode);
+ }
+ return (MemorySegment)mh$.invokeExact(_FileHandle, _Mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wfopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wfopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *_wfopen(const wchar_t *_FileName, const wchar_t *_Mode)
+ * }
+ */
+ public static FunctionDescriptor _wfopen$descriptor() { return _wfopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *_wfopen(const wchar_t *_FileName, const wchar_t *_Mode)
+ * }
+ */
+ public static MethodHandle _wfopen$handle() { return _wfopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *_wfopen(const wchar_t *_FileName, const wchar_t *_Mode)
+ * }
+ */
+ public static MemorySegment _wfopen$address() { return _wfopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *_wfopen(const wchar_t *_FileName, const wchar_t *_Mode)
+ * }
+ */
+ public static MemorySegment _wfopen(MemorySegment _FileName, MemorySegment _Mode)
+ {
+ var mh$ = _wfopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wfopen", _FileName, _Mode);
+ }
+ return (MemorySegment)mh$.invokeExact(_FileName, _Mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wfopen_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wfopen_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * errno_t _wfopen_s(FILE **_Stream, const wchar_t *_FileName, const wchar_t *_Mode)
+ * }
+ */
+ public static FunctionDescriptor _wfopen_s$descriptor() { return _wfopen_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * errno_t _wfopen_s(FILE **_Stream, const wchar_t *_FileName, const wchar_t *_Mode)
+ * }
+ */
+ public static MethodHandle _wfopen_s$handle() { return _wfopen_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * errno_t _wfopen_s(FILE **_Stream, const wchar_t *_FileName, const wchar_t *_Mode)
+ * }
+ */
+ public static MemorySegment _wfopen_s$address() { return _wfopen_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * errno_t _wfopen_s(FILE **_Stream, const wchar_t *_FileName, const wchar_t *_Mode)
+ * }
+ */
+ public static int _wfopen_s(MemorySegment _Stream, MemorySegment _FileName, MemorySegment _Mode)
+ {
+ var mh$ = _wfopen_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wfopen_s", _Stream, _FileName, _Mode);
+ }
+ return (int)mh$.invokeExact(_Stream, _FileName, _Mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wfreopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wfreopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *_wfreopen(const wchar_t *_FileName, const wchar_t *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static FunctionDescriptor _wfreopen$descriptor() { return _wfreopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *_wfreopen(const wchar_t *_FileName, const wchar_t *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static MethodHandle _wfreopen$handle() { return _wfreopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *_wfreopen(const wchar_t *_FileName, const wchar_t *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static MemorySegment _wfreopen$address() { return _wfreopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *_wfreopen(const wchar_t *_FileName, const wchar_t *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static MemorySegment _wfreopen(MemorySegment _FileName, MemorySegment _Mode,
+ MemorySegment _OldStream)
+ {
+ var mh$ = _wfreopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wfreopen", _FileName, _Mode, _OldStream);
+ }
+ return (MemorySegment)mh$.invokeExact(_FileName, _Mode, _OldStream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wfreopen_s {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wfreopen_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * errno_t _wfreopen_s(FILE **_Stream, const wchar_t *_FileName, const wchar_t *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static FunctionDescriptor _wfreopen_s$descriptor() { return _wfreopen_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * errno_t _wfreopen_s(FILE **_Stream, const wchar_t *_FileName, const wchar_t *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static MethodHandle _wfreopen_s$handle() { return _wfreopen_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * errno_t _wfreopen_s(FILE **_Stream, const wchar_t *_FileName, const wchar_t *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static MemorySegment _wfreopen_s$address() { return _wfreopen_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * errno_t _wfreopen_s(FILE **_Stream, const wchar_t *_FileName, const wchar_t *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static int _wfreopen_s(MemorySegment _Stream, MemorySegment _FileName, MemorySegment _Mode,
+ MemorySegment _OldStream)
+ {
+ var mh$ = _wfreopen_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wfreopen_s", _Stream, _FileName, _Mode, _OldStream);
+ }
+ return (int)mh$.invokeExact(_Stream, _FileName, _Mode, _OldStream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wfsopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wfsopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *_wfsopen(const wchar_t *_FileName, const wchar_t *_Mode, int _ShFlag)
+ * }
+ */
+ public static FunctionDescriptor _wfsopen$descriptor() { return _wfsopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *_wfsopen(const wchar_t *_FileName, const wchar_t *_Mode, int _ShFlag)
+ * }
+ */
+ public static MethodHandle _wfsopen$handle() { return _wfsopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *_wfsopen(const wchar_t *_FileName, const wchar_t *_Mode, int _ShFlag)
+ * }
+ */
+ public static MemorySegment _wfsopen$address() { return _wfsopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *_wfsopen(const wchar_t *_FileName, const wchar_t *_Mode, int _ShFlag)
+ * }
+ */
+ public static MemorySegment _wfsopen(MemorySegment _FileName, MemorySegment _Mode, int _ShFlag)
+ {
+ var mh$ = _wfsopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wfsopen", _FileName, _Mode, _ShFlag);
+ }
+ return (MemorySegment)mh$.invokeExact(_FileName, _Mode, _ShFlag);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wperror {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wperror");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void _wperror(const wchar_t *_ErrorMessage)
+ * }
+ */
+ public static FunctionDescriptor _wperror$descriptor() { return _wperror.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void _wperror(const wchar_t *_ErrorMessage)
+ * }
+ */
+ public static MethodHandle _wperror$handle() { return _wperror.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void _wperror(const wchar_t *_ErrorMessage)
+ * }
+ */
+ public static MemorySegment _wperror$address() { return _wperror.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void _wperror(const wchar_t *_ErrorMessage)
+ * }
+ */
+ public static void _wperror(MemorySegment _ErrorMessage)
+ {
+ var mh$ = _wperror.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wperror", _ErrorMessage);
+ }
+ mh$.invokeExact(_ErrorMessage);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wpopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wpopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *_wpopen(const wchar_t *_Command, const wchar_t *_Mode)
+ * }
+ */
+ public static FunctionDescriptor _wpopen$descriptor() { return _wpopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *_wpopen(const wchar_t *_Command, const wchar_t *_Mode)
+ * }
+ */
+ public static MethodHandle _wpopen$handle() { return _wpopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *_wpopen(const wchar_t *_Command, const wchar_t *_Mode)
+ * }
+ */
+ public static MemorySegment _wpopen$address() { return _wpopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *_wpopen(const wchar_t *_Command, const wchar_t *_Mode)
+ * }
+ */
+ public static MemorySegment _wpopen(MemorySegment _Command, MemorySegment _Mode)
+ {
+ var mh$ = _wpopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wpopen", _Command, _Mode);
+ }
+ return (MemorySegment)mh$.invokeExact(_Command, _Mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wremove {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wremove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _wremove(const wchar_t *_FileName)
+ * }
+ */
+ public static FunctionDescriptor _wremove$descriptor() { return _wremove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _wremove(const wchar_t *_FileName)
+ * }
+ */
+ public static MethodHandle _wremove$handle() { return _wremove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _wremove(const wchar_t *_FileName)
+ * }
+ */
+ public static MemorySegment _wremove$address() { return _wremove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _wremove(const wchar_t *_FileName)
+ * }
+ */
+ public static int _wremove(MemorySegment _FileName)
+ {
+ var mh$ = _wremove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wremove", _FileName);
+ }
+ return (int)mh$.invokeExact(_FileName);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wtempnam {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wtempnam");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wchar_t *_wtempnam(const wchar_t *_Directory, const wchar_t *_FilePrefix)
+ * }
+ */
+ public static FunctionDescriptor _wtempnam$descriptor() { return _wtempnam.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wchar_t *_wtempnam(const wchar_t *_Directory, const wchar_t *_FilePrefix)
+ * }
+ */
+ public static MethodHandle _wtempnam$handle() { return _wtempnam.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wchar_t *_wtempnam(const wchar_t *_Directory, const wchar_t *_FilePrefix)
+ * }
+ */
+ public static MemorySegment _wtempnam$address() { return _wtempnam.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wchar_t *_wtempnam(const wchar_t *_Directory, const wchar_t *_FilePrefix)
+ * }
+ */
+ public static MemorySegment _wtempnam(MemorySegment _Directory, MemorySegment _FilePrefix)
+ {
+ var mh$ = _wtempnam.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wtempnam", _Directory, _FilePrefix);
+ }
+ return (MemorySegment)mh$.invokeExact(_Directory, _FilePrefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wtmpnam_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wtmpnam_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * errno_t _wtmpnam_s(wchar_t *_Buffer, size_t _BufferCount)
+ * }
+ */
+ public static FunctionDescriptor _wtmpnam_s$descriptor() { return _wtmpnam_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * errno_t _wtmpnam_s(wchar_t *_Buffer, size_t _BufferCount)
+ * }
+ */
+ public static MethodHandle _wtmpnam_s$handle() { return _wtmpnam_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * errno_t _wtmpnam_s(wchar_t *_Buffer, size_t _BufferCount)
+ * }
+ */
+ public static MemorySegment _wtmpnam_s$address() { return _wtmpnam_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * errno_t _wtmpnam_s(wchar_t *_Buffer, size_t _BufferCount)
+ * }
+ */
+ public static int _wtmpnam_s(MemorySegment _Buffer, long _BufferCount)
+ {
+ var mh$ = _wtmpnam_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wtmpnam_s", _Buffer, _BufferCount);
+ }
+ return (int)mh$.invokeExact(_Buffer, _BufferCount);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _wtmpnam {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_wtmpnam");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wchar_t *_wtmpnam(wchar_t *_Buffer)
+ * }
+ */
+ public static FunctionDescriptor _wtmpnam$descriptor() { return _wtmpnam.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wchar_t *_wtmpnam(wchar_t *_Buffer)
+ * }
+ */
+ public static MethodHandle _wtmpnam$handle() { return _wtmpnam.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wchar_t *_wtmpnam(wchar_t *_Buffer)
+ * }
+ */
+ public static MemorySegment _wtmpnam$address() { return _wtmpnam.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wchar_t *_wtmpnam(wchar_t *_Buffer)
+ * }
+ */
+ public static MemorySegment _wtmpnam(MemorySegment _Buffer)
+ {
+ var mh$ = _wtmpnam.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_wtmpnam", _Buffer);
+ }
+ return (MemorySegment)mh$.invokeExact(_Buffer);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fgetwc_nolock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fgetwc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t _fgetwc_nolock(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fgetwc_nolock$descriptor() { return _fgetwc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t _fgetwc_nolock(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fgetwc_nolock$handle() { return _fgetwc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t _fgetwc_nolock(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fgetwc_nolock$address() { return _fgetwc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t _fgetwc_nolock(FILE *_Stream)
+ * }
+ */
+ public static short _fgetwc_nolock(MemorySegment _Stream)
+ {
+ var mh$ = _fgetwc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fgetwc_nolock", _Stream);
+ }
+ return (short)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fputwc_nolock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fputwc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t _fputwc_nolock(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fputwc_nolock$descriptor() { return _fputwc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t _fputwc_nolock(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fputwc_nolock$handle() { return _fputwc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t _fputwc_nolock(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fputwc_nolock$address() { return _fputwc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t _fputwc_nolock(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static short _fputwc_nolock(short _Character, MemorySegment _Stream)
+ {
+ var mh$ = _fputwc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fputwc_nolock", _Character, _Stream);
+ }
+ return (short)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _getwc_nolock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_getwc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t _getwc_nolock(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _getwc_nolock$descriptor() { return _getwc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t _getwc_nolock(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _getwc_nolock$handle() { return _getwc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t _getwc_nolock(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _getwc_nolock$address() { return _getwc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t _getwc_nolock(FILE *_Stream)
+ * }
+ */
+ public static short _getwc_nolock(MemorySegment _Stream)
+ {
+ var mh$ = _getwc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_getwc_nolock", _Stream);
+ }
+ return (short)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _putwc_nolock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_putwc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t _putwc_nolock(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _putwc_nolock$descriptor() { return _putwc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t _putwc_nolock(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _putwc_nolock$handle() { return _putwc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t _putwc_nolock(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _putwc_nolock$address() { return _putwc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t _putwc_nolock(wchar_t _Character, FILE *_Stream)
+ * }
+ */
+ public static short _putwc_nolock(short _Character, MemorySegment _Stream)
+ {
+ var mh$ = _putwc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_putwc_nolock", _Character, _Stream);
+ }
+ return (short)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _ungetwc_nolock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_SHORT, hdf5_h.C_SHORT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_ungetwc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * wint_t _ungetwc_nolock(wint_t _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _ungetwc_nolock$descriptor() { return _ungetwc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * wint_t _ungetwc_nolock(wint_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _ungetwc_nolock$handle() { return _ungetwc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * wint_t _ungetwc_nolock(wint_t _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _ungetwc_nolock$address() { return _ungetwc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * wint_t _ungetwc_nolock(wint_t _Character, FILE *_Stream)
+ * }
+ */
+ public static short _ungetwc_nolock(short _Character, MemorySegment _Stream)
+ {
+ var mh$ = _ungetwc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_ungetwc_nolock", _Character, _Stream);
+ }
+ return (short)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vfwprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vfwprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vfwprintf$descriptor()
+ {
+ return __stdio_common_vfwprintf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vfwprintf$handle() { return __stdio_common_vfwprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vfwprintf$address() { return __stdio_common_vfwprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vfwprintf(long _Options, MemorySegment _Stream, MemorySegment _Format,
+ MemorySegment _Locale, MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vfwprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vfwprintf", _Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vfwprintf_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vfwprintf_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf_s(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vfwprintf_s$descriptor()
+ {
+ return __stdio_common_vfwprintf_s.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf_s(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vfwprintf_s$handle()
+ {
+ return __stdio_common_vfwprintf_s.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf_s(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vfwprintf_s$address()
+ {
+ return __stdio_common_vfwprintf_s.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf_s(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vfwprintf_s(long _Options, MemorySegment _Stream, MemorySegment _Format,
+ MemorySegment _Locale, MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vfwprintf_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vfwprintf_s", _Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vfwprintf_p {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vfwprintf_p");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf_p(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vfwprintf_p$descriptor()
+ {
+ return __stdio_common_vfwprintf_p.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf_p(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vfwprintf_p$handle()
+ {
+ return __stdio_common_vfwprintf_p.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf_p(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vfwprintf_p$address()
+ {
+ return __stdio_common_vfwprintf_p.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vfwprintf_p(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vfwprintf_p(long _Options, MemorySegment _Stream, MemorySegment _Format,
+ MemorySegment _Locale, MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vfwprintf_p.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vfwprintf_p", _Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vfwscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vfwscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwscanf(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vfwscanf$descriptor()
+ {
+ return __stdio_common_vfwscanf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwscanf(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vfwscanf$handle() { return __stdio_common_vfwscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfwscanf(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vfwscanf$address() { return __stdio_common_vfwscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vfwscanf(unsigned long long _Options, FILE *_Stream, const wchar_t *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vfwscanf(long _Options, MemorySegment _Stream, MemorySegment _Format,
+ MemorySegment _Locale, MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vfwscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vfwscanf", _Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vswprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vswprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount, const
+ * wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vswprintf$descriptor()
+ {
+ return __stdio_common_vswprintf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount, const
+ * wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vswprintf$handle() { return __stdio_common_vswprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount, const
+ * wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vswprintf$address() { return __stdio_common_vswprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount, const
+ * wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vswprintf(long _Options, MemorySegment _Buffer, long _BufferCount,
+ MemorySegment _Format, MemorySegment _Locale,
+ MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vswprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vswprintf", _Options, _Buffer, _BufferCount, _Format, _Locale,
+ _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vswprintf_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vswprintf_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf_s(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vswprintf_s$descriptor()
+ {
+ return __stdio_common_vswprintf_s.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf_s(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vswprintf_s$handle()
+ {
+ return __stdio_common_vswprintf_s.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf_s(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vswprintf_s$address()
+ {
+ return __stdio_common_vswprintf_s.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf_s(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vswprintf_s(long _Options, MemorySegment _Buffer, long _BufferCount,
+ MemorySegment _Format, MemorySegment _Locale,
+ MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vswprintf_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vswprintf_s", _Options, _Buffer, _BufferCount, _Format, _Locale,
+ _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vsnwprintf_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vsnwprintf_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsnwprintf_s(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * size_t _MaxCount, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vsnwprintf_s$descriptor()
+ {
+ return __stdio_common_vsnwprintf_s.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsnwprintf_s(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * size_t _MaxCount, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vsnwprintf_s$handle()
+ {
+ return __stdio_common_vsnwprintf_s.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsnwprintf_s(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * size_t _MaxCount, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vsnwprintf_s$address()
+ {
+ return __stdio_common_vsnwprintf_s.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vsnwprintf_s(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * size_t _MaxCount, const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vsnwprintf_s(long _Options, MemorySegment _Buffer, long _BufferCount,
+ long _MaxCount, MemorySegment _Format,
+ MemorySegment _Locale, MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vsnwprintf_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vsnwprintf_s", _Options, _Buffer, _BufferCount, _MaxCount,
+ _Format, _Locale, _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _MaxCount, _Format, _Locale,
+ _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vswprintf_p {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vswprintf_p");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf_p(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vswprintf_p$descriptor()
+ {
+ return __stdio_common_vswprintf_p.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf_p(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vswprintf_p$handle()
+ {
+ return __stdio_common_vswprintf_p.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf_p(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vswprintf_p$address()
+ {
+ return __stdio_common_vswprintf_p.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vswprintf_p(unsigned long long _Options, wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vswprintf_p(long _Options, MemorySegment _Buffer, long _BufferCount,
+ MemorySegment _Format, MemorySegment _Locale,
+ MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vswprintf_p.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vswprintf_p", _Options, _Buffer, _BufferCount, _Format, _Locale,
+ _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vswscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vswscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswscanf(unsigned long long _Options, const wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vswscanf$descriptor()
+ {
+ return __stdio_common_vswscanf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswscanf(unsigned long long _Options, const wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vswscanf$handle() { return __stdio_common_vswscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vswscanf(unsigned long long _Options, const wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vswscanf$address() { return __stdio_common_vswscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vswscanf(unsigned long long _Options, const wchar_t *_Buffer, size_t _BufferCount,
+ * const wchar_t *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vswscanf(long _Options, MemorySegment _Buffer, long _BufferCount,
+ MemorySegment _Format, MemorySegment _Locale,
+ MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vswscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vswscanf", _Options, _Buffer, _BufferCount, _Format, _Locale,
+ _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef long long fpos_t
+ * }
+ */
+ public static final OfLong fpos_t = hdf5_h.C_LONG_LONG;
+
+ private static class _get_stream_buffer_pointers {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_get_stream_buffer_pointers");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * errno_t _get_stream_buffer_pointers(FILE *_Stream, char ***_Base, char ***_Pointer, int **_Count)
+ * }
+ */
+ public static FunctionDescriptor _get_stream_buffer_pointers$descriptor()
+ {
+ return _get_stream_buffer_pointers.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * errno_t _get_stream_buffer_pointers(FILE *_Stream, char ***_Base, char ***_Pointer, int **_Count)
+ * }
+ */
+ public static MethodHandle _get_stream_buffer_pointers$handle()
+ {
+ return _get_stream_buffer_pointers.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * errno_t _get_stream_buffer_pointers(FILE *_Stream, char ***_Base, char ***_Pointer, int **_Count)
+ * }
+ */
+ public static MemorySegment _get_stream_buffer_pointers$address()
+ {
+ return _get_stream_buffer_pointers.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * errno_t _get_stream_buffer_pointers(FILE *_Stream, char ***_Base, char ***_Pointer, int **_Count)
+ * }
+ */
+ public static int _get_stream_buffer_pointers(MemorySegment _Stream, MemorySegment _Base,
+ MemorySegment _Pointer, MemorySegment _Count)
+ {
+ var mh$ = _get_stream_buffer_pointers.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_get_stream_buffer_pointers", _Stream, _Base, _Pointer, _Count);
+ }
+ return (int)mh$.invokeExact(_Stream, _Base, _Pointer, _Count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class clearerr_s {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("clearerr_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * errno_t clearerr_s(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor clearerr_s$descriptor() { return clearerr_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * errno_t clearerr_s(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle clearerr_s$handle() { return clearerr_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * errno_t clearerr_s(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment clearerr_s$address() { return clearerr_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * errno_t clearerr_s(FILE *_Stream)
+ * }
+ */
+ public static int clearerr_s(MemorySegment _Stream)
+ {
+ var mh$ = clearerr_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("clearerr_s", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fopen_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fopen_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * errno_t fopen_s(FILE **_Stream, const char *_FileName, const char *_Mode)
+ * }
+ */
+ public static FunctionDescriptor fopen_s$descriptor() { return fopen_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * errno_t fopen_s(FILE **_Stream, const char *_FileName, const char *_Mode)
+ * }
+ */
+ public static MethodHandle fopen_s$handle() { return fopen_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * errno_t fopen_s(FILE **_Stream, const char *_FileName, const char *_Mode)
+ * }
+ */
+ public static MemorySegment fopen_s$address() { return fopen_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * errno_t fopen_s(FILE **_Stream, const char *_FileName, const char *_Mode)
+ * }
+ */
+ public static int fopen_s(MemorySegment _Stream, MemorySegment _FileName, MemorySegment _Mode)
+ {
+ var mh$ = fopen_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fopen_s", _Stream, _FileName, _Mode);
+ }
+ return (int)mh$.invokeExact(_Stream, _FileName, _Mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fread_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fread_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t fread_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount, FILE
+ * *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fread_s$descriptor() { return fread_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t fread_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount, FILE
+ * *_Stream)
+ * }
+ */
+ public static MethodHandle fread_s$handle() { return fread_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t fread_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount, FILE
+ * *_Stream)
+ * }
+ */
+ public static MemorySegment fread_s$address() { return fread_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t fread_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount, FILE
+ * *_Stream)
+ * }
+ */
+ public static long fread_s(MemorySegment _Buffer, long _BufferSize, long _ElementSize, long _ElementCount,
+ MemorySegment _Stream)
+ {
+ var mh$ = fread_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fread_s", _Buffer, _BufferSize, _ElementSize, _ElementCount, _Stream);
+ }
+ return (long)mh$.invokeExact(_Buffer, _BufferSize, _ElementSize, _ElementCount, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class freopen_s {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("freopen_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * errno_t freopen_s(FILE **_Stream, const char *_FileName, const char *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static FunctionDescriptor freopen_s$descriptor() { return freopen_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * errno_t freopen_s(FILE **_Stream, const char *_FileName, const char *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static MethodHandle freopen_s$handle() { return freopen_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * errno_t freopen_s(FILE **_Stream, const char *_FileName, const char *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static MemorySegment freopen_s$address() { return freopen_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * errno_t freopen_s(FILE **_Stream, const char *_FileName, const char *_Mode, FILE *_OldStream)
+ * }
+ */
+ public static int freopen_s(MemorySegment _Stream, MemorySegment _FileName, MemorySegment _Mode,
+ MemorySegment _OldStream)
+ {
+ var mh$ = freopen_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("freopen_s", _Stream, _FileName, _Mode, _OldStream);
+ }
+ return (int)mh$.invokeExact(_Stream, _FileName, _Mode, _OldStream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class gets_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("gets_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *gets_s(char *_Buffer, rsize_t _Size)
+ * }
+ */
+ public static FunctionDescriptor gets_s$descriptor() { return gets_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *gets_s(char *_Buffer, rsize_t _Size)
+ * }
+ */
+ public static MethodHandle gets_s$handle() { return gets_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *gets_s(char *_Buffer, rsize_t _Size)
+ * }
+ */
+ public static MemorySegment gets_s$address() { return gets_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *gets_s(char *_Buffer, rsize_t _Size)
+ * }
+ */
+ public static MemorySegment gets_s(MemorySegment _Buffer, long _Size)
+ {
+ var mh$ = gets_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("gets_s", _Buffer, _Size);
+ }
+ return (MemorySegment)mh$.invokeExact(_Buffer, _Size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tmpfile_s {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tmpfile_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * errno_t tmpfile_s(FILE **_Stream)
+ * }
+ */
+ public static FunctionDescriptor tmpfile_s$descriptor() { return tmpfile_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * errno_t tmpfile_s(FILE **_Stream)
+ * }
+ */
+ public static MethodHandle tmpfile_s$handle() { return tmpfile_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * errno_t tmpfile_s(FILE **_Stream)
+ * }
+ */
+ public static MemorySegment tmpfile_s$address() { return tmpfile_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * errno_t tmpfile_s(FILE **_Stream)
+ * }
+ */
+ public static int tmpfile_s(MemorySegment _Stream)
+ {
+ var mh$ = tmpfile_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tmpfile_s", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tmpnam_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tmpnam_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * errno_t tmpnam_s(char *_Buffer, rsize_t _Size)
+ * }
+ */
+ public static FunctionDescriptor tmpnam_s$descriptor() { return tmpnam_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * errno_t tmpnam_s(char *_Buffer, rsize_t _Size)
+ * }
+ */
+ public static MethodHandle tmpnam_s$handle() { return tmpnam_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * errno_t tmpnam_s(char *_Buffer, rsize_t _Size)
+ * }
+ */
+ public static MemorySegment tmpnam_s$address() { return tmpnam_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * errno_t tmpnam_s(char *_Buffer, rsize_t _Size)
+ * }
+ */
+ public static int tmpnam_s(MemorySegment _Buffer, long _Size)
+ {
+ var mh$ = tmpnam_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tmpnam_s", _Buffer, _Size);
+ }
+ return (int)mh$.invokeExact(_Buffer, _Size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class clearerr {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("clearerr");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void clearerr(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor clearerr$descriptor() { return clearerr.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void clearerr(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle clearerr$handle() { return clearerr.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void clearerr(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment clearerr$address() { return clearerr.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void clearerr(FILE *_Stream)
+ * }
+ */
+ public static void clearerr(MemorySegment _Stream)
+ {
+ var mh$ = clearerr.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("clearerr", _Stream);
+ }
+ mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fclose(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fclose$descriptor() { return fclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fclose(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fclose$handle() { return fclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fclose(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fclose$address() { return fclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fclose(FILE *_Stream)
+ * }
+ */
+ public static int fclose(MemorySegment _Stream)
+ {
+ var mh$ = fclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fclose", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fcloseall {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fcloseall");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fcloseall()
+ * }
+ */
+ public static FunctionDescriptor _fcloseall$descriptor() { return _fcloseall.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fcloseall()
+ * }
+ */
+ public static MethodHandle _fcloseall$handle() { return _fcloseall.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fcloseall()
+ * }
+ */
+ public static MemorySegment _fcloseall$address() { return _fcloseall.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fcloseall()
+ * }
+ */
+ public static int _fcloseall()
+ {
+ var mh$ = _fcloseall.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fcloseall");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fdopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fdopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *_fdopen(int _FileHandle, const char *_Mode)
+ * }
+ */
+ public static FunctionDescriptor _fdopen$descriptor() { return _fdopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *_fdopen(int _FileHandle, const char *_Mode)
+ * }
+ */
+ public static MethodHandle _fdopen$handle() { return _fdopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *_fdopen(int _FileHandle, const char *_Mode)
+ * }
+ */
+ public static MemorySegment _fdopen$address() { return _fdopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *_fdopen(int _FileHandle, const char *_Mode)
+ * }
+ */
+ public static MemorySegment _fdopen(int _FileHandle, MemorySegment _Mode)
+ {
+ var mh$ = _fdopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fdopen", _FileHandle, _Mode);
+ }
+ return (MemorySegment)mh$.invokeExact(_FileHandle, _Mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class feof {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("feof");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int feof(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor feof$descriptor() { return feof.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int feof(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle feof$handle() { return feof.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int feof(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment feof$address() { return feof.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int feof(FILE *_Stream)
+ * }
+ */
+ public static int feof(MemorySegment _Stream)
+ {
+ var mh$ = feof.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("feof", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ferror {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ferror");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int ferror(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor ferror$descriptor() { return ferror.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int ferror(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle ferror$handle() { return ferror.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int ferror(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment ferror$address() { return ferror.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int ferror(FILE *_Stream)
+ * }
+ */
+ public static int ferror(MemorySegment _Stream)
+ {
+ var mh$ = ferror.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ferror", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fflush {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fflush(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fflush$descriptor() { return fflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fflush(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fflush$handle() { return fflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fflush(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fflush$address() { return fflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fflush(FILE *_Stream)
+ * }
+ */
+ public static int fflush(MemorySegment _Stream)
+ {
+ var mh$ = fflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fflush", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fgetc(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fgetc$descriptor() { return fgetc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fgetc(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fgetc$handle() { return fgetc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fgetc(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fgetc$address() { return fgetc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fgetc(FILE *_Stream)
+ * }
+ */
+ public static int fgetc(MemorySegment _Stream)
+ {
+ var mh$ = fgetc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetc", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fgetchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fgetchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fgetchar()
+ * }
+ */
+ public static FunctionDescriptor _fgetchar$descriptor() { return _fgetchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fgetchar()
+ * }
+ */
+ public static MethodHandle _fgetchar$handle() { return _fgetchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fgetchar()
+ * }
+ */
+ public static MemorySegment _fgetchar$address() { return _fgetchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fgetchar()
+ * }
+ */
+ public static int _fgetchar()
+ {
+ var mh$ = _fgetchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fgetchar");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetpos {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetpos");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fgetpos(FILE *_Stream, fpos_t *_Position)
+ * }
+ */
+ public static FunctionDescriptor fgetpos$descriptor() { return fgetpos.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fgetpos(FILE *_Stream, fpos_t *_Position)
+ * }
+ */
+ public static MethodHandle fgetpos$handle() { return fgetpos.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fgetpos(FILE *_Stream, fpos_t *_Position)
+ * }
+ */
+ public static MemorySegment fgetpos$address() { return fgetpos.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fgetpos(FILE *_Stream, fpos_t *_Position)
+ * }
+ */
+ public static int fgetpos(MemorySegment _Stream, MemorySegment _Position)
+ {
+ var mh$ = fgetpos.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetpos", _Stream, _Position);
+ }
+ return (int)mh$.invokeExact(_Stream, _Position);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgets {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgets");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *fgets(char *_Buffer, int _MaxCount, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fgets$descriptor() { return fgets.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *fgets(char *_Buffer, int _MaxCount, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fgets$handle() { return fgets.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *fgets(char *_Buffer, int _MaxCount, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fgets$address() { return fgets.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *fgets(char *_Buffer, int _MaxCount, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fgets(MemorySegment _Buffer, int _MaxCount, MemorySegment _Stream)
+ {
+ var mh$ = fgets.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgets", _Buffer, _MaxCount, _Stream);
+ }
+ return (MemorySegment)mh$.invokeExact(_Buffer, _MaxCount, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fileno {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fileno");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fileno(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fileno$descriptor() { return _fileno.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fileno(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fileno$handle() { return _fileno.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fileno(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fileno$address() { return _fileno.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fileno(FILE *_Stream)
+ * }
+ */
+ public static int _fileno(MemorySegment _Stream)
+ {
+ var mh$ = _fileno.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fileno", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _flushall {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_flushall");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _flushall()
+ * }
+ */
+ public static FunctionDescriptor _flushall$descriptor() { return _flushall.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _flushall()
+ * }
+ */
+ public static MethodHandle _flushall$handle() { return _flushall.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _flushall()
+ * }
+ */
+ public static MemorySegment _flushall$address() { return _flushall.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _flushall()
+ * }
+ */
+ public static int _flushall()
+ {
+ var mh$ = _flushall.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_flushall");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *fopen(const char *_FileName, const char *_Mode)
+ * }
+ */
+ public static FunctionDescriptor fopen$descriptor() { return fopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *fopen(const char *_FileName, const char *_Mode)
+ * }
+ */
+ public static MethodHandle fopen$handle() { return fopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *fopen(const char *_FileName, const char *_Mode)
+ * }
+ */
+ public static MemorySegment fopen$address() { return fopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *fopen(const char *_FileName, const char *_Mode)
+ * }
+ */
+ public static MemorySegment fopen(MemorySegment _FileName, MemorySegment _Mode)
+ {
+ var mh$ = fopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fopen", _FileName, _Mode);
+ }
+ return (MemorySegment)mh$.invokeExact(_FileName, _Mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fputc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fputc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fputc$descriptor() { return fputc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fputc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fputc$handle() { return fputc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fputc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fputc$address() { return fputc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fputc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static int fputc(int _Character, MemorySegment _Stream)
+ {
+ var mh$ = fputc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputc", _Character, _Stream);
+ }
+ return (int)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fputchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fputchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fputchar(int _Character)
+ * }
+ */
+ public static FunctionDescriptor _fputchar$descriptor() { return _fputchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fputchar(int _Character)
+ * }
+ */
+ public static MethodHandle _fputchar$handle() { return _fputchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fputchar(int _Character)
+ * }
+ */
+ public static MemorySegment _fputchar$address() { return _fputchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fputchar(int _Character)
+ * }
+ */
+ public static int _fputchar(int _Character)
+ {
+ var mh$ = _fputchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fputchar", _Character);
+ }
+ return (int)mh$.invokeExact(_Character);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fputs {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputs");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fputs(const char *_Buffer, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fputs$descriptor() { return fputs.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fputs(const char *_Buffer, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fputs$handle() { return fputs.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fputs(const char *_Buffer, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fputs$address() { return fputs.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fputs(const char *_Buffer, FILE *_Stream)
+ * }
+ */
+ public static int fputs(MemorySegment _Buffer, MemorySegment _Stream)
+ {
+ var mh$ = fputs.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputs", _Buffer, _Stream);
+ }
+ return (int)mh$.invokeExact(_Buffer, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fread {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fread");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * unsigned long long fread(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fread$descriptor() { return fread.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * unsigned long long fread(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fread$handle() { return fread.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * unsigned long long fread(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fread$address() { return fread.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * unsigned long long fread(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static long fread(MemorySegment _Buffer, long _ElementSize, long _ElementCount,
+ MemorySegment _Stream)
+ {
+ var mh$ = fread.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fread", _Buffer, _ElementSize, _ElementCount, _Stream);
+ }
+ return (long)mh$.invokeExact(_Buffer, _ElementSize, _ElementCount, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class freopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("freopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *freopen(const char *_FileName, const char *_Mode, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor freopen$descriptor() { return freopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *freopen(const char *_FileName, const char *_Mode, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle freopen$handle() { return freopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *freopen(const char *_FileName, const char *_Mode, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment freopen$address() { return freopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *freopen(const char *_FileName, const char *_Mode, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment freopen(MemorySegment _FileName, MemorySegment _Mode, MemorySegment _Stream)
+ {
+ var mh$ = freopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("freopen", _FileName, _Mode, _Stream);
+ }
+ return (MemorySegment)mh$.invokeExact(_FileName, _Mode, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fsopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fsopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *_fsopen(const char *_FileName, const char *_Mode, int _ShFlag)
+ * }
+ */
+ public static FunctionDescriptor _fsopen$descriptor() { return _fsopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *_fsopen(const char *_FileName, const char *_Mode, int _ShFlag)
+ * }
+ */
+ public static MethodHandle _fsopen$handle() { return _fsopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *_fsopen(const char *_FileName, const char *_Mode, int _ShFlag)
+ * }
+ */
+ public static MemorySegment _fsopen$address() { return _fsopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *_fsopen(const char *_FileName, const char *_Mode, int _ShFlag)
+ * }
+ */
+ public static MemorySegment _fsopen(MemorySegment _FileName, MemorySegment _Mode, int _ShFlag)
+ {
+ var mh$ = _fsopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fsopen", _FileName, _Mode, _ShFlag);
+ }
+ return (MemorySegment)mh$.invokeExact(_FileName, _Mode, _ShFlag);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fsetpos {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fsetpos");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fsetpos(FILE *_Stream, const fpos_t *_Position)
+ * }
+ */
+ public static FunctionDescriptor fsetpos$descriptor() { return fsetpos.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fsetpos(FILE *_Stream, const fpos_t *_Position)
+ * }
+ */
+ public static MethodHandle fsetpos$handle() { return fsetpos.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fsetpos(FILE *_Stream, const fpos_t *_Position)
+ * }
+ */
+ public static MemorySegment fsetpos$address() { return fsetpos.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fsetpos(FILE *_Stream, const fpos_t *_Position)
+ * }
+ */
+ public static int fsetpos(MemorySegment _Stream, MemorySegment _Position)
+ {
+ var mh$ = fsetpos.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fsetpos", _Stream, _Position);
+ }
+ return (int)mh$.invokeExact(_Stream, _Position);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fseek {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fseek");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fseek(FILE *_Stream, long _Offset, int _Origin)
+ * }
+ */
+ public static FunctionDescriptor fseek$descriptor() { return fseek.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fseek(FILE *_Stream, long _Offset, int _Origin)
+ * }
+ */
+ public static MethodHandle fseek$handle() { return fseek.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fseek(FILE *_Stream, long _Offset, int _Origin)
+ * }
+ */
+ public static MemorySegment fseek$address() { return fseek.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fseek(FILE *_Stream, long _Offset, int _Origin)
+ * }
+ */
+ public static int fseek(MemorySegment _Stream, int _Offset, int _Origin)
+ {
+ var mh$ = fseek.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fseek", _Stream, _Offset, _Origin);
+ }
+ return (int)mh$.invokeExact(_Stream, _Offset, _Origin);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fseeki64 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fseeki64");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fseeki64(FILE *_Stream, long long _Offset, int _Origin)
+ * }
+ */
+ public static FunctionDescriptor _fseeki64$descriptor() { return _fseeki64.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fseeki64(FILE *_Stream, long long _Offset, int _Origin)
+ * }
+ */
+ public static MethodHandle _fseeki64$handle() { return _fseeki64.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fseeki64(FILE *_Stream, long long _Offset, int _Origin)
+ * }
+ */
+ public static MemorySegment _fseeki64$address() { return _fseeki64.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fseeki64(FILE *_Stream, long long _Offset, int _Origin)
+ * }
+ */
+ public static int _fseeki64(MemorySegment _Stream, long _Offset, int _Origin)
+ {
+ var mh$ = _fseeki64.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fseeki64", _Stream, _Offset, _Origin);
+ }
+ return (int)mh$.invokeExact(_Stream, _Offset, _Origin);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ftell {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ftell");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * long ftell(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor ftell$descriptor() { return ftell.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * long ftell(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle ftell$handle() { return ftell.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * long ftell(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment ftell$address() { return ftell.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * long ftell(FILE *_Stream)
+ * }
+ */
+ public static int ftell(MemorySegment _Stream)
+ {
+ var mh$ = ftell.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ftell", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _ftelli64 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_ftelli64");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * long long _ftelli64(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _ftelli64$descriptor() { return _ftelli64.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * long long _ftelli64(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _ftelli64$handle() { return _ftelli64.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * long long _ftelli64(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _ftelli64$address() { return _ftelli64.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * long long _ftelli64(FILE *_Stream)
+ * }
+ */
+ public static long _ftelli64(MemorySegment _Stream)
+ {
+ var mh$ = _ftelli64.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_ftelli64", _Stream);
+ }
+ return (long)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fwrite {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fwrite");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * unsigned long long fwrite(const void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE
+ * *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fwrite$descriptor() { return fwrite.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * unsigned long long fwrite(const void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE
+ * *_Stream)
+ * }
+ */
+ public static MethodHandle fwrite$handle() { return fwrite.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * unsigned long long fwrite(const void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE
+ * *_Stream)
+ * }
+ */
+ public static MemorySegment fwrite$address() { return fwrite.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * unsigned long long fwrite(const void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE
+ * *_Stream)
+ * }
+ */
+ public static long fwrite(MemorySegment _Buffer, long _ElementSize, long _ElementCount,
+ MemorySegment _Stream)
+ {
+ var mh$ = fwrite.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fwrite", _Buffer, _ElementSize, _ElementCount, _Stream);
+ }
+ return (long)mh$.invokeExact(_Buffer, _ElementSize, _ElementCount, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getc {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int getc(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor getc$descriptor() { return getc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int getc(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle getc$handle() { return getc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int getc(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment getc$address() { return getc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int getc(FILE *_Stream)
+ * }
+ */
+ public static int getc(MemorySegment _Stream)
+ {
+ var mh$ = getc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getc", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int getchar()
+ * }
+ */
+ public static FunctionDescriptor getchar$descriptor() { return getchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int getchar()
+ * }
+ */
+ public static MethodHandle getchar$handle() { return getchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int getchar()
+ * }
+ */
+ public static MemorySegment getchar$address() { return getchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int getchar()
+ * }
+ */
+ public static int getchar()
+ {
+ var mh$ = getchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getchar");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _getmaxstdio {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_getmaxstdio");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _getmaxstdio()
+ * }
+ */
+ public static FunctionDescriptor _getmaxstdio$descriptor() { return _getmaxstdio.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _getmaxstdio()
+ * }
+ */
+ public static MethodHandle _getmaxstdio$handle() { return _getmaxstdio.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _getmaxstdio()
+ * }
+ */
+ public static MemorySegment _getmaxstdio$address() { return _getmaxstdio.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _getmaxstdio()
+ * }
+ */
+ public static int _getmaxstdio()
+ {
+ var mh$ = _getmaxstdio.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_getmaxstdio");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _getw {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_getw");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _getw(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _getw$descriptor() { return _getw.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _getw(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _getw$handle() { return _getw.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _getw(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _getw$address() { return _getw.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _getw(FILE *_Stream)
+ * }
+ */
+ public static int _getw(MemorySegment _Stream)
+ {
+ var mh$ = _getw.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_getw", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class perror {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("perror");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void perror(const char *_ErrorMessage)
+ * }
+ */
+ public static FunctionDescriptor perror$descriptor() { return perror.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void perror(const char *_ErrorMessage)
+ * }
+ */
+ public static MethodHandle perror$handle() { return perror.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void perror(const char *_ErrorMessage)
+ * }
+ */
+ public static MemorySegment perror$address() { return perror.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void perror(const char *_ErrorMessage)
+ * }
+ */
+ public static void perror(MemorySegment _ErrorMessage)
+ {
+ var mh$ = perror.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("perror", _ErrorMessage);
+ }
+ mh$.invokeExact(_ErrorMessage);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _pclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_pclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _pclose(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _pclose$descriptor() { return _pclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _pclose(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _pclose$handle() { return _pclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _pclose(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _pclose$address() { return _pclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _pclose(FILE *_Stream)
+ * }
+ */
+ public static int _pclose(MemorySegment _Stream)
+ {
+ var mh$ = _pclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_pclose", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _popen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_popen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *_popen(const char *_Command, const char *_Mode)
+ * }
+ */
+ public static FunctionDescriptor _popen$descriptor() { return _popen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *_popen(const char *_Command, const char *_Mode)
+ * }
+ */
+ public static MethodHandle _popen$handle() { return _popen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *_popen(const char *_Command, const char *_Mode)
+ * }
+ */
+ public static MemorySegment _popen$address() { return _popen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *_popen(const char *_Command, const char *_Mode)
+ * }
+ */
+ public static MemorySegment _popen(MemorySegment _Command, MemorySegment _Mode)
+ {
+ var mh$ = _popen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_popen", _Command, _Mode);
+ }
+ return (MemorySegment)mh$.invokeExact(_Command, _Mode);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int putc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor putc$descriptor() { return putc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int putc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle putc$handle() { return putc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int putc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment putc$address() { return putc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int putc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static int putc(int _Character, MemorySegment _Stream)
+ {
+ var mh$ = putc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putc", _Character, _Stream);
+ }
+ return (int)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int putchar(int _Character)
+ * }
+ */
+ public static FunctionDescriptor putchar$descriptor() { return putchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int putchar(int _Character)
+ * }
+ */
+ public static MethodHandle putchar$handle() { return putchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int putchar(int _Character)
+ * }
+ */
+ public static MemorySegment putchar$address() { return putchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int putchar(int _Character)
+ * }
+ */
+ public static int putchar(int _Character)
+ {
+ var mh$ = putchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putchar", _Character);
+ }
+ return (int)mh$.invokeExact(_Character);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class puts {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("puts");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int puts(const char *_Buffer)
+ * }
+ */
+ public static FunctionDescriptor puts$descriptor() { return puts.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int puts(const char *_Buffer)
+ * }
+ */
+ public static MethodHandle puts$handle() { return puts.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int puts(const char *_Buffer)
+ * }
+ */
+ public static MemorySegment puts$address() { return puts.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int puts(const char *_Buffer)
+ * }
+ */
+ public static int puts(MemorySegment _Buffer)
+ {
+ var mh$ = puts.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("puts", _Buffer);
+ }
+ return (int)mh$.invokeExact(_Buffer);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _putw {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_putw");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _putw(int _Word, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _putw$descriptor() { return _putw.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _putw(int _Word, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _putw$handle() { return _putw.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _putw(int _Word, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _putw$address() { return _putw.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _putw(int _Word, FILE *_Stream)
+ * }
+ */
+ public static int _putw(int _Word, MemorySegment _Stream)
+ {
+ var mh$ = _putw.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_putw", _Word, _Stream);
+ }
+ return (int)mh$.invokeExact(_Word, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class remove {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("remove");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int remove(const char *_FileName)
+ * }
+ */
+ public static FunctionDescriptor remove$descriptor() { return remove.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int remove(const char *_FileName)
+ * }
+ */
+ public static MethodHandle remove$handle() { return remove.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int remove(const char *_FileName)
+ * }
+ */
+ public static MemorySegment remove$address() { return remove.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int remove(const char *_FileName)
+ * }
+ */
+ public static int remove(MemorySegment _FileName)
+ {
+ var mh$ = remove.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("remove", _FileName);
+ }
+ return (int)mh$.invokeExact(_FileName);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class rename {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("rename");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int rename(const char *_OldFileName, const char *_NewFileName)
+ * }
+ */
+ public static FunctionDescriptor rename$descriptor() { return rename.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int rename(const char *_OldFileName, const char *_NewFileName)
+ * }
+ */
+ public static MethodHandle rename$handle() { return rename.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int rename(const char *_OldFileName, const char *_NewFileName)
+ * }
+ */
+ public static MemorySegment rename$address() { return rename.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int rename(const char *_OldFileName, const char *_NewFileName)
+ * }
+ */
+ public static int rename(MemorySegment _OldFileName, MemorySegment _NewFileName)
+ {
+ var mh$ = rename.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("rename", _OldFileName, _NewFileName);
+ }
+ return (int)mh$.invokeExact(_OldFileName, _NewFileName);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _unlink {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_unlink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _unlink(const char *_FileName)
+ * }
+ */
+ public static FunctionDescriptor _unlink$descriptor() { return _unlink.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _unlink(const char *_FileName)
+ * }
+ */
+ public static MethodHandle _unlink$handle() { return _unlink.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _unlink(const char *_FileName)
+ * }
+ */
+ public static MemorySegment _unlink$address() { return _unlink.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _unlink(const char *_FileName)
+ * }
+ */
+ public static int _unlink(MemorySegment _FileName)
+ {
+ var mh$ = _unlink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_unlink", _FileName);
+ }
+ return (int)mh$.invokeExact(_FileName);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class unlink {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("unlink");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int unlink(const char *_FileName)
+ * }
+ */
+ public static FunctionDescriptor unlink$descriptor() { return unlink.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int unlink(const char *_FileName)
+ * }
+ */
+ public static MethodHandle unlink$handle() { return unlink.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int unlink(const char *_FileName)
+ * }
+ */
+ public static MemorySegment unlink$address() { return unlink.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int unlink(const char *_FileName)
+ * }
+ */
+ public static int unlink(MemorySegment _FileName)
+ {
+ var mh$ = unlink.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("unlink", _FileName);
+ }
+ return (int)mh$.invokeExact(_FileName);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class rewind {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("rewind");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void rewind(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor rewind$descriptor() { return rewind.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void rewind(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle rewind$handle() { return rewind.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void rewind(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment rewind$address() { return rewind.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void rewind(FILE *_Stream)
+ * }
+ */
+ public static void rewind(MemorySegment _Stream)
+ {
+ var mh$ = rewind.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("rewind", _Stream);
+ }
+ mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _rmtmp {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_rmtmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _rmtmp()
+ * }
+ */
+ public static FunctionDescriptor _rmtmp$descriptor() { return _rmtmp.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _rmtmp()
+ * }
+ */
+ public static MethodHandle _rmtmp$handle() { return _rmtmp.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _rmtmp()
+ * }
+ */
+ public static MemorySegment _rmtmp$address() { return _rmtmp.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _rmtmp()
+ * }
+ */
+ public static int _rmtmp()
+ {
+ var mh$ = _rmtmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_rmtmp");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class setbuf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.ofVoid(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setbuf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void setbuf(FILE *_Stream, char *_Buffer)
+ * }
+ */
+ public static FunctionDescriptor setbuf$descriptor() { return setbuf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void setbuf(FILE *_Stream, char *_Buffer)
+ * }
+ */
+ public static MethodHandle setbuf$handle() { return setbuf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void setbuf(FILE *_Stream, char *_Buffer)
+ * }
+ */
+ public static MemorySegment setbuf$address() { return setbuf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void setbuf(FILE *_Stream, char *_Buffer)
+ * }
+ */
+ public static void setbuf(MemorySegment _Stream, MemorySegment _Buffer)
+ {
+ var mh$ = setbuf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setbuf", _Stream, _Buffer);
+ }
+ mh$.invokeExact(_Stream, _Buffer);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _setmaxstdio {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_setmaxstdio");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _setmaxstdio(int _Maximum)
+ * }
+ */
+ public static FunctionDescriptor _setmaxstdio$descriptor() { return _setmaxstdio.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _setmaxstdio(int _Maximum)
+ * }
+ */
+ public static MethodHandle _setmaxstdio$handle() { return _setmaxstdio.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _setmaxstdio(int _Maximum)
+ * }
+ */
+ public static MemorySegment _setmaxstdio$address() { return _setmaxstdio.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _setmaxstdio(int _Maximum)
+ * }
+ */
+ public static int _setmaxstdio(int _Maximum)
+ {
+ var mh$ = _setmaxstdio.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_setmaxstdio", _Maximum);
+ }
+ return (int)mh$.invokeExact(_Maximum);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class setvbuf {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("setvbuf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int setvbuf(FILE *_Stream, char *_Buffer, int _Mode, size_t _Size)
+ * }
+ */
+ public static FunctionDescriptor setvbuf$descriptor() { return setvbuf.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int setvbuf(FILE *_Stream, char *_Buffer, int _Mode, size_t _Size)
+ * }
+ */
+ public static MethodHandle setvbuf$handle() { return setvbuf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int setvbuf(FILE *_Stream, char *_Buffer, int _Mode, size_t _Size)
+ * }
+ */
+ public static MemorySegment setvbuf$address() { return setvbuf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int setvbuf(FILE *_Stream, char *_Buffer, int _Mode, size_t _Size)
+ * }
+ */
+ public static int setvbuf(MemorySegment _Stream, MemorySegment _Buffer, int _Mode, long _Size)
+ {
+ var mh$ = setvbuf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("setvbuf", _Stream, _Buffer, _Mode, _Size);
+ }
+ return (int)mh$.invokeExact(_Stream, _Buffer, _Mode, _Size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _tempnam {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_tempnam");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *_tempnam(const char *_DirectoryName, const char *_FilePrefix)
+ * }
+ */
+ public static FunctionDescriptor _tempnam$descriptor() { return _tempnam.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *_tempnam(const char *_DirectoryName, const char *_FilePrefix)
+ * }
+ */
+ public static MethodHandle _tempnam$handle() { return _tempnam.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *_tempnam(const char *_DirectoryName, const char *_FilePrefix)
+ * }
+ */
+ public static MemorySegment _tempnam$address() { return _tempnam.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *_tempnam(const char *_DirectoryName, const char *_FilePrefix)
+ * }
+ */
+ public static MemorySegment _tempnam(MemorySegment _DirectoryName, MemorySegment _FilePrefix)
+ {
+ var mh$ = _tempnam.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_tempnam", _DirectoryName, _FilePrefix);
+ }
+ return (MemorySegment)mh$.invokeExact(_DirectoryName, _FilePrefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tmpfile {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tmpfile");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *tmpfile()
+ * }
+ */
+ public static FunctionDescriptor tmpfile$descriptor() { return tmpfile.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *tmpfile()
+ * }
+ */
+ public static MethodHandle tmpfile$handle() { return tmpfile.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *tmpfile()
+ * }
+ */
+ public static MemorySegment tmpfile$address() { return tmpfile.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *tmpfile()
+ * }
+ */
+ public static MemorySegment tmpfile()
+ {
+ var mh$ = tmpfile.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tmpfile");
+ }
+ return (MemorySegment)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tmpnam {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tmpnam");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *tmpnam(char *_Buffer)
+ * }
+ */
+ public static FunctionDescriptor tmpnam$descriptor() { return tmpnam.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *tmpnam(char *_Buffer)
+ * }
+ */
+ public static MethodHandle tmpnam$handle() { return tmpnam.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *tmpnam(char *_Buffer)
+ * }
+ */
+ public static MemorySegment tmpnam$address() { return tmpnam.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *tmpnam(char *_Buffer)
+ * }
+ */
+ public static MemorySegment tmpnam(MemorySegment _Buffer)
+ {
+ var mh$ = tmpnam.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tmpnam", _Buffer);
+ }
+ return (MemorySegment)mh$.invokeExact(_Buffer);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class ungetc {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("ungetc");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int ungetc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor ungetc$descriptor() { return ungetc.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int ungetc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle ungetc$handle() { return ungetc.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int ungetc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment ungetc$address() { return ungetc.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int ungetc(int _Character, FILE *_Stream)
+ * }
+ */
+ public static int ungetc(int _Character, MemorySegment _Stream)
+ {
+ var mh$ = ungetc.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("ungetc", _Character, _Stream);
+ }
+ return (int)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _lock_file {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_lock_file");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void _lock_file(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _lock_file$descriptor() { return _lock_file.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void _lock_file(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _lock_file$handle() { return _lock_file.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void _lock_file(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _lock_file$address() { return _lock_file.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void _lock_file(FILE *_Stream)
+ * }
+ */
+ public static void _lock_file(MemorySegment _Stream)
+ {
+ var mh$ = _lock_file.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_lock_file", _Stream);
+ }
+ mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _unlock_file {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.ofVoid(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_unlock_file");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * void _unlock_file(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _unlock_file$descriptor() { return _unlock_file.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * void _unlock_file(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _unlock_file$handle() { return _unlock_file.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * void _unlock_file(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _unlock_file$address() { return _unlock_file.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * void _unlock_file(FILE *_Stream)
+ * }
+ */
+ public static void _unlock_file(MemorySegment _Stream)
+ {
+ var mh$ = _unlock_file.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_unlock_file", _Stream);
+ }
+ mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fclose_nolock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fclose_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fclose_nolock(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fclose_nolock$descriptor() { return _fclose_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fclose_nolock(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fclose_nolock$handle() { return _fclose_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fclose_nolock(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fclose_nolock$address() { return _fclose_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fclose_nolock(FILE *_Stream)
+ * }
+ */
+ public static int _fclose_nolock(MemorySegment _Stream)
+ {
+ var mh$ = _fclose_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fclose_nolock", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fflush_nolock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fflush_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fflush_nolock(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fflush_nolock$descriptor() { return _fflush_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fflush_nolock(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fflush_nolock$handle() { return _fflush_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fflush_nolock(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fflush_nolock$address() { return _fflush_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fflush_nolock(FILE *_Stream)
+ * }
+ */
+ public static int _fflush_nolock(MemorySegment _Stream)
+ {
+ var mh$ = _fflush_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fflush_nolock", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fgetc_nolock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fgetc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fgetc_nolock(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fgetc_nolock$descriptor() { return _fgetc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fgetc_nolock(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fgetc_nolock$handle() { return _fgetc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fgetc_nolock(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fgetc_nolock$address() { return _fgetc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fgetc_nolock(FILE *_Stream)
+ * }
+ */
+ public static int _fgetc_nolock(MemorySegment _Stream)
+ {
+ var mh$ = _fgetc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fgetc_nolock", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fputc_nolock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fputc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fputc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fputc_nolock$descriptor() { return _fputc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fputc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fputc_nolock$handle() { return _fputc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fputc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fputc_nolock$address() { return _fputc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fputc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static int _fputc_nolock(int _Character, MemorySegment _Stream)
+ {
+ var mh$ = _fputc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fputc_nolock", _Character, _Stream);
+ }
+ return (int)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fread_nolock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fread_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t _fread_nolock(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fread_nolock$descriptor() { return _fread_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t _fread_nolock(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fread_nolock$handle() { return _fread_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t _fread_nolock(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fread_nolock$address() { return _fread_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t _fread_nolock(void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static long _fread_nolock(MemorySegment _Buffer, long _ElementSize, long _ElementCount,
+ MemorySegment _Stream)
+ {
+ var mh$ = _fread_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fread_nolock", _Buffer, _ElementSize, _ElementCount, _Stream);
+ }
+ return (long)mh$.invokeExact(_Buffer, _ElementSize, _ElementCount, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fread_nolock_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fread_nolock_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t _fread_nolock_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount,
+ * FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fread_nolock_s$descriptor() { return _fread_nolock_s.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t _fread_nolock_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount,
+ * FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fread_nolock_s$handle() { return _fread_nolock_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t _fread_nolock_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount,
+ * FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fread_nolock_s$address() { return _fread_nolock_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t _fread_nolock_s(void *_Buffer, size_t _BufferSize, size_t _ElementSize, size_t _ElementCount,
+ * FILE *_Stream)
+ * }
+ */
+ public static long _fread_nolock_s(MemorySegment _Buffer, long _BufferSize, long _ElementSize,
+ long _ElementCount, MemorySegment _Stream)
+ {
+ var mh$ = _fread_nolock_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fread_nolock_s", _Buffer, _BufferSize, _ElementSize, _ElementCount, _Stream);
+ }
+ return (long)mh$.invokeExact(_Buffer, _BufferSize, _ElementSize, _ElementCount, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fseek_nolock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fseek_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fseek_nolock(FILE *_Stream, long _Offset, int _Origin)
+ * }
+ */
+ public static FunctionDescriptor _fseek_nolock$descriptor() { return _fseek_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fseek_nolock(FILE *_Stream, long _Offset, int _Origin)
+ * }
+ */
+ public static MethodHandle _fseek_nolock$handle() { return _fseek_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fseek_nolock(FILE *_Stream, long _Offset, int _Origin)
+ * }
+ */
+ public static MemorySegment _fseek_nolock$address() { return _fseek_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fseek_nolock(FILE *_Stream, long _Offset, int _Origin)
+ * }
+ */
+ public static int _fseek_nolock(MemorySegment _Stream, int _Offset, int _Origin)
+ {
+ var mh$ = _fseek_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fseek_nolock", _Stream, _Offset, _Origin);
+ }
+ return (int)mh$.invokeExact(_Stream, _Offset, _Origin);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fseeki64_nolock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fseeki64_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _fseeki64_nolock(FILE *_Stream, long long _Offset, int _Origin)
+ * }
+ */
+ public static FunctionDescriptor _fseeki64_nolock$descriptor() { return _fseeki64_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _fseeki64_nolock(FILE *_Stream, long long _Offset, int _Origin)
+ * }
+ */
+ public static MethodHandle _fseeki64_nolock$handle() { return _fseeki64_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _fseeki64_nolock(FILE *_Stream, long long _Offset, int _Origin)
+ * }
+ */
+ public static MemorySegment _fseeki64_nolock$address() { return _fseeki64_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _fseeki64_nolock(FILE *_Stream, long long _Offset, int _Origin)
+ * }
+ */
+ public static int _fseeki64_nolock(MemorySegment _Stream, long _Offset, int _Origin)
+ {
+ var mh$ = _fseeki64_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fseeki64_nolock", _Stream, _Offset, _Origin);
+ }
+ return (int)mh$.invokeExact(_Stream, _Offset, _Origin);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _ftell_nolock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_ftell_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * long _ftell_nolock(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _ftell_nolock$descriptor() { return _ftell_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * long _ftell_nolock(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _ftell_nolock$handle() { return _ftell_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * long _ftell_nolock(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _ftell_nolock$address() { return _ftell_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * long _ftell_nolock(FILE *_Stream)
+ * }
+ */
+ public static int _ftell_nolock(MemorySegment _Stream)
+ {
+ var mh$ = _ftell_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_ftell_nolock", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _ftelli64_nolock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_ftelli64_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * long long _ftelli64_nolock(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _ftelli64_nolock$descriptor() { return _ftelli64_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * long long _ftelli64_nolock(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _ftelli64_nolock$handle() { return _ftelli64_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * long long _ftelli64_nolock(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _ftelli64_nolock$address() { return _ftelli64_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * long long _ftelli64_nolock(FILE *_Stream)
+ * }
+ */
+ public static long _ftelli64_nolock(MemorySegment _Stream)
+ {
+ var mh$ = _ftelli64_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_ftelli64_nolock", _Stream);
+ }
+ return (long)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _fwrite_nolock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_fwrite_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * size_t _fwrite_nolock(const void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _fwrite_nolock$descriptor() { return _fwrite_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * size_t _fwrite_nolock(const void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _fwrite_nolock$handle() { return _fwrite_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * size_t _fwrite_nolock(const void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _fwrite_nolock$address() { return _fwrite_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * size_t _fwrite_nolock(const void *_Buffer, size_t _ElementSize, size_t _ElementCount, FILE *_Stream)
+ * }
+ */
+ public static long _fwrite_nolock(MemorySegment _Buffer, long _ElementSize, long _ElementCount,
+ MemorySegment _Stream)
+ {
+ var mh$ = _fwrite_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_fwrite_nolock", _Buffer, _ElementSize, _ElementCount, _Stream);
+ }
+ return (long)mh$.invokeExact(_Buffer, _ElementSize, _ElementCount, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _getc_nolock {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_getc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _getc_nolock(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _getc_nolock$descriptor() { return _getc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _getc_nolock(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _getc_nolock$handle() { return _getc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _getc_nolock(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _getc_nolock$address() { return _getc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _getc_nolock(FILE *_Stream)
+ * }
+ */
+ public static int _getc_nolock(MemorySegment _Stream)
+ {
+ var mh$ = _getc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_getc_nolock", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _putc_nolock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_putc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _putc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _putc_nolock$descriptor() { return _putc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _putc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _putc_nolock$handle() { return _putc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _putc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _putc_nolock$address() { return _putc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _putc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static int _putc_nolock(int _Character, MemorySegment _Stream)
+ {
+ var mh$ = _putc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_putc_nolock", _Character, _Stream);
+ }
+ return (int)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _ungetc_nolock {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_ungetc_nolock");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _ungetc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor _ungetc_nolock$descriptor() { return _ungetc_nolock.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _ungetc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle _ungetc_nolock$handle() { return _ungetc_nolock.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _ungetc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment _ungetc_nolock$address() { return _ungetc_nolock.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _ungetc_nolock(int _Character, FILE *_Stream)
+ * }
+ */
+ public static int _ungetc_nolock(int _Character, MemorySegment _Stream)
+ {
+ var mh$ = _ungetc_nolock.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_ungetc_nolock", _Character, _Stream);
+ }
+ return (int)mh$.invokeExact(_Character, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __p__commode {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__p__commode");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int *__p__commode()
+ * }
+ */
+ public static FunctionDescriptor __p__commode$descriptor() { return __p__commode.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int *__p__commode()
+ * }
+ */
+ public static MethodHandle __p__commode$handle() { return __p__commode.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int *__p__commode()
+ * }
+ */
+ public static MemorySegment __p__commode$address() { return __p__commode.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int *__p__commode()
+ * }
+ */
+ public static MemorySegment __p__commode()
+ {
+ var mh$ = __p__commode.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__p__commode");
+ }
+ return (MemorySegment)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vfprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vfprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf(unsigned long long _Options, FILE *_Stream, const char *_Format, _locale_t
+ * _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vfprintf$descriptor()
+ {
+ return __stdio_common_vfprintf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf(unsigned long long _Options, FILE *_Stream, const char *_Format, _locale_t
+ * _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vfprintf$handle() { return __stdio_common_vfprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf(unsigned long long _Options, FILE *_Stream, const char *_Format, _locale_t
+ * _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vfprintf$address() { return __stdio_common_vfprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf(unsigned long long _Options, FILE *_Stream, const char *_Format, _locale_t
+ * _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vfprintf(long _Options, MemorySegment _Stream, MemorySegment _Format,
+ MemorySegment _Locale, MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vfprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vfprintf", _Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vfprintf_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vfprintf_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf_s(unsigned long long _Options, FILE *_Stream, const char *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vfprintf_s$descriptor()
+ {
+ return __stdio_common_vfprintf_s.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf_s(unsigned long long _Options, FILE *_Stream, const char *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vfprintf_s$handle() { return __stdio_common_vfprintf_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf_s(unsigned long long _Options, FILE *_Stream, const char *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vfprintf_s$address() { return __stdio_common_vfprintf_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf_s(unsigned long long _Options, FILE *_Stream, const char *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vfprintf_s(long _Options, MemorySegment _Stream, MemorySegment _Format,
+ MemorySegment _Locale, MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vfprintf_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vfprintf_s", _Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vfprintf_p {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vfprintf_p");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf_p(unsigned long long _Options, FILE *_Stream, const char *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vfprintf_p$descriptor()
+ {
+ return __stdio_common_vfprintf_p.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf_p(unsigned long long _Options, FILE *_Stream, const char *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vfprintf_p$handle() { return __stdio_common_vfprintf_p.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf_p(unsigned long long _Options, FILE *_Stream, const char *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vfprintf_p$address() { return __stdio_common_vfprintf_p.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vfprintf_p(unsigned long long _Options, FILE *_Stream, const char *_Format,
+ * _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vfprintf_p(long _Options, MemorySegment _Stream, MemorySegment _Format,
+ MemorySegment _Locale, MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vfprintf_p.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vfprintf_p", _Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Stream, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _set_printf_count_output {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_set_printf_count_output");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _set_printf_count_output(int _Value)
+ * }
+ */
+ public static FunctionDescriptor _set_printf_count_output$descriptor()
+ {
+ return _set_printf_count_output.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _set_printf_count_output(int _Value)
+ * }
+ */
+ public static MethodHandle _set_printf_count_output$handle() { return _set_printf_count_output.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _set_printf_count_output(int _Value)
+ * }
+ */
+ public static MemorySegment _set_printf_count_output$address() { return _set_printf_count_output.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _set_printf_count_output(int _Value)
+ * }
+ */
+ public static int _set_printf_count_output(int _Value)
+ {
+ var mh$ = _set_printf_count_output.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_set_printf_count_output", _Value);
+ }
+ return (int)mh$.invokeExact(_Value);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class _get_printf_count_output {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("_get_printf_count_output");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int _get_printf_count_output()
+ * }
+ */
+ public static FunctionDescriptor _get_printf_count_output$descriptor()
+ {
+ return _get_printf_count_output.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int _get_printf_count_output()
+ * }
+ */
+ public static MethodHandle _get_printf_count_output$handle() { return _get_printf_count_output.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int _get_printf_count_output()
+ * }
+ */
+ public static MemorySegment _get_printf_count_output$address() { return _get_printf_count_output.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int _get_printf_count_output()
+ * }
+ */
+ public static int _get_printf_count_output()
+ {
+ var mh$ = _get_printf_count_output.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("_get_printf_count_output");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vfscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vfscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfscanf(unsigned long long _Options, FILE *_Stream, const char *_Format, _locale_t
+ * _Locale, va_list _Arglist)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vfscanf$descriptor()
+ {
+ return __stdio_common_vfscanf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfscanf(unsigned long long _Options, FILE *_Stream, const char *_Format, _locale_t
+ * _Locale, va_list _Arglist)
+ * }
+ */
+ public static MethodHandle __stdio_common_vfscanf$handle() { return __stdio_common_vfscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vfscanf(unsigned long long _Options, FILE *_Stream, const char *_Format, _locale_t
+ * _Locale, va_list _Arglist)
+ * }
+ */
+ public static MemorySegment __stdio_common_vfscanf$address() { return __stdio_common_vfscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vfscanf(unsigned long long _Options, FILE *_Stream, const char *_Format, _locale_t
+ * _Locale, va_list _Arglist)
+ * }
+ */
+ public static int __stdio_common_vfscanf(long _Options, MemorySegment _Stream, MemorySegment _Format,
+ MemorySegment _Locale, MemorySegment _Arglist)
+ {
+ var mh$ = __stdio_common_vfscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vfscanf", _Options, _Stream, _Format, _Locale, _Arglist);
+ }
+ return (int)mh$.invokeExact(_Options, _Stream, _Format, _Locale, _Arglist);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vsprintf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vsprintf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const char
+ * *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vsprintf$descriptor()
+ {
+ return __stdio_common_vsprintf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const char
+ * *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vsprintf$handle() { return __stdio_common_vsprintf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const char
+ * *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vsprintf$address() { return __stdio_common_vsprintf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const char
+ * *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vsprintf(long _Options, MemorySegment _Buffer, long _BufferCount,
+ MemorySegment _Format, MemorySegment _Locale,
+ MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vsprintf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vsprintf", _Options, _Buffer, _BufferCount, _Format, _Locale,
+ _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vsprintf_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vsprintf_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf_s(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vsprintf_s$descriptor()
+ {
+ return __stdio_common_vsprintf_s.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf_s(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vsprintf_s$handle() { return __stdio_common_vsprintf_s.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf_s(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vsprintf_s$address() { return __stdio_common_vsprintf_s.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf_s(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vsprintf_s(long _Options, MemorySegment _Buffer, long _BufferCount,
+ MemorySegment _Format, MemorySegment _Locale,
+ MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vsprintf_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vsprintf_s", _Options, _Buffer, _BufferCount, _Format, _Locale,
+ _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vsnprintf_s {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vsnprintf_s");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsnprintf_s(unsigned long long _Options, char *_Buffer, size_t _BufferCount, size_t
+ * _MaxCount, const char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vsnprintf_s$descriptor()
+ {
+ return __stdio_common_vsnprintf_s.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsnprintf_s(unsigned long long _Options, char *_Buffer, size_t _BufferCount, size_t
+ * _MaxCount, const char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vsnprintf_s$handle()
+ {
+ return __stdio_common_vsnprintf_s.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsnprintf_s(unsigned long long _Options, char *_Buffer, size_t _BufferCount, size_t
+ * _MaxCount, const char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vsnprintf_s$address()
+ {
+ return __stdio_common_vsnprintf_s.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vsnprintf_s(unsigned long long _Options, char *_Buffer, size_t _BufferCount, size_t
+ * _MaxCount, const char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vsnprintf_s(long _Options, MemorySegment _Buffer, long _BufferCount,
+ long _MaxCount, MemorySegment _Format, MemorySegment _Locale,
+ MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vsnprintf_s.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vsnprintf_s", _Options, _Buffer, _BufferCount, _MaxCount,
+ _Format, _Locale, _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _MaxCount, _Format, _Locale,
+ _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vsprintf_p {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vsprintf_p");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf_p(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vsprintf_p$descriptor()
+ {
+ return __stdio_common_vsprintf_p.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf_p(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vsprintf_p$handle() { return __stdio_common_vsprintf_p.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf_p(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vsprintf_p$address() { return __stdio_common_vsprintf_p.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vsprintf_p(unsigned long long _Options, char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vsprintf_p(long _Options, MemorySegment _Buffer, long _BufferCount,
+ MemorySegment _Format, MemorySegment _Locale,
+ MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vsprintf_p.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vsprintf_p", _Options, _Buffer, _BufferCount, _Format, _Locale,
+ _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class __stdio_common_vsscanf {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("__stdio_common_vsscanf");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsscanf(unsigned long long _Options, const char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static FunctionDescriptor __stdio_common_vsscanf$descriptor()
+ {
+ return __stdio_common_vsscanf.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsscanf(unsigned long long _Options, const char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MethodHandle __stdio_common_vsscanf$handle() { return __stdio_common_vsscanf.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int __stdio_common_vsscanf(unsigned long long _Options, const char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static MemorySegment __stdio_common_vsscanf$address() { return __stdio_common_vsscanf.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int __stdio_common_vsscanf(unsigned long long _Options, const char *_Buffer, size_t _BufferCount, const
+ * char *_Format, _locale_t _Locale, va_list _ArgList)
+ * }
+ */
+ public static int __stdio_common_vsscanf(long _Options, MemorySegment _Buffer, long _BufferCount,
+ MemorySegment _Format, MemorySegment _Locale,
+ MemorySegment _ArgList)
+ {
+ var mh$ = __stdio_common_vsscanf.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("__stdio_common_vsscanf", _Options, _Buffer, _BufferCount, _Format, _Locale,
+ _ArgList);
+ }
+ return (int)mh$.invokeExact(_Options, _Buffer, _BufferCount, _Format, _Locale, _ArgList);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class tempnam {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("tempnam");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *tempnam(const char *_Directory, const char *_FilePrefix)
+ * }
+ */
+ public static FunctionDescriptor tempnam$descriptor() { return tempnam.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *tempnam(const char *_Directory, const char *_FilePrefix)
+ * }
+ */
+ public static MethodHandle tempnam$handle() { return tempnam.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *tempnam(const char *_Directory, const char *_FilePrefix)
+ * }
+ */
+ public static MemorySegment tempnam$address() { return tempnam.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *tempnam(const char *_Directory, const char *_FilePrefix)
+ * }
+ */
+ public static MemorySegment tempnam(MemorySegment _Directory, MemorySegment _FilePrefix)
+ {
+ var mh$ = tempnam.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("tempnam", _Directory, _FilePrefix);
+ }
+ return (MemorySegment)mh$.invokeExact(_Directory, _FilePrefix);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fcloseall {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fcloseall");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fcloseall()
+ * }
+ */
+ public static FunctionDescriptor fcloseall$descriptor() { return fcloseall.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fcloseall()
+ * }
+ */
+ public static MethodHandle fcloseall$handle() { return fcloseall.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fcloseall()
+ * }
+ */
+ public static MemorySegment fcloseall$address() { return fcloseall.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fcloseall()
+ * }
+ */
+ public static int fcloseall()
+ {
+ var mh$ = fcloseall.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fcloseall");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fdopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fdopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * FILE *fdopen(int _FileHandle, const char *_Format)
+ * }
+ */
+ public static FunctionDescriptor fdopen$descriptor() { return fdopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * FILE *fdopen(int _FileHandle, const char *_Format)
+ * }
+ */
+ public static MethodHandle fdopen$handle() { return fdopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * FILE *fdopen(int _FileHandle, const char *_Format)
+ * }
+ */
+ public static MemorySegment fdopen$address() { return fdopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * FILE *fdopen(int _FileHandle, const char *_Format)
+ * }
+ */
+ public static MemorySegment fdopen(int _FileHandle, MemorySegment _Format)
+ {
+ var mh$ = fdopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fdopen", _FileHandle, _Format);
+ }
+ return (MemorySegment)mh$.invokeExact(_FileHandle, _Format);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fgetchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fgetchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fgetchar()
+ * }
+ */
+ public static FunctionDescriptor fgetchar$descriptor() { return fgetchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fgetchar()
+ * }
+ */
+ public static MethodHandle fgetchar$handle() { return fgetchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fgetchar()
+ * }
+ */
+ public static MemorySegment fgetchar$address() { return fgetchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fgetchar()
+ * }
+ */
+ public static int fgetchar()
+ {
+ var mh$ = fgetchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fgetchar");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fileno {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fileno");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fileno(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor fileno$descriptor() { return fileno.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fileno(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle fileno$handle() { return fileno.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fileno(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment fileno$address() { return fileno.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fileno(FILE *_Stream)
+ * }
+ */
+ public static int fileno(MemorySegment _Stream)
+ {
+ var mh$ = fileno.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fileno", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class flushall {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("flushall");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int flushall()
+ * }
+ */
+ public static FunctionDescriptor flushall$descriptor() { return flushall.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int flushall()
+ * }
+ */
+ public static MethodHandle flushall$handle() { return flushall.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int flushall()
+ * }
+ */
+ public static MemorySegment flushall$address() { return flushall.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int flushall()
+ * }
+ */
+ public static int flushall()
+ {
+ var mh$ = flushall.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("flushall");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class fputchar {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("fputchar");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int fputchar(int _Ch)
+ * }
+ */
+ public static FunctionDescriptor fputchar$descriptor() { return fputchar.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int fputchar(int _Ch)
+ * }
+ */
+ public static MethodHandle fputchar$handle() { return fputchar.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int fputchar(int _Ch)
+ * }
+ */
+ public static MemorySegment fputchar$address() { return fputchar.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int fputchar(int _Ch)
+ * }
+ */
+ public static int fputchar(int _Ch)
+ {
+ var mh$ = fputchar.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("fputchar", _Ch);
+ }
+ return (int)mh$.invokeExact(_Ch);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class getw {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("getw");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int getw(FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor getw$descriptor() { return getw.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int getw(FILE *_Stream)
+ * }
+ */
+ public static MethodHandle getw$handle() { return getw.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int getw(FILE *_Stream)
+ * }
+ */
+ public static MemorySegment getw$address() { return getw.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int getw(FILE *_Stream)
+ * }
+ */
+ public static int getw(MemorySegment _Stream)
+ {
+ var mh$ = getw.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("getw", _Stream);
+ }
+ return (int)mh$.invokeExact(_Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class putw {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("putw");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int putw(int _Ch, FILE *_Stream)
+ * }
+ */
+ public static FunctionDescriptor putw$descriptor() { return putw.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int putw(int _Ch, FILE *_Stream)
+ * }
+ */
+ public static MethodHandle putw$handle() { return putw.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int putw(int _Ch, FILE *_Stream)
+ * }
+ */
+ public static MemorySegment putw$address() { return putw.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int putw(int _Ch, FILE *_Stream)
+ * }
+ */
+ public static int putw(int _Ch, MemorySegment _Stream)
+ {
+ var mh$ = putw.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("putw", _Ch, _Stream);
+ }
+ return (int)mh$.invokeExact(_Ch, _Stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class rmtmp {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("rmtmp");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * int rmtmp()
+ * }
+ */
+ public static FunctionDescriptor rmtmp$descriptor() { return rmtmp.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * int rmtmp()
+ * }
+ */
+ public static MethodHandle rmtmp$handle() { return rmtmp.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * int rmtmp()
+ * }
+ */
+ public static MemorySegment rmtmp$address() { return rmtmp.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * int rmtmp()
+ * }
+ */
+ public static int rmtmp()
+ {
+ var mh$ = rmtmp.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("rmtmp");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5E_MAJOR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_type_t.H5E_MAJOR = 0
+ * }
+ */
+ public static int H5E_MAJOR() { return H5E_MAJOR; }
+ private static final int H5E_MINOR = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_type_t.H5E_MINOR = 1
+ * }
+ */
+ public static int H5E_MINOR() { return H5E_MINOR; }
+
+ private static class H5E_ERR_CLS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ERR_CLS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static OfLong H5E_ERR_CLS_g$layout() { return H5E_ERR_CLS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static MemorySegment H5E_ERR_CLS_g$segment() { return H5E_ERR_CLS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static long H5E_ERR_CLS_g()
+ {
+ return H5E_ERR_CLS_g$constants.SEGMENT.get(H5E_ERR_CLS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERR_CLS_g
+ * }
+ */
+ public static void H5E_ERR_CLS_g(long varValue)
+ {
+ H5E_ERR_CLS_g$constants.SEGMENT.set(H5E_ERR_CLS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ARGS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ARGS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static OfLong H5E_ARGS_g$layout() { return H5E_ARGS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static MemorySegment H5E_ARGS_g$segment() { return H5E_ARGS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static long H5E_ARGS_g()
+ {
+ return H5E_ARGS_g$constants.SEGMENT.get(H5E_ARGS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ARGS_g
+ * }
+ */
+ public static void H5E_ARGS_g(long varValue)
+ {
+ H5E_ARGS_g$constants.SEGMENT.set(H5E_ARGS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ATTR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ATTR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static OfLong H5E_ATTR_g$layout() { return H5E_ATTR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static MemorySegment H5E_ATTR_g$segment() { return H5E_ATTR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static long H5E_ATTR_g()
+ {
+ return H5E_ATTR_g$constants.SEGMENT.get(H5E_ATTR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ATTR_g
+ * }
+ */
+ public static void H5E_ATTR_g(long varValue)
+ {
+ H5E_ATTR_g$constants.SEGMENT.set(H5E_ATTR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BTREE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BTREE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static OfLong H5E_BTREE_g$layout() { return H5E_BTREE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static MemorySegment H5E_BTREE_g$segment() { return H5E_BTREE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static long H5E_BTREE_g()
+ {
+ return H5E_BTREE_g$constants.SEGMENT.get(H5E_BTREE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BTREE_g
+ * }
+ */
+ public static void H5E_BTREE_g(long varValue)
+ {
+ H5E_BTREE_g$constants.SEGMENT.set(H5E_BTREE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CACHE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CACHE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static OfLong H5E_CACHE_g$layout() { return H5E_CACHE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static MemorySegment H5E_CACHE_g$segment() { return H5E_CACHE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static long H5E_CACHE_g()
+ {
+ return H5E_CACHE_g$constants.SEGMENT.get(H5E_CACHE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CACHE_g
+ * }
+ */
+ public static void H5E_CACHE_g(long varValue)
+ {
+ H5E_CACHE_g$constants.SEGMENT.set(H5E_CACHE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CONTEXT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CONTEXT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static OfLong H5E_CONTEXT_g$layout() { return H5E_CONTEXT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static MemorySegment H5E_CONTEXT_g$segment() { return H5E_CONTEXT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static long H5E_CONTEXT_g()
+ {
+ return H5E_CONTEXT_g$constants.SEGMENT.get(H5E_CONTEXT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CONTEXT_g
+ * }
+ */
+ public static void H5E_CONTEXT_g(long varValue)
+ {
+ H5E_CONTEXT_g$constants.SEGMENT.set(H5E_CONTEXT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DATASET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DATASET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static OfLong H5E_DATASET_g$layout() { return H5E_DATASET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static MemorySegment H5E_DATASET_g$segment() { return H5E_DATASET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static long H5E_DATASET_g()
+ {
+ return H5E_DATASET_g$constants.SEGMENT.get(H5E_DATASET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASET_g
+ * }
+ */
+ public static void H5E_DATASET_g(long varValue)
+ {
+ H5E_DATASET_g$constants.SEGMENT.set(H5E_DATASET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DATASPACE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DATASPACE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static OfLong H5E_DATASPACE_g$layout() { return H5E_DATASPACE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static MemorySegment H5E_DATASPACE_g$segment() { return H5E_DATASPACE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static long H5E_DATASPACE_g()
+ {
+ return H5E_DATASPACE_g$constants.SEGMENT.get(H5E_DATASPACE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATASPACE_g
+ * }
+ */
+ public static void H5E_DATASPACE_g(long varValue)
+ {
+ H5E_DATASPACE_g$constants.SEGMENT.set(H5E_DATASPACE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DATATYPE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DATATYPE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static OfLong H5E_DATATYPE_g$layout() { return H5E_DATATYPE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static MemorySegment H5E_DATATYPE_g$segment() { return H5E_DATATYPE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static long H5E_DATATYPE_g()
+ {
+ return H5E_DATATYPE_g$constants.SEGMENT.get(H5E_DATATYPE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DATATYPE_g
+ * }
+ */
+ public static void H5E_DATATYPE_g(long varValue)
+ {
+ H5E_DATATYPE_g$constants.SEGMENT.set(H5E_DATATYPE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EARRAY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EARRAY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static OfLong H5E_EARRAY_g$layout() { return H5E_EARRAY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static MemorySegment H5E_EARRAY_g$segment() { return H5E_EARRAY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static long H5E_EARRAY_g()
+ {
+ return H5E_EARRAY_g$constants.SEGMENT.get(H5E_EARRAY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EARRAY_g
+ * }
+ */
+ public static void H5E_EARRAY_g(long varValue)
+ {
+ H5E_EARRAY_g$constants.SEGMENT.set(H5E_EARRAY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EFL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EFL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static OfLong H5E_EFL_g$layout() { return H5E_EFL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static MemorySegment H5E_EFL_g$segment() { return H5E_EFL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static long H5E_EFL_g() { return H5E_EFL_g$constants.SEGMENT.get(H5E_EFL_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EFL_g
+ * }
+ */
+ public static void H5E_EFL_g(long varValue)
+ {
+ H5E_EFL_g$constants.SEGMENT.set(H5E_EFL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static OfLong H5E_ERROR_g$layout() { return H5E_ERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static MemorySegment H5E_ERROR_g$segment() { return H5E_ERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static long H5E_ERROR_g()
+ {
+ return H5E_ERROR_g$constants.SEGMENT.get(H5E_ERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ERROR_g
+ * }
+ */
+ public static void H5E_ERROR_g(long varValue)
+ {
+ H5E_ERROR_g$constants.SEGMENT.set(H5E_ERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EVENTSET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EVENTSET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static OfLong H5E_EVENTSET_g$layout() { return H5E_EVENTSET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static MemorySegment H5E_EVENTSET_g$segment() { return H5E_EVENTSET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static long H5E_EVENTSET_g()
+ {
+ return H5E_EVENTSET_g$constants.SEGMENT.get(H5E_EVENTSET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EVENTSET_g
+ * }
+ */
+ public static void H5E_EVENTSET_g(long varValue)
+ {
+ H5E_EVENTSET_g$constants.SEGMENT.set(H5E_EVENTSET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FARRAY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FARRAY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static OfLong H5E_FARRAY_g$layout() { return H5E_FARRAY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static MemorySegment H5E_FARRAY_g$segment() { return H5E_FARRAY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static long H5E_FARRAY_g()
+ {
+ return H5E_FARRAY_g$constants.SEGMENT.get(H5E_FARRAY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FARRAY_g
+ * }
+ */
+ public static void H5E_FARRAY_g(long varValue)
+ {
+ H5E_FARRAY_g$constants.SEGMENT.set(H5E_FARRAY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static OfLong H5E_FILE_g$layout() { return H5E_FILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static MemorySegment H5E_FILE_g$segment() { return H5E_FILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static long H5E_FILE_g()
+ {
+ return H5E_FILE_g$constants.SEGMENT.get(H5E_FILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILE_g
+ * }
+ */
+ public static void H5E_FILE_g(long varValue)
+ {
+ H5E_FILE_g$constants.SEGMENT.set(H5E_FILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FSPACE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FSPACE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static OfLong H5E_FSPACE_g$layout() { return H5E_FSPACE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static MemorySegment H5E_FSPACE_g$segment() { return H5E_FSPACE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static long H5E_FSPACE_g()
+ {
+ return H5E_FSPACE_g$constants.SEGMENT.get(H5E_FSPACE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FSPACE_g
+ * }
+ */
+ public static void H5E_FSPACE_g(long varValue)
+ {
+ H5E_FSPACE_g$constants.SEGMENT.set(H5E_FSPACE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FUNC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FUNC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static OfLong H5E_FUNC_g$layout() { return H5E_FUNC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static MemorySegment H5E_FUNC_g$segment() { return H5E_FUNC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static long H5E_FUNC_g()
+ {
+ return H5E_FUNC_g$constants.SEGMENT.get(H5E_FUNC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FUNC_g
+ * }
+ */
+ public static void H5E_FUNC_g(long varValue)
+ {
+ H5E_FUNC_g$constants.SEGMENT.set(H5E_FUNC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_HEAP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_HEAP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static OfLong H5E_HEAP_g$layout() { return H5E_HEAP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static MemorySegment H5E_HEAP_g$segment() { return H5E_HEAP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static long H5E_HEAP_g()
+ {
+ return H5E_HEAP_g$constants.SEGMENT.get(H5E_HEAP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_HEAP_g
+ * }
+ */
+ public static void H5E_HEAP_g(long varValue)
+ {
+ H5E_HEAP_g$constants.SEGMENT.set(H5E_HEAP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static OfLong H5E_ID_g$layout() { return H5E_ID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static MemorySegment H5E_ID_g$segment() { return H5E_ID_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static long H5E_ID_g() { return H5E_ID_g$constants.SEGMENT.get(H5E_ID_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ID_g
+ * }
+ */
+ public static void H5E_ID_g(long varValue)
+ {
+ H5E_ID_g$constants.SEGMENT.set(H5E_ID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_INTERNAL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_INTERNAL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static OfLong H5E_INTERNAL_g$layout() { return H5E_INTERNAL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static MemorySegment H5E_INTERNAL_g$segment() { return H5E_INTERNAL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static long H5E_INTERNAL_g()
+ {
+ return H5E_INTERNAL_g$constants.SEGMENT.get(H5E_INTERNAL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INTERNAL_g
+ * }
+ */
+ public static void H5E_INTERNAL_g(long varValue)
+ {
+ H5E_INTERNAL_g$constants.SEGMENT.set(H5E_INTERNAL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_IO_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_IO_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static OfLong H5E_IO_g$layout() { return H5E_IO_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static MemorySegment H5E_IO_g$segment() { return H5E_IO_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static long H5E_IO_g() { return H5E_IO_g$constants.SEGMENT.get(H5E_IO_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_IO_g
+ * }
+ */
+ public static void H5E_IO_g(long varValue)
+ {
+ H5E_IO_g$constants.SEGMENT.set(H5E_IO_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LIB_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LIB_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static OfLong H5E_LIB_g$layout() { return H5E_LIB_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static MemorySegment H5E_LIB_g$segment() { return H5E_LIB_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static long H5E_LIB_g() { return H5E_LIB_g$constants.SEGMENT.get(H5E_LIB_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LIB_g
+ * }
+ */
+ public static void H5E_LIB_g(long varValue)
+ {
+ H5E_LIB_g$constants.SEGMENT.set(H5E_LIB_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LINK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LINK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static OfLong H5E_LINK_g$layout() { return H5E_LINK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static MemorySegment H5E_LINK_g$segment() { return H5E_LINK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static long H5E_LINK_g()
+ {
+ return H5E_LINK_g$constants.SEGMENT.get(H5E_LINK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINK_g
+ * }
+ */
+ public static void H5E_LINK_g(long varValue)
+ {
+ H5E_LINK_g$constants.SEGMENT.set(H5E_LINK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MAP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MAP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static OfLong H5E_MAP_g$layout() { return H5E_MAP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static MemorySegment H5E_MAP_g$segment() { return H5E_MAP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static long H5E_MAP_g() { return H5E_MAP_g$constants.SEGMENT.get(H5E_MAP_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MAP_g
+ * }
+ */
+ public static void H5E_MAP_g(long varValue)
+ {
+ H5E_MAP_g$constants.SEGMENT.set(H5E_MAP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NONE_MAJOR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NONE_MAJOR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static OfLong H5E_NONE_MAJOR_g$layout() { return H5E_NONE_MAJOR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static MemorySegment H5E_NONE_MAJOR_g$segment() { return H5E_NONE_MAJOR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static long H5E_NONE_MAJOR_g()
+ {
+ return H5E_NONE_MAJOR_g$constants.SEGMENT.get(H5E_NONE_MAJOR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MAJOR_g
+ * }
+ */
+ public static void H5E_NONE_MAJOR_g(long varValue)
+ {
+ H5E_NONE_MAJOR_g$constants.SEGMENT.set(H5E_NONE_MAJOR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OHDR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OHDR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static OfLong H5E_OHDR_g$layout() { return H5E_OHDR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static MemorySegment H5E_OHDR_g$segment() { return H5E_OHDR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static long H5E_OHDR_g()
+ {
+ return H5E_OHDR_g$constants.SEGMENT.get(H5E_OHDR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OHDR_g
+ * }
+ */
+ public static void H5E_OHDR_g(long varValue)
+ {
+ H5E_OHDR_g$constants.SEGMENT.set(H5E_OHDR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PAGEBUF_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PAGEBUF_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static OfLong H5E_PAGEBUF_g$layout() { return H5E_PAGEBUF_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static MemorySegment H5E_PAGEBUF_g$segment() { return H5E_PAGEBUF_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static long H5E_PAGEBUF_g()
+ {
+ return H5E_PAGEBUF_g$constants.SEGMENT.get(H5E_PAGEBUF_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PAGEBUF_g
+ * }
+ */
+ public static void H5E_PAGEBUF_g(long varValue)
+ {
+ H5E_PAGEBUF_g$constants.SEGMENT.set(H5E_PAGEBUF_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PLINE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PLINE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static OfLong H5E_PLINE_g$layout() { return H5E_PLINE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static MemorySegment H5E_PLINE_g$segment() { return H5E_PLINE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static long H5E_PLINE_g()
+ {
+ return H5E_PLINE_g$constants.SEGMENT.get(H5E_PLINE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLINE_g
+ * }
+ */
+ public static void H5E_PLINE_g(long varValue)
+ {
+ H5E_PLINE_g$constants.SEGMENT.set(H5E_PLINE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PLIST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PLIST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static OfLong H5E_PLIST_g$layout() { return H5E_PLIST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static MemorySegment H5E_PLIST_g$segment() { return H5E_PLIST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static long H5E_PLIST_g()
+ {
+ return H5E_PLIST_g$constants.SEGMENT.get(H5E_PLIST_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLIST_g
+ * }
+ */
+ public static void H5E_PLIST_g(long varValue)
+ {
+ H5E_PLIST_g$constants.SEGMENT.set(H5E_PLIST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PLUGIN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PLUGIN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static OfLong H5E_PLUGIN_g$layout() { return H5E_PLUGIN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static MemorySegment H5E_PLUGIN_g$segment() { return H5E_PLUGIN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static long H5E_PLUGIN_g()
+ {
+ return H5E_PLUGIN_g$constants.SEGMENT.get(H5E_PLUGIN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PLUGIN_g
+ * }
+ */
+ public static void H5E_PLUGIN_g(long varValue)
+ {
+ H5E_PLUGIN_g$constants.SEGMENT.set(H5E_PLUGIN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_REFERENCE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_REFERENCE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static OfLong H5E_REFERENCE_g$layout() { return H5E_REFERENCE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static MemorySegment H5E_REFERENCE_g$segment() { return H5E_REFERENCE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static long H5E_REFERENCE_g()
+ {
+ return H5E_REFERENCE_g$constants.SEGMENT.get(H5E_REFERENCE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_REFERENCE_g
+ * }
+ */
+ public static void H5E_REFERENCE_g(long varValue)
+ {
+ H5E_REFERENCE_g$constants.SEGMENT.set(H5E_REFERENCE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_RESOURCE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_RESOURCE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static OfLong H5E_RESOURCE_g$layout() { return H5E_RESOURCE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static MemorySegment H5E_RESOURCE_g$segment() { return H5E_RESOURCE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static long H5E_RESOURCE_g()
+ {
+ return H5E_RESOURCE_g$constants.SEGMENT.get(H5E_RESOURCE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RESOURCE_g
+ * }
+ */
+ public static void H5E_RESOURCE_g(long varValue)
+ {
+ H5E_RESOURCE_g$constants.SEGMENT.set(H5E_RESOURCE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_RS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_RS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static OfLong H5E_RS_g$layout() { return H5E_RS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static MemorySegment H5E_RS_g$segment() { return H5E_RS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static long H5E_RS_g() { return H5E_RS_g$constants.SEGMENT.get(H5E_RS_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RS_g
+ * }
+ */
+ public static void H5E_RS_g(long varValue)
+ {
+ H5E_RS_g$constants.SEGMENT.set(H5E_RS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_RTREE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_RTREE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static OfLong H5E_RTREE_g$layout() { return H5E_RTREE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static MemorySegment H5E_RTREE_g$segment() { return H5E_RTREE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static long H5E_RTREE_g()
+ {
+ return H5E_RTREE_g$constants.SEGMENT.get(H5E_RTREE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_RTREE_g
+ * }
+ */
+ public static void H5E_RTREE_g(long varValue)
+ {
+ H5E_RTREE_g$constants.SEGMENT.set(H5E_RTREE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SLIST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SLIST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static OfLong H5E_SLIST_g$layout() { return H5E_SLIST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static MemorySegment H5E_SLIST_g$segment() { return H5E_SLIST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static long H5E_SLIST_g()
+ {
+ return H5E_SLIST_g$constants.SEGMENT.get(H5E_SLIST_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SLIST_g
+ * }
+ */
+ public static void H5E_SLIST_g(long varValue)
+ {
+ H5E_SLIST_g$constants.SEGMENT.set(H5E_SLIST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SOHM_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SOHM_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static OfLong H5E_SOHM_g$layout() { return H5E_SOHM_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static MemorySegment H5E_SOHM_g$segment() { return H5E_SOHM_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static long H5E_SOHM_g()
+ {
+ return H5E_SOHM_g$constants.SEGMENT.get(H5E_SOHM_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SOHM_g
+ * }
+ */
+ public static void H5E_SOHM_g(long varValue)
+ {
+ H5E_SOHM_g$constants.SEGMENT.set(H5E_SOHM_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_STORAGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_STORAGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static OfLong H5E_STORAGE_g$layout() { return H5E_STORAGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static MemorySegment H5E_STORAGE_g$segment() { return H5E_STORAGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static long H5E_STORAGE_g()
+ {
+ return H5E_STORAGE_g$constants.SEGMENT.get(H5E_STORAGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_STORAGE_g
+ * }
+ */
+ public static void H5E_STORAGE_g(long varValue)
+ {
+ H5E_STORAGE_g$constants.SEGMENT.set(H5E_STORAGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SYM_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SYM_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static OfLong H5E_SYM_g$layout() { return H5E_SYM_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static MemorySegment H5E_SYM_g$segment() { return H5E_SYM_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static long H5E_SYM_g() { return H5E_SYM_g$constants.SEGMENT.get(H5E_SYM_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYM_g
+ * }
+ */
+ public static void H5E_SYM_g(long varValue)
+ {
+ H5E_SYM_g$constants.SEGMENT.set(H5E_SYM_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_THREADSAFE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_THREADSAFE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static OfLong H5E_THREADSAFE_g$layout() { return H5E_THREADSAFE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static MemorySegment H5E_THREADSAFE_g$segment() { return H5E_THREADSAFE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static long H5E_THREADSAFE_g()
+ {
+ return H5E_THREADSAFE_g$constants.SEGMENT.get(H5E_THREADSAFE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_THREADSAFE_g
+ * }
+ */
+ public static void H5E_THREADSAFE_g(long varValue)
+ {
+ H5E_THREADSAFE_g$constants.SEGMENT.set(H5E_THREADSAFE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_TST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_TST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static OfLong H5E_TST_g$layout() { return H5E_TST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static MemorySegment H5E_TST_g$segment() { return H5E_TST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static long H5E_TST_g() { return H5E_TST_g$constants.SEGMENT.get(H5E_TST_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TST_g
+ * }
+ */
+ public static void H5E_TST_g(long varValue)
+ {
+ H5E_TST_g$constants.SEGMENT.set(H5E_TST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_VFL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_VFL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static OfLong H5E_VFL_g$layout() { return H5E_VFL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static MemorySegment H5E_VFL_g$segment() { return H5E_VFL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static long H5E_VFL_g() { return H5E_VFL_g$constants.SEGMENT.get(H5E_VFL_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VFL_g
+ * }
+ */
+ public static void H5E_VFL_g(long varValue)
+ {
+ H5E_VFL_g$constants.SEGMENT.set(H5E_VFL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_VOL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_VOL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static OfLong H5E_VOL_g$layout() { return H5E_VOL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static MemorySegment H5E_VOL_g$segment() { return H5E_VOL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static long H5E_VOL_g() { return H5E_VOL_g$constants.SEGMENT.get(H5E_VOL_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VOL_g
+ * }
+ */
+ public static void H5E_VOL_g(long varValue)
+ {
+ H5E_VOL_g$constants.SEGMENT.set(H5E_VOL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADRANGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADRANGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static OfLong H5E_BADRANGE_g$layout() { return H5E_BADRANGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static MemorySegment H5E_BADRANGE_g$segment() { return H5E_BADRANGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static long H5E_BADRANGE_g()
+ {
+ return H5E_BADRANGE_g$constants.SEGMENT.get(H5E_BADRANGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADRANGE_g
+ * }
+ */
+ public static void H5E_BADRANGE_g(long varValue)
+ {
+ H5E_BADRANGE_g$constants.SEGMENT.set(H5E_BADRANGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADTYPE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADTYPE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static OfLong H5E_BADTYPE_g$layout() { return H5E_BADTYPE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static MemorySegment H5E_BADTYPE_g$segment() { return H5E_BADTYPE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static long H5E_BADTYPE_g()
+ {
+ return H5E_BADTYPE_g$constants.SEGMENT.get(H5E_BADTYPE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADTYPE_g
+ * }
+ */
+ public static void H5E_BADTYPE_g(long varValue)
+ {
+ H5E_BADTYPE_g$constants.SEGMENT.set(H5E_BADTYPE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADVALUE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADVALUE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static OfLong H5E_BADVALUE_g$layout() { return H5E_BADVALUE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static MemorySegment H5E_BADVALUE_g$segment() { return H5E_BADVALUE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static long H5E_BADVALUE_g()
+ {
+ return H5E_BADVALUE_g$constants.SEGMENT.get(H5E_BADVALUE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADVALUE_g
+ * }
+ */
+ public static void H5E_BADVALUE_g(long varValue)
+ {
+ H5E_BADVALUE_g$constants.SEGMENT.set(H5E_BADVALUE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_UNINITIALIZED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_UNINITIALIZED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static OfLong H5E_UNINITIALIZED_g$layout() { return H5E_UNINITIALIZED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static MemorySegment H5E_UNINITIALIZED_g$segment()
+ {
+ return H5E_UNINITIALIZED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static long H5E_UNINITIALIZED_g()
+ {
+ return H5E_UNINITIALIZED_g$constants.SEGMENT.get(H5E_UNINITIALIZED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNINITIALIZED_g
+ * }
+ */
+ public static void H5E_UNINITIALIZED_g(long varValue)
+ {
+ H5E_UNINITIALIZED_g$constants.SEGMENT.set(H5E_UNINITIALIZED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_UNSUPPORTED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_UNSUPPORTED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static OfLong H5E_UNSUPPORTED_g$layout() { return H5E_UNSUPPORTED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static MemorySegment H5E_UNSUPPORTED_g$segment() { return H5E_UNSUPPORTED_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static long H5E_UNSUPPORTED_g()
+ {
+ return H5E_UNSUPPORTED_g$constants.SEGMENT.get(H5E_UNSUPPORTED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNSUPPORTED_g
+ * }
+ */
+ public static void H5E_UNSUPPORTED_g(long varValue)
+ {
+ H5E_UNSUPPORTED_g$constants.SEGMENT.set(H5E_UNSUPPORTED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCANCEL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCANCEL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static OfLong H5E_CANTCANCEL_g$layout() { return H5E_CANTCANCEL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCANCEL_g$segment() { return H5E_CANTCANCEL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static long H5E_CANTCANCEL_g()
+ {
+ return H5E_CANTCANCEL_g$constants.SEGMENT.get(H5E_CANTCANCEL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCANCEL_g
+ * }
+ */
+ public static void H5E_CANTCANCEL_g(long varValue)
+ {
+ H5E_CANTCANCEL_g$constants.SEGMENT.set(H5E_CANTCANCEL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTWAIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTWAIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static OfLong H5E_CANTWAIT_g$layout() { return H5E_CANTWAIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTWAIT_g$segment() { return H5E_CANTWAIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static long H5E_CANTWAIT_g()
+ {
+ return H5E_CANTWAIT_g$constants.SEGMENT.get(H5E_CANTWAIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTWAIT_g
+ * }
+ */
+ public static void H5E_CANTWAIT_g(long varValue)
+ {
+ H5E_CANTWAIT_g$constants.SEGMENT.set(H5E_CANTWAIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDECODE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDECODE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static OfLong H5E_CANTDECODE_g$layout() { return H5E_CANTDECODE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDECODE_g$segment() { return H5E_CANTDECODE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static long H5E_CANTDECODE_g()
+ {
+ return H5E_CANTDECODE_g$constants.SEGMENT.get(H5E_CANTDECODE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDECODE_g
+ * }
+ */
+ public static void H5E_CANTDECODE_g(long varValue)
+ {
+ H5E_CANTDECODE_g$constants.SEGMENT.set(H5E_CANTDECODE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTENCODE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTENCODE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static OfLong H5E_CANTENCODE_g$layout() { return H5E_CANTENCODE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTENCODE_g$segment() { return H5E_CANTENCODE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static long H5E_CANTENCODE_g()
+ {
+ return H5E_CANTENCODE_g$constants.SEGMENT.get(H5E_CANTENCODE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTENCODE_g
+ * }
+ */
+ public static void H5E_CANTENCODE_g(long varValue)
+ {
+ H5E_CANTENCODE_g$constants.SEGMENT.set(H5E_CANTENCODE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFIND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFIND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static OfLong H5E_CANTFIND_g$layout() { return H5E_CANTFIND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFIND_g$segment() { return H5E_CANTFIND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static long H5E_CANTFIND_g()
+ {
+ return H5E_CANTFIND_g$constants.SEGMENT.get(H5E_CANTFIND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFIND_g
+ * }
+ */
+ public static void H5E_CANTFIND_g(long varValue)
+ {
+ H5E_CANTFIND_g$constants.SEGMENT.set(H5E_CANTFIND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINSERT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINSERT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static OfLong H5E_CANTINSERT_g$layout() { return H5E_CANTINSERT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINSERT_g$segment() { return H5E_CANTINSERT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static long H5E_CANTINSERT_g()
+ {
+ return H5E_CANTINSERT_g$constants.SEGMENT.get(H5E_CANTINSERT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINSERT_g
+ * }
+ */
+ public static void H5E_CANTINSERT_g(long varValue)
+ {
+ H5E_CANTINSERT_g$constants.SEGMENT.set(H5E_CANTINSERT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLIST_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLIST_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static OfLong H5E_CANTLIST_g$layout() { return H5E_CANTLIST_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLIST_g$segment() { return H5E_CANTLIST_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static long H5E_CANTLIST_g()
+ {
+ return H5E_CANTLIST_g$constants.SEGMENT.get(H5E_CANTLIST_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLIST_g
+ * }
+ */
+ public static void H5E_CANTLIST_g(long varValue)
+ {
+ H5E_CANTLIST_g$constants.SEGMENT.set(H5E_CANTLIST_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMODIFY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMODIFY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static OfLong H5E_CANTMODIFY_g$layout() { return H5E_CANTMODIFY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMODIFY_g$segment() { return H5E_CANTMODIFY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static long H5E_CANTMODIFY_g()
+ {
+ return H5E_CANTMODIFY_g$constants.SEGMENT.get(H5E_CANTMODIFY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMODIFY_g
+ * }
+ */
+ public static void H5E_CANTMODIFY_g(long varValue)
+ {
+ H5E_CANTMODIFY_g$constants.SEGMENT.set(H5E_CANTMODIFY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREDISTRIBUTE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREDISTRIBUTE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static OfLong H5E_CANTREDISTRIBUTE_g$layout() { return H5E_CANTREDISTRIBUTE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREDISTRIBUTE_g$segment()
+ {
+ return H5E_CANTREDISTRIBUTE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static long H5E_CANTREDISTRIBUTE_g()
+ {
+ return H5E_CANTREDISTRIBUTE_g$constants.SEGMENT.get(H5E_CANTREDISTRIBUTE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREDISTRIBUTE_g
+ * }
+ */
+ public static void H5E_CANTREDISTRIBUTE_g(long varValue)
+ {
+ H5E_CANTREDISTRIBUTE_g$constants.SEGMENT.set(H5E_CANTREDISTRIBUTE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREMOVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREMOVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static OfLong H5E_CANTREMOVE_g$layout() { return H5E_CANTREMOVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREMOVE_g$segment() { return H5E_CANTREMOVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static long H5E_CANTREMOVE_g()
+ {
+ return H5E_CANTREMOVE_g$constants.SEGMENT.get(H5E_CANTREMOVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREMOVE_g
+ * }
+ */
+ public static void H5E_CANTREMOVE_g(long varValue)
+ {
+ H5E_CANTREMOVE_g$constants.SEGMENT.set(H5E_CANTREMOVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSPLIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSPLIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static OfLong H5E_CANTSPLIT_g$layout() { return H5E_CANTSPLIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSPLIT_g$segment() { return H5E_CANTSPLIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static long H5E_CANTSPLIT_g()
+ {
+ return H5E_CANTSPLIT_g$constants.SEGMENT.get(H5E_CANTSPLIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSPLIT_g
+ * }
+ */
+ public static void H5E_CANTSPLIT_g(long varValue)
+ {
+ H5E_CANTSPLIT_g$constants.SEGMENT.set(H5E_CANTSPLIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSWAP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSWAP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static OfLong H5E_CANTSWAP_g$layout() { return H5E_CANTSWAP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSWAP_g$segment() { return H5E_CANTSWAP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static long H5E_CANTSWAP_g()
+ {
+ return H5E_CANTSWAP_g$constants.SEGMENT.get(H5E_CANTSWAP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSWAP_g
+ * }
+ */
+ public static void H5E_CANTSWAP_g(long varValue)
+ {
+ H5E_CANTSWAP_g$constants.SEGMENT.set(H5E_CANTSWAP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_EXISTS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_EXISTS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static OfLong H5E_EXISTS_g$layout() { return H5E_EXISTS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static MemorySegment H5E_EXISTS_g$segment() { return H5E_EXISTS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static long H5E_EXISTS_g()
+ {
+ return H5E_EXISTS_g$constants.SEGMENT.get(H5E_EXISTS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_EXISTS_g
+ * }
+ */
+ public static void H5E_EXISTS_g(long varValue)
+ {
+ H5E_EXISTS_g$constants.SEGMENT.set(H5E_EXISTS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTFOUND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTFOUND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static OfLong H5E_NOTFOUND_g$layout() { return H5E_NOTFOUND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static MemorySegment H5E_NOTFOUND_g$segment() { return H5E_NOTFOUND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static long H5E_NOTFOUND_g()
+ {
+ return H5E_NOTFOUND_g$constants.SEGMENT.get(H5E_NOTFOUND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTFOUND_g
+ * }
+ */
+ public static void H5E_NOTFOUND_g(long varValue)
+ {
+ H5E_NOTFOUND_g$constants.SEGMENT.set(H5E_NOTFOUND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLEAN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLEAN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static OfLong H5E_CANTCLEAN_g$layout() { return H5E_CANTCLEAN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLEAN_g$segment() { return H5E_CANTCLEAN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static long H5E_CANTCLEAN_g()
+ {
+ return H5E_CANTCLEAN_g$constants.SEGMENT.get(H5E_CANTCLEAN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLEAN_g
+ * }
+ */
+ public static void H5E_CANTCLEAN_g(long varValue)
+ {
+ H5E_CANTCLEAN_g$constants.SEGMENT.set(H5E_CANTCLEAN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCORK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCORK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static OfLong H5E_CANTCORK_g$layout() { return H5E_CANTCORK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCORK_g$segment() { return H5E_CANTCORK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static long H5E_CANTCORK_g()
+ {
+ return H5E_CANTCORK_g$constants.SEGMENT.get(H5E_CANTCORK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCORK_g
+ * }
+ */
+ public static void H5E_CANTCORK_g(long varValue)
+ {
+ H5E_CANTCORK_g$constants.SEGMENT.set(H5E_CANTCORK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDEPEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDEPEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static OfLong H5E_CANTDEPEND_g$layout() { return H5E_CANTDEPEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDEPEND_g$segment() { return H5E_CANTDEPEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static long H5E_CANTDEPEND_g()
+ {
+ return H5E_CANTDEPEND_g$constants.SEGMENT.get(H5E_CANTDEPEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEPEND_g
+ * }
+ */
+ public static void H5E_CANTDEPEND_g(long varValue)
+ {
+ H5E_CANTDEPEND_g$constants.SEGMENT.set(H5E_CANTDEPEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDIRTY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDIRTY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static OfLong H5E_CANTDIRTY_g$layout() { return H5E_CANTDIRTY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDIRTY_g$segment() { return H5E_CANTDIRTY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static long H5E_CANTDIRTY_g()
+ {
+ return H5E_CANTDIRTY_g$constants.SEGMENT.get(H5E_CANTDIRTY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDIRTY_g
+ * }
+ */
+ public static void H5E_CANTDIRTY_g(long varValue)
+ {
+ H5E_CANTDIRTY_g$constants.SEGMENT.set(H5E_CANTDIRTY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTEXPUNGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTEXPUNGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static OfLong H5E_CANTEXPUNGE_g$layout() { return H5E_CANTEXPUNGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTEXPUNGE_g$segment() { return H5E_CANTEXPUNGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static long H5E_CANTEXPUNGE_g()
+ {
+ return H5E_CANTEXPUNGE_g$constants.SEGMENT.get(H5E_CANTEXPUNGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXPUNGE_g
+ * }
+ */
+ public static void H5E_CANTEXPUNGE_g(long varValue)
+ {
+ H5E_CANTEXPUNGE_g$constants.SEGMENT.set(H5E_CANTEXPUNGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFLUSH_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFLUSH_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static OfLong H5E_CANTFLUSH_g$layout() { return H5E_CANTFLUSH_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFLUSH_g$segment() { return H5E_CANTFLUSH_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static long H5E_CANTFLUSH_g()
+ {
+ return H5E_CANTFLUSH_g$constants.SEGMENT.get(H5E_CANTFLUSH_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFLUSH_g
+ * }
+ */
+ public static void H5E_CANTFLUSH_g(long varValue)
+ {
+ H5E_CANTFLUSH_g$constants.SEGMENT.set(H5E_CANTFLUSH_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static OfLong H5E_CANTINS_g$layout() { return H5E_CANTINS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINS_g$segment() { return H5E_CANTINS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static long H5E_CANTINS_g()
+ {
+ return H5E_CANTINS_g$constants.SEGMENT.get(H5E_CANTINS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINS_g
+ * }
+ */
+ public static void H5E_CANTINS_g(long varValue)
+ {
+ H5E_CANTINS_g$constants.SEGMENT.set(H5E_CANTINS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLOAD_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLOAD_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static OfLong H5E_CANTLOAD_g$layout() { return H5E_CANTLOAD_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLOAD_g$segment() { return H5E_CANTLOAD_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static long H5E_CANTLOAD_g()
+ {
+ return H5E_CANTLOAD_g$constants.SEGMENT.get(H5E_CANTLOAD_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOAD_g
+ * }
+ */
+ public static void H5E_CANTLOAD_g(long varValue)
+ {
+ H5E_CANTLOAD_g$constants.SEGMENT.set(H5E_CANTLOAD_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMARKCLEAN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKCLEAN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKCLEAN_g$layout() { return H5E_CANTMARKCLEAN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKCLEAN_g$segment()
+ {
+ return H5E_CANTMARKCLEAN_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static long H5E_CANTMARKCLEAN_g()
+ {
+ return H5E_CANTMARKCLEAN_g$constants.SEGMENT.get(H5E_CANTMARKCLEAN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKCLEAN_g
+ * }
+ */
+ public static void H5E_CANTMARKCLEAN_g(long varValue)
+ {
+ H5E_CANTMARKCLEAN_g$constants.SEGMENT.set(H5E_CANTMARKCLEAN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMARKDIRTY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKDIRTY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKDIRTY_g$layout() { return H5E_CANTMARKDIRTY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKDIRTY_g$segment()
+ {
+ return H5E_CANTMARKDIRTY_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static long H5E_CANTMARKDIRTY_g()
+ {
+ return H5E_CANTMARKDIRTY_g$constants.SEGMENT.get(H5E_CANTMARKDIRTY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKDIRTY_g
+ * }
+ */
+ public static void H5E_CANTMARKDIRTY_g(long varValue)
+ {
+ H5E_CANTMARKDIRTY_g$constants.SEGMENT.set(H5E_CANTMARKDIRTY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMARKSERIALIZED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKSERIALIZED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKSERIALIZED_g$layout()
+ {
+ return H5E_CANTMARKSERIALIZED_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKSERIALIZED_g$segment()
+ {
+ return H5E_CANTMARKSERIALIZED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static long H5E_CANTMARKSERIALIZED_g()
+ {
+ return H5E_CANTMARKSERIALIZED_g$constants.SEGMENT.get(H5E_CANTMARKSERIALIZED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKSERIALIZED_g
+ * }
+ */
+ public static void H5E_CANTMARKSERIALIZED_g(long varValue)
+ {
+ H5E_CANTMARKSERIALIZED_g$constants.SEGMENT.set(H5E_CANTMARKSERIALIZED_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5E_CANTMARKUNSERIALIZED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMARKUNSERIALIZED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static OfLong H5E_CANTMARKUNSERIALIZED_g$layout()
+ {
+ return H5E_CANTMARKUNSERIALIZED_g$constants.LAYOUT;
+ }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMARKUNSERIALIZED_g$segment()
+ {
+ return H5E_CANTMARKUNSERIALIZED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static long H5E_CANTMARKUNSERIALIZED_g()
+ {
+ return H5E_CANTMARKUNSERIALIZED_g$constants.SEGMENT.get(H5E_CANTMARKUNSERIALIZED_g$constants.LAYOUT,
+ 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMARKUNSERIALIZED_g
+ * }
+ */
+ public static void H5E_CANTMARKUNSERIALIZED_g(long varValue)
+ {
+ H5E_CANTMARKUNSERIALIZED_g$constants.SEGMENT.set(H5E_CANTMARKUNSERIALIZED_g$constants.LAYOUT, 0L,
+ varValue);
+ }
+
+ private static class H5E_CANTNOTIFY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTNOTIFY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static OfLong H5E_CANTNOTIFY_g$layout() { return H5E_CANTNOTIFY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTNOTIFY_g$segment() { return H5E_CANTNOTIFY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static long H5E_CANTNOTIFY_g()
+ {
+ return H5E_CANTNOTIFY_g$constants.SEGMENT.get(H5E_CANTNOTIFY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNOTIFY_g
+ * }
+ */
+ public static void H5E_CANTNOTIFY_g(long varValue)
+ {
+ H5E_CANTNOTIFY_g$constants.SEGMENT.set(H5E_CANTNOTIFY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPIN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPIN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static OfLong H5E_CANTPIN_g$layout() { return H5E_CANTPIN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPIN_g$segment() { return H5E_CANTPIN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static long H5E_CANTPIN_g()
+ {
+ return H5E_CANTPIN_g$constants.SEGMENT.get(H5E_CANTPIN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPIN_g
+ * }
+ */
+ public static void H5E_CANTPIN_g(long varValue)
+ {
+ H5E_CANTPIN_g$constants.SEGMENT.set(H5E_CANTPIN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPROTECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPROTECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static OfLong H5E_CANTPROTECT_g$layout() { return H5E_CANTPROTECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPROTECT_g$segment() { return H5E_CANTPROTECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static long H5E_CANTPROTECT_g()
+ {
+ return H5E_CANTPROTECT_g$constants.SEGMENT.get(H5E_CANTPROTECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPROTECT_g
+ * }
+ */
+ public static void H5E_CANTPROTECT_g(long varValue)
+ {
+ H5E_CANTPROTECT_g$constants.SEGMENT.set(H5E_CANTPROTECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRESIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRESIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTRESIZE_g$layout() { return H5E_CANTRESIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRESIZE_g$segment() { return H5E_CANTRESIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static long H5E_CANTRESIZE_g()
+ {
+ return H5E_CANTRESIZE_g$constants.SEGMENT.get(H5E_CANTRESIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESIZE_g
+ * }
+ */
+ public static void H5E_CANTRESIZE_g(long varValue)
+ {
+ H5E_CANTRESIZE_g$constants.SEGMENT.set(H5E_CANTRESIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSERIALIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSERIALIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTSERIALIZE_g$layout() { return H5E_CANTSERIALIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSERIALIZE_g$segment()
+ {
+ return H5E_CANTSERIALIZE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static long H5E_CANTSERIALIZE_g()
+ {
+ return H5E_CANTSERIALIZE_g$constants.SEGMENT.get(H5E_CANTSERIALIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSERIALIZE_g
+ * }
+ */
+ public static void H5E_CANTSERIALIZE_g(long varValue)
+ {
+ H5E_CANTSERIALIZE_g$constants.SEGMENT.set(H5E_CANTSERIALIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTTAG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTTAG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static OfLong H5E_CANTTAG_g$layout() { return H5E_CANTTAG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static MemorySegment H5E_CANTTAG_g$segment() { return H5E_CANTTAG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static long H5E_CANTTAG_g()
+ {
+ return H5E_CANTTAG_g$constants.SEGMENT.get(H5E_CANTTAG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTTAG_g
+ * }
+ */
+ public static void H5E_CANTTAG_g(long varValue)
+ {
+ H5E_CANTTAG_g$constants.SEGMENT.set(H5E_CANTTAG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNCORK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNCORK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static OfLong H5E_CANTUNCORK_g$layout() { return H5E_CANTUNCORK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNCORK_g$segment() { return H5E_CANTUNCORK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static long H5E_CANTUNCORK_g()
+ {
+ return H5E_CANTUNCORK_g$constants.SEGMENT.get(H5E_CANTUNCORK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNCORK_g
+ * }
+ */
+ public static void H5E_CANTUNCORK_g(long varValue)
+ {
+ H5E_CANTUNCORK_g$constants.SEGMENT.set(H5E_CANTUNCORK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNDEPEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNDEPEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static OfLong H5E_CANTUNDEPEND_g$layout() { return H5E_CANTUNDEPEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNDEPEND_g$segment() { return H5E_CANTUNDEPEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static long H5E_CANTUNDEPEND_g()
+ {
+ return H5E_CANTUNDEPEND_g$constants.SEGMENT.get(H5E_CANTUNDEPEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNDEPEND_g
+ * }
+ */
+ public static void H5E_CANTUNDEPEND_g(long varValue)
+ {
+ H5E_CANTUNDEPEND_g$constants.SEGMENT.set(H5E_CANTUNDEPEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNPIN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNPIN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static OfLong H5E_CANTUNPIN_g$layout() { return H5E_CANTUNPIN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNPIN_g$segment() { return H5E_CANTUNPIN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static long H5E_CANTUNPIN_g()
+ {
+ return H5E_CANTUNPIN_g$constants.SEGMENT.get(H5E_CANTUNPIN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPIN_g
+ * }
+ */
+ public static void H5E_CANTUNPIN_g(long varValue)
+ {
+ H5E_CANTUNPIN_g$constants.SEGMENT.set(H5E_CANTUNPIN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNPROTECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNPROTECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static OfLong H5E_CANTUNPROTECT_g$layout() { return H5E_CANTUNPROTECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNPROTECT_g$segment()
+ {
+ return H5E_CANTUNPROTECT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static long H5E_CANTUNPROTECT_g()
+ {
+ return H5E_CANTUNPROTECT_g$constants.SEGMENT.get(H5E_CANTUNPROTECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNPROTECT_g
+ * }
+ */
+ public static void H5E_CANTUNPROTECT_g(long varValue)
+ {
+ H5E_CANTUNPROTECT_g$constants.SEGMENT.set(H5E_CANTUNPROTECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNSERIALIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNSERIALIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTUNSERIALIZE_g$layout() { return H5E_CANTUNSERIALIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNSERIALIZE_g$segment()
+ {
+ return H5E_CANTUNSERIALIZE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static long H5E_CANTUNSERIALIZE_g()
+ {
+ return H5E_CANTUNSERIALIZE_g$constants.SEGMENT.get(H5E_CANTUNSERIALIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNSERIALIZE_g
+ * }
+ */
+ public static void H5E_CANTUNSERIALIZE_g(long varValue)
+ {
+ H5E_CANTUNSERIALIZE_g$constants.SEGMENT.set(H5E_CANTUNSERIALIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LOGGING_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LOGGING_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static OfLong H5E_LOGGING_g$layout() { return H5E_LOGGING_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static MemorySegment H5E_LOGGING_g$segment() { return H5E_LOGGING_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static long H5E_LOGGING_g()
+ {
+ return H5E_LOGGING_g$constants.SEGMENT.get(H5E_LOGGING_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LOGGING_g
+ * }
+ */
+ public static void H5E_LOGGING_g(long varValue)
+ {
+ H5E_LOGGING_g$constants.SEGMENT.set(H5E_LOGGING_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTCACHED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTCACHED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static OfLong H5E_NOTCACHED_g$layout() { return H5E_NOTCACHED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static MemorySegment H5E_NOTCACHED_g$segment() { return H5E_NOTCACHED_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static long H5E_NOTCACHED_g()
+ {
+ return H5E_NOTCACHED_g$constants.SEGMENT.get(H5E_NOTCACHED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTCACHED_g
+ * }
+ */
+ public static void H5E_NOTCACHED_g(long varValue)
+ {
+ H5E_NOTCACHED_g$constants.SEGMENT.set(H5E_NOTCACHED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PROTECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PROTECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static OfLong H5E_PROTECT_g$layout() { return H5E_PROTECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static MemorySegment H5E_PROTECT_g$segment() { return H5E_PROTECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static long H5E_PROTECT_g()
+ {
+ return H5E_PROTECT_g$constants.SEGMENT.get(H5E_PROTECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PROTECT_g
+ * }
+ */
+ public static void H5E_PROTECT_g(long varValue)
+ {
+ H5E_PROTECT_g$constants.SEGMENT.set(H5E_PROTECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SYSTEM_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SYSTEM_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static OfLong H5E_SYSTEM_g$layout() { return H5E_SYSTEM_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static MemorySegment H5E_SYSTEM_g$segment() { return H5E_SYSTEM_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static long H5E_SYSTEM_g()
+ {
+ return H5E_SYSTEM_g$constants.SEGMENT.get(H5E_SYSTEM_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSTEM_g
+ * }
+ */
+ public static void H5E_SYSTEM_g(long varValue)
+ {
+ H5E_SYSTEM_g$constants.SEGMENT.set(H5E_SYSTEM_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADSELECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADSELECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static OfLong H5E_BADSELECT_g$layout() { return H5E_BADSELECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static MemorySegment H5E_BADSELECT_g$segment() { return H5E_BADSELECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static long H5E_BADSELECT_g()
+ {
+ return H5E_BADSELECT_g$constants.SEGMENT.get(H5E_BADSELECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSELECT_g
+ * }
+ */
+ public static void H5E_BADSELECT_g(long varValue)
+ {
+ H5E_BADSELECT_g$constants.SEGMENT.set(H5E_BADSELECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTAPPEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTAPPEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static OfLong H5E_CANTAPPEND_g$layout() { return H5E_CANTAPPEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTAPPEND_g$segment() { return H5E_CANTAPPEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static long H5E_CANTAPPEND_g()
+ {
+ return H5E_CANTAPPEND_g$constants.SEGMENT.get(H5E_CANTAPPEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTAPPEND_g
+ * }
+ */
+ public static void H5E_CANTAPPEND_g(long varValue)
+ {
+ H5E_CANTAPPEND_g$constants.SEGMENT.set(H5E_CANTAPPEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLIP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLIP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static OfLong H5E_CANTCLIP_g$layout() { return H5E_CANTCLIP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLIP_g$segment() { return H5E_CANTCLIP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static long H5E_CANTCLIP_g()
+ {
+ return H5E_CANTCLIP_g$constants.SEGMENT.get(H5E_CANTCLIP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLIP_g
+ * }
+ */
+ public static void H5E_CANTCLIP_g(long varValue)
+ {
+ H5E_CANTCLIP_g$constants.SEGMENT.set(H5E_CANTCLIP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOMPARE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOMPARE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static OfLong H5E_CANTCOMPARE_g$layout() { return H5E_CANTCOMPARE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOMPARE_g$segment() { return H5E_CANTCOMPARE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static long H5E_CANTCOMPARE_g()
+ {
+ return H5E_CANTCOMPARE_g$constants.SEGMENT.get(H5E_CANTCOMPARE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPARE_g
+ * }
+ */
+ public static void H5E_CANTCOMPARE_g(long varValue)
+ {
+ H5E_CANTCOMPARE_g$constants.SEGMENT.set(H5E_CANTCOMPARE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static OfLong H5E_CANTCOUNT_g$layout() { return H5E_CANTCOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOUNT_g$segment() { return H5E_CANTCOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static long H5E_CANTCOUNT_g()
+ {
+ return H5E_CANTCOUNT_g$constants.SEGMENT.get(H5E_CANTCOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOUNT_g
+ * }
+ */
+ public static void H5E_CANTCOUNT_g(long varValue)
+ {
+ H5E_CANTCOUNT_g$constants.SEGMENT.set(H5E_CANTCOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTNEXT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTNEXT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static OfLong H5E_CANTNEXT_g$layout() { return H5E_CANTNEXT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTNEXT_g$segment() { return H5E_CANTNEXT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static long H5E_CANTNEXT_g()
+ {
+ return H5E_CANTNEXT_g$constants.SEGMENT.get(H5E_CANTNEXT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTNEXT_g
+ * }
+ */
+ public static void H5E_CANTNEXT_g(long varValue)
+ {
+ H5E_CANTNEXT_g$constants.SEGMENT.set(H5E_CANTNEXT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSELECT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSELECT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static OfLong H5E_CANTSELECT_g$layout() { return H5E_CANTSELECT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSELECT_g$segment() { return H5E_CANTSELECT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static long H5E_CANTSELECT_g()
+ {
+ return H5E_CANTSELECT_g$constants.SEGMENT.get(H5E_CANTSELECT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSELECT_g
+ * }
+ */
+ public static void H5E_CANTSELECT_g(long varValue)
+ {
+ H5E_CANTSELECT_g$constants.SEGMENT.set(H5E_CANTSELECT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_INCONSISTENTSTATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_INCONSISTENTSTATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static OfLong H5E_INCONSISTENTSTATE_g$layout() { return H5E_INCONSISTENTSTATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static MemorySegment H5E_INCONSISTENTSTATE_g$segment()
+ {
+ return H5E_INCONSISTENTSTATE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static long H5E_INCONSISTENTSTATE_g()
+ {
+ return H5E_INCONSISTENTSTATE_g$constants.SEGMENT.get(H5E_INCONSISTENTSTATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_INCONSISTENTSTATE_g
+ * }
+ */
+ public static void H5E_INCONSISTENTSTATE_g(long varValue)
+ {
+ H5E_INCONSISTENTSTATE_g$constants.SEGMENT.set(H5E_INCONSISTENTSTATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CLOSEERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CLOSEERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static OfLong H5E_CLOSEERROR_g$layout() { return H5E_CLOSEERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static MemorySegment H5E_CLOSEERROR_g$segment() { return H5E_CLOSEERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static long H5E_CLOSEERROR_g()
+ {
+ return H5E_CLOSEERROR_g$constants.SEGMENT.get(H5E_CLOSEERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CLOSEERROR_g
+ * }
+ */
+ public static void H5E_CLOSEERROR_g(long varValue)
+ {
+ H5E_CLOSEERROR_g$constants.SEGMENT.set(H5E_CLOSEERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FCNTL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FCNTL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static OfLong H5E_FCNTL_g$layout() { return H5E_FCNTL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static MemorySegment H5E_FCNTL_g$segment() { return H5E_FCNTL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static long H5E_FCNTL_g()
+ {
+ return H5E_FCNTL_g$constants.SEGMENT.get(H5E_FCNTL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FCNTL_g
+ * }
+ */
+ public static void H5E_FCNTL_g(long varValue)
+ {
+ H5E_FCNTL_g$constants.SEGMENT.set(H5E_FCNTL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OVERFLOW_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OVERFLOW_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static OfLong H5E_OVERFLOW_g$layout() { return H5E_OVERFLOW_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static MemorySegment H5E_OVERFLOW_g$segment() { return H5E_OVERFLOW_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static long H5E_OVERFLOW_g()
+ {
+ return H5E_OVERFLOW_g$constants.SEGMENT.get(H5E_OVERFLOW_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OVERFLOW_g
+ * }
+ */
+ public static void H5E_OVERFLOW_g(long varValue)
+ {
+ H5E_OVERFLOW_g$constants.SEGMENT.set(H5E_OVERFLOW_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_READERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_READERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static OfLong H5E_READERROR_g$layout() { return H5E_READERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static MemorySegment H5E_READERROR_g$segment() { return H5E_READERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static long H5E_READERROR_g()
+ {
+ return H5E_READERROR_g$constants.SEGMENT.get(H5E_READERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_READERROR_g
+ * }
+ */
+ public static void H5E_READERROR_g(long varValue)
+ {
+ H5E_READERROR_g$constants.SEGMENT.set(H5E_READERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SEEKERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SEEKERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static OfLong H5E_SEEKERROR_g$layout() { return H5E_SEEKERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static MemorySegment H5E_SEEKERROR_g$segment() { return H5E_SEEKERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static long H5E_SEEKERROR_g()
+ {
+ return H5E_SEEKERROR_g$constants.SEGMENT.get(H5E_SEEKERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SEEKERROR_g
+ * }
+ */
+ public static void H5E_SEEKERROR_g(long varValue)
+ {
+ H5E_SEEKERROR_g$constants.SEGMENT.set(H5E_SEEKERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_WRITEERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_WRITEERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static OfLong H5E_WRITEERROR_g$layout() { return H5E_WRITEERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static MemorySegment H5E_WRITEERROR_g$segment() { return H5E_WRITEERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static long H5E_WRITEERROR_g()
+ {
+ return H5E_WRITEERROR_g$constants.SEGMENT.get(H5E_WRITEERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_WRITEERROR_g
+ * }
+ */
+ public static void H5E_WRITEERROR_g(long varValue)
+ {
+ H5E_WRITEERROR_g$constants.SEGMENT.set(H5E_WRITEERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static OfLong H5E_BADFILE_g$layout() { return H5E_BADFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static MemorySegment H5E_BADFILE_g$segment() { return H5E_BADFILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static long H5E_BADFILE_g()
+ {
+ return H5E_BADFILE_g$constants.SEGMENT.get(H5E_BADFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADFILE_g
+ * }
+ */
+ public static void H5E_BADFILE_g(long varValue)
+ {
+ H5E_BADFILE_g$constants.SEGMENT.set(H5E_BADFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLOSEFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLOSEFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTCLOSEFILE_g$layout() { return H5E_CANTCLOSEFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLOSEFILE_g$segment()
+ {
+ return H5E_CANTCLOSEFILE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static long H5E_CANTCLOSEFILE_g()
+ {
+ return H5E_CANTCLOSEFILE_g$constants.SEGMENT.get(H5E_CANTCLOSEFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEFILE_g
+ * }
+ */
+ public static void H5E_CANTCLOSEFILE_g(long varValue)
+ {
+ H5E_CANTCLOSEFILE_g$constants.SEGMENT.set(H5E_CANTCLOSEFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCREATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCREATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static OfLong H5E_CANTCREATE_g$layout() { return H5E_CANTCREATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCREATE_g$segment() { return H5E_CANTCREATE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static long H5E_CANTCREATE_g()
+ {
+ return H5E_CANTCREATE_g$constants.SEGMENT.get(H5E_CANTCREATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCREATE_g
+ * }
+ */
+ public static void H5E_CANTCREATE_g(long varValue)
+ {
+ H5E_CANTCREATE_g$constants.SEGMENT.set(H5E_CANTCREATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDELETEFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDELETEFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTDELETEFILE_g$layout() { return H5E_CANTDELETEFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDELETEFILE_g$segment()
+ {
+ return H5E_CANTDELETEFILE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static long H5E_CANTDELETEFILE_g()
+ {
+ return H5E_CANTDELETEFILE_g$constants.SEGMENT.get(H5E_CANTDELETEFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETEFILE_g
+ * }
+ */
+ public static void H5E_CANTDELETEFILE_g(long varValue)
+ {
+ H5E_CANTDELETEFILE_g$constants.SEGMENT.set(H5E_CANTDELETEFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLOCKFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLOCKFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTLOCKFILE_g$layout() { return H5E_CANTLOCKFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLOCKFILE_g$segment() { return H5E_CANTLOCKFILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static long H5E_CANTLOCKFILE_g()
+ {
+ return H5E_CANTLOCKFILE_g$constants.SEGMENT.get(H5E_CANTLOCKFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCKFILE_g
+ * }
+ */
+ public static void H5E_CANTLOCKFILE_g(long varValue)
+ {
+ H5E_CANTLOCKFILE_g$constants.SEGMENT.set(H5E_CANTLOCKFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTOPENFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTOPENFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTOPENFILE_g$layout() { return H5E_CANTOPENFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTOPENFILE_g$segment() { return H5E_CANTOPENFILE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static long H5E_CANTOPENFILE_g()
+ {
+ return H5E_CANTOPENFILE_g$constants.SEGMENT.get(H5E_CANTOPENFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENFILE_g
+ * }
+ */
+ public static void H5E_CANTOPENFILE_g(long varValue)
+ {
+ H5E_CANTOPENFILE_g$constants.SEGMENT.set(H5E_CANTOPENFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNLOCKFILE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNLOCKFILE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static OfLong H5E_CANTUNLOCKFILE_g$layout() { return H5E_CANTUNLOCKFILE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNLOCKFILE_g$segment()
+ {
+ return H5E_CANTUNLOCKFILE_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static long H5E_CANTUNLOCKFILE_g()
+ {
+ return H5E_CANTUNLOCKFILE_g$constants.SEGMENT.get(H5E_CANTUNLOCKFILE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCKFILE_g
+ * }
+ */
+ public static void H5E_CANTUNLOCKFILE_g(long varValue)
+ {
+ H5E_CANTUNLOCKFILE_g$constants.SEGMENT.set(H5E_CANTUNLOCKFILE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FILEEXISTS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FILEEXISTS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static OfLong H5E_FILEEXISTS_g$layout() { return H5E_FILEEXISTS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static MemorySegment H5E_FILEEXISTS_g$segment() { return H5E_FILEEXISTS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static long H5E_FILEEXISTS_g()
+ {
+ return H5E_FILEEXISTS_g$constants.SEGMENT.get(H5E_FILEEXISTS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEEXISTS_g
+ * }
+ */
+ public static void H5E_FILEEXISTS_g(long varValue)
+ {
+ H5E_FILEEXISTS_g$constants.SEGMENT.set(H5E_FILEEXISTS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_FILEOPEN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_FILEOPEN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static OfLong H5E_FILEOPEN_g$layout() { return H5E_FILEOPEN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static MemorySegment H5E_FILEOPEN_g$segment() { return H5E_FILEOPEN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static long H5E_FILEOPEN_g()
+ {
+ return H5E_FILEOPEN_g$constants.SEGMENT.get(H5E_FILEOPEN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_FILEOPEN_g
+ * }
+ */
+ public static void H5E_FILEOPEN_g(long varValue)
+ {
+ H5E_FILEOPEN_g$constants.SEGMENT.set(H5E_FILEOPEN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static OfLong H5E_MOUNT_g$layout() { return H5E_MOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_MOUNT_g$segment() { return H5E_MOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static long H5E_MOUNT_g()
+ {
+ return H5E_MOUNT_g$constants.SEGMENT.get(H5E_MOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MOUNT_g
+ * }
+ */
+ public static void H5E_MOUNT_g(long varValue)
+ {
+ H5E_MOUNT_g$constants.SEGMENT.set(H5E_MOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTHDF5_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTHDF5_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static OfLong H5E_NOTHDF5_g$layout() { return H5E_NOTHDF5_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static MemorySegment H5E_NOTHDF5_g$segment() { return H5E_NOTHDF5_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static long H5E_NOTHDF5_g()
+ {
+ return H5E_NOTHDF5_g$constants.SEGMENT.get(H5E_NOTHDF5_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTHDF5_g
+ * }
+ */
+ public static void H5E_NOTHDF5_g(long varValue)
+ {
+ H5E_NOTHDF5_g$constants.SEGMENT.set(H5E_NOTHDF5_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_TRUNCATED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_TRUNCATED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static OfLong H5E_TRUNCATED_g$layout() { return H5E_TRUNCATED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static MemorySegment H5E_TRUNCATED_g$segment() { return H5E_TRUNCATED_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static long H5E_TRUNCATED_g()
+ {
+ return H5E_TRUNCATED_g$constants.SEGMENT.get(H5E_TRUNCATED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRUNCATED_g
+ * }
+ */
+ public static void H5E_TRUNCATED_g(long varValue)
+ {
+ H5E_TRUNCATED_g$constants.SEGMENT.set(H5E_TRUNCATED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_UNMOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_UNMOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static OfLong H5E_UNMOUNT_g$layout() { return H5E_UNMOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_UNMOUNT_g$segment() { return H5E_UNMOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static long H5E_UNMOUNT_g()
+ {
+ return H5E_UNMOUNT_g$constants.SEGMENT.get(H5E_UNMOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_UNMOUNT_g
+ * }
+ */
+ public static void H5E_UNMOUNT_g(long varValue)
+ {
+ H5E_UNMOUNT_g$constants.SEGMENT.set(H5E_UNMOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMERGE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMERGE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static OfLong H5E_CANTMERGE_g$layout() { return H5E_CANTMERGE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMERGE_g$segment() { return H5E_CANTMERGE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static long H5E_CANTMERGE_g()
+ {
+ return H5E_CANTMERGE_g$constants.SEGMENT.get(H5E_CANTMERGE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMERGE_g
+ * }
+ */
+ public static void H5E_CANTMERGE_g(long varValue)
+ {
+ H5E_CANTMERGE_g$constants.SEGMENT.set(H5E_CANTMERGE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREVIVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREVIVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static OfLong H5E_CANTREVIVE_g$layout() { return H5E_CANTREVIVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREVIVE_g$segment() { return H5E_CANTREVIVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static long H5E_CANTREVIVE_g()
+ {
+ return H5E_CANTREVIVE_g$constants.SEGMENT.get(H5E_CANTREVIVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREVIVE_g
+ * }
+ */
+ public static void H5E_CANTREVIVE_g(long varValue)
+ {
+ H5E_CANTREVIVE_g$constants.SEGMENT.set(H5E_CANTREVIVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSHRINK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSHRINK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static OfLong H5E_CANTSHRINK_g$layout() { return H5E_CANTSHRINK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSHRINK_g$segment() { return H5E_CANTSHRINK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static long H5E_CANTSHRINK_g()
+ {
+ return H5E_CANTSHRINK_g$constants.SEGMENT.get(H5E_CANTSHRINK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSHRINK_g
+ * }
+ */
+ public static void H5E_CANTSHRINK_g(long varValue)
+ {
+ H5E_CANTSHRINK_g$constants.SEGMENT.set(H5E_CANTSHRINK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ALREADYINIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ALREADYINIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static OfLong H5E_ALREADYINIT_g$layout() { return H5E_ALREADYINIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static MemorySegment H5E_ALREADYINIT_g$segment() { return H5E_ALREADYINIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static long H5E_ALREADYINIT_g()
+ {
+ return H5E_ALREADYINIT_g$constants.SEGMENT.get(H5E_ALREADYINIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYINIT_g
+ * }
+ */
+ public static void H5E_ALREADYINIT_g(long varValue)
+ {
+ H5E_ALREADYINIT_g$constants.SEGMENT.set(H5E_ALREADYINIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINIT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINIT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static OfLong H5E_CANTINIT_g$layout() { return H5E_CANTINIT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINIT_g$segment() { return H5E_CANTINIT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static long H5E_CANTINIT_g()
+ {
+ return H5E_CANTINIT_g$constants.SEGMENT.get(H5E_CANTINIT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINIT_g
+ * }
+ */
+ public static void H5E_CANTINIT_g(long varValue)
+ {
+ H5E_CANTINIT_g$constants.SEGMENT.set(H5E_CANTINIT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRELEASE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRELEASE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static OfLong H5E_CANTRELEASE_g$layout() { return H5E_CANTRELEASE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRELEASE_g$segment() { return H5E_CANTRELEASE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static long H5E_CANTRELEASE_g()
+ {
+ return H5E_CANTRELEASE_g$constants.SEGMENT.get(H5E_CANTRELEASE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRELEASE_g
+ * }
+ */
+ public static void H5E_CANTRELEASE_g(long varValue)
+ {
+ H5E_CANTRELEASE_g$constants.SEGMENT.set(H5E_CANTRELEASE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCLOSEOBJ_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCLOSEOBJ_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static OfLong H5E_CANTCLOSEOBJ_g$layout() { return H5E_CANTCLOSEOBJ_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCLOSEOBJ_g$segment() { return H5E_CANTCLOSEOBJ_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static long H5E_CANTCLOSEOBJ_g()
+ {
+ return H5E_CANTCLOSEOBJ_g$constants.SEGMENT.get(H5E_CANTCLOSEOBJ_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCLOSEOBJ_g
+ * }
+ */
+ public static void H5E_CANTCLOSEOBJ_g(long varValue)
+ {
+ H5E_CANTCLOSEOBJ_g$constants.SEGMENT.set(H5E_CANTCLOSEOBJ_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTOPENOBJ_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTOPENOBJ_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static OfLong H5E_CANTOPENOBJ_g$layout() { return H5E_CANTOPENOBJ_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static MemorySegment H5E_CANTOPENOBJ_g$segment() { return H5E_CANTOPENOBJ_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static long H5E_CANTOPENOBJ_g()
+ {
+ return H5E_CANTOPENOBJ_g$constants.SEGMENT.get(H5E_CANTOPENOBJ_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPENOBJ_g
+ * }
+ */
+ public static void H5E_CANTOPENOBJ_g(long varValue)
+ {
+ H5E_CANTOPENOBJ_g$constants.SEGMENT.set(H5E_CANTOPENOBJ_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_COMPLEN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_COMPLEN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static OfLong H5E_COMPLEN_g$layout() { return H5E_COMPLEN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static MemorySegment H5E_COMPLEN_g$segment() { return H5E_COMPLEN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static long H5E_COMPLEN_g()
+ {
+ return H5E_COMPLEN_g$constants.SEGMENT.get(H5E_COMPLEN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_COMPLEN_g
+ * }
+ */
+ public static void H5E_COMPLEN_g(long varValue)
+ {
+ H5E_COMPLEN_g$constants.SEGMENT.set(H5E_COMPLEN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_PATH_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_PATH_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static OfLong H5E_PATH_g$layout() { return H5E_PATH_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static MemorySegment H5E_PATH_g$segment() { return H5E_PATH_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static long H5E_PATH_g()
+ {
+ return H5E_PATH_g$constants.SEGMENT.get(H5E_PATH_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_PATH_g
+ * }
+ */
+ public static void H5E_PATH_g(long varValue)
+ {
+ H5E_PATH_g$constants.SEGMENT.set(H5E_PATH_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTATTACH_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTATTACH_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static OfLong H5E_CANTATTACH_g$layout() { return H5E_CANTATTACH_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static MemorySegment H5E_CANTATTACH_g$segment() { return H5E_CANTATTACH_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static long H5E_CANTATTACH_g()
+ {
+ return H5E_CANTATTACH_g$constants.SEGMENT.get(H5E_CANTATTACH_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTATTACH_g
+ * }
+ */
+ public static void H5E_CANTATTACH_g(long varValue)
+ {
+ H5E_CANTATTACH_g$constants.SEGMENT.set(H5E_CANTATTACH_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOMPUTE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOMPUTE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static OfLong H5E_CANTCOMPUTE_g$layout() { return H5E_CANTCOMPUTE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOMPUTE_g$segment() { return H5E_CANTCOMPUTE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static long H5E_CANTCOMPUTE_g()
+ {
+ return H5E_CANTCOMPUTE_g$constants.SEGMENT.get(H5E_CANTCOMPUTE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOMPUTE_g
+ * }
+ */
+ public static void H5E_CANTCOMPUTE_g(long varValue)
+ {
+ H5E_CANTCOMPUTE_g$constants.SEGMENT.set(H5E_CANTCOMPUTE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTEXTEND_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTEXTEND_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static OfLong H5E_CANTEXTEND_g$layout() { return H5E_CANTEXTEND_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static MemorySegment H5E_CANTEXTEND_g$segment() { return H5E_CANTEXTEND_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static long H5E_CANTEXTEND_g()
+ {
+ return H5E_CANTEXTEND_g$constants.SEGMENT.get(H5E_CANTEXTEND_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTEXTEND_g
+ * }
+ */
+ public static void H5E_CANTEXTEND_g(long varValue)
+ {
+ H5E_CANTEXTEND_g$constants.SEGMENT.set(H5E_CANTEXTEND_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTOPERATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTOPERATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static OfLong H5E_CANTOPERATE_g$layout() { return H5E_CANTOPERATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTOPERATE_g$segment() { return H5E_CANTOPERATE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static long H5E_CANTOPERATE_g()
+ {
+ return H5E_CANTOPERATE_g$constants.SEGMENT.get(H5E_CANTOPERATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTOPERATE_g
+ * }
+ */
+ public static void H5E_CANTOPERATE_g(long varValue)
+ {
+ H5E_CANTOPERATE_g$constants.SEGMENT.set(H5E_CANTOPERATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRESTORE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRESTORE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static OfLong H5E_CANTRESTORE_g$layout() { return H5E_CANTRESTORE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRESTORE_g$segment() { return H5E_CANTRESTORE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static long H5E_CANTRESTORE_g()
+ {
+ return H5E_CANTRESTORE_g$constants.SEGMENT.get(H5E_CANTRESTORE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESTORE_g
+ * }
+ */
+ public static void H5E_CANTRESTORE_g(long varValue)
+ {
+ H5E_CANTRESTORE_g$constants.SEGMENT.set(H5E_CANTRESTORE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUPDATE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUPDATE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static OfLong H5E_CANTUPDATE_g$layout() { return H5E_CANTUPDATE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUPDATE_g$segment() { return H5E_CANTUPDATE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static long H5E_CANTUPDATE_g()
+ {
+ return H5E_CANTUPDATE_g$constants.SEGMENT.get(H5E_CANTUPDATE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUPDATE_g
+ * }
+ */
+ public static void H5E_CANTUPDATE_g(long varValue)
+ {
+ H5E_CANTUPDATE_g$constants.SEGMENT.set(H5E_CANTUPDATE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADGROUP_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADGROUP_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static OfLong H5E_BADGROUP_g$layout() { return H5E_BADGROUP_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static MemorySegment H5E_BADGROUP_g$segment() { return H5E_BADGROUP_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static long H5E_BADGROUP_g()
+ {
+ return H5E_BADGROUP_g$constants.SEGMENT.get(H5E_BADGROUP_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADGROUP_g
+ * }
+ */
+ public static void H5E_BADGROUP_g(long varValue)
+ {
+ H5E_BADGROUP_g$constants.SEGMENT.set(H5E_BADGROUP_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADID_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADID_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static OfLong H5E_BADID_g$layout() { return H5E_BADID_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static MemorySegment H5E_BADID_g$segment() { return H5E_BADID_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static long H5E_BADID_g()
+ {
+ return H5E_BADID_g$constants.SEGMENT.get(H5E_BADID_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADID_g
+ * }
+ */
+ public static void H5E_BADID_g(long varValue)
+ {
+ H5E_BADID_g$constants.SEGMENT.set(H5E_BADID_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDEC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDEC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static OfLong H5E_CANTDEC_g$layout() { return H5E_CANTDEC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDEC_g$segment() { return H5E_CANTDEC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static long H5E_CANTDEC_g()
+ {
+ return H5E_CANTDEC_g$constants.SEGMENT.get(H5E_CANTDEC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDEC_g
+ * }
+ */
+ public static void H5E_CANTDEC_g(long varValue)
+ {
+ H5E_CANTDEC_g$constants.SEGMENT.set(H5E_CANTDEC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTINC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTINC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static OfLong H5E_CANTINC_g$layout() { return H5E_CANTINC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTINC_g$segment() { return H5E_CANTINC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static long H5E_CANTINC_g()
+ {
+ return H5E_CANTINC_g$constants.SEGMENT.get(H5E_CANTINC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTINC_g
+ * }
+ */
+ public static void H5E_CANTINC_g(long varValue)
+ {
+ H5E_CANTINC_g$constants.SEGMENT.set(H5E_CANTINC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTREGISTER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTREGISTER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static OfLong H5E_CANTREGISTER_g$layout() { return H5E_CANTREGISTER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static MemorySegment H5E_CANTREGISTER_g$segment() { return H5E_CANTREGISTER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static long H5E_CANTREGISTER_g()
+ {
+ return H5E_CANTREGISTER_g$constants.SEGMENT.get(H5E_CANTREGISTER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTREGISTER_g
+ * }
+ */
+ public static void H5E_CANTREGISTER_g(long varValue)
+ {
+ H5E_CANTREGISTER_g$constants.SEGMENT.set(H5E_CANTREGISTER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOIDS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOIDS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static OfLong H5E_NOIDS_g$layout() { return H5E_NOIDS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static MemorySegment H5E_NOIDS_g$segment() { return H5E_NOIDS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static long H5E_NOIDS_g()
+ {
+ return H5E_NOIDS_g$constants.SEGMENT.get(H5E_NOIDS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOIDS_g
+ * }
+ */
+ public static void H5E_NOIDS_g(long varValue)
+ {
+ H5E_NOIDS_g$constants.SEGMENT.set(H5E_NOIDS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTMOVE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTMOVE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static OfLong H5E_CANTMOVE_g$layout() { return H5E_CANTMOVE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTMOVE_g$segment() { return H5E_CANTMOVE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static long H5E_CANTMOVE_g()
+ {
+ return H5E_CANTMOVE_g$constants.SEGMENT.get(H5E_CANTMOVE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTMOVE_g
+ * }
+ */
+ public static void H5E_CANTMOVE_g(long varValue)
+ {
+ H5E_CANTMOVE_g$constants.SEGMENT.set(H5E_CANTMOVE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSORT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSORT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static OfLong H5E_CANTSORT_g$layout() { return H5E_CANTSORT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSORT_g$segment() { return H5E_CANTSORT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static long H5E_CANTSORT_g()
+ {
+ return H5E_CANTSORT_g$constants.SEGMENT.get(H5E_CANTSORT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSORT_g
+ * }
+ */
+ public static void H5E_CANTSORT_g(long varValue)
+ {
+ H5E_CANTSORT_g$constants.SEGMENT.set(H5E_CANTSORT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NLINKS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NLINKS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static OfLong H5E_NLINKS_g$layout() { return H5E_NLINKS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static MemorySegment H5E_NLINKS_g$segment() { return H5E_NLINKS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static long H5E_NLINKS_g()
+ {
+ return H5E_NLINKS_g$constants.SEGMENT.get(H5E_NLINKS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NLINKS_g
+ * }
+ */
+ public static void H5E_NLINKS_g(long varValue)
+ {
+ H5E_NLINKS_g$constants.SEGMENT.set(H5E_NLINKS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOTREGISTERED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOTREGISTERED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static OfLong H5E_NOTREGISTERED_g$layout() { return H5E_NOTREGISTERED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static MemorySegment H5E_NOTREGISTERED_g$segment()
+ {
+ return H5E_NOTREGISTERED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static long H5E_NOTREGISTERED_g()
+ {
+ return H5E_NOTREGISTERED_g$constants.SEGMENT.get(H5E_NOTREGISTERED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOTREGISTERED_g
+ * }
+ */
+ public static void H5E_NOTREGISTERED_g(long varValue)
+ {
+ H5E_NOTREGISTERED_g$constants.SEGMENT.set(H5E_NOTREGISTERED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_TRAVERSE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_TRAVERSE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static OfLong H5E_TRAVERSE_g$layout() { return H5E_TRAVERSE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static MemorySegment H5E_TRAVERSE_g$segment() { return H5E_TRAVERSE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static long H5E_TRAVERSE_g()
+ {
+ return H5E_TRAVERSE_g$constants.SEGMENT.get(H5E_TRAVERSE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_TRAVERSE_g
+ * }
+ */
+ public static void H5E_TRAVERSE_g(long varValue)
+ {
+ H5E_TRAVERSE_g$constants.SEGMENT.set(H5E_TRAVERSE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPUT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPUT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static OfLong H5E_CANTPUT_g$layout() { return H5E_CANTPUT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPUT_g$segment() { return H5E_CANTPUT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static long H5E_CANTPUT_g()
+ {
+ return H5E_CANTPUT_g$constants.SEGMENT.get(H5E_CANTPUT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPUT_g
+ * }
+ */
+ public static void H5E_CANTPUT_g(long varValue)
+ {
+ H5E_CANTPUT_g$constants.SEGMENT.set(H5E_CANTPUT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGATHER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGATHER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static OfLong H5E_CANTGATHER_g$layout() { return H5E_CANTGATHER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGATHER_g$segment() { return H5E_CANTGATHER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static long H5E_CANTGATHER_g()
+ {
+ return H5E_CANTGATHER_g$constants.SEGMENT.get(H5E_CANTGATHER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGATHER_g
+ * }
+ */
+ public static void H5E_CANTGATHER_g(long varValue)
+ {
+ H5E_CANTGATHER_g$constants.SEGMENT.set(H5E_CANTGATHER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRECV_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRECV_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static OfLong H5E_CANTRECV_g$layout() { return H5E_CANTRECV_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRECV_g$segment() { return H5E_CANTRECV_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static long H5E_CANTRECV_g()
+ {
+ return H5E_CANTRECV_g$constants.SEGMENT.get(H5E_CANTRECV_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRECV_g
+ * }
+ */
+ public static void H5E_CANTRECV_g(long varValue)
+ {
+ H5E_CANTRECV_g$constants.SEGMENT.set(H5E_CANTRECV_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MPI_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MPI_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static OfLong H5E_MPI_g$layout() { return H5E_MPI_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static MemorySegment H5E_MPI_g$segment() { return H5E_MPI_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static long H5E_MPI_g() { return H5E_MPI_g$constants.SEGMENT.get(H5E_MPI_g$constants.LAYOUT, 0L); }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPI_g
+ * }
+ */
+ public static void H5E_MPI_g(long varValue)
+ {
+ H5E_MPI_g$constants.SEGMENT.set(H5E_MPI_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_MPIERRSTR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_MPIERRSTR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static OfLong H5E_MPIERRSTR_g$layout() { return H5E_MPIERRSTR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static MemorySegment H5E_MPIERRSTR_g$segment() { return H5E_MPIERRSTR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static long H5E_MPIERRSTR_g()
+ {
+ return H5E_MPIERRSTR_g$constants.SEGMENT.get(H5E_MPIERRSTR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_MPIERRSTR_g
+ * }
+ */
+ public static void H5E_MPIERRSTR_g(long varValue)
+ {
+ H5E_MPIERRSTR_g$constants.SEGMENT.set(H5E_MPIERRSTR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NO_INDEPENDENT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NO_INDEPENDENT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static OfLong H5E_NO_INDEPENDENT_g$layout() { return H5E_NO_INDEPENDENT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static MemorySegment H5E_NO_INDEPENDENT_g$segment()
+ {
+ return H5E_NO_INDEPENDENT_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static long H5E_NO_INDEPENDENT_g()
+ {
+ return H5E_NO_INDEPENDENT_g$constants.SEGMENT.get(H5E_NO_INDEPENDENT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NO_INDEPENDENT_g
+ * }
+ */
+ public static void H5E_NO_INDEPENDENT_g(long varValue)
+ {
+ H5E_NO_INDEPENDENT_g$constants.SEGMENT.set(H5E_NO_INDEPENDENT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NONE_MINOR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NONE_MINOR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static OfLong H5E_NONE_MINOR_g$layout() { return H5E_NONE_MINOR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static MemorySegment H5E_NONE_MINOR_g$segment() { return H5E_NONE_MINOR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static long H5E_NONE_MINOR_g()
+ {
+ return H5E_NONE_MINOR_g$constants.SEGMENT.get(H5E_NONE_MINOR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NONE_MINOR_g
+ * }
+ */
+ public static void H5E_NONE_MINOR_g(long varValue)
+ {
+ H5E_NONE_MINOR_g$constants.SEGMENT.set(H5E_NONE_MINOR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ALIGNMENT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ALIGNMENT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static OfLong H5E_ALIGNMENT_g$layout() { return H5E_ALIGNMENT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static MemorySegment H5E_ALIGNMENT_g$segment() { return H5E_ALIGNMENT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static long H5E_ALIGNMENT_g()
+ {
+ return H5E_ALIGNMENT_g$constants.SEGMENT.get(H5E_ALIGNMENT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALIGNMENT_g
+ * }
+ */
+ public static void H5E_ALIGNMENT_g(long varValue)
+ {
+ H5E_ALIGNMENT_g$constants.SEGMENT.set(H5E_ALIGNMENT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADITER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADITER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static OfLong H5E_BADITER_g$layout() { return H5E_BADITER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static MemorySegment H5E_BADITER_g$segment() { return H5E_BADITER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static long H5E_BADITER_g()
+ {
+ return H5E_BADITER_g$constants.SEGMENT.get(H5E_BADITER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADITER_g
+ * }
+ */
+ public static void H5E_BADITER_g(long varValue)
+ {
+ H5E_BADITER_g$constants.SEGMENT.set(H5E_BADITER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADMESG_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADMESG_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static OfLong H5E_BADMESG_g$layout() { return H5E_BADMESG_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static MemorySegment H5E_BADMESG_g$segment() { return H5E_BADMESG_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static long H5E_BADMESG_g()
+ {
+ return H5E_BADMESG_g$constants.SEGMENT.get(H5E_BADMESG_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADMESG_g
+ * }
+ */
+ public static void H5E_BADMESG_g(long varValue)
+ {
+ H5E_BADMESG_g$constants.SEGMENT.set(H5E_BADMESG_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTDELETE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTDELETE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static OfLong H5E_CANTDELETE_g$layout() { return H5E_CANTDELETE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTDELETE_g$segment() { return H5E_CANTDELETE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static long H5E_CANTDELETE_g()
+ {
+ return H5E_CANTDELETE_g$constants.SEGMENT.get(H5E_CANTDELETE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTDELETE_g
+ * }
+ */
+ public static void H5E_CANTDELETE_g(long varValue)
+ {
+ H5E_CANTDELETE_g$constants.SEGMENT.set(H5E_CANTDELETE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTPACK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTPACK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static OfLong H5E_CANTPACK_g$layout() { return H5E_CANTPACK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTPACK_g$segment() { return H5E_CANTPACK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static long H5E_CANTPACK_g()
+ {
+ return H5E_CANTPACK_g$constants.SEGMENT.get(H5E_CANTPACK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTPACK_g
+ * }
+ */
+ public static void H5E_CANTPACK_g(long varValue)
+ {
+ H5E_CANTPACK_g$constants.SEGMENT.set(H5E_CANTPACK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRENAME_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRENAME_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static OfLong H5E_CANTRENAME_g$layout() { return H5E_CANTRENAME_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRENAME_g$segment() { return H5E_CANTRENAME_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static long H5E_CANTRENAME_g()
+ {
+ return H5E_CANTRENAME_g$constants.SEGMENT.get(H5E_CANTRENAME_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRENAME_g
+ * }
+ */
+ public static void H5E_CANTRENAME_g(long varValue)
+ {
+ H5E_CANTRENAME_g$constants.SEGMENT.set(H5E_CANTRENAME_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTRESET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTRESET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static OfLong H5E_CANTRESET_g$layout() { return H5E_CANTRESET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static MemorySegment H5E_CANTRESET_g$segment() { return H5E_CANTRESET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static long H5E_CANTRESET_g()
+ {
+ return H5E_CANTRESET_g$constants.SEGMENT.get(H5E_CANTRESET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTRESET_g
+ * }
+ */
+ public static void H5E_CANTRESET_g(long varValue)
+ {
+ H5E_CANTRESET_g$constants.SEGMENT.set(H5E_CANTRESET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_LINKCOUNT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_LINKCOUNT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static OfLong H5E_LINKCOUNT_g$layout() { return H5E_LINKCOUNT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static MemorySegment H5E_LINKCOUNT_g$segment() { return H5E_LINKCOUNT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static long H5E_LINKCOUNT_g()
+ {
+ return H5E_LINKCOUNT_g$constants.SEGMENT.get(H5E_LINKCOUNT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_LINKCOUNT_g
+ * }
+ */
+ public static void H5E_LINKCOUNT_g(long varValue)
+ {
+ H5E_LINKCOUNT_g$constants.SEGMENT.set(H5E_LINKCOUNT_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_VERSION_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_VERSION_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static OfLong H5E_VERSION_g$layout() { return H5E_VERSION_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static MemorySegment H5E_VERSION_g$segment() { return H5E_VERSION_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static long H5E_VERSION_g()
+ {
+ return H5E_VERSION_g$constants.SEGMENT.get(H5E_VERSION_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_VERSION_g
+ * }
+ */
+ public static void H5E_VERSION_g(long varValue)
+ {
+ H5E_VERSION_g$constants.SEGMENT.set(H5E_VERSION_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CALLBACK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CALLBACK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static OfLong H5E_CALLBACK_g$layout() { return H5E_CALLBACK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static MemorySegment H5E_CALLBACK_g$segment() { return H5E_CALLBACK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static long H5E_CALLBACK_g()
+ {
+ return H5E_CALLBACK_g$constants.SEGMENT.get(H5E_CALLBACK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CALLBACK_g
+ * }
+ */
+ public static void H5E_CALLBACK_g(long varValue)
+ {
+ H5E_CALLBACK_g$constants.SEGMENT.set(H5E_CALLBACK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANAPPLY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANAPPLY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static OfLong H5E_CANAPPLY_g$layout() { return H5E_CANAPPLY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static MemorySegment H5E_CANAPPLY_g$segment() { return H5E_CANAPPLY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static long H5E_CANAPPLY_g()
+ {
+ return H5E_CANAPPLY_g$constants.SEGMENT.get(H5E_CANAPPLY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANAPPLY_g
+ * }
+ */
+ public static void H5E_CANAPPLY_g(long varValue)
+ {
+ H5E_CANAPPLY_g$constants.SEGMENT.set(H5E_CANAPPLY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFILTER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFILTER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static OfLong H5E_CANTFILTER_g$layout() { return H5E_CANTFILTER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFILTER_g$segment() { return H5E_CANTFILTER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static long H5E_CANTFILTER_g()
+ {
+ return H5E_CANTFILTER_g$constants.SEGMENT.get(H5E_CANTFILTER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFILTER_g
+ * }
+ */
+ public static void H5E_CANTFILTER_g(long varValue)
+ {
+ H5E_CANTFILTER_g$constants.SEGMENT.set(H5E_CANTFILTER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOENCODER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOENCODER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static OfLong H5E_NOENCODER_g$layout() { return H5E_NOENCODER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static MemorySegment H5E_NOENCODER_g$segment() { return H5E_NOENCODER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static long H5E_NOENCODER_g()
+ {
+ return H5E_NOENCODER_g$constants.SEGMENT.get(H5E_NOENCODER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOENCODER_g
+ * }
+ */
+ public static void H5E_NOENCODER_g(long varValue)
+ {
+ H5E_NOENCODER_g$constants.SEGMENT.set(H5E_NOENCODER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOFILTER_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOFILTER_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static OfLong H5E_NOFILTER_g$layout() { return H5E_NOFILTER_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static MemorySegment H5E_NOFILTER_g$segment() { return H5E_NOFILTER_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static long H5E_NOFILTER_g()
+ {
+ return H5E_NOFILTER_g$constants.SEGMENT.get(H5E_NOFILTER_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOFILTER_g
+ * }
+ */
+ public static void H5E_NOFILTER_g(long varValue)
+ {
+ H5E_NOFILTER_g$constants.SEGMENT.set(H5E_NOFILTER_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SETLOCAL_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SETLOCAL_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static OfLong H5E_SETLOCAL_g$layout() { return H5E_SETLOCAL_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static MemorySegment H5E_SETLOCAL_g$segment() { return H5E_SETLOCAL_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static long H5E_SETLOCAL_g()
+ {
+ return H5E_SETLOCAL_g$constants.SEGMENT.get(H5E_SETLOCAL_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETLOCAL_g
+ * }
+ */
+ public static void H5E_SETLOCAL_g(long varValue)
+ {
+ H5E_SETLOCAL_g$constants.SEGMENT.set(H5E_SETLOCAL_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static OfLong H5E_CANTGET_g$layout() { return H5E_CANTGET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGET_g$segment() { return H5E_CANTGET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static long H5E_CANTGET_g()
+ {
+ return H5E_CANTGET_g$constants.SEGMENT.get(H5E_CANTGET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGET_g
+ * }
+ */
+ public static void H5E_CANTGET_g(long varValue)
+ {
+ H5E_CANTGET_g$constants.SEGMENT.set(H5E_CANTGET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTSET_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTSET_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static OfLong H5E_CANTSET_g$layout() { return H5E_CANTSET_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static MemorySegment H5E_CANTSET_g$segment() { return H5E_CANTSET_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static long H5E_CANTSET_g()
+ {
+ return H5E_CANTSET_g$constants.SEGMENT.get(H5E_CANTSET_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTSET_g
+ * }
+ */
+ public static void H5E_CANTSET_g(long varValue)
+ {
+ H5E_CANTSET_g$constants.SEGMENT.set(H5E_CANTSET_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_DUPCLASS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_DUPCLASS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static OfLong H5E_DUPCLASS_g$layout() { return H5E_DUPCLASS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static MemorySegment H5E_DUPCLASS_g$segment() { return H5E_DUPCLASS_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static long H5E_DUPCLASS_g()
+ {
+ return H5E_DUPCLASS_g$constants.SEGMENT.get(H5E_DUPCLASS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_DUPCLASS_g
+ * }
+ */
+ public static void H5E_DUPCLASS_g(long varValue)
+ {
+ H5E_DUPCLASS_g$constants.SEGMENT.set(H5E_DUPCLASS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SETDISALLOWED_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SETDISALLOWED_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static OfLong H5E_SETDISALLOWED_g$layout() { return H5E_SETDISALLOWED_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static MemorySegment H5E_SETDISALLOWED_g$segment()
+ {
+ return H5E_SETDISALLOWED_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static long H5E_SETDISALLOWED_g()
+ {
+ return H5E_SETDISALLOWED_g$constants.SEGMENT.get(H5E_SETDISALLOWED_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SETDISALLOWED_g
+ * }
+ */
+ public static void H5E_SETDISALLOWED_g(long varValue)
+ {
+ H5E_SETDISALLOWED_g$constants.SEGMENT.set(H5E_SETDISALLOWED_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OPENERROR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OPENERROR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static OfLong H5E_OPENERROR_g$layout() { return H5E_OPENERROR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static MemorySegment H5E_OPENERROR_g$segment() { return H5E_OPENERROR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static long H5E_OPENERROR_g()
+ {
+ return H5E_OPENERROR_g$constants.SEGMENT.get(H5E_OPENERROR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OPENERROR_g
+ * }
+ */
+ public static void H5E_OPENERROR_g(long varValue)
+ {
+ H5E_OPENERROR_g$constants.SEGMENT.set(H5E_OPENERROR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_ALREADYEXISTS_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_ALREADYEXISTS_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static OfLong H5E_ALREADYEXISTS_g$layout() { return H5E_ALREADYEXISTS_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static MemorySegment H5E_ALREADYEXISTS_g$segment()
+ {
+ return H5E_ALREADYEXISTS_g$constants.SEGMENT;
+ }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static long H5E_ALREADYEXISTS_g()
+ {
+ return H5E_ALREADYEXISTS_g$constants.SEGMENT.get(H5E_ALREADYEXISTS_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_ALREADYEXISTS_g
+ * }
+ */
+ public static void H5E_ALREADYEXISTS_g(long varValue)
+ {
+ H5E_ALREADYEXISTS_g$constants.SEGMENT.set(H5E_ALREADYEXISTS_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTALLOC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTALLOC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static OfLong H5E_CANTALLOC_g$layout() { return H5E_CANTALLOC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTALLOC_g$segment() { return H5E_CANTALLOC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static long H5E_CANTALLOC_g()
+ {
+ return H5E_CANTALLOC_g$constants.SEGMENT.get(H5E_CANTALLOC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTALLOC_g
+ * }
+ */
+ public static void H5E_CANTALLOC_g(long varValue)
+ {
+ H5E_CANTALLOC_g$constants.SEGMENT.set(H5E_CANTALLOC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCOPY_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCOPY_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static OfLong H5E_CANTCOPY_g$layout() { return H5E_CANTCOPY_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCOPY_g$segment() { return H5E_CANTCOPY_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static long H5E_CANTCOPY_g()
+ {
+ return H5E_CANTCOPY_g$constants.SEGMENT.get(H5E_CANTCOPY_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCOPY_g
+ * }
+ */
+ public static void H5E_CANTCOPY_g(long varValue)
+ {
+ H5E_CANTCOPY_g$constants.SEGMENT.set(H5E_CANTCOPY_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTFREE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTFREE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static OfLong H5E_CANTFREE_g$layout() { return H5E_CANTFREE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTFREE_g$segment() { return H5E_CANTFREE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static long H5E_CANTFREE_g()
+ {
+ return H5E_CANTFREE_g$constants.SEGMENT.get(H5E_CANTFREE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTFREE_g
+ * }
+ */
+ public static void H5E_CANTFREE_g(long varValue)
+ {
+ H5E_CANTFREE_g$constants.SEGMENT.set(H5E_CANTFREE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGC_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGC_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static OfLong H5E_CANTGC_g$layout() { return H5E_CANTGC_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGC_g$segment() { return H5E_CANTGC_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static long H5E_CANTGC_g()
+ {
+ return H5E_CANTGC_g$constants.SEGMENT.get(H5E_CANTGC_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGC_g
+ * }
+ */
+ public static void H5E_CANTGC_g(long varValue)
+ {
+ H5E_CANTGC_g$constants.SEGMENT.set(H5E_CANTGC_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTGETSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTGETSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static OfLong H5E_CANTGETSIZE_g$layout() { return H5E_CANTGETSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static MemorySegment H5E_CANTGETSIZE_g$segment() { return H5E_CANTGETSIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static long H5E_CANTGETSIZE_g()
+ {
+ return H5E_CANTGETSIZE_g$constants.SEGMENT.get(H5E_CANTGETSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTGETSIZE_g
+ * }
+ */
+ public static void H5E_CANTGETSIZE_g(long varValue)
+ {
+ H5E_CANTGETSIZE_g$constants.SEGMENT.set(H5E_CANTGETSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTLOCK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTLOCK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static OfLong H5E_CANTLOCK_g$layout() { return H5E_CANTLOCK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTLOCK_g$segment() { return H5E_CANTLOCK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static long H5E_CANTLOCK_g()
+ {
+ return H5E_CANTLOCK_g$constants.SEGMENT.get(H5E_CANTLOCK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTLOCK_g
+ * }
+ */
+ public static void H5E_CANTLOCK_g(long varValue)
+ {
+ H5E_CANTLOCK_g$constants.SEGMENT.set(H5E_CANTLOCK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTUNLOCK_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTUNLOCK_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static OfLong H5E_CANTUNLOCK_g$layout() { return H5E_CANTUNLOCK_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static MemorySegment H5E_CANTUNLOCK_g$segment() { return H5E_CANTUNLOCK_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static long H5E_CANTUNLOCK_g()
+ {
+ return H5E_CANTUNLOCK_g$constants.SEGMENT.get(H5E_CANTUNLOCK_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTUNLOCK_g
+ * }
+ */
+ public static void H5E_CANTUNLOCK_g(long varValue)
+ {
+ H5E_CANTUNLOCK_g$constants.SEGMENT.set(H5E_CANTUNLOCK_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_NOSPACE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_NOSPACE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static OfLong H5E_NOSPACE_g$layout() { return H5E_NOSPACE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static MemorySegment H5E_NOSPACE_g$segment() { return H5E_NOSPACE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static long H5E_NOSPACE_g()
+ {
+ return H5E_NOSPACE_g$constants.SEGMENT.get(H5E_NOSPACE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_NOSPACE_g
+ * }
+ */
+ public static void H5E_NOSPACE_g(long varValue)
+ {
+ H5E_NOSPACE_g$constants.SEGMENT.set(H5E_NOSPACE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_OBJOPEN_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_OBJOPEN_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static OfLong H5E_OBJOPEN_g$layout() { return H5E_OBJOPEN_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static MemorySegment H5E_OBJOPEN_g$segment() { return H5E_OBJOPEN_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static long H5E_OBJOPEN_g()
+ {
+ return H5E_OBJOPEN_g$constants.SEGMENT.get(H5E_OBJOPEN_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_OBJOPEN_g
+ * }
+ */
+ public static void H5E_OBJOPEN_g(long varValue)
+ {
+ H5E_OBJOPEN_g$constants.SEGMENT.set(H5E_OBJOPEN_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_SYSERRSTR_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_SYSERRSTR_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static OfLong H5E_SYSERRSTR_g$layout() { return H5E_SYSERRSTR_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static MemorySegment H5E_SYSERRSTR_g$segment() { return H5E_SYSERRSTR_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static long H5E_SYSERRSTR_g()
+ {
+ return H5E_SYSERRSTR_g$constants.SEGMENT.get(H5E_SYSERRSTR_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_SYSERRSTR_g
+ * }
+ */
+ public static void H5E_SYSERRSTR_g(long varValue)
+ {
+ H5E_SYSERRSTR_g$constants.SEGMENT.set(H5E_SYSERRSTR_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_BADSIZE_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_BADSIZE_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static OfLong H5E_BADSIZE_g$layout() { return H5E_BADSIZE_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static MemorySegment H5E_BADSIZE_g$segment() { return H5E_BADSIZE_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static long H5E_BADSIZE_g()
+ {
+ return H5E_BADSIZE_g$constants.SEGMENT.get(H5E_BADSIZE_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_BADSIZE_g
+ * }
+ */
+ public static void H5E_BADSIZE_g(long varValue)
+ {
+ H5E_BADSIZE_g$constants.SEGMENT.set(H5E_BADSIZE_g$constants.LAYOUT, 0L, varValue);
+ }
+
+ private static class H5E_CANTCONVERT_g$constants {
+ public static final OfLong LAYOUT = hdf5_h.C_LONG_LONG;
+ public static final MemorySegment SEGMENT =
+ hdf5_h.findOrThrow("H5E_CANTCONVERT_g").reinterpret(LAYOUT.byteSize());
+ }
+
+ /**
+ * Layout for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static OfLong H5E_CANTCONVERT_g$layout() { return H5E_CANTCONVERT_g$constants.LAYOUT; }
+
+ /**
+ * Segment for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static MemorySegment H5E_CANTCONVERT_g$segment() { return H5E_CANTCONVERT_g$constants.SEGMENT; }
+
+ /**
+ * Getter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static long H5E_CANTCONVERT_g()
+ {
+ return H5E_CANTCONVERT_g$constants.SEGMENT.get(H5E_CANTCONVERT_g$constants.LAYOUT, 0L);
+ }
+
+ /**
+ * Setter for variable:
+ * {@snippet lang=c :
+ * extern hid_t H5E_CANTCONVERT_g
+ * }
+ */
+ public static void H5E_CANTCONVERT_g(long varValue)
+ {
+ H5E_CANTCONVERT_g$constants.SEGMENT.set(H5E_CANTCONVERT_g$constants.LAYOUT, 0L, varValue);
+ }
+ private static final int H5E_WALK_UPWARD = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_direction_t.H5E_WALK_UPWARD = 0
+ * }
+ */
+ public static int H5E_WALK_UPWARD() { return H5E_WALK_UPWARD; }
+ private static final int H5E_WALK_DOWNWARD = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5E_direction_t.H5E_WALK_DOWNWARD = 1
+ * }
+ */
+ public static int H5E_WALK_DOWNWARD() { return H5E_WALK_DOWNWARD; }
+
+ private static class H5Eregister_class {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eregister_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static FunctionDescriptor H5Eregister_class$descriptor() { return H5Eregister_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static MethodHandle H5Eregister_class$handle() { return H5Eregister_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static MemorySegment H5Eregister_class$address() { return H5Eregister_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Eregister_class(const char *cls_name, const char *lib_name, const char *version)
+ * }
+ */
+ public static long H5Eregister_class(MemorySegment cls_name, MemorySegment lib_name,
+ MemorySegment version)
+ {
+ var mh$ = H5Eregister_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eregister_class", cls_name, lib_name, version);
+ }
+ return (long)mh$.invokeExact(cls_name, lib_name, version);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eunregister_class {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eunregister_class");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eunregister_class$descriptor() { return H5Eunregister_class.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static MethodHandle H5Eunregister_class$handle() { return H5Eunregister_class.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static MemorySegment H5Eunregister_class$address() { return H5Eunregister_class.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eunregister_class(hid_t class_id)
+ * }
+ */
+ public static int H5Eunregister_class(long class_id)
+ {
+ var mh$ = H5Eunregister_class.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eunregister_class", class_id);
+ }
+ return (int)mh$.invokeExact(class_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eclose_msg {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclose_msg");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eclose_msg$descriptor() { return H5Eclose_msg.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static MethodHandle H5Eclose_msg$handle() { return H5Eclose_msg.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static MemorySegment H5Eclose_msg$address() { return H5Eclose_msg.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclose_msg(hid_t err_id)
+ * }
+ */
+ public static int H5Eclose_msg(long err_id)
+ {
+ var mh$ = H5Eclose_msg.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclose_msg", err_id);
+ }
+ return (int)mh$.invokeExact(err_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ecreate_msg {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ecreate_msg");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static FunctionDescriptor H5Ecreate_msg$descriptor() { return H5Ecreate_msg.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static MethodHandle H5Ecreate_msg$handle() { return H5Ecreate_msg.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static MemorySegment H5Ecreate_msg$address() { return H5Ecreate_msg.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_msg(hid_t cls, H5E_type_t msg_type, const char *msg)
+ * }
+ */
+ public static long H5Ecreate_msg(long cls, int msg_type, MemorySegment msg)
+ {
+ var mh$ = H5Ecreate_msg.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ecreate_msg", cls, msg_type, msg);
+ }
+ return (long)mh$.invokeExact(cls, msg_type, msg);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ecreate_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ecreate_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static FunctionDescriptor H5Ecreate_stack$descriptor() { return H5Ecreate_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static MethodHandle H5Ecreate_stack$handle() { return H5Ecreate_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static MemorySegment H5Ecreate_stack$address() { return H5Ecreate_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Ecreate_stack()
+ * }
+ */
+ public static long H5Ecreate_stack()
+ {
+ var mh$ = H5Ecreate_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ecreate_stack");
+ }
+ return (long)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_current_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_current_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static FunctionDescriptor H5Eget_current_stack$descriptor() { return H5Eget_current_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static MethodHandle H5Eget_current_stack$handle() { return H5Eget_current_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static MemorySegment H5Eget_current_stack$address() { return H5Eget_current_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Eget_current_stack()
+ * }
+ */
+ public static long H5Eget_current_stack()
+ {
+ var mh$ = H5Eget_current_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_current_stack");
+ }
+ return (long)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eappend_stack {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eappend_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static FunctionDescriptor H5Eappend_stack$descriptor() { return H5Eappend_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static MethodHandle H5Eappend_stack$handle() { return H5Eappend_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static MemorySegment H5Eappend_stack$address() { return H5Eappend_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eappend_stack(hid_t dst_stack_id, hid_t src_stack_id, bool close_source_stack)
+ * }
+ */
+ public static int H5Eappend_stack(long dst_stack_id, long src_stack_id, boolean close_source_stack)
+ {
+ var mh$ = H5Eappend_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eappend_stack", dst_stack_id, src_stack_id, close_source_stack);
+ }
+ return (int)mh$.invokeExact(dst_stack_id, src_stack_id, close_source_stack);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eis_paused {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eis_paused");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static FunctionDescriptor H5Eis_paused$descriptor() { return H5Eis_paused.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static MethodHandle H5Eis_paused$handle() { return H5Eis_paused.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static MemorySegment H5Eis_paused$address() { return H5Eis_paused.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eis_paused(hid_t stack_id, bool *is_paused)
+ * }
+ */
+ public static int H5Eis_paused(long stack_id, MemorySegment is_paused)
+ {
+ var mh$ = H5Eis_paused.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eis_paused", stack_id, is_paused);
+ }
+ return (int)mh$.invokeExact(stack_id, is_paused);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Epause_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epause_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Epause_stack$descriptor() { return H5Epause_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static MethodHandle H5Epause_stack$handle() { return H5Epause_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static MemorySegment H5Epause_stack$address() { return H5Epause_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Epause_stack(hid_t stack_id)
+ * }
+ */
+ public static int H5Epause_stack(long stack_id)
+ {
+ var mh$ = H5Epause_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epause_stack", stack_id);
+ }
+ return (int)mh$.invokeExact(stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eresume_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eresume_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eresume_stack$descriptor() { return H5Eresume_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static MethodHandle H5Eresume_stack$handle() { return H5Eresume_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static MemorySegment H5Eresume_stack$address() { return H5Eresume_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eresume_stack(hid_t stack_id)
+ * }
+ */
+ public static int H5Eresume_stack(long stack_id)
+ {
+ var mh$ = H5Eresume_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eresume_stack", stack_id);
+ }
+ return (int)mh$.invokeExact(stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eclose_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclose_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eclose_stack$descriptor() { return H5Eclose_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static MethodHandle H5Eclose_stack$handle() { return H5Eclose_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static MemorySegment H5Eclose_stack$address() { return H5Eclose_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclose_stack(hid_t stack_id)
+ * }
+ */
+ public static int H5Eclose_stack(long stack_id)
+ {
+ var mh$ = H5Eclose_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclose_stack", stack_id);
+ }
+ return (int)mh$.invokeExact(stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_class_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_class_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_class_name$descriptor() { return H5Eget_class_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Eget_class_name$handle() { return H5Eget_class_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Eget_class_name$address() { return H5Eget_class_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Eget_class_name(hid_t class_id, char *name, size_t size)
+ * }
+ */
+ public static long H5Eget_class_name(long class_id, MemorySegment name, long size)
+ {
+ var mh$ = H5Eget_class_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_class_name", class_id, name, size);
+ }
+ return (long)mh$.invokeExact(class_id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eset_current_stack {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eset_current_stack");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eset_current_stack$descriptor() { return H5Eset_current_stack.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static MethodHandle H5Eset_current_stack$handle() { return H5Eset_current_stack.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static MemorySegment H5Eset_current_stack$address() { return H5Eset_current_stack.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eset_current_stack(hid_t err_stack_id)
+ * }
+ */
+ public static int H5Eset_current_stack(long err_stack_id)
+ {
+ var mh$ = H5Eset_current_stack.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eset_current_stack", err_stack_id);
+ }
+ return (int)mh$.invokeExact(err_stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ /**
+ * Variadic invoker class for:
+ * {@snippet lang=c :
+ * herr_t H5Epush2(hid_t err_stack, const char *file, const char *func, unsigned int line, hid_t cls_id,
+ * hid_t maj_id, hid_t min_id, const char *msg, ...)
+ * }
+ */
+ public static class H5Epush2 {
+ private static final FunctionDescriptor BASE_DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+ private static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epush2");
+
+ private final MethodHandle handle;
+ private final FunctionDescriptor descriptor;
+ private final MethodHandle spreader;
+
+ private H5Epush2(MethodHandle handle, FunctionDescriptor descriptor, MethodHandle spreader)
+ {
+ this.handle = handle;
+ this.descriptor = descriptor;
+ this.spreader = spreader;
+ }
+
+ /**
+ * Variadic invoker factory for:
+ * {@snippet lang=c :
+ * herr_t H5Epush2(hid_t err_stack, const char *file, const char *func, unsigned int line, hid_t
+ * cls_id, hid_t maj_id, hid_t min_id, const char *msg, ...)
+ * }
+ */
+ public static H5Epush2 makeInvoker(MemoryLayout... layouts)
+ {
+ FunctionDescriptor desc$ = BASE_DESC.appendArgumentLayouts(layouts);
+ Linker.Option fva$ = Linker.Option.firstVariadicArg(BASE_DESC.argumentLayouts().size());
+ var mh$ = Linker.nativeLinker().downcallHandle(ADDR, desc$, fva$);
+ var spreader$ = mh$.asSpreader(Object[].class, layouts.length);
+ return new H5Epush2(mh$, desc$, spreader$);
+ }
+
+ /**
+ * {@return the address}
+ */
+ public static MemorySegment address() { return ADDR; }
+
+ /**
+ * {@return the specialized method handle}
+ */
+ public MethodHandle handle() { return handle; }
+
+ /**
+ * {@return the specialized descriptor}
+ */
+ public FunctionDescriptor descriptor() { return descriptor; }
+
+ public int apply(long err_stack, MemorySegment file, MemorySegment func, int line, long cls_id,
+ long maj_id, long min_id, MemorySegment msg, Object... x8)
+ {
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epush2", err_stack, file, func, line, cls_id, maj_id, min_id, msg, x8);
+ }
+ return (int)spreader.invokeExact(err_stack, file, func, line, cls_id, maj_id, min_id, msg,
+ x8);
+ }
+ catch (IllegalArgumentException | ClassCastException ex$) {
+ throw ex$; // rethrow IAE from passing wrong number/type of args
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ }
+
+ private static class H5Epop {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epop");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static FunctionDescriptor H5Epop$descriptor() { return H5Epop.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static MethodHandle H5Epop$handle() { return H5Epop.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static MemorySegment H5Epop$address() { return H5Epop.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Epop(hid_t err_stack, size_t count)
+ * }
+ */
+ public static int H5Epop(long err_stack, long count)
+ {
+ var mh$ = H5Epop.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epop", err_stack, count);
+ }
+ return (int)mh$.invokeExact(err_stack, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eprint2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eprint2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static FunctionDescriptor H5Eprint2$descriptor() { return H5Eprint2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static MethodHandle H5Eprint2$handle() { return H5Eprint2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static MemorySegment H5Eprint2$address() { return H5Eprint2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eprint2(hid_t err_stack, FILE *stream)
+ * }
+ */
+ public static int H5Eprint2(long err_stack, MemorySegment stream)
+ {
+ var mh$ = H5Eprint2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eprint2", err_stack, stream);
+ }
+ return (int)mh$.invokeExact(err_stack, stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ewalk2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ewalk2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Ewalk2$descriptor() { return H5Ewalk2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Ewalk2$handle() { return H5Ewalk2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Ewalk2$address() { return H5Ewalk2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ewalk2(hid_t err_stack, H5E_direction_t direction, H5E_walk2_t func, void *client_data)
+ * }
+ */
+ public static int H5Ewalk2(long err_stack, int direction, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Ewalk2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ewalk2", err_stack, direction, func, client_data);
+ }
+ return (int)mh$.invokeExact(err_stack, direction, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_auto2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_auto2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_auto2$descriptor() { return H5Eget_auto2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static MethodHandle H5Eget_auto2$handle() { return H5Eget_auto2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static MemorySegment H5Eget_auto2$address() { return H5Eget_auto2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto2(hid_t estack_id, H5E_auto2_t *func, void **client_data)
+ * }
+ */
+ public static int H5Eget_auto2(long estack_id, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eget_auto2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_auto2", estack_id, func, client_data);
+ }
+ return (int)mh$.invokeExact(estack_id, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eset_auto2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eset_auto2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eset_auto2$descriptor() { return H5Eset_auto2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Eset_auto2$handle() { return H5Eset_auto2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Eset_auto2$address() { return H5Eset_auto2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto2(hid_t estack_id, H5E_auto2_t func, void *client_data)
+ * }
+ */
+ public static int H5Eset_auto2(long estack_id, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eset_auto2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eset_auto2", estack_id, func, client_data);
+ }
+ return (int)mh$.invokeExact(estack_id, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eclear2 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclear2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static FunctionDescriptor H5Eclear2$descriptor() { return H5Eclear2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static MethodHandle H5Eclear2$handle() { return H5Eclear2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static MemorySegment H5Eclear2$address() { return H5Eclear2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclear2(hid_t err_stack)
+ * }
+ */
+ public static int H5Eclear2(long err_stack)
+ {
+ var mh$ = H5Eclear2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclear2", err_stack);
+ }
+ return (int)mh$.invokeExact(err_stack);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eauto_is_v2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eauto_is_v2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static FunctionDescriptor H5Eauto_is_v2$descriptor() { return H5Eauto_is_v2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static MethodHandle H5Eauto_is_v2$handle() { return H5Eauto_is_v2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static MemorySegment H5Eauto_is_v2$address() { return H5Eauto_is_v2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eauto_is_v2(hid_t err_stack, unsigned int *is_stack)
+ * }
+ */
+ public static int H5Eauto_is_v2(long err_stack, MemorySegment is_stack)
+ {
+ var mh$ = H5Eauto_is_v2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eauto_is_v2", err_stack, is_stack);
+ }
+ return (int)mh$.invokeExact(err_stack, is_stack);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_msg {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_msg");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_msg$descriptor() { return H5Eget_msg.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static MethodHandle H5Eget_msg$handle() { return H5Eget_msg.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static MemorySegment H5Eget_msg$address() { return H5Eget_msg.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Eget_msg(hid_t msg_id, H5E_type_t *type, char *msg, size_t size)
+ * }
+ */
+ public static long H5Eget_msg(long msg_id, MemorySegment type, MemorySegment msg, long size)
+ {
+ var mh$ = H5Eget_msg.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_msg", msg_id, type, msg, size);
+ }
+ return (long)mh$.invokeExact(msg_id, type, msg, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_num {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_num");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_num$descriptor() { return H5Eget_num.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static MethodHandle H5Eget_num$handle() { return H5Eget_num.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static MemorySegment H5Eget_num$address() { return H5Eget_num.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Eget_num(hid_t error_stack_id)
+ * }
+ */
+ public static long H5Eget_num(long error_stack_id)
+ {
+ var mh$ = H5Eget_num.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_num", error_stack_id);
+ }
+ return (long)mh$.invokeExact(error_stack_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef hid_t H5E_major_t
+ * }
+ */
+ public static final OfLong H5E_major_t = hdf5_h.C_LONG_LONG;
+ /**
+ * {@snippet lang=c :
+ * typedef hid_t H5E_minor_t
+ * }
+ */
+ public static final OfLong H5E_minor_t = hdf5_h.C_LONG_LONG;
+
+ private static class H5Eclear1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eclear1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static FunctionDescriptor H5Eclear1$descriptor() { return H5Eclear1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static MethodHandle H5Eclear1$handle() { return H5Eclear1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static MemorySegment H5Eclear1$address() { return H5Eclear1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eclear1()
+ * }
+ */
+ public static int H5Eclear1()
+ {
+ var mh$ = H5Eclear1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eclear1");
+ }
+ return (int)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_auto1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_auto1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_auto1$descriptor() { return H5Eget_auto1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static MethodHandle H5Eget_auto1$handle() { return H5Eget_auto1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static MemorySegment H5Eget_auto1$address() { return H5Eget_auto1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eget_auto1(H5E_auto1_t *func, void **client_data)
+ * }
+ */
+ public static int H5Eget_auto1(MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eget_auto1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_auto1", func, client_data);
+ }
+ return (int)mh$.invokeExact(func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Epush1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Epush1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static FunctionDescriptor H5Epush1$descriptor() { return H5Epush1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static MethodHandle H5Epush1$handle() { return H5Epush1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static MemorySegment H5Epush1$address() { return H5Epush1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Epush1(const char *file, const char *func, unsigned int line, H5E_major_t maj, H5E_minor_t
+ * min, const char *str)
+ * }
+ */
+ public static int H5Epush1(MemorySegment file, MemorySegment func, int line, long maj, long min,
+ MemorySegment str)
+ {
+ var mh$ = H5Epush1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Epush1", file, func, line, maj, min, str);
+ }
+ return (int)mh$.invokeExact(file, func, line, maj, min, str);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eprint1 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eprint1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static FunctionDescriptor H5Eprint1$descriptor() { return H5Eprint1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static MethodHandle H5Eprint1$handle() { return H5Eprint1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static MemorySegment H5Eprint1$address() { return H5Eprint1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eprint1(FILE *stream)
+ * }
+ */
+ public static int H5Eprint1(MemorySegment stream)
+ {
+ var mh$ = H5Eprint1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eprint1", stream);
+ }
+ return (int)mh$.invokeExact(stream);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eset_auto1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eset_auto1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Eset_auto1$descriptor() { return H5Eset_auto1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Eset_auto1$handle() { return H5Eset_auto1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Eset_auto1$address() { return H5Eset_auto1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Eset_auto1(H5E_auto1_t func, void *client_data)
+ * }
+ */
+ public static int H5Eset_auto1(MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Eset_auto1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eset_auto1", func, client_data);
+ }
+ return (int)mh$.invokeExact(func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Ewalk1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Ewalk1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static FunctionDescriptor H5Ewalk1$descriptor() { return H5Ewalk1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static MethodHandle H5Ewalk1$handle() { return H5Ewalk1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static MemorySegment H5Ewalk1$address() { return H5Ewalk1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Ewalk1(H5E_direction_t direction, H5E_walk1_t func, void *client_data)
+ * }
+ */
+ public static int H5Ewalk1(int direction, MemorySegment func, MemorySegment client_data)
+ {
+ var mh$ = H5Ewalk1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Ewalk1", direction, func, client_data);
+ }
+ return (int)mh$.invokeExact(direction, func, client_data);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_major {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_major");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_major$descriptor() { return H5Eget_major.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static MethodHandle H5Eget_major$handle() { return H5Eget_major.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static MemorySegment H5Eget_major$address() { return H5Eget_major.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Eget_major(H5E_major_t maj)
+ * }
+ */
+ public static MemorySegment H5Eget_major(long maj)
+ {
+ var mh$ = H5Eget_major.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_major", maj);
+ }
+ return (MemorySegment)mh$.invokeExact(maj);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Eget_minor {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Eget_minor");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static FunctionDescriptor H5Eget_minor$descriptor() { return H5Eget_minor.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static MethodHandle H5Eget_minor$handle() { return H5Eget_minor.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static MemorySegment H5Eget_minor$address() { return H5Eget_minor.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * char *H5Eget_minor(H5E_minor_t min)
+ * }
+ */
+ public static MemorySegment H5Eget_minor(long min)
+ {
+ var mh$ = H5Eget_minor.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Eget_minor", min);
+ }
+ return (MemorySegment)mh$.invokeExact(min);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5ES_STATUS_IN_PROGRESS = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_IN_PROGRESS = 0
+ * }
+ */
+ public static int H5ES_STATUS_IN_PROGRESS() { return H5ES_STATUS_IN_PROGRESS; }
+ private static final int H5ES_STATUS_SUCCEED = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_SUCCEED = 1
+ * }
+ */
+ public static int H5ES_STATUS_SUCCEED() { return H5ES_STATUS_SUCCEED; }
+ private static final int H5ES_STATUS_CANCELED = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_CANCELED = 2
+ * }
+ */
+ public static int H5ES_STATUS_CANCELED() { return H5ES_STATUS_CANCELED; }
+ private static final int H5ES_STATUS_FAIL = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5ES_status_t.H5ES_STATUS_FAIL = 3
+ * }
+ */
+ public static int H5ES_STATUS_FAIL() { return H5ES_STATUS_FAIL; }
+
+ private static class H5EScreate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5EScreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static FunctionDescriptor H5EScreate$descriptor() { return H5EScreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static MethodHandle H5EScreate$handle() { return H5EScreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static MemorySegment H5EScreate$address() { return H5EScreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5EScreate()
+ * }
+ */
+ public static long H5EScreate()
+ {
+ var mh$ = H5EScreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5EScreate");
+ }
+ return (long)mh$.invokeExact();
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESwait {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESwait");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static FunctionDescriptor H5ESwait$descriptor() { return H5ESwait.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static MethodHandle H5ESwait$handle() { return H5ESwait.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static MemorySegment H5ESwait$address() { return H5ESwait.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESwait(hid_t es_id, uint64_t timeout, size_t *num_in_progress, bool *err_occurred)
+ * }
+ */
+ public static int H5ESwait(long es_id, long timeout, MemorySegment num_in_progress,
+ MemorySegment err_occurred)
+ {
+ var mh$ = H5ESwait.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESwait", es_id, timeout, num_in_progress, err_occurred);
+ }
+ return (int)mh$.invokeExact(es_id, timeout, num_in_progress, err_occurred);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5EScancel {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5EScancel");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static FunctionDescriptor H5EScancel$descriptor() { return H5EScancel.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static MethodHandle H5EScancel$handle() { return H5EScancel.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static MemorySegment H5EScancel$address() { return H5EScancel.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5EScancel(hid_t es_id, size_t *num_not_canceled, bool *err_occurred)
+ * }
+ */
+ public static int H5EScancel(long es_id, MemorySegment num_not_canceled, MemorySegment err_occurred)
+ {
+ var mh$ = H5EScancel.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5EScancel", es_id, num_not_canceled, err_occurred);
+ }
+ return (int)mh$.invokeExact(es_id, num_not_canceled, err_occurred);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_count$descriptor() { return H5ESget_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static MethodHandle H5ESget_count$handle() { return H5ESget_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static MemorySegment H5ESget_count$address() { return H5ESget_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_count(hid_t es_id, size_t *count)
+ * }
+ */
+ public static int H5ESget_count(long es_id, MemorySegment count)
+ {
+ var mh$ = H5ESget_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_count", es_id, count);
+ }
+ return (int)mh$.invokeExact(es_id, count);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_op_counter {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_op_counter");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_op_counter$descriptor() { return H5ESget_op_counter.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static MethodHandle H5ESget_op_counter$handle() { return H5ESget_op_counter.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static MemorySegment H5ESget_op_counter$address() { return H5ESget_op_counter.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_op_counter(hid_t es_id, uint64_t *counter)
+ * }
+ */
+ public static int H5ESget_op_counter(long es_id, MemorySegment counter)
+ {
+ var mh$ = H5ESget_op_counter.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_op_counter", es_id, counter);
+ }
+ return (int)mh$.invokeExact(es_id, counter);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_err_status {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_err_status");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_err_status$descriptor() { return H5ESget_err_status.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static MethodHandle H5ESget_err_status$handle() { return H5ESget_err_status.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static MemorySegment H5ESget_err_status$address() { return H5ESget_err_status.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_status(hid_t es_id, bool *err_occurred)
+ * }
+ */
+ public static int H5ESget_err_status(long es_id, MemorySegment err_occurred)
+ {
+ var mh$ = H5ESget_err_status.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_err_status", es_id, err_occurred);
+ }
+ return (int)mh$.invokeExact(es_id, err_occurred);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_err_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_err_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_err_count$descriptor() { return H5ESget_err_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static MethodHandle H5ESget_err_count$handle() { return H5ESget_err_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static MemorySegment H5ESget_err_count$address() { return H5ESget_err_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_count(hid_t es_id, size_t *num_errs)
+ * }
+ */
+ public static int H5ESget_err_count(long es_id, MemorySegment num_errs)
+ {
+ var mh$ = H5ESget_err_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_err_count", es_id, num_errs);
+ }
+ return (int)mh$.invokeExact(es_id, num_errs);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESget_err_info {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESget_err_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static FunctionDescriptor H5ESget_err_info$descriptor() { return H5ESget_err_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static MethodHandle H5ESget_err_info$handle() { return H5ESget_err_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static MemorySegment H5ESget_err_info$address() { return H5ESget_err_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESget_err_info(hid_t es_id, size_t num_err_info, H5ES_err_info_t err_info[], size_t
+ * *err_cleared)
+ * }
+ */
+ public static int H5ESget_err_info(long es_id, long num_err_info, MemorySegment err_info,
+ MemorySegment err_cleared)
+ {
+ var mh$ = H5ESget_err_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESget_err_info", es_id, num_err_info, err_info, err_cleared);
+ }
+ return (int)mh$.invokeExact(es_id, num_err_info, err_info, err_cleared);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESfree_err_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESfree_err_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static FunctionDescriptor H5ESfree_err_info$descriptor() { return H5ESfree_err_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static MethodHandle H5ESfree_err_info$handle() { return H5ESfree_err_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static MemorySegment H5ESfree_err_info$address() { return H5ESfree_err_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESfree_err_info(size_t num_err_info, H5ES_err_info_t err_info[])
+ * }
+ */
+ public static int H5ESfree_err_info(long num_err_info, MemorySegment err_info)
+ {
+ var mh$ = H5ESfree_err_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESfree_err_info", num_err_info, err_info);
+ }
+ return (int)mh$.invokeExact(num_err_info, err_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESregister_insert_func {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESregister_insert_func");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5ESregister_insert_func$descriptor()
+ {
+ return H5ESregister_insert_func.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static MethodHandle H5ESregister_insert_func$handle() { return H5ESregister_insert_func.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static MemorySegment H5ESregister_insert_func$address() { return H5ESregister_insert_func.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESregister_insert_func(hid_t es_id, H5ES_event_insert_func_t func, void *ctx)
+ * }
+ */
+ public static int H5ESregister_insert_func(long es_id, MemorySegment func, MemorySegment ctx)
+ {
+ var mh$ = H5ESregister_insert_func.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESregister_insert_func", es_id, func, ctx);
+ }
+ return (int)mh$.invokeExact(es_id, func, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESregister_complete_func {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESregister_complete_func");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static FunctionDescriptor H5ESregister_complete_func$descriptor()
+ {
+ return H5ESregister_complete_func.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static MethodHandle H5ESregister_complete_func$handle()
+ {
+ return H5ESregister_complete_func.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static MemorySegment H5ESregister_complete_func$address()
+ {
+ return H5ESregister_complete_func.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESregister_complete_func(hid_t es_id, H5ES_event_complete_func_t func, void *ctx)
+ * }
+ */
+ public static int H5ESregister_complete_func(long es_id, MemorySegment func, MemorySegment ctx)
+ {
+ var mh$ = H5ESregister_complete_func.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESregister_complete_func", es_id, func, ctx);
+ }
+ return (int)mh$.invokeExact(es_id, func, ctx);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5ESclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5ESclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5ESclose$descriptor() { return H5ESclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5ESclose$handle() { return H5ESclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5ESclose$address() { return H5ESclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5ESclose(hid_t es_id)
+ * }
+ */
+ public static int H5ESclose(long es_id)
+ {
+ var mh$ = H5ESclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5ESclose", es_id);
+ }
+ return (int)mh$.invokeExact(es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ private static final int H5F_SCOPE_LOCAL = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_scope_t.H5F_SCOPE_LOCAL = 0
+ * }
+ */
+ public static int H5F_SCOPE_LOCAL() { return H5F_SCOPE_LOCAL; }
+ private static final int H5F_SCOPE_GLOBAL = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_scope_t.H5F_SCOPE_GLOBAL = 1
+ * }
+ */
+ public static int H5F_SCOPE_GLOBAL() { return H5F_SCOPE_GLOBAL; }
+ private static final int H5F_CLOSE_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_DEFAULT = 0
+ * }
+ */
+ public static int H5F_CLOSE_DEFAULT() { return H5F_CLOSE_DEFAULT; }
+ private static final int H5F_CLOSE_WEAK = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_WEAK = 1
+ * }
+ */
+ public static int H5F_CLOSE_WEAK() { return H5F_CLOSE_WEAK; }
+ private static final int H5F_CLOSE_SEMI = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_SEMI = 2
+ * }
+ */
+ public static int H5F_CLOSE_SEMI() { return H5F_CLOSE_SEMI; }
+ private static final int H5F_CLOSE_STRONG = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_close_degree_t.H5F_CLOSE_STRONG = 3
+ * }
+ */
+ public static int H5F_CLOSE_STRONG() { return H5F_CLOSE_STRONG; }
+ private static final int H5FD_MEM_NOLIST = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_NOLIST = -1
+ * }
+ */
+ public static int H5FD_MEM_NOLIST() { return H5FD_MEM_NOLIST; }
+ private static final int H5FD_MEM_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_DEFAULT = 0
+ * }
+ */
+ public static int H5FD_MEM_DEFAULT() { return H5FD_MEM_DEFAULT; }
+ private static final int H5FD_MEM_SUPER = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_SUPER = 1
+ * }
+ */
+ public static int H5FD_MEM_SUPER() { return H5FD_MEM_SUPER; }
+ private static final int H5FD_MEM_BTREE = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_BTREE = 2
+ * }
+ */
+ public static int H5FD_MEM_BTREE() { return H5FD_MEM_BTREE; }
+ private static final int H5FD_MEM_DRAW = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_DRAW = 3
+ * }
+ */
+ public static int H5FD_MEM_DRAW() { return H5FD_MEM_DRAW; }
+ private static final int H5FD_MEM_GHEAP = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_GHEAP = 4
+ * }
+ */
+ public static int H5FD_MEM_GHEAP() { return H5FD_MEM_GHEAP; }
+ private static final int H5FD_MEM_LHEAP = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_LHEAP = 5
+ * }
+ */
+ public static int H5FD_MEM_LHEAP() { return H5FD_MEM_LHEAP; }
+ private static final int H5FD_MEM_OHDR = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_OHDR = 6
+ * }
+ */
+ public static int H5FD_MEM_OHDR() { return H5FD_MEM_OHDR; }
+ private static final int H5FD_MEM_NTYPES = (int)7L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_mem_t.H5FD_MEM_NTYPES = 7
+ * }
+ */
+ public static int H5FD_MEM_NTYPES() { return H5FD_MEM_NTYPES; }
+ private static final int H5F_LIBVER_ERROR = (int)-1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_ERROR = -1
+ * }
+ */
+ public static int H5F_LIBVER_ERROR() { return H5F_LIBVER_ERROR; }
+ private static final int H5F_LIBVER_EARLIEST = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_EARLIEST = 0
+ * }
+ */
+ public static int H5F_LIBVER_EARLIEST() { return H5F_LIBVER_EARLIEST; }
+ private static final int H5F_LIBVER_V18 = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V18 = 1
+ * }
+ */
+ public static int H5F_LIBVER_V18() { return H5F_LIBVER_V18; }
+ private static final int H5F_LIBVER_V110 = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V110 = 2
+ * }
+ */
+ public static int H5F_LIBVER_V110() { return H5F_LIBVER_V110; }
+ private static final int H5F_LIBVER_V112 = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V112 = 3
+ * }
+ */
+ public static int H5F_LIBVER_V112() { return H5F_LIBVER_V112; }
+ private static final int H5F_LIBVER_V114 = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V114 = 4
+ * }
+ */
+ public static int H5F_LIBVER_V114() { return H5F_LIBVER_V114; }
+ private static final int H5F_LIBVER_V200 = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_V200 = 5
+ * }
+ */
+ public static int H5F_LIBVER_V200() { return H5F_LIBVER_V200; }
+ private static final int H5F_LIBVER_LATEST = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_LATEST = 5
+ * }
+ */
+ public static int H5F_LIBVER_LATEST() { return H5F_LIBVER_LATEST; }
+ private static final int H5F_LIBVER_NBOUNDS = (int)6L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_libver_t.H5F_LIBVER_NBOUNDS = 6
+ * }
+ */
+ public static int H5F_LIBVER_NBOUNDS() { return H5F_LIBVER_NBOUNDS; }
+ private static final int H5F_FSPACE_STRATEGY_FSM_AGGR = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_FSM_AGGR = 0
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_FSM_AGGR() { return H5F_FSPACE_STRATEGY_FSM_AGGR; }
+ private static final int H5F_FSPACE_STRATEGY_PAGE = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_PAGE = 1
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_PAGE() { return H5F_FSPACE_STRATEGY_PAGE; }
+ private static final int H5F_FSPACE_STRATEGY_AGGR = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_AGGR = 2
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_AGGR() { return H5F_FSPACE_STRATEGY_AGGR; }
+ private static final int H5F_FSPACE_STRATEGY_NONE = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_NONE = 3
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_NONE() { return H5F_FSPACE_STRATEGY_NONE; }
+ private static final int H5F_FSPACE_STRATEGY_NTYPES = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_fspace_strategy_t.H5F_FSPACE_STRATEGY_NTYPES = 4
+ * }
+ */
+ public static int H5F_FSPACE_STRATEGY_NTYPES() { return H5F_FSPACE_STRATEGY_NTYPES; }
+ private static final int H5F_FILE_SPACE_DEFAULT = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_DEFAULT = 0
+ * }
+ */
+ public static int H5F_FILE_SPACE_DEFAULT() { return H5F_FILE_SPACE_DEFAULT; }
+ private static final int H5F_FILE_SPACE_ALL_PERSIST = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_ALL_PERSIST = 1
+ * }
+ */
+ public static int H5F_FILE_SPACE_ALL_PERSIST() { return H5F_FILE_SPACE_ALL_PERSIST; }
+ private static final int H5F_FILE_SPACE_ALL = (int)2L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_ALL = 2
+ * }
+ */
+ public static int H5F_FILE_SPACE_ALL() { return H5F_FILE_SPACE_ALL; }
+ private static final int H5F_FILE_SPACE_AGGR_VFD = (int)3L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_AGGR_VFD = 3
+ * }
+ */
+ public static int H5F_FILE_SPACE_AGGR_VFD() { return H5F_FILE_SPACE_AGGR_VFD; }
+ private static final int H5F_FILE_SPACE_VFD = (int)4L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_VFD = 4
+ * }
+ */
+ public static int H5F_FILE_SPACE_VFD() { return H5F_FILE_SPACE_VFD; }
+ private static final int H5F_FILE_SPACE_NTYPES = (int)5L;
+ /**
+ * {@snippet lang=c :
+ * enum H5F_file_space_type_t.H5F_FILE_SPACE_NTYPES = 5
+ * }
+ */
+ public static int H5F_FILE_SPACE_NTYPES() { return H5F_FILE_SPACE_NTYPES; }
+
+ private static class H5Fis_accessible {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fis_accessible");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fis_accessible$descriptor() { return H5Fis_accessible.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fis_accessible$handle() { return H5Fis_accessible.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fis_accessible$address() { return H5Fis_accessible.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Fis_accessible(const char *container_name, hid_t fapl_id)
+ * }
+ */
+ public static int H5Fis_accessible(MemorySegment container_name, long fapl_id)
+ {
+ var mh$ = H5Fis_accessible.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fis_accessible", container_name, fapl_id);
+ }
+ return (int)mh$.invokeExact(container_name, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fcreate {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fcreate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fcreate$descriptor() { return H5Fcreate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fcreate$handle() { return H5Fcreate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fcreate$address() { return H5Fcreate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fcreate(const char *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id)
+ * }
+ */
+ public static long H5Fcreate(MemorySegment filename, int flags, long fcpl_id, long fapl_id)
+ {
+ var mh$ = H5Fcreate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fcreate", filename, flags, fcpl_id, fapl_id);
+ }
+ return (long)mh$.invokeExact(filename, flags, fcpl_id, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fcreate_async {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_POINTER,
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fcreate_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fcreate_async$descriptor() { return H5Fcreate_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fcreate_async$handle() { return H5Fcreate_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fcreate_async$address() { return H5Fcreate_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fcreate_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t fcpl_id, hid_t fapl_id, hid_t es_id)
+ * }
+ */
+ public static long H5Fcreate_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment filename, int flags, long fcpl_id, long fapl_id,
+ long es_id)
+ {
+ var mh$ = H5Fcreate_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fcreate_async", app_file, app_func, app_line, filename, flags, fcpl_id,
+ fapl_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, filename, flags, fcpl_id, fapl_id,
+ es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fopen$descriptor() { return H5Fopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fopen$handle() { return H5Fopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fopen$address() { return H5Fopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fopen(const char *filename, unsigned int flags, hid_t fapl_id)
+ * }
+ */
+ public static long H5Fopen(MemorySegment filename, int flags, long fapl_id)
+ {
+ var mh$ = H5Fopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fopen", filename, flags, fapl_id);
+ }
+ return (long)mh$.invokeExact(filename, flags, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fopen_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_POINTER, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fopen_async$descriptor() { return H5Fopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fopen_async$handle() { return H5Fopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fopen_async$address() { return H5Fopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fopen_async(const char *app_file, const char *app_func, unsigned int app_line, const char
+ * *filename, unsigned int flags, hid_t access_plist, hid_t es_id)
+ * }
+ */
+ public static long H5Fopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ MemorySegment filename, int flags, long access_plist, long es_id)
+ {
+ var mh$ = H5Fopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fopen_async", app_file, app_func, app_line, filename, flags, access_plist,
+ es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, filename, flags, access_plist, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freopen {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freopen");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freopen$descriptor() { return H5Freopen.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Freopen$handle() { return H5Freopen.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Freopen$address() { return H5Freopen.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Freopen(hid_t file_id)
+ * }
+ */
+ public static long H5Freopen(long file_id)
+ {
+ var mh$ = H5Freopen.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freopen", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freopen_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freopen_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freopen_async$descriptor() { return H5Freopen_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Freopen_async$handle() { return H5Freopen_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Freopen_async$address() { return H5Freopen_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Freopen_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static long H5Freopen_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long file_id, long es_id)
+ {
+ var mh$ = H5Freopen_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freopen_async", app_file, app_func, app_line, file_id, es_id);
+ }
+ return (long)mh$.invokeExact(app_file, app_func, app_line, file_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fflush {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fflush");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static FunctionDescriptor H5Fflush$descriptor() { return H5Fflush.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static MethodHandle H5Fflush$handle() { return H5Fflush.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static MemorySegment H5Fflush$address() { return H5Fflush.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fflush(hid_t object_id, H5F_scope_t scope)
+ * }
+ */
+ public static int H5Fflush(long object_id, int scope)
+ {
+ var mh$ = H5Fflush.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fflush", object_id, scope);
+ }
+ return (int)mh$.invokeExact(object_id, scope);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fflush_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fflush_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fflush_async$descriptor() { return H5Fflush_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fflush_async$handle() { return H5Fflush_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fflush_async$address() { return H5Fflush_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fflush_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t
+ * object_id, H5F_scope_t scope, hid_t es_id)
+ * }
+ */
+ public static int H5Fflush_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long object_id, int scope, long es_id)
+ {
+ var mh$ = H5Fflush_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fflush_async", app_file, app_func, app_line, object_id, scope, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, object_id, scope, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fclose {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fclose");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fclose$descriptor() { return H5Fclose.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fclose$handle() { return H5Fclose.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fclose$address() { return H5Fclose.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fclose(hid_t file_id)
+ * }
+ */
+ public static int H5Fclose(long file_id)
+ {
+ var mh$ = H5Fclose.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fclose", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fclose_async {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_INT,
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fclose_async");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fclose_async$descriptor() { return H5Fclose_async.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MethodHandle H5Fclose_async$handle() { return H5Fclose_async.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static MemorySegment H5Fclose_async$address() { return H5Fclose_async.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fclose_async(const char *app_file, const char *app_func, unsigned int app_line, hid_t file_id,
+ * hid_t es_id)
+ * }
+ */
+ public static int H5Fclose_async(MemorySegment app_file, MemorySegment app_func, int app_line,
+ long file_id, long es_id)
+ {
+ var mh$ = H5Fclose_async.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fclose_async", app_file, app_func, app_line, file_id, es_id);
+ }
+ return (int)mh$.invokeExact(app_file, app_func, app_line, file_id, es_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fdelete {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fdelete");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fdelete$descriptor() { return H5Fdelete.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static MethodHandle H5Fdelete$handle() { return H5Fdelete.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static MemorySegment H5Fdelete$address() { return H5Fdelete.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fdelete(const char *filename, hid_t fapl_id)
+ * }
+ */
+ public static int H5Fdelete(MemorySegment filename, long fapl_id)
+ {
+ var mh$ = H5Fdelete.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fdelete", filename, fapl_id);
+ }
+ return (int)mh$.invokeExact(filename, fapl_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_create_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_create_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_create_plist$descriptor() { return H5Fget_create_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fget_create_plist$handle() { return H5Fget_create_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fget_create_plist$address() { return H5Fget_create_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fget_create_plist(hid_t file_id)
+ * }
+ */
+ public static long H5Fget_create_plist(long file_id)
+ {
+ var mh$ = H5Fget_create_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_create_plist", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_access_plist {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_access_plist");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_access_plist$descriptor() { return H5Fget_access_plist.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fget_access_plist$handle() { return H5Fget_access_plist.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fget_access_plist$address() { return H5Fget_access_plist.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hid_t H5Fget_access_plist(hid_t file_id)
+ * }
+ */
+ public static long H5Fget_access_plist(long file_id)
+ {
+ var mh$ = H5Fget_access_plist.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_access_plist", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_intent {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_intent");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_intent$descriptor() { return H5Fget_intent.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static MethodHandle H5Fget_intent$handle() { return H5Fget_intent.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static MemorySegment H5Fget_intent$address() { return H5Fget_intent.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_intent(hid_t file_id, unsigned int *intent)
+ * }
+ */
+ public static int H5Fget_intent(long file_id, MemorySegment intent)
+ {
+ var mh$ = H5Fget_intent.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_intent", file_id, intent);
+ }
+ return (int)mh$.invokeExact(file_id, intent);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_fileno {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_fileno");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_fileno$descriptor() { return H5Fget_fileno.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static MethodHandle H5Fget_fileno$handle() { return H5Fget_fileno.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static MemorySegment H5Fget_fileno$address() { return H5Fget_fileno.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_fileno(hid_t file_id, unsigned long *fileno)
+ * }
+ */
+ public static int H5Fget_fileno(long file_id, MemorySegment fileno)
+ {
+ var mh$ = H5Fget_fileno.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_fileno", file_id, fileno);
+ }
+ return (int)mh$.invokeExact(file_id, fileno);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_obj_count {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_obj_count");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_obj_count$descriptor() { return H5Fget_obj_count.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static MethodHandle H5Fget_obj_count$handle() { return H5Fget_obj_count.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static MemorySegment H5Fget_obj_count$address() { return H5Fget_obj_count.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_count(hid_t file_id, unsigned int types)
+ * }
+ */
+ public static long H5Fget_obj_count(long file_id, int types)
+ {
+ var mh$ = H5Fget_obj_count.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_obj_count", file_id, types);
+ }
+ return (long)mh$.invokeExact(file_id, types);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_obj_ids {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_obj_ids");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_obj_ids$descriptor() { return H5Fget_obj_ids.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static MethodHandle H5Fget_obj_ids$handle() { return H5Fget_obj_ids.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static MemorySegment H5Fget_obj_ids$address() { return H5Fget_obj_ids.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_obj_ids(hid_t file_id, unsigned int types, size_t max_objs, hid_t *obj_id_list)
+ * }
+ */
+ public static long H5Fget_obj_ids(long file_id, int types, long max_objs, MemorySegment obj_id_list)
+ {
+ var mh$ = H5Fget_obj_ids.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_obj_ids", file_id, types, max_objs, obj_id_list);
+ }
+ return (long)mh$.invokeExact(file_id, types, max_objs, obj_id_list);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_vfd_handle {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_vfd_handle");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_vfd_handle$descriptor() { return H5Fget_vfd_handle.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MethodHandle H5Fget_vfd_handle$handle() { return H5Fget_vfd_handle.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static MemorySegment H5Fget_vfd_handle$address() { return H5Fget_vfd_handle.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_vfd_handle(hid_t file_id, hid_t fapl, void **file_handle)
+ * }
+ */
+ public static int H5Fget_vfd_handle(long file_id, long fapl, MemorySegment file_handle)
+ {
+ var mh$ = H5Fget_vfd_handle.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_vfd_handle", file_id, fapl, file_handle);
+ }
+ return (int)mh$.invokeExact(file_id, fapl, file_handle);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fmount {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fmount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static FunctionDescriptor H5Fmount$descriptor() { return H5Fmount.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static MethodHandle H5Fmount$handle() { return H5Fmount.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static MemorySegment H5Fmount$address() { return H5Fmount.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fmount(hid_t loc_id, const char *name, hid_t child, hid_t plist)
+ * }
+ */
+ public static int H5Fmount(long loc_id, MemorySegment name, long child, long plist)
+ {
+ var mh$ = H5Fmount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fmount", loc_id, name, child, plist);
+ }
+ return (int)mh$.invokeExact(loc_id, name, child, plist);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Funmount {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Funmount");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static FunctionDescriptor H5Funmount$descriptor() { return H5Funmount.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MethodHandle H5Funmount$handle() { return H5Funmount.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static MemorySegment H5Funmount$address() { return H5Funmount.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Funmount(hid_t loc_id, const char *name)
+ * }
+ */
+ public static int H5Funmount(long loc_id, MemorySegment name)
+ {
+ var mh$ = H5Funmount.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Funmount", loc_id, name);
+ }
+ return (int)mh$.invokeExact(loc_id, name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_freespace {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_freespace");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_freespace$descriptor() { return H5Fget_freespace.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fget_freespace$handle() { return H5Fget_freespace.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fget_freespace$address() { return H5Fget_freespace.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * hssize_t H5Fget_freespace(hid_t file_id)
+ * }
+ */
+ public static long H5Fget_freespace(long file_id)
+ {
+ var mh$ = H5Fget_freespace.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_freespace", file_id);
+ }
+ return (long)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_filesize {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_filesize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_filesize$descriptor() { return H5Fget_filesize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static MethodHandle H5Fget_filesize$handle() { return H5Fget_filesize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static MemorySegment H5Fget_filesize$address() { return H5Fget_filesize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_filesize(hid_t file_id, hsize_t *size)
+ * }
+ */
+ public static int H5Fget_filesize(long file_id, MemorySegment size)
+ {
+ var mh$ = H5Fget_filesize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_filesize", file_id, size);
+ }
+ return (int)mh$.invokeExact(file_id, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_eoa {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_eoa");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_eoa$descriptor() { return H5Fget_eoa.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static MethodHandle H5Fget_eoa$handle() { return H5Fget_eoa.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static MemorySegment H5Fget_eoa$address() { return H5Fget_eoa.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_eoa(hid_t file_id, haddr_t *eoa)
+ * }
+ */
+ public static int H5Fget_eoa(long file_id, MemorySegment eoa)
+ {
+ var mh$ = H5Fget_eoa.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_eoa", file_id, eoa);
+ }
+ return (int)mh$.invokeExact(file_id, eoa);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fincrement_filesize {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fincrement_filesize");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static FunctionDescriptor H5Fincrement_filesize$descriptor() { return H5Fincrement_filesize.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static MethodHandle H5Fincrement_filesize$handle() { return H5Fincrement_filesize.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static MemorySegment H5Fincrement_filesize$address() { return H5Fincrement_filesize.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fincrement_filesize(hid_t file_id, hsize_t increment)
+ * }
+ */
+ public static int H5Fincrement_filesize(long file_id, long increment)
+ {
+ var mh$ = H5Fincrement_filesize.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fincrement_filesize", file_id, increment);
+ }
+ return (int)mh$.invokeExact(file_id, increment);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_file_image {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_file_image");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_file_image$descriptor() { return H5Fget_file_image.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MethodHandle H5Fget_file_image$handle() { return H5Fget_file_image.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static MemorySegment H5Fget_file_image$address() { return H5Fget_file_image.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_file_image(hid_t file_id, void *buf_ptr, size_t buf_len)
+ * }
+ */
+ public static long H5Fget_file_image(long file_id, MemorySegment buf_ptr, long buf_len)
+ {
+ var mh$ = H5Fget_file_image.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_file_image", file_id, buf_ptr, buf_len);
+ }
+ return (long)mh$.invokeExact(file_id, buf_ptr, buf_len);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_config$descriptor() { return H5Fget_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_config$handle() { return H5Fget_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_config$address() { return H5Fget_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_config(hid_t file_id, H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Fget_mdc_config(long file_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Fget_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_config", file_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_mdc_config {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_mdc_config");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_mdc_config$descriptor() { return H5Fset_mdc_config.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MethodHandle H5Fset_mdc_config$handle() { return H5Fset_mdc_config.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static MemorySegment H5Fset_mdc_config$address() { return H5Fset_mdc_config.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_mdc_config(hid_t file_id, const H5AC_cache_config_t *config_ptr)
+ * }
+ */
+ public static int H5Fset_mdc_config(long file_id, MemorySegment config_ptr)
+ {
+ var mh$ = H5Fset_mdc_config.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_mdc_config", file_id, config_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, config_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_hit_rate {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_hit_rate");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_hit_rate$descriptor() { return H5Fget_mdc_hit_rate.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_hit_rate$handle() { return H5Fget_mdc_hit_rate.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_hit_rate$address() { return H5Fget_mdc_hit_rate.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_hit_rate(hid_t file_id, double *hit_rate_ptr)
+ * }
+ */
+ public static int H5Fget_mdc_hit_rate(long file_id, MemorySegment hit_rate_ptr)
+ {
+ var mh$ = H5Fget_mdc_hit_rate.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_hit_rate", file_id, hit_rate_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, hit_rate_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_size {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_size");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_size$descriptor() { return H5Fget_mdc_size.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_size$handle() { return H5Fget_mdc_size.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_size$address() { return H5Fget_mdc_size.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_size(hid_t file_id, size_t *max_size_ptr, size_t *min_clean_size_ptr, size_t
+ * *cur_size_ptr, int *cur_num_entries_ptr)
+ * }
+ */
+ public static int H5Fget_mdc_size(long file_id, MemorySegment max_size_ptr,
+ MemorySegment min_clean_size_ptr, MemorySegment cur_size_ptr,
+ MemorySegment cur_num_entries_ptr)
+ {
+ var mh$ = H5Fget_mdc_size.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_size", file_id, max_size_ptr, min_clean_size_ptr, cur_size_ptr,
+ cur_num_entries_ptr);
+ }
+ return (int)mh$.invokeExact(file_id, max_size_ptr, min_clean_size_ptr, cur_size_ptr,
+ cur_num_entries_ptr);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freset_mdc_hit_rate_stats {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freset_mdc_hit_rate_stats");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freset_mdc_hit_rate_stats$descriptor()
+ {
+ return H5Freset_mdc_hit_rate_stats.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Freset_mdc_hit_rate_stats$handle()
+ {
+ return H5Freset_mdc_hit_rate_stats.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Freset_mdc_hit_rate_stats$address()
+ {
+ return H5Freset_mdc_hit_rate_stats.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Freset_mdc_hit_rate_stats(hid_t file_id)
+ * }
+ */
+ public static int H5Freset_mdc_hit_rate_stats(long file_id)
+ {
+ var mh$ = H5Freset_mdc_hit_rate_stats.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freset_mdc_hit_rate_stats", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_name {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_name");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_name$descriptor() { return H5Fget_name.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static MethodHandle H5Fget_name$handle() { return H5Fget_name.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static MemorySegment H5Fget_name$address() { return H5Fget_name.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_name(hid_t obj_id, char *name, size_t size)
+ * }
+ */
+ public static long H5Fget_name(long obj_id, MemorySegment name, long size)
+ {
+ var mh$ = H5Fget_name.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_name", obj_id, name, size);
+ }
+ return (long)mh$.invokeExact(obj_id, name, size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_info2 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_info2");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_info2$descriptor() { return H5Fget_info2.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static MethodHandle H5Fget_info2$handle() { return H5Fget_info2.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static MemorySegment H5Fget_info2$address() { return H5Fget_info2.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_info2(hid_t obj_id, H5F_info2_t *file_info)
+ * }
+ */
+ public static int H5Fget_info2(long obj_id, MemorySegment file_info)
+ {
+ var mh$ = H5Fget_info2.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_info2", obj_id, file_info);
+ }
+ return (int)mh$.invokeExact(obj_id, file_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_metadata_read_retry_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_metadata_read_retry_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_metadata_read_retry_info$descriptor()
+ {
+ return H5Fget_metadata_read_retry_info.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static MethodHandle H5Fget_metadata_read_retry_info$handle()
+ {
+ return H5Fget_metadata_read_retry_info.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static MemorySegment H5Fget_metadata_read_retry_info$address()
+ {
+ return H5Fget_metadata_read_retry_info.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_metadata_read_retry_info(hid_t file_id, H5F_retry_info_t *info)
+ * }
+ */
+ public static int H5Fget_metadata_read_retry_info(long file_id, MemorySegment info)
+ {
+ var mh$ = H5Fget_metadata_read_retry_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_metadata_read_retry_info", file_id, info);
+ }
+ return (int)mh$.invokeExact(file_id, info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fstart_swmr_write {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fstart_swmr_write");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fstart_swmr_write$descriptor() { return H5Fstart_swmr_write.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fstart_swmr_write$handle() { return H5Fstart_swmr_write.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fstart_swmr_write$address() { return H5Fstart_swmr_write.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fstart_swmr_write(hid_t file_id)
+ * }
+ */
+ public static int H5Fstart_swmr_write(long file_id)
+ {
+ var mh$ = H5Fstart_swmr_write.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fstart_swmr_write", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_free_sections {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(
+ hdf5_h.C_LONG_LONG, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_free_sections");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_free_sections$descriptor() { return H5Fget_free_sections.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static MethodHandle H5Fget_free_sections$handle() { return H5Fget_free_sections.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static MemorySegment H5Fget_free_sections$address() { return H5Fget_free_sections.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * ssize_t H5Fget_free_sections(hid_t file_id, H5F_mem_t type, size_t nsects, H5F_sect_info_t *sect_info)
+ * }
+ */
+ public static long H5Fget_free_sections(long file_id, int type, long nsects, MemorySegment sect_info)
+ {
+ var mh$ = H5Fget_free_sections.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_free_sections", file_id, type, nsects, sect_info);
+ }
+ return (long)mh$.invokeExact(file_id, type, nsects, sect_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fclear_elink_file_cache {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fclear_elink_file_cache");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fclear_elink_file_cache$descriptor()
+ {
+ return H5Fclear_elink_file_cache.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fclear_elink_file_cache$handle() { return H5Fclear_elink_file_cache.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fclear_elink_file_cache$address() { return H5Fclear_elink_file_cache.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fclear_elink_file_cache(hid_t file_id)
+ * }
+ */
+ public static int H5Fclear_elink_file_cache(long file_id)
+ {
+ var mh$ = H5Fclear_elink_file_cache.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fclear_elink_file_cache", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_libver_bounds {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_INT, hdf5_h.C_INT);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_libver_bounds");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_libver_bounds$descriptor() { return H5Fset_libver_bounds.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MethodHandle H5Fset_libver_bounds$handle() { return H5Fset_libver_bounds.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static MemorySegment H5Fset_libver_bounds$address() { return H5Fset_libver_bounds.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_libver_bounds(hid_t file_id, H5F_libver_t low, H5F_libver_t high)
+ * }
+ */
+ public static int H5Fset_libver_bounds(long file_id, int low, int high)
+ {
+ var mh$ = H5Fset_libver_bounds.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_libver_bounds", file_id, low, high);
+ }
+ return (int)mh$.invokeExact(file_id, low, high);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fstart_mdc_logging {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fstart_mdc_logging");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fstart_mdc_logging$descriptor() { return H5Fstart_mdc_logging.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fstart_mdc_logging$handle() { return H5Fstart_mdc_logging.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fstart_mdc_logging$address() { return H5Fstart_mdc_logging.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fstart_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static int H5Fstart_mdc_logging(long file_id)
+ {
+ var mh$ = H5Fstart_mdc_logging.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fstart_mdc_logging", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fstop_mdc_logging {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fstop_mdc_logging");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Fstop_mdc_logging$descriptor() { return H5Fstop_mdc_logging.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Fstop_mdc_logging$handle() { return H5Fstop_mdc_logging.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Fstop_mdc_logging$address() { return H5Fstop_mdc_logging.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fstop_mdc_logging(hid_t file_id)
+ * }
+ */
+ public static int H5Fstop_mdc_logging(long file_id)
+ {
+ var mh$ = H5Fstop_mdc_logging.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fstop_mdc_logging", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_logging_status {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_logging_status");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_logging_status$descriptor()
+ {
+ return H5Fget_mdc_logging_status.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_logging_status$handle() { return H5Fget_mdc_logging_status.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_logging_status$address() { return H5Fget_mdc_logging_status.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_logging_status(hid_t file_id, bool *is_enabled, bool *is_currently_logging)
+ * }
+ */
+ public static int H5Fget_mdc_logging_status(long file_id, MemorySegment is_enabled,
+ MemorySegment is_currently_logging)
+ {
+ var mh$ = H5Fget_mdc_logging_status.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_logging_status", file_id, is_enabled, is_currently_logging);
+ }
+ return (int)mh$.invokeExact(file_id, is_enabled, is_currently_logging);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Freset_page_buffering_stats {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Freset_page_buffering_stats");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static FunctionDescriptor H5Freset_page_buffering_stats$descriptor()
+ {
+ return H5Freset_page_buffering_stats.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static MethodHandle H5Freset_page_buffering_stats$handle()
+ {
+ return H5Freset_page_buffering_stats.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static MemorySegment H5Freset_page_buffering_stats$address()
+ {
+ return H5Freset_page_buffering_stats.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Freset_page_buffering_stats(hid_t file_id)
+ * }
+ */
+ public static int H5Freset_page_buffering_stats(long file_id)
+ {
+ var mh$ = H5Freset_page_buffering_stats.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Freset_page_buffering_stats", file_id);
+ }
+ return (int)mh$.invokeExact(file_id);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_page_buffering_stats {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER,
+ hdf5_h.C_POINTER, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_page_buffering_stats");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static FunctionDescriptor H5Fget_page_buffering_stats$descriptor()
+ {
+ return H5Fget_page_buffering_stats.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static MethodHandle H5Fget_page_buffering_stats$handle()
+ {
+ return H5Fget_page_buffering_stats.HANDLE;
+ }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static MemorySegment H5Fget_page_buffering_stats$address()
+ {
+ return H5Fget_page_buffering_stats.ADDR;
+ }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_page_buffering_stats(hid_t file_id, unsigned int accesses[2], unsigned int hits[2],
+ * unsigned int misses[2], unsigned int evictions[2], unsigned int bypasses[2])
+ * }
+ */
+ public static int H5Fget_page_buffering_stats(long file_id, MemorySegment accesses, MemorySegment hits,
+ MemorySegment misses, MemorySegment evictions,
+ MemorySegment bypasses)
+ {
+ var mh$ = H5Fget_page_buffering_stats.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_page_buffering_stats", file_id, accesses, hits, misses, evictions,
+ bypasses);
+ }
+ return (int)mh$.invokeExact(file_id, accesses, hits, misses, evictions, bypasses);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_mdc_image_info {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_mdc_image_info");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_mdc_image_info$descriptor() { return H5Fget_mdc_image_info.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static MethodHandle H5Fget_mdc_image_info$handle() { return H5Fget_mdc_image_info.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static MemorySegment H5Fget_mdc_image_info$address() { return H5Fget_mdc_image_info.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_mdc_image_info(hid_t file_id, haddr_t *image_addr, hsize_t *image_size)
+ * }
+ */
+ public static int H5Fget_mdc_image_info(long file_id, MemorySegment image_addr, MemorySegment image_size)
+ {
+ var mh$ = H5Fget_mdc_image_info.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_mdc_image_info", file_id, image_addr, image_size);
+ }
+ return (int)mh$.invokeExact(file_id, image_addr, image_size);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_dset_no_attrs_hint$descriptor()
+ {
+ return H5Fget_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static MethodHandle H5Fget_dset_no_attrs_hint$handle() { return H5Fget_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static MemorySegment H5Fget_dset_no_attrs_hint$address() { return H5Fget_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_dset_no_attrs_hint(hid_t file_id, bool *minimize)
+ * }
+ */
+ public static int H5Fget_dset_no_attrs_hint(long file_id, MemorySegment minimize)
+ {
+ var mh$ = H5Fget_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_dset_no_attrs_hint", file_id, minimize);
+ }
+ return (int)mh$.invokeExact(file_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_dset_no_attrs_hint {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_dset_no_attrs_hint");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_dset_no_attrs_hint$descriptor()
+ {
+ return H5Fset_dset_no_attrs_hint.DESC;
+ }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static MethodHandle H5Fset_dset_no_attrs_hint$handle() { return H5Fset_dset_no_attrs_hint.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static MemorySegment H5Fset_dset_no_attrs_hint$address() { return H5Fset_dset_no_attrs_hint.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_dset_no_attrs_hint(hid_t file_id, bool minimize)
+ * }
+ */
+ public static int H5Fset_dset_no_attrs_hint(long file_id, boolean minimize)
+ {
+ var mh$ = H5Fset_dset_no_attrs_hint.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_dset_no_attrs_hint", file_id, minimize);
+ }
+ return (int)mh$.invokeExact(file_id, minimize);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fformat_convert {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fformat_convert");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static FunctionDescriptor H5Fformat_convert$descriptor() { return H5Fformat_convert.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static MethodHandle H5Fformat_convert$handle() { return H5Fformat_convert.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static MemorySegment H5Fformat_convert$address() { return H5Fformat_convert.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fformat_convert(hid_t fid)
+ * }
+ */
+ public static int H5Fformat_convert(long fid)
+ {
+ var mh$ = H5Fformat_convert.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fformat_convert", fid);
+ }
+ return (int)mh$.invokeExact(fid);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fget_info1 {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fget_info1");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static FunctionDescriptor H5Fget_info1$descriptor() { return H5Fget_info1.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static MethodHandle H5Fget_info1$handle() { return H5Fget_info1.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static MemorySegment H5Fget_info1$address() { return H5Fget_info1.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fget_info1(hid_t obj_id, H5F_info1_t *file_info)
+ * }
+ */
+ public static int H5Fget_info1(long obj_id, MemorySegment file_info)
+ {
+ var mh$ = H5Fget_info1.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fget_info1", obj_id, file_info);
+ }
+ return (int)mh$.invokeExact(obj_id, file_info);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fset_latest_format {
+ public static final FunctionDescriptor DESC =
+ FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_LONG_LONG, hdf5_h.C_BOOL);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fset_latest_format");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static FunctionDescriptor H5Fset_latest_format$descriptor() { return H5Fset_latest_format.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static MethodHandle H5Fset_latest_format$handle() { return H5Fset_latest_format.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static MemorySegment H5Fset_latest_format$address() { return H5Fset_latest_format.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * herr_t H5Fset_latest_format(hid_t file_id, bool latest_format)
+ * }
+ */
+ public static int H5Fset_latest_format(long file_id, boolean latest_format)
+ {
+ var mh$ = H5Fset_latest_format.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fset_latest_format", file_id, latest_format);
+ }
+ return (int)mh$.invokeExact(file_id, latest_format);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+
+ private static class H5Fis_hdf5 {
+ public static final FunctionDescriptor DESC = FunctionDescriptor.of(hdf5_h.C_INT, hdf5_h.C_POINTER);
+
+ public static final MemorySegment ADDR = hdf5_h.findOrThrow("H5Fis_hdf5");
+
+ public static final MethodHandle HANDLE = Linker.nativeLinker().downcallHandle(ADDR, DESC);
+ }
+
+ /**
+ * Function descriptor for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static FunctionDescriptor H5Fis_hdf5$descriptor() { return H5Fis_hdf5.DESC; }
+
+ /**
+ * Downcall method handle for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static MethodHandle H5Fis_hdf5$handle() { return H5Fis_hdf5.HANDLE; }
+
+ /**
+ * Address for:
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static MemorySegment H5Fis_hdf5$address() { return H5Fis_hdf5.ADDR; }
+
+ /**
+ * {@snippet lang=c :
+ * htri_t H5Fis_hdf5(const char *file_name)
+ * }
+ */
+ public static int H5Fis_hdf5(MemorySegment file_name)
+ {
+ var mh$ = H5Fis_hdf5.HANDLE;
+ try {
+ if (TRACE_DOWNCALLS) {
+ traceDowncall("H5Fis_hdf5", file_name);
+ }
+ return (int)mh$.invokeExact(file_name);
+ }
+ catch (Throwable ex$) {
+ throw new AssertionError("should not reach here", ex$);
+ }
+ }
+ /**
+ * {@snippet lang=c :
+ * typedef int H5FD_class_value_t
+ * }
+ */
+ public static final OfInt H5FD_class_value_t = hdf5_h.C_INT;
+ private static final int H5FD_FILE_IMAGE_OP_NO_OP = (int)0L;
+ /**
+ * {@snippet lang=c :
+ * enum .H5FD_FILE_IMAGE_OP_NO_OP = 0
+ * }
+ */
+ public static int H5FD_FILE_IMAGE_OP_NO_OP() { return H5FD_FILE_IMAGE_OP_NO_OP; }
+ private static final int H5FD_FILE_IMAGE_OP_PROPERTY_LIST_SET = (int)1L;
+ /**
+ * {@snippet lang=c :
+ * enum